Lines 9-14
Link Here
|
9 |
[% INCLUDE 'datatables.inc' %] |
9 |
[% INCLUDE 'datatables.inc' %] |
10 |
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.columnFilter.js"></script> |
10 |
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.columnFilter.js"></script> |
11 |
|
11 |
|
|
|
12 |
[% BLOCK list_permissions %] |
13 |
<li> |
14 |
<label for="allow_changes_from">Allow changes to contents from: </label> |
15 |
<select name="allow_changes_from" id="allow_changes_from"> |
16 |
|
17 |
[% IF shelf.allow_change_from_owner %]<option value="0">Nobody</option>[% ELSE %]<option value="0" selected="selected">Nobody</option>[% END %] |
18 |
|
19 |
[% IF shelf.allow_change_from_owner && (( !shelf.is_public && !shelf.is_shared ) || !shelf.allow_change_from_others ) %] |
20 |
<option value="1" selected="selected">Owner only</option> |
21 |
[% ELSE %] |
22 |
<option value="1">Owner only</option> |
23 |
[% END %] |
24 |
|
25 |
[% IF shelf.allow_change_from_others %]<option value="2" selected="selected">Anyone seeing this list</option>[% ELSE %]<option value="2">Anyone seeing this list</option>[% END %] |
26 |
|
27 |
</select> |
28 |
  <span id="anyone_remark" style="color:red;">The Anyone permission has no actual effect while this list is strictly private.</span> |
29 |
</li> |
30 |
[% END %] |
31 |
|
12 |
[% IF print %] |
32 |
[% IF print %] |
13 |
<script type="text/javascript"> |
33 |
<script type="text/javascript"> |
14 |
$( document ).ready(function() { |
34 |
$( document ).ready(function() { |
Lines 549-562
function placeHold () {
Link Here
|
549 |
[% END %] |
569 |
[% END %] |
550 |
</select></li> |
570 |
</select></li> |
551 |
|
571 |
|
552 |
<li> |
572 |
[% INCLUDE list_permissions %] |
553 |
<label for="allow_changes_from">Allow changes to contents from: </label> |
|
|
554 |
<select name="allow_changes_from" id="allow_changes_from"> |
555 |
[% IF !shelf.allow_change_from_owner %]<option value="0">Nobody</option>[% ELSE %]<option value="0" selected="selected">Nobody</option>[% END %] |
556 |
[% IF shelf.allow_change_from_owner && !shelf.allow_change_from_others %]<option value="1" selected="selected">Owner only</option>[% ELSE %]<option value="1">Owner only</option>[% END %] |
557 |
[% IF shelf.allow_change_from_owner && shelf.allow_change_from_others %]<option value="2" selected="selected">Anyone seeing this list</option>[% ELSE %]<option value="2">Anyone seeing this list</option>[% END %] |
558 |
</select> |
559 |
</li> |
560 |
|
573 |
|
561 |
</ol> |
574 |
</ol> |
562 |
</fieldset> |
575 |
</fieldset> |