From 70090ae90b6ed405dcc18c0551c5ad4f947629fd Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Wed, 15 Jul 2015 15:21:04 -0400 Subject: [PATCH] Appropriate tag replacement. --- .../templates/Recommend/AuthorInfo.phtml | 2 +- themes/bootstrap3/templates/admin/home.phtml | 2 +- .../bootstrap3/templates/devtools/language.phtml | 2 +- themes/bootstrap3/templates/myresearch/login.phtml | 2 +- .../bootstrap3/templates/myresearch/mylist.phtml | 2 +- themes/bootstrap3/templates/oai/home.phtml | 14 +++++++------- themes/bootstrap3/templates/record/hold.phtml | 2 +- .../templates/record/storageretrievalrequest.phtml | 2 +- .../templates/search/advanced/layout.phtml | 2 +- themes/bootstrap3/templates/search/home.phtml | 4 ++-- themes/bootstrap3/templates/search/results.phtml | 2 +- 11 files changed, 18 insertions(+), 18 deletions(-) diff --git a/themes/bootstrap3/templates/Recommend/AuthorInfo.phtml b/themes/bootstrap3/templates/Recommend/AuthorInfo.phtml index f46bd586f57..e684ffb9e29 100644 --- a/themes/bootstrap3/templates/Recommend/AuthorInfo.phtml +++ b/themes/bootstrap3/templates/Recommend/AuthorInfo.phtml @@ -1,7 +1,7 @@ <? $this->info = $this->recommend->getAuthorInfo() ?> <? if (!(empty($this->info['description']) || empty($this->info))): ?> <div class="well clearfix"> - <p class="lead"><?=$this->info['name'] ?></p> + <h2><?=$this->info['name'] ?></h2> <? if (isset($this->info['image'])): ?> <img class="pull-left" src="<?=$this->info['image'] ?>" alt="<?=$this->escapeHtmlAttr($this->info['altimage']) ?>" width="150px"/> diff --git a/themes/bootstrap3/templates/admin/home.phtml b/themes/bootstrap3/templates/admin/home.phtml index 797a6b19729..ff6c1da76d0 100644 --- a/themes/bootstrap3/templates/admin/home.phtml +++ b/themes/bootstrap3/templates/admin/home.phtml @@ -12,7 +12,7 @@ <div class="row"> <div class="<?=$this->layoutClass('mainbody')?>"> - <p class="lead"><?=$this->transEsc('VuFind Administration')?></p> + <h2><?=$this->transEsc('VuFind Administration')?></h2> <? $cores = is_object($this->xml) ? $this->xml->xpath('/response/lst[@name="status"]/lst') : array(); ?> <? foreach ($cores as $core): ?> <? $coreName = (string)$core['name']; ?> diff --git a/themes/bootstrap3/templates/devtools/language.phtml b/themes/bootstrap3/templates/devtools/language.phtml index d3eea3ffebc..b20976836bf 100644 --- a/themes/bootstrap3/templates/devtools/language.phtml +++ b/themes/bootstrap3/templates/devtools/language.phtml @@ -4,7 +4,7 @@ <h2>Comparing Languages Against <?=$this->escapeHtml($mainName)?></h2> -<p class="lead">Summary</p> +<h3>Summary</h3> <table class="table table-striped"> <tr><th>Language</th><th>Missing Lines</th><th>Extra Lines</th><th>Percent Translated</th><th>Extra Help Files</th></tr> diff --git a/themes/bootstrap3/templates/myresearch/login.phtml b/themes/bootstrap3/templates/myresearch/login.phtml index 65f7c0a30e0..71a66d04973 100644 --- a/themes/bootstrap3/templates/myresearch/login.phtml +++ b/themes/bootstrap3/templates/myresearch/login.phtml @@ -21,7 +21,7 @@ </div> <? endif; ?> -<p class="lead lightbox-header"><?=$this->transEsc('Login')?></p> +<h2 class="lightbox-header"><?=$this->transEsc('Login')?></h2> <?=$this->flashmessages()?> <? if ($hideLogin): ?> diff --git a/themes/bootstrap3/templates/myresearch/mylist.phtml b/themes/bootstrap3/templates/myresearch/mylist.phtml index c86ad8533c0..8b560ec2e08 100644 --- a/themes/bootstrap3/templates/myresearch/mylist.phtml +++ b/themes/bootstrap3/templates/myresearch/mylist.phtml @@ -24,7 +24,7 @@ <div class="row"> <div class="<?=$this->layoutClass('mainbody')?>"> <div class="clearfix hidden-print"> - <p class="lead pull-left"><?=$list ? $this->escapeHtml($list->title) : $this->transEsc("Your Favorites")?></p> + <h2 class="pull-left"><?=$list ? $this->escapeHtml($list->title) : $this->transEsc("Your Favorites")?></h2> <div class="pull-right"> <? if (isset($list)): ?> <? if ($list->editAllowed($account->isLoggedIn())): ?> diff --git a/themes/bootstrap3/templates/oai/home.phtml b/themes/bootstrap3/templates/oai/home.phtml index ab9061d5bc4..3f56566f81f 100644 --- a/themes/bootstrap3/templates/oai/home.phtml +++ b/themes/bootstrap3/templates/oai/home.phtml @@ -12,7 +12,7 @@ </p> <hr/> <a name="Identify"></a> - <p class="lead">Identify</p> + <h2>Identify</h2> <form method="get" action="<?=$baseUrl?>"> <div class="row"> <div class="col-sm-8"> @@ -27,7 +27,7 @@ </form> <hr/> <a name="ListIdentifiers"></a> - <p class="lead">ListIdentifiers</p> + <h2>ListIdentifiers</h2> <form class="form-horizontal" method="get" action="<?=$baseUrl?>"> <div class="row"> <div class="col-sm-8"> @@ -71,7 +71,7 @@ </form> <hr/> <a name="ListMetadataFormats"></a> - <p class="lead">ListMetadataFormats</p> + <h2>ListMetadataFormats</h2> <form class="form-horizontal" method="get" action="<?=$baseUrl?>"> <div class="row"> <div class="col-sm-8"> @@ -91,7 +91,7 @@ </form> <hr/> <a name="ListSets"></a> - <p class="lead">ListSets</p> + <h2>ListSets</h2> <form class="form-horizontal" method="get" action="<?=$baseUrl?>"> <div class="row"> <div class="col-sm-8"> @@ -117,7 +117,7 @@ </form> <hr/> <a name="ListRecords"></a> - <p class="lead">ListRecords</p> + <h2>ListRecords</h2> <form class="form-horizontal" method="get" action="<?=$baseUrl?>"> <div class="row"> <div class="col-sm-8"> @@ -161,7 +161,7 @@ </form> <hr/> <a name="GetRecord"></a> - <p class="lead">GetRecord</p> + <h2>GetRecord</h2> <form class="form-horizontal" method="get" action="<?=$baseUrl?>"> <div class="row"> <div class="col-sm-8"> @@ -187,7 +187,7 @@ </form> </div> <div class="col-sm-3"> - <p class="lead"><?=$this->transEsc('Available Functionality') ?>:</p> + <h2><?=$this->transEsc('Available Functionality') ?>:</h2> <div class="list-group"> <a href="#Identify" class="list-group-item active">Identify</a> <a href="#ListIdentifiers" class="list-group-item">ListIdentifiers</a> diff --git a/themes/bootstrap3/templates/record/hold.phtml b/themes/bootstrap3/templates/record/hold.phtml index 77071b54708..8706b196d42 100644 --- a/themes/bootstrap3/templates/record/hold.phtml +++ b/themes/bootstrap3/templates/record/hold.phtml @@ -7,7 +7,7 @@ . '<li>' . $this->recordLink()->getBreadcrumb($this->driver) . '</li> ' . '<li class="active">' . $this->transEsc('request_place_text') . '</li>'; ?> -<p class="lead"><?=$this->transEsc('request_place_text')?></p> +<h2><?=$this->transEsc('request_place_text')?></h2> <? if ($this->helpText): ?> <p class="helptext"><?=$this->helpText?></p> <? endif; ?> diff --git a/themes/bootstrap3/templates/record/storageretrievalrequest.phtml b/themes/bootstrap3/templates/record/storageretrievalrequest.phtml index 1d273bd6082..ee652a58e3a 100644 --- a/themes/bootstrap3/templates/record/storageretrievalrequest.phtml +++ b/themes/bootstrap3/templates/record/storageretrievalrequest.phtml @@ -7,7 +7,7 @@ . '<li>' . $this->recordLink()->getBreadcrumb($this->driver) . '</li>' . '<li class="active">' . $this->transEsc('storage_retrieval_request_place_text') . '</li>'; ?> -<p class="lead"><?=$this->transEsc('storage_retrieval_request_place_text')?></p> +<h2><?=$this->transEsc('storage_retrieval_request_place_text')?></h2> <? if ($this->helpText): ?> <p class="helptext"><?=$this->helpText?></p> <? endif; ?> diff --git a/themes/bootstrap3/templates/search/advanced/layout.phtml b/themes/bootstrap3/templates/search/advanced/layout.phtml index 563c1a1ab17..15cda3b2829 100644 --- a/themes/bootstrap3/templates/search/advanced/layout.phtml +++ b/themes/bootstrap3/templates/search/advanced/layout.phtml @@ -65,7 +65,7 @@ <div class="<?=$this->layoutClass('mainbody')?>"> <input type="hidden" name="sort" value="relevance"> <div class="clearfix"> - <p class="lead pull-left"><?=$this->transEsc('Advanced Search')?></p> + <h2 class="pull-left"><?=$this->transEsc('Advanced Search')?></h2> <div id="groupJoin" class="form-inline pull-right"> <label for="groupJoinOptions"><?=$this->transEsc("search_match")?>:</label> <select id="groupJoinOptions" name="join" class="form-control"> diff --git a/themes/bootstrap3/templates/search/home.phtml b/themes/bootstrap3/templates/search/home.phtml index 2d80a179dc2..d5051e75e80 100644 --- a/themes/bootstrap3/templates/search/home.phtml +++ b/themes/bootstrap3/templates/search/home.phtml @@ -50,7 +50,7 @@ JS; ?> <?=$this->inlineScript(\Zend\View\Helper\HeadScript::SCRIPT, $script, 'SET'); ?> <div class="facet <?=$field=='callnumber-first' ? 'col-sm-6' : 'col-sm-3' ?>"> - <p class="lead"><?=$this->transEsc('home_browse') . ' ' . $this->transEsc($details['label'])?></p> + <h2><?=$this->transEsc('home_browse') . ' ' . $this->transEsc($details['label'])?></h2> <div id="facet_<?=$this->escapeHtml($field)?>" class="jstree-facet" data-facet="<?=$this->escapeHtml($field)?>" data-path="<?=$this->url($basicSearch)?>" @@ -64,7 +64,7 @@ JS; <? endif; ?> <? $sortedList = $this->sortFacetList($this->results, $field, $details['list'], $basicSearch); ?> <div class="<?=$field=='callnumber-first' ? 'col-sm-6' : 'col-sm-3' ?>"> - <p class="lead"><?=$this->transEsc('home_browse') . ' ' . $this->transEsc($details['label'])?></p> + <h2><?=$this->transEsc('home_browse') . ' ' . $this->transEsc($details['label'])?></h2> <div class="row"> <ul class="list-unstyled <?=$field == "callnumber-first" ? 'col-sm-6' : 'col-sm-12' ?>"> <? /* Special case: two columns for LC call numbers... */ ?> diff --git a/themes/bootstrap3/templates/search/results.phtml b/themes/bootstrap3/templates/search/results.phtml index ceefb15f49b..ed3dc1d2454 100644 --- a/themes/bootstrap3/templates/search/results.phtml +++ b/themes/bootstrap3/templates/search/results.phtml @@ -65,7 +65,7 @@ <?=$this->transEsc('query time')?>: <?=$this->localizedNumber($qtime, 2).$this->transEsc('seconds_abbrev')?> <? endif; ?> <? else: ?> - <p class="lead"><?=$this->transEsc('nohit_heading')?></p> + <h2><?=$this->transEsc('nohit_heading')?></h2> <? endif; ?> </div> -- GitLab