aboutsummaryrefslogtreecommitdiffstats
path: root/category.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-03-26 22:35:07 +0000
committerplegall <plg@piwigo.org>2005-03-26 22:35:07 +0000
commit26b44267d5f3adc1cdf450d2f0c16eaf52648a07 (patch)
tree64e7db832cd6eb05cb1968b4a601051a4a144139 /category.php
parent03b8e7bb3597e5e58a0dc01032c6ad94faf0fe35 (diff)
- "add to caddie" link is visible only when categories contains
elements. Only admin users can see this link - elements batch management : impossible to create a link between category and element that already exists - logical separation of category name under thumbnail and element name git-svn-id: http://piwigo.org/svn/trunk@760 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--category.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/category.php b/category.php
index 7de82f31c..5484804ee 100644
--- a/category.php
+++ b/category.php
@@ -310,6 +310,11 @@ if (isset($page['cat'])
))))
{
include(PHPWG_ROOT_PATH.'include/category_default.inc.php');
+
+ if ('admin' == $user['status'])
+ {
+ $template->assign_block_vars('caddie', array());
+ }
}
elseif (isset($page['cat']) and $page['cat'] == 'calendar')
{