Lines 67-73
function searchauthority() {
Link Here
|
67 |
[% UNLESS ( isEDITORS ) %] |
67 |
[% UNLESS ( isEDITORS ) %] |
68 |
<th>Used in</th> |
68 |
<th>Used in</th> |
69 |
[% END %] |
69 |
[% END %] |
70 |
<th>Delete</th> |
70 |
[% IF ( CAN_user_editauthorities ) %] |
|
|
71 |
<th> </th> |
72 |
[% END %] |
71 |
</tr> |
73 |
</tr> |
72 |
[% FOREACH resul IN result %] |
74 |
[% FOREACH resul IN result %] |
73 |
[% UNLESS ( loop.odd ) %] |
75 |
[% UNLESS ( loop.odd ) %] |
Lines 79-92
function searchauthority() {
Link Here
|
79 |
<td><a href="detail.pl?authid=[% resul.authid %]">Details</a></td> |
81 |
<td><a href="detail.pl?authid=[% resul.authid %]">Details</a></td> |
80 |
[% UNLESS ( resul.isEDITORS ) %] |
82 |
[% UNLESS ( resul.isEDITORS ) %] |
81 |
<td> |
83 |
<td> |
82 |
<a href="../catalogue/search.pl?type=intranet&op=do_search&idx=an,phr&q=[% resul.authid %]" class="button">[% resul.used %] biblio(s)</a> |
84 |
<a href="../catalogue/search.pl?type=intranet&op=do_search&idx=an,phr&q=[% resul.authid %]" class="button">[% resul.used %] records(s)</a> |
83 |
</td> |
85 |
</td> |
84 |
[% END %] |
86 |
[% END %] |
85 |
<td> |
87 |
[% IF ( CAN_user_editauthorities ) %] |
86 |
[% UNLESS ( resul.used ) %] |
88 |
<td> |
87 |
<a href="javascript:confirm_deletion([% resul.authid %])">Delete</a> |
89 |
<a href="/cgi-bin/koha/authorities/authorities.pl?authid=[% resul.authid %]">Edit</a> |
88 |
[% END %] |
90 |
[% UNLESS ( resul.used ) %] |
89 |
</td> |
91 |
| <a href="javascript:confirm_deletion([% resul.authid %])">Delete</a> |
|
|
92 |
[% END %] |
93 |
</td> |
94 |
[% END %] |
90 |
</tr> |
95 |
</tr> |
91 |
[% END %] |
96 |
[% END %] |
92 |
</table> |
97 |
</table> |