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
This commit is contained in:
rvelices
2013-06-30 05:57:49 +00:00
parent 3c3c3aacc9
commit 49da4accc8
4 changed files with 10 additions and 9 deletions
+1
View File
@@ -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'])
{