aboutsummaryrefslogtreecommitdiffstats
path: root/admin.php
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2008-09-23 17:56:54 +0000
committervdigital <vdigital@piwigo.org>2008-09-23 17:56:54 +0000
commit8ffef257e1c856aa3c91824e1158aefd170c5260 (patch)
treef8682cd5316f162386b9614807018f7b3e7bea8c /admin.php
parent1da4bc7daa2e8485f708f6da84e811b8bd83f51b (diff)
Plugins menu revised to have a link to plugin list at upper level.
And scroll in case of... git-svn-id: http://piwigo.org/svn/trunk@2574 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin.php')
-rw-r--r--admin.php11
1 files changed, 2 insertions, 9 deletions
diff --git a/admin.php b/admin.php
index 619cd62ea..b0deb9d05 100644
--- a/admin.php
+++ b/admin.php
@@ -93,7 +93,8 @@ $template->assign(
'U_GROUPS'=> $link_start.'group_list',
'U_PERMALINKS'=> $link_start.'permalinks',
'U_RETURN'=> make_index_url(),
- 'U_ADMIN'=> PHPWG_ROOT_PATH.'admin.php'
+ 'U_ADMIN'=> PHPWG_ROOT_PATH.'admin.php',
+ 'U_PLUGINS'=> $link_start.'plugins_list',
)
);
@@ -105,14 +106,6 @@ function UC_name_compare($a, $b)
return strcmp(strtolower($a['NAME']), strtolower($b['NAME']));
}
usort($plugin_menu_links, 'UC_name_compare');
-
-array_unshift($plugin_menu_links,
- array(
- 'NAME' => l10n('admin'),
- 'URL' => $link_start.'plugins_list'
- )
- );
-
$template->assign('plugin_menu_items', $plugin_menu_links);
include(PHPWG_ROOT_PATH.'admin/'.$page['page'].'.php');