Diff for /rat/client/parameter.html between versions 1.63 and 1.64.2.2

version 1.63, 2011/12/08 21:37:51 version 1.64.2.2, 2015/01/23 19:41:19
Line 342  function radiostringeval(newval) { Line 342  function radiostringeval(newval) {
 }  }
   
 function callradiostringeval(newval) {  function callradiostringeval(newval) {
    return 'onchange="parent.radiostringeval(\''      return 'onclick="parent.radiostringeval(\''+newval+'\')"';
           +newval+'\')" onclick="parent.radiostringeval(\''  
           +newval+'\')"';  
 }  }
   
 function intervaldis() {  function intervaldis() {
Line 681  function draw() { Line 679  function draw() {
            if (svalue=='default') { choicewrite(' checked="checked"'); }             if (svalue=='default') { choicewrite(' checked="checked"'); }
            choicewrite(' /> Default (only bubblesheet grading is lenient)</label><br />');             choicewrite(' /> Default (only bubblesheet grading is lenient)</label><br />');
         }          }
           if (pscat=='discussvote') {
              tablestart('Discussion Voting');
              choicewrite('<tr><td>Value:</td><td colspan="2">');
              choicewrite('<label><input name="stringval" value="yes"'+
                     ' type="radio" '+callradiostringeval('yes'));
              if (svalue=='yes') { choicewrite(' checked="checked"'); }
              choicewrite(' /> Yes</label><br />');
              choicewrite('<label><input name="stringval" value="notended"'+
                     ' type="radio" '+callradiostringeval('notended'));
              if (svalue=='notended') { choicewrite(' checked="checked"'); }
              choicewrite(' /> Yes, unless discussion ended</label><br />');
              choicewrite('<label><input name="stringval" value="no"'+
                     ' type="radio" '+callradiostringeval('no'));
              if (svalue=='no') { choicewrite(' checked="checked"'); }
              choicewrite(' /> No</label><br />');
           }
         if (pscat=='ip') {          if (pscat=='ip') {
            tablestart('IP Number/Name');             tablestart('IP Number/Name');
    choicewrite('<tr><td>Value:</td><td colspan="2">');     choicewrite('<tr><td>Value:</td><td colspan="2">');
Line 884  function init() { Line 898  function init() {
   selwrite('</head>');    selwrite('</head>');
   selwrite('<body>');    selwrite('<body>');
   selwrite('<form name="fsel" action=""><b>'+pname+'</b><br />');    selwrite('<form name="fsel" action=""><b>'+pname+'</b><br />');
   selwrite('<select name="fcat" onchange="parent.catchange();">');    selwrite('Format of Value(s): <select name="fcat" onchange="parent.catchange();">');
   
   if (ptype=='tolerance') {    if (ptype=='tolerance') {
      sopt('default','Default');       sopt('default','Default');
Line 949  function init() { Line 963  function init() {
      else if (pscat == 'examtype')     { sopt('examtype','Exam Type'); }       else if (pscat == 'examtype')     { sopt('examtype','Exam Type'); }
      else if (pscat == 'questiontype') { sopt('questiontype','Question Type'); }       else if (pscat == 'questiontype') { sopt('questiontype','Question Type'); }
      else if (pscat == 'lenient')      { sopt('lenient','Lenient Grading (Partial Credit)'); }       else if (pscat == 'lenient')      { sopt('lenient','Lenient Grading (Partial Credit)'); }
        else if (pscat == 'discussvote')  { sopt('discussvote','Discussion Voting'); }
      else if (pscat == 'ip')           { sopt('ip','IP Number/Name'); }       else if (pscat == 'ip')           { sopt('ip','IP Number/Name'); }
      else if (pscat == 'fileext')      { sopt('fileext','File Extension'); }       else if (pscat == 'fileext')      { sopt('fileext','File Extension'); }
      else if (pscat == 'useslots')     { sopt('useslots','Slots control access'); }       else if (pscat == 'useslots')     { sopt('useslots','Slots control access'); }

Removed from v.1.63  
changed lines
  Added in v.1.64.2.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>