|
Lines 14-37
Link Here
|
| 14 |
<li> |
14 |
<li> |
| 15 |
<label for="allow_add">Permissions: </label> |
15 |
<label for="allow_add">Permissions: </label> |
| 16 |
<select name="allow_add" id="allow_add"> |
16 |
<select name="allow_add" id="allow_add"> |
| 17 |
[% IF allow_add %]<option value="0">Do not allow</option>[% ELSE %]<option value="0" selected="selected">Do not allow</option>[% END %] |
17 |
[% IF shelf.allow_add %]<option value="0">Do not allow</option>[% ELSE %]<option value="0" selected="selected">Do not allow</option>[% END %] |
| 18 |
[% IF allow_add %]<option value="1" selected="selected">Allow</option>[% ELSE %]<option value="1">Allow</option>[% END %] |
18 |
[% IF shelf.allow_add %]<option value="1" selected="selected">Allow</option>[% ELSE %]<option value="1">Allow</option>[% END %] |
| 19 |
</select> |
19 |
</select> |
| 20 |
<span>anyone else to add entries. |
20 |
<span>anyone else to add entries.</span> |
| 21 |
</li> |
21 |
</li> |
| 22 |
<li> |
22 |
<li> |
| 23 |
<label> </label> |
23 |
<label> </label> |
| 24 |
<select name="allow_delete_own" id="allow_delete_own"> |
24 |
<select name="allow_delete_own" id="allow_delete_own"> |
| 25 |
[% IF allow_delete_own %]<option value="0">Do not allow</option>[% ELSE %]<option value="0" selected="selected">Do not allow</option>[% END %] |
25 |
[% IF shelf.allow_delete_own %]<option value="0">Do not allow</option>[% ELSE %]<option value="0" selected="selected">Do not allow</option>[% END %] |
| 26 |
[% IF allow_delete_own %]<option value="1" selected="selected">Allow</option>[% ELSE %]<option value="1">Allow</option>[% END %] |
26 |
[% IF shelf.allow_delete_own %]<option value="1" selected="selected">Allow</option>[% ELSE %]<option value="1">Allow</option>[% END %] |
| 27 |
</select> |
27 |
</select> |
| 28 |
<span>anyone to remove his own contributed entries.</span> |
28 |
<span>anyone to remove his own contributed entries.</span> |
| 29 |
</li> |
29 |
</li> |
| 30 |
<li> |
30 |
<li> |
| 31 |
<label> </label> |
31 |
<label> </label> |
| 32 |
<select name="allow_delete_other" id="allow_delete_other"> |
32 |
<select name="allow_delete_other" id="allow_delete_other"> |
| 33 |
[% IF allow_delete_other %]<option value="0">Do not allow</option>[% ELSE %]<option value="0" selected="selected">Do not allow</option>[% END %] |
33 |
[% IF shelf.allow_delete_other %]<option value="0">Do not allow</option>[% ELSE %]<option value="0" selected="selected">Do not allow</option>[% END %] |
| 34 |
[% IF allow_delete_other %]<option value="1" selected="selected">Allow</option>[% ELSE %]<option value="1">Allow</option>[% END %] |
34 |
[% IF shelf.allow_delete_other %]<option value="1" selected="selected">Allow</option>[% ELSE %]<option value="1">Allow</option>[% END %] |
| 35 |
</select> |
35 |
</select> |
| 36 |
<span>anyone to remove other contributed entries.</span> |
36 |
<span>anyone to remove other contributed entries.</span> |
| 37 |
</li> |
37 |
</li> |
|
Lines 46-67
Link Here
|
| 46 |
[% END %] |
46 |
[% END %] |
| 47 |
|
47 |
|
| 48 |
[% IF op != 'list' %] |
48 |
[% IF op != 'list' %] |
| 49 |
<a href="/cgi-bin/koha/cgi-bin/koha/opac-shelves.pl">Lists</a> |
49 |
<li><a href="/cgi-bin/koha/cgi-bin/koha/opac-shelves.pl">Lists</a></li> |
| 50 |
[% ELSE %] |
50 |
[% ELSE %] |
| 51 |
Lists |
51 |
<li>Lists</li> |
| 52 |
[% END %] |
52 |
[% END %] |
| 53 |
|
53 |
|
| 54 |
[% IF shelf and shelf.category == PRIVATE %] › |
54 |
[% IF shelf and shelf.category == PRIVATE %] › |
| 55 |
[% IF op == 'view' OR op == 'edit_form' %] |
55 |
[% IF op == 'view' OR op == 'edit_form' %] |
| 56 |
<a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=[% PRIVATE %]">Your lists</a> |
56 |
<li><a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=[% PRIVATE %]">Your lists</a></li> |
| 57 |
[% ELSE %] |
57 |
[% ELSE %] |
| 58 |
Your lists |
58 |
<li>Your lists</li> |
| 59 |
[% END %] |
59 |
[% END %] |
| 60 |
[% ELSIF shelf AND shelf.category == PUBLIC %] › |
60 |
[% ELSIF shelf AND shelf.category == PUBLIC %] › |
| 61 |
[% IF op == 'view' %] |
61 |
[% IF op == 'view' %] |
| 62 |
<a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=[% PUBLIC %]">Public lists</a> |
62 |
<li><a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=[% PUBLIC %]">Public lists</a></li> |
| 63 |
[% ELSE %] |
63 |
[% ELSE %] |
| 64 |
Public lists |
64 |
<li>Public lists</li> |
| 65 |
[% END %] |
65 |
[% END %] |
| 66 |
[% END %] |
66 |
[% END %] |
| 67 |
|
67 |
|
| 68 |
- |
|
|