From df0ec71ac75c9321d7a1ed6afbd1b21d3ee41bcd Mon Sep 17 00:00:00 2001 From: bachy Date: Tue, 7 May 2013 12:19:41 +0200 Subject: [PATCH] cleaning Signed-off-by: bachy --- template.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/template.php b/template.php index 0edf7d7f..ac2b5d5d 100644 --- a/template.php +++ b/template.php @@ -79,8 +79,6 @@ function guibik_theme() { return $items; } - - /** * Preprocessor for theme('page'). */ @@ -95,7 +93,6 @@ function guibik_preprocess_page(&$vars) { global $theme; if ($theme === 'guibik') _rubik_local_tasks($vars); - } function guibik_preprocess_html(&$vars){ @@ -120,8 +117,6 @@ function guibik_preprocess_html(&$vars){ foreach ($heads as $type=>$head) drupal_add_html_head($head, $type); - - } function guibik_preprocess_views_view_table(&$vars){ @@ -131,6 +126,7 @@ function guibik_preprocess_views_view_table(&$vars){ } // dsm($vars); } + /** * Implements theme_form_element(). */ @@ -203,15 +199,11 @@ function OUT_guibik_form_element($variables) { return $output; } - - function guibik_form_node_form_alter(&$form, &$form_state){ // dsm($form, 'guibik_form_node_form_alter | $form'); // dsm($form_state, '$form_state'); - if(!isset($form['language']['#description'])) $form['language']['#description'] = t('Please consider to leave language in neutral state if you dont plan to translate this node, even if your content is (obviously) writed in some non neutral language. Then this node will always be visible.'); - } function guibik_image_field_widget_process($element, &$form_state, $form){