BUGFIX new_acq (Javascript error under certain circumstances)
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / clone-rules.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Administration &rsaquo; Clone Issuing Rules</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4
5 </head>
6 <body>
7 <!-- TMPL_INCLUDE NAME="header.inc" -->
8 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
9
10 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo;  Clone Issuing Rules</div>
11
12 <div id="doc3" class="yui-t1">
13
14 <div id="bd">
15     <div id="yui-main">
16     <div class="yui-b">
17     <h1>Cloning issuing rules
18         <!-- TMPL_IF EXPR="frombranchname || tobranchname" -->
19             <!-- TMPL_IF NAME="frombranchname" --> from "<!-- TMPL_VAR NAME="frombranchname" -->"<!-- /TMPL_IF -->
20             <!-- TMPL_IF NAME="tobranchname" --> to "<!-- TMPL_VAR NAME="tobranchname" -->"<!-- /TMPL_IF -->
21         <!-- /TMPL_IF -->
22     </h1>
23
24     <!-- TMPL_IF NAME="result" -->
25         <!-- TMPL_IF NAME="error" -->
26             <p class="error">Issuing rules cloning failed!</p>
27         <!-- TMPL_ELSE -->
28             <div class="message"><p>The rules have been cloned.</p></div>
29         <!-- /TMPL_IF -->
30     <!-- TMPL_ELSE -->
31
32         <p class="help">Use carefully ! If the destination library already has issuing rules, they will be deleted without warning !</p> 
33         <form action="/cgi-bin/koha/admin/clone-rules.pl" method="post">
34             <!-- TMPL_UNLESS NAME="frombranch" -->
35             <fieldset>
36                 <legend>Please choose a library to clone rules from:</legend> 
37                 <label for="frombranch">Source library:</label>
38                 <select name="frombranch" id="frombranch">
39                         <option value="">Default</option>
40                         <!-- TMPL_LOOP name="branchloop" -->
41                         <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="branchname" --></option>
42                         <!-- /TMPL_LOOP -->
43                 </select>
44                 <!-- TMPL_IF NAME="tobranch" --><input type="hidden" name="tobranch" value="<!-- TMPL_VAR NAME="tobranch" -->" /><!-- /TMPL_IF -->
45             </fieldset>
46             <!-- /TMPL_UNLESS -->
47
48             <!-- TMPL_UNLESS NAME="tobranch" -->
49             <fieldset>
50                 <legend>Please choose the library to clone the rules to:</legend> 
51                 <label for="tobranch">Destination library:</label>
52                 <select name="tobranch" id="tobranch">
53                         <option value="">Default</option>
54                         <!-- TMPL_LOOP name="branchloop" -->
55                         <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="branchname" --></option>
56                         <!-- /TMPL_LOOP -->
57                 </select>
58                 <!-- TMPL_IF NAME="frombranch" --><input type="hidden" name="frombranch" value="<!-- TMPL_VAR NAME="frombranch" -->" /><!-- /TMPL_IF -->
59             </fieldset>
60         <!-- /TMPL_UNLESS -->
61         <input type="submit" />
62         </form>
63
64     <!-- /TMPL_IF -->
65     </div>
66
67 </div>
68 <div class="yui-b">
69 <!-- TMPL_INCLUDE NAME="admin-menu.inc" -->
70 </div>
71 </div>
72 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->