Bug 3644 Add support for NORMARC
[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; Issuing Rules &rsaquo; Clone Issuing Rules</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body>
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
8
9 <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; <a href="/cgi-bin/koha/admin/smart-rules.pl">Issuing rules</a> &rsaquo; Clone issuing rules</div>
10
11 <div id="doc3" class="yui-t1">
12
13 <div id="bd">
14     <div id="yui-main">
15     <div class="yui-b">
16     <h2>Cloning issuing rules
17         <!-- TMPL_IF EXPR="frombranchname || tobranchname" -->
18             <!-- TMPL_IF NAME="frombranchname" --> from "<!-- TMPL_VAR NAME="frombranchname" -->"<!-- /TMPL_IF -->
19             <!-- TMPL_IF NAME="tobranchname" --> to "<!-- TMPL_VAR NAME="tobranchname" -->"<!-- /TMPL_IF -->
20         <!-- /TMPL_IF -->
21     </h2>
22
23     <!-- TMPL_IF NAME="result" -->
24         <!-- TMPL_IF NAME="error" -->
25             <div class="dialog alert">Cloning of issuing rules failed!</div>
26         <!-- TMPL_ELSE -->
27             <div class="dialog message"><p>The rules have been cloned.</p></div>
28         <!-- /TMPL_IF -->
29         <a href="/cgi-bin/koha/admin/smart-rules.pl">Return to Issuing rules</a>
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" value="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" -->