version 1.40, 2001/07/04 18:19:53
|
version 1.47, 2001/10/16 17:00:33
|
Line 3
|
Line 3
|
<!-- |
<!-- |
The LearningOnline Network |
The LearningOnline Network |
Resource Assembly Tool |
Resource Assembly Tool |
|
YEAR 2000 |
7/23,7/24,7/26, |
7/23,7/24,7/26, |
8/11,8/14,8/18,8/19,8/20,8/21,8/22,8/25,8/26,8/28,8/30,8/31, |
8/11,8/14,8/18,8/19,8/20,8/21,8/22,8/25,8/26,8/28,8/30,8/31, |
9/1,9/2,9/4,9/5,9/6, |
9/1,9/2,9/4,9/5,9/6, |
Line 10 Resource Assembly Tool
|
Line 11 Resource Assembly Tool
|
2/2,2/3,2/10,2/12,2/13,2/14,2/15,2/17,2/18,2/19,2/20,2/21,2/22, |
2/2,2/3,2/10,2/12,2/13,2/14,2/15,2/17,2/18,2/19,2/20,2/21,2/22, |
5/2,5/3,5/4,5/5,5/6,5/8,5/9,5/13,5/18,5/20,5/22,5/24,5/25, |
5/2,5/3,5/4,5/5,5/6,5/8,5/9,5/13,5/18,5/20,5/22,5/24,5/25, |
6/7,6/8,6/9,6/10,6/12,6/15,7/4,7/26,7/28,7/31,8/5,8/19,8/24, |
6/7,6/8,6/9,6/10,6/12,6/15,7/4,7/26,7/28,7/31,8/5,8/19,8/24, |
|
YEAR 2001 |
01/17/01,03/03,03/05 Gerd Kortemeyer with Scott Harrison |
01/17/01,03/03,03/05 Gerd Kortemeyer with Scott Harrison |
March/April 01 Scott Harrison |
March/April 01 Scott Harrison |
04/20 Gerd Kortemeyer |
04/20 Gerd Kortemeyer |
04/30 Scott Harrison |
04/30 Scott Harrison |
05/31 Scott Harrison |
05/31 Scott Harrison |
06/11,06/25,06/27,06/28,06/29,07/04 Gerd Kortemeyer |
06/11,06/25,06/27,06/28,06/29,07/04 Gerd Kortemeyer |
|
07/24,8/6,8/7,10/16 Scott Harrison |
--> |
--> |
|
|
|
|
Line 120 function insertrow(j,ex1,ex2) {
|
Line 123 function insertrow(j,ex1,ex2) {
|
objects=objects1+':'+objects2; |
objects=objects1+':'+objects2; |
data1=objects.split(':'); |
data1=objects.split(':'); |
for (kj=0;kj<data1.length;kj++) { |
for (kj=0;kj<data1.length;kj++) { |
if ((data1[kj]!='') && (data1[kj]!=undefined)) { |
if ((data1[kj]!='') && (typeof(data1[kj])!="undefined")) { |
thisisobj=obj[data1[kj]]; |
thisisobj=obj[data1[kj]]; |
thisobjtype=thisisobj.split('&')[0]; |
thisobjtype=thisisobj.split('&')[0]; |
if (thisobjtype=='v') { |
if (thisobjtype=='v') { |
Line 161 function insertrow(j,ex1,ex2) {
|
Line 164 function insertrow(j,ex1,ex2) {
|
} |
} |
} |
} |
} |
} |
if ((newobj!='') && (newobj!=undefined)) { |
if ((newobj!='') && (typeof(newobj)!="undefined")) { |
thisobjcol=newobj.split('&')[1]; |
thisobjcol=newobj.split('&')[1]; |
if (colcover.indexOf(':'+thisobjcol+':',0)==-1) { |
if (colcover.indexOf(':'+thisobjcol+':',0)==-1) { |
colcover+=thisobjcol+':'; |
colcover+=thisobjcol+':'; |
Line 187 function insertrow(j,ex1,ex2) {
|
Line 190 function insertrow(j,ex1,ex2) {
|
} |
} |
} |
} |
} |
} |
if ((newobj!='') && (newobj!=undefined)) { |
if ((newobj!='') && (typeof(newobj)!="undefined")) { |
thisobjcol=newobj.split('&')[1]; |
thisobjcol=newobj.split('&')[1]; |
if (colcover.indexOf(':'+thisobjcol+':',0)==-1) { |
if (colcover.indexOf(':'+thisobjcol+':',0)==-1) { |
colcover+=thisobjcol+':'; |
colcover+=thisobjcol+':'; |
Line 284 function maprow (jid,obj1,ign) {
|
Line 287 function maprow (jid,obj1,ign) {
|
var j; var k; var left; var right; var middle; |
var j; var k; var left; var right; var middle; |
middle=-1; |
middle=-1; |
for (j=0;j<=maxcol;j++) { colmap[j]=0; } |
for (j=0;j<=maxcol;j++) { colmap[j]=0; } |
if ((rowcont[jid]!='') && (rowcont[jid]!=undefined)) { |
if ((rowcont[jid]!='') && (typeof(rowcont[jid])!="undefined")) { |
data2=rowcont[jid].split(':'); |
data2=rowcont[jid].split(':'); |
for (j=0;j<data2.length;j++) { |
for (j=0;j<data2.length;j++) { |
data3=obj[data2[j]].split('&'); |
data3=obj[data2[j]].split('&'); |
Line 454 function insertport (obj1,d,inout,linkob
|
Line 457 function insertport (obj1,d,inout,linkob
|
function addobj(kjid,objs) { |
function addobj(kjid,objs) { |
stored=0; |
stored=0; |
expense++; |
expense++; |
if ((rowcont[kjid]!='') && (rowcont[kjid]!=undefined)) { |
if ((rowcont[kjid]!='') && (typeof(rowcont[kjid])!="undefined")) { |
rowcont[kjid]+=':'; |
rowcont[kjid]+=':'; |
} |
} |
rowcont[kjid]+=obj.length; |
rowcont[kjid]+=obj.length; |
Line 510 function delobj(obj1) {
|
Line 513 function delobj(obj1) {
|
rowcont[k]=''; |
rowcont[k]=''; |
for (k2=0;k2<data4.length;k2++) { |
for (k2=0;k2<data4.length;k2++) { |
if (data4[k2]!=obj1) { |
if (data4[k2]!=obj1) { |
if ((rowcont[k]!='') && (rowcont[k]!=undefined)) { |
if ((rowcont[k]!='') && (typeof(rowcont[k])!="undefined")) { |
rowcont[k]+=':'; |
rowcont[k]+=':'; |
} |
} |
rowcont[k]+=data4[k2]; |
rowcont[k]+=data4[k2]; |
Line 532 function cleanup () {
|
Line 535 function cleanup () {
|
for (kj=0;kj<=maxcol;kj++) { data1[kj]=0; } |
for (kj=0;kj<=maxcol;kj++) { data1[kj]=0; } |
for (kj=0;kj<=maxrow;kj++) { |
for (kj=0;kj<=maxrow;kj++) { |
rowtype[kj]=0; |
rowtype[kj]=0; |
if ((rowcont[kj]!='') && (rowcont[kj]!=undefined)) { |
if ((rowcont[kj]!='') && (typeof(rowcont[kj])!="undefined")) { |
data2=rowcont[kj].split(':'); |
data2=rowcont[kj].split(':'); |
for (j=0;j<data2.length;j++) { |
for (j=0;j<data2.length;j++) { |
if (obj[data2[j]].substring(0,2)=='e&') { |
if (obj[data2[j]].substring(0,2)=='e&') { |
Line 625 function crecond(obj1,colid,condtext,con
|
Line 628 function crecond(obj1,colid,condtext,con
|
function dellink (linknr) { |
function dellink (linknr) { |
var k; var obj1; var obj2; |
var k; var obj1; var obj2; |
stored=0; |
stored=0; |
if ((objlinks[linknr]!='') && (objlinks[linknr]!=undefined)) { |
if ((objlinks[linknr]!='') && (typeof(objlinks[linknr])!="undefined")) { |
data3=objlinks[linknr].split(':'); |
data3=objlinks[linknr].split(':'); |
obj1=data3[0]; |
obj1=data3[0]; |
obj2=data3[1]; |
obj2=data3[1]; |
Line 648 function dellink (linknr) {
|
Line 651 function dellink (linknr) {
|
} |
} |
} |
} |
for (k=0;k<obj.length;k++) { |
for (k=0;k<obj.length;k++) { |
if ((obj[k]!='') && (obj[k]!=undefined)) { |
if ((obj[k]!='') && (typeof(obj[k])!="undefined")) { |
data3=obj[k].split('&'); |
data3=obj[k].split('&'); |
if (((data3[0]=='v') || (data3[0]=='h')) && |
if (((data3[0]=='v') || (data3[0]=='h')) && |
(data3[data3.length-2]==linknr)) { |
(data3[data3.length-2]==linknr)) { |
Line 860 function delres (obj1,recon) {
|
Line 863 function delres (obj1,recon) {
|
if (inobjs[k2]==infromobj[k]) { |
if (inobjs[k2]==infromobj[k]) { |
if (inwithcon[k]!=0) { |
if (inwithcon[k]!=0) { |
if ((inobjscond[k2]!='') && |
if ((inobjscond[k2]!='') && |
(inobjscond[k2]!=undefined)) { |
(typeof(inobjscond[k2])!="undefined")) { |
inobjscond[k2]+='||'; |
inobjscond[k2]+='||'; |
} |
} |
inobjscond[k2]+= |
inobjscond[k2]+= |
Line 889 function delres (obj1,recon) {
|
Line 892 function delres (obj1,recon) {
|
if (outobjs[k2]==outtoobj[k]) { |
if (outobjs[k2]==outtoobj[k]) { |
if (outwithcon[k]!=0) { |
if (outwithcon[k]!=0) { |
if ((outobjscond[k2]!='') && |
if ((outobjscond[k2]!='') && |
(outobjscond[k2]!=undefined)) { |
(typeof(outobjscond[k2])!="undefined")) { |
outobjscond[k2]+='||'; |
outobjscond[k2]+='||'; |
} |
} |
outobjscond[k2]+= |
outobjscond[k2]+= |
Line 913 function delres (obj1,recon) {
|
Line 916 function delres (obj1,recon) {
|
|
|
for (k=0;k<inobjs.length;k++) { |
for (k=0;k<inobjs.length;k++) { |
cond=''; |
cond=''; |
if ((inobjscond[k]!='') && (inobjscond[k]!=undefined)) { |
if ((inobjscond[k]!='') && (typeof(inobjscond[k])!="undefined")) { |
cond='('+inobjscond[k]+')'; |
cond='('+inobjscond[k]+')'; |
} |
} |
for (k2=0;k2<outobjs.length;k2++) { |
for (k2=0;k2<outobjs.length;k2++) { |
thiscond=cond; |
thiscond=cond; |
if ((outobjscond[k2]!='') && (outobjscond[k2]!=undefined)) { |
if ((outobjscond[k2]!='') && (typeof(outobjscond[k2])!="undefined")) { |
if ((thiscond!='') && (thiscond!=undefined)) { |
if ((thiscond!='') && (typeof(thiscond)!="undefined")) { |
thiscond+='&&'; |
thiscond+='&&'; |
} |
} |
thiscond+='('+outobjscond[k2]+')'; |
thiscond+='('+outobjscond[k2]+')'; |
} |
} |
condnr=0; |
condnr=0; |
if ((thiscond!='') && (thiscond!=undefined)) { |
if ((thiscond!='') && (typeof(thiscond)!="undefined")) { |
condnr=newcondition(thiscond,'normal'); |
condnr=newcondition(thiscond,'normal'); |
} |
} |
save(); |
save(); |
Line 949 function drawcell (rtype,ctype,what,cm,o
|
Line 952 function drawcell (rtype,ctype,what,cm,o
|
if ((what=='') && (ne==0)) { cm="#DDDDDD"; } |
if ((what=='') && (ne==0)) { cm="#DDDDDD"; } |
if (ctype!=0) { |
if (ctype!=0) { |
parent.mapout.document.write('<td bgcolor='+cm+' width='+cw[ctype]+'>'); |
parent.mapout.document.write('<td bgcolor='+cm+' width='+cw[ctype]+'>'); |
if ((what!='') && (what!=undefined)) { |
if ((what!='') && (typeof(what)!="undefined")) { |
if ((obj1!='') && (obj1!=undefined)) { |
if ((obj1!='') && (typeof(obj1)!="undefined")) { |
objref="'"+obj1+"'"; |
objref="'"+obj1+"'"; |
parent.mapout.document.write |
parent.mapout.document.write |
('<a href="javascript:parent.code.handler('+objref |
('<a href="javascript:parent.code.handler('+objref |
Line 959 function drawcell (rtype,ctype,what,cm,o
|
Line 962 function drawcell (rtype,ctype,what,cm,o
|
if (what=='r:') { |
if (what=='r:') { |
mime=''; |
mime=''; |
objnum=(obj1.split('&'))[1]; |
objnum=(obj1.split('&'))[1]; |
if (objcont[objnum]!=undefined) { |
if (typeof(objcont[objnum])!="undefined") { |
urlparts=objcont[objnum].split(':'); |
urlparts=objcont[objnum].split(':'); |
url=urlparts[1]; |
url=urlparts[1]; |
ext=urlparts[2]; |
ext=urlparts[2]; |
urlparts=url.split('.'); |
urlparts=url.split('.'); |
mime=urlparts[urlparts.length-1]; |
mime=urlparts[urlparts.length-1]; |
if (mime==undefined) { mime=''; } |
if (typeof(mime)=="undefined") { mime=''; } |
} |
} |
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] |
Line 992 function drawcell (rtype,ctype,what,cm,o
|
Line 995 function drawcell (rtype,ctype,what,cm,o
|
if (what=='rs:') { |
if (what=='rs:') { |
mime=''; |
mime=''; |
objnum=(obj1.split('&'))[1]; |
objnum=(obj1.split('&'))[1]; |
if (objcont[objnum]!=undefined) { |
if (typeof(objcont[objnum])!="undefined") { |
urlparts=objcont[objnum].split(':'); |
urlparts=objcont[objnum].split(':'); |
url=urlparts[1]; |
url=urlparts[1]; |
ext=urlparts[2]; |
ext=urlparts[2]; |
urlparts=url.split('.'); |
urlparts=url.split('.'); |
mime=urlparts[urlparts.length-1]; |
mime=urlparts[urlparts.length-1]; |
if (mime==undefined) { mime=''; } |
if (typeof(mime)=="undefined") { mime=''; } |
} |
} |
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] |
Line 1021 function drawcell (rtype,ctype,what,cm,o
|
Line 1024 function drawcell (rtype,ctype,what,cm,o
|
if (what=='rf:') { |
if (what=='rf:') { |
mime=''; |
mime=''; |
objnum=(obj1.split('&'))[1]; |
objnum=(obj1.split('&'))[1]; |
if (objcont[objnum]!=undefined) { |
if (typeof(objcont[objnum])!="undefined") { |
urlparts=objcont[objnum].split(':'); |
urlparts=objcont[objnum].split(':'); |
url=urlparts[1]; |
url=urlparts[1]; |
ext=urlparts[2]; |
ext=urlparts[2]; |
urlparts=url.split('.'); |
urlparts=url.split('.'); |
mime=urlparts[urlparts.length-1]; |
mime=urlparts[urlparts.length-1]; |
if (mime==undefined) { mime=''; } |
if (typeof(mime)=="undefined") { mime=''; } |
} |
} |
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] |
Line 1053 function drawcell (rtype,ctype,what,cm,o
|
Line 1056 function drawcell (rtype,ctype,what,cm,o
|
} |
} |
} |
} |
} |
} |
if ((obj1!='') && (obj1!=undefined)) { |
if ((obj1!='') && (typeof(obj1)!="undefined")) { |
parent.mapout.document.write('</a>'); |
parent.mapout.document.write('</a>'); |
} |
} |
} else { |
} else { |
Line 1110 if (rowtype[jid]!=0) {
|
Line 1113 if (rowtype[jid]!=0) {
|
} |
} |
|
|
parent.mapout.document.writeln('<tr height='+rh[rowtype[jid]]+'>'); |
parent.mapout.document.writeln('<tr height='+rh[rowtype[jid]]+'>'); |
if ((rowcont[jid]!='') && (rowcont[jid]!=undefined)) { |
if ((rowcont[jid]!='') && (typeof(rowcont[jid])!="undefined")) { |
data2=rowcont[jid].split(':'); |
data2=rowcont[jid].split(':'); |
for (jk=0;jk<data2.length;jk++) { |
for (jk=0;jk<data2.length;jk++) { |
data3=obj[data2[jk]].split('&'); |
data3=obj[data2[jk]].split('&'); |
Line 1167 if (rowtype[jid]!=0) {
|
Line 1170 if (rowtype[jid]!=0) {
|
|
|
if (rightin>middle) { |
if (rightin>middle) { |
for (k=middle+1;k<rightin;k++) { |
for (k=middle+1;k<rightin;k++) { |
if ((colmap4[k]!='') && (colmap4[k]!=undefined)) { |
if ((colmap4[k]!='') && (typeof(colmap4[k])!="undefined")) { |
colmap[k]='rlt'; |
colmap[k]='rlt'; |
} else { |
} else { |
colmap[k]='rl'; |
colmap[k]='rl'; |
Line 1177 if (rowtype[jid]!=0) {
|
Line 1180 if (rowtype[jid]!=0) {
|
} |
} |
if (leftin<middle) { |
if (leftin<middle) { |
for (k=middle-1;k>leftin;k--) { |
for (k=middle-1;k>leftin;k--) { |
if ((colmap4[k]!='') && (colmap4[k]!=undefined)) { |
if ((colmap4[k]!='') && (typeof(colmap4[k])!="undefined")) { |
colmap[k]='lrt'; |
colmap[k]='lrt'; |
} else { |
} else { |
colmap[k]='lr'; |
colmap[k]='lr'; |
Line 1197 if (rowtype[jid]!=0) {
|
Line 1200 if (rowtype[jid]!=0) {
|
if (rightout<middle) { colmap2[middle]='tl'; } |
if (rightout<middle) { colmap2[middle]='tl'; } |
if (rightout==middle) { colmap2[middle]='tdl'; } |
if (rightout==middle) { colmap2[middle]='tdl'; } |
if (rightout>middle) { |
if (rightout>middle) { |
if ((colmap3[middle]!='') && (colmap3[middle]!=undefined)) { |
if ((colmap3[middle]!='') && (typeof(colmap3[middle])!="undefined")) { |
colmap2[middle]='rtdl'; |
colmap2[middle]='rtdl'; |
} else { |
} else { |
colmap2[middle]='rtl'; |
colmap2[middle]='rtl'; |
Line 1206 if (rowtype[jid]!=0) {
|
Line 1209 if (rowtype[jid]!=0) {
|
} |
} |
if (leftout<middle) { |
if (leftout<middle) { |
for (k=middle-1;k>leftout;k--) { |
for (k=middle-1;k>leftout;k--) { |
if ((colmap3[k]!='') && (colmap3[k]!=undefined)) { |
if ((colmap3[k]!='') && (typeof(colmap3[k])!="undefined")) { |
colmap2[k]='rld'; |
colmap2[k]='rld'; |
} else { |
} else { |
colmap2[k]='rl'; |
colmap2[k]='rl'; |
Line 1216 if (rowtype[jid]!=0) {
|
Line 1219 if (rowtype[jid]!=0) {
|
} |
} |
if (rightout>middle) { |
if (rightout>middle) { |
for (k=middle+1;k<rightout;k++) { |
for (k=middle+1;k<rightout;k++) { |
if ((colmap3[k]!='') && (colmap3[k]!=undefined)) { |
if ((colmap3[k]!='') && (typeof(colmap3[k])!="undefined")) { |
colmap2[k]='lrd'; |
colmap2[k]='lrd'; |
} else { |
} else { |
colmap2[k]='lr'; |
colmap2[k]='lr'; |
Line 1457 function info(infostr) {
|
Line 1460 function info(infostr) {
|
ext=data2[2]; |
ext=data2[2]; |
urlparts=url.split('.'); |
urlparts=url.split('.'); |
mime=urlparts[urlparts.length-1]; |
mime=urlparts[urlparts.length-1]; |
if (mime==undefined) { mime=''; } |
if (typeof(mime)=="undefined") { mime=''; } |
if (ext=='true') { mime=''; } |
if (ext=='true') { mime=''; } |
if (mime!='') { |
if (mime!='') { |
inf.document.write |
inf.document.write |
Line 1635 function idxopen(mode) {
|
Line 1638 function idxopen(mode) {
|
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("/res?catalogmode="+mode,"idxout",options); |
idx=open("/res/?launch=1&catalogmode="+mode,"idxout",options); |
idx.focus(); |
idx.focus(); |
} |
} |
|
|
Line 1645 function srchopen(mode) {
|
Line 1648 function srchopen(mode) {
|
var options="scrollbars=1,resizable=1,menubar=0"; |
var options="scrollbars=1,resizable=1,menubar=0"; |
srchmode=mode; |
srchmode=mode; |
srchflag=1; |
srchflag=1; |
srch=open("/adm/searchcat?catalogmode=interactive","srchout",options); |
srch=open("/adm/searchcat?launch=1&catalogmode="+mode,"srchout",options); |
srch.focus(); |
srch.focus(); |
} |
} |
|
|
Line 1659 function search() {
|
Line 1662 function search() {
|
|
|
function srchcheck(mode) { |
function srchcheck(mode) { |
if (!srch || srch.closed || srchmode!=mode) { |
if (!srch || srch.closed || srchmode!=mode) { |
srchopen(); |
srchopen(mode); |
} |
} |
srch.focus(); |
srch.focus(); |
} |
} |
Line 1868 function empty(rid,k) {
|
Line 1871 function empty(rid,k) {
|
+');">Insert resource</a>'); |
+');">Insert resource</a>'); |
|
|
if ((mostrecent!=0) && (objcont[mostrecent]!='') && |
if ((mostrecent!=0) && (objcont[mostrecent]!='') && |
(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');"+ |
Line 1997 function graphreset() {
|
Line 2000 function graphreset() {
|
|
|
objcont[0]=''; |
objcont[0]=''; |
objlinks[0]=''; |
objlinks[0]=''; |
if (((objcont[1]==undefined)&&(objcont[2]==undefined)) || |
if (((typeof(objcont[1])=="undefined")&&(typeof(objcont[2])=="undefined")) || |
((objcont[1]=='')&&(objcont[2]==''))) { |
((objcont[1]=='')&&(objcont[2]==''))) { |
objcont[1]='Start::false:start:res' |
objcont[1]='Start::false:start:res' |
objcont[2]='Finish::false:finish:res'; |
objcont[2]='Finish::false:finish:res'; |
Line 2038 function tabledraw() {
|
Line 2041 function tabledraw() {
|
var condid; |
var condid; |
var url=''; |
var url=''; |
var mime=''; |
var mime=''; |
|
var ext=''; |
var urlparts=new Array; |
var urlparts=new Array; |
var sortstr=sortobjs(); |
var sortstr=sortobjs(); |
insrestab(1,-1,-1,''); |
insrestab(1,-1,-1,''); |
if ((sortstr!='') && (sortstr!=undefined)) { |
if ((sortstr!='') && (typeof(sortstr)!="undefined")) { |
objsorted=sortstr.split('&'); |
objsorted=sortstr.split('&'); |
for (k=0;k<objsorted.length;k++) { |
for (k=0;k<objsorted.length;k++) { |
i=(objsorted[k].split(':'))[0]; |
i=(objsorted[k].split(':'))[0]; |
Line 2059 function tabledraw() {
|
Line 2063 function tabledraw() {
|
ck=rescolor(data1[2],data1[3]); |
ck=rescolor(data1[2],data1[3]); |
parent.mapout.document.write('<tr><td bgcolor="'+ck+'">'); |
parent.mapout.document.write('<tr><td bgcolor="'+ck+'">'); |
url=data1[1]; |
url=data1[1]; |
|
ext=data1[2]; |
urlparts=url.split('.'); |
urlparts=url.split('.'); |
mime=urlparts[urlparts.length-1]; |
mime=urlparts[urlparts.length-1]; |
if (mime==undefined) { mime=''; } |
if (typeof(mime)=="undefined") { mime=''; } |
if (mime!='') { |
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 src="'+iconpath+'meta.gif"></a><p>'+ |
Line 2253 function simpletabledraw() {
|
Line 2258 function simpletabledraw() {
|
var nr; |
var nr; |
var ck; |
var ck; |
var cck; |
var cck; |
|
var mime; |
|
var ext; |
|
var url; |
|
var urlparts=new Array; |
var condid; |
var condid; |
var sortstr=sortobjs(); |
var sortstr=sortobjs(); |
if ((sortstr!='') && (sortstr!=undefined)) { |
if ((sortstr!='') && (typeof(sortstr)!="undefined")) { |
objsorted=sortstr.split('&'); |
objsorted=sortstr.split('&'); |
for (k=0;k<objsorted.length;k++) { |
for (k=0;k<objsorted.length;k++) { |
i=(objsorted[k].split(':'))[0]; |
i=(objsorted[k].split(':'))[0]; |
Line 2273 function simpletabledraw() {
|
Line 2282 function simpletabledraw() {
|
ck=rescolor(data1[2],data1[3]); |
ck=rescolor(data1[2],data1[3]); |
parent.mapout.document.write('<tr><td bgcolor="'+ck+'">'); |
parent.mapout.document.write('<tr><td bgcolor="'+ck+'">'); |
url=data1[1]; |
url=data1[1]; |
|
ext=data1[2]; |
urlparts=url.split('.'); |
urlparts=url.split('.'); |
mime=urlparts[urlparts.length-1]; |
mime=urlparts[urlparts.length-1]; |
if (mime==undefined) { mime=''; } |
if (typeof(mime)=="undefined") { mime=''; } |
if (mime!='') { |
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 src="'+iconpath+'meta.gif"></a><p>'+ |
Line 2364 function sortobjs() {
|
Line 2374 function sortobjs() {
|
for (k=1;k<objlinks.length;k++) { |
for (k=1;k<objlinks.length;k++) { |
wheelswitch(); |
wheelswitch(); |
message("Sorting Resources: "+funny); |
message("Sorting Resources: "+funny); |
if ((objlinks[k]!=undefined) && (objlinks[k]!='')) { |
if ((typeof(objlinks[k])!="undefined") && (objlinks[k]!='')) { |
sortthis=1; |
sortthis=1; |
data1=objlinks[k].split(':'); |
data1=objlinks[k].split(':'); |
kj=-1; |
kj=-1; |
Line 2485 function condense() {
|
Line 2495 function condense() {
|
message("Condensing"); |
message("Condensing"); |
var j; |
var j; |
for (j=0;j<=maxrow;j++) { |
for (j=0;j<=maxrow;j++) { |
if ((rowcont[j]!='') && (rowcont[j]!=undefined)) { |
if ((rowcont[j]!='') && (typeof(rowcont[j])!="undefined")) { |
data1=rowcont[j].split(':'); |
data1=rowcont[j].split(':'); |
rowcont[j]=''; |
rowcont[j]=''; |
for (k=0;k<data1.length;k++) { |
for (k=0;k<data1.length;k++) { |
if (obj[data1[k]].substring(0,2)!='e&') { |
if (obj[data1[k]].substring(0,2)!='e&') { |
if ((rowcont[j]!='') && (rowcont[j]!=undefined)) { |
if ((rowcont[j]!='') && (typeof(rowcont[j])!="undefined")) { |
rowcont[j]+=':'; |
rowcont[j]+=':'; |
} |
} |
rowcont[j]+=data1[k]; |
rowcont[j]+=data1[k]; |
Line 2520 function finishload() {
|
Line 2530 function finishload() {
|
lastinfo=''; |
lastinfo=''; |
graphreset(); |
graphreset(); |
var inputstr=parent.server.document.forms.storage.output.value; |
var inputstr=parent.server.document.forms.storage.output.value; |
if ((inputstr!='') && (inputstr!=undefined)) { |
if ((inputstr!='') && (typeof(inputstr)!="undefined")) { |
data1=inputstr.split('<&>'); |
data1=inputstr.split('<&>'); |
var k; |
var k; |
for (k=0;k<data1.length;k++) { |
for (k=0;k<data1.length;k++) { |
data2=data1[k].split('<:>'); |
data2=data1[k].split(':').join(':').split('<:>'); |
if (data2[0]=='graphdef') { graphdef=data2[1]; } |
if (data2[0]=='graphdef') { graphdef=data2[1]; } |
if (data2[0]=='maxcol') { maxcol=1*data2[1]; } |
if (data2[0]=='maxcol') { maxcol=1*data2[1]; } |
if (data2[0]=='maxrow') { maxrow=1*data2[1]; } |
if (data2[0]=='maxrow') { maxrow=1*data2[1]; } |
Line 2532 function finishload() {
|
Line 2542 function finishload() {
|
if (data2[0]=='objcont') { objcont[data2[1]]=data2[2]; } |
if (data2[0]=='objcont') { objcont[data2[1]]=data2[2]; } |
if (data2[0]=='objlinks') { objlinks[data2[1]]=data2[2]; } |
if (data2[0]=='objlinks') { objlinks[data2[1]]=data2[2]; } |
if (data2[0]=='objparms') { |
if (data2[0]=='objparms') { |
if (objparms[data2[1]]==undefined) { |
if (typeof(objparms[data2[1]])=="undefined") { |
objparms[data2[1]]=data2[2]; |
objparms[data2[1]]=data2[2]; |
} else { |
} else { |
objparms[data2[1]]+=':'+data2[2]; |
objparms[data2[1]]+=':'+data2[2]; |
Line 2548 function finishload() {
|
Line 2558 function finishload() {
|
} |
} |
if (graphdef=='yes') { |
if (graphdef=='yes') { |
for (k=1;k<=maxrow;k++) { |
for (k=1;k<=maxrow;k++) { |
if (rowcont[k]==undefined) { rowcont[k]=''; } |
if (typeof(rowcont[k])=="undefined") { rowcont[k]=''; } |
} |
} |
} |
} |
} |
} |
Line 2664 function schedule(action) {
|
Line 2674 function schedule(action) {
|
// ----------------------------------------------------- launch indexer browser |
// ----------------------------------------------------- launch indexer browser |
|
|
function groupsearch() { |
function groupsearch() { |
alert('not yet implemented'); |
srchcheck('groupsearch'); |
} |
} |
|
|
function groupimport() { |
function groupimport() { |
Line 2741 function leave() {
|
Line 2751 function leave() {
|
</script> |
</script> |
</head> |
</head> |
|
|
<body bgcolor="#FFFFFF" onLoad="main();" onUnload="leave();"> |
<body bgcolor="#FFFFFF" onUnload="leave();"> |
<a href="javascript:togglemode();">Toggle Display Mode</a> |
<table border=0><tr><td bgcolor="#aaaaaa"> |
<a href="javascript:if (zscale>1) { zscale--; draw();}">Zoom Out</a> |
<table border=0><tr> |
<a href="javascript:if (zscale<3) { zscale++; draw();}">Zoom In</a> |
<td bgcolor="#ffffcc"><a href="javascript:togglemode();"><b>T</b>oggle display</a> </td> |
<a href="javascript:condense();draw();">Condense</a> |
<td bgcolor="#ffffcc"><a href="javascript:if (zscale>1) { zscale--; draw();}"><b>Z</b>oom out</a> </td> |
<a href="javascript:graphopt();draw();">Straighten</a> |
<td bgcolor="#ffffcc"><a href="javascript:if (zscale<3) { zscale++; draw();}"><b>Z</b>oom in</a> </td> |
<a href="javascript:revert();">Revert</a> |
<td bgcolor="#ffffcc"><a href="javascript:condense();draw();"><b>C</b>ondense</a> </td> |
<a href="javascript:undo();">Undo</a> |
<td bgcolor="#ffffcc"><a href="javascript:graphopt();draw();"><b>S</b>traighten</a> </td> |
<a href="javascript:redo();">Redo</a> |
<td bgcolor="#ffffcc"><a href="javascript:revert();"><b>R</b>evert</a> </td> |
<a href="javascript:groupsearch();">Group Search</a> |
<td bgcolor="#ffffcc"><a href="javascript:undo();"><b>U</b>ndo</a> </td> |
<a href="javascript:groupimport();">Group Import</a> |
<td bgcolor="#ffffcc"><a href="javascript:redo();"><b>R</b>edo</a> </td> |
<a href="javascript:storechange();">Save Map</a> |
<td bgcolor="#ffffcc"><a href="javascript:groupsearch();"><b>G</b>roup search</a> </td> |
|
<td bgcolor="#ffffcc"><a href="javascript:groupimport();"><b>G</b>roup import</a> </td> |
|
<td bgcolor="#ffcccc"><a href="javascript:storechange();"><b>S</b>ave map</a> </td> |
|
</tr></table> |
|
</td></tr></table> |
|
<script> |
|
main(); |
|
</script> |
</body> |
</body> |
</html> |
</html> |