Changeset 2662 for trunk/admin/template/goto/theme/roma/themeconf.inc.php
- Timestamp:
- Oct 5, 2008, 12:52:48 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/template/goto/theme/roma/themeconf.inc.php
r2647 r2662 1 1 <?php 2 /** 3 * Accordion menus need to be stable 4 */ 5 function selected_admin_menu() 2 if (!function_exists('selected_admin_menu')) 6 3 { 7 if (isset($_GET['page'])) 8 { 9 switch ($_GET['page']) { 10 case 'configuration': 11 case 'extend_for_templates': 12 case 'menubar': 13 return 1; 14 case 'site_manager': 15 case 'site_update': 16 case 'cat_list': 17 case 'cat_modify': 18 case 'cat_move': 19 case 'cat_options': 20 case 'cat_perm': 21 case 'permalinks': 22 return 2; 23 case 'element_set': 24 if (isset($_GET['cat']) and is_numeric($_GET['cat']) ) { 25 return 2; 26 } 27 case 'picture_modify': 28 return 3; 29 case 'comments': 30 case 'upload': 31 case 'thumbnail': 32 case 'rating': 33 case 'tags': 34 return 3; 35 case 'user_list': 36 case 'group_list': 37 case 'notification_by_mail': 38 return 4; 39 case 'stats': 40 case 'history': 41 case 'maintenance': 42 case 'advanced_feature': 43 case 'plugins_list': 44 case 'plugins_update': 45 case 'plugins_new': 46 case 'plugin': 47 return 5; 48 } 49 } 50 return 0; 4 include_once(PHPWG_ROOT_PATH.'admin/include/functions_themes.inc.php'); 51 5 } 52 53 6 $themeconf = array( 54 7 'template' => 'goto', /* Goto Admin template */
Note: See TracChangeset
for help on using the changeset viewer.