Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/clone-rules.tmpl
Owen Leonard ce452b0259 Markup, breadcrumbs, and language corrections.
Also adding a link back to smart-rules.pl from clone-rules.pl results page.
2009-12-20 14:31:43 +01:00

72 lines
3 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Administration &rsaquo; Issuing Rules &rsaquo; Clone Issuing Rules</title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
<!-- TMPL_INCLUDE NAME="cat-search.inc" -->
<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>
<div id="doc3" class="yui-t1">
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<h2>Cloning issuing rules
<!-- TMPL_IF EXPR="frombranchname || tobranchname" -->
<!-- TMPL_IF NAME="frombranchname" --> from "<!-- TMPL_VAR NAME="frombranchname" -->"<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="tobranchname" --> to "<!-- TMPL_VAR NAME="tobranchname" -->"<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
</h2>
<!-- TMPL_IF NAME="result" -->
<!-- TMPL_IF NAME="error" -->
<div class="dialog alert">Cloning of issuing rules failed!</div>
<!-- TMPL_ELSE -->
<div class="dialog message"><p>The rules have been cloned.</p></div>
<!-- /TMPL_IF -->
<a href="/cgi-bin/koha/admin/smart-rules.pl">Return to Issuing rules</a>
<!-- TMPL_ELSE -->
<p class="help">Use carefully ! If the destination library already has issuing rules, they will be deleted without warning !</p>
<form action="/cgi-bin/koha/admin/clone-rules.pl" method="post">
<!-- TMPL_UNLESS NAME="frombranch" -->
<fieldset>
<legend>Please choose a library to clone rules from:</legend>
<label for="frombranch">Source library:</label>
<select name="frombranch" id="frombranch">
<option value="">Default</option>
<!-- TMPL_LOOP name="branchloop" -->
<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="branchname" --></option>
<!-- /TMPL_LOOP -->
</select>
<!-- TMPL_IF NAME="tobranch" --><input type="hidden" name="tobranch" value="<!-- TMPL_VAR NAME="tobranch" -->" /><!-- /TMPL_IF -->
</fieldset>
<!-- /TMPL_UNLESS -->
<!-- TMPL_UNLESS NAME="tobranch" -->
<fieldset>
<legend>Please choose the library to clone the rules to:</legend>
<label for="tobranch">Destination library:</label>
<select name="tobranch" id="tobranch">
<option value="">Default</option>
<!-- TMPL_LOOP name="branchloop" -->
<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="branchname" --></option>
<!-- /TMPL_LOOP -->
</select>
<!-- TMPL_IF NAME="frombranch" --><input type="hidden" name="frombranch" value="<!-- TMPL_VAR NAME="frombranch" -->" /><!-- /TMPL_IF -->
</fieldset>
<!-- /TMPL_UNLESS -->
<input type="submit" value="Submit" />
</form>
<!-- /TMPL_IF -->
</div>
</div>
<div class="yui-b">
<!-- TMPL_INCLUDE NAME="admin-menu.inc" -->
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->