Lines 24-30
$(document).ready(function(){
Link Here
|
24 |
|
24 |
|
25 |
function confirmDelete(message){ |
25 |
function confirmDelete(message){ |
26 |
if (window.confirm(message)) { |
26 |
if (window.confirm(message)) { |
27 |
location.href="/cgi-bin/koha/virtualshelves/shelves.pl?[% IF ( showprivateshelves ) %]display=privateshelves&[% END %]shelves=1&DEL-[% shelfnumber %]=1"; |
27 |
location.href="/cgi-bin/koha/virtualshelves/shelves.pl?[% IF ( showprivateshelves ) %] display=privateshelves&[% END %]shelves=1&DEL-[% shelfnumber %]=1&shelfoff=[% shelfoff %]"; |
28 |
} else { |
28 |
} else { |
29 |
return false; |
29 |
return false; |
30 |
} |
30 |
} |
Lines 349-355
function placeHold () {
Link Here
|
349 |
<tr><th>List Name</th><th>Contents</th><th>Sort by</th><th>Type</th><th>Options</th></tr> |
349 |
<tr><th>List Name</th><th>Contents</th><th>Sort by</th><th>Type</th><th>Options</th></tr> |
350 |
[% FOREACH shelveslooppri IN shelveslooppriv %] |
350 |
[% FOREACH shelveslooppri IN shelveslooppriv %] |
351 |
[% IF ( shelveslooppri.toggle ) %]<tr class="highlight">[% ELSE %]<tr>[% END %] |
351 |
[% IF ( shelveslooppri.toggle ) %]<tr class="highlight">[% ELSE %]<tr>[% END %] |
352 |
<td><a href="shelves.pl?[% IF ( shelveslooppri.showprivateshelves ) %]display=privateshelves&[% END %]viewshelf=[% shelveslooppri.shelf %]">[% shelveslooppri.shelfname |html %]</a></td> |
352 |
<td><a href="shelves.pl?[% IF ( shelveslooppri.showprivateshelves ) %]display=privateshelves&[% END %]viewshelf=[% shelveslooppri.shelf %]&shelfoff=[% shelfoff %]">[% shelveslooppri.shelfname |html %]</a></td> |
353 |
<td>[% shelveslooppri.count %] item(s)</td> |
353 |
<td>[% shelveslooppri.count %] item(s)</td> |
354 |
<td>[% IF ( shelveslooppri.authorsort ) %]Author[% ELSIF ( shelveslooppri.yearsort ) %]Year[% ELSE %]Title[% END %]</td> |
354 |
<td>[% IF ( shelveslooppri.authorsort ) %]Author[% ELSIF ( shelveslooppri.yearsort ) %]Year[% ELSE %]Title[% END %]</td> |
355 |
<td>[% IF ( shelveslooppri.viewcategory1 ) %]Private[% END %] |
355 |
<td>[% IF ( shelveslooppri.viewcategory1 ) %]Private[% END %] |
Lines 368-373
function placeHold () {
Link Here
|
368 |
<input type="submit" class="editshelf" value="Edit" /> |
368 |
<input type="submit" class="editshelf" value="Edit" /> |
369 |
</form> |
369 |
</form> |
370 |
<form action="shelves.pl" method="post"> |
370 |
<form action="shelves.pl" method="post"> |
|
|
371 |
<input type="hidden" name="shelfoff" value="[% shelfoff %]"> |
371 |
<input type="hidden" name="shelves" value="1" /> |
372 |
<input type="hidden" name="shelves" value="1" /> |
372 |
<input type="hidden" name="display" value="privateshelves" /> |
373 |
<input type="hidden" name="display" value="privateshelves" /> |
373 |
<input type="hidden" name="DEL-[% shelveslooppri.shelf %]" value="1" /> |
374 |
<input type="hidden" name="DEL-[% shelveslooppri.shelf %]" value="1" /> |
Lines 416-421
function placeHold () {
Link Here
|
416 |
<input type="submit" class="editshelf" value="Edit" /> |
417 |
<input type="submit" class="editshelf" value="Edit" /> |
417 |
</form> |
418 |
</form> |
418 |
<form action="shelves.pl" method="post"> |
419 |
<form action="shelves.pl" method="post"> |
|
|
420 |
<input type="hidden" name="shelfoff" value="[% shelfoff %]"> |
419 |
<input type="hidden" name="shelves" value="1" /> |
421 |
<input type="hidden" name="shelves" value="1" /> |
420 |
<input type="hidden" name="DEL-[% shelvesloo.shelf %]" value="1" /> |
422 |
<input type="hidden" name="DEL-[% shelvesloo.shelf %]" value="1" /> |
421 |
[% IF ( shelvesloo.confirm ) %] |
423 |
[% IF ( shelvesloo.confirm ) %] |
422 |
- |
|
|