mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user