[Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-authoritie... [rel_2_2]
Joshua Ferraro
jmf at kados.org
Mon Apr 10 22:16:57 CEST 2006
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Joshua Ferraro <kados at savannah.gnu.org> 06/04/10 20:16:57
Modified files:
koha-tmpl/opac-tmpl/npl/en:
opac-authoritiessearchresultlist.tmpl
Log message:
removing needless javascript
adding a link when the authority record is used in the db.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/opac-tmpl/npl/en/opac-authoritiessearchresultlist.tmpl.diff?only_with_tag=rel_2_2&tr1=1.1.2.3&tr2=1.1.2.4&r1=text&r2=text
Patches:
Index: koha/koha-tmpl/opac-tmpl/npl/en/opac-authoritiessearchresultlist.tmpl
diff -u koha/koha-tmpl/opac-tmpl/npl/en/opac-authoritiessearchresultlist.tmpl:1.1.2.3 koha/koha-tmpl/opac-tmpl/npl/en/opac-authoritiessearchresultlist.tmpl:1.1.2.4
--- koha/koha-tmpl/opac-tmpl/npl/en/opac-authoritiessearchresultlist.tmpl:1.1.2.3 Mon Apr 10 18:17:28 2006
+++ koha/koha-tmpl/opac-tmpl/npl/en/opac-authoritiessearchresultlist.tmpl Mon Apr 10 20:16:57 2006
@@ -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>
More information about the Koha-cvs
mailing list