diff --git a/themes/finc/templates/collection/view.phtml b/themes/finc/templates/collection/view.phtml index d3c8ca59a3b6a1dab51b22ac8b4a8f1af38e9d96..4b27b6afdaecfd4f8170cd6839aab0d7b4052ebf 100644 --- a/themes/finc/templates/collection/view.phtml +++ b/themes/finc/templates/collection/view.phtml @@ -58,7 +58,9 @@ <? if (count($this->tabs) > 0): ?> <a name="tabnav"></a> - <ul class="recordTabs tabs"><? /*<!-- DO NOT use standard data-tab option (<ul class="recordTabs tabs" data-tab>) here as it triggers Foundation's normal tab behaviour while Vufind only uses tab appearance! FIXME CK */ ?> + <div class="record-tabs"> + <ul class="recordTabs tabs"> + <? /*<!-- DO NOT use standard data-tab option (<ul class= ... data-tab>) here as it triggers Foundation's normal tab behaviour while Vufind only uses tab appearance! FIXME CK */ ?> <? foreach ($this->tabs as $tab => $obj): ?> <? // add current tab to breadcrumbs if applicable: $desc = $obj->getDescription(); @@ -84,7 +86,7 @@ <?=isset($activeTabObj) ? $this->record($this->driver)->getTab($activeTabObj) : '' ?> </div> </div> - + </div> <?=$this->driver->supportsCoinsOpenURL()?'<span class="Z3988" title="'.$this->escapeHtmlAttr($this->driver->getCoinsOpenURL()).'"></span>':''?> </div> diff --git a/themes/finc/templates/record/view.phtml b/themes/finc/templates/record/view.phtml index 947fcd2838ec5d5de3bba2d87ec7a2be94d8b6de..860be137b3a1c64073dd8ecd6d83af67bd1ef1af 100644 --- a/themes/finc/templates/record/view.phtml +++ b/themes/finc/templates/record/view.phtml @@ -52,7 +52,8 @@ <? if (count($this->tabs) > 0): ?> <a name="tabnav"></a> - <ul class="recordTabs tabs"><? /* DO NOT use standard data-tab option here as it triggers Foundation's normal tab behaviour while Vufind only uses tab appearance! FIXME CK */ ?> + <div class="record-tabs"> + <ul class="recordTabs tabs"><? /* DO NOT use standard data-tab option here as it triggers Foundation's normal tab behaviour while Vufind only uses tab appearance! FIXME CK */ ?> <? foreach ($this->tabs as $tab => $obj): ?> <? // add current tab to breadcrumbs if applicable: $desc = $obj->getDescription(); @@ -78,7 +79,7 @@ <?=isset($activeTabObj) ? $this->record($this->driver)->getTab($activeTabObj) : '' ?> </div> </div> - +</div> <?=$this->driver->supportsCoinsOpenURL()?'<span class="Z3988" title="'.$this->escapeHtmlAttr($this->driver->getCoinsOpenURL()).'"></span>':''?> </div> diff --git a/themes/foundation5/templates/collection/view.phtml b/themes/foundation5/templates/collection/view.phtml index 82f006ed9eb439ac9eaf98b07fc510a43905bb42..407134d9cfddd6be0d8facf6681fd9879cd4fd5b 100644 --- a/themes/foundation5/templates/collection/view.phtml +++ b/themes/foundation5/templates/collection/view.phtml @@ -58,7 +58,8 @@ $this->layout()->breadcrumbs .= '<li><a href="' . $this->url('collections-home') <? if (count($this->tabs) > 0): ?> <a name="tabnav"></a> - <ul class="record-tabs tabs"><? /*<!-- DO NOT use standard data-tab option (<ul class="recordTabs tabs" data-tab>) here as it triggers Foundation's normal tab behaviour while Vufind only uses tab appearance! FIXME CK */ ?> + <div class="record-tabs"> + <ul class="recordTabs tabs"><? /*<!-- DO NOT use standard data-tab option here as it triggers Foundation's normal tab behaviour while Vufind only uses tab appearance! FIXME CK */ ?> <? foreach ($this->tabs as $tab => $obj): ?> <? // add current tab to breadcrumbs if applicable: $desc = $obj->getDescription(); @@ -91,6 +92,7 @@ $this->layout()->breadcrumbs .= '<li><a href="' . $this->url('collections-home') </div> <? endif; ?> </div> + </div> <? endif; ?> <?=$this->driver->supportsCoinsOpenURL() ? '<span class="Z3988" title="' . $this->escapeHtmlAttr($this->driver->getCoinsOpenURL()) . '"></span>' : ''?> diff --git a/themes/foundation5/templates/record/view.phtml b/themes/foundation5/templates/record/view.phtml index 3ced91144747e7257cde2f42765ed71faa0c22d2..445379a7e29b32e0cc374289d7c2705e4a9ff964 100644 --- a/themes/foundation5/templates/record/view.phtml +++ b/themes/foundation5/templates/record/view.phtml @@ -61,7 +61,7 @@ $this->layout()->title = $this->driver->getShortTitle(); <? if (count($this->tabs) > 0): ?> <a name="tabnav"></a> <div class="record-tabs"> - <ul class="tabs"><? /* DO NOT use standard data-tab option here as it triggers Foundation's normal tab behaviour while Vufind only uses tab appearance! FIXME CK */ ?> + <ul class="recordTabs tabs"><? /* DO NOT use standard data-tab option here as it triggers Foundation's normal tab behaviour while Vufind only uses tab appearance! FIXME CK */ ?> <? foreach ($this->tabs as $tab => $obj): ?> <? // add current tab to breadcrumbs if applicable: $desc = $obj->getDescription();