From 1779c0616481b18c46c4a2f0f03e8d83c5a54c99 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Wed, 20 Apr 2011 14:02:31 +1200 Subject: [PATCH] Bug 6203 : Fix for numbering pattern not showing Signed-off-by: Chris Cormack --- .../prog/en/includes/calendar.inc | 2 +- .../en/modules/serials/subscription-add.tt | 28 +++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc index 5a1deb1f16..43ba02268f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc @@ -48,7 +48,7 @@ Calendar._TT["DAY_FIRST"] = _("Display %s first"); // This may be locale-dependent. It specifies the week-end days, as an array // of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 // means Monday, etc. -Calendar._TT["WEEKEND"] = "0comma6"; +Calendar._TT["WEEKEND"] = "0,6"; Calendar._TT["CLOSE"] = _("Close"); Calendar._TT["TODAY"] = _("Today"); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt index c3255656d2..b20ced46e6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt @@ -140,7 +140,7 @@ function init_pattern() { } function reset_pattern() { document.getElementById("numberpattern").value = ''; - document.getElementById("irregularity").innerhtml = ''; + document.getElementById("irregularity").innerHTML = ''; init_pattern(); reset_num_pattern(); } @@ -255,7 +255,7 @@ var patternchoice = document.getElementById("numberpattern").value; break; case "7": display_table(1); - document.getElementById("more_options").innerhtml = ''; + document.getElementById("more_options").innerHTML = ''; document.f.irreg_check.value=1; break; case "8": // Year/Number @@ -406,25 +406,25 @@ function moreoptions_daily_check(x) { var periodicity = document.f.periodicity.value; var errortext=''; if(periodicity == 1){ // i.e. daily - document.getElementById("irregularity").innerhtml = ''; + document.getElementById("irregularity").innerHTML = ''; errortext =_("Please indicate which days of the week you DO NOT expect to receive issues.")+"
"; for(var j=0;j"+irregular_issues.daynames[j]+"   "; } var error = errortext; moreoptions(x); - document.getElementById("irregularity").innerhtml = error; + document.getElementById("irregularity").innerHTML = error; } else { - document.getElementById("irregularity").innerhtml = ''; - document.getElementById("more_options").innerhtml = ''; + document.getElementById("irregularity").innerHTML = ''; + document.getElementById("more_options").innerHTML = ''; moreoptions(x); } } // to dispaly the more options section function moreoptions(x,y,z){ -document.getElementById("irregularity").innerhtml = ''; -document.getElementById("more_options").innerhtml = ''; +document.getElementById("irregularity").innerHTML = ''; +document.getElementById("more_options").innerHTML = ''; var textbox = ''; // alert("X: "+x+"Y: "+y+"Z: "+z); if(x){ @@ -457,7 +457,7 @@ var textbox = ''; } textbox +="<\/table>\n"; } - document.getElementById("more_options").innerhtml = textbox; + document.getElementById("more_options").innerHTML = textbox; } function hemispheres(chosen){ @@ -489,8 +489,8 @@ var selbox = document.getElementById("season1"); // to display the more options section for seasons function moreoptions_seasons(x,y){ // x = 'Season'. y = 'Year'. -document.getElementById("irregularity").innerhtml = ''; -document.getElementById("more_options").innerhtml = ''; +document.getElementById("irregularity").innerHTML = ''; +document.getElementById("more_options").innerHTML = ''; var textbox = ''; //alert("X: "+x+"Year: "+y); if(x){ @@ -518,7 +518,7 @@ var textbox = ''; textbox +="<\/td>\n"; textbox +="<\/tr><\/table>\n"; } - document.getElementById("more_options").innerhtml = textbox; + document.getElementById("more_options").innerHTML = textbox; } function irregularity_check(){ @@ -644,7 +644,7 @@ function irregularity_check(){ error=_("No irregularities noticed"); } display_example(expected); - document.getElementById("irregularity").innerhtml = error; + document.getElementById("irregularity").innerHTML = error; irregular_issues.update(); } @@ -793,7 +793,7 @@ function display_example(expected){ } } // displaytext = "
"+displaytext+"<\/div>"; - document.getElementById("displayexample").innerhtml = displaytext; + document.getElementById("displayexample").innerHTML = displaytext; } function isArray(obj) { -- 2.20.1