Bug 8556 - "Mark seen and continue" not translatable in inventory.tt
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / inventory.tt
index d8eb82f..a88ed84 100644 (file)
@@ -14,8 +14,8 @@ $(document).ready(function(){
                $(".checkboxed").unCheckCheckboxes();
                return false;
            });
-[% IF ( offset ) %]$("#markseen").before("<input type=\"submit\" value=\"&lt;&lt; Mark seen and continue\" id=\"markback\" />");[% END %]
-[% IF ( nextoffset ) %]$("#markseen").after("<input type=\"submit\" id=\"marknext\" value=\"Mark seen and continue &gt;&gt;\" />");[% END %]
+[% IF ( offset ) %]$("#markseen").before("<input type=\"submit\" value=\"&lt;&lt; " + _("Mark seen and continue") + "\" id=\"markback\" /> ");[% END %]
+[% IF ( nextoffset ) %]$("#markseen").after(" <input type=\"submit\" id=\"marknext\" value=\"" + _("Mark seen and continue") + " &gt;&gt;\" />");[% END %]
        $("#markback").click(function(){
                $(".checkboxed").find("input").filter("[name=offset]").attr("value","[% prevoffset %]");
                return true;
@@ -58,17 +58,7 @@ $(document).ready(function(){
             <legend>Use a barcode file</legend>
         <ol>
             <li><label for="uploadbarcodes">Barcode file: </label> <input type="file" id="uploadbarcodes" name="uploadbarcodes" /></li>
-            <li><label for="setdate">Set inventory date to:</label> <input type="text" id="setdate" name="setdate" value="[% today %]" />
-             <img src="[% themelang %]/lib/calendar/cal.gif" id="setdate_button" alt="Show calendar" />
-            <script type="text/javascript">
-            Calendar.setup(
-            {
-            inputField : "setdate",
-            ifFormat : "[% DHTMLcalendar_dateformat %]",
-            button : "setdate_button"
-            }
-            );
-            </script>
+            <li><label for="setdate">Set inventory date to:</label> <input type="text" id="setdate" name="setdate" value="[% today %]" class="datepicker" />
                        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
             </li>
           </ol>
@@ -77,8 +67,8 @@ $(document).ready(function(){
         <legend>Select items you want to check</legend>
         <ol><li>
         <label for="branch">Library</label>
-            <input type="radio" name="branch" value="homebranch">Home library</input>
-            <input type="radio" name="branch" value="holdingbranch">Current location</input>
+            <input type="radio" name="branch" value="homebranch"> Home library</input>
+            <input type="radio" name="branch" value="holdingbranch"> Current location</input>
         </li><li>
         <label for="branchloop">Library</label><select id="branchloop" name="branchcode" style="width:12em;">
             <option value="">All locations</option>
@@ -141,17 +131,7 @@ $(document).ready(function(){
         [% END %]
 
         <li><label for="datelastseen">Inventory date:</label>
-            <input type="text" id="datelastseen" name="datelastseen" value="[% datelastseen %]" />
-            <img src="[% themelang %]/lib/calendar/cal.gif" id="datelastseen_button" alt="Show Calendar" />
-            <script type="text/javascript">
-            Calendar.setup(
-            {
-            inputField : "datelastseen",
-            ifFormat : "[% DHTMLcalendar_dateformat %]",
-            button : "datelastseen_button"
-            }
-            );
-            </script>
+            <input type="text" id="datelastseen" name="datelastseen" value="[% datelastseen %]" class="datepicker"/>
                        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
         </li>
         <li><label for="ignoreissued">Skip copies on loan: </label>