aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2013-06-30 05:57:49 +0000
committerrvelices <rv-github@modusoptimus.com>2013-06-30 05:57:49 +0000
commit49da4accc8532bdb195f11f22164eaf97cc21652 (patch)
tree7a9f99d6bd770e6d9b160715b57904843978a1bb /picture.php
parent3c3c3aacc96cf90523ed865e223b444137a5b81c (diff)
on picture page add TITLE_ESC variable for every thumb to avoid escaping TITLE more than 40 times in the template...
git-svn-id: http://piwigo.org/svn/trunk@23689 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--picture.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/picture.php b/picture.php
index 6b4bf0773..e736373ba 100644
--- a/picture.php
+++ b/picture.php
@@ -541,6 +541,7 @@ while ($row = pwg_db_fetch_assoc($result))
$picture[$i] = $row;
$picture[$i]['TITLE'] = render_element_name($row);
+ $picture[$i]['TITLE_ESC'] = str_replace('"', '&quot;', $picture[$i]['TITLE']);
if ('previous'==$i and $page['previous_item']==$page['first_item'])
{