headScript()->appendFile('record.js'); $this->headScript()->appendFile('check_save_statuses.js'); // Activate Syndetics Plus if necessary: if ($this->syndeticsPlus()->isActive()) { $this->headScript()->appendFile($this->syndeticsPlus()->getScript()); } // Add any extra scripts the tabs require: foreach ($this->tabsExtraScripts as $script) { $this->headScript()->appendFile($script); } // Add RDF header link if applicable: if ($this->export()->recordSupportsFormat($this->driver, 'RDF')) { $this->headLink()->appendAlternate($this->recordLinker()->getActionUrl($this->driver, 'RDF', options: ['excludeSearchId' => true]), 'application/rdf+xml', 'RDF Representation'); } // Add canonical header link for SEO: $canonicalUrl = $this->recordLinker()->getUrl($this->driver, ['excludeSearchId' => true]); $this->headLink(['rel' => 'canonical', 'href' => $canonicalUrl]); // Set flag for special cases relating to full-width hierarchy tree tab: $tree = (strtolower($this->activeTab) == 'hierarchytree'); // Set up breadcrumbs: $lastSearch = $this->searchMemory()->getLastSearchLink($this->transEsc('Search')); if (!empty($lastSearch)) { $this->layout()->breadcrumbs = '
  • ' . $lastSearch . '
  • '; } else { $this->layout()->breadcrumbs = '
  • ' . $this->transEsc('Collections') . '
  • '; } $this->layout()->breadcrumbs .= '
  • ' . $this->recordLinker()->getBreadcrumbHtml($this->driver) . '
  • '; // Set up search box: $this->layout()->searchbox = $this->context($this)->renderInContext( 'search/searchbox.phtml', [ 'ignoreHiddenFiltersInRequest' => true, ] ); ?> scrollData) && ($this->scrollData['previousRecord'] || $this->scrollData['nextRecord'])): ?> render('record/prev-next.phtml'); ?> record($this->driver)->getToolbar()?>
    class="layoutClass('mainbody') ?> solo"> flashmessages()?> record($this->driver)->getCollectionMetadata()?> tabs) > 0): ?>
    loadInitialTabWithAjax || !isset($activeTabObj) || !$activeTabObj->supportsAjax()): ?>
    record($this->driver)->getTab($activeTabObj) : '' ?>
    driver->supportsCoinsOpenURL() ? '' : ''?>
    inlineScript(\Laminas\View\Helper\HeadScript::SCRIPT, '$(document).ready(recordDocReady);', 'SET'); ?>