removing needless javascript
adding a link when the authority record is used in the db.
This commit is contained in:
parent
692eef03d7
commit
a29f2f46dd
|
|
@ -42,7 +42,11 @@
|
|||
</tr>
|
||||
<!-- TMPL_LOOP NAME="result" -->
|
||||
<tr>
|
||||
<td><!-- TMPL_VAR NAME="summary" --></td>
|
||||
<!-- TMPL_IF NAME="used" -->
|
||||
<td><a href="/cgi-bin/koha/opac-search.pl?type=opac&op=do_search&marclist=<!-- TMPL_VAR NAME="biblio_fields" -->&operator==&value=<!-- TMPL_VAR NAME="authid" -->&and_or=and&excluding="><!-- TMPL_VAR NAME="summary" --></a></td>
|
||||
<!-- TMPL_ELSE -->
|
||||
<td><!-- TMPL_VAR NAME="summary" --></td>
|
||||
<!-- /TMPL_IF -->
|
||||
<td>
|
||||
<!-- TMPL_VAR NAME="authtype" -->
|
||||
</td>
|
||||
|
|
@ -76,12 +80,3 @@
|
|||
</div>
|
||||
</div>
|
||||
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
|
||||
|
||||
<script language="JavaScript" type="text/javascript" >
|
||||
function confirm_deletion(id) {
|
||||
var is_confirmed = confirm('Are you sure you want to delete this authority?');
|
||||
if (is_confirmed) {
|
||||
window.location="authorities-home.pl?op=delete&authid="+id;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue