[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/catalogue MARCdetail.tmpl,1.12,1.13
Paul POULAIN
tipaul at users.sourceforge.net
Tue Dec 2 11:28:30 CET 2003
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/catalogue
In directory sc8-pr-cvs1:/tmp/cvs-serv15306/koha-tmpl/intranet-tmpl/default/en/catalogue
Modified Files:
MARCdetail.tmpl
Log Message:
delete biblio icon
Index: MARCdetail.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/catalogue/MARCdetail.tmpl,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** MARCdetail.tmpl 10 Jun 2003 15:46:35 -0000 1.12
--- MARCdetail.tmpl 2 Dec 2003 10:28:27 -0000 1.13
***************
*** 17,20 ****
--- 17,21 ----
<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>
***************
*** 252,255 ****
--- 253,262 ----
}
}
+ }
+ 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>
More information about the Koha-cvs
mailing list