Bug 13618: Add html filters to all the variables
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / rotating_collections / transferCollection.tt
1 [% USE raw %]
2 [% USE Asset %]
3 [% USE Branches %]
4 [% SET footerjs = 1 %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha &rsaquo; Tools &rsaquo; Rotating collections &rsaquo; Transfer collection</title>
7 [% INCLUDE 'doc-head-close.inc' %]
8 </head>
9 <body id="rcoll_transferCollection" class="tools rcoll">
10 [% INCLUDE 'header.inc' %]
11 [% INCLUDE 'cat-search.inc' %]
12
13 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a> &rsaquo; <a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% colId | html %]">Collection <i>[% colTitle | html %]</i></a> &rsaquo; Transfer collection</div>
14
15 <div id="doc3" class="yui-t2">
16     <div id="bd">
17         <div id="yui-main">
18             <div class="yui-b">
19
20                 <h1>Transfer collection <i>[% colTitle | html %]</i></h1>
21
22                 [% IF ( transferSuccess ) %]
23                     <div class="dialog message">
24                         <p>Collection transferred successfully</p>
25                         <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
26                     </div>
27                 [% ELSIF ( transferFailure ) %]
28                     <div class="dialog alert">
29                         <p>Failed to transfer collection</p>
30                         <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
31                     </div>
32                 [% END %]
33
34                 [% IF ( transferSuccess ) %]
35                 [% ELSE %]
36                     <div>
37                         <form action="transferCollection.pl" method="post">
38                             <input type="hidden" name="colId" value="[% colId | html %]" />
39                             <fieldset class="rows">
40                                 <ol>
41                                     <li>
42                                         <label for="toBranch">Choose your library:</label>
43                                         <select id="toBranch" name="toBranch">
44                                             [% PROCESS options_for_libraries libraries => Branches.all( unfiltered => 1 ) %]
45                                         </select>
46                                     </li>
47                                 </ol>
48                             </fieldset>
49                             <fieldset class="action">
50                                 <input type="submit" value="Transfer collection"> <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl" class="cancel">Cancel</a>
51                             </fieldset>
52                         </form>
53                     </div>
54                 [% END %]
55
56             </div> <!-- /.yui-b -->
57         </div> <!-- /#yui-main -->
58         <div class="yui-b">
59             [% INCLUDE 'tools-menu.inc' %]
60         </div>
61     </div> <!-- /#bd -->
62
63 [% MACRO jsinclude BLOCK %]
64     [% Asset.js("js/tools-menu.js") | $raw %]
65     [% Asset.js("js/rotating-collections.js") | $raw %]
66 [% END %]
67
68 [% INCLUDE 'intranet-bottom.inc' %]