diff --git a/local/languages/de.ini b/local/languages/de.ini index 19ccf522784f5622b8dd5c580198d3c146c4277c..010e598d1e0153b7da8edd33708ba1c6edde5083 100644 --- a/local/languages/de.ini +++ b/local/languages/de.ini @@ -2027,6 +2027,7 @@ skip-to = "Zu" Search type = "Suchtyp" License = "Lizenz" +LicenseIcon = "Lizenz Icon" fine_date_short = "Gebühr fällig" diff --git a/local/languages/en.ini b/local/languages/en.ini index cd1d79d9ad79a15933f21aa95c336c5f5078c468..9b45a6c57f73f9c0eff1980068a72774b04a912c 100644 --- a/local/languages/en.ini +++ b/local/languages/en.ini @@ -2120,6 +2120,7 @@ skip-to = "Skip to " Skip to facet = "Skip to your selected search filter '%%filter_name%%'" License = "License" +LicenseIcon = "License icon" fine_date_short = "Fine Date" diff --git a/themes/finc/templates/RecordDriver/SolrDico/data-license.phtml b/themes/finc/templates/RecordDriver/SolrDico/data-license.phtml index ed4bbae530e134b5eae9cf18565c6f5122b0be1b..43009e3464fdaed01dc6515a18d8736afd95c603 100644 --- a/themes/finc/templates/RecordDriver/SolrDico/data-license.phtml +++ b/themes/finc/templates/RecordDriver/SolrDico/data-license.phtml @@ -4,7 +4,8 @@ <?php ob_start() ?> <?=$label ?> <?php if (isset($data['icon'])): ?> - <img class="collection-data collection-licence-image" src="<?=$data['icon']?>"/> + <?php /* finc: add alt-Tag #19697 */ ?> + <img class="collection-data collection-licence-image" src="<?=$data['icon']?>" alt="<?=$this->transEsc('LicenseIcon')?>"/> <?php endif; ?> <?php $label = ob_get_contents(); ob_end_clean(); diff --git a/themes/finc/templates/RecordTab/collectionlist.phtml b/themes/finc/templates/RecordTab/collectionlist.phtml index b44ba7c72df25decde5f1f7402a69fc8d8f36375..94cc9f912fa0f19bb5547bf4b4dd35b77b32cbe2 100644 --- a/themes/finc/templates/RecordTab/collectionlist.phtml +++ b/themes/finc/templates/RecordTab/collectionlist.phtml @@ -96,11 +96,12 @@ <?php endif; ?> */?> </div> - <form class="form-inline" method="post" name="bulkActionForm" action="<?=$this->url('cart-searchresultsbulk')?>"> + <?php /* de_15: do NOT render search/list-list into the <form>-element, it is causing W3C errors #19697 */ ?> + <?php /* <form class="form-inline" method="post" name="bulkActionForm" action="<?=$this->url('cart-searchresultsbulk')?>"> */ ?> <?=$this->context($this)->renderInContext('search/bulk-action-buttons.phtml', $searchDetails + ['idPrefix' => ''])?> <?=$this->render('search/list-' . $results->getParams()->getView() . '.phtml', $searchDetails)?> <?=$this->paginationControl($results->getPaginator(), 'Sliding', 'search/pagination.phtml', ['results' => $results])?> - </form> + <?php /* </form> */ ?> <?php else: ?> <?php /* finc: change h4 to h3 */ ?> <h3><?=$this->transEsc($params->getDisplayQuery() || ($filterCount ?? 0) > 0 ? 'nohit_heading' : 'collection_empty')?></h3> diff --git a/themes/finc/templates/myresearch/acquisition.phtml b/themes/finc/templates/myresearch/acquisition.phtml index 3c541783a3c94efcd3b711423c7cfeeb72d742b7..00c846d3b8b7d0f65f429632c7c9f03b60321235 100644 --- a/themes/finc/templates/myresearch/acquisition.phtml +++ b/themes/finc/templates/myresearch/acquisition.phtml @@ -14,7 +14,7 @@ $this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . <h1><?=$this->transEsc('PDA::pda_form_subtitle')?></h1> <?=$this->flashmessages()?> - <form method="post" action="" name="acquisitionForm"> + <form method="post" name="acquisitionForm"> <h3><?=$this->transEsc('PDA::pda_form_suggestions_limit')?></h3> <div class="form-group"> @@ -30,13 +30,13 @@ $this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . </div> <div class="form-group"> - <label class="control-label" for="acquistion_reasons"><?=$this->transEsc('PDA::pda_form_statement_label')?><span class="required">*</span></label> - <textarea id="acquisition_reasons" type="text" cols="50" rows="5" name="reasons" class="form-control"><?=(isset($acquisitionStatement) && !empty($acquisitionStatement)) ? $acquisitionStatement : ''?></textarea> + <label class="control-label" for="acquisition_reasons"><?=$this->transEsc('PDA::pda_form_statement_label')?><span class="required">*</span></label> + <textarea id="acquisition_reasons" cols="50" rows="5" name="reasons" class="form-control"><?=(isset($acquisitionStatement) && !empty($acquisitionStatement)) ? $acquisitionStatement : ''?></textarea> </div> <div class="form-group"> - <label class="control-label" for="acquistion_proposal"><?=$this->transEsc('PDA::pda_form_proposal_label')?><span class="required">*</span></label> - <textarea id="acquisition_proposal" class="form-control" type="text" cols="50" rows="5" name="proposal"><?=(isset($acquisitionProposal) && !empty($acquisitionProposal)) ? $acquisitionProposal : ''?></textarea> + <label class="control-label" for="acquisition_proposal"><?=$this->transEsc('PDA::pda_form_proposal_label')?><span class="required">*</span></label> + <textarea id="acquisition_proposal" class="form-control" cols="50" rows="5" name="proposal"><?=(isset($acquisitionProposal) && !empty($acquisitionProposal)) ? $acquisitionProposal : ''?></textarea> </div> <div class="form-group">