--- rat/client/parameter.html 2022/03/26 00:50:53 1.64.2.5.4.1 +++ rat/client/parameter.html 2017/06/21 19:55:03 1.71.4.1 @@ -5,7 +5,7 @@ The LearningOnline Network with CAPA Parameter Input Window // -// $Id: parameter.html,v 1.64.2.5.4.1 2022/03/26 00:50:53 raeburn Exp $ +// $Id: parameter.html,v 1.71.4.1 2017/06/21 19:55:03 raeburn Exp $ // // Copyright Michigan State University Board of Trustees // @@ -287,7 +287,7 @@ function intsecond() { } result += ''; return result; -} +} function intday() { @@ -323,7 +323,7 @@ function intcalc() { newpmodval = sform.donebutton[i].value; newpextravaltwo = sform.donebutton_text.value; } else { - if (sform.donebutton[i].value == '_done_proctor') { + if (sform.donebutton[i].value == '_done_proctor') { newpmodval = sform.donebutton[i].value; newpextraval = sform.donebutton_proctorkey.value; newpextravaltwo = sform.donebutton_text.value; @@ -344,7 +344,7 @@ function intcalc() { svalue += donevals[1]; } if (newpextravaltwo) { - if (newpextravaltwo != 'Done') { + if (newpextravaltwo != 'Done') { svalue += ':'+newpextravaltwo+':'; } } @@ -395,7 +395,7 @@ function validateInterval() { for (var i=0; i 0) { - for (var j=0; j'+ - 'Remove'; - frame.document.getElementById('LC_string_ipacc_inner_'+iptype).appendChild(ipDiv); - } - return false; -} - -function removeIpRule(iptype,num) { - var frame = window.frames["choices"]; - if (frame.document.getElementById('LC_string_ipacc_inner_'+iptype)) { - var innerDiv = frame.document.getElementById('LC_string_ipacc_inner_'+iptype); - for (var i=0; iValue:'); @@ -900,51 +841,10 @@ function draw() { choicewrite(' /> No
'); } if (pscat=='ip') { - var currallow = new Array; - var currdeny = new Array; - if ((svalue != '') && (svalue != null)) { - var patternComma = /,/; - var patternAllow = /^([\[\]a-zA-Z\.\d\*\-]+)$/; - var patternDeny = /^\!([\[\]a-zA-Z\.\d\*\-]+)$/; - var current = new Array; - if (patternComma.test(svalue)) { - current = svalue.split(','); - } else { - current = [svalue]; - } - for (var i=0; iAllow fromDeny from'); - var acctypes = ['allow','deny']; - for (var i=0; i'+ - '
'+ - '
'); - for (var j=0; j'); - choicewrite('Remove'); - choicewrite('
'); - } - choicewrite('
'); - } - choicewrite(''); + tablestart('IP Number/Name'); + choicewrite('Value:'); + choicewrite(''); } if (pscat=='fileext') { tablestart('Allowed File Extensions'); @@ -975,15 +875,15 @@ function draw() { choicewrite('
'); + choicewrite(' /> Yes, and the scope of student selected slot is a single resource.
'); choicewrite('
'); + choicewrite(' /> Yes, and the scope of student selected slot is the enclosing map/folder. When checking in, it applies to only one resource.
'); choicewrite('
'); + choicewrite(' /> Yes, and the scope of student selected slot is the enclosing map/folder. When checking in, all resources in the map/folder are checked in.
'); choicewrite(''); } } @@ -1133,7 +1033,7 @@ function init() { } } else { if (doneRegExp.test(pvalue)) { - var current = pvalue.match(doneRegExp); + var current = pvalue.match(doneRegExp); if (current.length == 2) { var textstr = current[1]; if (textstr != '') { @@ -1302,7 +1202,7 @@ function init() { selwrite(''); this.window.selector.document.close(); draw(); - + } // ]]>