From 757f58ffc78f14580f3f94fe04122d177c8d0c22 Mon Sep 17 00:00:00 2001 From: withanage Date: Tue, 22 Oct 2024 09:16:01 +0200 Subject: [PATCH 01/26] customized page not found error --- classes/core/Dispatcher.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/core/Dispatcher.php b/classes/core/Dispatcher.php index 5d03720f640..1e8d3455671 100644 --- a/classes/core/Dispatcher.php +++ b/classes/core/Dispatcher.php @@ -304,10 +304,10 @@ public function _cacheContent(string $contents): string /** * Handle a 404 error (page not found). */ - public static function handle404() + public static function handle404(string $message = "404 Not Found"): void { header('HTTP/1.0 404 Not Found'); - echo "

404 Not Found

\n"; + echo "

" . htmlspecialchars($message) . "

\n"; exit; } } From e62b1aad9452b63cb109ba97989ba9983f08cba1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jarda=20Kot=C4=9B=C5=A1ovec?= Date: Thu, 12 Sep 2024 11:31:44 +0200 Subject: [PATCH 02/26] pkp/pkp-lib#10392 Initial Masthead Styling --- templates/frontend/pages/editorialHistory.tpl | 44 +++++++++---------- .../frontend/pages/editorialMasthead.tpl | 14 +++--- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/templates/frontend/pages/editorialHistory.tpl b/templates/frontend/pages/editorialHistory.tpl index bf96d087ce4..0fc9ca8f8e8 100644 --- a/templates/frontend/pages/editorialHistory.tpl +++ b/templates/frontend/pages/editorialHistory.tpl @@ -18,32 +18,32 @@ {foreach from=$mastheadRoles item="mastheadRole"} {if array_key_exists($mastheadRole->getId(), $mastheadUsers)}

{$mastheadRole->getLocalizedName()|escape}

- @@ -51,25 +50,24 @@ {if !empty($reviewers)}

{translate key="common.editorialMasthead.peerReviewers"}

{translate key="common.editorialMasthead.peerReviewers.description" year=$previousYear}

-