');
+ var lenienttypes = ['Correct (checked)','Correct (unchecked)','Incorrect (checked)','Incorrect (unchecked)'];
+ for (var i=0; i
'+lenienttypes[i]+'
'+
+ '
');
+ }
+ choicewrite('
');
}
if (pscat=='discussvote') {
tablestart('Discussion Voting');
@@ -1067,7 +1095,7 @@ function draw() {
if (pscat=='ip') {
var currallow = new Array;
var currdeny = new Array;
- if ((svalue != '') && (typeof(svalue) != 'undefined')) {
+ if ((svalue != '') && (svalue != null)) {
var patternComma = /,/;
var patternAllow = /^([\[\]a-zA-Z\.\d\*\-]+)$/;
var patternDeny = /^\!([\[\]a-zA-Z\.\d\*\-]+)$/;
@@ -1149,22 +1177,18 @@ 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();
- var ltikeyRegExp = /^(ltic:\d+|ltid:\d+|key:[a-zA-Z\d_.!@#$%^&*()+=-]+)$/;
- var linkexitparts = new Array();
- var dlinkexitRegExp = /^(yes|url|no)(|:[^:,;'"]+)$/;
+ var ltikeyRegExp = /^(ltic|ltid|key):(\w+)$/;
var dlinkkeysty = 'hidden';
var dlinkkeyval = '';
var dlinklticdivsty = 'none';
var dlinkltiddivsty = 'none';
var dlinkmenusdivsty = 'none';
- var dlinkexitdivsty = 'none';
- var dlinkexittextval = '';
- if ((svalue != '') && (typeof(svalue) != 'undefined')) {
+ if ((svalue != '') && (svalue != null)) {
deeplinkvals = svalue.split(',');
if (ltikeyRegExp.test(deeplinkvals[4])) {
linkprotectparts = deeplinkvals[4].split(':');
@@ -1181,20 +1205,8 @@ function draw() {
if (deeplinkvals[5] >= 1) {
dlinkmenusdivsty = 'inline-block';
}
- if (dlinkexitRegExp.test(deeplinkvals[7])) {
- linkexitparts = deeplinkvals[7].split(':');
- deeplinkvals[7] = linkexitparts[0];
- if (deeplinkvals[7] != 'no') {
- dlinkexitdivsty = 'inline-block';
- if (!linkexitparts[1]) {
- dlinkexittextval = 'Exit Tool';
- } else {
- dlinkexittextval = linkexitparts[1];
- }
- }
- }
} else {
- deeplinkvals = ['off','unhide','full','res','','0','_self','no'];
+ deeplinkvals = ['off','unhide','full','res','','0'];
}
var deeplinkstate = new Array();
deeplinkstate = ['only','off','both'];
@@ -1218,7 +1230,6 @@ function draw() {
deeplinktarget = ['_self','_top'];
var deeplinktargettxt = new Array();
deeplinktargettxt = ['Embedded','Not embedded'];
- var deeplinkexit = ['yes','url','no'];
tablestart('Deep-linked items');
choicewrite('