From 49da4accc8532bdb195f11f22164eaf97cc21652 Mon Sep 17 00:00:00 2001 From: rvelices Date: Sun, 30 Jun 2013 05:57:49 +0000 Subject: 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 --- picture.php | 1 + 1 file changed, 1 insertion(+) (limited to 'picture.php') 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('"', '"', $picture[$i]['TITLE']); if ('previous'==$i and $page['previous_item']==$page['first_item']) { -- cgit v1.2.3