From 09477ee7d232eb9fad43835fc68d1f7820fdd5d4 Mon Sep 17 00:00:00 2001 From: GaziYucel Date: Thu, 19 Dec 2024 16:04:10 +0100 Subject: [PATCH] move ror.svg to pkp-lib --- pages/article/ArticleHandler.php | 5 +- templates/images/ror-org-logo-icon.svg | 92 -------------------------- 2 files changed, 3 insertions(+), 94 deletions(-) delete mode 100644 templates/images/ror-org-logo-icon.svg diff --git a/pages/article/ArticleHandler.php b/pages/article/ArticleHandler.php index f1ade856de4..46d80c0f794 100644 --- a/pages/article/ArticleHandler.php +++ b/pages/article/ArticleHandler.php @@ -359,8 +359,9 @@ public function view($args, $request) // ror icon $rorIdIcon = 'ROR'; - if (file_exists('templates/images/ror-org-logo-icon.svg')) - $rorIdIcon = file_get_contents('templates/images/ror-org-logo-icon.svg'); + if (file_exists('lib/pkp/templates/images/ror.svg')) { + $rorIdIcon = file_get_contents('lib/pkp/templates/images/ror.svg'); + } $templateMgr->assign('rorIdIcon', $rorIdIcon); if (!Hook::call('ArticleHandler::view', [&$request, &$issue, &$article, $publication])) { diff --git a/templates/images/ror-org-logo-icon.svg b/templates/images/ror-org-logo-icon.svg deleted file mode 100644 index 7b27e1e3d2c..00000000000 --- a/templates/images/ror-org-logo-icon.svg +++ /dev/null @@ -1,92 +0,0 @@ - - - -image/svg+xml - - - - - - - - - - - - - - -