Update of /var/cvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/editors/editwizards_new/javascript In directory james.mmbase.org:/tmp/cvs-serv13714/editors/editwizards_new/javascript
Modified Files: override.js Log Message: CMSC-1180 Newsletter: change newsletter schedule mechanism See also: http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/editors/editwizards_new/javascript See also: http://www.mmbase.org/jira/browse/CMSC-1180 Index: override.js =================================================================== RCS file: /var/cvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/editors/editwizards_new/javascript/override.js,v retrieving revision 1.5 retrieving revision 1.6 diff -u -b -r1.5 -r1.6 --- override.js 15 Dec 2008 05:08:37 -0000 1.5 +++ override.js 15 Dec 2008 05:40:58 -0000 1.6 @@ -189,7 +189,7 @@ message += "Once,start datetime:"+expression[1]+" "+expression[2]+":"+expression[3]; } else if(type == '2') { - message += "Days of years,start datetime:"+expression[1]+" "+expression[2]+":"+expression[3]; + message += "Per day,start datetime:"+expression[1]+" "+expression[2]+":"+expression[3]; if(expression[4] == "0") { message += "<br/> dayly"; } @@ -197,12 +197,12 @@ message += "<br/> weekday"; } else if(expression[4] == "2") { - message += "<br/> day of year: "+expression[5]; + message += "<br/> frequency: "+expression[5] +" day(s) "; } } else if(type == '3') { - message += "weeks of year,start time:"+expression[1]+":"+expression[2]; - message += "<br/> week of year "+expression[3]; + message += "Per week,start time:"+expression[1]+":"+expression[2]; + message += "<br/> frequency: "+expression[3]+" week(s) "; var varWeek = ""; for(var i = 0 ; i < expression[4].length;i++) { @@ -237,10 +237,10 @@ message += "<br/> week: "+varWeek; } else if(type == '4') { - message += "Months of year,start time:"+expression[1]+":"+expression[2]; + message += "Per month,start time:"+expression[1]+":"+expression[2]; var months = ""; if(expression[3] == "0") { - message += "<br/> day of month: "+expression[4]+""; + message += "<br/> months: "+expression[4]+""; if(expression[4] == "1") { message += "st"; } _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs