koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/fr/catalogue MARCde


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/fr/catalogue MARCdetail.tmpl,1.6,1.7
Date: Thu, 06 Nov 2003 09:18:32 -0800

Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/fr/catalogue
In directory 
sc8-pr-cvs1:/tmp/cvs-serv21738/koha-tmpl/intranet-tmpl/default/fr/catalogue

Modified Files:
        MARCdetail.tmpl 
Log Message:
bugfix for #384

1st draft for MARC biblio deletion.
Still does not work well, but at least, Biblio.pm compiles & it should'nt break 
too many things
(Note the trash in the MARCdetail, but don't use it, please :-) )

Index: MARCdetail.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/fr/catalogue/MARCdetail.tmpl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** MARCdetail.tmpl     18 Sep 2003 07:36:51 -0000      1.6
--- MARCdetail.tmpl     6 Nov 2003 17:18:30 -0000       1.7
***************
*** 10,13 ****
--- 10,14 ----
                                <tr>
                                        <td width=8%><a 
href="acqui.simple/addbiblio.pl?oldbiblionumber=<TMPL_VAR 
name="biblionumber">"><img border="0" src="<TMPL_VAR 
name="interface">/<TMPL_VAR name="theme">/images/fileopen.png"></td>
+                                       <td width=8%><a 
href="javascript:confirm_deletion()"><img border="0" src="<TMPL_VAR 
name="interface">/<TMPL_VAR name="theme">/images/edittrash.png"></td>
                                        <td width=8%><a 
href="detail.pl?bib=<TMPL_VAR name="biblionumber">">Normal</a></td>
                                        <td align="center"><b>MARC biblio : 
<TMPL_VAR name="bibid"></b></td>
***************
*** 246,249 ****
--- 247,256 ----
  }
  }
+ }
+ function confirm_deletion() {
+       var is_confirmed = confirm('Confirmez vous la suppression ?');
+       if (is_confirmed) {
+               
window.location="acqui.simple/addbiblio.pl?op=delete&oldbiblionumber=<TMPL_VAR 
name="bibid">";
+       }
  }
  </script>




reply via email to

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