9c72711a2c
[Note inserted by RM: this patch is by Kyle Hall] Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
116 lines
3.7 KiB
Cheetah
116 lines
3.7 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Administration › Library Transfer Limits</title>
|
|
<script language="JavaScript" type="text/javascript">
|
|
function SwitchAll() {
|
|
count = document.mainform.elements.length;
|
|
for (i=0; i < count; i++) {
|
|
if(document.mainform.elements[i].checked == 1){
|
|
document.mainform.elements[i].checked = 0;
|
|
} else {
|
|
document.mainform.elements[i].checked = 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
function CheckAll() {
|
|
count = document.mainform.elements.length;
|
|
for (i=0; i < count; i++) {
|
|
document.mainform.elements[i].checked = 1;
|
|
}
|
|
}
|
|
|
|
function UncheckAll() {
|
|
count = document.mainform.elements.length;
|
|
for (i=0; i < count; i++) {
|
|
document.mainform.elements[i].checked = 0;
|
|
}
|
|
}
|
|
</script>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
|
|
</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> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › Set Library Transfer Limits</div>
|
|
|
|
<div id="doc3" class="yui-t1">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
|
|
<div id="toolbar">
|
|
<script type="text/javascript">
|
|
//<![CDATA[
|
|
// prepare DOM for YUI Toolbar
|
|
$(document).ready(function() {
|
|
yuiToolbar();
|
|
});
|
|
// YUI Toolbar Functions
|
|
function yuiToolbar() {
|
|
new YAHOO.widget.Button("CheckAll").addListener('click', CheckAll);
|
|
new YAHOO.widget.Button("UncheckAll").addListener('click', UncheckAll);
|
|
new YAHOO.widget.Button("SwapAll").addListener('click',SwitchAll);
|
|
} //]]>
|
|
</script>
|
|
<ul class="toolbar">
|
|
<li><a id="CheckAll" href="#">Check All</a></li>
|
|
<li><a id="UncheckAll" href="#">Uncheck All</a></li>
|
|
<li><a id="SwapAll" href="#">Swap All</a></li>
|
|
</ul></div>
|
|
|
|
<h1 class="parameters">Library Transfer Limits</h1>
|
|
<div class="help">Check the boxes for the items that should <strong><em>not</em></strong> be transferable.</div>
|
|
|
|
<div class="table">
|
|
<form name="mainform" method="post" action="branch_transfer_limits.pl">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>To/From</th>
|
|
<!-- TMPL_LOOP NAME="branchcode_loop" -->
|
|
<th><!-- TMPL_VAR NAME="branchcode" --></th>
|
|
<!-- /TMPL_LOOP -->
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<!-- TMPL_LOOP NAME="codes_loop" -->
|
|
<tr><th>Limits for <!--TMPL_VAR NAME="limit_phrase" -->: <!-- TMPL_VAR NAME="code" --></th></tr>
|
|
|
|
<!-- TMPL_LOOP NAME="to_branch_loop" -->
|
|
<tr>
|
|
<td><!-- TMPL_VAR NAME="toBranch" --></td>
|
|
<!-- TMPL_LOOP NAME="from_branch_loop" -->
|
|
<td>
|
|
<!-- TMPL_IF NAME="isChecked" -->
|
|
<input
|
|
name="<!-- TMPL_VAR NAME="code" -->_<!-- TMPL_VAR NAME="toBranch" -->_<!-- TMPL_VAR NAME="fromBranch" -->"
|
|
type="checkbox" value="1" checked="checked" />
|
|
<!-- TMPL_ELSE-->
|
|
<input
|
|
name="<!-- TMPL_VAR NAME="code" -->_<!-- TMPL_VAR NAME="toBranch" -->_<!-- TMPL_VAR NAME="fromBranch" -->"
|
|
type="checkbox" value="1" />
|
|
<!-- TMPL_ELSE-->
|
|
<!-- /TMPL_IF -->
|
|
</td>
|
|
<!-- /TMPL_LOOP -->
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
<!-- /TMPL_LOOP -->
|
|
</tbody>
|
|
</table>
|
|
|
|
<input type="hidden" name="updateLimits" value="1" />
|
|
<input type="submit" value="Save Data" />
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="yui-b">
|
|
<!-- TMPL_INCLUDE NAME="admin-menu.inc" -->
|
|
</div>
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|