From 18e6f3392d675c15b95ea11342bff8ff388a3fc8 Mon Sep 17 00:00:00 2001 From: buttle Date: Thu, 25 Nov 2021 10:48:20 +0100 Subject: [PATCH] removes 'view all results' from site search --- view/omeka/site/index/search.phtml | 53 ++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 view/omeka/site/index/search.phtml diff --git a/view/omeka/site/index/search.phtml b/view/omeka/site/index/search.phtml new file mode 100644 index 0000000..332f1b2 --- /dev/null +++ b/view/omeka/site/index/search.phtml @@ -0,0 +1,53 @@ +plugin('translate'); +$hyperlink = $this->plugin('hyperlink'); +$url = $this->plugin('url'); +$this->htmlElement('body')->appendAttribute('class', 'index search'); +?> + +pageTitle(sprintf($translate('Search results for ā€œ%sā€'), $query)); ?> + + +

+ + 'Site pages', // @translate + 'items' => 'Items', // @translate + 'item_sets' => 'Item sets', // @translate + 'media' => 'Media', // @translate +]; +$resourceControllers = [ + 'site_pages' => 'page', + 'items' => 'item', + 'item_sets' => 'item-set', + 'media' => 'media', +]; +?> + $result): ?> +
+

+ + + + + +
+ +