diff options
author | plegall <plg@piwigo.org> | 2010-03-17 21:57:53 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-03-17 21:57:53 +0000 |
commit | 3f2eb3a002aa5ac109b1c050c792ea7592632a43 (patch) | |
tree | e2f9085c90915f7c0e95e5f069829ad9219508be /admin/themes/default | |
parent | 61b6e999c4f43f11c12ec6df3341a8391fff9ea9 (diff) |
feature 1515: new organization for menu. Photos, Categories, Users, Plugins,
Tools, Configuration.
menubar bottom is ugly with the roma theme, it needs a fix.
git-svn-id: http://piwigo.org/svn/trunk@5170 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/themes/default/default-layout.css | 2 | ||||
-rw-r--r-- | admin/themes/default/template/admin.tpl | 65 |
2 files changed, 38 insertions, 29 deletions
diff --git a/admin/themes/default/default-layout.css b/admin/themes/default/default-layout.css index 001b78c35..f792538a5 100644 --- a/admin/themes/default/default-layout.css +++ b/admin/themes/default/default-layout.css @@ -750,3 +750,5 @@ BODY#thePopuphelpPage { h2 { letter-spacing:2px; font-weight:bold;} h2:lang(en) { text-transform:capitalize; } + +#pluginsMenuSeparator {width:80%; margin:5px auto;}
\ No newline at end of file diff --git a/admin/themes/default/template/admin.tpl b/admin/themes/default/template/admin.tpl index 236463f12..0c029031d 100644 --- a/admin/themes/default/template/admin.tpl +++ b/admin/themes/default/template/admin.tpl @@ -15,14 +15,15 @@ jQuery().ready(function(){ldelim} <div id="menubar"> <div id="adminHome"><a href="{$U_ADMIN}">Administration Home</a></div> <dl class="first"> - <dt class="rdion"><span>{'Configuration'|@translate} </span></dt> + <dt class="rdion"><span>{'Photos'|@translate} </span></dt> <dd> <ul> - <li><a href="{$U_CONFIG_GENERAL}">{'General'|@translate}</a></li> - <li><a href="{$U_CONFIG_DISPLAY}">{'Default display'|@translate}</a></li> - <li><a href="{$U_CONFIG_MENUBAR}">{'Menu'|@translate}</a></li> - <li><a href="{$U_CONFIG_EXTENTS}">{'Templates'|@translate}</a></li> - <li><a href="{$U_CONFIG_THEMES}">{'Themes'|@translate}</a></li> + <li><a href="{$U_ADD_PHOTOS}">{'Add'|@translate}</a></li> + <li><a href="{$U_WAITING}">{'Waiting'|@translate}</a></li> + <li><a href="{$U_RATING}">{'Rating'|@translate}</a></li> + <li><a href="{$U_TAGS}">{'Tags'|@translate}</a></li> + <li><a href="{$U_CADDIE}">{'Caddie'|@translate}</a></li> + <li><a href="{$U_RECENT_SET}">{'Recent pictures'|@translate}</a></li> </ul> </dd> </dl> @@ -40,45 +41,51 @@ jQuery().ready(function(){ldelim} </dd> </dl> <dl> - <dt class="rdion"><span>{'Pictures'|@translate} </span></dt> + <dt class="rdion"><span>{'Users'|@translate} </span></dt> <dd> <ul> - <li><a href="{$U_ADD_PHOTOS}">{'Add'|@translate}</a></li> - <li><a href="{$U_WAITING}">{'Waiting'|@translate}</a></li> - <li><a href="{$U_THUMBNAILS}">{'Thumbnails'|@translate}</a></li> - <li><a href="{$U_RATING}">{'Rating'|@translate}</a></li> - <li><a href="{$U_TAGS}">{'Tags'|@translate}</a></li> - <li><a href="{$U_CADDIE}">{'Caddie'|@translate}</a></li> - <li><a href="{$U_RECENT_SET}">{'Recent pictures'|@translate}</a></li> + <li><a href="{$U_USERS}">{'Manage'|@translate}</a></li> + <li><a href="{$U_GROUPS}">{'Groups'|@translate}</a></li> + <li><a href="{$U_NOTIFICATION_BY_MAIL}">{'Notification'|@translate}</a></li> </ul> </dd> </dl> <dl> - <dt class="rdion"><span>{'Identification'|@translate} </span></dt> + <dt class="rdion"><span>{'Plugins'|@translate} </span></dt> <dd> <ul> - <li><a href="{$U_USERS}">{'Users'|@translate}</a></li> - <li><a href="{$U_GROUPS}">{'Groups'|@translate}</a></li> - <li><a href="{$U_NOTIFICATION_BY_MAIL}">{'Notification'|@translate}</a></li> + <li><a href="{$U_PLUGINS}">{'Manage'|@translate}</a></li> </ul> + <div id="pluginsMenuSeparator"></div> +{if !empty($plugin_menu_items)} + <ul class="scroll"> + {foreach from=$plugin_menu_items item=menu_item} + <li><a href="{$menu_item.URL}">{$menu_item.NAME}</a></li> + {/foreach} + </ul> +{/if} </dd> </dl> - <dl class="last"> - <dt class="rdion"><span>{'Specials'|@translate} </span></dt> + <dl> + <dt class="rdion"><span>{'Tools'|@translate} </span></dt> <dd> <ul> <li><a href="{$U_HISTORY_STAT}">{'History'|@translate}</a></li> + <li><a href="{$U_THUMBNAILS}">{'Thumbnails'|@translate}</a></li> <li><a href="{$U_MAINTENANCE}">{'Maintenance'|@translate}</a></li> <li><a href="{$U_ADVANCED_FEATURE}">{'Advanced features'|@translate}</a></li> - <li><a href="{$U_PLUGINS}">{'Plugins'|@translate}</a> - {if !empty($plugin_menu_items)} - <ul class="scroll"> - {foreach from=$plugin_menu_items item=menu_item} - <li><a href="{$menu_item.URL}">{$menu_item.NAME}</a></li> - {/foreach} - </ul> - {/if} - </li> + </ul> + </dd> + </dl> + <dl class="last"> + <dt class="rdion"><span>{'Configuration'|@translate} </span></dt> + <dd> + <ul> + <li><a href="{$U_CONFIG_GENERAL}">{'General'|@translate}</a></li> + <li><a href="{$U_CONFIG_DISPLAY}">{'Default display'|@translate}</a></li> + <li><a href="{$U_CONFIG_MENUBAR}">{'Menu'|@translate}</a></li> + <li><a href="{$U_CONFIG_EXTENTS}">{'Templates'|@translate}</a></li> + <li><a href="{$U_CONFIG_THEMES}">{'Themes'|@translate}</a></li> </ul> </dd> </dl> |