1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Catalogage › exemplaires pour la notice bibliographique <!-- TMPL_VAR name="biblionumber" --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
5 <!-- TMPL_INCLUDE NAME="menus.inc" -->
6 <!-- TMPL_INCLUDE NAME="menu-catalogue.inc" -->
9 <h1>Exemplaires pour <!-- TMPL_VAR name="title" --> <!-- TMPL_IF NAME="author" --> par <!-- TMPL_VAR name="author" --><!-- /TMPL_IF --> (Notice #<!-- TMPL_VAR NAME="biblionumber" -->)</h1>
12 <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->"> Modifier notice biblio <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->">Vue normale</a> <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->"> Vue complète</a> <a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->"> ISBD </a>
15 <div id="cataloguing_additem_itemlist">
16 <form method="post" action="additem.pl" name="f">
17 <input type="hidden" name="op" value="<!-- TMPL_VAR NAME="op" -->" />
18 <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
19 <!-- TMPL_IF name="item_loop" -->
20 <h2>Exemplaire(s) existant(s)</h2>
23 <!-- TMPL_LOOP NAME="item_header_loop" -->
25 <!-- TMPL_VAR NAME="header_value" -->
28 <th colspan="2"> </th>
30 <!-- TMPL_LOOP NAME="item_loop" -->
32 <!-- TMPL_VAR NAME="item_value" -->
33 <td><a href="additem.pl?op=edititem&biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->">Modifier</a></td>
34 <td><a href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="biblionumber" -->,<!-- TMPL_VAR NAME="itemnumber" -->)">Supprimer</a></td>
41 <div id="cataloguing_additem_newitem">
42 <!-- TMPL_IF name="opisadd" -->
43 <h2>Nouvel exemplaire</h2>
45 <h2>Modifier exemplaire</h2>
47 <!-- TMPL_LOOP NAME="item" -->
49 <label><!-- TMPL_VAR NAME="subfield" --> - <!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF --><!-- TMPL_VAR NAME="marc_lib" --><!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF --></label>
50 <!-- TMPL_VAR NAME="marc_value" -->
51 <input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->" />
52 <input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" />
53 <input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->" />
56 <input type="hidden" name="itemnumber" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
57 <!-- TMPL_IF name="barcode_not_unique" -->
58 ERREUR : Code à barres déjà utilisé !
60 <!-- TMPL_IF name="opisadd" -->
61 <input type="button" value="Valider l'exemplaire" onclick="Check(this.form)" accesskey="w">
63 <input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="itemtagfield" -->" />
64 <input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="itemtagsubfield" -->" />
65 <input type="hidden" name="field_value" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
66 <input type="button" value="Valider les modifications" onclick="Check(this.form)" accesskey="w">
70 <script language="JavaScript" type="text/javascript">
71 function active(numlayer)
73 for (i=10; i < 11 ; i++ ) {
77 document.getElementById(ong).style.visibility="visible";
78 document.getElementById(link).style.backgroundColor="#11AA11";
79 document.getElementById(link).style.backgroundImage="url(<!-- TMPL_VAR NAME="themelang" -->/images/background-mem.gif)";
81 document.getElementById(ong).style.visibility="hidden";
82 document.getElementById(link).style.backgroundColor="#FFFFFF";
83 document.getElementById(link).style.backgroundImage="";
89 // alert(f.field_value.length);
90 for (i=0 ; i<f.field_value.length ; i++) {
91 // alert (f.field_value[i].value);
92 if (f.field_value[i].value.length==0 && f.mandatory[i].value==1) {
93 document.getElementById("error"+i).style.backgroundColor="#FF0000";
96 // document.getElementById("error"+i).style.backgroundColor="#FFFFFF";
100 if (total_errors==0) {
103 alertString2 = _("Formulaire non soumis à cause du (des) problème(s) suivant(s)");
104 alertString2 += "\n------------------------------------------------------------------------------------\n";
105 alertString2 += "\n- "+ total_errors+_("champs obligatoires vides (voir les sous-champs en gras)");
109 function Dopop(link,i) {
110 defaultvalue=document.forms[0].field_value[i].value;
111 newin=window.open(link+"&result="+defaultvalue,"value builder",'width=500,height=400,toolbar=false,scrollbars=yes');
113 function confirm_deletion(biblionumber,itemnumber) {
114 var is_confirmed = confirm(_('Êtes vous sûr de vouloir supprimer cet exemplaire ?'));
116 window.location = "additem.pl?op=delitem&biblionumber="+biblionumber+"&itemnumber="+itemnumber;
120 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->