[LON-CAPA-cvs] cvs: rat(loncapaMITrelate_1) /client parameter.html

raeburn raeburn at source.lon-capa.org
Mon Apr 30 09:43:31 EDT 2012


raeburn		Mon Apr 30 13:43:31 2012 EDT

  Modified files:              (Branch: loncapaMITrelate_1)
    /rat/client	parameter.html 
  Log:
  - Customization for MITrelate
    - Backport 1.64.
  
  
Index: rat/client/parameter.html
diff -u rat/client/parameter.html:1.59.2.1 rat/client/parameter.html:1.59.2.1.2.1
--- rat/client/parameter.html:1.59.2.1	Mon Nov 21 13:39:40 2011
+++ rat/client/parameter.html	Mon Apr 30 13:43:31 2012
@@ -5,7 +5,7 @@
 The LearningOnline Network with CAPA
 Parameter Input Window
 //
-// $Id: parameter.html,v 1.59.2.1 2011/11/21 13:39:40 raeburn Exp $
+// $Id: parameter.html,v 1.59.2.1.2.1 2012/04/30 13:43:31 raeburn Exp $
 //
 // Copyright Michigan State University Board of Trustees
 //
@@ -664,6 +664,22 @@
            if (svalue=='library') { choicewrite(' checked="checked"'); }
            choicewrite(' /> Library</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') {
            tablestart('IP Number/Name');
 	   choicewrite('<tr><td>Value:</td><td colspan="2">');
@@ -930,6 +946,7 @@
      else if (pscat == 'problemstatus'){ sopt('problemstatus','Problem Status'); }
      else if (pscat == 'examtype')     { sopt('examtype','Exam Type'); }
      else if (pscat == 'questiontype') { sopt('questiontype','Question Type'); }
+     else if (pscat == 'discussvote')  { sopt('discussvote','Discussion Voting'); }
      else if (pscat == 'ip')           { sopt('ip','IP Number/Name'); }
      else if (pscat == 'fileext')      { sopt('fileext','File Extension'); }
      else if (pscat == 'useslots')     { sopt('useslots','Slots control access'); }




More information about the LON-CAPA-cvs mailing list