diff --git a/view/omeka/site/item/browse.phtml b/view/omeka/site/item/browse.phtml index 6f6939b..601d880 100644 --- a/view/omeka/site/item/browse.phtml +++ b/view/omeka/site/item/browse.phtml @@ -1,97 +1,4 @@ -plugin('translate'); -$escape = $this->plugin('escapeHtml'); -$this->headScript()->appendFile($this->assetUrl('js/browse.js')); -$this->htmlElement('body')->appendAttribute('class', 'item resource browse'); -$query = $this->params()->fromQuery(); -$itemSetShow = isset($itemSet); -if ($itemSetShow): - $this->htmlElement('body')->appendAttribute('class', 'item-set'); - $query['item_set_id'] = $itemSet->id(); -endif; - -$layoutSetting = $this->themeSetting('browse_layout'); -$gridState = ($layoutSetting == 'togglegrid') ? 'disabled' : ''; -$listState = ($layoutSetting == 'togglelist') ? 'disabled': ''; -$isGrid = (!isset($layoutSetting) || strpos($layoutSetting, 'grid') !== false) ? true : false; -$headingTerm = $this->siteSetting('browse_heading_property_term'); -$bodyTerm = $this->siteSetting('browse_body_property_term'); -$bodyTruncate = $this->themeSetting('truncate_body_property'); - -$sortHeadings = [ - [ - 'label' => $translate('Title'), - 'value' => 'dcterms:title' - ], - [ - 'label' => $translate('Identifier'), - 'value' => 'dcterms:identifier' - ], - [ - 'label' => $translate('Class'), - 'value' => 'resource_class_label' - ], - [ - 'label' => $translate('Created'), - 'value' => 'created' - ], -]; -?> - - - pageTitle($itemSet->displayTitle(), 2); ?> -
- -