--- rat/client/parameter.html 2003/07/10 08:34:43 1.25
+++ rat/client/parameter.html 2005/06/06 16:06:25 1.30
@@ -3,7 +3,7 @@
The LearningOnline Network with CAPA
Parameter Input Window
//
-// $Id: parameter.html,v 1.25 2003/07/10 08:34:43 www Exp $
+// $Id: parameter.html,v 1.30 2005/06/06 16:06:25 www Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -27,9 +27,6 @@ Parameter Input Window
//
// http://www.lon-capa.org/
//
-06/16/00,06/17,11/17,11/18,11/23,11/27,11/28,12/15,12/16,
-03/21/01,03/24,06/26 Gerd Kortemeyer
-08/08 Gerd Kortemeyer
-->
LON-CAPA
@@ -309,6 +306,12 @@ function radiostringeval(newval) {
draw();
}
+function callradiostringeval(newval) {
+ return 'onChange="parent.radiostringeval(\''
+ +newval+'\')" onClick="parent.radiostringeval(\''
+ +newval+'\')"';
+}
+
function intervaldis() {
csecs=svalue;
cdays=Math.floor(csecs/86400);
@@ -535,11 +538,11 @@ function draw() {
tablestart('Yes/No');
choicewrite('Value: | ');
choicewrite(' Yes ');
choicewrite(' No ');
}
@@ -547,11 +550,11 @@ function draw() {
tablestart('Exam Type');
choicewrite(' |
Value: | ');
choicewrite(' Online ');
choicewrite(' Check out ');
}
@@ -559,40 +562,58 @@ function draw() {
tablestart('Question Type');
choicewrite(' |
Value: | ');
choicewrite(' Standard Problem ');
choicewrite(' Quiz ');
choicewrite(' Exam ');
choicewrite(' Assessment ');
choicewrite(' Survey ');
choicewrite(' Input Form ');
choicewrite(' Library ');
}
if (pscat=='ip') {
tablestart('IP Number/Name');
choicewrite(' |
Value: | ');
- choicewrite('');
}
+ if (pscat=='fileext') {
+ tablestart('Allowed File Extensions');
+ choicewrite(' |
Value: | ');
+ choicewrite(' Plain Text ');
+ choicewrite(' Picture File ');
+ choicewrite(' Office Document ');
+ choicewrite('');
+ }
choicewrite(' | ');
}
}
@@ -749,6 +770,9 @@ function init() {
if ((pvalue!='') && (typeof(pvalue)!="undefined")) {
cdate.setTime(pvalue*1000);
+ } else {
+ cdate.setSeconds(0);
+ cdate.setMinutes(0);
}
months[0]='January';
@@ -784,7 +808,7 @@ function init() {
if (ptype=='string') {
sopt('default','Default');
- sopt('string','String Value');
+ sopt('any','String Value');
}
if (ptype=='color') {