|
Lines 142-162
Link Here
|
| 142 |
[% IF library %] |
142 |
[% IF library %] |
| 143 |
<input type="hidden" name="is_a_modif" value="1" /> |
143 |
<input type="hidden" name="is_a_modif" value="1" /> |
| 144 |
[% END %] |
144 |
[% END %] |
| 145 |
<div class="fg-row"> |
145 |
<div class="fg-row input-sm"> |
| 146 |
[% IF library %] |
146 |
[% IF library %] |
| 147 |
<div class="fg-label"> |
147 |
<div class="fg-label"> |
| 148 |
<span class="label">Library code: </span> |
148 |
<span class="label">Library code: </span> |
| 149 |
</div> |
149 |
</div> |
| 150 |
<div class="fg-input"> |
150 |
<div class="fg-text"> |
| 151 |
<input type="hidden" name="branchcode" value="[% library.branchcode | html %]" /> |
151 |
<input type="hidden" name="branchcode" value="[% library.branchcode | html %]" /> |
| 152 |
<div class="fg-text">[% library.branchcode | html %]</div> |
152 |
[% library.branchcode | html %] |
| 153 |
</div> |
153 |
</div> |
| 154 |
[% ELSE %] |
154 |
[% ELSE %] |
| 155 |
<div class="fg-label"> |
155 |
<div class="fg-label"> |
| 156 |
<label for="branchcode" class="required">Library code: </label> |
156 |
<label for="branchcode" class="required">Library code: </label> |
| 157 |
</div> |
157 |
</div> |
| 158 |
<div class="fg-input"> |
158 |
<div class="fg-input"> |
| 159 |
<input type="text" name="branchcode" id="branchcode" size="10" maxlength="10" value="[% library.branchcode | html %]" class="required focus" required="required" /> |
159 |
<input type="text" name="branchcode" id="branchcode" maxlength="10" value="[% library.branchcode | html %]" class="required focus" required="required" /> |
| 160 |
</div> |
160 |
</div> |
| 161 |
<div class="required">Required</div> |
161 |
<div class="required">Required</div> |
| 162 |
[% END %] |
162 |
[% END %] |
|
Lines 167-175
Link Here
|
| 167 |
</div> |
167 |
</div> |
| 168 |
<div class="fg-input"> |
168 |
<div class="fg-input"> |
| 169 |
[% IF library %] |
169 |
[% IF library %] |
| 170 |
<input type="text" name="branchname" id="branchname" size="80" value="[% library.branchname | html %]" class="required focus" required="required" /> |
170 |
<input type="text" name="branchname" id="branchname" value="[% library.branchname | html %]" class="required focus" required="required" /> |
| 171 |
[% ELSE %] |
171 |
[% ELSE %] |
| 172 |
<input type="text" name="branchname" id="branchname" size="80" value="[% library.branchname | html %]" class="required" required="required" /> |
172 |
<input type="text" name="branchname" id="branchname" value="[% library.branchname | html %]" class="required" required="required" /> |
| 173 |
[% END %] |
173 |
[% END %] |
| 174 |
</div> |
174 |
</div> |
| 175 |
<div class="required">Required</div> |
175 |
<div class="required">Required</div> |
|
Lines 181-187
Link Here
|
| 181 |
<label for="branchaddress1">Address line 1: </label> |
181 |
<label for="branchaddress1">Address line 1: </label> |
| 182 |
</div> |
182 |
</div> |
| 183 |
<div class="fg-input"> |
183 |
<div class="fg-input"> |
| 184 |
<input type="text" name="branchaddress1" id="branchaddress1" size="60" value="[% library.branchaddress1 | html %]" /> |
184 |
<input type="text" name="branchaddress1" id="branchaddress1" value="[% library.branchaddress1 | html %]" /> |
| 185 |
</div> |
185 |
</div> |
| 186 |
</div> |
186 |
</div> |
| 187 |
<div class="fg-row"> |
187 |
<div class="fg-row"> |
|
Lines 189-195
Link Here
|
| 189 |
<label for="branchaddress2">Address line 2: </label> |
189 |
<label for="branchaddress2">Address line 2: </label> |
| 190 |
</div> |
190 |
</div> |
| 191 |
<div class="fg-input"> |
191 |
<div class="fg-input"> |
| 192 |
<input type="text" name="branchaddress2" id="branchaddress2" size="60" value="[% library.branchaddress2 | html %]" /> |
192 |
<input type="text" name="branchaddress2" id="branchaddress2" value="[% library.branchaddress2 | html %]" /> |
| 193 |
</div> |
193 |
</div> |
| 194 |
</div> |
194 |
</div> |
| 195 |
<div class="fg-row"> |
195 |
<div class="fg-row"> |
|
Lines 197-203
Link Here
|
| 197 |
<label for="branchaddress3">Address line 3: </label> |
197 |
<label for="branchaddress3">Address line 3: </label> |
| 198 |
</div> |
198 |
</div> |
| 199 |
<div class="fg-input"> |
199 |
<div class="fg-input"> |
| 200 |
<input type="text" name="branchaddress3" id="branchaddress3" size="60" value="[% library.branchaddress3 | html %]" /> |
200 |
<input type="text" name="branchaddress3" id="branchaddress3" value="[% library.branchaddress3 | html %]" /> |
| 201 |
</div> |
201 |
</div> |
| 202 |
</div> |
202 |
</div> |
| 203 |
<div class="fg-row"> |
203 |
<div class="fg-row"> |
|
Lines 205-211
Link Here
|
| 205 |
<label for="branchcity">City: </label> |
205 |
<label for="branchcity">City: </label> |
| 206 |
</div> |
206 |
</div> |
| 207 |
<div class="fg-input"> |
207 |
<div class="fg-input"> |
| 208 |
<input type="text" name="branchcity" id="branchcity" size="60" value="[% library.branchcity | html %]" /> |
208 |
<input type="text" name="branchcity" id="branchcity" value="[% library.branchcity | html %]" /> |
| 209 |
</div> |
209 |
</div> |
| 210 |
</div> |
210 |
</div> |
| 211 |
<div class="fg-row"> |
211 |
<div class="fg-row"> |
|
Lines 213-227
Link Here
|
| 213 |
<label for="branchstate">State: </label> |
213 |
<label for="branchstate">State: </label> |
| 214 |
</div> |
214 |
</div> |
| 215 |
<div class="fg-input"> |
215 |
<div class="fg-input"> |
| 216 |
<input type="text" name="branchstate" id="branchstate" size="60" value="[% library.branchstate | html %]" /> |
216 |
<input type="text" name="branchstate" id="branchstate" value="[% library.branchstate | html %]" /> |
| 217 |
</div> |
217 |
</div> |
| 218 |
</div> |
218 |
</div> |
| 219 |
<div class="fg-row"> |
219 |
<div class="fg-row input-md"> |
| 220 |
<div class="fg-label"> |
220 |
<div class="fg-label"> |
| 221 |
<label for="branchzip">ZIP/Postal code: </label> |
221 |
<label for="branchzip">ZIP/Postal code: </label> |
| 222 |
</div> |
222 |
</div> |
| 223 |
<div class="fg-input"> |
223 |
<div class="fg-input"> |
| 224 |
<input type="text" name="branchzip" id="branchzip" size="25" maxlength="25" value="[% library.branchzip | html %]" /> |
224 |
<input type="text" name="branchzip" id="branchzip" maxlength="25" value="[% library.branchzip | html %]" /> |
| 225 |
</div> |
225 |
</div> |
| 226 |
</div> |
226 |
</div> |
| 227 |
<div class="fg-row"> |
227 |
<div class="fg-row"> |
|
Lines 229-235
Link Here
|
| 229 |
<label for="branchcountry">Country: </label> |
229 |
<label for="branchcountry">Country: </label> |
| 230 |
</div> |
230 |
</div> |
| 231 |
<div class="fg-input"> |
231 |
<div class="fg-input"> |
| 232 |
<input type="text" name="branchcountry" id="branchcountry" size="60" value="[% library.branchcountry | html %]" /> |
232 |
<input type="text" name="branchcountry" id="branchcountry" value="[% library.branchcountry | html %]" /> |
| 233 |
</div> |
233 |
</div> |
| 234 |
</div> |
234 |
</div> |
| 235 |
<div class="fg-row"> |
235 |
<div class="fg-row"> |
|
Lines 237-243
Link Here
|
| 237 |
<label for="branchphone">Phone: </label> |
237 |
<label for="branchphone">Phone: </label> |
| 238 |
</div> |
238 |
</div> |
| 239 |
<div class="fg-input"> |
239 |
<div class="fg-input"> |
| 240 |
<input type="text" name="branchphone" id="branchphone" size="60" value="[% library.branchphone | html %]" /> |
240 |
<input type="text" name="branchphone" id="branchphone" value="[% library.branchphone | html %]" /> |
| 241 |
</div> |
241 |
</div> |
| 242 |
</div> |
242 |
</div> |
| 243 |
<div class="fg-row"> |
243 |
<div class="fg-row"> |
|
Lines 245-251
Link Here
|
| 245 |
<label for="branchfax">Fax: </label> |
245 |
<label for="branchfax">Fax: </label> |
| 246 |
</div> |
246 |
</div> |
| 247 |
<div class="fg-input"> |
247 |
<div class="fg-input"> |
| 248 |
<input type="text" name="branchfax" id="branchfax" size="60" value="[% library.branchfax | html %]" /> |
248 |
<input type="text" name="branchfax" id="branchfax" value="[% library.branchfax | html %]" /> |
| 249 |
</div> |
249 |
</div> |
| 250 |
</div> |
250 |
</div> |
| 251 |
<div class="fg-row"> |
251 |
<div class="fg-row"> |
|
Lines 253-259
Link Here
|
| 253 |
<label for="branchemail">Email: </label> |
253 |
<label for="branchemail">Email: </label> |
| 254 |
</div> |
254 |
</div> |
| 255 |
<div class="fg-input"> |
255 |
<div class="fg-input"> |
| 256 |
<input type="text" name="branchemail" id="branchemail" class="email" size="80" value="[% library.branchemail | html %]" /> |
256 |
<input type="text" name="branchemail" id="branchemail" class="email" value="[% library.branchemail | html %]" /> |
| 257 |
</div> |
257 |
</div> |
| 258 |
</div> |
258 |
</div> |
| 259 |
[% IF (Koha.Preference('ILLModule')) %] |
259 |
[% IF (Koha.Preference('ILLModule')) %] |
|
Lines 262-268
Link Here
|
| 262 |
<label for="branchillemail">ILL staff email: </label> |
262 |
<label for="branchillemail">ILL staff email: </label> |
| 263 |
</div> |
263 |
</div> |
| 264 |
<div class="fg-input"> |
264 |
<div class="fg-input"> |
| 265 |
<input type="text" name="branchillemail" id="branchillemail" class="email" size="80" value="[% library.branchillemail | html %]" /> |
265 |
<input type="text" name="branchillemail" id="branchillemail" class="email" value="[% library.branchillemail | html %]" /> |
| 266 |
</div> |
266 |
</div> |
| 267 |
<div class="hint"> |
267 |
<div class="hint"> |
| 268 |
[% IF ( CAN_user_parameters_manage_sysprefs ) %] |
268 |
[% IF ( CAN_user_parameters_manage_sysprefs ) %] |
|
Lines 279-285
Link Here
|
| 279 |
<label for="branchreplyto">Reply-To: </label> |
279 |
<label for="branchreplyto">Reply-To: </label> |
| 280 |
</div> |
280 |
</div> |
| 281 |
<div class="fg-input"> |
281 |
<div class="fg-input"> |
| 282 |
<input type="text" name="branchreplyto" id="branchreplyto" class="email" size="80" value="[% library.branchreplyto | html %]" /> |
282 |
<input type="text" name="branchreplyto" id="branchreplyto" class="email" value="[% library.branchreplyto | html %]" /> |
| 283 |
</div> |
283 |
</div> |
| 284 |
<div class="hint"> |
284 |
<div class="hint"> |
| 285 |
[% IF ( CAN_user_parameters_manage_sysprefs ) %] |
285 |
[% IF ( CAN_user_parameters_manage_sysprefs ) %] |
|
Lines 295-301
Link Here
|
| 295 |
<label for="branchreturnpath">Return-Path: </label> |
295 |
<label for="branchreturnpath">Return-Path: </label> |
| 296 |
</div> |
296 |
</div> |
| 297 |
<div class="fg-input"> |
297 |
<div class="fg-input"> |
| 298 |
<input type="text" name="branchreturnpath" id="branchreturnpath" class="email" size="80" value="[% library.branchreturnpath | html %]" /> |
298 |
<input type="text" name="branchreturnpath" id="branchreturnpath" class="email" value="[% library.branchreturnpath | html %]" /> |
| 299 |
</div> |
299 |
</div> |
| 300 |
<div class="hint"> |
300 |
<div class="hint"> |
| 301 |
[% IF ( CAN_user_parameters_manage_sysprefs ) %] |
301 |
[% IF ( CAN_user_parameters_manage_sysprefs ) %] |
|
Lines 332-338
Link Here
|
| 332 |
<label for="branchurl">URL: </label> |
332 |
<label for="branchurl">URL: </label> |
| 333 |
</div> |
333 |
</div> |
| 334 |
<div class="fg-input"> |
334 |
<div class="fg-input"> |
| 335 |
<input type="text" name="branchurl" id="branchurl" size="80" value="[% library.branchurl | html %]" class="url" /> |
335 |
<input type="text" name="branchurl" id="branchurl" value="[% library.branchurl | html %]" class="url" /> |
| 336 |
</div> |
336 |
</div> |
| 337 |
</div> |
337 |
</div> |
| 338 |
<div class="fg-row"> |
338 |
<div class="fg-row"> |
|
Lines 359-379
Link Here
|
| 359 |
[% END %] |
359 |
[% END %] |
| 360 |
</div> |
360 |
</div> |
| 361 |
</div> |
361 |
</div> |
| 362 |
<div class="fg-row"> |
362 |
<div class="fg-row input-md"> |
| 363 |
<div class="fg-label"> |
363 |
<div class="fg-label"> |
| 364 |
<label for="branchip">IP: </label> |
364 |
<label for="branchip">IP: </label> |
| 365 |
</div> |
365 |
</div> |
| 366 |
<div class="fg-input"> |
366 |
<div class="fg-input"> |
| 367 |
<input type="text" name="branchip" id="branchip" size="15" maxlength="15" value="[% library.branchip | html %]" /> |
367 |
<input type="text" name="branchip" id="branchip" maxlength="15" value="[% library.branchip | html %]" /> |
| 368 |
</div> |
368 |
</div> |
| 369 |
<div class="hint">Enter as a single IP address, or a subnet such as 192.168.1.*</div> |
369 |
<div class="hint">Enter as a single IP address, or a subnet such as 192.168.1.*</div> |
| 370 |
</div> |
370 |
</div> |
| 371 |
<div class="fg-row"> |
371 |
<div class="fg-row input-md"> |
| 372 |
<div class="fg-label"> |
372 |
<div class="fg-label"> |
| 373 |
<label for="marcorgcode">MARC organization code: </label> |
373 |
<label for="marcorgcode">MARC organization code: </label> |
| 374 |
</div> |
374 |
</div> |
| 375 |
<div class="fg-input"> |
375 |
<div class="fg-input"> |
| 376 |
<input type="text" name="marcorgcode" id="marcorgcode" size="16" maxlength="16" value="[% library.marcorgcode | html %]" /> |
376 |
<input type="text" name="marcorgcode" id="marcorgcode" maxlength="16" value="[% library.marcorgcode | html %]" /> |
| 377 |
</div> |
377 |
</div> |
| 378 |
<div class="hint"> |
378 |
<div class="hint"> |
| 379 |
[% IF ( CAN_user_parameters_manage_sysprefs ) %] |
379 |
[% IF ( CAN_user_parameters_manage_sysprefs ) %] |
|
Lines 390-396
Link Here
|
| 390 |
<label for="branchnotes">Notes: </label> |
390 |
<label for="branchnotes">Notes: </label> |
| 391 |
</div> |
391 |
</div> |
| 392 |
<div class="fg-input"> |
392 |
<div class="fg-input"> |
| 393 |
<input type="text" name="branchnotes" id="branchnotes" size="80" value="[% library.branchnotes | html %]" /> |
393 |
<input type="text" name="branchnotes" id="branchnotes" value="[% library.branchnotes | html %]" /> |
| 394 |
</div> |
394 |
</div> |
| 395 |
</div> |
395 |
</div> |
| 396 |
<div class="fg-row"> |
396 |
<div class="fg-row"> |
|
Lines 454-469
Link Here
|
| 454 |
</td> |
454 |
</td> |
| 455 |
<td> |
455 |
<td> |
| 456 |
[% IF hr.open_time %] |
456 |
[% IF hr.open_time %] |
| 457 |
<input type="text" size="5" value="[% hr.open_time | html %]" name="open_time" class="flatpickr" data-flatpickr-time-only="true" /> |
457 |
<input type="text" value="[% hr.open_time | html %]" name="open_time" class="flatpickr" data-flatpickr-time-only="true" /> |
| 458 |
[% ELSE %] |
458 |
[% ELSE %] |
| 459 |
<input type="text" size="5" value="" name="open_time" class="flatpickr" data-flatpickr-time-only="true" /> |
459 |
<input type="text" value="" name="open_time" class="flatpickr" data-flatpickr-time-only="true" /> |
| 460 |
[% END %] |
460 |
[% END %] |
| 461 |
</td> |
461 |
</td> |
| 462 |
<td> |
462 |
<td> |
| 463 |
[% IF hr.close_time %] |
463 |
[% IF hr.close_time %] |
| 464 |
<input type="text" size="5" value="[% hr.close_time | html %]" name="close_time" class="flatpickr" data-flatpickr-time-only="true" /> |
464 |
<input type="text" value="[% hr.close_time | html %]" name="close_time" class="flatpickr" data-flatpickr-time-only="true" /> |
| 465 |
[% ELSE %] |
465 |
[% ELSE %] |
| 466 |
<input type="text" size="5" value="" name="close_time" class="flatpickr" data-flatpickr-time-only="true" /> |
466 |
<input type="text" value="" name="close_time" class="flatpickr" data-flatpickr-time-only="true" /> |
| 467 |
[% END %] |
467 |
[% END %] |
| 468 |
</td> |
468 |
</td> |
| 469 |
</tr> |
469 |
</tr> |
|
Lines 477-486
Link Here
|
| 477 |
<input type="hidden" value="[% d | html %]" name="day" /> |
477 |
<input type="hidden" value="[% d | html %]" name="day" /> |
| 478 |
</td> |
478 |
</td> |
| 479 |
<td> |
479 |
<td> |
| 480 |
<input type="text" size="5" name="open_time" class="noEnterSubmit flatpickr" data-flatpickr-time-only="true" /> |
480 |
<input type="text" name="open_time" class="noEnterSubmit flatpickr" data-flatpickr-time-only="true" /> |
| 481 |
</td> |
481 |
</td> |
| 482 |
<td> |
482 |
<td> |
| 483 |
<input type="text" size="5" name="close_time" class="noEnerSubmit flatpickr" data-flatpickr-time-only="true" /> |
483 |
<input type="text" name="close_time" class="noEnerSubmit flatpickr" data-flatpickr-time-only="true" /> |
| 484 |
</td> |
484 |
</td> |
| 485 |
</tr> |
485 |
</tr> |
| 486 |
[% END %] |
486 |
[% END %] |