aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-08-26 12:09:05 +0000
committerplegall <plg@piwigo.org>2011-08-26 12:09:05 +0000
commit12ec1dcf5b47eb1df9e2a9a5ccef497d85090a31 (patch)
tree6c79c5dd00421af87e0f06d1b883cfe6c0a8b7ff /include/functions.inc.php
parent5861549e51d5cbe9ef7b0f504d0ede06c8fcc676 (diff)
feature 1729: avoid too long description in tooltips
git-svn-id: http://piwigo.org/svn/trunk@11997 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r--include/functions.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index ae29267d7..fb0671e6b 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -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);