diff options
author | flop25 <flop25@piwigo.org> | 2013-05-06 17:30:34 +0000 |
---|---|---|
committer | flop25 <flop25@piwigo.org> | 2013-05-06 17:30:34 +0000 |
commit | 2e1af1dd90b5401fefbf1ba3e04ad6bcd9381cce (patch) | |
tree | 81cb4285cc65c4a5c8c716cfea1fcaf4a4cbdd34 /include/functions_html.inc.php | |
parent | 2fb13e6687b2515a7c66b415e774628c0e549701 (diff) |
bug:2896
thx to Kaare
apply render_element_description inside get_thumbnail_title()
git-svn-id: http://piwigo.org/svn/trunk@22505 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/functions_html.inc.php | 1 |
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 ? '...' : ''); } |