-
[% ELSE %]
-
@@ -, +, @@ - Change the library with "Set library" from - The menu in the top navigation bar - The circulation start page - Verify the help link on page leads to the correct section in the manual - Read the code... and verify all occurences have been caught --- Koha/Manual.pm | 2 +- circ/branchtransfers.pl | 2 +- circ/{selectbranchprinter.pl => set-library.pl} | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/includes/circ-nav.inc | 2 +- koha-tmpl/intranet-tmpl/prog/en/includes/header.inc | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-errors.inc | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt | 2 +- .../prog/en/modules/circ/{selectbranchprinter.tt => set-library.tt} | 6 +++--- 8 files changed, 13 insertions(+), 13 deletions(-) rename circ/{selectbranchprinter.pl => set-library.pl} (95%) rename koha-tmpl/intranet-tmpl/prog/en/modules/circ/{selectbranchprinter.tt => set-library.tt} (94%) --- a/Koha/Manual.pm +++ a/Koha/Manual.pm @@ -123,7 +123,7 @@ our $mapping = { 'circ/renew' => '/circulation.html#renewing', 'circ/reserveratios' => '/circulation.html#hold-ratios', 'circ/returns' => '/circulation.html#check-in-returning', - 'circ/selectbranchprinter' => '/circulation.html#set-library', + 'circ/set-library' => '/circulation.html#set-library', 'circ/transferstoreceive' => '/circulation.html#transfers-to-receive', 'circ/view_holdsqueue' => '/circulation.html#holds-queue', 'circ/waitingreserves' => '/circulation.html#holds-awaiting-pickup', --- a/circ/branchtransfers.pl +++ a/circ/branchtransfers.pl @@ -47,7 +47,7 @@ if (!C4::Context->userenv){ $session = get_session($sessionID) if $sessionID; if (!$session){ # no branch set we can't transfer - print $query->redirect("/cgi-bin/koha/circ/selectbranchprinter.pl"); + print $query->redirect("/cgi-bin/koha/circ/set-library.pl"); exit; } } --- a/circ/selectbranchprinter.pl +++ a/circ/selectbranchprinter.pl @@ -30,7 +30,7 @@ use Koha::Libraries; my $query = CGI->new(); my ( $template, $borrowernumber, $cookie, $flags ) = get_template_and_user({ - template_name => "circ/selectbranchprinter.tt", + template_name => "circ/set-library.tt", query => $query, type => "intranet", debug => 1, @@ -77,7 +77,7 @@ foreach ($query->param()) { } my $referer = $query->param('oldreferer') || $ENV{HTTP_REFERER}; -$referer =~ /selectbranchprinter\.pl/ and undef $referer; # avoid sending them back to this same page. +$referer =~ /set-library\.pl/ and undef $referer; # avoid sending them back to this same page. if (scalar @updated and not scalar @recycle_loop) { # we updated something, and there were no extra params to POST: quick redirect --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-nav.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-nav.inc @@ -15,7 +15,7 @@