// Javascript for printing OpenSprinkler Run Once page // Firmware v1.8 // All content is published under: // Creative Commons Attribution ShareAlike 3.0 License // Sep 2012, Rayshobby.net function w(s) {document.writeln(s);} function imgstr(s) {return " ";} function rst(f) { var sid,sn; for(sid=0;sid=0&&ss>=0&&ss<60)) {alert("Timer values wrong: "+strmm+":"+strss);return;} if(mm*60+ss>0) matchfound=1; comm+=(mm*60+ss)+","; } comm+="0]" if(!matchfound) {alert("No station is schedule to run");return;} window.location=comm; } function fcancel() {window.location="/";} w("
"); w("Run-Once Program:

"); var sid; w(""); w(""); for(sid=0;sid"); } w("
"); w(snames[sid]+":  "); if (sid+1==sd['mas']) {w("(Master)
");continue;} w(":"); w(" (mm:ss)
"); w("
"); w("
Password:

"); w(""); w(""); w(""); w("");