From 26b44267d5f3adc1cdf450d2f0c16eaf52648a07 Mon Sep 17 00:00:00 2001 From: plegall Date: Sat, 26 Mar 2005 22:35:07 +0000 Subject: - "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 --- category.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'category.php') 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') { -- cgit v1.2.3