aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/theme/admin/themeconf.inc.php
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2008-06-22 20:38:19 +0000
committervdigital <vdigital@piwigo.org>2008-06-22 20:38:19 +0000
commit143edcacaefb171a99003e905eec420107c30ef9 (patch)
treeac0fabf58c36f4e0329731fc03c6270bc9bcc385 /template/yoga/theme/admin/themeconf.inc.php
parentcf07211562afce7890c1cd377ffc000762e89f04 (diff)
Removal some references to previous admin pages
New favicon git-svn-id: http://piwigo.org/svn/trunk@2392 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/theme/admin/themeconf.inc.php')
-rw-r--r--template/yoga/theme/admin/themeconf.inc.php73
1 files changed, 0 insertions, 73 deletions
diff --git a/template/yoga/theme/admin/themeconf.inc.php b/template/yoga/theme/admin/themeconf.inc.php
deleted file mode 100644
index f1f0d90e0..000000000
--- a/template/yoga/theme/admin/themeconf.inc.php
+++ /dev/null
@@ -1,73 +0,0 @@
-<?php
-/**
- * Accordion menus need to be stable
- */
-function selected_admin_menu()
-{
- if (isset($_GET['page']))
- {
- switch ($_GET['page']) {
- case 'configuration':
- return 1;
- case 'site_manager':
- case 'site_update':
- case 'cat_list':
- case 'cat_modify':
- case 'cat_move':
- case 'cat_options':
- case 'element_set':
- case 'cat_perm':
- case 'permalinks':
- case 'picture_modify':
- if (isset($_GET['cat']) and $_GET['cat']=='caddie') {
- return 3;
- }
- return 2;
- case 'comments':
- case 'upload':
- case 'thumbnail':
- case 'rating':
- case 'tags':
- return 3;
- case 'user_list':
- case 'group_list':
- case 'notification_by_mail':
- return 4;
- case 'stats':
- case 'history':
- case 'maintenance':
- case 'advanced_feature':
- case 'ws_checker':
- case 'plugins_list':
- case 'plugin':
- return 5;
- }
- }
- return 0;
-}
-
-$themeconf = array(
- 'template' => 'yoga',
- 'theme' => 'admin',
- 'template_dir' => 'template/yoga',
- 'icon_dir' => 'template/yoga/icon',
- 'admin_icon_dir' => 'template/yoga/icon/admin',
- 'mime_icon_dir' => 'template/yoga/icon/mimetypes/',
- 'local_head' => '
-<!-- Admin Accordion Menus -->
- <script type="text/javascript" src="template-common/lib/jquery.js"></script>
- <script type="text/javascript" src="template-common/lib/chili-1.7.pack.js"></script>
- <script type="text/javascript" src="template-common/lib/jquery.easing.js"></script>
- <script type="text/javascript" src="template-common/lib/jquery.dimensions.js"></script>
- <script type="text/javascript" src="template-common/jquery.accordion.js"></script>
- <script type="text/javascript">
- jQuery().ready(function(){
- jQuery(\'#menubar\').accordion({
- header: "dt.rdion",
- event: "click",
- active: '. selected_admin_menu() . '
- });
- });
- </script>'
-);
-?>