Lines 271-289
$(document).ready(function() {
Link Here
|
271 |
[% END %] |
271 |
[% END %] |
272 |
<fieldset class="rows"> |
272 |
<fieldset class="rows"> |
273 |
<input type="hidden" name="oldbranchcode" value="[% oldbranchcode %]" /> |
273 |
<input type="hidden" name="oldbranchcode" value="[% oldbranchcode %]" /> |
|
|
274 |
<ol> |
274 |
[% IF independant_branch %] |
275 |
[% IF independant_branch %] |
275 |
<input type="hidden" name="branchcode" value="[% independant_branch %]" /> |
276 |
<input type="hidden" name="branchcode" value="[% independant_branch %]" /> |
276 |
[% ELSE %] |
277 |
[% ELSE %] |
277 |
<ol> |
278 |
<li> |
278 |
<li> |
279 |
|
279 |
<label for="branch">Library:</label> |
280 |
<label for="branch">Library:</label> |
280 |
<select name="branchcode" id="branch" style="width:20em;"> |
281 |
[% IF adding %] |
281 |
<option value="">All libraries</option> |
282 |
<select name="branchcode" id="branch" style="width:20em;"> |
282 |
[% FOREACH branchloo IN branchloop %] |
283 |
<option value="">All libraries</option> |
283 |
[% IF ( branchloo.selected ) %]<option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option>[% ELSE %]<option value="[% branchloo.value %]">[% branchloo.branchname %]</option>[% END %] |
284 |
[% FOREACH branchloo IN branchloop %] |
|
|
285 |
[% IF ( branchloo.selected ) %]<option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option>[% ELSE %]<option value="[% branchloo.value %]">[% branchloo.branchname %]</option>[% END %] |
286 |
[% END %] |
287 |
</select> |
288 |
[% ELSE %] |
289 |
[% Branches.GetName( branchcode ) %] |
284 |
[% END %] |
290 |
[% END %] |
285 |
</select> |
291 |
</li> |
286 |
</li> |
|
|
287 |
[% END %] |
292 |
[% END %] |
288 |
<li> |
293 |
<li> |
289 |
<label for="module">Koha module:</label> |
294 |
<label for="module">Koha module:</label> |