Skip to content

Commit

Permalink
move ror.svg to pkp-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
GaziYucel committed Dec 19, 2024
1 parent 639dca7 commit 09477ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 94 deletions.
5 changes: 3 additions & 2 deletions pages/article/ArticleHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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])) {
Expand Down
92 changes: 0 additions & 92 deletions templates/images/ror-org-logo-icon.svg

This file was deleted.

0 comments on commit 09477ee

Please sign in to comment.