feature 1729: avoid too long description in tooltips
git-svn-id: http://piwigo.org/svn/trunk@11997 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
5861549e51
commit
12ec1dcf5b
1 changed files with 1 additions and 1 deletions
|
|
@ -815,7 +815,7 @@ function get_thumbnail_title($info)
|
|||
|
||||
if (!empty($info['comment']))
|
||||
{
|
||||
$title.= ' '.$info['comment'];
|
||||
$title.= ' '.substr($info['comment'], 0, 100).'...';
|
||||
}
|
||||
|
||||
$title = strip_tags($title);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue