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
This commit is contained in:
parent
f4c7ad9c46
commit
fd8e23a8b4
1 changed files with 1 additions and 0 deletions
|
@ -585,6 +585,7 @@ function get_thumbnail_title($info, $title, $comment)
|
||||||
|
|
||||||
if (!empty($comment))
|
if (!empty($comment))
|
||||||
{
|
{
|
||||||
|
$info['comment'] = trigger_event('render_element_description', $info['comment']);
|
||||||
$title.= ' '.substr($info['comment'], 0, 100).(strlen($info['comment']) > 100 ? '...' : '');
|
$title.= ' '.substr($info['comment'], 0, 100).(strlen($info['comment']) > 100 ? '...' : '');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue