X"; }
choicewrite(''+selection+' | ');
-
-}
+}
function draw() {
choicestart();
@@ -801,7 +843,7 @@ function draw() {
tablestart('Date and time');
}
if (pscat=='interval') {
- var proctorkeytype = 'hidden';
+ var proctorkeytype = 'hidden';
var donebuttontext = 'none';
if (pmodval == '_done_proctor') {
proctorkeytype = 'text';
@@ -910,7 +952,7 @@ function draw() {
if (ptype=='float') {
if (pscat=='default') {
tablestart('Default value or none');
- choicewrite('');
+ choicewrite('');
} else {
if (pscat=='pos') {
tablestart('Positive floating point number or zero');
@@ -929,7 +971,7 @@ function draw() {
}
if (ptype=='string') {
- if ((pscat=='any') || (pscat=='') || (pscat=='default') ||
+ if ((pscat=='any') || (pscat=='') || (pscat=='default') ||
(typeof(pscat)=='undefined')) {
tablestart('Text');
choicewrite('Value: | ');
@@ -998,7 +1040,7 @@ function draw() {
choicewrite(' ');
+ choicewrite(' /> Bubblesheet Exam ');
// choicewrite(' ');
}
if (pscat=='lenient') {
+ var patternLenientStd = /^(yes|no|default)$/;
+ var patternLenientRel = /^([\-\d\.]+)\,([\-\d\.]+)\,([\-\d\.]+)\,([\-\d\.]+)$/;
+ var lenientweighted = 'none';
+ var relatives = new Array;
tablestart('Lenient Grading (Partial Credit)');
choicewrite(' |
Value: | ');
choicewrite(' ');
choicewrite(' ');
choicewrite(' ');
+ choicewrite('
'+
+ '');
}
if (pscat=='discussvote') {
tablestart('Discussion Voting');
@@ -1064,6 +1136,18 @@ function draw() {
if (svalue=='no') { choicewrite(' checked="checked"'); }
choicewrite(' /> No ');
}
+ if (pscat=='tex') {
+ tablestart('TeX file display');
+ choicewrite(' |
Value: | ');
+ choicewrite(' ');
+ choicewrite(' ');
+ }
if (pscat=='ip') {
var currallow = new Array;
var currdeny = new Array;
@@ -1096,20 +1180,20 @@ function draw() {
}
var curripaccess = [currallow,currdeny];
tablestart('IP Number/Name');
- choicewrite(' |
Allow from | Deny from |
---|
');
+ choicewrite('
Allow from | Deny from |
---|
'+"\n");
var acctypes = ['allow','deny'];
for (var i=0; i'+
- ''+
- '
');
+ choicewrite(['
',
+ '',
+ ' ');
+ choicewrite([' '].join("\n"));
}
- choicewrite(' ');
+ choicewrite(''+"\n");
}
- choicewrite(' |
');
+ choicewrite(''+"\n");
}
if (pscat=='fileext') {
tablestart('Allowed File Extensions');
@@ -1149,8 +1233,8 @@ function draw() {
' type="radio" '+callradiostringeval('map_map'));
if (svalue=='map_map') { choicewrite(' checked="checked"'); }
choicewrite(' /> Yes, and the scope of the slot is the enclosing map/folder. When checking in, all resources in the map/folder are checked in.
');
- choicewrite('');
- }
+ choicewrite('');
+ }
if (pscat=='deeplink') {
var deeplinkvals = new Array();
var linkprotectparts = new Array();
@@ -1164,7 +1248,7 @@ function draw() {
var dlinkmenusdivsty = 'none';
var dlinkexitdivsty = 'none';
var dlinkexittextval = '';
- if ((svalue != '') && (typeof(svalue) != 'undefined')) {
+ if ((svalue != '') && (typeof(svalue) != 'undefined')) {
deeplinkvals = svalue.split(',');
if (ltikeyRegExp.test(deeplinkvals[4])) {
linkprotectparts = deeplinkvals[4].split(':');
@@ -1185,7 +1269,7 @@ function draw() {
linkexitparts = deeplinkvals[7].split(':');
deeplinkvals[7] = linkexitparts[0];
if (deeplinkvals[7] != 'no') {
- dlinkexitdivsty = 'inline-block';
+ dlinkexitdivsty = 'inline-block';
if (!linkexitparts[1]) {
dlinkexittextval = 'Exit Tool';
} else {
@@ -1375,7 +1459,7 @@ function draw() {
choicewrite(' checked="checked"');
}
choicewrite(' /> Standard (all menus)
');
- if (possmenus.length >= 1) {
+ if (possmenus.length >= 1) {
choicewrite('