Merge remote-tracking branch 'origin/new/bug_7805'
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / selectbranchprinter.tt
index 4db3ccd..acad21c 100644 (file)
@@ -1,18 +1,18 @@
 [% INCLUDE 'doc-head-open.inc' %]
-<title>Koha &rsaquo; Circulation &rsaquo; Set Library</title>
+<title>Koha &rsaquo; Circulation &rsaquo; Set library</title>
 [% INCLUDE 'doc-head-close.inc' %]
 <style type="text/css">
     .noshow {display: none;}
 </style>
 </head>
-<body>
+<body id="circ_selectbranchprinter" class="circ">
 [% INCLUDE 'header.inc' %]
 [% INCLUDE 'circ-search.inc' %]
 
 <div id="breadcrumbs">
          <a href="/cgi-bin/koha/mainpage.pl">Home</a>
 &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
-&rsaquo; <a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set Library</a>
+&rsaquo; <a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a>
 </div>
 
 <div id="doc" class="yui-t7">
 
 [% IF ( updated ) %]
 
-<h2>Update Succeeded</h2>
+<h2>Update succeeded</h2>
 Updated:<ul>
     [% FOREACH update IN updated %]
     [% IF ( update.updated_branch ) %]
-        <li>Library: [% DEFAULT update.old_branch="?" %] &rArr; [% DEFAULT update.LoginBranchcode="?" %]</li>
+        <li>Library: [% update.old_branch or "?" %] &rArr; [% update.LoginBranchcode or "?" %]</li>
     [% ELSIF ( update.updated_printer ) %]
-      <!-- FIXME:  <li>Printer: [% DEFAULT update.old_printer="?" %] &rArr; [% DEFAULT update.new_printer="?" %]</li> -->
+      <!-- FIXME:  <li>Printer: [% update.old_printer or "?" %] &rArr; [% update.new_printer or "?" %]</li> -->
     [% ELSE %]
         <li>ERROR - unknown</li>
     [% END %]
     [% END %]
     </ul>
-<form method="post" action="[% DEFAULT referer="/cgi-bin/koha/circ/circulation.pl" |html %]">
+<form method="post" action="[% referer or "/cgi-bin/koha/circ/circulation.pl" |html %]">
     <div class="noshow">
         [% FOREACH recycle_loo IN recycle_loop %]
         <input type="text" name="[% recycle_loo.param %]" value="[% recycle_loo.value |html %]" />
@@ -47,10 +47,10 @@ Updated:<ul>
 
 <form method="post" action="selectbranchprinter.pl">
 <fieldset class="rows">
-       <legend>Set Library</legend>
+    <legend>Set library</legend>
     <ol>
     [% IF ( singleBranchMode ) %]
-        <li>Single Branch mode is ON.</li>
+        <li>SingleBranchMode is ON.</li>
     [% ELSE %]
         <li><label for="branch">Choose library:</label>
         <select name="branch" id="branch">
@@ -83,7 +83,7 @@ Updated:<ul>
     [% FOREACH recycle_loo IN recycle_loop %]
     <input type="text" name="[% recycle_loo.param %]" value="[% recycle_loo.value |html %]" />
     [% END %]
-    <input type="hidden" name="oldreferer" value="[% DEFAULT referer="/cgi-bin/koha/circ/circulation.pl" |html %]" />
+    <input type="hidden" name="oldreferer" value="[% referer or "/cgi-bin/koha/circ/circulation.pl" |html %]" />
 </div>
 </form>
 <!-- /updated -->