version 1.5, 2006/06/08 13:56:52
|
version 1.12, 2010/08/24 09:11:43
|
Line 41 YEAR 2001
|
Line 41 YEAR 2001
|
--> |
--> |
|
|
|
|
<script language="JavaScript"> |
<script type="text/javascript" language="JavaScript"> |
|
|
var row=new Array(); |
var row=new Array(); |
var maxrow=-1; |
var maxrow=-1; |
Line 244 function newcondition(content,type) {
|
Line 244 function newcondition(content,type) {
|
} |
} |
|
|
// ---------------------------------------------- Creates a new resource object |
// ---------------------------------------------- Creates a new resource object |
function newresource(rid,cid,text,url,ext,type) { |
function newresource(rid,cid,text,url,ext,type,oldidx) { |
stored=0; |
stored=0; |
var newidx=addobj(rid,'b&'+rid+'&'+cid+':0:0:0',url); |
var newidx=addobj(rid,'b&'+rid+'&'+cid+':0:0:0',url,oldidx); |
|
|
objcont[newidx]= |
objcont[newidx]= |
text+':'+url+':'+ext+':'+type+':res'; |
text+':'+url+':'+ext+':'+type+':res'; |
return newidx; |
return newidx; |
Line 468 function insertport (obj1,d,inout,linkob
|
Line 469 function insertport (obj1,d,inout,linkob
|
|
|
// ---------------------------- Make a new object and add it to the row content |
// ---------------------------- Make a new object and add it to the row content |
// returns object number of generated object |
// returns object number of generated object |
function addobj(kjid,objs,url) { |
function addobj(kjid,objs,url,oldindex) { |
stored=0; |
stored=0; |
expense++; |
expense++; |
if ((rowcont[kjid]!='') && (typeof(rowcont[kjid])!="undefined")) { |
if ((rowcont[kjid]!='') && (typeof(rowcont[kjid])!="undefined")) { |
Line 476 function addobj(kjid,objs,url) {
|
Line 477 function addobj(kjid,objs,url) {
|
} |
} |
var newindex=obj.length; |
var newindex=obj.length; |
if ((url!='') && (typeof(url)!="undefined")) { |
if ((url!='') && (typeof(url)!="undefined")) { |
// see if we have a zombie with that url |
// see if we have a zombie with that url and possibly oldindex |
for (oidx=0;oidx<objcont.length;oidx++) { |
for (oidx=0;oidx<objcont.length;oidx++) { |
if (typeof(objcont[oidx])!="undefined") { |
if (typeof(objcont[oidx])!="undefined") { |
data6=objcont[oidx].split(':'); |
data6=objcont[oidx].split(':'); |
if (data6[4]=='zombie') { |
if (data6[4]=='zombie') { |
if (data6[1]==url) { |
if (data6[1]==url) { |
newindex=oidx; |
if (typeof(oldindex) == "undefined") { |
|
newindex=oidx; |
|
} else { |
|
if (oidx == oldindex) { |
|
newindex=oidx; |
|
} |
|
} |
} |
} |
} |
} |
} |
} |
Line 991 function drawcell (rtype,ctype,what,cm,o
|
Line 998 function drawcell (rtype,ctype,what,cm,o
|
mime=mime.toLowerCase(); |
mime=mime.toLowerCase(); |
} |
} |
parent.mapout.document.write |
parent.mapout.document.write |
('<img border=0 width='+cw[ctype]+' height='+rh[1] |
('<img border="0" width="'+cw[ctype]+'" height="'+rh[1] |
+' src="'+raticons+'resource.gif">'); |
+'" src="'+raticons+'resource.gif" />'); |
if (zscale==3) { |
if (zscale==3) { |
if ((mime!='') && (ext!='true')) { |
if ((mime!='') && (ext!='true')) { |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 src="'+raticons+'left.gif"></a><a target="preview" href="'+ |
('<br /><img border="0" src="'+raticons+'left.gif" /></a><a target="preview" href="'+ |
url+'.meta"><img border=0 src="'+iconpath+ |
url+'.meta"><img border="0" width="20" src="'+iconpath+ |
'meta.gif"><a target="preview" href="'+url+ |
'meta.gif" /><a target="preview" href="'+url+ |
'"><img border=0 src="'+iconpath+mime+'.gif">'+ |
'"><img border="0" width="20" src="'+iconpath+mime+'.gif" />'+ |
'<img border=0 src="'+raticons+'right.gif">'); |
'<img border="0" src="'+raticons+'right.gif" />'); |
} else { |
} else { |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 src="'+raticons+'middle.gif">'); |
('<br /><img border="0" src="'+raticons+'middle.gif" />'); |
} |
} |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 src="'+raticons+'bottom.gif">'); |
('<br /><img border="0" src="'+raticons+'bottom.gif" />'); |
} else { |
} else { |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 width='+cw[ctype]+' height='+rh[1] |
('<br /><img border="0" width="'+cw[ctype]+'" height="'+rh[1] |
+' src="'+raticons+'bottom.gif">'); |
+'" src="'+raticons+'bottom.gif" />'); |
} |
} |
} else { |
} else { |
if (what=='c:') { |
if (what=='c:') { |
parent.mapout.document.write |
parent.mapout.document.write |
('<img border=0 width='+cw[ctype]+' height='+rh[rtype] |
('<img border="0" width="'+cw[ctype]+'" height="'+rh[rtype] |
+' src="'+raticons+'condition.gif">'); |
+'" src="'+raticons+'condition.gif" />'); |
} else { |
} else { |
if (what=='rs:') { |
if (what=='rs:') { |
mime=''; |
mime=''; |
Line 1031 function drawcell (rtype,ctype,what,cm,o
|
Line 1038 function drawcell (rtype,ctype,what,cm,o
|
mime=mime.toLowerCase(); |
mime=mime.toLowerCase(); |
} |
} |
parent.mapout.document.write |
parent.mapout.document.write |
('<img border=0 width='+cw[ctype]+' height='+rh[1] |
('<img border="0" width="'+cw[ctype]+'" height="'+rh[1] |
+' src="'+raticons+'start.gif">'); |
+'" src="'+raticons+'start.gif" />'); |
if (zscale==3) { |
if (zscale==3) { |
if ((mime!='') && (ext!='true')) { |
if ((mime!='') && (ext!='true')) { |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 src="'+raticons+'left.gif"></a><a target="preview" href="'+ |
('<br /><img border="0" src="'+raticons+'left.gif" /></a><a target="preview" href="'+ |
url+'.meta"><img border=0 src="'+iconpath+ |
url+'.meta"><img border="0" width="20" src="'+iconpath+ |
'meta.gif"><a target="preview" href="'+url+ |
'meta.gif" /><a target="preview" href="'+url+ |
'"><img border=0 src="'+iconpath+mime+'.gif">'+ |
'"><img border="0" width="20" src="'+iconpath+mime+'.gif" />'+ |
'<img border=0 src="'+raticons+'right.gif">'); |
'<img border="0" src="'+raticons+'right.gif" />'); |
} else { |
} else { |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 src="'+raticons+'middle.gif">'); |
('<br /><img border="0" src="'+raticons+'middle.gif" />'); |
} |
} |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 src="'+raticons+'bottom.gif">'); |
('<br /><img border="0" src="'+raticons+'bottom.gif" />'); |
} else { |
} else { |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 width='+cw[ctype]+' height='+rh[1] |
('<br /><img border="0" width="'+cw[ctype]+'" height="'+rh[1] |
+' src="'+raticons+'bottom.gif">'); |
+'" src="'+raticons+'bottom.gif" />'); |
} |
} |
|
|
} else { |
} else { |
Line 1067 function drawcell (rtype,ctype,what,cm,o
|
Line 1074 function drawcell (rtype,ctype,what,cm,o
|
mime=mime.toLowerCase(); |
mime=mime.toLowerCase(); |
} |
} |
parent.mapout.document.write |
parent.mapout.document.write |
('<img border=0 width='+cw[ctype]+' height='+rh[1] |
('<img border="0" width="'+cw[ctype]+'" height="'+rh[1] |
+' src="'+raticons+'finish.gif">'); |
+'" src="'+raticons+'finish.gif" />'); |
if (zscale==3) { |
if (zscale==3) { |
if ((mime!='') && (ext!='true')) { |
if ((mime!='') && (ext!='true')) { |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 src="'+raticons+'left.gif"></a><a target="preview" href="'+ |
('<br /><img border="0" src="'+raticons+'left.gif" /></a><a target="preview" href="'+ |
url+'.meta"><img border=0 src="'+iconpath+ |
url+'.meta"><img border="0" width="20" src="'+iconpath+ |
'meta.gif"><a target="preview" href="'+url+ |
'meta.gif" /><a target="preview" href="'+url+ |
'"><img border=0 src="'+iconpath+mime+'.gif">'+ |
'"><img border="0" width="20" src="'+iconpath+mime+'.gif" />'+ |
'<img border=0 src="'+raticons+'right.gif">'); |
'<img border="0" src="'+raticons+'right.gif" />'); |
} else { |
} else { |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 src="'+raticons+'middle.gif">'); |
('<br /><img border="0" src="'+raticons+'middle.gif" />'); |
} |
} |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 src="'+raticons+'bottom.gif">'); |
('<br /><img border="0" src="'+raticons+'bottom.gif" />'); |
} else { |
} else { |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 width='+cw[ctype]+' height='+rh[1] |
('<br /><img border="0" width="'+cw[ctype]+'" height="'+rh[1] |
+' src="'+raticons+'bottom.gif">'); |
+'" src="'+raticons+'bottom.gif" />'); |
} |
} |
|
|
} else { |
} else { |
parent.mapout.document.write |
parent.mapout.document.write |
('<img border=0 width='+cw[ctype]+' height='+rh[rtype] |
('<img border="0" width="'+cw[ctype]+'" height="'+rh[rtype] |
+' src="'+raticons+rtype+'.'+ctype+'.'+what+'.gif">'); |
+'" src="'+raticons+rtype+'.'+ctype+'.'+what+'.gif" />'); |
} |
} |
} |
} |
} |
} |
Line 1112 function drawcell (rtype,ctype,what,cm,o
|
Line 1119 function drawcell (rtype,ctype,what,cm,o
|
('onMouseOver="parent.code.infoclear();">'); |
('onMouseOver="parent.code.infoclear();">'); |
parent.mapout.document.write |
parent.mapout.document.write |
( |
( |
'<img border=0 width='+cw[ctype]+' height='+rh[rtype] |
'<img border="0" width="'+cw[ctype]+'" height="'+rh[rtype] |
+' src="'+raticons+rtype+'.'+ctype+'.empty.gif"></a>'); |
+'" src="'+raticons+rtype+'.'+ctype+'.empty.gif" /></a>'); |
} |
} |
parent.mapout.document.write('</td>'); |
parent.mapout.document.write('</td>'); |
} |
} |
Line 1366 function draw () {
|
Line 1373 function draw () {
|
for (k=0;k<=maxrow;k++) { rrow[row[k]]=k; } |
for (k=0;k<=maxrow;k++) { rrow[row[k]]=k; } |
for (k=0;k<=maxcol;k++) { rcol[col[k]]=k; } |
for (k=0;k<=maxcol;k++) { rcol[col[k]]=k; } |
parent.mapout.document.writeln( |
parent.mapout.document.writeln( |
'<table cellpadding=0 cellspacing=0 border=0 rows=' |
'<table cellpadding="0" cellspacing="0" border="0" rows="' |
+disrows+' cols='+discols+'>'); |
+disrows+'" cols="'+discols+'">'); |
for (kr=0;kr<=maxrow;kr++) { |
for (kr=0;kr<=maxrow;kr++) { |
message("Generating Output Row "+kr); |
message("Generating Output Row "+kr); |
drawrow(rrow[kr]); |
drawrow(rrow[kr]); |
Line 1399 function infoclear() {
|
Line 1406 function infoclear() {
|
inf.document.clear(); |
inf.document.clear(); |
inf.document.writeln |
inf.document.writeln |
('<html><body bgcolor="#FFFFFF"><table><tr><td>'+ |
('<html><body bgcolor="#FFFFFF"><table><tr><td>'+ |
'<img src="/adm/lonIcons/lonlogos.gif"></td>'); |
'<img src="/adm/lonIcons/lonlogos.gif" /></td>'); |
if (linkmode!=0) { |
if (linkmode!=0) { |
if (tablemode==0) { |
if (tablemode==0) { |
inf.document.writeln( |
inf.document.writeln( |
'<td><b>Link Mode</b><hr>Click on a resource to link it with<br><b>'+ |
'<td><b>Link Mode</b><hr />Click on a resource to link it with<br /><b>'+ |
(objcont[linkmode].split(':'))[0]+ |
(objcont[linkmode].split(':'))[0]+ |
'</b><br>click anywhere else to cancel.</td>'); |
'</b><br />click anywhere else to cancel.</td>'); |
} else { |
} else { |
inf.document.writeln( |
inf.document.writeln( |
'<td><b>Link Mode</b><hr>Click on a resource number to link it with<br><b>'+ |
'<td><b>Link Mode</b><hr />Click on a resource number to link it with<br /><b>'+ |
(objcont[linkmode].split(':'))[0]+'</b><br>'+ |
(objcont[linkmode].split(':'))[0]+'</b><br />'+ |
'<a href="javascript:opener.linkmode=0;opener.notclear=0;opener.infoclear();">' |
'<a href="javascript:opener.linkmode=0;opener.notclear=0;opener.infoclear();">' |
+'Cancel</a></td>'); |
+'Cancel</a></td>'); |
} |
} |
} else { |
} else { |
if (tablemode==0) { |
if (tablemode==0) { |
inf.document.writeln( |
inf.document.writeln( |
'<td><b>Click to Edit</b><hr>Click in a light gray area<br>' |
'<td><b>Click to Edit</b><hr />Click in a light gray area<br />' |
+'to insert resources, columns and rows</td>' |
+'to insert resources, columns and rows</td>' |
); |
); |
} |
} |
Line 1464 function info(infostr) {
|
Line 1471 function info(infostr) {
|
inf.document.clear(); |
inf.document.clear(); |
inf.document.writeln( |
inf.document.writeln( |
'<html><body bgcolor="#FFFFFF">'+ |
'<html><body bgcolor="#FFFFFF">'+ |
'<table><tr><td width=32><img src="'+raticons+'info.gif"></td><td bgcolor="#AAFFAA">'); |
'<table><tr><td width="32"><img src="'+raticons+'info.gif" /></td><td bgcolor="#AAFFAA">'); |
data1=infostr.split('&'); |
data1=infostr.split('&'); |
if (data1[0]=='c') { |
if (data1[0]=='c') { |
inf.document.write('<b>Condition ('); |
inf.document.write('<b>Condition ('); |
Line 1483 function info(infostr) {
|
Line 1490 function info(infostr) {
|
} |
} |
} |
} |
} |
} |
inf.document.writeln(')</b><hr>From <b>'+objcont[data3[0]].split(':')[0]+ |
inf.document.writeln(')</b><hr />From <b>'+objcont[data3[0]].split(':')[0]+ |
'</b><br>to <b>'+objcont[data3[1]].split(':')[0]+'</b>'); |
'</b><br />to <b>'+objcont[data3[1]].split(':')[0]+'</b>'); |
} else { |
} else { |
if (data1[0]=='r') { |
if (data1[0]=='r') { |
data2=objcont[data1[1]].split(':'); |
data2=objcont[data1[1]].split(':'); |
Line 1496 function info(infostr) {
|
Line 1503 function info(infostr) {
|
if (ext=='true') { mime=''; } |
if (ext=='true') { mime=''; } |
if (mime!='') { |
if (mime!='') { |
inf.document.write |
inf.document.write |
('<br><a target="preview" align="right" href="'+url+ |
('<br /><a target="preview" align="right" href="'+url+ |
'"><img border=0 src="'+iconpath+mime+'.gif"></a> '); |
'"><img border="0" width="20" src="'+iconpath+mime+'.gif" /></a> '); |
} |
} |
inf.document.write('<b>'); |
inf.document.write('<b>'); |
if (data2[2]=='true') { inf.document.write('External '); } |
if (data2[2]=='true') { inf.document.write('External '); } |
Line 1516 function info(infostr) {
|
Line 1523 function info(infostr) {
|
if (data2[3]=='optional') { |
if (data2[3]=='optional') { |
inf.document.write(' (Optional)'); |
inf.document.write(' (Optional)'); |
} |
} |
inf.document.writeln('</b><hr><b>'+data2[0]+'</b><br>'); |
inf.document.writeln('</b><hr /><b>'+data2[0]+'</b><br />'); |
inf.document.writeln((data2[1].split('/')).join(' / ')); |
inf.document.writeln((data2[1].split('/')).join(' / ')); |
} else { |
} else { |
inf.document.writeln('<b>Link</b><hr>'); |
inf.document.writeln('<b>Link</b><hr />'); |
data2=obj[data1[0]].split('&'); |
data2=obj[data1[0]].split('&'); |
data3=objlinks[data2[data2.length-2]].split(':'); |
data3=objlinks[data2[data2.length-2]].split(':'); |
inf.document.writeln('From <b>'+objcont[data3[0]].split(':')[0]+ |
inf.document.writeln('From <b>'+objcont[data3[0]].split(':')[0]+ |
'</b><br>to <b>'+objcont[data3[1]].split(':')[0]+'</b>'); |
'</b><br />to <b>'+objcont[data3[1]].split(':')[0]+'</b>'); |
} |
} |
} |
} |
if (linkmode==0) { |
if (linkmode==0) { |
Line 1677 function groupopen(url) {
|
Line 1684 function groupopen(url) {
|
var options="scrollbars=1,resizable=1,menubar=0"; |
var options="scrollbars=1,resizable=1,menubar=0"; |
idxmode=mode; |
idxmode=mode; |
idxflag=1; |
idxflag=1; |
idx=open("/adm/groupsort?mode=rat&recover=1&readfile="+url,"idxout",options); |
idx=open("/adm/groupsort?inhibitmenu=yes&mode=rat&recover=1&readfile="+url,"idxout",options); |
idx.focus(); |
idx.focus(); |
} |
} |
// ------------------------------------------------- Open browser to select map |
// ------------------------------------------------- Open browser to select map |
Line 1712 function copydxopen(mode) {
|
Line 1719 function copydxopen(mode) {
|
copydx.document.clear(''); |
copydx.document.clear(''); |
copydx.document.writeln( |
copydx.document.writeln( |
'<html><body bgcolor="#FFFFFF"><h1>Copy from Map</h1>'+ |
'<html><body bgcolor="#FFFFFF"><h1>Copy from Map</h1>'+ |
'<form name="mapload"><input type=text size=40 name=importmap>'+ |
'<form name="mapload"><input type="text" size="40" name="importmap">'+ |
'<input type=button onClick="javascript:opener.openbrowser'+ |
'<input type="button" onClick="javascript:opener.openbrowser'+ |
"('mapload','importmap','sequence,page','')"+ |
"('mapload','importmap','sequence,page','')"+ |
'" value="Browse"><input type=button value="Load Map" '+ |
'" value="Browse"><input type="button" value="Load Map" '+ |
'onClick="window.location=document.mapload.importmap.value+'+ |
'onClick="window.location=document.mapload.importmap.value+'+ |
"'?launch=1&forceselect=1'"+'"></form>'); |
"'?launch=1&forceselect=1'"+'"></form>'); |
|
|
Line 1770 function handler(infostr) {
|
Line 1777 function handler(infostr) {
|
inf.document.clear(); |
inf.document.clear(); |
inf.document.writeln( |
inf.document.writeln( |
'<html><body bgcolor="#FFFFFF">'+ |
'<html><body bgcolor="#FFFFFF">'+ |
'<table><tr><td width=32><img src="'+raticons+'edit.gif"></td><td bgcolor="#AAFFAA">'); |
'<table><tr><td width="32"><img src="'+raticons+'edit.gif" /></td><td bgcolor="#AAFFAA">'); |
data1=infostr.split('&'); |
data1=infostr.split('&'); |
if (data1[0]=='c') { |
if (data1[0]=='c') { |
inf.document.writeln('<b>Condition</b><hr>'); |
inf.document.writeln('<b>Condition</b><hr />'); |
linkmode=0; |
linkmode=0; |
if (data1[4]=='-') { |
if (data1[4]=='-') { |
data2[0]=''; data2[1]='normal'; |
data2[0]=''; data2[1]='normal'; |
Line 1781 function handler(infostr) {
|
Line 1788 function handler(infostr) {
|
data2=objcont[data1[4]].split(':'); |
data2=objcont[data1[4]].split(':'); |
} |
} |
inf.document.writeln( |
inf.document.writeln( |
'<form name=condinfo><textarea name=c cols=30 rows=3>' |
'<form name="condinfo"><textarea name="c" cols="30" rows="3">' |
+data2[0]+'</textarea><br><input type=radio name=s value=normal '+ |
+data2[0]+'</textarea><br /><input type="radio" name="s" value="normal" '+ |
'onClick="self.document.forms.condinfo.elements.h.value='+"'normal'"+'"'); |
'onClick="self.document.forms.condinfo.elements.h.value='+"'normal'"+'"'); |
if (data2[1]=='normal') { inf.document.write(' checked'); } |
if (data2[1]=='normal') { inf.document.write(' checked'); } |
inf.document.write( |
inf.document.write( |
'> Recommendation if true<br><input type=radio name=s value=stop '+ |
'> Recommendation if true<br /><input type="radio" name="s" value="stop" '+ |
'onClick="self.document.forms.condinfo.elements.h.value='+"'stop'"+'"'); |
'onClick="self.document.forms.condinfo.elements.h.value='+"'stop'"+'"'); |
if (data2[1]=='stop') { inf.document.write(' checked'); } |
if (data2[1]=='stop') { inf.document.write(' checked'); } |
inf.document.write( |
inf.document.write( |
'> Blocking this link if false<br><input type=radio name=s value=force '+ |
'> Blocking this link if false<br /><input type="radio" name="s" value="force" '+ |
'onClick="self.document.forms.condinfo.elements.h.value='+"'force'"+'"'); |
'onClick="self.document.forms.condinfo.elements.h.value='+"'force'"+'"'); |
if (data2[1]=='force') { inf.document.write(' checked'); } |
if (data2[1]=='force') { inf.document.write(' checked'); } |
inf.document.write( |
inf.document.write( |
'> Blocking other links if true<br><a href="javascript:opener.editmode=0;' |
'> Blocking other links if true<br /><a href="javascript:opener.editmode=0;' |
+'opener.notclear=0;'); |
+'opener.notclear=0;'); |
if (data1[4]=='-') { |
if (data1[4]=='-') { |
inf.document.write('opener.crecond('+data1[2]+','+data1[1]+',' |
inf.document.write('opener.crecond('+data1[2]+','+data1[1]+',' |
Line 1808 function handler(infostr) {
|
Line 1815 function handler(infostr) {
|
inf.document.writeln( |
inf.document.writeln( |
'opener.infoclear();opener.editmode=0;opener.draw(' |
'opener.infoclear();opener.editmode=0;opener.draw(' |
+');"><b>Save Changes</b></a> ' |
+');"><b>Save Changes</b></a> ' |
+' <a href="javascript:self.document.forms.condinfo.reset()">Reset</a><br>' |
+' <a href="javascript:self.document.forms.condinfo.reset()">Reset</a><br />' |
+'<input type=hidden name=h value='+data2[1]+'>'); |
+'<input type="hidden" name="h" value="'+data2[1]+'">'); |
|
|
inf.document.writeln( |
inf.document.writeln( |
'<a href="javascript:opener.notclear=0;opener.infoclear();' |
'<a href="javascript:opener.notclear=0;opener.infoclear();' |
+'opener.delcond('+data1[2]+','+data1[1]+');opener.editmode=0;opener.draw(' |
+'opener.delcond('+data1[2]+','+data1[1]+');opener.editmode=0;opener.draw(' |
+');">Delete Condition</a><br>'); |
+');">Delete Condition</a><br />'); |
inf.document.writeln( |
inf.document.writeln( |
'<a href="javascript:opener.notclear=0;opener.infoclear();' |
'<a href="javascript:opener.notclear=0;opener.infoclear();' |
+'opener.dellink('+data1[3]+');opener.editmode=0;opener.draw(' |
+'opener.dellink('+data1[3]+');opener.editmode=0;opener.draw(' |
+');">Delete Link</a>'); |
+');">Delete Link</a>'); |
|
|
inf.document.writeln('<br><a href="javascript:'+ |
inf.document.writeln('<br /><a href="javascript:'+ |
'opener.insertcondlink('+data1[1]+','+data1[3]+');'+ |
'opener.insertcondlink('+data1[1]+','+data1[3]+');'+ |
'opener.editmode=0;opener.notclear=0;opener.infoclear();opener.draw(' |
'opener.editmode=0;opener.notclear=0;opener.infoclear();opener.draw(' |
+');">Insert Resource Into Link</a>'); |
+');">Insert Resource Into Link</a>'); |
Line 1845 function handler(infostr) {
|
Line 1852 function handler(infostr) {
|
} |
} |
} |
} |
inf.document.write( |
inf.document.write( |
'<form name=resinfo><table><tr><td>Title:</td><td colspan=2>' |
'<form name="resinfo"><table><tr><td>Title:</td><td colspan="2">' |
+'<input type=text name=t size=30 value="' |
+'<input type="text" name="t" size="30" value="' |
+escape(data2[0])+'"><input type=hidden name=h value='+data2[3]+'></td></tr>'); |
+escape(data2[0])+'"><input type="hidden" name="h" value='+data2[3]+'></td></tr>'); |
inf.document.write('<tr><td>URL:</td><td colspan=2>' |
inf.document.write('<tr><td>URL:</td><td colspan="2">' |
+'<input type=text name=u size=30 value="'+data2[1]+'"></td></tr>' |
+'<input type="text" name="u" size="30" value="'+data2[1]+'"></td></tr>' |
+'<tr><td>External:</td><td><input type=checkbox name=e'); |
+'<tr><td>External:</td><td><input type="checkbox" name="e"'); |
if (data2[2]=='true') { inf.document.write(' checked'); } |
if (data2[2]=='true') { inf.document.write(' checked="checked"'); } |
inf.document.write('></td><td align=right>' |
inf.document.write('></td><td align="right">' |
+'<a href="javascript:opener.idxcheck(\'interactive\')">Browse</a> ' |
+'<a href="javascript:opener.idxcheck(\'interactive\')">Browse</a> ' |
+'<a href="javascript:opener' |
+'<a href="javascript:opener' |
+'.srchcheck(\'interactive\')">Search</a></td></tr>'); |
+'.srchcheck(\'interactive\')">Search</a></td></tr>'); |
if ((data2[3]!='start') && (data2[3]!='finish')) { |
if ((data2[3]!='start') && (data2[3]!='finish')) { |
inf.document.write('<tr><td colspan=3>' |
inf.document.write('<tr><td colspan="3">' |
+'<input type=radio name=y value=normal '+ |
+'<input type="radio" name="y" value="normal" '+ |
'onClick="self.document.forms.resinfo.elements.h.value='+"'normal'"+'"'); |
'onClick="self.document.forms.resinfo.elements.h.value='+"'normal'"+'"'); |
if (data2[3]=='normal') { inf.document.write(' checked'); } |
if (data2[3]=='normal') { inf.document.write(' checked="checked"'); } |
inf.document.write( |
inf.document.write( |
'> Regular <input type=radio name=y value=mandatory '+ |
'> Regular <input type="radio" name="y" value="mandatory" '+ |
'onClick="self.document.forms.resinfo.elements.h.value='+"'mandatory'"+'"'); |
'onClick="self.document.forms.resinfo.elements.h.value='+"'mandatory'"+'"'); |
if (data2[3]=='mandatory') { inf.document.write(' checked'); } |
if (data2[3]=='mandatory') { inf.document.write(' checked="checked"'); } |
inf.document.write( |
inf.document.write( |
'> Mandatory <input type=radio name=y value=optional '+ |
'> Mandatory <input type="radio" name="y" value="optional" '+ |
'onClick="self.document.forms.resinfo.elements.h.value='+"'optional'"+'"'); |
'onClick="self.document.forms.resinfo.elements.h.value='+"'optional'"+'"'); |
if (data2[3]=='optional') { inf.document.write(' checked'); } |
if (data2[3]=='optional') { inf.document.write(' checked="checked"'); } |
inf.document.write('> Optional</td></tr>'); |
inf.document.write('> Optional</td></tr>'); |
} |
} |
inf.document.writeln( |
inf.document.writeln( |
'<tr><td colspan=3><a href="javascript:opener.editmode=0;' |
'<tr><td colspan="3"><a href="javascript:opener.editmode=0;' |
+'opener.notclear=0;opener.objcont['+data1[1] |
+'opener.notclear=0;opener.objcont['+data1[1] |
+']=opener.escape(self.document.forms.resinfo.elements.t.value)+'+"':'" |
+']=opener.escape(self.document.forms.resinfo.elements.t.value)+'+"':'" |
+'+opener.escape(self.document.forms.resinfo.elements.u.value)+'+"':'" |
+'+opener.escape(self.document.forms.resinfo.elements.u.value)+'+"':'" |
Line 1888 function handler(infostr) {
|
Line 1895 function handler(infostr) {
|
+'opener.delres('+data1[1]+',0);opener.editmode=0;opener.draw(' |
+'opener.delres('+data1[1]+',0);opener.editmode=0;opener.draw(' |
+');">Delete Resource (cutting links)</a>'); |
+');">Delete Resource (cutting links)</a>'); |
inf.document.writeln( |
inf.document.writeln( |
'<br><a href="javascript:opener.notclear=0;opener.infoclear();' |
'<br /><a href="javascript:opener.notclear=0;opener.infoclear();' |
+'opener.delres('+data1[1]+',1);opener.editmode=0;opener.draw(' |
+'opener.delres('+data1[1]+',1);opener.editmode=0;opener.draw(' |
+');">Delete Resource (preserving links)</a>'); |
+');">Delete Resource (preserving links)</a>'); |
} |
} |
if (data2[3]!='finish') { |
if (data2[3]!='finish') { |
inf.document.writeln( |
inf.document.writeln( |
'<br><a href="javascript:opener.editmode=0;opener.notclear=0;' |
'<br /><a href="javascript:opener.editmode=0;opener.notclear=0;' |
+'opener.linkmode='+data1[1]+';' |
+'opener.linkmode='+data1[1]+';' |
+'opener.infoclear();">Link Resource</a>'); |
+'opener.infoclear();">Link Resource</a>'); |
} |
} |
inf.document.writeln( |
inf.document.writeln( |
'<br><a href="javascript:' |
'<br /><a href="javascript:' |
+'opener.setparms('+data1[1]+');' |
+'opener.setparms('+data1[1]+');' |
+'opener.infoclear();">Set Parameters</a>'); |
+'opener.infoclear();">Set Parameters</a>'); |
|
|
} |
} |
} else { |
} else { |
linkmode=0; |
linkmode=0; |
inf.document.writeln('<b>Link</b><hr><form>'); |
inf.document.writeln('<b>Link</b><hr /><form>'); |
data2=obj[data1[0]].split('&'); |
data2=obj[data1[0]].split('&'); |
k=data2[data2.length-2]; |
k=data2[data2.length-2]; |
data3=objlinks[k].split(':'); |
data3=objlinks[k].split(':'); |
inf.document.writeln('From <b>'+objcont[data3[0]].split(':')[0]+ |
inf.document.writeln('From <b>'+objcont[data3[0]].split(':')[0]+ |
'</b><br>to <b>'+objcont[data3[1]].split(':')[0]+'</b>'); |
'</b><br />to <b>'+objcont[data3[1]].split(':')[0]+'</b>'); |
inf.document.writeln('<br><a href="javascript:opener.dellink('+ |
inf.document.writeln('<br /><a href="javascript:opener.dellink('+ |
k+');opener.editmode=0;opener.notclear=0;opener.infoclear();opener.draw(' |
k+');opener.editmode=0;opener.notclear=0;opener.infoclear();opener.draw(' |
+');">Delete Link</a>'); |
+');">Delete Link</a>'); |
inf.document.writeln('<br><a href="javascript:'+ |
inf.document.writeln('<br /><a href="javascript:'+ |
"opener.insertreslink('"+infostr+"');"+ |
"opener.insertreslink('"+infostr+"');"+ |
'opener.editmode=0;opener.notclear=0;opener.infoclear();opener.draw(' |
'opener.editmode=0;opener.notclear=0;opener.infoclear();opener.draw(' |
+');">Insert Resource Into Link</a>'); |
+');">Insert Resource Into Link</a>'); |
} |
} |
} |
} |
inf.document.writeln( |
inf.document.writeln( |
'<br><a href="javascript:opener.editmode=0;opener.notclear=0;' |
'<br /><a href="javascript:opener.editmode=0;opener.notclear=0;' |
+'opener.infoclear();">Cancel</a>'); |
+'opener.infoclear();">Cancel</a>'); |
inf.document.writeln('</form></td></tr></table></body></html>'); |
inf.document.writeln('</form></td></tr></table></body></html>'); |
inf.document.close(); |
inf.document.close(); |
Line 1942 function empty(rid,k) {
|
Line 1949 function empty(rid,k) {
|
inf.document.clear(); |
inf.document.clear(); |
inf.document.writeln( |
inf.document.writeln( |
'<html><body bgcolor="#FFFFFF">'+ |
'<html><body bgcolor="#FFFFFF">'+ |
'<table><tr><td width=32><img src="'+raticons+'edit.gif"></td><td bgcolor="#AAFFAA">'+ |
'<table><tr><td width="32"><img src="'+raticons+'edit.gif" /></td><td bgcolor="#AAFFAA">'+ |
'<b>Empty Field</b><hr>'); |
'<b>Empty Field</b><hr />'); |
|
|
inf.document.writeln('<br><a href="javascript:opener.newresource('+ |
inf.document.writeln('<br /><a href="javascript:opener.newresource('+ |
rid+','+cid+",'','','false','normal');"+ |
rid+','+cid+",'','','false','normal');"+ |
'opener.mostrecent=opener.obj.length-1;'+ |
'opener.mostrecent=opener.obj.length-1;'+ |
'opener.editmode=0;opener.notclear=0;opener.infoclear();opener.draw(' |
'opener.editmode=0;opener.notclear=0;opener.infoclear();opener.draw(' |
Line 1954 function empty(rid,k) {
|
Line 1961 function empty(rid,k) {
|
if ((mostrecent!=0) && (objcont[mostrecent]!='') && |
if ((mostrecent!=0) && (objcont[mostrecent]!='') && |
(typeof(objcont[mostrecent])!="undefined")) { |
(typeof(objcont[mostrecent])!="undefined")) { |
|
|
inf.document.writeln('<br><a href="javascript:opener.newresource('+ |
inf.document.writeln('<br /><a href="javascript:opener.newresource('+ |
rid+','+cid+",'','','false','normal');"+ |
rid+','+cid+",'','','false','normal');"+ |
'opener.mostrecent=opener.obj.length-1;'+ |
'opener.mostrecent=opener.obj.length-1;'+ |
'opener.joinres('+mostrecent+',opener.obj.length-1,0);'+ |
'opener.joinres('+mostrecent+',opener.obj.length-1,0);'+ |
'opener.editmode=0;opener.notclear=0;opener.infoclear();opener.draw(' |
'opener.editmode=0;opener.notclear=0;opener.infoclear();opener.draw(' |
+');">Insert resource linked to from most recent one</a>'); |
+');">Insert resource linked to from most recent one</a>'); |
|
|
inf.document.writeln('<br><a href="javascript:opener.newresource('+ |
inf.document.writeln('<br /><a href="javascript:opener.newresource('+ |
rid+','+cid+",'','','false','normal');"+ |
rid+','+cid+",'','','false','normal');"+ |
'opener.mostrecent=opener.obj.length-1;'+ |
'opener.mostrecent=opener.obj.length-1;'+ |
'opener.joinres(opener.obj.length-1,'+mostrecent+',0);'+ |
'opener.joinres(opener.obj.length-1,'+mostrecent+',0);'+ |
Line 1970 function empty(rid,k) {
|
Line 1977 function empty(rid,k) {
|
} |
} |
|
|
|
|
inf.document.writeln('<hr>Insert column:'); |
inf.document.writeln('<hr />Insert column:'); |
inf.document.writeln('<a href="javascript:opener.insertcol('+ |
inf.document.writeln('<a href="javascript:opener.insertcol('+ |
lcol+');opener.addobj('+rid+",'e&'+opener.maxcol);" |
lcol+');opener.addobj('+rid+",'e&'+opener.maxcol);" |
+'opener.editmode=0;opener.notclear=0;opener.infoclear();opener.draw(' |
+'opener.editmode=0;opener.notclear=0;opener.infoclear();opener.draw(' |
Line 1979 function empty(rid,k) {
|
Line 1986 function empty(rid,k) {
|
k+');opener.addobj('+rid+",'e&'+opener.maxcol);" |
k+');opener.addobj('+rid+",'e&'+opener.maxcol);" |
+'opener.editmode=0;opener.notclear=0;opener.infoclear();opener.draw(' |
+'opener.editmode=0;opener.notclear=0;opener.infoclear();opener.draw(' |
+');">right</a> '); |
+');">right</a> '); |
inf.document.writeln('<br>Insert row:'); |
inf.document.writeln('<br />Insert row:'); |
inf.document.writeln('<a href="javascript:opener.insertrow('+ |
inf.document.writeln('<a href="javascript:opener.insertrow('+ |
trow+');opener.addobj(opener.maxrow'+",'e&"+cid+"');" |
trow+');opener.addobj(opener.maxrow'+",'e&"+cid+"');" |
+'opener.editmode=0;opener.notclear=0;opener.infoclear();opener.draw(' |
+'opener.editmode=0;opener.notclear=0;opener.infoclear();opener.draw(' |
Line 1991 function empty(rid,k) {
|
Line 1998 function empty(rid,k) {
|
|
|
|
|
inf.document.writeln( |
inf.document.writeln( |
'<br><a href="javascript:opener.editmode=0;opener.notclear=0;' |
'<br /><a href="javascript:opener.editmode=0;opener.notclear=0;' |
+'opener.infoclear();">Cancel</a>'); |
+'opener.infoclear();">Cancel</a>'); |
inf.document.writeln('</td></tr></table></body></html>'); |
inf.document.writeln('</td></tr></table></body></html>'); |
inf.document.close(); |
inf.document.close(); |
Line 2143 function tabledraw() {
|
Line 2150 function tabledraw() {
|
if ((mime!='') && (ext!='true')) { |
if ((mime!='') && (ext!='true')) { |
parent.mapout.document.write |
parent.mapout.document.write |
('<a target="preview" align="right" href="'+url+'.meta'+ |
('<a target="preview" align="right" href="'+url+'.meta'+ |
'"><img src="'+iconpath+'meta.gif"></a><p>'+ |
'"><img width="20" src="'+iconpath+'meta.gif" /></a><p>'+ |
'<a target="preview" align="right"href="'+url+ |
'<a target="preview" align="right"href="'+url+ |
'"><img src="'+iconpath+mime+'.gif"></a><p>'); |
'"><img width="20" src="'+iconpath+mime+'.gif" /></a><p>'); |
} |
} |
parent.mapout.document.write( |
parent.mapout.document.write( |
'<b><a href="javascript:if (parent.code.linkmode!=0) { ' |
'<b><a href="javascript:if (parent.code.linkmode!=0) { ' |
Line 2153 function tabledraw() {
|
Line 2160 function tabledraw() {
|
+'parent.code.linkmode=0;parent.code.editmode=0;' |
+'parent.code.linkmode=0;parent.code.editmode=0;' |
+'parent.code.notclear=0;parent.code.infoclear();' |
+'parent.code.notclear=0;parent.code.infoclear();' |
+'parent.code.draw(); }">'+k+'</a></b></td><td bgcolor="'+ck |
+'parent.code.draw(); }">'+k+'</a></b></td><td bgcolor="'+ck |
+'"><form name=r'+i+' method=post>'); |
+'"><form name="r'+i+'" method="post">'); |
data2=obj[i].split('&'); |
data2=obj[i].split('&'); |
parent.mapout.document.write('<table bgcolor="#CCCCCC">'); |
parent.mapout.document.write('<table bgcolor="#CCCCCC">'); |
|
|
Line 2164 function tabledraw() {
|
Line 2171 function tabledraw() {
|
parent.mapout.document.writeln('<tr><td><b>Finish</b></td></tr>'); |
parent.mapout.document.writeln('<tr><td><b>Finish</b></td></tr>'); |
} |
} |
parent.mapout.document.write( |
parent.mapout.document.write( |
'<tr><td>Title:</td><td><input type=text name=t size=50 value="' |
'<tr><td>Title:</td><td><input type="text" name="t" size="50" value="' |
+data1[0]+'"><input type=hidden name=h value='+data1[3] |
+data1[0]+'"><input type="hidden" name="h" value="'+data1[3] |
+'></td></tr>'); |
+'"></td></tr>'); |
parent.mapout.document.write( |
parent.mapout.document.write( |
'<tr><td>URL:</td><td><input type=text name=u size=50 value="' |
'<tr><td>URL:</td><td><input type="text" name="u" size="50" value="' |
+data1[1]+'"></td></tr>' |
+data1[1]+'"></td></tr>' |
+'<tr><td>External:</td><td><input type=checkbox name=e'); |
+'<tr><td>External:</td><td><input type="checkbox" name="e"'); |
if (data1[2]=='true') { parent.mapout.document.write(' checked'); } |
if (data1[2]=='true') { parent.mapout.document.write(' checked="checked"'); } |
parent.mapout.document.write('></td></tr>'); |
parent.mapout.document.write('></td></tr>'); |
if ((data1[3]!='start') && (data1[3]!='finish')) { |
if ((data1[3]!='start') && (data1[3]!='finish')) { |
parent.mapout.document.write( |
parent.mapout.document.write( |
'<tr><td colspan=2><input type=radio name=y value=normal '+ |
'<tr><td colspan="2"><input type="radio" name="y" value="normal" '+ |
'onClick="parent.mapout.document.forms.r'+i+'.elements.h.value='+ |
'onClick="parent.mapout.document.forms.r'+i+'.elements.h.value='+ |
"'normal'"+'"'); |
"'normal'"+'"'); |
if (data1[3]=='normal') { parent.mapout.document.write(' checked'); } |
if (data1[3]=='normal') { parent.mapout.document.write(' checked="checked"'); } |
parent.mapout.document.write( |
parent.mapout.document.write( |
'> Regular <input type=radio name=y value=mandatory '+ |
'> Regular <input type="radio" name="y" value="mandatory" '+ |
'onClick="parent.mapout.document.forms.r'+i+'.elements.h.value='+ |
'onClick="parent.mapout.document.forms.r'+i+'.elements.h.value='+ |
"'mandatory'"+'"'); |
"'mandatory'"+'"'); |
if (data1[3]=='mandatory') { parent.mapout.document.write(' checked'); } |
if (data1[3]=='mandatory') { parent.mapout.document.write(' checked="checked"'); } |
parent.mapout.document.write( |
parent.mapout.document.write( |
'> Mandatory <input type=radio name=y value=optional '+ |
'> Mandatory <input type="radio" name="y" value="optional" '+ |
'onClick="parent.mapout.document.forms.r'+i+'.elements.h.value='+ |
'onClick="parent.mapout.document.forms.r'+i+'.elements.h.value='+ |
"'optional'"+'"'); |
"'optional'"+'"'); |
if (data1[3]=='optional') { parent.mapout.document.write(' checked'); } |
if (data1[3]=='optional') { parent.mapout.document.write(' checked="checked"'); } |
parent.mapout.document.write('> Optional</td></tr>'); |
parent.mapout.document.write('> Optional</td></tr>'); |
} |
} |
parent.mapout.document.write( |
parent.mapout.document.write( |
'<tr><td colspan=2><a href="javascript:parent.code.objcont['+i |
'<tr><td colspan="2"><a href="javascript:parent.code.objcont['+i |
+']=parent.code.escape(parent.mapout.document.forms.r'+i |
+']=parent.code.escape(parent.mapout.document.forms.r'+i |
+'.elements.t.value)+'+"':'" |
+'.elements.t.value)+'+"':'" |
+'+parent.code.escape(parent.mapout.document.forms.r'+i |
+'+parent.code.escape(parent.mapout.document.forms.r'+i |
Line 2202 function tabledraw() {
|
Line 2209 function tabledraw() {
|
+';parent.code.draw();">' |
+';parent.code.draw();">' |
+'<b>Save Changes</b></a> ' |
+'<b>Save Changes</b></a> ' |
+' <a href="javascript:parent.mapout.document.forms.r'+i |
+' <a href="javascript:parent.mapout.document.forms.r'+i |
+'.reset()">Reset</a></td></tr><tr><td colspan=2>'); |
+'.reset()">Reset</a></td></tr><tr><td colspan="2">'); |
if ((data1[3]!='start') && (data1[3]!='finish')) { |
if ((data1[3]!='start') && (data1[3]!='finish')) { |
parent.mapout.document.writeln( |
parent.mapout.document.writeln( |
'<A href="javascript:parent.code.notclear=0;parent.code.infoclear();' |
'<a href="javascript:parent.code.notclear=0;parent.code.infoclear();' |
+'parent.code.delres('+i+',0);parent.code.editmode=0;parent.code.draw();">' |
+'parent.code.delres('+i+',0);parent.code.editmode=0;parent.code.draw();">' |
+'Delete Resource (cutting links)</A><br>' |
+'Delete Resource (cutting links)</a><br />' |
+'<A href="javascript:parent.code.notclear=0;parent.code.infoclear();' |
+'<a href="javascript:parent.code.notclear=0;parent.code.infoclear();' |
+'parent.code.delres('+i+',1);parent.code.editmode=0;parent.code.draw();">' |
+'parent.code.delres('+i+',1);parent.code.editmode=0;parent.code.draw();">' |
+'Delete Resource (preserving links)</A><br>'); |
+'Delete Resource (preserving links)</a><br />'); |
} |
} |
if (data1[3]!='finish') { |
if (data1[3]!='finish') { |
parent.mapout.document.writeln( |
parent.mapout.document.writeln( |
Line 2219 function tabledraw() {
|
Line 2226 function tabledraw() {
|
'Link resource</a>'); |
'Link resource</a>'); |
} |
} |
parent.mapout.document.writeln( |
parent.mapout.document.writeln( |
'<br><a href="javascript:' |
'<br /><a href="javascript:' |
+'parent.code.setparms('+i+');">Set Parameters</a>'); |
+'parent.code.setparms('+i+');">Set Parameters</a>'); |
|
|
parent.mapout.document.writeln('</td></tr>'); |
parent.mapout.document.writeln('</td></tr>'); |
parent.mapout.document.writeln('<tr><td colspan=2><table><tr>'); |
parent.mapout.document.writeln('<tr><td colspan="2"><table><tr>'); |
for (j=2;j<data2.length;j++) { |
for (j=2;j<data2.length;j++) { |
data4=data2[j].split(':'); |
data4=data2[j].split(':'); |
data3=objlinks[data4[2]].split(':'); |
data3=objlinks[data4[2]].split(':'); |
Line 2237 function tabledraw() {
|
Line 2244 function tabledraw() {
|
condid='-'; |
condid='-'; |
} |
} |
parent.mapout.document.writeln( |
parent.mapout.document.writeln( |
'<td bgcolor='+cck+'>Next<br>'); |
'<td bgcolor="'+cck+'">Next<br />'); |
parent.mapout.document.writeln( |
parent.mapout.document.writeln( |
'<a href="javascript:parent.code.handler('+ |
'<a href="javascript:parent.code.handler('+ |
"'c&"+data4[0]+'&'+i+'&'+data4[2]+'&'+condid+"');" |
"'c&"+data4[0]+'&'+i+'&'+data4[2]+'&'+condid+"');" |
Line 2259 function tabledraw() {
|
Line 2266 function tabledraw() {
|
condid='-'; |
condid='-'; |
} |
} |
parent.mapout.document.writeln( |
parent.mapout.document.writeln( |
'<td bgcolor='+cck+'>To: '+robjs[data3[1]]+'<br>'); |
'<td bgcolor="'+cck+'">To: '+robjs[data3[1]]+'<br />'); |
parent.mapout.document.writeln( |
parent.mapout.document.writeln( |
'<a href="javascript:parent.code.handler('+ |
'<a href="javascript:parent.code.handler('+ |
"'c&"+data4[0]+'&'+i+'&'+data4[2]+'&'+condid+"');" |
"'c&"+data4[0]+'&'+i+'&'+data4[2]+'&'+condid+"');" |
Line 2278 function tabledraw() {
|
Line 2285 function tabledraw() {
|
|
|
// ----------------------------------------------------- Insert Resource Output |
// ----------------------------------------------------- Insert Resource Output |
function insrestab(irow,be,af,typ) { |
function insrestab(irow,be,af,typ) { |
parent.mapout.document.writeln('<tr><td colspan=2>'+ |
parent.mapout.document.writeln('<tr><td colspan="2">'+ |
'<table><tr><td><a href="javascript:parent.code.insertrow(' |
'<table><tr><td><a href="javascript:parent.code.insertrow(' |
+irow+');parent.code.newresource(parent.code.maxrow,'+rcol[1] |
+irow+');parent.code.newresource(parent.code.maxrow,'+rcol[1] |
+",'','','false','normal');parent.code.mostrecent=parent.code.obj.length-1;" |
+",'','','false','normal');parent.code.mostrecent=parent.code.obj.length-1;" |
Line 2292 function insrestab(irow,be,af,typ) {
|
Line 2299 function insrestab(irow,be,af,typ) {
|
+"parent.code.save();" |
+"parent.code.save();" |
+'parent.code.joinres('+be+',parent.code.mostrecent,0);' |
+'parent.code.joinres('+be+',parent.code.mostrecent,0);' |
+'parent.code.draw();">' |
+'parent.code.draw();">' |
+'Insert resource linked to from above</a><br>'); |
+'Insert resource linked to from above</a><br />'); |
} |
} |
if ((be!=-1) && (af!=-1) && (typ!='finish')) { |
if ((be!=-1) && (af!=-1) && (typ!='finish')) { |
parent.mapout.document.writeln( |
parent.mapout.document.writeln( |
Line 2304 function insrestab(irow,be,af,typ) {
|
Line 2311 function insrestab(irow,be,af,typ) {
|
+"parent.code.save();" |
+"parent.code.save();" |
+'parent.code.joinres(parent.code.mostrecent,'+af+',0);' |
+'parent.code.joinres(parent.code.mostrecent,'+af+',0);' |
+'parent.code.draw();">' |
+'parent.code.draw();">' |
+'Insert resource linked to from above and linking to below</a><br>'); |
+'Insert resource linked to from above and linking to below</a><br />'); |
} |
} |
if (af!=-1) { |
if (af!=-1) { |
parent.mapout.document.writeln( |
parent.mapout.document.writeln( |
Line 2314 function insrestab(irow,be,af,typ) {
|
Line 2321 function insrestab(irow,be,af,typ) {
|
+"parent.code.save();" |
+"parent.code.save();" |
+'parent.code.joinres(parent.code.mostrecent,'+af+',0);' |
+'parent.code.joinres(parent.code.mostrecent,'+af+',0);' |
+'parent.code.draw();">' |
+'parent.code.draw();">' |
+'Insert resource linking to below</a><br>'); |
+'Insert resource linking to below</a><br />'); |
} |
} |
parent.mapout.document.writeln('</td></tr></table></tr>'); |
parent.mapout.document.writeln('</td></tr></table></tr>'); |
} |
} |
Line 2361 function simpletabledraw() {
|
Line 2368 function simpletabledraw() {
|
if ((mime!='') && (ext!='true')) { |
if ((mime!='') && (ext!='true')) { |
parent.mapout.document.write |
parent.mapout.document.write |
('<a target="preview" align="right" href="'+url+'.meta'+ |
('<a target="preview" align="right" href="'+url+'.meta'+ |
'"><img src="'+iconpath+'meta.gif"></a><p>'+ |
'"><img width="20" src="'+iconpath+'meta.gif" /></a><p>'+ |
'<a target="preview" align="right"href="'+url+ |
'<a target="preview" align="right"href="'+url+ |
'"><img src="'+iconpath+mime+'.gif"></a><p>'); |
'"><img width="20" src="'+iconpath+mime+'.gif" /></a><p>'); |
} |
} |
parent.mapout.document.write('<b>'+k+'</b></td><td bgcolor="'+ck+'">'); |
parent.mapout.document.write('<b>'+k+'</b></td><td bgcolor="'+ck+'">'); |
data2=obj[i].split('&'); |
data2=obj[i].split('&'); |
Line 2379 function simpletabledraw() {
|
Line 2386 function simpletabledraw() {
|
'<tr><td>Title:</td><td>'+data1[0]+'</td></tr>'); |
'<tr><td>Title:</td><td>'+data1[0]+'</td></tr>'); |
parent.mapout.document.write( |
parent.mapout.document.write( |
'<tr><td>URL:</td><td>'+data1[1]+'</td></tr>' |
'<tr><td>URL:</td><td>'+data1[1]+'</td></tr>' |
+'<tr><td colspan=2><table><tr>'); |
+'<tr><td colspan="2"><table><tr>'); |
for (j=2;j<data2.length;j++) { |
for (j=2;j<data2.length;j++) { |
data4=data2[j].split(':'); |
data4=data2[j].split(':'); |
data3=objlinks[data4[2]].split(':'); |
data3=objlinks[data4[2]].split(':'); |
Line 2393 function simpletabledraw() {
|
Line 2400 function simpletabledraw() {
|
condid='-'; |
condid='-'; |
} |
} |
parent.mapout.document.writeln( |
parent.mapout.document.writeln( |
'<td bgcolor='+cck+'>Next<br>'); |
'<td bgcolor='+cck+'>Next<br />'); |
parent.mapout.document.writeln('</td>'); |
parent.mapout.document.writeln('</td>'); |
} |
} |
} |
} |
Line 2411 function simpletabledraw() {
|
Line 2418 function simpletabledraw() {
|
condid='-'; |
condid='-'; |
} |
} |
parent.mapout.document.writeln( |
parent.mapout.document.writeln( |
'<td bgcolor='+cck+'>To: '+robjs[data3[1]]+'<br>'); |
'<td bgcolor="'+cck+'">To: '+robjs[data3[1]]+'<br />'); |
parent.mapout.document.writeln('</td>'); |
parent.mapout.document.writeln('</td>'); |
} |
} |
} |
} |