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/acqui.simple add


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/fr/acqui.simple addbiblio.tmpl,1.9,1.10 additem.tmpl,1.4,1.5
Date: Mon, 24 Nov 2003 08:28:51 -0800

Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/fr/acqui.simple
In directory 
sc8-pr-cvs1:/tmp/cvs-serv23449/koha-tmpl/intranet-tmpl/default/fr/acqui.simple

Modified Files:
        addbiblio.tmpl additem.tmpl 
Log Message:
biblio & item deletion now works fine in MARC editor.
Stores deleted biblio/item in the marc field of the deletedbiblio/deleteditem 
table.

Index: addbiblio.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/fr/acqui.simple/addbiblio.tmpl,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** addbiblio.tmpl      30 Sep 2003 13:13:36 -0000      1.9
--- addbiblio.tmpl      24 Nov 2003 16:28:49 -0000      1.10
***************
*** 30,34 ****
                                                                                
                <input type="hidden" name="addfield_field">
                                                                                
                <input type="hidden" name="oldbiblionumber" value="<TMPL_VAR 
name="oldbiblionumber">">
!                                                                               
                <input type="button" value="items" onClick='Check(this.form)' 
accesskey="w">
                                                                                
                <a href="javascript:PopupZ3950()">recherche z3950</a>
                </td>
--- 30,34 ----
                                                                                
                <input type="hidden" name="addfield_field">
                                                                                
                <input type="hidden" name="oldbiblionumber" value="<TMPL_VAR 
name="oldbiblionumber">">
!                                                                               
                <input type="button" value="Enreg puis Exemplaires" 
onClick='Check(this.form)' accesskey="w">
                                                                                
                <a href="javascript:PopupZ3950()">recherche z3950</a>
                </td>

Index: additem.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/fr/acqui.simple/additem.tmpl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** additem.tmpl        4 Sep 2003 13:04:12 -0000       1.4
--- additem.tmpl        24 Nov 2003 16:28:49 -0000      1.5
***************
*** 39,42 ****
--- 39,43 ----
                        <TMPL_VAR name="item_value">
                        <td><a href="additem.pl?op=edititem&bibid=<TMPL_VAR 
name="bibid">&itemnum=<TMPL_VAR name="itemnum">"><img src="<TMPL_VAR 
name="interface">/<TMPL_VAR name="theme">/images/fileopen.png" 
border=0></a></td>
+                       <td><a href="javascript:confirm_deletion(<TMPL_VAR 
name="bibid">,<TMPL_VAR name="itemnum">)"><img src="<TMPL_VAR 
name="interface">/<TMPL_VAR name="theme">/images/edittrash.png" 
border=0></a></td>
                </tr>
                </TMPL_LOOP>
***************
*** 65,69 ****
  <input type="hidden" name="itemnum" value="<TMPL_VAR name="itemnum">">
  <TMPL_IF name="barcode_not_unique">
!       <div id="problem"><b>ERROR : Barcode already exists !<b></div>
  </TMPL_IF>
  <TMPL_IF name="opisadd">
--- 66,70 ----
  <input type="hidden" name="itemnum" value="<TMPL_VAR name="itemnum">">
  <TMPL_IF name="barcode_not_unique">
!       <div id="problem"><b>ERREUR : le code barre existe déjà !<b></div>
  </TMPL_IF>
  <TMPL_IF name="opisadd">
***************
*** 119,122 ****
--- 120,129 ----
        defaultvalue=document.forms[0].field_value[i].value;
        newin=window.open(link+"&result="+defaultvalue,"value 
builder",'width=500,height=400,toolbar=false,scrollbars=yes');
+ }
+ function confirm_deletion(bibid,itemnum) {
+       var is_confirmed = confirm('Confirmez vous la suppression ?');
+       if (is_confirmed) {
+       window.location = 
"additem.pl?op=delitem&bibid="+bibid+"&itemnum="+itemnum;
+       }
  }
  </script>




reply via email to

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