aboutsummaryrefslogtreecommitdiffstats
path: root/include/category_recent_cats.inc.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 /include/category_recent_cats.inc.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 'include/category_recent_cats.inc.php')
-rw-r--r--include/category_recent_cats.inc.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/category_recent_cats.inc.php b/include/category_recent_cats.inc.php
index 5eaf62a37..1b3e84f1e 100644
--- a/include/category_recent_cats.inc.php
+++ b/include/category_recent_cats.inc.php
@@ -77,14 +77,18 @@ while ( $row = mysql_fetch_array( $result ) )
'IMAGE' => $thumbnail_src,
'IMAGE_ALT' => $row['file'],
'IMAGE_TITLE' => $lang['hint_category'],
- 'IMAGE_NAME' => '['.$name.']',
- 'IMAGE_STYLE' => 'thumb_category',
'U_IMG_LINK' => add_session_id($url_link)
)
);
- $template->assign_block_vars('thumbnails.line.thumbnail.bullet',array());
+ $template->assign_block_vars(
+ 'thumbnails.line.thumbnail.category_name',
+ array(
+ 'NAME' => $name
+ )
+ );
+
// create a new line ?
if (++$row_number == $user['nb_image_line'])
{