Changeset 2226 for trunk/admin/configuration.php
- Timestamp:
- Feb 29, 2008, 12:41:47 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/configuration.php
r2201 r2226 3 3 // | PhpWebGallery - a PHP based picture gallery | 4 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-200 7PhpWebGallery Team - http://phpwebgallery.net |5 // | Copyright (C) 2003-2008 PhpWebGallery Team - http://phpwebgallery.net | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | branch : BSF (Best So Far) … … 32 32 33 33 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 34 include_once(PHPWG_ROOT_PATH.'admin/include/ functions_tabsheet.inc.php');34 include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php'); 35 35 36 36 // +-----------------------------------------------------------------------+ … … 158 158 $template->set_filename('config', 'admin/configuration.tpl'); 159 159 160 // TabSheet 161 $tabsheet = new tabsheet(); 160 162 // TabSheet initialization 161 $page['tabsheet'] = array 162 ( 163 'main' => array 164 ( 165 'caption' => l10n('conf_main_title'), 166 'url' => $conf_link.'main' 167 ), 168 'history' => array 169 ( 170 'caption' => l10n('conf_history_title'), 171 'url' => $conf_link.'history' 172 ), 173 'comments' => array 174 ( 175 'caption' => l10n('conf_comments_title'), 176 'url' => $conf_link.'comments' 177 ), 178 'default' => array 179 ( 180 'caption' => l10n('conf_display'), 181 'url' => $conf_link.'default' 182 ) 183 ); 184 185 $page['tabsheet'][$page['section']]['selected'] = true; 186 163 $tabsheet->add('main', l10n('conf_main_title'), $conf_link.'main'); 164 $tabsheet->add('history', l10n('conf_history_title'), $conf_link.'history'); 165 $tabsheet->add('comments', l10n('conf_comments_title'), $conf_link.'comments'); 166 $tabsheet->add('default', l10n('conf_display'), $conf_link.'default'); 167 // TabSheet selection 168 $tabsheet->select($page['section']); 187 169 // Assign tabsheet to template 188 template_assign_tabsheet();170 $tabsheet->assign(); 189 171 190 172 $action = PHPWG_ROOT_PATH.'admin.php?page=configuration';
Note: See TracChangeset
for help on using the changeset viewer.