koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-authoritie... [rel_2_2]


From: Joshua Ferraro
Subject: [Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-authoritie... [rel_2_2]
Date: Mon, 10 Apr 2006 20:16:57 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Joshua Ferraro <address@hidden> 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&amp;op=do_search&amp;marclist=<!-- 
TMPL_VAR NAME="biblio_fields" -->&amp;operator==&amp;value=<!-- TMPL_VAR 
NAME="authid" -->&amp;and_or=and&amp;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&amp;authid="+id;
-       }
-}
-</script>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]