Lines 151-205
Link Here
|
151 |
<form name="input" action="/cgi-bin/koha/patroncards/edit-layout.pl" method="get"> |
151 |
<form name="input" action="/cgi-bin/koha/patroncards/edit-layout.pl" method="get"> |
152 |
<div class="yui-g"> |
152 |
<div class="yui-g"> |
153 |
<div class="yui-g first"> |
153 |
<div class="yui-g first"> |
154 |
<fieldset class="rows"> |
154 |
<fieldset class="rows"> |
155 |
<legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] Patron card text layout</legend> |
155 |
<legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] Patron card text layout</legend> |
156 |
<ol> |
156 |
<ol> |
157 |
<li> |
157 |
<li> |
158 |
<fieldset> |
158 |
<fieldset> |
159 |
<legend>General settings</legend> |
159 |
<legend>General settings</legend> |
160 |
<li> |
160 |
<ol> |
161 |
<label for="layout_name">Layout name</label> |
161 |
<li> |
162 |
<input type="text" name="layout_name" id="layout_name" size="20" value="[% layout_name %]" /> |
162 |
<label for="layout_name">Layout name</label> |
163 |
</li> |
163 |
<input type="text" name="layout_name" id="layout_name" size="20" value="[% layout_name %]" /> |
164 |
<li> |
164 |
</li> |
165 |
<label for="units">Units:</label> |
165 |
<li> |
166 |
<select id="units" name="units"> |
166 |
<label for="units">Units:</label> |
167 |
[% FOREACH unit IN units %] |
167 |
<select id="units" name="units"> |
168 |
[% IF ( unit.selected ) %] |
168 |
[% FOREACH unit IN units %] |
169 |
<option value="[% unit.type %]" selected="selected"> |
169 |
[% IF ( unit.selected ) %] |
170 |
[% ELSE %] |
170 |
<option value="[% unit.type %]" selected="selected"> |
171 |
<option value="[% unit.type %]"> |
171 |
[% ELSE %] |
172 |
[% END %] |
172 |
<option value="[% unit.type %]"> |
173 |
[% unit.desc %] |
173 |
[% END %] |
174 |
</option> |
174 |
[% unit.desc %] |
175 |
[% END %] |
175 |
</option> |
176 |
</select> |
176 |
[% END %] |
177 |
</li> |
177 |
</select> |
178 |
<li> |
178 |
</li> |
179 |
<label for="page_side">Page side:</label> |
179 |
<li> |
180 |
[% IF ( page_side ) %] |
180 |
<label for="page_side">Page side:</label> |
181 |
<input type="radio" name="page_side" id="page_side" value="F" />Front |
181 |
[% IF ( page_side ) %] |
182 |
<input type="radio" name="page_side" id="page_side" value="B" checked="checked" />Back |
182 |
<input type="radio" name="page_side" id="page_side" value="F" />Front |
183 |
[% ELSE %] |
183 |
<input type="radio" name="page_side" id="page_side" value="B" checked="checked" />Back |
184 |
<input type="radio" name="page_side" id="page_side" value="F" checked="checked" />Front |
184 |
[% ELSE %] |
185 |
<input type="radio" name="page_side" id="page_side" value="B" />Back |
185 |
<input type="radio" name="page_side" id="page_side" value="F" checked="checked" />Front |
186 |
[% END %] |
186 |
<input type="radio" name="page_side" id="page_side" value="B" />Back |
187 |
</li> |
187 |
[% END %] |
188 |
<li> |
188 |
</li> |
189 |
<label for="guide_box">Guide box:</label> |
189 |
<li> |
190 |
[% IF ( guide_box ) %] |
190 |
<label for="guide_box">Guide box:</label> |
191 |
<input type="radio" name="guide_box" id="guide_box" value="1" checked="checked" />On |
191 |
[% IF ( guide_box ) %] |
192 |
<input type="radio" name="guide_box" id="guide_box" value="0" />Off |
192 |
<input type="radio" name="guide_box" id="guide_box" value="1" checked="checked" />On |
193 |
[% ELSE %] |
193 |
<input type="radio" name="guide_box" id="guide_box" value="0" />Off |
194 |
<input type="radio" name="guide_box" id="guide_box" value="1" />On |
194 |
[% ELSE %] |
195 |
<input type="radio" name="guide_box" id="guide_box" value="0" checked="checked" />Off |
195 |
<input type="radio" name="guide_box" id="guide_box" value="1" />On |
196 |
[% END %] |
196 |
<input type="radio" name="guide_box" id="guide_box" value="0" checked="checked" />Off |
197 |
</li> |
197 |
[% END %] |
|
|
198 |
</li> |
199 |
</ol> |
198 |
</fieldset> |
200 |
</fieldset> |
199 |
</li> |
201 |
</li> |
200 |
<li> |
202 |
<li> |
201 |
<fieldset> |
203 |
<fieldset> |
202 |
<legend>Text fields</legend> |
204 |
<legend>Text fields</legend> |
|
|
205 |
<ol> |
203 |
<li> |
206 |
<li> |
204 |
<fieldset> |
207 |
<fieldset> |
205 |
[% IF ( field_1 ) %] |
208 |
[% IF ( field_1 ) %] |
Lines 207-255
Link Here
|
207 |
[% ELSE %] |
210 |
[% ELSE %] |
208 |
<legend><input type="checkbox" name="field_1_enable" id="field_1_enable" value="1" /> Field 1</legend> |
211 |
<legend><input type="checkbox" name="field_1_enable" id="field_1_enable" value="1" /> Field 1</legend> |
209 |
[% END %] |
212 |
[% END %] |
210 |
<div id="field_1_select" style="display: none;"> |
213 |
<div id="field_1_select" style="display: none;"> |
211 |
<li> |
214 |
<ol> |
212 |
<label for="field_1_text">Text</label> |
215 |
<li> |
213 |
<input type="text" name="field_1_text" id="field_1_text" size="60" value="[% field_1_text |html %]" /> |
216 |
<label for="field_1_text">Text</label> |
214 |
</li> |
217 |
<input type="text" name="field_1_text" id="field_1_text" size="60" value="[% field_1_text |html %]" /> |
215 |
<li> |
218 |
</li> |
216 |
<label for="field_1_font">Font</label> |
219 |
<li> |
217 |
<select name="field_1_font" id="field_1_font"> |
220 |
<label for="field_1_font">Font</label> |
218 |
[% FOREACH field_1_fon IN field_1_font %] |
221 |
<select name="field_1_font" id="field_1_font"> |
219 |
[% IF ( field_1_fon.selected ) %] |
222 |
[% FOREACH field_1_fon IN field_1_font %] |
220 |
<option value="[% field_1_fon.type %]" selected="selected">[% field_1_fon.name %]</option> |
223 |
[% IF ( field_1_fon.selected ) %] |
221 |
[% ELSE %] |
224 |
<option value="[% field_1_fon.type %]" selected="selected">[% field_1_fon.name %]</option> |
222 |
<option value="[% field_1_fon.type %]">[% field_1_fon.name %]</option> |
225 |
[% ELSE %] |
223 |
[% END %] |
226 |
<option value="[% field_1_fon.type %]">[% field_1_fon.name %]</option> |
224 |
[% END %] |
227 |
[% END %] |
225 |
</select> |
228 |
[% END %] |
226 |
</li> |
229 |
</select> |
227 |
<li> |
230 |
</li> |
228 |
<label for="field_1_font_size">Font size</label> |
231 |
<li> |
229 |
<input type="text" name="field_1_font_size" id="field_1_font_size" size="2" value="[% field_1_font_size |html %]" /> |
232 |
<label for="field_1_font_size">Font size</label> |
230 |
<span class="font_unit"> pt</span> |
233 |
<input type="text" name="field_1_font_size" id="field_1_font_size" size="2" value="[% field_1_font_size |html %]" /> |
231 |
</li> |
234 |
<span class="font_unit"> pt</span> |
232 |
<li> |
235 |
</li> |
233 |
<label for="field_1_text_alignment">Text alignment</label> |
236 |
<li> |
234 |
<select name="field_1_text_alignment" id="field_1_text_alignment"> |
237 |
<label for="field_1_text_alignment">Text alignment</label> |
235 |
[% FOREACH field_1_text_alignmen IN field_1_text_alignment %] |
238 |
<select name="field_1_text_alignment" id="field_1_text_alignment"> |
236 |
[% IF ( field_1_text_alignmen.selected ) %] |
239 |
[% FOREACH field_1_text_alignmen IN field_1_text_alignment %] |
237 |
<option value="[% field_1_text_alignmen.type %]" selected="selected">[% field_1_text_alignmen.name %]</option> |
240 |
[% IF ( field_1_text_alignmen.selected ) %] |
238 |
[% ELSE %] |
241 |
<option value="[% field_1_text_alignmen.type %]" selected="selected">[% field_1_text_alignmen.name %]</option> |
239 |
<option value="[% field_1_text_alignmen.type %]">[% field_1_text_alignmen.name %]</option> |
242 |
[% ELSE %] |
240 |
[% END %] |
243 |
<option value="[% field_1_text_alignmen.type %]">[% field_1_text_alignmen.name %]</option> |
241 |
[% END %] |
244 |
[% END %] |
242 |
</select> |
245 |
[% END %] |
243 |
</li> |
246 |
</select> |
244 |
<li> |
247 |
</li> |
245 |
<label for="field_1_llx">Lower left X coordinate</label> |
248 |
<li> |
246 |
<input type="text" name="field_1_llx" id="field_1_llx" size="2" value="[% field_1_llx |html %]" /> |
249 |
<label for="field_1_llx">Lower left X coordinate</label> |
247 |
</li> |
250 |
<input type="text" name="field_1_llx" id="field_1_llx" size="2" value="[% field_1_llx |html %]" /> |
248 |
<li> |
251 |
</li> |
249 |
<label for="field_1_lly">Lower left Y coordinate</label> |
252 |
<li> |
250 |
<input type="text" name="field_1_lly" id="field_1_lly" size="2" value="[% field_1_lly |html %]" /> |
253 |
<label for="field_1_lly">Lower left Y coordinate</label> |
251 |
</li> |
254 |
<input type="text" name="field_1_lly" id="field_1_lly" size="2" value="[% field_1_lly |html %]" /> |
252 |
</div> |
255 |
</li> |
|
|
256 |
</ol> |
257 |
</div> |
253 |
</fieldset> |
258 |
</fieldset> |
254 |
</li> |
259 |
</li> |
255 |
<li> |
260 |
<li> |
Lines 259-307
Link Here
|
259 |
[% ELSE %] |
264 |
[% ELSE %] |
260 |
<legend><input type="checkbox" name="field_2_enable" id="field_2_enable" value="1" /> Field 2</legend> |
265 |
<legend><input type="checkbox" name="field_2_enable" id="field_2_enable" value="1" /> Field 2</legend> |
261 |
[% END %] |
266 |
[% END %] |
262 |
<div id="field_2_select" style="display: none;"> |
267 |
<div id="field_2_select" style="display: none;"> |
263 |
<li> |
268 |
<ol> |
264 |
<label for="field_2_text">Text</label> |
269 |
<li> |
265 |
<input type="text" name="field_2_text" id="field_2_text" size="60" value="[% field_2_text |html %]" /> |
270 |
<label for="field_2_text">Text</label> |
266 |
</li> |
271 |
<input type="text" name="field_2_text" id="field_2_text" size="60" value="[% field_2_text |html %]" /> |
267 |
<li> |
272 |
</li> |
268 |
<label for="field_2_font">Font</label> |
273 |
<li> |
269 |
<select name="field_2_font" id="field_2_font"> |
274 |
<label for="field_2_font">Font</label> |
270 |
[% FOREACH field_2_fon IN field_2_font %] |
275 |
<select name="field_2_font" id="field_2_font"> |
271 |
[% IF ( field_2_fon.selected ) %] |
276 |
[% FOREACH field_2_fon IN field_2_font %] |
272 |
<option value="[% field_2_fon.type %]" selected="selected">[% field_2_fon.name %]</option> |
277 |
[% IF ( field_2_fon.selected ) %] |
273 |
[% ELSE %] |
278 |
<option value="[% field_2_fon.type %]" selected="selected">[% field_2_fon.name %]</option> |
274 |
<option value="[% field_2_fon.type %]">[% field_2_fon.name %]</option> |
279 |
[% ELSE %] |
275 |
[% END %] |
280 |
<option value="[% field_2_fon.type %]">[% field_2_fon.name %]</option> |
276 |
[% END %] |
281 |
[% END %] |
277 |
</select> |
282 |
[% END %] |
278 |
</li> |
283 |
</select> |
279 |
<li> |
284 |
</li> |
280 |
<label for="field_2_font_size">Font size</label> |
285 |
<li> |
281 |
<input type="text" name="field_2_font_size" id="field_2_font_size" size="2" value="[% field_2_font_size |html %]" /> |
286 |
<label for="field_2_font_size">Font size</label> |
282 |
<span class="font_unit"> pt</span> |
287 |
<input type="text" name="field_2_font_size" id="field_2_font_size" size="2" value="[% field_2_font_size |html %]" /> |
283 |
</li> |
288 |
<span class="font_unit"> pt</span> |
284 |
<li> |
289 |
</li> |
285 |
<label for="field_2_text_alignment">Text alignment</label> |
290 |
<li> |
286 |
<select name="field_2_text_alignment" id="field_2_text_alignment"> |
291 |
<label for="field_2_text_alignment">Text alignment</label> |
287 |
[% FOREACH field_2_text_alignmen IN field_2_text_alignment %] |
292 |
<select name="field_2_text_alignment" id="field_2_text_alignment"> |
288 |
[% IF ( field_2_text_alignmen.selected ) %] |
293 |
[% FOREACH field_2_text_alignmen IN field_2_text_alignment %] |
289 |
<option value="[% field_2_text_alignmen.type %]" selected="selected">[% field_2_text_alignmen.name %]</option> |
294 |
[% IF ( field_2_text_alignmen.selected ) %] |
290 |
[% ELSE %] |
295 |
<option value="[% field_2_text_alignmen.type %]" selected="selected">[% field_2_text_alignmen.name %]</option> |
291 |
<option value="[% field_2_text_alignmen.type %]">[% field_2_text_alignmen.name %]</option> |
296 |
[% ELSE %] |
292 |
[% END %] |
297 |
<option value="[% field_2_text_alignmen.type %]">[% field_2_text_alignmen.name %]</option> |
293 |
[% END %] |
298 |
[% END %] |
294 |
</select> |
299 |
[% END %] |
295 |
</li> |
300 |
</select> |
296 |
<li> |
301 |
</li> |
297 |
<label for="field_2_llx">Lower left X coordinate</label> |
302 |
<li> |
298 |
<input type="text" name="field_2_llx" id="field_2_llx" size="2" value="[% field_2_llx |html %]" /> |
303 |
<label for="field_2_llx">Lower left X coordinate</label> |
299 |
</li> |
304 |
<input type="text" name="field_2_llx" id="field_2_llx" size="2" value="[% field_2_llx |html %]" /> |
300 |
<li> |
305 |
</li> |
301 |
<label for="field_2_lly">Lower left Y coordinate</label> |
306 |
<li> |
302 |
<input type="text" name="field_2_lly" id="field_2_lly" size="2" value="[% field_2_lly |html %]" /> |
307 |
<label for="field_2_lly">Lower left Y coordinate</label> |
303 |
</li> |
308 |
<input type="text" name="field_2_lly" id="field_2_lly" size="2" value="[% field_2_lly |html %]" /> |
304 |
</div> |
309 |
</li> |
|
|
310 |
</ol> |
311 |
</div> |
305 |
</fieldset> |
312 |
</fieldset> |
306 |
</li> |
313 |
</li> |
307 |
<li> |
314 |
<li> |
Lines 311-374
Link Here
|
311 |
[% ELSE %] |
318 |
[% ELSE %] |
312 |
<legend><input type="checkbox" name="field_3_enable" id="field_3_enable" value="0" /> Field 3</legend> |
319 |
<legend><input type="checkbox" name="field_3_enable" id="field_3_enable" value="0" /> Field 3</legend> |
313 |
[% END %] |
320 |
[% END %] |
314 |
<div id="field_3_select" style="display: none;"> |
321 |
<div id="field_3_select" style="display: none;"> |
315 |
<li> |
322 |
<ol> |
316 |
<label for="field_3_text">Text</label> |
323 |
<li> |
317 |
<input type="text" name="field_3_text" id="field_3_text" size="60" value="[% field_3_text |html %]" /> |
324 |
<label for="field_3_text">Text</label> |
318 |
</li> |
325 |
<input type="text" name="field_3_text" id="field_3_text" size="60" value="[% field_3_text |html %]" /> |
319 |
<li> |
326 |
</li> |
320 |
<label for="field_3_font">Font</label> |
327 |
<li> |
321 |
<select name="field_3_font" id="field_3_font"> |
328 |
<label for="field_3_font">Font</label> |
322 |
[% FOREACH field_3_fon IN field_3_font %] |
329 |
<select name="field_3_font" id="field_3_font"> |
323 |
[% IF ( field_3_fon.selected ) %] |
330 |
[% FOREACH field_3_fon IN field_3_font %] |
324 |
<option value="[% field_3_fon.type %]" selected="selected">[% field_3_fon.name %]</option> |
331 |
[% IF ( field_3_fon.selected ) %] |
325 |
[% ELSE %] |
332 |
<option value="[% field_3_fon.type %]" selected="selected">[% field_3_fon.name %]</option> |
326 |
<option value="[% field_3_fon.type %]">[% field_3_fon.name %]</option> |
333 |
[% ELSE %] |
327 |
[% END %] |
334 |
<option value="[% field_3_fon.type %]">[% field_3_fon.name %]</option> |
328 |
[% END %] |
335 |
[% END %] |
329 |
</select> |
336 |
[% END %] |
330 |
</li> |
337 |
</select> |
331 |
<li> |
338 |
</li> |
332 |
<label for="field_3_font_size">Font size</label> |
339 |
<li> |
333 |
<input type="text" name="field_3_font_size" id="field_3_font_size" size="2" value="[% field_3_font_size |html %]" /> |
340 |
<label for="field_3_font_size">Font size</label> |
334 |
<span class="font_unit"> pt</span> |
341 |
<input type="text" name="field_3_font_size" id="field_3_font_size" size="2" value="[% field_3_font_size |html %]" /> |
335 |
</li> |
342 |
<span class="font_unit"> pt</span> |
336 |
<li> |
343 |
</li> |
337 |
<label for="field_3_text_alignment">Text alignment</label> |
344 |
<li> |
338 |
<select name="field_3_text_alignment" id="field_3_text_alignment"> |
345 |
<label for="field_3_text_alignment">Text alignment</label> |
339 |
[% FOREACH field_3_text_alignmen IN field_3_text_alignment %] |
346 |
<select name="field_3_text_alignment" id="field_3_text_alignment"> |
340 |
[% IF ( field_3_text_alignmen.selected ) %] |
347 |
[% FOREACH field_3_text_alignmen IN field_3_text_alignment %] |
341 |
<option value="[% field_3_text_alignmen.type %]" selected="selected">[% field_3_text_alignmen.name %]</option> |
348 |
[% IF ( field_3_text_alignmen.selected ) %] |
342 |
[% ELSE %] |
349 |
<option value="[% field_3_text_alignmen.type %]" selected="selected">[% field_3_text_alignmen.name %]</option> |
343 |
<option value="[% field_3_text_alignmen.type %]">[% field_3_text_alignmen.name %]</option> |
350 |
[% ELSE %] |
344 |
[% END %] |
351 |
<option value="[% field_3_text_alignmen.type %]">[% field_3_text_alignmen.name %]</option> |
345 |
[% END %] |
352 |
[% END %] |
346 |
</select> |
353 |
[% END %] |
347 |
</li> |
354 |
</select> |
348 |
<li> |
355 |
</li> |
349 |
<label for="field_3_llx">Lower left X coordinate</label> |
356 |
<li> |
350 |
<input type="text" name="field_3_llx" id="field_3_llx" size="2" value="[% field_3_llx |html %]" /> |
357 |
<label for="field_3_llx">Lower left X coordinate</label> |
351 |
</li> |
358 |
<input type="text" name="field_3_llx" id="field_3_llx" size="2" value="[% field_3_llx |html %]" /> |
352 |
<li> |
359 |
</li> |
353 |
<label for="field_3_lly">Lower left Y coordinate</label> |
360 |
<li> |
354 |
<input type="text" name="field_3_lly" id="field_3_lly" size="2" value="[% field_3_lly |html %]" /> |
361 |
<label for="field_3_lly">Lower left Y coordinate</label> |
355 |
</li> |
362 |
<input type="text" name="field_3_lly" id="field_3_lly" size="2" value="[% field_3_lly |html %]" /> |
356 |
</div> |
363 |
</li> |
|
|
364 |
</ol> |
365 |
</div> |
357 |
</fieldset> |
366 |
</fieldset> |
358 |
</li> |
367 |
</li> |
359 |
</fieldset> |
368 |
</ol> |
360 |
</li> |
369 |
</fieldset> |
361 |
</fieldset> |
370 |
</li> |
362 |
</li> |
371 |
</ol> |
363 |
</fieldset> |
372 |
</fieldset> |
364 |
</li> |
|
|
365 |
</ol> |
366 |
</fieldset> |
367 |
</div> |
373 |
</div> |
368 |
<div class="yui-g"> |
374 |
<div class="yui-g"> |
369 |
<fieldset class="rows"> |
375 |
<fieldset class="rows"> |
370 |
<legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] Patron card graphic layout</legend> |
376 |
<legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] Patron card graphic layout</legend> |
371 |
<ol> |
377 |
<ol> |
372 |
<!-- |
378 |
<!-- |
373 |
<li> |
379 |
<li> |
374 |
<fieldset> |
380 |
<fieldset> |
Lines 381-535
Link Here
|
381 |
</fieldset> |
387 |
</fieldset> |
382 |
</li> |
388 |
</li> |
383 |
--> |
389 |
--> |
384 |
<li> |
390 |
<li> |
385 |
<fieldset> |
391 |
<fieldset> |
386 |
<legend>Barcode</legend> |
392 |
<legend>Barcode</legend> |
387 |
<li> |
393 |
<ol> |
388 |
<label for="barcode_print">Print card number as barcode</label> |
394 |
<li> |
389 |
[% IF ( barcode_print ) %] |
395 |
<label for="barcode_print">Print card number as barcode</label> |
390 |
<input type="checkbox" name="barcode_print" id="barcode_print" value="1" checked="checked" /> |
396 |
[% IF ( barcode_print ) %] |
391 |
[% ELSE %] |
397 |
<input type="checkbox" name="barcode_print" id="barcode_print" value="1" checked="checked" /> |
392 |
<input type="checkbox" name="barcode_print" id="barcode_print" value="1" /> |
|
|
393 |
[% END %] |
394 |
</li> |
395 |
<div id="barcode_param" style="display: none;"> |
396 |
<li> |
397 |
<label for="barcode_llx">Lower left X coordinate</label> |
398 |
<input type="text" name="barcode_llx" id="barcode_llx" size="2" value="[% barcode_llx |html %]" /> |
399 |
</li> |
400 |
<li> |
401 |
<label for="barcode_lly">Lower left Y coordinate</label> |
402 |
<input type="text" name="barcode_lly" id="barcode_lly" size="2" value="[% barcode_lly |html %]" /> |
403 |
</li> |
404 |
<li> |
405 |
<label for="barcode_type">Barcode type</label> |
406 |
<select name="barcode_type" id="barcode_type"> |
407 |
[% FOREACH barcode_typ IN barcode_type %] |
408 |
[% IF ( barcode_typ.selected ) %] |
409 |
<option value="[% barcode_typ.type %]" selected="selected">[% barcode_typ.name %]</option> |
410 |
[% ELSE %] |
411 |
<option value="[% barcode_typ.type %]">[% barcode_typ.name %]</option> |
412 |
[% END %] |
413 |
[% END %] |
414 |
</select> |
415 |
</li> |
416 |
<li> |
417 |
<label for="barcode_text_print">Print card number as text under barcode</label> |
418 |
[% IF ( barcode_text_print ) %] |
419 |
<input type="checkbox" name="barcode_text_print" id="barcode_text_print" value="1" checked="checked" /> |
420 |
[% ELSE %] |
421 |
<input type="checkbox" name="barcode_text_print" id="barcode_text_print" value="1" /> |
422 |
[% END %] |
423 |
</li> |
424 |
</div> |
425 |
</fieldset> |
426 |
</li> |
427 |
<li> |
428 |
<fieldset> |
429 |
<legend>Images</legend> |
430 |
<li> |
431 |
<fieldset> |
432 |
<legend>Image 1</legend> |
433 |
<li> |
434 |
<label for="image_1_image_source">Image source</label> |
435 |
<select name="image_1_image_source" id="image_1_image_source"> |
436 |
[% FOREACH image_1_image_sourc IN image_1_image_source %] |
437 |
[% IF ( image_1_image_sourc.selected ) %] |
438 |
<option value="[% image_1_image_sourc.type %]" selected="selected">[% image_1_image_sourc.name %]</option> |
439 |
[% ELSE %] |
440 |
<option value="[% image_1_image_sourc.type %]">[% image_1_image_sourc.name %]</option> |
441 |
[% END %] |
442 |
[% END %] |
443 |
</select> |
444 |
</li> |
445 |
<div id="image_1_image_name" style="display: none;"> |
446 |
<li> |
447 |
<label for="image_1_image_name">Image</label> |
448 |
<select name="image_1_image_name" id="image_1_image_name"> |
449 |
[% FOREACH image_1_image_nam IN image_1_image_name %] |
450 |
[% IF ( image_1_image_nam.selected ) %] |
451 |
<option value="[% image_1_image_nam.type %]" selected="selected">[% image_1_image_nam.name %]</option> |
452 |
[% ELSE %] |
453 |
<option value="[% image_1_image_nam.type %]">[% image_1_image_nam.name %]</option> |
454 |
[% END %] |
455 |
[% END %] |
456 |
</select> |
457 |
</li> |
458 |
</div> |
459 |
<div id="image_1_image_metrics" style="display: none;"> |
460 |
<li> |
461 |
<label for="image_1_Dx">Display height</label> |
462 |
<input type="text" name="image_1_Dx" id="image_1_Dx" size="2" value="[% image_1_Dx |html %]" /> |
463 |
</li> |
464 |
<li> |
465 |
<label for="image_1_Tx">Lower left X coordinate</label> |
466 |
<input type="text" name="image_1_Tx" id="image_1_Tx" size="2" value="[% image_1_Tx |html %]" /> |
467 |
</li> |
468 |
<li> |
469 |
<label for="image_1_Ty">Lower left Y coordinate</label> |
470 |
<input type="text" name="image_1_Ty" id="image_1_Ty" size="2" value="[% image_1_Ty |html %]" /> |
471 |
</li> |
472 |
</div> |
473 |
<!-- These pdf image parameters are currently unused, but implimented and need to default to zero --> |
474 |
<input type="hidden" name="image_1_Ox" value="0" /><!-- Ox,Oy should be set to 0 unless you want special effects see http://www.adobe.com/devnet/pdf/pdf_reference.html ISO 32000-1 --> |
475 |
<input type="hidden" name="image_1_Oy" value="0" /> |
476 |
<input type="hidden" name="image_1_Sx" value="0" /><!-- Sx,Sy allow scaling of the image --> |
477 |
<input type="hidden" name="image_1_Sy" value="0" /> |
478 |
</fieldset> |
479 |
</li> |
480 |
<li> |
481 |
<fieldset> |
482 |
<legend>Image 2</legend> |
483 |
<li> |
484 |
<label for="image_2_image_source">Image source</label> |
485 |
<select name="image_2_image_source" id="image_2_image_source"> |
486 |
[% FOREACH image_2_image_sourc IN image_2_image_source %] |
487 |
[% IF ( image_2_image_sourc.selected ) %] |
488 |
<option value="[% image_2_image_sourc.type %]" selected="selected">[% image_2_image_sourc.name %]</option> |
489 |
[% ELSE %] |
490 |
<option value="[% image_2_image_sourc.type %]">[% image_2_image_sourc.name %]</option> |
491 |
[% END %] |
492 |
[% END %] |
493 |
</select> |
494 |
</li> |
495 |
<div id="image_2_image_name" style="display: none;"> |
496 |
<li> |
497 |
<label for="image_2_image_name">Image</label> |
498 |
<select name="image_2_image_name" id="image_2_image_name"> |
499 |
[% FOREACH image_2_image_nam IN image_2_image_name %] |
500 |
[% IF ( image_2_image_nam.selected ) %] |
501 |
<option value="[% image_2_image_nam.type %]" selected="selected">[% image_2_image_nam.name %]</option> |
502 |
[% ELSE %] |
398 |
[% ELSE %] |
503 |
<option value="[% image_2_image_nam.type %]">[% image_2_image_nam.name %]</option> |
399 |
<input type="checkbox" name="barcode_print" id="barcode_print" value="1" /> |
504 |
[% END %] |
400 |
[% END %] |
505 |
[% END %] |
401 |
</li> |
506 |
</select> |
402 |
</ol> |
507 |
</li> |
403 |
<div id="barcode_param" style="display: none;"> |
508 |
</div> |
404 |
<ol> |
509 |
<div id="image_2_image_metrics" style="display: none;"> |
405 |
<li> |
510 |
<li> |
406 |
<label for="barcode_llx">Lower left X coordinate</label> |
511 |
<label for="image_2_Dx">Display height</label> |
407 |
<input type="text" name="barcode_llx" id="barcode_llx" size="2" value="[% barcode_llx |html %]" /> |
512 |
<input type="text" name="image_2_Dx" id="image_2_Dx" size="2" value="[% image_2_Dx |html %]" /> |
408 |
</li> |
513 |
</li> |
409 |
<li> |
514 |
<li> |
410 |
<label for="barcode_lly">Lower left Y coordinate</label> |
515 |
<label for="image_2_Tx">Lower left X coordinate</label> |
411 |
<input type="text" name="barcode_lly" id="barcode_lly" size="2" value="[% barcode_lly |html %]" /> |
516 |
<input type="text" name="image_2_Tx" id="image_2_Tx" size="2" value="[% image_2_Tx |html %]" /> |
412 |
</li> |
517 |
</li> |
413 |
<li> |
518 |
<li> |
414 |
<label for="barcode_type">Barcode type</label> |
519 |
<label for="image_2_Ty">Lower left Y coordinate</label> |
415 |
<select name="barcode_type" id="barcode_type"> |
520 |
<input type="text" name="image_2_Ty" id="image_2_Ty" size="2" value="[% image_2_Ty |html %]" /> |
416 |
[% FOREACH barcode_typ IN barcode_type %] |
521 |
</li> |
417 |
[% IF ( barcode_typ.selected ) %] |
|
|
418 |
<option value="[% barcode_typ.type %]" selected="selected">[% barcode_typ.name %]</option> |
419 |
[% ELSE %] |
420 |
<option value="[% barcode_typ.type %]">[% barcode_typ.name %]</option> |
421 |
[% END %] |
422 |
[% END %] |
423 |
</select> |
424 |
</li> |
425 |
<li> |
426 |
<label for="barcode_text_print">Print card number as text under barcode</label> |
427 |
[% IF ( barcode_text_print ) %] |
428 |
<input type="checkbox" name="barcode_text_print" id="barcode_text_print" value="1" checked="checked" /> |
429 |
[% ELSE %] |
430 |
<input type="checkbox" name="barcode_text_print" id="barcode_text_print" value="1" /> |
431 |
[% END %] |
432 |
</li> |
433 |
</ol> |
522 |
</div> |
434 |
</div> |
523 |
<!-- These pdf image parameters are currently unused, but implimented and need to default to zero --> |
435 |
</fieldset> |
524 |
<input type="hidden" name="image_2_Ox" value="0" /><!-- Ox,Oy should be set to 0 unless you want special effects see http://www.adobe.com/devnet/pdf/pdf_reference.html ISO 32000-1 --> |
436 |
</li> |
525 |
<input type="hidden" name="image_2_Oy" value="0" /><!-- Sx,Sy allow scaling of the image --> |
437 |
<li> |
526 |
<input type="hidden" name="image_2_Sx" value="0" /> |
438 |
<fieldset> |
527 |
<input type="hidden" name="image_2_Sy" value="0" /> |
439 |
<legend>Images</legend> |
528 |
</fieldset> |
440 |
<ol> |
529 |
</li> |
441 |
<li> |
530 |
</fieldset> |
442 |
<fieldset> |
531 |
</li> |
443 |
<legend>Image 1</legend> |
532 |
</ol> |
444 |
<ol> |
|
|
445 |
<li> |
446 |
<label for="image_1_image_source">Image source</label> |
447 |
<select name="image_1_image_source" id="image_1_image_source"> |
448 |
[% FOREACH image_1_image_sourc IN image_1_image_source %] |
449 |
[% IF ( image_1_image_sourc.selected ) %] |
450 |
<option value="[% image_1_image_sourc.type %]" selected="selected">[% image_1_image_sourc.name %]</option> |
451 |
[% ELSE %] |
452 |
<option value="[% image_1_image_sourc.type %]">[% image_1_image_sourc.name %]</option> |
453 |
[% END %] |
454 |
[% END %] |
455 |
</select> |
456 |
</li> |
457 |
</ol> |
458 |
<div id="image_1_image_name" style="display: none;"> |
459 |
<ol> |
460 |
<li> |
461 |
<label for="image_1_image_name">Image</label> |
462 |
<select name="image_1_image_name" id="image_1_image_name"> |
463 |
[% FOREACH image_1_image_nam IN image_1_image_name %] |
464 |
[% IF ( image_1_image_nam.selected ) %] |
465 |
<option value="[% image_1_image_nam.type %]" selected="selected">[% image_1_image_nam.name %]</option> |
466 |
[% ELSE %] |
467 |
<option value="[% image_1_image_nam.type %]">[% image_1_image_nam.name %]</option> |
468 |
[% END %] |
469 |
[% END %] |
470 |
</select> |
471 |
</li> |
472 |
</ol> |
473 |
</div> |
474 |
<div id="image_1_image_metrics" style="display: none;"> |
475 |
<ol> |
476 |
<li> |
477 |
<label for="image_1_Dx">Display height</label> |
478 |
<input type="text" name="image_1_Dx" id="image_1_Dx" size="2" value="[% image_1_Dx |html %]" /> |
479 |
</li> |
480 |
<li> |
481 |
<label for="image_1_Tx">Lower left X coordinate</label> |
482 |
<input type="text" name="image_1_Tx" id="image_1_Tx" size="2" value="[% image_1_Tx |html %]" /> |
483 |
</li> |
484 |
<li> |
485 |
<label for="image_1_Ty">Lower left Y coordinate</label> |
486 |
<input type="text" name="image_1_Ty" id="image_1_Ty" size="2" value="[% image_1_Ty |html %]" /> |
487 |
</li> |
488 |
</ol> |
489 |
</div> |
490 |
<!-- These pdf image parameters are currently unused, but implimented and need to default to zero --> |
491 |
<input type="hidden" name="image_1_Ox" value="0" /><!-- Ox,Oy should be set to 0 unless you want special effects see http://www.adobe.com/devnet/pdf/pdf_reference.html ISO 32000-1 --> |
492 |
<input type="hidden" name="image_1_Oy" value="0" /> |
493 |
<input type="hidden" name="image_1_Sx" value="0" /><!-- Sx,Sy allow scaling of the image --> |
494 |
<input type="hidden" name="image_1_Sy" value="0" /> |
495 |
</fieldset> |
496 |
</li> |
497 |
<li> |
498 |
<fieldset> |
499 |
<legend>Image 2</legend> |
500 |
<ol> |
501 |
<li> |
502 |
<label for="image_2_image_source">Image source</label> |
503 |
<select name="image_2_image_source" id="image_2_image_source"> |
504 |
[% FOREACH image_2_image_sourc IN image_2_image_source %] |
505 |
[% IF ( image_2_image_sourc.selected ) %] |
506 |
<option value="[% image_2_image_sourc.type %]" selected="selected">[% image_2_image_sourc.name %]</option> |
507 |
[% ELSE %] |
508 |
<option value="[% image_2_image_sourc.type %]">[% image_2_image_sourc.name %]</option> |
509 |
[% END %] |
510 |
[% END %] |
511 |
</select> |
512 |
</li> |
513 |
</ol> |
514 |
<div id="image_2_image_name" style="display: none;"> |
515 |
<ol> |
516 |
<li> |
517 |
<label for="image_2_image_name">Image</label> |
518 |
<select name="image_2_image_name" id="image_2_image_name"> |
519 |
[% FOREACH image_2_image_nam IN image_2_image_name %] |
520 |
[% IF ( image_2_image_nam.selected ) %] |
521 |
<option value="[% image_2_image_nam.type %]" selected="selected">[% image_2_image_nam.name %]</option> |
522 |
[% ELSE %] |
523 |
<option value="[% image_2_image_nam.type %]">[% image_2_image_nam.name %]</option> |
524 |
[% END %] |
525 |
[% END %] |
526 |
</select> |
527 |
</li> |
528 |
</ol> |
529 |
</div> |
530 |
<div id="image_2_image_metrics" style="display: none;"> |
531 |
<ol> |
532 |
<li> |
533 |
<label for="image_2_Dx">Display height</label> |
534 |
<input type="text" name="image_2_Dx" id="image_2_Dx" size="2" value="[% image_2_Dx |html %]" /> |
535 |
</li> |
536 |
<li> |
537 |
<label for="image_2_Tx">Lower left X coordinate</label> |
538 |
<input type="text" name="image_2_Tx" id="image_2_Tx" size="2" value="[% image_2_Tx |html %]" /> |
539 |
</li> |
540 |
<li> |
541 |
<label for="image_2_Ty">Lower left Y coordinate</label> |
542 |
<input type="text" name="image_2_Ty" id="image_2_Ty" size="2" value="[% image_2_Ty |html %]" /> |
543 |
</li> |
544 |
</ol> |
545 |
</div> |
546 |
<!-- These pdf image parameters are currently unused, but implimented and need to default to zero --> |
547 |
<input type="hidden" name="image_2_Ox" value="0" /><!-- Ox,Oy should be set to 0 unless you want special effects see http://www.adobe.com/devnet/pdf/pdf_reference.html ISO 32000-1 --> |
548 |
<input type="hidden" name="image_2_Oy" value="0" /><!-- Sx,Sy allow scaling of the image --> |
549 |
<input type="hidden" name="image_2_Sx" value="0" /> |
550 |
<input type="hidden" name="image_2_Sy" value="0" /> |
551 |
</fieldset> |
552 |
</li> |
553 |
</ol> |
554 |
</fieldset> |
555 |
</li> |
556 |
</ol> |
533 |
</fieldset> |
557 |
</fieldset> |
534 |
</div> |
558 |
</div> |
535 |
</div> |
559 |
</div> |
536 |
- |
|
|