aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/goto/cat_list.tpl
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2008-10-19 15:47:34 +0000
committervdigital <vdigital@piwigo.org>2008-10-19 15:47:34 +0000
commita6be0e500b91696013b1580915c21493ce6c39b1 (patch)
tree14d7a7b6d3bf5d15e2efa3033ce23e3b5b7d66df /admin/template/goto/cat_list.tpl
parent3326f742fe2a1745dc1ebdd060d023263af299b9 (diff)
Merging revisions 2773-2776
- Default template and Piwigo domain ... - No metadata synchronization icon on a remote picture (Synchro failure) - Jump to category icon is removed on user forbidden categories (previously check_restrictions was leading administrators to the access denied page). git-svn-id: http://piwigo.org/svn/trunk@2777 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/template/goto/cat_list.tpl')
-rw-r--r--admin/template/goto/cat_list.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/template/goto/cat_list.tpl b/admin/template/goto/cat_list.tpl
index 4bf158baf..9f26e1f9c 100644
--- a/admin/template/goto/cat_list.tpl
+++ b/admin/template/goto/cat_list.tpl
@@ -48,7 +48,9 @@
<li class="categoryLi{if $category.IS_VIRTUAL} virtual_cat{/if}" id="cat_{$category.ID}">
<!-- category {$category.ID} -->
<ul class="categoryActions">
+ {if cat_admin_access($category.ID)}
<li><a href="{$category.U_JUMPTO}" title="{'jump to category'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_jump-to.png" class="button" alt="{'jump to category'|@translate}" /></a></li>
+ {/if}
<li><a href="{$category.U_EDIT}" title="{'edit category informations'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"/></a></li>
{if isset($category.U_MANAGE_ELEMENTS) }
<li><a href="{$category.U_MANAGE_ELEMENTS}" title="{'manage category elements'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_elements.png" class="button" alt="{'elements'|@translate}" /></a></li>