|
Lines 8-13
Link Here
|
| 8 |
//<![CDATA[ |
8 |
//<![CDATA[ |
| 9 |
var MSG_REMOVE_FROM_LIST = _("Are you sure you want to remove these items from the list?"); |
9 |
var MSG_REMOVE_FROM_LIST = _("Are you sure you want to remove these items from the list?"); |
| 10 |
var MSG_CONFIRM_DELETE_LIST = _("Are you sure you want to delete this list?"); |
10 |
var MSG_CONFIRM_DELETE_LIST = _("Are you sure you want to delete this list?"); |
|
|
11 |
var MSG_CONFIRM_REMOVE_SHARE = _("Are you sure you want to remove this share?"); |
| 11 |
|
12 |
|
| 12 |
[% IF ( opacuserlogin ) %][% IF ( RequestOnOpac ) %] |
13 |
[% IF ( opacuserlogin ) %][% IF ( RequestOnOpac ) %] |
| 13 |
function holdSelections() { |
14 |
function holdSelections() { |
|
Lines 225-230
$(document).ready(function() {
Link Here
|
| 225 |
</li> |
226 |
</li> |
| 226 |
[% END %] |
227 |
[% END %] |
| 227 |
|
228 |
|
|
|
229 |
[%# When using the next block, add the parameter for shelfnumber and add a tag to end the form %] |
| 230 |
[% BLOCK remove_share %] |
| 231 |
<form action="opac-shelves.pl" method="post"> |
| 232 |
<input type="hidden" name="shelves" value="1" /> |
| 233 |
<input type="hidden" name="display" value="privateshelves" /> |
| 234 |
<input type="hidden" name="shelfoff" value="[% shelfoff %]" /> |
| 235 |
<input type="submit" class="removeshare" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" /> |
| 236 |
[% END %] |
| 237 |
|
| 228 |
[% IF ( OpacNav ) %]<div id="doc3" class="yui-t1">[% ELSIF ( loggedinusername ) %]<div id="doc3" class="yui-t1">[% ELSE %]<div id="doc3" class="yui-t7">[% END %] |
238 |
[% IF ( OpacNav ) %]<div id="doc3" class="yui-t1">[% ELSIF ( loggedinusername ) %]<div id="doc3" class="yui-t1">[% ELSE %]<div id="doc3" class="yui-t7">[% END %] |
| 229 |
<div id="bd"> |
239 |
<div id="bd"> |
| 230 |
[% INCLUDE 'masthead.inc' %] |
240 |
[% INCLUDE 'masthead.inc' %] |
|
Lines 357-362
$(document).ready(function() {
Link Here
|
| 357 |
<input type="submit" class="Share" value="Share" /> |
367 |
<input type="submit" class="Share" value="Share" /> |
| 358 |
</form> |
368 |
</form> |
| 359 |
[% END %] |
369 |
[% END %] |
|
|
370 |
[% ELSIF showprivateshelves %] |
| 371 |
[% INCLUDE remove_share %] |
| 372 |
<input type="hidden" name="REMSHR-[% shelfnumber %]" value="1" /> |
| 373 |
</form> |
| 360 |
[% END %] |
374 |
[% END %] |
| 361 |
|
375 |
|
| 362 |
|
376 |
|
|
Lines 645-650
$(document).ready(function() {
Link Here
|
| 645 |
<input type="submit" class="Share" value="Share" /> |
659 |
<input type="submit" class="Share" value="Share" /> |
| 646 |
</form> |
660 |
</form> |
| 647 |
[% END %] |
661 |
[% END %] |
|
|
662 |
[% ELSIF shelveslooppri.shares %] |
| 663 |
[% INCLUDE remove_share %] |
| 664 |
<input type="hidden" name="REMSHR-[% shelveslooppri.shelf %]" value="1" /> |
| 665 |
</form> |
| 648 |
[% END %] |
666 |
[% END %] |
| 649 |
</td> |
667 |
</td> |
| 650 |
</tr> |
668 |
</tr> |