@@ -, +, @@ - 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 ++-- .../intranet-tmpl/prog/en/includes/patroncards-errors.inc | 4 ++-- .../intranet-tmpl/prog/en/modules/circ/circulation-home.tt | 2 +- .../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 @@
  • Transfer
  • [% END %] [% IF ( AutoLocation ) %][% ELSE %][% IF ( IndependentBranches ) %][% ELSE %] -
  • Set library
  • +
  • Set library
  • [% END %][% END %] [% IF ( fast_cataloging ) %][% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
  • Fast cataloging
  • --- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc @@ -110,12 +110,12 @@ [% IF ( IndependentBranches ) %] [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
  • - Set library + Set library
  • [% END %] [% ELSE %]
  • - Set library + Set library
  • [% END %] [% IF EnableSearchHistory %] --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-errors.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-errors.inc @@ -32,7 +32,7 @@ [% ELSIF ( error == 202 ) %] An error has occurred. [% INCLUDE asksysadmin %] [% ELSIF ( error == 203 ) %] - A non-existent or invalid library code was supplied. Please verify that you have a library set. Set library + A non-existent or invalid library code was supplied. Please verify that you have a library set. Set library [% ELSIF ( error == 301 ) %] An error has occurred while attempting to upload the image file. [% INCLUDE asksysadmin %] [% ELSIF ( error == 302 ) %] @@ -44,7 +44,7 @@ [% ELSIF ( error == 401 ) %] An error has occurred and no items have been added to batch [% batch_id | html %]. [% INCLUDE asksysadmin %] [% ELSIF ( error == 402 ) %] - No items added because the library is not set. Please set your library before adding items to a batch. Set library + No items added because the library is not set. Please set your library before adding items to a batch. Set library [% ELSIF ( error == 403 ) %] An error has occurred and the item(s) was not removed from batch [% batch_id | html %]. [% INCLUDE asksysadmin %] [% ELSIF ( error == 404 ) %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt @@ -30,7 +30,7 @@ [% UNLESS IndependentBranches %]
  • - Set library + Set library
  • [% END %] [% IF ( fast_cataloging ) %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/selectbranchprinter.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/selectbranchprinter.tt @@ -7,14 +7,14 @@ .noshow {display: none;} - + [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %]
    @@ -53,7 +53,7 @@ Updated: