From ee29c9b525add5b67c814abbca30031223e9e151 Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Mon, 27 Apr 2020 15:48:04 -0400 Subject: [PATCH] Fix headings order. --- themes/bootstrap3/templates/Recommend/SideFacets.phtml | 2 +- .../bootstrap3/templates/Recommend/SideFacetsDeferred.phtml | 2 +- themes/bootstrap3/templates/footer.phtml | 6 +++--- themes/bootstrap3/templates/search/advanced/layout.phtml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/themes/bootstrap3/templates/Recommend/SideFacets.phtml b/themes/bootstrap3/templates/Recommend/SideFacets.phtml index 0b0821e039c..9e3e5fdad05 100644 --- a/themes/bootstrap3/templates/Recommend/SideFacets.phtml +++ b/themes/bootstrap3/templates/Recommend/SideFacets.phtml @@ -14,7 +14,7 @@ ?> <button class="close-offcanvas btn btn-link" data-toggle="offcanvas"><?=$this->transEsc('navigate_back') ?></button> <?php if ($results->getResultTotal() > 0): ?> - <h4><?=$this->transEsc(isset($this->overrideSideFacetCaption) ? $this->overrideSideFacetCaption : 'Narrow Search')?></h4> + <h2><?=$this->transEsc(isset($this->overrideSideFacetCaption) ? $this->overrideSideFacetCaption : 'Narrow Search')?></h2> <?php endif; ?> <?php $checkboxFilters = $results->getParams()->getCheckboxFacets(); ?> <?php $checkboxesShown = false; ?> diff --git a/themes/bootstrap3/templates/Recommend/SideFacetsDeferred.phtml b/themes/bootstrap3/templates/Recommend/SideFacetsDeferred.phtml index f155fc42d2c..4e82bd5a93c 100644 --- a/themes/bootstrap3/templates/Recommend/SideFacetsDeferred.phtml +++ b/themes/bootstrap3/templates/Recommend/SideFacetsDeferred.phtml @@ -15,7 +15,7 @@ } ?> <?php if ($results->getResultTotal() > 0): ?> - <h4><?=$this->transEsc(isset($this->overrideSideFacetCaption) ? $this->overrideSideFacetCaption : 'Narrow Search')?></h4> + <h2><?=$this->transEsc(isset($this->overrideSideFacetCaption) ? $this->overrideSideFacetCaption : 'Narrow Search')?></h2> <div class="side-facets-container-ajax" data-search-class-id="<?=$this->escapeHtmlAttr($this->searchClassId) ?>" data-location="<?=$this->escapeHtmlAttr($this->location) ?>" data-config-index="<?=$this->escapeHtmlAttr($this->configIndex) ?>"> <?php endif; ?> <?php $checkboxFilters = $results->getParams()->getCheckboxFacets(); ?> diff --git a/themes/bootstrap3/templates/footer.phtml b/themes/bootstrap3/templates/footer.phtml index dcd04d06b06..2604172f5de 100644 --- a/themes/bootstrap3/templates/footer.phtml +++ b/themes/bootstrap3/templates/footer.phtml @@ -1,14 +1,14 @@ <footer class="hidden-print"> <div class="footer-container"> <div class="footer-column"> - <p><strong><?=$this->transEsc('Search Options')?></strong></p> + <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"> - <p><strong><?=$this->transEsc('Find More')?></strong></p> + <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('alphabrowse-home')?>"><?=$this->transEsc('Browse Alphabetically')?></a></li> @@ -18,7 +18,7 @@ </ul> </div> <div class="footer-column"> - <p><strong><?=$this->transEsc('Need Help?')?></strong></p> + <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> diff --git a/themes/bootstrap3/templates/search/advanced/layout.phtml b/themes/bootstrap3/templates/search/advanced/layout.phtml index 06cd9f477ba..7cae7767daf 100644 --- a/themes/bootstrap3/templates/search/advanced/layout.phtml +++ b/themes/bootstrap3/templates/search/advanced/layout.phtml @@ -158,7 +158,7 @@ <input type="hidden" name="dfApplied" value="1" /> <?php endif ?> <?php if (!empty($searchFilters)): ?> - <h4><?=$this->transEsc("adv_search_filters")?></h4> + <h2><?=$this->transEsc("adv_search_filters")?></h2> <div class="facet-group"> <label class="checkbox"> <input type="checkbox" checked="checked" class="checkbox-select-all"/> -- GitLab