Commit 0efbe32c authored by Michael Felczak's avatar Michael Felczak
Browse files

Add latest from 'upstream/ojs-stable-3_0_1' to pkpps-ojs-stable-3_0_1

parents 774a36ed ce5c519d
......@@ -48,7 +48,7 @@ class IssueGridCellProvider extends GridCellProvider {
'modal_edit',
true
),
$issue->getIssueIdentification()
htmlspecialchars($issue->getIssueIdentification())
)
);
}
......
......@@ -56,7 +56,7 @@ class PubIdExportIssuesListGridCellProvider extends DataObjectGridCellProvider {
$dispatcher->url($request, ROUTE_COMPONENT, null, 'grid.issues.BackIssueGridHandler', 'editIssue', null, array('issueId' => $publishedIssue->getId())),
__('plugins.importexport.common.settings.DOIPluginSettings')
),
$publishedIssue->getIssueIdentification(),
htmlspecialchars($publishedIssue->getIssueIdentification()),
null
)
);
......
......@@ -61,7 +61,7 @@ class PubIdExportRepresentationsListGridCellProvider extends DataObjectGridCellP
new RedirectAction(
SubmissionsListGridCellProvider::getUrlByUserRoles($request, $publishedSubmission)
),
$title
htmlspecialchars($title)
)
);
case 'issue':
......@@ -80,7 +80,7 @@ class PubIdExportRepresentationsListGridCellProvider extends DataObjectGridCellP
$dispatcher->url($request, ROUTE_COMPONENT, null, 'grid.issues.BackIssueGridHandler', 'editIssue', null, array('issueId' => $issue->getId())),
__('plugins.importexport.common.settings.DOIPluginSettings')
),
$issue->getIssueIdentification(),
htmlspecialchars($issue->getIssueIdentification()),
null
)
);
......@@ -97,7 +97,7 @@ class PubIdExportRepresentationsListGridCellProvider extends DataObjectGridCellP
$statusActions[$status],
'_blank'
),
$statusNames[$status]
htmlspecialchars($statusNames[$status])
)
);
}
......
......@@ -58,7 +58,7 @@ class ExportPublishedSubmissionsListGridCellProvider extends DataObjectGridCellP
new RedirectAction(
SubmissionsListGridCellProvider::getUrlByUserRoles($request, $publishedSubmission)
),
$title
htmlspecialchars($title)
)
);
case 'issue':
......@@ -77,7 +77,7 @@ class ExportPublishedSubmissionsListGridCellProvider extends DataObjectGridCellP
$dispatcher->url($request, ROUTE_COMPONENT, null, 'grid.issues.BackIssueGridHandler', 'editIssue', null, array('issueId' => $issue->getId())),
__('plugins.importexport.common.settings.DOIPluginSettings')
),
$issue->getIssueIdentification(),
htmlspecialchars($issue->getIssueIdentification()),
null
)
);
......@@ -94,7 +94,7 @@ class ExportPublishedSubmissionsListGridCellProvider extends DataObjectGridCellP
$statusActions[$status],
'_blank'
),
$statusNames[$status]
htmlspecialchars($statusNames[$status])
)
);
}
......
Subproject commit 26ee3ba62ae0024b7fa0c05682a32b0ba30f13cf
Subproject commit ce4b2763f48c59de13bf9abe48876d143e4d8805
......@@ -9,7 +9,7 @@
*}
<!DOCTYPE html>
<html lang="{$currentLocale|replace:"_":"-"}" xml:lang="{$currentLocale|replace:"_":"-"}">
{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"}
<body class="pkp_page_{$requestedPage|escape} pkp_op_{$requestedOp|escape}">
......
......@@ -36,7 +36,7 @@
<div class="meta">
{if $showAuthor}
<div class="authors">
{$article->getAuthorString()}
{$article->getAuthorString()|escape}
</div>
{/if}
......
......@@ -45,7 +45,7 @@
</script>
<select name="sectionIds[]" class="selectMenu" multiple="multiple" size="5">
{foreach from=$sections item=section}
<option {if in_array($section->getId(), $sectionIds)}selected="selected" {/if}value="{$section->getId()}">{$section->getLocalizedTitle()}</option>
<option {if in_array($section->getId(), $sectionIds)}selected="selected" {/if}value="{$section->getId()}">{$section->getLocalizedTitle()|escape}</option>
{/foreach}
</select><br/>&nbsp;<br/>
<input type="submit" value="{translate key="common.record"}" class="button defaultButton"/>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment