From 3eb6aa57b201d4b46aea0607cafda1298f32ab85 Mon Sep 17 00:00:00 2001 From: Gregor Gawol <gawol@ub.uni-leipzig.de> Date: Thu, 2 Sep 2021 13:40:41 +0200 Subject: [PATCH] refs #19621 [finc] extend head title with library name --- themes/finc/templates/Auth/AbstractBase/resetpassword.phtml | 2 +- themes/finc/templates/RecordTab/acquisitionpda.phtml | 1 + themes/finc/templates/RecordTab/description.phtml | 2 +- themes/finc/templates/RecordTab/descriptionlido.phtml | 2 +- themes/finc/templates/RecordTab/hierarchytree.phtml | 2 +- themes/finc/templates/RecordTab/holdingsils.phtml | 2 +- themes/finc/templates/RecordTab/serviceebl.phtml | 2 +- themes/finc/templates/RecordTab/staffviewai.phtml | 2 +- themes/finc/templates/RecordTab/staffviewarray.phtml | 2 +- themes/finc/templates/RecordTab/staffviewmarc.phtml | 2 +- themes/finc/templates/RecordTab/topics.phtml | 2 +- themes/finc/templates/admin/home.phtml | 2 +- themes/finc/templates/alphabrowse/home.phtml | 2 +- themes/finc/templates/amsl/sources-list.phtml | 2 +- themes/finc/templates/browse/home.phtml | 2 +- themes/finc/templates/cart/cart.phtml | 2 +- themes/finc/templates/cart/email.phtml | 2 +- themes/finc/templates/cart/save.phtml | 2 +- themes/finc/templates/channels/home.phtml | 2 +- themes/finc/templates/documentdeliveryservice/home.phtml | 2 +- themes/finc/templates/librarycards/editcard.phtml | 2 +- themes/finc/templates/librarycards/home.phtml | 2 +- themes/finc/templates/myresearch/account.phtml | 2 +- themes/finc/templates/myresearch/acquisition.phtml | 2 +- themes/finc/templates/myresearch/cataloglogin.phtml | 2 +- themes/finc/templates/myresearch/checkedout.phtml | 2 +- themes/finc/templates/myresearch/edit.phtml | 2 +- themes/finc/templates/myresearch/editlist.phtml | 2 +- themes/finc/templates/myresearch/fines.phtml | 2 +- themes/finc/templates/myresearch/historicloans.phtml | 2 +- themes/finc/templates/myresearch/holds.phtml | 2 +- themes/finc/templates/myresearch/illrequests.phtml | 2 +- themes/finc/templates/myresearch/mylist.phtml | 2 +- themes/finc/templates/myresearch/newpassword.phtml | 2 +- themes/finc/templates/myresearch/profile.phtml | 2 +- themes/finc/templates/myresearch/storageretrievalrequests.phtml | 2 +- themes/finc/templates/search/advanced/layout.phtml | 2 +- themes/finc/templates/search/history.phtml | 2 +- themes/finc/templates/search/home.phtml | 2 +- themes/finc/templates/search/results.phtml | 2 +- 40 files changed, 40 insertions(+), 39 deletions(-) diff --git a/themes/finc/templates/Auth/AbstractBase/resetpassword.phtml b/themes/finc/templates/Auth/AbstractBase/resetpassword.phtml index ed63456d5f7..379fd2fbdd2 100644 --- a/themes/finc/templates/Auth/AbstractBase/resetpassword.phtml +++ b/themes/finc/templates/Auth/AbstractBase/resetpassword.phtml @@ -2,7 +2,7 @@ <?php /* compare with BS login templates in Auth during updates */ ?> <?php // Set page title. -$this->headTitle($this->translate('Reset Password')); +$this->headTitle($this->translate('Reset Password') . ' | ' . $this->translate("LibraryName")); ?> <h1><?=$this->transEsc('Reset Password')?></h1> <form method="post" name="resetPasswordForm" action="<?=$this->url('myresearch-resetpassword')?>"> diff --git a/themes/finc/templates/RecordTab/acquisitionpda.phtml b/themes/finc/templates/RecordTab/acquisitionpda.phtml index 91296ba15fa..ed7a386cde1 100644 --- a/themes/finc/templates/RecordTab/acquisitionpda.phtml +++ b/themes/finc/templates/RecordTab/acquisitionpda.phtml @@ -4,6 +4,7 @@ $this->headTitle( $this->translate('PDA::Acquisition') . ': ' . $this->driver->getBreadcrumb() + . ' | ' . $this->translate("LibraryName") ); // Get some variables $id = $this->driver->getUniqueId(); diff --git a/themes/finc/templates/RecordTab/description.phtml b/themes/finc/templates/RecordTab/description.phtml index 0e39ff89ba9..9978227ede0 100644 --- a/themes/finc/templates/RecordTab/description.phtml +++ b/themes/finc/templates/RecordTab/description.phtml @@ -1,7 +1,7 @@ <!-- finc: recordtab - description --> <?php // Set page title. -$this->headTitle($this->translate('Description') . ': ' . $this->driver->getBreadcrumb()); +$this->headTitle($this->translate('Description') . ': ' . $this->driver->getBreadcrumb() . ' | ' . $this->translate("LibraryName")); $formatter = $this->recordDataFormatter(); $mainFields = $formatter->getData($driver, $formatter->getDefaults('description')); diff --git a/themes/finc/templates/RecordTab/descriptionlido.phtml b/themes/finc/templates/RecordTab/descriptionlido.phtml index 939b171f95e..221d9845697 100644 --- a/themes/finc/templates/RecordTab/descriptionlido.phtml +++ b/themes/finc/templates/RecordTab/descriptionlido.phtml @@ -1,7 +1,7 @@ <!-- finc: recordtab - descriptionlido --> <?php // Set page title. -$this->headTitle($this->translate('Description') . ': ' . $this->driver->getBreadcrumb()); +$this->headTitle($this->translate('Description') . ': ' . $this->driver->getBreadcrumb() . ' | ' . $this->translate("LibraryName")); $formatter = $this->recordDataFormatter(); $mainFields = $formatter->getData($driver, $formatter->getDefaults('description-lido')); diff --git a/themes/finc/templates/RecordTab/hierarchytree.phtml b/themes/finc/templates/RecordTab/hierarchytree.phtml index 0c5f7f1879a..dfc402d7830 100644 --- a/themes/finc/templates/RecordTab/hierarchytree.phtml +++ b/themes/finc/templates/RecordTab/hierarchytree.phtml @@ -1,7 +1,7 @@ <!-- finc: record-tab - hierarchytree --> <?php // Set page title. - $this->headTitle($this->translate('hierarchy_tree') . ': ' . $this->driver->getBreadcrumb()); + $this->headTitle($this->translate('hierarchy_tree') . ': ' . $this->driver->getBreadcrumb() . ' | ' . $this->translate("LibraryName")); $hierarchyTreeList = $this->tab->getTreeList(); $activeTree = $this->tab->getActiveTree(); diff --git a/themes/finc/templates/RecordTab/holdingsils.phtml b/themes/finc/templates/RecordTab/holdingsils.phtml index d929e6b59b9..b78c5f34b09 100644 --- a/themes/finc/templates/RecordTab/holdingsils.phtml +++ b/themes/finc/templates/RecordTab/holdingsils.phtml @@ -26,7 +26,7 @@ } } // Set page title. - $this->headTitle($this->translate('Holdings') . ': ' . $this->driver->getBreadcrumb()); + $this->headTitle($this->translate('Holdings') . ': ' . $this->driver->getBreadcrumb() . ' | ' . $this->translate("LibraryName")); ?> <?php /* finc-specific: nxt line - #7841@56988450 - CK */ ?> diff --git a/themes/finc/templates/RecordTab/serviceebl.phtml b/themes/finc/templates/RecordTab/serviceebl.phtml index edb3e1171bc..5ef8e11a1e9 100644 --- a/themes/finc/templates/RecordTab/serviceebl.phtml +++ b/themes/finc/templates/RecordTab/serviceebl.phtml @@ -1,6 +1,6 @@ <?php // Set page title. -$this->headTitle($this->translate('EBL') . ': ' . $this->driver->getBreadcrumb()); +$this->headTitle($this->translate('EBL') . ': ' . $this->driver->getBreadcrumb() . ' | ' . $this->translate("LibraryName")); // Get EBL url $link = $this->tab->getLinkEBL(); diff --git a/themes/finc/templates/RecordTab/staffviewai.phtml b/themes/finc/templates/RecordTab/staffviewai.phtml index d38b62fdc2e..62a5748a6bf 100644 --- a/themes/finc/templates/RecordTab/staffviewai.phtml +++ b/themes/finc/templates/RecordTab/staffviewai.phtml @@ -1,7 +1,7 @@ <!-- finc: recordtab - staffviewai --> <?php // Set page title. -$this->headTitle($this->translate('Staff View') . ': ' . $this->driver->getBreadcrumb()); +$this->headTitle($this->translate('Staff View') . ': ' . $this->driver->getBreadcrumb() . ' | ' . $this->translate("LibraryName")); ?> <?php /* include responsive data table - CK */ ?> <table class="citation table table-striped table-resp-data"> diff --git a/themes/finc/templates/RecordTab/staffviewarray.phtml b/themes/finc/templates/RecordTab/staffviewarray.phtml index c046901cfae..73fac7db40f 100644 --- a/themes/finc/templates/RecordTab/staffviewarray.phtml +++ b/themes/finc/templates/RecordTab/staffviewarray.phtml @@ -1,7 +1,7 @@ <!-- finc: recordtab - staffviewarray --> <?php // Set page title. - $this->headTitle($this->translate('Staff View') . ': ' . $this->driver->getBreadcrumb()); + $this->headTitle($this->translate('Staff View') . ': ' . $this->driver->getBreadcrumb() . ' | ' . $this->translate("LibraryName")); ?> <?php /* include responsive data table - CK */ ?> <table class="citation table table-striped table-resp-data"> diff --git a/themes/finc/templates/RecordTab/staffviewmarc.phtml b/themes/finc/templates/RecordTab/staffviewmarc.phtml index ebd800bbd7d..19f2aa691b4 100644 --- a/themes/finc/templates/RecordTab/staffviewmarc.phtml +++ b/themes/finc/templates/RecordTab/staffviewmarc.phtml @@ -1,7 +1,7 @@ <!-- finc: recordtab - staffviewmarc --> <?php // Set page title. -$this->headTitle($this->translate('Staff View') . ': ' . $this->driver->getBreadcrumb()); +$this->headTitle($this->translate('Staff View') . ': ' . $this->driver->getBreadcrumb() . ' | ' . $this->translate("LibraryName")); ?> <?=\VuFind\XSLT\Processor::process('record-marc.xsl', $this->driver->getXML('marc21'))?> <?php /* the following introduced in 9934*/ ?> diff --git a/themes/finc/templates/RecordTab/topics.phtml b/themes/finc/templates/RecordTab/topics.phtml index 40d1f149f83..eac80af00c6 100644 --- a/themes/finc/templates/RecordTab/topics.phtml +++ b/themes/finc/templates/RecordTab/topics.phtml @@ -1,7 +1,7 @@ <!-- finc: recordtab - topics --> <?php // Set page title. -$this->headTitle($this->translate('Topics') . ': ' . $this->driver->getBreadcrumb()); +$this->headTitle($this->translate('Topics') . ': ' . $this->driver->getBreadcrumb() . ' | ' . $this->translate("LibraryName")); ?> <table class="table table-striped table-resp-data"> diff --git a/themes/finc/templates/admin/home.phtml b/themes/finc/templates/admin/home.phtml index 5e8aa62a4df..57ba0f03286 100644 --- a/themes/finc/templates/admin/home.phtml +++ b/themes/finc/templates/admin/home.phtml @@ -5,7 +5,7 @@ */ // Set page title. - $this->headTitle($this->translate('VuFind Administration - Home')); + $this->headTitle($this->translate('VuFind Administration - Home') . ' | ' . $this->translate("LibraryName")); // Set up map of core name => label $coreLabels = [ diff --git a/themes/finc/templates/alphabrowse/home.phtml b/themes/finc/templates/alphabrowse/home.phtml index 0e024ed7736..ccd0a1caca6 100644 --- a/themes/finc/templates/alphabrowse/home.phtml +++ b/themes/finc/templates/alphabrowse/home.phtml @@ -1,6 +1,6 @@ <!-- finc - templates - alphabrowse - home --> <?php - $this->headTitle($this->translate('Browse the Collection Alphabetically')); + $this->headTitle($this->translate('Browse the Collection Alphabetically') . ' | ' . $this->translate("LibraryName")); $this->layout()->breadcrumbs = '<a href="' . $this->url('alphabrowse-home') . '">' . $this->transEsc('Browse Alphabetically') . '</a>'; $baseQuery = ['source' => $this->source, 'from' => $this->from]; diff --git a/themes/finc/templates/amsl/sources-list.phtml b/themes/finc/templates/amsl/sources-list.phtml index 371f906684d..5946ef486e2 100644 --- a/themes/finc/templates/amsl/sources-list.phtml +++ b/themes/finc/templates/amsl/sources-list.phtml @@ -8,7 +8,7 @@ <!-- finc: amsl/sources-list - home --> <?php // Set up page title: -$this->headTitle($this->translate('List of available Sources')); +$this->headTitle($this->translate('List of available Sources') . ' | ' . $this->translate("LibraryName")); // Set up breadcrumbs: $this->layout()->breadcrumbs .= '</li> <li class="active">' . $this->transEsc('List of available Sources') . '</li>'; diff --git a/themes/finc/templates/browse/home.phtml b/themes/finc/templates/browse/home.phtml index d20402286c3..bac20ae20af 100644 --- a/themes/finc/templates/browse/home.phtml +++ b/themes/finc/templates/browse/home.phtml @@ -2,7 +2,7 @@ <?php /* copied from bootstrap3 - added h1 for sr-only - #17596 - HR */?> <?php - $this->headTitle($this->translate('Browse the Catalog')); + $this->headTitle($this->translate('Browse the Catalog') . ' | ' . $this->translate("LibraryName")); $this->layout()->breadcrumbs = '<a href="' . $this->url('browse-home') . '">' . $this->transEsc('Browse') . '</a>'; $BROWSE_BASE = $this->url('browse-' . strtolower($this->currentAction)); diff --git a/themes/finc/templates/cart/cart.phtml b/themes/finc/templates/cart/cart.phtml index 7ac208d9e77..53de8590ca3 100644 --- a/themes/finc/templates/cart/cart.phtml +++ b/themes/finc/templates/cart/cart.phtml @@ -1,7 +1,7 @@ <!-- finc: cart - cart --> <?php // Set page title. - $this->headTitle($this->translate('Book Bag')); + $this->headTitle($this->translate('Book Bag') . ' | ' . $this->translate("LibraryName")); // Set up breadcrumbs: $this->layout()->breadcrumbs = '<li>' . $this->searchMemory()->getLastSearchLink($this->transEsc('Search'), '', '</li> ') diff --git a/themes/finc/templates/cart/email.phtml b/themes/finc/templates/cart/email.phtml index 54d82cec86f..e4498df745d 100644 --- a/themes/finc/templates/cart/email.phtml +++ b/themes/finc/templates/cart/email.phtml @@ -3,7 +3,7 @@ <?php // Set page title. - $this->headTitle($this->translate('email_selected_favorites')); + $this->headTitle($this->translate('email_selected_favorites') . ' | ' . $this->translate("LibraryName")); // Set up breadcrumbs: $this->layout()->breadcrumbs = '<li>' . $this->searchMemory()->getLastSearchLink($this->transEsc('Search'), '', '</li> ') diff --git a/themes/finc/templates/cart/save.phtml b/themes/finc/templates/cart/save.phtml index 92183fe7ae6..dd40f5249f4 100644 --- a/themes/finc/templates/cart/save.phtml +++ b/themes/finc/templates/cart/save.phtml @@ -3,7 +3,7 @@ <?php // Set page title. - $this->headTitle($this->translate('bookbag_save_selected')); + $this->headTitle($this->translate('bookbag_save_selected') . ' | ' . $this->translate("LibraryName")); // Set up breadcrumbs: $this->layout()->breadcrumbs = '<li>' . $this->searchMemory()->getLastSearchLink($this->transEsc('Search'), '', '</li> ') . diff --git a/themes/finc/templates/channels/home.phtml b/themes/finc/templates/channels/home.phtml index 5bf072cc53b..5220503f936 100644 --- a/themes/finc/templates/channels/home.phtml +++ b/themes/finc/templates/channels/home.phtml @@ -3,7 +3,7 @@ <?php // Set up page title: - $this->headTitle($this->translate('Channels')); + $this->headTitle($this->translate('Channels') . ' | ' . $this->translate("LibraryName")); // Set up breadcrumbs: $this->layout()->breadcrumbs = '<li class="active">' . $this->transEsc('Channels') . '</li>'; diff --git a/themes/finc/templates/documentdeliveryservice/home.phtml b/themes/finc/templates/documentdeliveryservice/home.phtml index bf92244c324..7b19271a9f9 100644 --- a/themes/finc/templates/documentdeliveryservice/home.phtml +++ b/themes/finc/templates/documentdeliveryservice/home.phtml @@ -1,6 +1,6 @@ <?php // Set up page title: -$this->headTitle($this->translate('Delivery service for documents')); +$this->headTitle($this->translate('Delivery service for documents') . ' | ' . $this->translate("LibraryName")); ?> <?=($this->loadForm ? $this->render('documentdeliveryservice/form.phtml') : $this->flashmessages());?> \ No newline at end of file diff --git a/themes/finc/templates/librarycards/editcard.phtml b/themes/finc/templates/librarycards/editcard.phtml index 9a7926db76b..34c7edc473a 100644 --- a/themes/finc/templates/librarycards/editcard.phtml +++ b/themes/finc/templates/librarycards/editcard.phtml @@ -2,7 +2,7 @@ <?php // Set up page title: $pageTitle = empty($this->card->id) ? 'Add a Library Card' : "Edit Library Card"; - $this->headTitle($this->translate($pageTitle)); + $this->headTitle($this->translate($pageTitle) . ' | ' . $this->translate("LibraryName")); // Set up breadcrumbs: $this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a></li>' diff --git a/themes/finc/templates/librarycards/home.phtml b/themes/finc/templates/librarycards/home.phtml index 25338aa28e5..5ded3c3ad5a 100644 --- a/themes/finc/templates/librarycards/home.phtml +++ b/themes/finc/templates/librarycards/home.phtml @@ -1,7 +1,7 @@ <!-- finc: librarycards - home --> <?php // Set up page title: - $this->headTitle($this->translate('Library Cards')); + $this->headTitle($this->translate('Library Cards') . ' | ' . $this->translate("LibraryName")); // Set up breadcrumbs: $this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a></li> <li class="active">' . $this->transEsc('Library Cards') . '</li>'; diff --git a/themes/finc/templates/myresearch/account.phtml b/themes/finc/templates/myresearch/account.phtml index b1055a8c55b..93352dd3908 100644 --- a/themes/finc/templates/myresearch/account.phtml +++ b/themes/finc/templates/myresearch/account.phtml @@ -2,7 +2,7 @@ <?php // Set up page title: - $this->headTitle($this->translate('User Account')); + $this->headTitle($this->translate('User Account') . ' | ' . $this->translate("LibraryName")); // Set up breadcrumbs: $this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a></li> <li class="active">' . $this->transEsc('Account') . '</li>'; diff --git a/themes/finc/templates/myresearch/acquisition.phtml b/themes/finc/templates/myresearch/acquisition.phtml index 62d81badc6f..0d2140246d9 100644 --- a/themes/finc/templates/myresearch/acquisition.phtml +++ b/themes/finc/templates/myresearch/acquisition.phtml @@ -1,7 +1,7 @@ <!-- finc: myresearch - acquisition --> <?php // Set up page title: -$this->headTitle($this->translate('PDA::pda_form_title')); +$this->headTitle($this->translate('PDA::pda_form_title') . ' | ' . $this->translate("LibraryName")); // Set up breadcrumbs: $this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a></li> <li class="active">' . $this->transEsc('PDA::pda_form_title') . '</li>'; diff --git a/themes/finc/templates/myresearch/cataloglogin.phtml b/themes/finc/templates/myresearch/cataloglogin.phtml index f5d936fb60e..65a755ab2d3 100644 --- a/themes/finc/templates/myresearch/cataloglogin.phtml +++ b/themes/finc/templates/myresearch/cataloglogin.phtml @@ -1,6 +1,6 @@ <?php // Set up page title: - $this->headTitle($this->translate('Login')); + $this->headTitle($this->translate('Login') . ' | ' . $this->translate("LibraryName")); // Set up breadcrumbs: $this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a></li> <li class="active">' . $this->transEsc('Login') . '</li>'; diff --git a/themes/finc/templates/myresearch/checkedout.phtml b/themes/finc/templates/myresearch/checkedout.phtml index a6b6773c1a9..da91dd35e27 100644 --- a/themes/finc/templates/myresearch/checkedout.phtml +++ b/themes/finc/templates/myresearch/checkedout.phtml @@ -1,7 +1,7 @@ <!-- finc: myresearch - checkedout --> <?php // Set up page title: - $this->headTitle($this->translate('Checked Out Items')); + $this->headTitle($this->translate('Checked Out Items') . ' | ' . $this->translate("LibraryName")); // Set up breadcrumbs: $this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a></li> <li class="active">' . $this->transEsc('Checked Out Items') . '</li>'; diff --git a/themes/finc/templates/myresearch/edit.phtml b/themes/finc/templates/myresearch/edit.phtml index 0484ff434fb..71a923eaa55 100644 --- a/themes/finc/templates/myresearch/edit.phtml +++ b/themes/finc/templates/myresearch/edit.phtml @@ -3,7 +3,7 @@ <?php // Set up page title: - $this->headTitle($this->translate('Edit') . ' : ' . $this->driver->getBreadcrumb()); + $this->headTitle($this->translate('Edit') . ' : ' . $this->driver->getBreadcrumb() . ' | ' . $this->translate("LibraryName")); // Set up breadcrumbs: $this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a></li> <li class="active">' . $this->transEsc('Edit') . '</li>'; diff --git a/themes/finc/templates/myresearch/editlist.phtml b/themes/finc/templates/myresearch/editlist.phtml index 929bb53ca80..91994836d6b 100644 --- a/themes/finc/templates/myresearch/editlist.phtml +++ b/themes/finc/templates/myresearch/editlist.phtml @@ -4,7 +4,7 @@ <?php // Set up page title: $pageTitle = empty($this->list->id) ? 'Create a List' : "edit_list"; - $this->headTitle($this->translate($pageTitle)); + $this->headTitle($this->translate($pageTitle) . ' | ' . $this->translate("LibraryName")); // Set up breadcrumbs: $this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a></li>' diff --git a/themes/finc/templates/myresearch/fines.phtml b/themes/finc/templates/myresearch/fines.phtml index a4054ab251f..2762ecb0504 100644 --- a/themes/finc/templates/myresearch/fines.phtml +++ b/themes/finc/templates/myresearch/fines.phtml @@ -1,7 +1,7 @@ <!-- finc: myresearch - fines --> <?php // Set up page title: - $this->headTitle($this->translate('My Fines')); + $this->headTitle($this->translate('My Fines') . ' | ' . $this->translate("LibraryName")); // Set up breadcrumbs: $this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a></li> <li class="active">' . $this->transEsc('Fines') . '</li>'; diff --git a/themes/finc/templates/myresearch/historicloans.phtml b/themes/finc/templates/myresearch/historicloans.phtml index 44605abc8de..16cf3c34b27 100644 --- a/themes/finc/templates/myresearch/historicloans.phtml +++ b/themes/finc/templates/myresearch/historicloans.phtml @@ -1,7 +1,7 @@ <!-- finc: myresearch - historicloans --> <?php // Set up page title: - $this->headTitle($this->translate('Loan History')); + $this->headTitle($this->translate('Loan History') . ' | ' . $this->translate("LibraryName")); // Set up breadcrumbs: $this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a></li> <li class="active">' . $this->transEsc('Loan History') . '</li>'; diff --git a/themes/finc/templates/myresearch/holds.phtml b/themes/finc/templates/myresearch/holds.phtml index 6b584c7355c..7131cf6092d 100644 --- a/themes/finc/templates/myresearch/holds.phtml +++ b/themes/finc/templates/myresearch/holds.phtml @@ -1,7 +1,7 @@ <!-- finc: myresearch - holds --> <?php // Set up page title: - $this->headTitle($this->translate('My Holds')); + $this->headTitle($this->translate('My Holds') . ' | ' . $this->translate("LibraryName")); // Set up breadcrumbs: $this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a></li> <li class="active">' . $this->transEsc('My Holds') . '</li>'; diff --git a/themes/finc/templates/myresearch/illrequests.phtml b/themes/finc/templates/myresearch/illrequests.phtml index 6f87f860b07..27320ac4a5b 100644 --- a/themes/finc/templates/myresearch/illrequests.phtml +++ b/themes/finc/templates/myresearch/illrequests.phtml @@ -1,7 +1,7 @@ <!-- finc: myresearch - illrequests --> <?php // Set up page title: - $this->headTitle($this->translate('Interlibrary Loan Requests')); + $this->headTitle($this->translate('Interlibrary Loan Requests') . ' | ' . $this->translate("LibraryName")); // Set up breadcrumbs: $this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a></li>' diff --git a/themes/finc/templates/myresearch/mylist.phtml b/themes/finc/templates/myresearch/mylist.phtml index 6354ae6aa1c..f210befcf16 100644 --- a/themes/finc/templates/myresearch/mylist.phtml +++ b/themes/finc/templates/myresearch/mylist.phtml @@ -4,7 +4,7 @@ $list = $this->results->getListObject(); // Set up page title: -$this->headTitle(isset($list) ? $list->title : $this->translate('Favorites')); +$this->headTitle(isset($list) ? $list->title : $this->translate('Favorites') . ' | ' . $this->translate("LibraryName")); // Set up breadcrumbs: $currPage = isset($list) ? 'List' : 'Favorites'; diff --git a/themes/finc/templates/myresearch/newpassword.phtml b/themes/finc/templates/myresearch/newpassword.phtml index b2102e7315a..713a5234ad4 100644 --- a/themes/finc/templates/myresearch/newpassword.phtml +++ b/themes/finc/templates/myresearch/newpassword.phtml @@ -1,7 +1,7 @@ <!-- finc - templates - myresearch - newpassword --> <?php // Set up page title: - $this->headTitle($this->translate('Create New Password')); + $this->headTitle($this->translate('Create New Password') . ' | ' . $this->translate("LibraryName")); // Set up breadcrumbs: $this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a></li>' diff --git a/themes/finc/templates/myresearch/profile.phtml b/themes/finc/templates/myresearch/profile.phtml index 8360cd61d7b..e3ad22b6eee 100644 --- a/themes/finc/templates/myresearch/profile.phtml +++ b/themes/finc/templates/myresearch/profile.phtml @@ -1,7 +1,7 @@ <!-- finc: myresearch - profile --> <?php // Set up page title: - $this->headTitle($this->translate('My Profile')); + $this->headTitle($this->translate('My Profile') . ' | ' . $this->translate("LibraryName")); // Set up breadcrumbs: $this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a></li> <li class="active">' . $this->transEsc('Profile') . '</li>'; diff --git a/themes/finc/templates/myresearch/storageretrievalrequests.phtml b/themes/finc/templates/myresearch/storageretrievalrequests.phtml index a7ec9c25346..7b34bcd48b0 100644 --- a/themes/finc/templates/myresearch/storageretrievalrequests.phtml +++ b/themes/finc/templates/myresearch/storageretrievalrequests.phtml @@ -1,7 +1,7 @@ <!-- finc: myresearch - storageretrievalrequests --> <?php // Set up page title: - $this->headTitle($this->translate('Storage Retrieval Requests')); + $this->headTitle($this->translate('Storage Retrieval Requests') . ' | ' . $this->translate("LibraryName")); // Set up breadcrumbs: $this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a></li> <li class="active">' . $this->transEsc('Storage Retrieval Requests') . '</li>'; diff --git a/themes/finc/templates/search/advanced/layout.phtml b/themes/finc/templates/search/advanced/layout.phtml index 73abd574cfc..05624b555eb 100644 --- a/themes/finc/templates/search/advanced/layout.phtml +++ b/themes/finc/templates/search/advanced/layout.phtml @@ -1,7 +1,7 @@ <!-- finc: search - advanced - layout --> <?php // Set page title. -$this->headTitle($this->translate('Advanced Search')); +$this->headTitle($this->translate('Advanced Search') . ' | ' . $this->translate("LibraryName")); // Disable top search box -- this page has a special layout. $this->layout()->searchbox = false; diff --git a/themes/finc/templates/search/history.phtml b/themes/finc/templates/search/history.phtml index 04a7ee298e0..e5a71ac83b0 100644 --- a/themes/finc/templates/search/history.phtml +++ b/themes/finc/templates/search/history.phtml @@ -1,7 +1,7 @@ <!-- finc - templates - search - history --> <?php // Set page title. - $this->headTitle($this->translate('Search History')); + $this->headTitle($this->translate('Search History') . ' | ' . $this->translate("LibraryName")); $loginEnabled = is_object($account = $this->auth()->getManager()) && $account->loginEnabled(); diff --git a/themes/finc/templates/search/home.phtml b/themes/finc/templates/search/home.phtml index 4fc8d20045f..781d4415bfc 100644 --- a/themes/finc/templates/search/home.phtml +++ b/themes/finc/templates/search/home.phtml @@ -1,7 +1,7 @@ <!-- finc: search - home --> <?php // Set page title. - $this->headTitle($this->translate('Search Home')); + $this->headTitle($this->translate('Search Home') . ' | ' . $this->translate("LibraryName")); // finc: disable top search box here if you want the old look, see also below // $this->layout()->searchbox = false; diff --git a/themes/finc/templates/search/results.phtml b/themes/finc/templates/search/results.phtml index de9ade6fd08..57048aa1343 100644 --- a/themes/finc/templates/search/results.phtml +++ b/themes/finc/templates/search/results.phtml @@ -7,7 +7,7 @@ $lookfor = $this->results->getUrlQuery()->isQuerySuppressed() ? '' : $this->para if (isset($this->overrideTitle)) { $this->headTitle($this->overrideTitle); } else { - $this->headTitle($this->translate('Search Results') . (empty($lookfor) ? '' : " - {$lookfor}")); + $this->headTitle($this->translate('Search Results') . (empty($lookfor) ? '' : " - {$lookfor}") . ' | ' . $this->translate("LibraryName")); } // Set up search box: -- GitLab