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']) { diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl index 8d94438cd..f41b573e3 100644 --- a/themes/default/template/picture.tpl +++ b/themes/default/template/picture.tpl @@ -128,9 +128,9 @@ y.callService( {if $DISPLAY_NAV_THUMB}