+[% USE Branches %]
+[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha › Tools › Rotating collections › Transfer collection</title>
[% INCLUDE 'doc-head-close.inc' %]
<li>
<label for="toBranch">Choose your library:</label>
<select id="toBranch" name="toBranch">
- [% FOREACH branchoptionloo IN branchoptionloop %]
- [% IF ( branchoptionloo.selected ) %]
- <option value="[% branchoptionloo.code %]" selected="selected">[% branchoptionloo.name %]</option>
- [% ELSE %]
- <option value="[% branchoptionloo.code %]">[% branchoptionloo.name %]</option>
- [% END %]
- [% END %]
+ [% PROCESS options_for_libraries libraries => Branches.all( unfiltered => 1 ) %]
</select>
</li>
</ol>
[% INCLUDE 'tools-menu.inc' %]
</div>
</div> <!-- /#bd -->
-[% INCLUDE 'intranet-bottom.inc' %]
\ No newline at end of file
+
+[% MACRO jsinclude BLOCK %]
+ <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
+ <script type="text/javascript" src="[% interface %]/[% theme %]/js/rotating-collections_[% KOHA_VERSION %].js"></script>
+[% END %]
+
+[% INCLUDE 'intranet-bottom.inc' %]