--- rat/client/parameter.html 2008/04/05 16:11:03 1.50
+++ rat/client/parameter.html 2010/01/13 18:45:15 1.54
@@ -3,7 +3,7 @@
The LearningOnline Network with CAPA
Parameter Input Window
//
-// $Id: parameter.html,v 1.50 2008/04/05 16:11:03 www Exp $
+// $Id: parameter.html,v 1.54 2010/01/13 18:45:15 bisitz Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -81,15 +81,15 @@ function choicewrite(text) {
}
function tablestart(headtext) {
- choicewrite('
'+
+ choicewrite('
'+
headtext+'
');
}
function valline(text,id1,id2) {
- choicewrite('
'+text+
- '
incl:
');
+ choicewrite('
'+text+
+ '
incl:
');
}
function escapeHTML(text) {
@@ -116,11 +116,11 @@ function datecalc() {
function hour() {
var thishour=cdate.getHours();
var i; var j;
- choicewrite('
');
choicewrite(' ');
+ if (svalue=='yes') { choicewrite(' checked="checked"'); }
+ choicewrite(' /> Yes ');
choicewrite(' ');
+ if (svalue=='no') { choicewrite(' checked="checked"'); }
+ choicewrite(' /> No ');
}
if (pscat=='problemstatus') {
tablestart('Problem Status');
- choicewrite('
Value:
');
+ choicewrite('
Value:
');
choicewrite(' ');
+ if (svalue=='yes') { choicewrite(' checked="checked"'); }
+ choicewrite(' /> Yes ');
choicewrite(' ');
+ if (svalue=='answer') { choicewrite(' checked="checked"'); }
+ choicewrite(' /> Yes, and show correct answer if they exceed the maximum number of tries. ');
choicewrite(' ');
+ if (svalue=='no') { choicewrite(' checked="checked"'); }
+ choicewrite(' /> No, don\'t show correct/incorrect feedback. ');
choicewrite(' ');
+ if (svalue=='no_feedback_ever') { choicewrite(' checked="checked"'); }
+ choicewrite(' /> No, show no feedback at all. ');
}
if (pscat=='examtype') {
tablestart('Exam Type');
- choicewrite('
Value:
');
+ choicewrite('
Value:
');
choicewrite(' ');
+ if (svalue=='online') { choicewrite(' checked="checked"'); }
+ choicewrite(' /> Online ');
choicewrite(' ');
+ if (svalue=='checkout') { choicewrite(' checked="checked"'); }
+ choicewrite(' /> Check out ');
}
if (pscat=='questiontype') {
tablestart('Question Type');
- choicewrite('
');
choicewrite(' ');
+ if (svalue=='txt') { choicewrite(' checked="checked"'); }
+ choicewrite(' /> Plain Text ');
choicewrite(' ');
+ if (svalue=='png,jpg,jpeg,gif') { choicewrite(' checked="checked"'); }
+ choicewrite(' /> Picture File ');
choicewrite(' ');
+ if (svalue=='doc,xls,ppt') { choicewrite(' checked="checked"'); }
+ choicewrite(' /> Office Document ');
choicewrite('');
+ '" onchange="parent.stringeval()" />');
}
if (pscat=='useslots') {
tablestart('Slots control access');
- choicewrite('
Value:
');
+ choicewrite('
Value:
');
choicewrite(' ');
+ if (svalue=='no') { choicewrite(' checked="checked"'); }
+ choicewrite(' /> No ');
choicewrite(' ');
+ if (svalue=='resource') { choicewrite(' checked="checked"'); }
+ choicewrite(' /> Yes, and the scope of student selected slot is a single resource. ');
choicewrite(' ');
+ if (svalue=='map') { choicewrite(' checked="checked"'); }
+ choicewrite(' /> Yes, and the scope of student selected slot is the enclosing map/folder. When checking in, it applies to only one resource. ');
choicewrite(' ');
- choicewrite('
');
+ if (svalue=='map_map') { choicewrite(' checked="checked"'); }
+ choicewrite(' /> Yes, and the scope of student selected slot is the enclosing map/folder. When checking in, all resources in the map/folder are checked in.. ');
+ choicewrite('
');
}
}
@@ -697,7 +697,7 @@ function draw() {
function sopt(va,text) {
selwrite('