diff options
Diffstat (limited to 'include/category_default.inc.php')
-rw-r--r-- | include/category_default.inc.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/category_default.inc.php b/include/category_default.inc.php index a99873bc1..030d12240 100644 --- a/include/category_default.inc.php +++ b/include/category_default.inc.php @@ -106,13 +106,18 @@ while ($row = mysql_fetch_array($result)) 'IMAGE' => $thumbnail_url, 'IMAGE_ALT' => $row['file'], 'IMAGE_TITLE' => $thumbnail_title, - 'IMAGE_NAME' => $name, 'IMAGE_TS' => get_icon($row['date_available']), - 'IMAGE_STYLE' => 'thumb_picture', 'U_IMG_LINK' => add_session_id($url_link) ) ); + + $template->assign_block_vars( + 'thumbnails.line.thumbnail.element_name', + array( + 'NAME' => $name + ) + ); if ($user['show_nb_comments'] and is_numeric($page['cat']) |