aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/goto/admin.tpl
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-10-04 15:36:45 +0000
committerpatdenice <patdenice@piwigo.org>2008-10-04 15:36:45 +0000
commita97451563437b12de9050e7f37c021b9eaa62d6d (patch)
tree5923f305c8cbd14fbd22c82177d531720dcda8e3 /admin/template/goto/admin.tpl
parent094ed0f17ac87505ee7e85a2dffa976871977283 (diff)
- don't display empty <ul> if no plugins to display in specials admin menu.
- correction in plugins_list.tpl if plugins missing. - filter icon is displayed inside <dt> tags. git-svn-id: http://piwigo.org/svn/trunk@2656 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/template/goto/admin.tpl')
-rw-r--r--admin/template/goto/admin.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/admin/template/goto/admin.tpl b/admin/template/goto/admin.tpl
index 1c4ca1a6c..76b936cfd 100644
--- a/admin/template/goto/admin.tpl
+++ b/admin/template/goto/admin.tpl
@@ -84,12 +84,14 @@ jQuery().ready(function(){ldelim}
<li><a href="{$U_HISTORY_STAT}">{'History'|@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>
+ <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>