aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_html.inc.php
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2013-05-06 17:35:44 +0000
committerflop25 <flop25@piwigo.org>2013-05-06 17:35:44 +0000
commitfd8e23a8b4fa87de9806933359f86f0a5501aa71 (patch)
tree688ced7a4b7fb9b235f5fc51f8932759bfb7d605 /include/functions_html.inc.php
parentf4c7ad9c4667dd0ec4778a8e5e85b0914681fe54 (diff)
merge svn:22505 into 2.5 branch
bug:2896 thx to Kaare apply render_element_description inside get_thumbnail_title() git-svn-id: http://piwigo.org/svn/branches/2.5@22506 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_html.inc.php')
-rw-r--r--include/functions_html.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php
index 5b6a5079b..f4eade57f 100644
--- a/include/functions_html.inc.php
+++ b/include/functions_html.inc.php
@@ -585,6 +585,7 @@ function get_thumbnail_title($info, $title, $comment)
if (!empty($comment))
{
+ $info['comment'] = trigger_event('render_element_description', $info['comment']);
$title.= ' '.substr($info['comment'], 0, 100).(strlen($info['comment']) > 100 ? '...' : '');
}