From 4577278acc361facfbd70c6172355ee12e1b80e4 Mon Sep 17 00:00:00 2001 From: rub Date: Mon, 12 Mar 2007 22:33:53 +0000 Subject: Apply property svn:eol-style Value: LF git-svn-id: http://piwigo.org/svn/trunk@1900 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/include/functions_tabsheet.inc.php | 148 +++++++++++++++---------------- 1 file changed, 74 insertions(+), 74 deletions(-) (limited to 'admin/include/functions_tabsheet.inc.php') diff --git a/admin/include/functions_tabsheet.inc.php b/admin/include/functions_tabsheet.inc.php index 9952769f3..1f7dbc0d9 100644 --- a/admin/include/functions_tabsheet.inc.php +++ b/admin/include/functions_tabsheet.inc.php @@ -1,74 +1,74 @@ - 0) - { - $template->set_filename('tabsheet', 'admin/tabsheet.tpl'); - - foreach ($page['tabsheet'] as $tab_name => $tab) - { - $is_selected = isset($tab['selected']) and $tab['selected'] === true; - $template->assign_block_vars - ( - 'tab', - array - ( - 'CLASSNAME' => ($is_selected ? 'selected_tab' : 'normal_tab'), - 'URL' => $tab['url'], - 'CAPTION' => $tab['caption'] - ) - ); - - if ($is_selected) - { - $template->assign_vars( - array('TABSHEET_TITLE' => '['.$tab['caption'].']')); - } - } - - $template->assign_var_from_handle('TABSHEET', 'tabsheet'); - } -} - -?> + 0) + { + $template->set_filename('tabsheet', 'admin/tabsheet.tpl'); + + foreach ($page['tabsheet'] as $tab_name => $tab) + { + $is_selected = isset($tab['selected']) and $tab['selected'] === true; + $template->assign_block_vars + ( + 'tab', + array + ( + 'CLASSNAME' => ($is_selected ? 'selected_tab' : 'normal_tab'), + 'URL' => $tab['url'], + 'CAPTION' => $tab['caption'] + ) + ); + + if ($is_selected) + { + $template->assign_vars( + array('TABSHEET_TITLE' => '['.$tab['caption'].']')); + } + } + + $template->assign_var_from_handle('TABSHEET', 'tabsheet'); + } +} + +?> -- cgit v1.2.3