[LON-CAPA-cvs] cvs: rat /client parameter.html
albertel
lon-capa-cvs-allow@mail.lon-capa.org
Tue, 05 Jun 2007 20:44:15 -0000
albertel Tue Jun 5 16:44:15 2007 EDT
Modified files:
/rat/client parameter.html
Log:
- trying to get the string entries to work better, purely string values
now only have the option of string value (the dysfunctional
Default Value is removed, and specific listing for the string
submodes now added, so in a Yes/No case you switch between options
of 'Yes/No' and 'String Value' (rather than before where you'd Switch
between 'Default Value' and 'String Value', and if you did switch, you
couldn't get the yesno radio buttons back....
Index: rat/client/parameter.html
diff -u rat/client/parameter.html:1.43 rat/client/parameter.html:1.44
--- rat/client/parameter.html:1.43 Tue May 1 21:34:37 2007
+++ rat/client/parameter.html Tue Jun 5 16:44:14 2007
@@ -3,7 +3,7 @@
The LearningOnline Network with CAPA
Parameter Input Window
//
-// $Id: parameter.html,v 1.43 2007/05/02 01:34:37 albertel Exp $
+// $Id: parameter.html,v 1.44 2007/06/05 20:44:14 albertel Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -838,7 +838,13 @@
}
if (ptype=='string') {
- sopt('default','Default');
+ //sopt('default','Default');
+ if (pscat == 'yesno') { sopt('yesno','Yes/No'); }
+ if (pscat == 'examtype') { sopt('examtype','Exam Type'); }
+ if (pscat == 'questiontype') { sopt('questiontype','Question Type'); }
+ if (pscat == 'ip') { sopt('ip','IP Number/Name'); }
+ if (pscat == 'fileext') { sopt('fileext','File Extension'); }
+ if (pscat == 'useslots') { sopt('useslots','Slots control access'); }
sopt('any','String Value');
}