Lines 1-6
Link Here
|
|
|
1 |
[% PROCESS 'i18n.inc' %] |
1 |
[% SET footerjs = 1 %] |
2 |
[% SET footerjs = 1 %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
<title>Koha › Tools › Patron card creator › Layout › [% IF ( layout_id ) %]Edit ([% layout_id %])[% ELSE %]New[% END %]</title> |
4 |
<title>[% t('Koha › Tools › Patron card creator › Layout ›') %] [% IF ( layout_id ) %][% t('Edit (') %][% layout_id %])[% ELSE %][% t('New') %][% END %]</title> |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
5 |
[% INCLUDE 'doc-head-close.inc' %] |
5 |
</head> |
6 |
</head> |
6 |
|
7 |
|
Lines 8-18
Link Here
|
8 |
[% INCLUDE 'header.inc' %] |
9 |
[% INCLUDE 'header.inc' %] |
9 |
[% INCLUDE 'cat-search.inc' %] |
10 |
[% INCLUDE 'cat-search.inc' %] |
10 |
<div id="breadcrumbs"> |
11 |
<div id="breadcrumbs"> |
11 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> › |
12 |
<a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › |
12 |
<a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › |
13 |
<a href="/cgi-bin/koha/tools/tools-home.pl">[% t('Tools') %]</a> › |
13 |
<a href="/cgi-bin/koha/patroncards/home.pl">Patron card creator</a> › |
14 |
<a href="/cgi-bin/koha/patroncards/home.pl">[% t('Patron card creator') %]</a> › |
14 |
<a href="/cgi-bin/koha/patroncards/manage.pl?card_element=layout">Layouts</a> › |
15 |
<a href="/cgi-bin/koha/patroncards/manage.pl?card_element=layout">[% t('Layouts') %]</a> › |
15 |
[% IF ( layout_id ) %]Edit ([% layout_id %])[% ELSE %]New[% END %] |
16 |
[% IF ( layout_id ) %][% t('Edit (') %][% layout_id %])[% ELSE %][% t('New') %][% END %] |
16 |
</div> |
17 |
</div> |
17 |
<div id="doc3" class="yui-t2"> |
18 |
<div id="doc3" class="yui-t2"> |
18 |
<div id="bd"> |
19 |
<div id="bd"> |
Lines 30-47
Link Here
|
30 |
<div class="yui-g"> |
31 |
<div class="yui-g"> |
31 |
<div class="yui-g first"> |
32 |
<div class="yui-g first"> |
32 |
<fieldset class="rows"> |
33 |
<fieldset class="rows"> |
33 |
<legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] patron card text layout</legend> |
34 |
<legend>[% IF ( layout_id ) %][% t('Edit') %][% ELSE %][% t('Create') %][% END %] [% t('patron card text layout') %]</legend> |
34 |
<ol> |
35 |
<ol> |
35 |
<li> |
36 |
<li> |
36 |
<fieldset> |
37 |
<fieldset> |
37 |
<legend>General settings</legend> |
38 |
<legend>[% t('General settings') %]</legend> |
38 |
<ol> |
39 |
<ol> |
39 |
<li> |
40 |
<li> |
40 |
<label for="layout_name">Layout name: </label> |
41 |
<label for="layout_name">[% t('Layout name:') %] </label> |
41 |
<input type="text" name="layout_name" id="layout_name" size="20" value="[% layout_name %]" /> |
42 |
<input type="text" name="layout_name" id="layout_name" size="20" value="[% layout_name %]" /> |
42 |
</li> |
43 |
</li> |
43 |
<li> |
44 |
<li> |
44 |
<label for="units">Units: </label> |
45 |
<label for="units">[% t('Units:') %] </label> |
45 |
<select id="units" name="units"> |
46 |
<select id="units" name="units"> |
46 |
[% FOREACH unit IN units %] |
47 |
[% FOREACH unit IN units %] |
47 |
[% IF ( unit.selected ) %] |
48 |
[% IF ( unit.selected ) %] |
Lines 55-87
Link Here
|
55 |
</select> |
56 |
</select> |
56 |
</li> |
57 |
</li> |
57 |
<li> |
58 |
<li> |
58 |
<label for="page_side">Page side: </label> |
59 |
<label for="page_side">[% t('Page side:') %] </label> |
59 |
[% IF ( page_side ) %] |
60 |
[% IF ( page_side ) %] |
60 |
<input type="radio" name="page_side" id="page_side" value="F" />Front |
61 |
<input type="radio" name="page_side" id="page_side" value="F" />[% t('Front') %] |
61 |
<input type="radio" name="page_side" id="page_side" value="B" checked="checked" />Back |
62 |
<input type="radio" name="page_side" id="page_side" value="B" checked="checked" />[% t('Back') %] |
62 |
[% ELSE %] |
63 |
[% ELSE %] |
63 |
<input type="radio" name="page_side" id="page_side" value="F" checked="checked" />Front |
64 |
<input type="radio" name="page_side" id="page_side" value="F" checked="checked" />[% t('Front') %] |
64 |
<input type="radio" name="page_side" id="page_side" value="B" />Back |
65 |
<input type="radio" name="page_side" id="page_side" value="B" />[% t('Back') %] |
65 |
[% END %] |
66 |
[% END %] |
66 |
</li> |
67 |
</li> |
67 |
<li> |
68 |
<li> |
68 |
<label for="guide_box">Guide box:</label> |
69 |
<label for="guide_box">[% t('Guide box:') %]</label> |
69 |
[% IF ( guide_box ) %] |
70 |
[% IF ( guide_box ) %] |
70 |
<input type="radio" name="guide_box" id="guide_box" value="1" checked="checked" />On |
71 |
<input type="radio" name="guide_box" id="guide_box" value="1" checked="checked" />[% t('On') %] |
71 |
<input type="radio" name="guide_box" id="guide_box" value="0" />Off |
72 |
<input type="radio" name="guide_box" id="guide_box" value="0" />[% t('Off') %] |
72 |
[% ELSE %] |
73 |
[% ELSE %] |
73 |
<input type="radio" name="guide_box" id="guide_box" value="1" />On |
74 |
<input type="radio" name="guide_box" id="guide_box" value="1" />[% t('On') %] |
74 |
<input type="radio" name="guide_box" id="guide_box" value="0" checked="checked" />Off |
75 |
<input type="radio" name="guide_box" id="guide_box" value="0" checked="checked" />[% t('Off') %] |
75 |
[% END %] |
76 |
[% END %] |
76 |
</li> |
77 |
</li> |
77 |
<li> |
78 |
<li> |
78 |
<label for="guide_grid">Guide grid:</label> |
79 |
<label for="guide_grid">[% t('Guide grid:') %]</label> |
79 |
[% IF ( guide_grid ) %] |
80 |
[% IF ( guide_grid ) %] |
80 |
<input type="radio" name="guide_grid" id="guide_grid" value="1" checked="checked" />On |
81 |
<input type="radio" name="guide_grid" id="guide_grid" value="1" checked="checked" />[% t('On') %] |
81 |
<input type="radio" name="guide_grid" id="guide_grid" value="0" />Off |
82 |
<input type="radio" name="guide_grid" id="guide_grid" value="0" />[% t('Off') %] |
82 |
[% ELSE %] |
83 |
[% ELSE %] |
83 |
<input type="radio" name="guide_grid" id="guide_grid" value="1" />On |
84 |
<input type="radio" name="guide_grid" id="guide_grid" value="1" />[% t('On') %] |
84 |
<input type="radio" name="guide_grid" id="guide_grid" value="0" checked="checked" />Off |
85 |
<input type="radio" name="guide_grid" id="guide_grid" value="0" checked="checked" />[% t('Off') %] |
85 |
[% END %] |
86 |
[% END %] |
86 |
</li> |
87 |
</li> |
87 |
</ol> |
88 |
</ol> |
Lines 89-111
Link Here
|
89 |
</li> |
90 |
</li> |
90 |
<li> |
91 |
<li> |
91 |
<fieldset> |
92 |
<fieldset> |
92 |
<legend>Text fields</legend> |
93 |
<legend>[% t('Text fields') %]</legend> |
93 |
<ol> |
94 |
<ol> |
94 |
<li> |
95 |
<li> |
95 |
<fieldset> |
96 |
<fieldset> |
96 |
[% IF ( field_1 ) %] |
97 |
[% IF ( field_1 ) %] |
97 |
<legend><input type="checkbox" name="field_1_enable" id="field_1_enable" value="1" checked="checked" /> Field 1</legend> |
98 |
<legend><input type="checkbox" name="field_1_enable" id="field_1_enable" value="1" checked="checked" /> [% t('Field 1') %]</legend> |
98 |
[% ELSE %] |
99 |
[% ELSE %] |
99 |
<legend><input type="checkbox" name="field_1_enable" id="field_1_enable" value="1" /> Field 1</legend> |
100 |
<legend><input type="checkbox" name="field_1_enable" id="field_1_enable" value="1" /> [% t('Field 1') %]</legend> |
100 |
[% END %] |
101 |
[% END %] |
101 |
<div id="field_1_select" style="display: none;"> |
102 |
<div id="field_1_select" style="display: none;"> |
102 |
<ol> |
103 |
<ol> |
103 |
<li> |
104 |
<li> |
104 |
<label for="field_1_text">Text: </label> |
105 |
<label for="field_1_text">[% t('Text:') %] </label> |
105 |
<input type="text" name="field_1_text" id="field_1_text" size="60" value="[% field_1_text |html %]" /> |
106 |
<input type="text" name="field_1_text" id="field_1_text" size="60" value="[% field_1_text |html %]" /> |
106 |
</li> |
107 |
</li> |
107 |
<li> |
108 |
<li> |
108 |
<label for="field_1_font">Font: </label> |
109 |
<label for="field_1_font">[% t('Font:') %] </label> |
109 |
<select name="field_1_font" id="field_1_font"> |
110 |
<select name="field_1_font" id="field_1_font"> |
110 |
[% FOREACH field_1_fon IN field_1_font %] |
111 |
[% FOREACH field_1_fon IN field_1_font %] |
111 |
[% IF ( field_1_fon.selected ) %] |
112 |
[% IF ( field_1_fon.selected ) %] |
Lines 117-128
Link Here
|
117 |
</select> |
118 |
</select> |
118 |
</li> |
119 |
</li> |
119 |
<li> |
120 |
<li> |
120 |
<label for="field_1_font_size">Font size: </label> |
121 |
<label for="field_1_font_size">[% t('Font size:') %] </label> |
121 |
<input type="text" name="field_1_font_size" id="field_1_font_size" size="2" value="[% field_1_font_size |html %]" /> |
122 |
<input type="text" name="field_1_font_size" id="field_1_font_size" size="2" value="[% field_1_font_size |html %]" /> |
122 |
<span class="font_unit"> pt</span> |
123 |
<span class="font_unit"> [% t('pt') %]</span> |
123 |
</li> |
124 |
</li> |
124 |
<li> |
125 |
<li> |
125 |
<label for="field_1_text_alignment">Text alignment: </label> |
126 |
<label for="field_1_text_alignment">[% t('Text alignment:') %] </label> |
126 |
<select name="field_1_text_alignment" id="field_1_text_alignment"> |
127 |
<select name="field_1_text_alignment" id="field_1_text_alignment"> |
127 |
[% FOREACH field_1_text_alignmen IN field_1_text_alignment %] |
128 |
[% FOREACH field_1_text_alignmen IN field_1_text_alignment %] |
128 |
[% IF ( field_1_text_alignmen.selected ) %] |
129 |
[% IF ( field_1_text_alignmen.selected ) %] |
Lines 134-144
Link Here
|
134 |
</select> |
135 |
</select> |
135 |
</li> |
136 |
</li> |
136 |
<li> |
137 |
<li> |
137 |
<label for="field_1_llx">Lower left X coordinate: </label> |
138 |
<label for="field_1_llx">[% t('Lower left X coordinate:') %] </label> |
138 |
<input type="text" name="field_1_llx" id="field_1_llx" size="2" value="[% field_1_llx |html %]" /> |
139 |
<input type="text" name="field_1_llx" id="field_1_llx" size="2" value="[% field_1_llx |html %]" /> |
139 |
</li> |
140 |
</li> |
140 |
<li> |
141 |
<li> |
141 |
<label for="field_1_lly">Lower left Y coordinate: </label> |
142 |
<label for="field_1_lly">[% t('Lower left Y coordinate:') %] </label> |
142 |
<input type="text" name="field_1_lly" id="field_1_lly" size="2" value="[% field_1_lly |html %]" /> |
143 |
<input type="text" name="field_1_lly" id="field_1_lly" size="2" value="[% field_1_lly |html %]" /> |
143 |
</li> |
144 |
</li> |
144 |
</ol> |
145 |
</ol> |
Lines 148-165
Link Here
|
148 |
<li> |
149 |
<li> |
149 |
<fieldset> |
150 |
<fieldset> |
150 |
[% IF ( field_2 ) %] |
151 |
[% IF ( field_2 ) %] |
151 |
<legend><input type="checkbox" name="field_2_enable" id="field_2_enable" value="1" checked="checked"/> Field 2</legend> |
152 |
<legend><input type="checkbox" name="field_2_enable" id="field_2_enable" value="1" checked="checked" /> [% t('Field 2') %]</legend> |
152 |
[% ELSE %] |
153 |
[% ELSE %] |
153 |
<legend><input type="checkbox" name="field_2_enable" id="field_2_enable" value="1" /> Field 2</legend> |
154 |
<legend><input type="checkbox" name="field_2_enable" id="field_2_enable" value="1" /> [% t('Field 2') %]</legend> |
154 |
[% END %] |
155 |
[% END %] |
155 |
<div id="field_2_select" style="display: none;"> |
156 |
<div id="field_2_select" style="display: none;"> |
156 |
<ol> |
157 |
<ol> |
157 |
<li> |
158 |
<li> |
158 |
<label for="field_2_text">Text: </label> |
159 |
<label for="field_2_text">[% t('Text:') %] </label> |
159 |
<input type="text" name="field_2_text" id="field_2_text" size="60" value="[% field_2_text |html %]" /> |
160 |
<input type="text" name="field_2_text" id="field_2_text" size="60" value="[% field_2_text |html %]" /> |
160 |
</li> |
161 |
</li> |
161 |
<li> |
162 |
<li> |
162 |
<label for="field_2_font">Font: </label> |
163 |
<label for="field_2_font">[% t('Font:') %] </label> |
163 |
<select name="field_2_font" id="field_2_font"> |
164 |
<select name="field_2_font" id="field_2_font"> |
164 |
[% FOREACH field_2_fon IN field_2_font %] |
165 |
[% FOREACH field_2_fon IN field_2_font %] |
165 |
[% IF ( field_2_fon.selected ) %] |
166 |
[% IF ( field_2_fon.selected ) %] |
Lines 171-182
Link Here
|
171 |
</select> |
172 |
</select> |
172 |
</li> |
173 |
</li> |
173 |
<li> |
174 |
<li> |
174 |
<label for="field_2_font_size">Font size: </label> |
175 |
<label for="field_2_font_size">[% t('Font size:') %] </label> |
175 |
<input type="text" name="field_2_font_size" id="field_2_font_size" size="2" value="[% field_2_font_size |html %]" /> |
176 |
<input type="text" name="field_2_font_size" id="field_2_font_size" size="2" value="[% field_2_font_size |html %]" /> |
176 |
<span class="font_unit"> pt</span> |
177 |
<span class="font_unit"> [% t('pt') %]</span> |
177 |
</li> |
178 |
</li> |
178 |
<li> |
179 |
<li> |
179 |
<label for="field_2_text_alignment">Text alignment: </label> |
180 |
<label for="field_2_text_alignment">[% t('Text alignment:') %] </label> |
180 |
<select name="field_2_text_alignment" id="field_2_text_alignment"> |
181 |
<select name="field_2_text_alignment" id="field_2_text_alignment"> |
181 |
[% FOREACH field_2_text_alignmen IN field_2_text_alignment %] |
182 |
[% FOREACH field_2_text_alignmen IN field_2_text_alignment %] |
182 |
[% IF ( field_2_text_alignmen.selected ) %] |
183 |
[% IF ( field_2_text_alignmen.selected ) %] |
Lines 188-198
Link Here
|
188 |
</select> |
189 |
</select> |
189 |
</li> |
190 |
</li> |
190 |
<li> |
191 |
<li> |
191 |
<label for="field_2_llx">Lower left X coordinate: </label> |
192 |
<label for="field_2_llx">[% t('Lower left X coordinate:') %] </label> |
192 |
<input type="text" name="field_2_llx" id="field_2_llx" size="2" value="[% field_2_llx |html %]" /> |
193 |
<input type="text" name="field_2_llx" id="field_2_llx" size="2" value="[% field_2_llx |html %]" /> |
193 |
</li> |
194 |
</li> |
194 |
<li> |
195 |
<li> |
195 |
<label for="field_2_lly">Lower left Y coordinate: </label> |
196 |
<label for="field_2_lly">[% t('Lower left Y coordinate:') %] </label> |
196 |
<input type="text" name="field_2_lly" id="field_2_lly" size="2" value="[% field_2_lly |html %]" /> |
197 |
<input type="text" name="field_2_lly" id="field_2_lly" size="2" value="[% field_2_lly |html %]" /> |
197 |
</li> |
198 |
</li> |
198 |
</ol> |
199 |
</ol> |
Lines 202-219
Link Here
|
202 |
<li> |
203 |
<li> |
203 |
<fieldset> |
204 |
<fieldset> |
204 |
[% IF ( field_3 ) %] |
205 |
[% IF ( field_3 ) %] |
205 |
<legend><input type="checkbox" name="field_3_enable" id="field_3_enable" value="1" checked="checked"/> Field 3</legend> |
206 |
<legend><input type="checkbox" name="field_3_enable" id="field_3_enable" value="1" checked="checked" /> [% t('Field 3') %]</legend> |
206 |
[% ELSE %] |
207 |
[% ELSE %] |
207 |
<legend><input type="checkbox" name="field_3_enable" id="field_3_enable" value="0" /> Field 3</legend> |
208 |
<legend><input type="checkbox" name="field_3_enable" id="field_3_enable" value="0" /> [% t('Field 3') %]</legend> |
208 |
[% END %] |
209 |
[% END %] |
209 |
<div id="field_3_select" style="display: none;"> |
210 |
<div id="field_3_select" style="display: none;"> |
210 |
<ol> |
211 |
<ol> |
211 |
<li> |
212 |
<li> |
212 |
<label for="field_3_text">Text: </label> |
213 |
<label for="field_3_text">[% t('Text:') %] </label> |
213 |
<input type="text" name="field_3_text" id="field_3_text" size="60" value="[% field_3_text |html %]" /> |
214 |
<input type="text" name="field_3_text" id="field_3_text" size="60" value="[% field_3_text |html %]" /> |
214 |
</li> |
215 |
</li> |
215 |
<li> |
216 |
<li> |
216 |
<label for="field_3_font">Font: </label> |
217 |
<label for="field_3_font">[% t('Font:') %] </label> |
217 |
<select name="field_3_font" id="field_3_font"> |
218 |
<select name="field_3_font" id="field_3_font"> |
218 |
[% FOREACH field_3_fon IN field_3_font %] |
219 |
[% FOREACH field_3_fon IN field_3_font %] |
219 |
[% IF ( field_3_fon.selected ) %] |
220 |
[% IF ( field_3_fon.selected ) %] |
Lines 225-236
Link Here
|
225 |
</select> |
226 |
</select> |
226 |
</li> |
227 |
</li> |
227 |
<li> |
228 |
<li> |
228 |
<label for="field_3_font_size">Font size: </label> |
229 |
<label for="field_3_font_size">[% t('Font size:') %] </label> |
229 |
<input type="text" name="field_3_font_size" id="field_3_font_size" size="2" value="[% field_3_font_size |html %]" /> |
230 |
<input type="text" name="field_3_font_size" id="field_3_font_size" size="2" value="[% field_3_font_size |html %]" /> |
230 |
<span class="font_unit"> pt</span> |
231 |
<span class="font_unit"> [% t('pt') %]</span> |
231 |
</li> |
232 |
</li> |
232 |
<li> |
233 |
<li> |
233 |
<label for="field_3_text_alignment">Text alignment: </label> |
234 |
<label for="field_3_text_alignment">[% t('Text alignment:') %] </label> |
234 |
<select name="field_3_text_alignment" id="field_3_text_alignment"> |
235 |
<select name="field_3_text_alignment" id="field_3_text_alignment"> |
235 |
[% FOREACH field_3_text_alignmen IN field_3_text_alignment %] |
236 |
[% FOREACH field_3_text_alignmen IN field_3_text_alignment %] |
236 |
[% IF ( field_3_text_alignmen.selected ) %] |
237 |
[% IF ( field_3_text_alignmen.selected ) %] |
Lines 242-252
Link Here
|
242 |
</select> |
243 |
</select> |
243 |
</li> |
244 |
</li> |
244 |
<li> |
245 |
<li> |
245 |
<label for="field_3_llx">Lower left X coordinate: </label> |
246 |
<label for="field_3_llx">[% t('Lower left X coordinate:') %] </label> |
246 |
<input type="text" name="field_3_llx" id="field_3_llx" size="2" value="[% field_3_llx |html %]" /> |
247 |
<input type="text" name="field_3_llx" id="field_3_llx" size="2" value="[% field_3_llx |html %]" /> |
247 |
</li> |
248 |
</li> |
248 |
<li> |
249 |
<li> |
249 |
<label for="field_3_lly">Lower left Y coordinate: </label> |
250 |
<label for="field_3_lly">[% t('Lower left Y coordinate:') %] </label> |
250 |
<input type="text" name="field_3_lly" id="field_3_lly" size="2" value="[% field_3_lly |html %]" /> |
251 |
<input type="text" name="field_3_lly" id="field_3_lly" size="2" value="[% field_3_lly |html %]" /> |
251 |
</li> |
252 |
</li> |
252 |
</ol> |
253 |
</ol> |
Lines 261-267
Link Here
|
261 |
</div> |
262 |
</div> |
262 |
<div class="yui-g"> |
263 |
<div class="yui-g"> |
263 |
<fieldset class="rows"> |
264 |
<fieldset class="rows"> |
264 |
<legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] patron card graphic layout</legend> |
265 |
<legend>[% IF ( layout_id ) %][% t('Edit') %][% ELSE %][% t('Create') %][% END %] [% t('patron card graphic layout') %]</legend> |
265 |
<ol> |
266 |
<ol> |
266 |
<!-- |
267 |
<!-- |
267 |
<li> |
268 |
<li> |
Lines 277-286
Link Here
|
277 |
--> |
278 |
--> |
278 |
<li> |
279 |
<li> |
279 |
<fieldset> |
280 |
<fieldset> |
280 |
<legend>Barcode</legend> |
281 |
<legend>[% t('Barcode') %]</legend> |
281 |
<ol> |
282 |
<ol> |
282 |
<li> |
283 |
<li> |
283 |
<label for="barcode_print">Print card number as barcode: </label> |
284 |
<label for="barcode_print">[% t('Print card number as barcode:') %] </label> |
284 |
[% IF ( barcode_print ) %] |
285 |
[% IF ( barcode_print ) %] |
285 |
<input type="checkbox" name="barcode_print" id="barcode_print" value="1" checked="checked" /> |
286 |
<input type="checkbox" name="barcode_print" id="barcode_print" value="1" checked="checked" /> |
286 |
[% ELSE %] |
287 |
[% ELSE %] |
Lines 291-313
Link Here
|
291 |
<div id="barcode_param" style="display: none;"> |
292 |
<div id="barcode_param" style="display: none;"> |
292 |
<ol> |
293 |
<ol> |
293 |
<li> |
294 |
<li> |
294 |
<label for="barcode_llx">Lower left X coordinate: </label> |
295 |
<label for="barcode_llx">[% t('Lower left X coordinate:') %] </label> |
295 |
<input type="text" name="barcode_llx" id="barcode_llx" size="2" value="[% barcode_llx |html %]" /> |
296 |
<input type="text" name="barcode_llx" id="barcode_llx" size="2" value="[% barcode_llx |html %]" /> |
296 |
</li> |
297 |
</li> |
297 |
<li> |
298 |
<li> |
298 |
<label for="barcode_lly">Lower left Y coordinate: </label> |
299 |
<label for="barcode_lly">[% t('Lower left Y coordinate:') %] </label> |
299 |
<input type="text" name="barcode_lly" id="barcode_lly" size="2" value="[% barcode_lly |html %]" /> |
300 |
<input type="text" name="barcode_lly" id="barcode_lly" size="2" value="[% barcode_lly |html %]" /> |
300 |
</li> |
301 |
</li> |
301 |
<li> |
302 |
<li> |
302 |
<label for="barcode_height_scale">Scale height (relative to card): </label> |
303 |
<label for="barcode_height_scale">[% t('Scale height (relative to card):') %] </label> |
303 |
<input type="text" name="barcode_height_scale" id="barcode_height_scale" size="2" value="[% barcode_height_scale |html %]" /> |
304 |
<input type="text" name="barcode_height_scale" id="barcode_height_scale" size="2" value="[% barcode_height_scale |html %]" /> |
304 |
</li> |
305 |
</li> |
305 |
<li> |
306 |
<li> |
306 |
<label for="barcode_width_scale">Scale width (relative to card): </label> |
307 |
<label for="barcode_width_scale">[% t('Scale width (relative to card):') %] </label> |
307 |
<input type="text" name="barcode_width_scale" id="barcode_width_scale" size="2" value="[% barcode_width_scale |html %]" /> |
308 |
<input type="text" name="barcode_width_scale" id="barcode_width_scale" size="2" value="[% barcode_width_scale |html %]" /> |
308 |
</li> |
309 |
</li> |
309 |
<li> |
310 |
<li> |
310 |
<label for="barcode_type">Barcode type: </label> |
311 |
<label for="barcode_type">[% t('Barcode type:') %] </label> |
311 |
<select name="barcode_type" id="barcode_type"> |
312 |
<select name="barcode_type" id="barcode_type"> |
312 |
[% FOREACH barcode_typ IN barcode_type %] |
313 |
[% FOREACH barcode_typ IN barcode_type %] |
313 |
[% IF ( barcode_typ.selected ) %] |
314 |
[% IF ( barcode_typ.selected ) %] |
Lines 319-325
Link Here
|
319 |
</select> |
320 |
</select> |
320 |
</li> |
321 |
</li> |
321 |
<li> |
322 |
<li> |
322 |
<label for="barcode_text_print">Print card number as text under barcode: </label> |
323 |
<label for="barcode_text_print">[% t('Print card number as text under barcode:') %] </label> |
323 |
[% IF ( barcode_text_print ) %] |
324 |
[% IF ( barcode_text_print ) %] |
324 |
<input type="checkbox" name="barcode_text_print" id="barcode_text_print" value="1" checked="checked" /> |
325 |
<input type="checkbox" name="barcode_text_print" id="barcode_text_print" value="1" checked="checked" /> |
325 |
[% ELSE %] |
326 |
[% ELSE %] |
Lines 332-345
Link Here
|
332 |
</li> |
333 |
</li> |
333 |
<li> |
334 |
<li> |
334 |
<fieldset> |
335 |
<fieldset> |
335 |
<legend>Images</legend> |
336 |
<legend>[% t('Images') %]</legend> |
336 |
<ol> |
337 |
<ol> |
337 |
<li> |
338 |
<li> |
338 |
<fieldset> |
339 |
<fieldset> |
339 |
<legend>Image 1</legend> |
340 |
<legend>[% t('Image 1') %]</legend> |
340 |
<ol> |
341 |
<ol> |
341 |
<li> |
342 |
<li> |
342 |
<label for="image_1_image_source">Image source: </label> |
343 |
<label for="image_1_image_source">[% t('Image source:') %] </label> |
343 |
<select name="image_1_image_source" id="image_1_image_source"> |
344 |
<select name="image_1_image_source" id="image_1_image_source"> |
344 |
[% FOREACH image_1_image_sourc IN image_1_image_source %] |
345 |
[% FOREACH image_1_image_sourc IN image_1_image_source %] |
345 |
[% IF ( image_1_image_sourc.selected ) %] |
346 |
[% IF ( image_1_image_sourc.selected ) %] |
Lines 354-360
Link Here
|
354 |
<div id="image_1_image_name" style="display: none;"> |
355 |
<div id="image_1_image_name" style="display: none;"> |
355 |
<ol> |
356 |
<ol> |
356 |
<li> |
357 |
<li> |
357 |
<label for="image_1_image_name">Image: </label> |
358 |
<label for="image_1_image_name">[% t('Image:') %] </label> |
358 |
<select name="image_1_image_name" id="image_1_image_name"> |
359 |
<select name="image_1_image_name" id="image_1_image_name"> |
359 |
[% FOREACH image_1_image_nam IN image_1_image_name %] |
360 |
[% FOREACH image_1_image_nam IN image_1_image_name %] |
360 |
[% IF ( image_1_image_nam.selected ) %] |
361 |
[% IF ( image_1_image_nam.selected ) %] |
Lines 370-384
Link Here
|
370 |
<div id="image_1_image_metrics" style="display: none;"> |
371 |
<div id="image_1_image_metrics" style="display: none;"> |
371 |
<ol> |
372 |
<ol> |
372 |
<li> |
373 |
<li> |
373 |
<label for="image_1_Dx">Display height: </label> |
374 |
<label for="image_1_Dx">[% t('Display height:') %] </label> |
374 |
<input type="text" name="image_1_Dx" id="image_1_Dx" size="2" value="[% image_1_Dx |html %]" /> |
375 |
<input type="text" name="image_1_Dx" id="image_1_Dx" size="2" value="[% image_1_Dx |html %]" /> |
375 |
</li> |
376 |
</li> |
376 |
<li> |
377 |
<li> |
377 |
<label for="image_1_Tx">Lower left X coordinate: </label> |
378 |
<label for="image_1_Tx">[% t('Lower left X coordinate:') %] </label> |
378 |
<input type="text" name="image_1_Tx" id="image_1_Tx" size="2" value="[% image_1_Tx |html %]" /> |
379 |
<input type="text" name="image_1_Tx" id="image_1_Tx" size="2" value="[% image_1_Tx |html %]" /> |
379 |
</li> |
380 |
</li> |
380 |
<li> |
381 |
<li> |
381 |
<label for="image_1_Ty">Lower left Y coordinate: </label> |
382 |
<label for="image_1_Ty">[% t('Lower left Y coordinate:') %] </label> |
382 |
<input type="text" name="image_1_Ty" id="image_1_Ty" size="2" value="[% image_1_Ty |html %]" /> |
383 |
<input type="text" name="image_1_Ty" id="image_1_Ty" size="2" value="[% image_1_Ty |html %]" /> |
383 |
</li> |
384 |
</li> |
384 |
</ol> |
385 |
</ol> |
Lines 392-401
Link Here
|
392 |
</li> |
393 |
</li> |
393 |
<li> |
394 |
<li> |
394 |
<fieldset> |
395 |
<fieldset> |
395 |
<legend>Image 2</legend> |
396 |
<legend>[% t('Image 2') %]</legend> |
396 |
<ol> |
397 |
<ol> |
397 |
<li> |
398 |
<li> |
398 |
<label for="image_2_image_source">Image source: </label> |
399 |
<label for="image_2_image_source">[% t('Image source:') %] </label> |
399 |
<select name="image_2_image_source" id="image_2_image_source"> |
400 |
<select name="image_2_image_source" id="image_2_image_source"> |
400 |
[% FOREACH image_2_image_sourc IN image_2_image_source %] |
401 |
[% FOREACH image_2_image_sourc IN image_2_image_source %] |
401 |
[% IF ( image_2_image_sourc.selected ) %] |
402 |
[% IF ( image_2_image_sourc.selected ) %] |
Lines 410-416
Link Here
|
410 |
<div id="image_2_image_name" style="display: none;"> |
411 |
<div id="image_2_image_name" style="display: none;"> |
411 |
<ol> |
412 |
<ol> |
412 |
<li> |
413 |
<li> |
413 |
<label for="image_2_image_name">Image: </label> |
414 |
<label for="image_2_image_name">[% t('Image:') %] </label> |
414 |
<select name="image_2_image_name" id="image_2_image_name"> |
415 |
<select name="image_2_image_name" id="image_2_image_name"> |
415 |
[% FOREACH image_2_image_nam IN image_2_image_name %] |
416 |
[% FOREACH image_2_image_nam IN image_2_image_name %] |
416 |
[% IF ( image_2_image_nam.selected ) %] |
417 |
[% IF ( image_2_image_nam.selected ) %] |
Lines 426-440
Link Here
|
426 |
<div id="image_2_image_metrics" style="display: none;"> |
427 |
<div id="image_2_image_metrics" style="display: none;"> |
427 |
<ol> |
428 |
<ol> |
428 |
<li> |
429 |
<li> |
429 |
<label for="image_2_Dx">Display height: </label> |
430 |
<label for="image_2_Dx">[% t('Display height:') %] </label> |
430 |
<input type="text" name="image_2_Dx" id="image_2_Dx" size="2" value="[% image_2_Dx |html %]" /> |
431 |
<input type="text" name="image_2_Dx" id="image_2_Dx" size="2" value="[% image_2_Dx |html %]" /> |
431 |
</li> |
432 |
</li> |
432 |
<li> |
433 |
<li> |
433 |
<label for="image_2_Tx">Lower left X coordinate: </label> |
434 |
<label for="image_2_Tx">[% t('Lower left X coordinate:') %] </label> |
434 |
<input type="text" name="image_2_Tx" id="image_2_Tx" size="2" value="[% image_2_Tx |html %]" /> |
435 |
<input type="text" name="image_2_Tx" id="image_2_Tx" size="2" value="[% image_2_Tx |html %]" /> |
435 |
</li> |
436 |
</li> |
436 |
<li> |
437 |
<li> |
437 |
<label for="image_2_Ty">Lower left Y coordinate: </label> |
438 |
<label for="image_2_Ty">[% t('Lower left Y coordinate:') %] </label> |
438 |
<input type="text" name="image_2_Ty" id="image_2_Ty" size="2" value="[% image_2_Ty |html %]" /> |
439 |
<input type="text" name="image_2_Ty" id="image_2_Ty" size="2" value="[% image_2_Ty |html %]" /> |
439 |
</li> |
440 |
</li> |
440 |
</ol> |
441 |
</ol> |
Lines 455-461
Link Here
|
455 |
</div> |
456 |
</div> |
456 |
<fieldset class="action"> |
457 |
<fieldset class="action"> |
457 |
<input class="btn btn-default btn-default" type="submit" value="Save" /> |
458 |
<input class="btn btn-default btn-default" type="submit" value="Save" /> |
458 |
<a class="cancel" href="/cgi-bin/koha/patroncards/manage.pl?card_element=layout">Cancel</a> |
459 |
<a class="cancel" href="/cgi-bin/koha/patroncards/manage.pl?card_element=layout">[% t('Cancel') %]</a> |
459 |
<input type="hidden" name="op" value="save" /> |
460 |
<input type="hidden" name="op" value="save" /> |
460 |
<input type="hidden" name="layout_id" value="[% layout_id %]" /> |
461 |
<input type="hidden" name="layout_id" value="[% layout_id %]" /> |
461 |
</fieldset> |
462 |
</fieldset> |