--- rat/client/Attic/code.html 2002/03/06 20:30:07 1.50 +++ rat/client/Attic/code.html 2002/03/12 21:37:18 1.51 @@ -4,7 +4,7 @@ The LearningOnline Network Resource Assembly Tool // -// $Id: code.html,v 1.50 2002/03/06 20:30:07 matthew Exp $ +// $Id: code.html,v 1.51 2002/03/12 21:37:18 matthew Exp $ // // Copyright Michigan State University Board of Trustees // @@ -124,6 +124,7 @@ var parmflag=-1; // 1 means currently op // -1 means never yet opened/defined var iconpath='/adm/lonIcons/'; +var raticons='/adm/rat/'; function testfunction() { inf.document.forms.resinfo.elements.t.value="ABC"; @@ -970,25 +971,25 @@ function drawcell (rtype,ctype,what,cm,o } parent.mapout.document.write (''); + +' src="'+raticons+'resource.gif">'); if ((mime!='') && (ext!='true')) { parent.mapout.document.write - ('
'+ - ''); + ''); } else { parent.mapout.document.write - ('
'); + ('
'); } parent.mapout.document.write - ('
'); + ('
'); } else { if (what=='c:') { parent.mapout.document.write (''); + +' src="'+raticons+'condition.gif">'); } else { if (what=='rs:') { mime=''; @@ -1003,20 +1004,20 @@ function drawcell (rtype,ctype,what,cm,o } parent.mapout.document.write (''); + +' src="'+raticons+'start.gif">'); if ((mime!='') && (ext!='true')) { parent.mapout.document.write - ('
'+ - ''); + ''); } else { parent.mapout.document.write - ('
'); + ('
'); } parent.mapout.document.write - ('
'); + ('
'); } else { if (what=='rf:') { @@ -1032,24 +1033,24 @@ function drawcell (rtype,ctype,what,cm,o } parent.mapout.document.write (''); + +' src="'+raticons+'finish.gif">'); if ((mime!='') && (ext!='true')) { parent.mapout.document.write - ('
'+ - ''); + ''); } else { parent.mapout.document.write - ('
'); + ('
'); } parent.mapout.document.write - ('
'); + ('
'); } else { parent.mapout.document.write (''); + +' src="'+raticons+rtype+'.'+ctype+'.'+what+'.gif">'); } } } @@ -1070,7 +1071,7 @@ function drawcell (rtype,ctype,what,cm,o parent.mapout.document.write ( '
'); + +' src="'+raticons+rtype+'.'+ctype+'.empty.gif">'); } parent.mapout.document.write(''); } @@ -1421,7 +1422,7 @@ function info(infostr) { inf.document.clear(); inf.document.writeln( ''+ - '
'); + '
'); data1=infostr.split('&'); if (data1[0]=='c') { inf.document.write('Condition ('); @@ -1509,14 +1510,13 @@ function escape(instring) { for (k=0;k'+ - '
'); + '
'); data1=infostr.split('&'); if (data1[0]=='c') { inf.document.writeln('Condition
'); @@ -1830,7 +1830,7 @@ function empty(rid,k) { inf.document.clear(); inf.document.writeln( ''+ - '
'+ + '
'+ 'Empty Field
'); inf.document.writeln('