Markup corrections for label templates
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / labels / label-edit-layout.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><title>Koha &rsaquo; Labels</title>
2 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3 </head>
4 <body>
5 <!-- TMPL_INCLUDE NAME="header.inc" -->
6 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
7
8 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/labels/label-home.pl">Labels</a> &rsaquo; Edit Label Layout</div>
9
10 <div id="doc3" class="yui-t2">
11    
12    <div id="bd">
13         <div id="yui-main">
14         <div class="yui-b">
15
16 <form name="input" action="/cgi-bin/koha/labels/label-manager.pl" method="get">
17 <fieldset class="rows">
18 <legend>Edit Label Layout</legend>
19 <ol>
20 <li><label for="layoutname">Layout Name</label>
21 <input type="text" name="layoutname" id="layoutname" size="20" value="<!-- TMPL_VAR NAME="layoutname" -->" /></li>
22
23 <li><label for="barcodetype">Choose Barcode Type (encoding)</label>
24 <select name="barcodetype" id="barcodetype">
25     <!-- TMPL_LOOP NAME="barcode_types" -->
26         <!-- TMPL_IF NAME="active" -->
27         <option value="<!-- TMPL_VAR NAME="code" -->" selected="selected"><!-- TMPL_VAR NAME="desc" --></option>
28         <!-- TMPL_ELSE -->
29         <option value="<!-- TMPL_VAR NAME="code" -->"><!-- TMPL_VAR NAME="desc" --></option>
30         <!-- /TMPL_IF -->
31     <!-- /TMPL_LOOP -->
32 </select></li>
33
34
35 <li><label for="printingtype">Choose Layout Type</label>
36 <select name="printingtype" id="printingtype">
37     <!-- TMPL_LOOP NAME="printingtypes" -->
38 <!-- TMPL_IF NAME="active" -->
39         <option value="<!-- TMPL_VAR NAME="code" -->" selected="selected"><!-- TMPL_VAR NAME="desc" --></option>
40         <!-- TMPL_ELSE -->
41         <option value="<!-- TMPL_VAR NAME="code" -->"><!-- TMPL_VAR NAME="desc" --></option>
42 <!-- /TMPL_IF -->
43     <!-- /TMPL_LOOP -->
44 </select></li>
45
46 <li><fieldset class="rows">
47 <legend>
48     Choose Order Of Text Fields to Print
49 </legend>
50 <table summary="fields to print">
51 <tr>
52         <td>
53  <select name="tx_title" id="tx_title">
54             <!-- TMPL_LOOP Name="tx_title" -->
55                         <!-- TMPL_IF Name="selected" -->
56                 <option value="<!-- TMPL_VAR Name="num" -->" selected="selected">
57                     <!-- TMPL_VAR Name="num" -->
58                 </option>
59                         <!-- TMPL_ELSE -->
60                 <option value="<!-- TMPL_VAR Name="num" -->">
61                     <!-- TMPL_VAR Name="num" -->
62                 </option>
63                 <!-- /TMPL_IF -->
64             <!-- /TMPL_LOOP -->
65             </select>
66         <label for="tx_title">Title</label>
67         </td>
68             <td>
69         <select name="tx_subtitle" id="tx_subtitle">
70                  <!-- TMPL_LOOP Name="tx_subtitle" -->
71          <!-- TMPL_IF Name="selected" -->
72                                 <option value="<!-- TMPL_VAR Name="num" -->" selected="selected">
73                     <!-- TMPL_VAR Name="num" -->
74                 </option>
75                         <!-- TMPL_ELSE -->      
76                 <option value="<!-- TMPL_VAR Name="num" -->">
77                     <!-- TMPL_VAR Name="num" -->
78                 </option>
79                         <!-- /TMPL_IF -->       
80             <!-- /TMPL_LOOP -->
81       </select>
82         <label for="tx_subtitle">Subtitle</label>
83         </td> 
84
85         <td>
86         <select name="tx_author" id="tx_author">
87              <!-- TMPL_LOOP Name="tx_author" -->
88                 <!-- TMPL_IF Name="selected" -->         
89                 <option value="<!-- TMPL_VAR Name="num" -->" selected="selected">
90                     <!-- TMPL_VAR Name="num" -->
91                 </option>
92                 <!-- TMPL_ELSE -->              
93                 <option value="<!-- TMPL_VAR Name="num" -->">
94                     <!-- TMPL_VAR Name="num" -->
95                 </option>
96                 <!-- /TMPL_IF -->               
97             <!-- /TMPL_LOOP -->
98             </select>
99        <label for="tx_author">Author</label>
100         </td>
101 </tr> 
102  <tr>
103         <td>
104         <select name="tx_isbn" id="tx_isbn">
105               <!-- TMPL_LOOP Name="tx_isbn" -->
106                 <!-- TMPL_IF Name="selected" -->          
107                 <option value="<!-- TMPL_VAR Name="num" -->" selected="selected">
108                     <!-- TMPL_VAR Name="num" -->
109                 </option>
110                 <!-- TMPL_ELSE -->              
111                 <option value="<!-- TMPL_VAR Name="num" -->">
112                     <!-- TMPL_VAR Name="num" -->
113                 </option>
114                 <!-- /TMPL_IF -->               
115             <!-- /TMPL_LOOP -->
116             </select>
117       <label for="tx_isbn">ISBN</label>
118         </td>
119
120         <td>
121         <select name="tx_issn" id="tx_issn">
122                <!-- TMPL_LOOP Name="tx_issn" -->
123                 <!-- TMPL_IF Name="selected" -->           
124                 <option value="<!-- TMPL_VAR Name="num" -->" selected="selected">
125                     <!-- TMPL_VAR Name="num" -->
126                 </option>
127                 <!-- TMPL_ELSE -->              
128                 <option value="<!-- TMPL_VAR Name="num" -->">
129                     <!-- TMPL_VAR Name="num" -->
130                 </option>
131                 <!-- /TMPL_IF -->               
132             <!-- /TMPL_LOOP -->
133             </select>
134      <label for="tx_issn">ISSN</label>
135          </td>
136         <td>
137         <select name="tx_itemtype" id="tx_itemtype">
138                  <!-- TMPL_LOOP Name="tx_itemtype" -->
139                 <!-- TMPL_IF Name="selected" -->                 
140                 <option value="<!-- TMPL_VAR Name="num" -->" selected="selected">
141                     <!-- TMPL_VAR Name="num" -->
142                 </option>
143                         <!-- TMPL_ELSE -->      
144                 <option value="<!-- TMPL_VAR Name="num" -->">
145                     <!-- TMPL_VAR Name="num" -->
146                 </option>
147                 <!-- /TMPL_IF -->               
148             <!-- /TMPL_LOOP -->
149             </select>
150    <label for="tx_itemtype">Itemtype</label>
151         </td>
152   </tr>
153 <tr>
154         <td>
155         <select name="tx_dewey" id="tx_dewey">
156                 <!-- TMPL_LOOP Name="tx_dewey" -->
157                 <!-- TMPL_IF Name="selected" -->                
158                 <option value="<!-- TMPL_VAR Name="num" -->" selected="selected">
159                     <!-- TMPL_VAR Name="num" -->
160                 </option>
161                         <!-- TMPL_ELSE -->      
162                 <option value="<!-- TMPL_VAR Name="num" -->">
163                     <!-- TMPL_VAR Name="num" -->
164                 </option>
165                         <!-- /TMPL_IF -->       
166             <!-- /TMPL_LOOP -->
167        </select>
168         <label for="tx_dewey">Dewey</label>
169         </td>
170         <td>
171         <select name="tx_barcode" id="tx_barcode">
172                  <!-- TMPL_LOOP Name="tx_barcode" -->
173                 <!-- TMPL_IF Name="selected" -->                 
174                 <option value="<!-- TMPL_VAR Name="num" -->" selected="selected">
175                     <!-- TMPL_VAR Name="num" -->
176                 </option>
177                         <!-- TMPL_ELSE -->       
178                 <option value="<!-- TMPL_VAR Name="num" -->">
179                     <!-- TMPL_VAR Name="num" -->
180                 </option>
181                         <!-- /TMPL_IF -->       
182             <!-- /TMPL_LOOP -->
183       </select>
184         <label for="tx_barcode">Barcode (as text)</label>
185         </td>
186         <td>
187         <select name="tx_classif" id="tx_classif">
188                   <!-- TMPL_LOOP Name="tx_classif" -->
189                 <!-- TMPL_IF Name="selected" -->                    
190                 <option value="<!-- TMPL_VAR Name="num" -->" selected="selected">
191                     <!-- TMPL_VAR Name="num" -->
192                 </option>
193                         <!-- TMPL_ELSE -->        
194                 <option value="<!-- TMPL_VAR Name="num" -->">
195                     <!-- TMPL_VAR Name="num" -->
196                 </option>
197                 <!-- /TMPL_IF -->               
198             <!-- /TMPL_LOOP -->
199      </select>
200         <label for="tx_classif">Classification</label>
201         </td>
202 </tr> 
203  <tr>
204         <td>
205         <select name="tx_subclass" id="tx_subclass">
206                   <!-- TMPL_LOOP Name="tx_subclass" -->
207                 <!-- TMPL_IF Name="selected" -->                  
208                 <option value="<!-- TMPL_VAR Name="num" -->" selected="selected">
209                     <!-- TMPL_VAR Name="num" -->
210                 </option>
211                         <!-- TMPL_ELSE -->        
212                 <option value="<!-- TMPL_VAR Name="num" -->">
213                     <!-- TMPL_VAR Name="num" -->
214                 </option>
215                         <!-- /TMPL_IF -->       
216             <!-- /TMPL_LOOP -->
217      </select>
218         <label for="tx_subclass">Subclass</label>
219         </td>
220             <td>
221         <select name="tx_itemcallnumber" id="tx_itemcallnumber">
222                  <!-- TMPL_LOOP Name="tx_itemcallnumber" -->
223                         <!-- TMPL_IF Name="selected" -->          
224                 <option value="<!-- TMPL_VAR Name="num" -->" selected="selected">
225                     <!-- TMPL_VAR Name="num" -->
226                 </option>
227                         <!-- TMPL_ELSE -->       
228                 <option value="<!-- TMPL_VAR Name="num" -->">
229                     <!-- TMPL_VAR Name="num" -->
230                 </option>
231                         <!-- /TMPL_IF -->       
232             <!-- /TMPL_LOOP -->
233       </select>
234         <label for="tx_itemcallnumber">Call Number</label>
235         </td>
236                 <td>&nbsp;</td>
237   </tr>
238 </table>
239 </fieldset></li>
240
241 <li><label for="startlabel">Start printing from Label number: </label><input type="text" name="startlabel"  id="startlabel" size="1"  value="<!-- TMPL_VAR NAME="startlabel" -->" /></li>
242
243
244 <li><label for="guidebox">Draw Guide Boxes</label>
245 <!-- TMPL_IF NAME="guidebox"-->
246 <input type="checkbox" name="guidebox" id="guidebox" value="1"  checked="checked" />
247 <!-- TMPL_ELSE -->
248 <input type="checkbox" name="guidebox" id="guidebox" value="1" />
249 <!-- /TMPL_IF --></li>
250
251 </ol>
252 </fieldset>
253 <fieldset class="action">
254         <input type="submit" value="Submit" /> <a class="cancel" href="/cgi-bin/koha/labels/label-home.pl">Cancel</a>
255         <input type="hidden" name="op" value="save_layout" />
256         <input type="hidden" name="layout_id" value="<!-- TMPL_VAR NAME="layout_id" -->" />
257 </fieldset>
258 </form>
259
260 </div>
261 </div>
262 <div class="yui-b">
263 <!-- TMPL_INCLUDE NAME="labels-menu.inc" -->
264 </div>
265 </div>
266 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->