diff --git a/themes/finc/templates/footer.phtml b/themes/finc/templates/footer.phtml new file mode 100644 index 0000000000000000000000000000000000000000..1d10374d3bdb894f38d4ad241eeb6eae145e5fee --- /dev/null +++ b/themes/finc/templates/footer.phtml @@ -0,0 +1,46 @@ +<!-- finc: footer --> +<footer class="hidden-print"> + <div class="footer-container"> + <div class="footer-column"> + <h2><?=$this->transEsc('Search Options')?></h2> + <ul> + <li><a href="<?=$this->url('search-history')?>"><?=$this->transEsc('Search History')?></a></li> + <li><a href="<?=$this->url('search-advanced')?>"><?=$this->transEsc('Advanced Search')?></a></li> + </ul> + </div> + <div class="footer-column"> + <h2><?=$this->transEsc('Find More')?></h2> + <ul> + <li><a href="<?=$this->url('browse-home')?>"><?=$this->transEsc('Browse the Catalog')?></a></li> + <?php /* finc: activate, if necessary */ /* + <li><a href="<?=$this->url('alphabrowse-home')?>"><?=$this->transEsc('Browse Alphabetically')?></a></li> + */ ?> + <li><a href="<?=$this->url('channels-home')?>"><?=$this->transEsc('channel_explore')?></a></li> + <li><a href="<?=$this->url('search-reserves')?>"><?=$this->transEsc('Course Reserves')?></a></li> + <li><a href="<?=$this->url('search-newitem')?>"><?=$this->transEsc('New Items')?></a></li> + <?php /* finc-specific - CK */ ?> + <li><a href="<?=$this->url('myresearch-acquisition')?>"><?=$this->transEsc('Suggestions for acquisition')?></a></li> + </ul> + </div> + <div class="footer-column"> + <h2><?=$this->transEsc('Need Help?')?></h2> + <ul> + <li><a href="<?=$this->url('help-home')?>?topic=search&_=<?=time() ?>" data-lightbox class="help-link"><?=$this->transEsc('Search Tips')?></a></li> + <li><a href="<?=$this->url('content-page', ['page' => 'asklibrary']) ?>"><?=$this->transEsc('Ask a Librarian')?></a></li> + <li><a href="<?=$this->url('content-page', ['page' => 'faq']) ?>"><?=$this->transEsc('FAQs')?></a></li> + </ul> + </div> + </div> + <?php /* finc branding footer */ ?> + <hr> + <div class="footer-container poweredBy"> + <div class="footer-column"> + <span> + <?= $this->transEsc("Footer-Powered-By-Text") ?> + </span> + <?= $this->externalLink("https://vufind.org", '<img src="' . $this->imageLink('vufind_logo.png') . '" alt="' . $this->translate('vufind-logo_alt') . '" aria-hidden="true"/>', ['title' => $this->translate('vufind-logo_title')], true) ?> + <?= $this->externalLink("https://finc.info", '<img src="' . $this->imageLink('finc_logo.png') . '" alt="' . $this->translate('finc-logo_alt') . '" aria-hidden="true"/>', ['title' => $this->translate('finc-logo_title')], true) ?> + </div> + </div> +</footer> +<!-- finc: Footer - END --> diff --git a/themes/finc/templates/layout/layout.phtml b/themes/finc/templates/layout/layout.phtml index 697dc4496d258a0a84cbee8e69422e708221871a..8438e27dd6d2e1ac1c105999c8e30dc7d295413f 100644 --- a/themes/finc/templates/layout/layout.phtml +++ b/themes/finc/templates/layout/layout.phtml @@ -269,8 +269,6 @@ if (!isset($this->layout()->searchbox)) { </div> </div> -<?=$this->render('slots/footer-center.phtml')?> -<?=$this->render('slots/footer-bottom.phtml')?> <?=$this->render('footer.phtml')?> <!-- MODAL IN CASE WE NEED ONE --> diff --git a/themes/finc/templates/slots/footer-bottom.phtml b/themes/finc/templates/slots/footer-bottom.phtml deleted file mode 100644 index 4565c06a4680963196cd2e8b743f329ed068b4b3..0000000000000000000000000000000000000000 --- a/themes/finc/templates/slots/footer-bottom.phtml +++ /dev/null @@ -1,13 +0,0 @@ -<?php $this->slot('footer-bottom')->start(); ?> -<hr> -<div class="footer-container poweredBy"> - <div class="footer-column"> - <span> - <?= $this->transEsc("Footer-Powered-By-Text") ?> - </span> - <?= $this->externalLink("https://vufind.org", '<img src="' . $this->imageLink('vufind_logo.png') . '" alt="' . $this->translate('vufind-logo_alt') . '" aria-hidden="true"/>', ['title' => $this->translate('vufind-logo_title')], true) ?> - <?= $this->externalLink("https://finc.info", '<img src="' . $this->imageLink('finc_logo.png') . '" alt="' . $this->translate('finc-logo_alt') . '" aria-hidden="true"/>', ['title' => $this->translate('finc-logo_title')], true) ?> - </div> -</div> -<?php $this->layout()->poweredBy = $this->slot('footer-bottom')->end(); ?> - diff --git a/themes/finc/templates/slots/footer-center.phtml b/themes/finc/templates/slots/footer-center.phtml deleted file mode 100644 index 4c03d82c8118b76c23c1258747ca6983c90d1fee..0000000000000000000000000000000000000000 --- a/themes/finc/templates/slots/footer-center.phtml +++ /dev/null @@ -1,10 +0,0 @@ -<?php $this->slot('footer-center')->start(); ?> -<h2><?=$this->transEsc('Find More')?></h2> -<ul> - <li><a href="<?=$this->url('browse-home')?>"><?=$this->transEsc('Browse the Catalog')?></a></li> - <li><a href="<?=$this->url('channels-home')?>"><?=$this->transEsc('channel_explore')?></a></li> - <li><a href="<?=$this->url('search-reserves')?>"><?=$this->transEsc('Course Reserves')?></a></li> - <li><a href="<?=$this->url('search-newitem')?>"><?=$this->transEsc('New Items')?></a></li> - <li><a href="<?=$this->url('myresearch-acquisition')?>"><?=$this->transEsc('Suggestions for acquisition')?></a></li> -</ul> -<?php $this->slot('footer-center')->end(); ?>