From f33e6e67eeae67c43da7e748c472d1914b349c60 Mon Sep 17 00:00:00 2001 From: jorge-hangar Date: Tue, 29 Mar 2022 18:20:03 +0200 Subject: [PATCH] support for assets relative not hardcoded --- asset | 1 + view/common/block-layout/list-of-sites.phtml | 2 +- view/common/cross-site-search/results.phtml | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) create mode 120000 asset diff --git a/asset b/asset new file mode 120000 index 0000000..f40fe05 --- /dev/null +++ b/asset @@ -0,0 +1 @@ +assets \ No newline at end of file diff --git a/view/common/block-layout/list-of-sites.phtml b/view/common/block-layout/list-of-sites.phtml index 446c915..e3d0b02 100644 --- a/view/common/block-layout/list-of-sites.phtml +++ b/view/common/block-layout/list-of-sites.phtml @@ -36,4 +36,4 @@ $projects = htmlentities(json_encode($projects, JSON_HEX_QUOT), ENT_QUOTES, 'UTF - + diff --git a/view/common/cross-site-search/results.phtml b/view/common/cross-site-search/results.phtml index d64f77e..7bf4468 100644 --- a/view/common/cross-site-search/results.phtml +++ b/view/common/cross-site-search/results.phtml @@ -11,7 +11,6 @@ $hasResults = false; getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($this->site); if (!$img_src) { - //$img_src = '/themes/archive/asset/img/default-header-image.jpg'; $img_src = $this->assetUrl('img/ARC-HIVE-logo.svg'); } if ($this->site->title() == "Collections") {