Skip to content
Snippets Groups Projects
Commit 9fbbfb2f authored by Claas Kazzer's avatar Claas Kazzer Committed by André Lahmann
Browse files

refs #6748:

* changed tabs in view.phtml files
parent 5de5ee0c
No related merge requests found
...@@ -58,7 +58,9 @@ ...@@ -58,7 +58,9 @@
<? if (count($this->tabs) > 0): ?> <? if (count($this->tabs) > 0): ?>
<a name="tabnav"></a> <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): ?> <? foreach ($this->tabs as $tab => $obj): ?>
<? // add current tab to breadcrumbs if applicable: <? // add current tab to breadcrumbs if applicable:
$desc = $obj->getDescription(); $desc = $obj->getDescription();
...@@ -84,7 +86,7 @@ ...@@ -84,7 +86,7 @@
<?=isset($activeTabObj) ? $this->record($this->driver)->getTab($activeTabObj) : '' ?> <?=isset($activeTabObj) ? $this->record($this->driver)->getTab($activeTabObj) : '' ?>
</div> </div>
</div> </div>
</div>
<?=$this->driver->supportsCoinsOpenURL()?'<span class="Z3988" title="'.$this->escapeHtmlAttr($this->driver->getCoinsOpenURL()).'"></span>':''?> <?=$this->driver->supportsCoinsOpenURL()?'<span class="Z3988" title="'.$this->escapeHtmlAttr($this->driver->getCoinsOpenURL()).'"></span>':''?>
</div> </div>
......
...@@ -52,7 +52,8 @@ ...@@ -52,7 +52,8 @@
<? if (count($this->tabs) > 0): ?> <? if (count($this->tabs) > 0): ?>
<a name="tabnav"></a> <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): ?> <? foreach ($this->tabs as $tab => $obj): ?>
<? // add current tab to breadcrumbs if applicable: <? // add current tab to breadcrumbs if applicable:
$desc = $obj->getDescription(); $desc = $obj->getDescription();
...@@ -78,7 +79,7 @@ ...@@ -78,7 +79,7 @@
<?=isset($activeTabObj) ? $this->record($this->driver)->getTab($activeTabObj) : '' ?> <?=isset($activeTabObj) ? $this->record($this->driver)->getTab($activeTabObj) : '' ?>
</div> </div>
</div> </div>
</div>
<?=$this->driver->supportsCoinsOpenURL()?'<span class="Z3988" title="'.$this->escapeHtmlAttr($this->driver->getCoinsOpenURL()).'"></span>':''?> <?=$this->driver->supportsCoinsOpenURL()?'<span class="Z3988" title="'.$this->escapeHtmlAttr($this->driver->getCoinsOpenURL()).'"></span>':''?>
</div> </div>
......
...@@ -58,7 +58,8 @@ $this->layout()->breadcrumbs .= '<li><a href="' . $this->url('collections-home') ...@@ -58,7 +58,8 @@ $this->layout()->breadcrumbs .= '<li><a href="' . $this->url('collections-home')
<? if (count($this->tabs) > 0): ?> <? if (count($this->tabs) > 0): ?>
<a name="tabnav"></a> <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): ?> <? foreach ($this->tabs as $tab => $obj): ?>
<? // add current tab to breadcrumbs if applicable: <? // add current tab to breadcrumbs if applicable:
$desc = $obj->getDescription(); $desc = $obj->getDescription();
...@@ -91,6 +92,7 @@ $this->layout()->breadcrumbs .= '<li><a href="' . $this->url('collections-home') ...@@ -91,6 +92,7 @@ $this->layout()->breadcrumbs .= '<li><a href="' . $this->url('collections-home')
</div> </div>
<? endif; ?> <? endif; ?>
</div> </div>
</div>
<? endif; ?> <? endif; ?>
<?=$this->driver->supportsCoinsOpenURL() ? '<span class="Z3988" title="' . $this->escapeHtmlAttr($this->driver->getCoinsOpenURL()) . '"></span>' : ''?> <?=$this->driver->supportsCoinsOpenURL() ? '<span class="Z3988" title="' . $this->escapeHtmlAttr($this->driver->getCoinsOpenURL()) . '"></span>' : ''?>
......
...@@ -61,7 +61,7 @@ $this->layout()->title = $this->driver->getShortTitle(); ...@@ -61,7 +61,7 @@ $this->layout()->title = $this->driver->getShortTitle();
<? if (count($this->tabs) > 0): ?> <? if (count($this->tabs) > 0): ?>
<a name="tabnav"></a> <a name="tabnav"></a>
<div class="record-tabs"> <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): ?> <? foreach ($this->tabs as $tab => $obj): ?>
<? // add current tab to breadcrumbs if applicable: <? // add current tab to breadcrumbs if applicable:
$desc = $obj->getDescription(); $desc = $obj->getDescription();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment