Lines 4-10
Link Here
|
4 |
<script type="text/JavaScript" language="JavaScript"> |
4 |
<script type="text/JavaScript" language="JavaScript"> |
5 |
//<![CDATA[ |
5 |
//<![CDATA[ |
6 |
var MSG_NO_TAG_SPECIFIED = _("No tag was specified."); |
6 |
var MSG_NO_TAG_SPECIFIED = _("No tag was specified."); |
7 |
|
7 |
var MSG_REMOVE_FROM_LIST = _("Are you sure you want to remove these items from the list?"); |
|
|
8 |
var MSG_CONFIRM_DELETE_LIST = _("Are you sure you want to delete this list?"); |
8 |
$.tablesorter.addParser({ |
9 |
$.tablesorter.addParser({ |
9 |
id: 'articles', |
10 |
id: 'articles', |
10 |
is: function(s) {return false; }, |
11 |
is: function(s) {return false; }, |
Lines 225-231
$(function() {
Link Here
|
225 |
<input type="hidden" name="display" value="privateshelves" /> |
226 |
<input type="hidden" name="display" value="privateshelves" /> |
226 |
<!-- /TMPL_IF --> |
227 |
<!-- /TMPL_IF --> |
227 |
<input type="hidden" value="1" name="DEL-<!-- TMPL_VAR NAME="shelfnumber" -->"/> |
228 |
<input type="hidden" value="1" name="DEL-<!-- TMPL_VAR NAME="shelfnumber" -->"/> |
228 |
<input type="submit" class="deleteshelf" value="Delete List" onclick="return confirmDelete(_('Are you sure you want to remove this List?'));"/> |
229 |
<input type="submit" class="deleteshelf" value="Delete List" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/> |
229 |
</form> <!-- /TMPL_IF --> |
230 |
</form> <!-- /TMPL_IF --> |
230 |
|
231 |
|
231 |
<a class="print tag_hides" href="opac-shelves.pl" onclick="print(); return false;">Print List</a> |
232 |
<a class="print tag_hides" href="opac-shelves.pl" onclick="print(); return false;">Print List</a> |
Lines 304-315
$(function() {
Link Here
|
304 |
<!-- TMPL_IF NAME="itemsloop" --> |
305 |
<!-- TMPL_IF NAME="itemsloop" --> |
305 |
<input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->" /> |
306 |
<input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->" /> |
306 |
<input type="hidden" name="modifyshelfcontents" value="1" /> |
307 |
<input type="hidden" name="modifyshelfcontents" value="1" /> |
307 |
<input type="hidden" name="viewshelf" value="<!-- TMPL_VAR NAME="shelfnumber" -->" /><input type="submit" value="Remove Selected Items" class="icon delete" onclick="return confirmDelete(_('Are you sure you want to remove these items from the list?'))" /> |
308 |
<input type="hidden" name="viewshelf" value="<!-- TMPL_VAR NAME="shelfnumber" -->" /><input type="submit" value="Remove Selected Items" class="icon delete" onclick="return confirmDelete(MSG_REMOVE_FROM_LIST)" /> |
308 |
<!-- TMPL_ELSE --> |
309 |
<!-- TMPL_ELSE --> |
309 |
<form method="post" action="opac-shelves.pl"> |
310 |
<form method="post" action="opac-shelves.pl"> |
310 |
<input type="hidden" name="DEL-<!-- TMPL_VAR NAME="shelfnumber" -->" value="1" /> |
311 |
<input type="hidden" name="DEL-<!-- TMPL_VAR NAME="shelfnumber" -->" value="1" /> |
311 |
<input type="hidden" name="shelves" value="1" /> |
312 |
<input type="hidden" name="shelves" value="1" /> |
312 |
<input type="submit" class="icon delete" value="Delete this List" onclick="return confirmDelete(_('Are you sure you want to delete this List?'))" /> |
313 |
<input type="submit" class="icon delete" value="Delete this List" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST)" /> |
313 |
<!-- /TMPL_IF --> |
314 |
<!-- /TMPL_IF --> |
314 |
</form> |
315 |
</form> |
315 |
<!-- /TMPL_IF --> |
316 |
<!-- /TMPL_IF --> |
Lines 411-417
$(function() {
Link Here
|
411 |
<input type="hidden" name="CONFIRM-<!-- TMPL_VAR NAME="confirm" -->" value="1" /> |
412 |
<input type="hidden" name="CONFIRM-<!-- TMPL_VAR NAME="confirm" -->" value="1" /> |
412 |
<input type="submit" class="confirm" value="Confirm" /> |
413 |
<input type="submit" class="confirm" value="Confirm" /> |
413 |
<!-- TMPL_ELSE --> |
414 |
<!-- TMPL_ELSE --> |
414 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this List?'));" value="Delete" /> |
415 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" /> |
415 |
<!-- /TMPL_IF --> |
416 |
<!-- /TMPL_IF --> |
416 |
</form> |
417 |
</form> |
417 |
<!-- /TMPL_IF --> |
418 |
<!-- /TMPL_IF --> |
Lines 477-483
$(function() {
Link Here
|
477 |
<input type="hidden" name="CONFIRM-<!-- TMPL_VAR NAME="confirm" -->" value="1" /> |
478 |
<input type="hidden" name="CONFIRM-<!-- TMPL_VAR NAME="confirm" -->" value="1" /> |
478 |
<input type="submit" class="confirm" value="Confirm" /> |
479 |
<input type="submit" class="confirm" value="Confirm" /> |
479 |
<!-- TMPL_ELSE --> |
480 |
<!-- TMPL_ELSE --> |
480 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this List?'));" value="Delete" /> |
481 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" /> |
481 |
<!-- /TMPL_IF --> |
482 |
<!-- /TMPL_IF --> |
482 |
</form> |
483 |
</form> |
483 |
<!-- /TMPL_IF --> |
484 |
<!-- /TMPL_IF --> |