diff --git a/templates/frontend/objects/article_details.tpl b/templates/frontend/objects/article_details.tpl index 4c715fb..51f8ddf 100755 --- a/templates/frontend/objects/article_details.tpl +++ b/templates/frontend/objects/article_details.tpl @@ -338,13 +338,13 @@ {if $licenseUrl} {if $ccLicenseBadge} {if $copyrightHolder} -

{translate key="submission.copyrightStatement" copyrightHolder=$copyrightHolder copyrightYear=$copyrightYear}

+

{translate key="submission.copyrightStatement" copyrightHolder=$copyrightHolder|escape copyrightYear=$copyrightYear|escape}

{/if} {$ccLicenseBadge} {else} {if $copyrightHolder} - {translate key="submission.copyrightStatement" copyrightHolder=$copyrightHolder copyrightYear=$copyrightYear} + {translate key="submission.copyrightStatement" copyrightHolder=$copyrightHolder|escape copyrightYear=$copyrightYear|escape} {else} {translate key="submission.license"} {/if} diff --git a/templates/frontend/objects/issue_toc.tpl b/templates/frontend/objects/issue_toc.tpl index 59abd3f..a6e416e 100644 --- a/templates/frontend/objects/issue_toc.tpl +++ b/templates/frontend/objects/issue_toc.tpl @@ -26,7 +26,7 @@ {strip} {if $issue->getShowVolume() || $issue->getShowNumber()} - {if $issue->getShowVolume()|escape} + {if $issue->getShowVolume()} {translate key="issue.volume"} {$issue->getVolume()|escape}{if $issue->getShowNumber()}, {/if} {/if} {if $issue->getShowNumber()} diff --git a/templates/frontend/pages/announcement.tpl b/templates/frontend/pages/announcement.tpl index 89d373b..03fd6b8 100644 --- a/templates/frontend/pages/announcement.tpl +++ b/templates/frontend/pages/announcement.tpl @@ -9,7 +9,7 @@ * * @uses $announcement Announcement The announcement to display *} -{include file="frontend/components/header.tpl" pageTitleTranslated=$announcement->getLocalizedTitle()} +{include file="frontend/components/header.tpl" pageTitleTranslated=$announcement->getLocalizedTitle()|escape}
diff --git a/templates/frontend/pages/issue.tpl b/templates/frontend/pages/issue.tpl index 6f0c013..90313c7 100755 --- a/templates/frontend/pages/issue.tpl +++ b/templates/frontend/pages/issue.tpl @@ -14,7 +14,7 @@ * @uses $issueGalleys array Galleys for the entire issue * @uses $primaryGenreIds array List of file genre IDs for primary types *} -{include file="frontend/components/header.tpl" pageTitleTranslated=$issueIdentification} +{include file="frontend/components/header.tpl" pageTitleTranslated=$issueIdentification|escape}
diff --git a/templates/frontend/pages/navigationMenuItemViewContent.tpl b/templates/frontend/pages/navigationMenuItemViewContent.tpl index 30bc046..718301e 100755 --- a/templates/frontend/pages/navigationMenuItemViewContent.tpl +++ b/templates/frontend/pages/navigationMenuItemViewContent.tpl @@ -7,7 +7,7 @@ * * Display NavigationMenuItem content *} -{include file="frontend/components/header.tpl" pageTitleTranslated=$title} +{include file="frontend/components/header.tpl" pageTitleTranslated=$title|escape}
diff --git a/templates/frontend/pages/privacy.tpl b/templates/frontend/pages/privacy.tpl index 56dc8ca..1f46727 100755 --- a/templates/frontend/pages/privacy.tpl +++ b/templates/frontend/pages/privacy.tpl @@ -20,7 +20,7 @@
- {$currentContext->getLocalizedSetting('privacyStatement')} + {$privacyStatement}
diff --git a/templates/plugins/generic/htmlArticleGalley/display.tpl b/templates/plugins/generic/htmlArticleGalley/display.tpl index 45db90b..368a0b1 100644 --- a/templates/plugins/generic/htmlArticleGalley/display.tpl +++ b/templates/plugins/generic/htmlArticleGalley/display.tpl @@ -9,7 +9,7 @@ *} -{translate|assign:"pageTitleTranslated" key="article.pageTitle" title=$article->getLocalizedTitle()} +{translate|assign:"pageTitleTranslated" key="article.pageTitle" title=$article->getLocalizedTitle()|escape} {include file="frontend/components/headerHead.tpl"} diff --git a/templates/plugins/generic/pdfJsViewer/templates/display.tpl b/templates/plugins/generic/pdfJsViewer/templates/display.tpl index 2e7929b..d3445c9 100644 --- a/templates/plugins/generic/pdfJsViewer/templates/display.tpl +++ b/templates/plugins/generic/pdfJsViewer/templates/display.tpl @@ -22,7 +22,7 @@ - {translate key="article.pageTitle" title=$title} + {translate key="article.pageTitle" title=$title|escape} {load_header context="frontend" headers=$headers} {load_stylesheet context="frontend" stylesheets=$stylesheets} @@ -43,7 +43,7 @@ {translate key="article.return"} {/if} - {$title} + {$title|escape}
diff --git a/templates/plugins/generic/staticPages/templates/content.tpl b/templates/plugins/generic/staticPages/templates/content.tpl index 7a5f60e..66b57d8 100755 --- a/templates/plugins/generic/staticPages/templates/content.tpl +++ b/templates/plugins/generic/staticPages/templates/content.tpl @@ -7,7 +7,7 @@ * * Display Static Page content *} -{include file="frontend/components/header.tpl" pageTitleTranslated=$title} +{include file="frontend/components/header.tpl" pageTitleTranslated=$title|escape}