Bug 5917 / Bug 6085 : Fixing not being able to change language
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / patroncards / edit-batch.tmpl
1     <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2     <title>Koha &rsaquo; Tools &rsaquo; Patron Card Creator &rsaquo; Manage Patron Card Batches</title>
3     <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4     <!-- TMPL_INCLUDE NAME="greybox.inc" -->
5     <script type="text/javascript">
6         //<![CDATA[
7         $(document).ready(function() {
8             $("#cancel").empty();
9             buildButtons();
10          });
11         function buildButtons() {
12             var cancelButton = new YAHOO.widget.Button({
13                 type: "link",
14                 href: "/cgi-bin/koha/patroncards/manage.pl?card_element=batch",
15                 label: _("Cancel"),
16                 id: "cancel",
17                 container: "cancel",
18             });
19         };
20     </script>
21 </head>
22 <body>
23     <!-- TMPL_INCLUDE NAME="header.inc" -->
24     <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
25     <div id="breadcrumbs">
26         <a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo;
27         <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo;
28         <a href="/cgi-bin/koha/patroncards/home.pl">Patron Card Creator</a> &rsaquo;
29         <a href="/cgi-bin/koha/patroncards/manage.pl?card_element=batch">Manage Patron Card Batches</a> &rsaquo;
30         Manage Batch Number <!-- TMPL_VAR NAME="batch_id" -->
31     </div>
32     <div id="doc3" class="yui-t2">
33         <div id="bd">
34             <div id="yui-main">
35                 <div class="yui-b">
36                     <!-- TMPL_INCLUDE NAME="patroncards-batches-toolbar.inc" -->
37                     <!-- TMPL_INCLUDE NAME="error-messages.inc" -->
38                     <div class="yui-g">
39                         <div class="yui-u first" id="manage-patroncard-batches">
40                             <div class="hint">Current Branch: <!-- TMPL_VAR NAME="LoginBranchname" --></div>
41                                 <!-- TMPL_IF NAME="table_loop" -->
42                                 <form name="items" class="checkboxed">
43                                     <h2>Items in batch number <!-- TMPL_VAR NAME="batch_id" --></h2>
44                                     <table>
45                                         <!-- TMPL_LOOP NAME="table_loop" -->
46                                         <!-- TMPL_IF NAME="header_fields" -->
47                                         <tr>
48                                         <!-- TMPL_LOOP NAME="header_fields" -->
49                                             <th><!-- TMPL_VAR NAME="field_label" --></th>
50                                         <!-- /TMPL_LOOP -->
51                                         </tr>
52                                         <!-- TMPL_ELSE -->
53                                         <tr>
54                                         <!-- TMPL_LOOP NAME="text_fields" -->
55                                         <!-- TMPL_IF NAME="select_field" -->
56                                             <td align="center"><input type="checkbox" name="action" value="<!-- TMPL_VAR NAME="field_value" -->"></td>
57                                         <!-- TMPL_ELSE -->
58                                             <td><!-- TMPL_VAR NAME="field_value" --></td>
59                                         <!-- /TMPL_IF -->
60                                         <!-- /TMPL_LOOP -->
61                                         </tr>
62                                         <!-- /TMPL_IF -->
63                                         <!-- /TMPL_LOOP -->
64                                     </table>
65                                 </form>
66                                 <!-- TMPL_ELSE -->
67                                     <div class="dialog message"><h4>There are no items in Batch <!-- TMPL_VAR NAME="batch_id" --> yet</h4>
68                                     <p>Use the toolbar above to add items.</p></div>
69                                 <!-- /TMPL_IF -->
70                             </div>
71                             <!-- TMPL_IF NAME="duplicate_message" -->
72                             <div class="yui-u">
73                                 <div class="dialog message">
74                                     <strong><!-- TMPL_VAR NAME="duplicate_count" --> duplicate item(s) found</strong> and removed from batch <!-- TMPL_VAR NAME="batch_id" -->.
75                                 </div>
76                             </div>
77                             <!-- /TMPL_IF -->
78                         </div>
79                         <fieldset class="action">
80                             <span id="cancel"><a class="cancel" href="/cgi-bin/koha/patroncards/manage.pl?card_element=batch">Cancel</a></span>
81                         </fieldset>
82                     </div>
83                 </div>
84                 <div class="yui-b">
85                     <!-- TMPL_INCLUDE NAME="patroncards-menu.inc" -->
86                 </div>
87             </div>
88         </div>
89     <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->