[% INCLUDE 'doc-head-open.inc' %]
-<title>Koha › Administration › Library Checkin and Transfer Policy</title>
+<title>Koha › Administration › Library checkin and transfer policy</title>
[% INCLUDE 'doc-head-close.inc' %]
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.pager.js"></script>
$("#CheckAll").click(function(){ $("#transferlimit_tabs").checkCheckboxes();});
$("#UncheckAll").click(function(){ $("#transferlimit_tabs").unCheckCheckboxes();});
$("#SwapAll").click(function(){ $("#transferlimit_tabs").toggleCheckboxes();});
- $('#transferlimit_tabs > ul').tabs();
+ $('#transferlimit_tabs').tabs();
$('#branchselect').change(function() {
$('#selectlibrary').submit();
});
-
- var checkcolumn = $(".checkcolumn");
- var checkrow = $(".checkrow");
var checkall = $(".checkall");
var uncheckall = $(".uncheckall");
- $(checkcolumn).click(function(){
- if(this.checked){ status = "checked" } else { status = "" }
- var tableid = $(this).parent().parent().parent().parent().attr("id");
- var columncontext = $(this).parent();
- var tdindex = columncontext.parent().children().index(columncontext);
- $("#"+tableid+" tr td:nth-child("+(tdindex+2)+") input[type='checkbox']").attr("checked",status);
- });
-
- $(checkrow).click(function(){
- if(this.checked){ status = "checked" } else { status = "" }
- $(this).parent().siblings().each(function(){
- $(this).find("input[type='checkbox']").attr("checked",status);
- })
- });
-
$(checkall).click(function(){
var tid = $(this).attr("id");
tid = tid.replace("CheckAll","");
</script>
<style type="text/css">td { text-align: center; }</style>
</head>
-<body>
+<body id="admin_branch_transfer_limits" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE '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 Checkin and Transfer Policy</div>
+<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 checkin and transfer policy</div>
<div id="doc3" class="yui-t1">
<div id="yui-main">
<div class="yui-b">
-<h1>Library [% branchcode %] - [% branchname %] Checkin and Transfer Policy</h1>
+<h1>Library [% branchcode %] - [% branchname %] Checkin and transfer policy</h1>
<form method="get" action="/cgi-bin/koha/admin/branch_transfer_limits.pl" id="selectlibrary">
<label for="branchselect">Select a library :</label>
<select name="branchcode" id="branchselect">
</form>
<p class="help">Check the boxes for the libraries you accept to checkin items from.</p>
-<fieldset>For <strong>all</strong> [% limit_phrase %]s: <a id="CheckAll" href="#">Check All</a> | <a id="UncheckAll" href="#">Uncheck All</a></fieldset>
+<fieldset>For <strong>all</strong> [% limit_phrase %]s: <a id="CheckAll" href="#">Check all</a> | <a id="UncheckAll" href="#">Uncheck all</a></fieldset>
<div id="transferlimit_tabs" class="toptabs">
[% FOREACH codes_loo IN codes_loop %]
<div id="[% codes_loo.code %]set">
<h4>Policy for [% codes_loo.limit_phrase %]: [% codes_loo.code %]</h4>
- <p><a id="CheckAll[% codes_loo.code %]table" class="checkall" href="#">Check All</a> | <a id="UncheckAll[% codes_loo.code %]table" class="uncheckall" href="#">Uncheck All</a></p>
+ <p><a id="CheckAll[% codes_loo.code %]table" class="checkall" href="#">Check all</a> | <a id="UncheckAll[% codes_loo.code %]table" class="uncheckall" href="#">Uncheck all</a></p>
- <div id="pager[% codes_loo.code %]table" class="pager">
+ <div id="pager[% codes_loo.code %]table">
[% INCLUDE 'table-pager.inc' perpage='20' %]
</div>
<table id="[% codes_loo.code %]table" class="sorted">