[Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/serials su... [rel_3_0]

Henri-Damien LAURENT laurenthdl at alinto.com
Thu Jan 11 17:53:15 CET 2007


CVSROOT:	/cvsroot/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Henri-Damien LAURENT <hdl>	07/01/11 16:53:15

Modified files:
	koha-tmpl/intranet-tmpl/prog/en/serials: subscription-add.tmpl 

Log message:
	Adding Number definition to daily issues
	+ refreshing numpatterns on any modification.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/serials/subscription-add.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.3.2.8&r2=1.3.2.9

Patches:
Index: subscription-add.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/prog/en/serials/subscription-add.tmpl,v
retrieving revision 1.3.2.8
retrieving revision 1.3.2.9
diff -u -b -r1.3.2.8 -r1.3.2.9
--- subscription-add.tmpl	11 Jan 2007 15:30:52 -0000	1.3.2.8
+++ subscription-add.tmpl	11 Jan 2007 16:53:15 -0000	1.3.2.9
@@ -132,6 +132,7 @@
         break;
     case "7":
         display_table(1);
+        document.getElementById("more_options").innerHTML = '';
         document.f.irreg_check.value=1; 
         break;
     default:
@@ -217,13 +218,13 @@
     var errortext='';
     if(periodicity == 1){
         document.getElementById("irregularity").innerHTML = '';
-        document.getElementById("more_options").innerHTML = '';
         var daynames = new Array('Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday');
         errortext ="Please indicate which days of the week you <b>DO NOT<\/b> expect to receive issues.<br \/>";
         for(var j=0;j<daynames.length;j++){
             errortext +="<input type='checkbox' name='irregular' id='irregular"+(j+1)+"' value='"+(j+1)+"' />"+daynames[j]+" &nbsp; ";
         }
     var error = errortext;
+        moreoptions(x);
     document.getElementById("irregularity").innerHTML = error;
     } else {
         document.getElementById("irregularity").innerHTML = '';
@@ -663,7 +664,7 @@
                 <input type="text" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" size="8"> 
                 (<input type="text" name="title" value="<!-- TMPL_VAR name="bibliotitle" -->" disabled readonly>)
                 <a href="#" onClick="Plugin(f)">Search for Biblio</a> |
-                <a href="/cgi-bin/koha/acqui/acqui-home.pl">Create Biblio</a>
+                <!--TMPL_UNLESS Name="mod"--><a href="/cgi-bin/koha/acqui/acqui-home.pl">Create Biblio</a><!--/TMPL_UNLESS-->
             </td>
         </tr>
         <tr>
@@ -739,7 +740,7 @@
         <tr>
             <td><label">Frequency: (*)</label></td>
             <td>
-                <select name="periodicity" size="1" onchange="javascript:if (this.value==1){document.getElementsByName('manualhist')[0].checked=true}">
+                <select name="periodicity" size="1" onchange="javascript:document.getElementsByName('manualhist')[0].checked=(this.value==1);num_pattern;">
                 <option value="" selected>-- please choose --</option>
                 <option value="">Unknown</option>
 





More information about the Koha-cvs mailing list