4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Koha › Administration › Circulation and fine rules › Clone circulation and fine rules</title>
6 [% INCLUDE 'doc-head-close.inc' %]
8 <body id="admin_clone-rules" class="admin">
9 [% INCLUDE 'header.inc' %]
10 [% INCLUDE 'prefs-admin-search.inc' %]
12 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › <a href="/cgi-bin/koha/admin/smart-rules.pl">Circulation and fine rules</a> › Clone circulation and fine rules</div>
14 <div id="doc3" class="yui-t1">
19 <h2>Cloning circulation and fine rules
20 [% IF frombranch %] from "[% Branches.GetName( frombranch ) %]"[% END %]
21 [% IF tobranch %] to "[% Branches.GetName( tobranch ) %]"[% END %]
26 <div class="dialog alert">Cloning of circulation and fine rules failed!</div>
28 <div class="dialog message"><p>The rules have been cloned.</p></div>
30 <a href="/cgi-bin/koha/admin/smart-rules.pl">Return to circulation and fine rules</a>
33 <p class="help">Use carefully! If the destination library already has circulation and fine rules, they will be deleted without warning!</p>
34 <form action="/cgi-bin/koha/admin/clone-rules.pl" method="post">
35 [% UNLESS ( frombranch ) %]
37 <legend>Please choose a library to clone rules from:</legend>
38 <label for="frombranch">Source library:</label>
39 <select name="frombranch" id="frombranch">
40 <option value="">Default</option>
41 [% PROCESS options_for_libraries libraries => Branches.all() %]
43 [% IF ( tobranch ) %]<input type="hidden" name="tobranch" value="[% tobranch %]" />[% END %]
47 [% UNLESS ( tobranch ) %]
49 <legend>Please choose the library to clone the rules to:</legend>
50 <label for="tobranch">Destination library:</label>
51 <select name="tobranch" id="tobranch">
52 <option value="">Default</option>
53 [% PROCESS options_for_libraries libraries => Branches.all() %]
55 [% IF ( frombranch ) %]<input type="hidden" name="frombranch" value="[% frombranch %]" />[% END %]
58 <input type="submit" value="Submit" />
66 [% INCLUDE 'admin-menu.inc' %]
70 [% MACRO jsinclude BLOCK %]
71 [% Asset.js("js/admin-menu.js") %]
74 [% INCLUDE 'intranet-bottom.inc' %]