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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 25 Apr 2006 15:43:02 -0000


albertel		Tue Apr 25 11:43:02 2006 EDT

  Modified files:              
    /rat/client	parameter.html 
  Log:
  - add radio selector for string_useslots
  
  
Index: rat/client/parameter.html
diff -u rat/client/parameter.html:1.36 rat/client/parameter.html:1.37
--- rat/client/parameter.html:1.36	Thu Mar  2 13:02:16 2006
+++ rat/client/parameter.html	Tue Apr 25 11:43:02 2006
@@ -3,7 +3,7 @@
 The LearningOnline Network with CAPA
 Parameter Input Window
 //
-// $Id: parameter.html,v 1.36 2006/03/02 18:02:16 albertel Exp $
+// $Id: parameter.html,v 1.37 2006/04/25 15:43:02 albertel Exp $
 //
 // Copyright Michigan State University Board of Trustees
 //
@@ -623,6 +623,22 @@
            choicewrite('<input name="stringval" size="20" value="'+svalue+
                     '" onChange="parent.stringeval()">');
        }
+       if (pscat=='useslots') {
+           tablestart('Slots control access');
+	   choicewrite('<tr bgcolor="#AAFFAA"><td>Value:</td><td colspan=2>');
+           choicewrite('<label><input name="stringval" value="no"'+
+                  ' type="radio" '+callradiostringeval('no'));
+           if (svalue=='no') { choicewrite(' checked'); }
+           choicewrite('> No</label><br />');
+           choicewrite('<label><input name="stringval" value="resource"'+
+                  ' type="radio" '+callradiostringeval('resource'));
+           if (svalue=='resource') { choicewrite(' checked'); }
+           choicewrite('> Yes, and the scope of student selected slot is a single resource.</label><br />');
+           choicewrite('<label><input name="stringval" value="sequence"'+
+                  ' type="radio" '+callradiostringeval('sequence'));
+           if (svalue=='sequence') { choicewrite(' checked'); }
+           choicewrite('> Yes, and the scope of student selected slot is the enclosing map/folder.</label><br />');
+       }
         choicewrite('</td></table>');
       }
    }