Lines 7-13
Link Here
|
7 |
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
7 |
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
8 |
<script type="text/javascript"> |
8 |
<script type="text/javascript"> |
9 |
//<![CDATA[ |
9 |
//<![CDATA[ |
10 |
var MSG_CANNOT_BE_DELETED = _("This record cannot be deleted, at least one item is currently issued"); |
10 |
var MSG_CANNOT_BE_DELETED = _("This record cannot be deleted, at least one item is currently checked out."); |
11 |
$(document).ready(function() { |
11 |
$(document).ready(function() { |
12 |
$("#selectall").click(function(e){ |
12 |
$("#selectall").click(function(e){ |
13 |
e.preventDefault(); |
13 |
e.preventDefault(); |
Lines 145-154
$(document).ready(function() {
Link Here
|
145 |
[% IF records %] |
145 |
[% IF records %] |
146 |
[% IF recordtype == 'biblio' %] |
146 |
[% IF recordtype == 'biblio' %] |
147 |
<div id="toolbar"> |
147 |
<div id="toolbar"> |
148 |
<a id="selectall" href="#">Select All</a> |
148 |
<a id="selectall" href="#">Select all</a> |
149 |
| <a id="clearall" href="#">Clear All</a> |
149 |
| <a id="clearall" href="#">Clear all</a> |
150 |
| <a id="selectwithoutitems" href="#">Select without items</a> |
150 |
| <a id="selectwithoutitems" href="#">Select without items</a> |
151 |
| <a id="selectnotreserved" href="#">Select not reserved</a> |
151 |
| <a id="selectnotreserved" href="#">Select without holds</a> |
152 |
</div> |
152 |
</div> |
153 |
<form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post"> |
153 |
<form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post"> |
154 |
<table id="biblios" class="records"> |
154 |
<table id="biblios" class="records"> |
Lines 158-164
$(document).ready(function() {
Link Here
|
158 |
<th>Biblionumber</th> |
158 |
<th>Biblionumber</th> |
159 |
<th>Title</th> |
159 |
<th>Title</th> |
160 |
<th>Items</th> |
160 |
<th>Items</th> |
161 |
<th>Reserves</th> |
161 |
<th>Holds</th> |
162 |
<th>Issues</th> |
162 |
<th>Issues</th> |
163 |
</tr> |
163 |
</tr> |
164 |
</thead> |
164 |
</thead> |
Lines 178-186
$(document).ready(function() {
Link Here
|
178 |
<div class="note">Reminder: this action will delete all selected biblios, attached subscriptions, existing holds and items!</div> |
178 |
<div class="note">Reminder: this action will delete all selected biblios, attached subscriptions, existing holds and items!</div> |
179 |
[% ELSE %] |
179 |
[% ELSE %] |
180 |
<div id="toolbar"> |
180 |
<div id="toolbar"> |
181 |
<a id="selectall" href="#">Select All</a> |
181 |
<a id="selectall" href="#">Select all</a> |
182 |
| <a id="clearall" href="#">Clear All</a> |
182 |
| <a id="clearall" href="#">Clear all</a> |
183 |
| <a id="clearlinkedtobiblio" href="#">Clear linked to biblio </a> |
183 |
| <a id="clearlinkedtobiblio" href="#">Clear used authorities</a> |
184 |
</div> |
184 |
</div> |
185 |
<form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post"> |
185 |
<form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post"> |
186 |
<table id="authorities" class="records"> |
186 |
<table id="authorities" class="records"> |