Lines 289-309
Libraries › Administration › Koha
Link Here
|
289 |
[% IF opening_hours # Existing library %] |
289 |
[% IF opening_hours # Existing library %] |
290 |
[% daycount = 0 %] |
290 |
[% daycount = 0 %] |
291 |
[% FOREACH hr IN opening_hours %] |
291 |
[% FOREACH hr IN opening_hours %] |
292 |
<tr id="hours_[% daycount %]"> |
292 |
<tr id="hours_[% daycount | html %]"> |
293 |
<td> |
293 |
<td> |
294 |
[% PROCESS dayname day=daycount %] |
294 |
[% PROCESS dayname day=daycount %] |
295 |
<input type="hidden" value="[% daycount %]" name="day"> |
295 |
<input type="hidden" value="[% daycount | html %]" name="day"> |
296 |
</td> |
296 |
</td> |
297 |
<td> |
297 |
<td> |
298 |
[% IF hr.day == daycount && hr.open_time %] |
298 |
[% IF hr.day == daycount && hr.open_time %] |
299 |
<input type="time" value="[% hr.open_time %]" name="open_time"> |
299 |
<input type="time" value="[% hr.open_time | html %]" name="open_time"> |
300 |
[% ELSE %] |
300 |
[% ELSE %] |
301 |
<input type="time" value="" name="open_time"> |
301 |
<input type="time" value="" name="open_time"> |
302 |
[% END %] |
302 |
[% END %] |
303 |
</td> |
303 |
</td> |
304 |
<td> |
304 |
<td> |
305 |
[% IF hr.day == daycount && hr.close_time %] |
305 |
[% IF hr.day == daycount && hr.close_time %] |
306 |
<input type="time" value="[% hr.close_time %]" name="close_time"> |
306 |
<input type="time" value="[% hr.close_time | html %]" name="close_time"> |
307 |
[% ELSE %] |
307 |
[% ELSE %] |
308 |
<input type="time" value="" name="close_time"> |
308 |
<input type="time" value="" name="close_time"> |
309 |
[% END %] |
309 |
[% END %] |
Lines 313-322
Libraries › Administration › Koha
Link Here
|
313 |
[% END %] |
313 |
[% END %] |
314 |
[% ELSE # New library %] |
314 |
[% ELSE # New library %] |
315 |
[% FOREACH daycount IN [0..6] %] |
315 |
[% FOREACH daycount IN [0..6] %] |
316 |
<tr id="hours_[% day %]"> |
316 |
<tr id="hours_[% day | html %]"> |
317 |
<td> |
317 |
<td> |
318 |
[% PROCESS dayname day=daycount %] |
318 |
[% PROCESS dayname day=daycount %] |
319 |
<input type="hidden" value="[% daycount %]" name="day"> |
319 |
<input type="hidden" value="[% daycount | html %]" name="day"> |
320 |
</td> |
320 |
</td> |
321 |
<td> |
321 |
<td> |
322 |
<input type="time" value="" name="open_time"> |
322 |
<input type="time" value="" name="open_time"> |
323 |
- |
|
|