aboutsummaryrefslogtreecommitdiffstats
path: root/include/category_default.inc.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2011-10-15 15:27:33 +0000
committerpatdenice <patdenice@piwigo.org>2011-10-15 15:27:33 +0000
commitc6406762f07183d3c782544c706b01854f2febbe (patch)
tree715d0546e6f80120407a1f85861c8267beb7d88b /include/category_default.inc.php
parentf9cdbf763ae97070e536d2fd64c6f2094c5d96dd (diff)
feature:2473
Apply trigger render_element_description for thumbnail title git-svn-id: http://piwigo.org/svn/trunk@12451 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/category_default.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/category_default.inc.php b/include/category_default.inc.php
index 256591db4..77d915ae8 100644
--- a/include/category_default.inc.php
+++ b/include/category_default.inc.php
@@ -109,11 +109,13 @@ foreach ($pictures as $row)
$row['nb_comments'] = (int)@$nb_comments_of[$row['id']];
}
+ $name = get_picture_title($row);
+
$tpl_var =
array(
'ID' => $row['id'],
'TN_SRC' => get_thumbnail_url($row),
- 'TN_ALT' => htmlspecialchars(strip_tags(get_picture_title($row))),
+ 'TN_ALT' => htmlspecialchars(strip_tags($name)),
'TN_TITLE' => get_thumbnail_title($row),
'URL' => $url,
@@ -140,8 +142,6 @@ foreach ($pictures as $row)
{
$tpl_var['NB_HITS'] = $row['hit'];
}
-
- $name = trigger_event('render_element_description', get_picture_title($row));
switch ($page['section'])
{