source: trunk/admin/template/wigo/theme/roma/themeconf.inc.php @ 2526

Last change on this file since 2526 was 2526, checked in by vdigital, 16 years ago

Admin template wigo/roma

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1<?php
2/**
3 * Accordion menus need to be stable
4 */
5function selected_admin_menu()
6{
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 'element_set':
21      case 'cat_perm':
22      case 'permalinks':
23      case 'picture_modify':
24        if (isset($_GET['cat']) and $_GET['cat']=='caddie') {
25          return 3;
26        }
27        return 2;
28      case 'comments':
29      case 'upload':
30      case 'thumbnail':
31      case 'rating':
32      case 'tags':
33        return 3;
34      case 'user_list':
35      case 'group_list':
36      case 'notification_by_mail':
37        return 4;
38      case 'stats':
39      case 'history':
40      case 'maintenance':
41      case 'advanced_feature':
42      case 'plugins_list':
43      case 'plugin':
44        return 5;
45    }
46  }
47  return 0;
48}
49
50$themeconf = array(
51  'template' => 'wigo',
52  'theme' => 'roma',
53  'icon_dir' => 'template/yoga/icon',
54  'admin_icon_dir' => 'template/yoga/icon/admin',
55  'mime_icon_dir' => 'template/yoga/icon/mimetypes/',
56  'selected_admin_menu' => selected_admin_menu(),
57  'local_head' => '',
58);
59?>
Note: See TracBrowser for help on using the repository browser.