mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
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:
@@ -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'])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user