diff --git a/view/common/header-collections.phtml b/view/common/header-collections.phtml index 3c7d763..12c84fc 100644 --- a/view/common/header-collections.phtml +++ b/view/common/header-collections.phtml @@ -1,5 +1,6 @@
- + + themeSetting('logo')): ?> <?php echo $site->title(); ?>
- + + themeSetting('logo')): ?> <?php echo $site->title(); ?>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); ?> -

- -
- ' . $escape($translate('Items')) . ''; ?> - - pageTitle($translate('Items'), 2); ?> - - -searchFilters(); ?> -
- -
-
- pagination(); ?> - -
- - -
- - hyperlink($translate('Advanced search'), $this->url('site/resource', ['controller' => 'item', 'action' => 'search'], ['query' => $query], true), ['class' => 'advanced-search']); ?> - sortSelector($sortHeadings); ?> -
- -trigger('view.browse.before'); ?> -
    -value($headingTerm, ['default' => $translate('[Untitled]')]) : $item->displayTitle(); - $body = $bodyTerm ? $item->value($bodyTerm) : $item->displayDescription(); -?> -
  • - thumbnail($item, 'medium')): ?> -
    - linkRaw($thumbnail, null, ['class' => 'thumbnail']); ?> -
    - -
    -

    link($heading); ?>

    - -
    - -
    -
  • - -
-' : ''; ?> -trigger('view.browse.after'); ?> - -
- pagination(); ?> -
\ No newline at end of file + diff --git a/view/omeka/site/item/show.phtml b/view/omeka/site/item/show.phtml index c642215..030cee1 100644 --- a/view/omeka/site/item/show.phtml +++ b/view/omeka/site/item/show.phtml @@ -50,7 +50,8 @@ $("#archive_page_title").html('');
- linkPretty(); ?> + linkPretty(); ?> +