version 1.61, 2002/07/16 20:30:53
|
version 1.127, 2009/04/23 17:28:55
|
Line 29 Remote Control
|
Line 29 Remote Control
|
// http://www.lon-capa.org/ |
// http://www.lon-capa.org/ |
// |
// |
|
|
6/12/00,6/13,6/14,6/15 Gerd Kortemeyer |
|
Sept Ben Tyszka |
|
10/2,10/3,10/4,10/17,10/19,3/1/1 Gerd Kortemeyer |
|
Jan Guy Albertelli |
|
5/1/1 Gerd Kortemeyer |
|
2/19 Guy Albertelli |
|
3/21 Gerd Kortemeyer |
|
4/30 Ben Tyszka |
|
5/2 Scott Harrison |
|
5/4,5/9,5/28,5/30,6/1,6/2,6/3,6/8,6/15,6/16 Gerd Kortemeyer |
|
7/24,8/6 Scott Harrison |
|
8/24 Gerd Kortemeyer |
|
YEAR=2002 |
|
March 2002 Matthew Hall |
|
3/19 Gerd Kortemeyer |
|
5/6/02 Matthew Hall |
|
|
|
--> |
--> |
<head> |
<head> |
<title>LON-CAPA Remote</title> |
<title>LON-CAPA Remote</title> |
Line 53 March 2002 Matthew Hall
|
Line 36 March 2002 Matthew Hall
|
|
|
<body bgcolor="#BBBBBB" |
<body bgcolor="#BBBBBB" |
background="remotebg.gif" |
background="remotebg.gif" |
onUnload="logout();" |
onUnload="collapse();" |
|
onLoad="activate();" |
|
style="{background-repeat: no-repeat;}" |
> |
> |
|
|
<script type="text/javascript"> |
<script type="text/javascript"> |
<!-- |
//<!-- |
var statustop = ''; |
var statustop = ''; |
var statusbot = ''; |
var statusbot = ''; |
var active = 0; |
var active = 0; |
var dislocked = 1; |
var dislocked = 1; |
|
var statuslocked = 0; |
|
|
var imgpath='/res/adm/pages/'; |
var imgpath='/res/adm/pages/'; |
|
var fontpath='/adm/lonLCDfont/'; |
var currentURL=''; |
var currentURL=''; |
var reloadURL=''; |
var reloadURL=''; |
|
var currentSymb=''; |
|
var reloadSymb=''; |
var currentStale=1; |
var currentStale=1; |
var menucltim; |
var menucltim; |
|
|
var clockdelta=0; |
var clockdelta=0; |
|
|
|
var w_extdisp_flag=-1; |
|
var extdisp=null; |
|
|
|
var autologout=1; |
|
|
// not used (yet) |
// not used (yet) |
// var w_Annotator; |
// var w_Annotator; |
// var w_bmquery; |
// var w_bmquery; |
Line 83 var w_Annotator_flag=-1;
|
Line 74 var w_Annotator_flag=-1;
|
var w_bmquery_flag=-1; |
var w_bmquery_flag=-1; |
var w_BookmarkPal_flag=-1; |
var w_BookmarkPal_flag=-1; |
var w_LONcatInfo_flag=-1; |
var w_LONcatInfo_flag=-1; |
|
var w_LONchat_flag=-1; |
|
var w_loncapanav_flag=-1; |
// 1 means currently open |
// 1 means currently open |
// 0 means closed (but has been open) |
// 0 means closed (but has been open) |
// -1 means never yet opened/defined |
// -1 means never yet opened/defined |
Line 91 var w_LONcatInfo_flag=-1;
|
Line 84 var w_LONcatInfo_flag=-1;
|
var hr = new Array; |
var hr = new Array; |
var db = new Array; |
var db = new Array; |
var dt = new Array; |
var dt = new Array; |
|
var ds = new Array; |
|
|
for (var i=1;i<=3;i++) { |
for (var i=1;i<=3;i++) { |
for (var j=1;j<=10;j++) { |
for (var j=1;j<=10;j++) { |
Line 98 for (var i=1;i<=3;i++) {
|
Line 92 for (var i=1;i<=3;i++) {
|
hr[index]=''; |
hr[index]=''; |
db[index]=''; |
db[index]=''; |
dt[index]=''; |
dt[index]=''; |
|
ds[index]=''; |
} |
} |
} |
} |
|
|
var clienthost=window.location.host; |
|
var clientwindow=opener; |
var clientwindow=opener; |
|
var navwindow; |
|
|
function syncclock(servertime) { |
function syncclock(servertime) { |
var clientclock=new Date; |
var clientclock=new Date; |
Line 112 function syncclock(servertime) {
|
Line 107 function syncclock(servertime) {
|
function advanceclock() { |
function advanceclock() { |
var clock=new Date(); |
var clock=new Date(); |
clock.setTime(clock.getTime()+clockdelta); |
clock.setTime(clock.getTime()+clockdelta); |
|
if (!statuslocked) { |
|
var days=""+clock.getDate(); |
|
if (days.length<2) { days="0"+days; } |
|
var mons=""+(clock.getMonth()+1); |
|
if (mons.length<2) { mons="0"+mons; } |
|
var years=""+clock.getYear(); |
|
|
|
if (years>1000) { |
|
years=years.substring(2,4); |
|
} else { |
|
years=years.substring(1,3); |
|
} |
|
statustop=mons+'/'+days+'/'+years; |
|
|
|
var secs=""+clock.getSeconds(); |
|
if (secs.length<2) { secs="0"+secs; } |
|
var mins=""+clock.getMinutes(); |
|
if (mins.length<2) { mins="0"+mins; } |
|
var hours=""+clock.getHours(); |
|
if (hours.length<2) { hours=" "+hours; } |
|
statusbot=hours+':'+mins+':'+secs; |
|
|
var days=""+clock.getDate(); |
if (!dislocked) { showdisplay(); } |
if (days.length<2) { days="0"+days; } |
} |
var mons=""+(clock.getMonth()+1); |
|
if (mons.length<2) { mons="0"+mons; } |
|
var years=""+clock.getYear(); |
|
years=years.substring(1,3); |
|
statustop=mons+'/'+days+'/'+years; |
|
|
|
var secs=""+clock.getSeconds(); |
|
if (secs.length<2) { secs="0"+secs; } |
|
var mins=""+clock.getMinutes(); |
|
if (mins.length<2) { mins="0"+mins; } |
|
var hours=""+clock.getHours(); |
|
if (hours.length<2) { hours=" "+hours; } |
|
statusbot=hours+':'+mins+':'+secs; |
|
|
|
if (!dislocked) { showdisplay(); } |
|
|
|
setTimeout('advanceclock();',1000); |
setTimeout('advanceclock();',1000); |
} |
} |
|
|
function windowcheck() { |
function windowcheck() { |
if (clientwindow==null || clientwindow.closed) { |
if (clientwindow==null || clientwindow.closed) { |
clientwindow=window.open("http://"+clienthost+"/",'', |
clientwindow=window.open("/",'', |
"height=400,width=440,"+ |
"height=400,width=440,"+ |
"scrollbars=1,toolbar=1,status=1,resizable=1,location=1,"+ |
"scrollbars=1,toolbar=1,status=1,resizable=1,location=1,menubar=1,"+ |
"left=190,top=15,screenX=190,screenY=15"); |
"left=190,top=15,screenX=190,screenY=15"); |
|
clientwindow.name='loncapaclient'; |
} |
} |
clientwindow.name='loncapaclient'; |
extenddispclose(); |
clientwindow.menuwindow=self; |
|
} |
} |
|
|
|
function navwindowcheck() { |
|
if (navwindow==null || navwindow.closed) { |
|
navwindow=window.open("/adm/navmaps#curloc", |
|
"loncapanav","height=600,width=400,scrollbars=1"); |
|
} |
|
} |
|
|
|
function collapse() { |
|
if (autologout) { |
|
windowcheck(); |
|
clientwindow.location='/adm/remote?action=collapse'; |
|
} |
|
} |
|
|
function logout () { |
function logout () { |
windowcheck(); |
windowcheck(); |
|
|
Line 160 function logout () {
|
Line 174 function logout () {
|
if (w_LONcatInfo_flag!=-1 && loncatinfo && !loncatinfo.closed) { |
if (w_LONcatInfo_flag!=-1 && loncatinfo && !loncatinfo.closed) { |
loncatinfo.close(); |
loncatinfo.close(); |
} |
} |
clientwindow.window.location.href="http://"+clienthost+"/adm/logout"; |
if (w_LONchat_flag!=-1 && lonchat && !lonchat.closed) { |
|
lonchat.close(); |
|
} |
|
if (autologout) { |
|
go("/adm/logout"); |
|
} |
} |
} |
|
|
function activate () { |
function activate () { |
opener.menuloaded=1; |
setTimeout('opener.menuloaded=1;',1000); |
setTimeout('active=1;',2000); |
setTimeout('active=1;',500); |
advanceclock(); |
advanceclock(); |
} |
} |
|
|
Line 179 function display(utext,ltext) {
|
Line 197 function display(utext,ltext) {
|
showdisplay(utext,ltext); |
showdisplay(utext,ltext); |
} |
} |
|
|
function showdisplay(utext,ltext) { |
|
var i; var ch; |
|
dislocked=1; |
|
if (utext == null) { utext = '';} |
|
if (ltext == null) { ltext = '';} |
|
if (typeof(utext)!="string") { utext=''; } |
|
if (typeof(ltext)!="string") { ltext=''; } |
|
if ((utext=='') && (ltext=='')) { |
|
utext=statustop; |
|
ltext=statusbot; |
|
dislocked=0; |
|
} |
|
if (active) { |
|
for (i=0;i<=7;i++) { |
|
if (i<utext.length) { |
|
ch=utext.charAt(i); |
|
if (ch==' ') { ch='space'; } |
|
if (ch=='-') { ch='hyphen'; } |
|
if (ch==':') { ch='colon'; } |
|
if (ch=='/') { ch='slash'; } |
|
} else { ch='space'; } |
|
this.document['i'+i].src=imgpath+ch+'.gif'; |
|
} |
|
for (i=0;i<=7;i++) { |
|
if (i<ltext.length) { |
|
ch=ltext.charAt(i); |
|
if (ch==' ') { ch='space'; } |
|
if (ch=='-') { ch='hyphen'; } |
|
if (ch==':') { ch='colon'; } |
|
if (ch=='/') { ch='slash'; } |
|
} else { ch='space'; } |
|
this.document['j'+i].src=imgpath+ch+'.gif'; |
|
} |
|
} |
|
} |
|
|
|
function defdis() { |
function defdis() { |
this.window.focus(); |
this.window.focus(); |
display(); |
display(); |
} |
} |
|
|
function switchbutton(row,col,imgsrc,texttop,textbot,action) { |
function switchbutton(row,col,imgsrc,texttop,textbot,action,desc) { |
var idx=10*row+col; |
var idx=10*row+col; |
this.document['b'+idx].src="http://"+clienthost+imgpath+imgsrc; |
this.document['b'+idx].src=imgpath+imgsrc; |
hr[idx]=action; |
hr[idx]=action; |
dt[idx]=texttop; |
dt[idx]=texttop; |
db[idx]=textbot; |
db[idx]=textbot; |
|
ds[idx]=desc; |
|
for (var k=0;k<document.links.length;k++) { |
|
if (document.links[k].name=='link'+idx) { |
|
document.links[k].title=desc; |
|
} |
|
} |
} |
} |
|
|
function clearbut(row,col) { |
function clearbut(row,col) { |
var idx=10*row+col; |
var idx=10*row+col; |
this.document['b'+idx].src="http://"+clienthost+imgpath+'empty.gif'; |
this.document['b'+idx].src=imgpath+'empty.gif'; |
hr[idx]='javascript:defdis();'; |
hr[idx]='javascript:defdis();'; |
dt[idx]=''; |
dt[idx]=''; |
db[idx]=''; |
db[idx]=''; |
|
ds[idx]=''; |
|
for (var k=0;k<document.links.length;k++) { |
|
if (document.links[k].name=='link'+idx) { |
|
document.links[k].title=''; |
|
} |
|
} |
} |
} |
|
|
function setstatus(tp,bt) { |
function setstatus(tp,bt) { |
this.document['led'].src="ledblink.gif"; |
this.document['led'].src=imgpath+"ledblink.gif"; |
statustop=tp; |
statustop=tp; |
statusbot=bt; |
statusbot=bt; |
|
statuslocked=1; |
defdis(); |
defdis(); |
endsend(); |
|
} |
} |
|
|
function is_editable_resource (url) { |
function go(url) { |
var Chunks = url.split('.'); |
|
var tmp = Chunks[Chunks.length-1]; |
|
if ((Chunks.length > 1) && (Math.floor(tmp) == tmp)) { |
|
return true; |
|
} |
|
return false; |
|
} |
|
|
|
function cstrgo(currenturl,defaulturl) { |
|
windowcheck(); |
windowcheck(); |
var url; |
statuslocked=0; |
if ((currenturl == null) || |
this.document['led'].src=imgpath+"ledsend.gif"; |
(currenturl == '') || |
if (url!='' && url!= null) { |
(! is_editable_resource(currenturl))) { |
currentURL = null; |
url = defaulturl; |
currentSymb= null; |
} else { |
this.document.server.target='loncapaclient'; |
url = currenturl; |
this.document.server.action=url; |
var res_pattern = /^\/res\/[A-z0-p]+\//; |
this.document.server.postdata.value=''; |
if (res_pattern.test(url)) { |
this.document.server.command.value=''; |
// map /res/103/turtle to /priv/turtle |
this.document.server.url.value=''; |
url = url.replace(/^\/res\/[A-z0-9]+\//,'/priv/'); |
this.document.server.postsymb.value=''; |
} else { |
this.document.server.submit(); |
url = defaulturl; |
|
} |
|
} |
|
this.document['led'].src="ledsend.gif"; |
|
if (url != '') { |
|
clientwindow.window.location.href="http://"+clienthost+url; |
|
} |
} |
} |
} |
|
|
function go(url) { |
function gonav(url) { |
windowcheck(); |
if (w_loncapanav_flag == 1) { |
this.document['led'].src="ledsend.gif"; |
navwindowcheck(); |
|
statuslocked=0; |
|
this.document.server.target="loncapanav"; |
|
} else { |
|
this.document.server.target="loncapaclient"; |
|
} |
|
this.document['led'].src=imgpath+"ledsend.gif"; |
if (url!='' && url!= null) { |
if (url!='' && url!= null) { |
currentURL = null; |
this.document.server.action=url; |
clientwindow.window.location.href="http://"+clienthost+url; |
this.document.server.postdata.value=currentURL; |
|
this.document.server.command.value=''; |
|
this.document.server.url.value=''; |
|
this.document.server.postsymb.value=currentSymb; |
|
this.document.server.submit(); |
} |
} |
} |
} |
|
|
function gopost(url,postdata) { |
function gopost(url,postdata,makenewwin) { |
windowcheck(); |
windowcheck(); |
this.document['led'].src="ledsend.gif"; |
statuslocked=0; |
|
this.document['led'].src=imgpath+"ledsend.gif"; |
if (url!='') { |
if (url!='') { |
this.document.server.action="http://"+clienthost+url; |
if (makenewwin) { |
|
var LONcomWin=window.open("/adm/rat/empty.html", |
|
'LONcom', |
|
"height=600,width=600,"+ |
|
"scrollbars=1,toolbar=0,status=0,resizable=1,location=0,menubar=0"); |
|
this.document.server.target='LONcom'; |
|
} else { |
|
this.document.server.target='loncapaclient'; |
|
} |
|
this.document.server.action=url; |
this.document.server.postdata.value=postdata; |
this.document.server.postdata.value=postdata; |
this.document.server.command.value=''; |
this.document.server.command.value=''; |
this.document.server.url.value=''; |
this.document.server.url.value=''; |
|
this.document.server.postsymb.value=''; |
this.document.server.submit(); |
this.document.server.submit(); |
} |
} |
} |
} |
|
|
function gocmd(url,cmd) { |
function gocmd(url,cmd) { |
windowcheck(); |
windowcheck(); |
this.document['led'].src="ledsend.gif"; |
statuslocked=0; |
|
this.document['led'].src=imgpath+"ledsend.gif"; |
if (url!='') { |
if (url!='') { |
this.document.server.action="http://"+clienthost+url; |
this.document.server.target='loncapaclient'; |
|
this.document.server.action=url; |
this.document.server.postdata.value=''; |
this.document.server.postdata.value=''; |
this.document.server.command.value=cmd; |
this.document.server.command.value=cmd; |
this.document.server.url.value=currentURL; |
this.document.server.url.value=currentURL; |
|
this.document.server.postsymb.value=currentSymb; |
this.document.server.submit(); |
this.document.server.submit(); |
} |
} |
} |
} |
Line 316 function annotate() {
|
Line 319 function annotate() {
|
"<html><body onload='Javascript:document.goannotate.submit();'>" |
"<html><body onload='Javascript:document.goannotate.submit();'>" |
+"<form name='goannotate' target='Annotator' method='post' " |
+"<form name='goannotate' target='Annotator' method='post' " |
+"action='/adm/annotations'>" |
+"action='/adm/annotations'>" |
+"<input type='hidden' name='urlnew' value='"+currentURL+"'>" |
+"<input type='hidden' name='symbnew' value='"+currentSymb+"' />" |
+"</form></body></html>"); |
+"<\/form><\/body><\/html>"); |
annotator.document.close(); |
annotator.document.close(); |
} |
} |
|
|
Line 333 function set_bookmark() {
|
Line 336 function set_bookmark() {
|
w_bmquery_flag=1; |
w_bmquery_flag=1; |
bmquery=window.open('','bmquery','width=365,height=165,scrollbars=0'); |
bmquery=window.open('','bmquery','width=365,height=165,scrollbars=0'); |
bmquery.document.write( |
bmquery.document.write( |
"<html><body bgcolor='bbbbbb'><center><form method='post'" |
'<html><body bgcolor="#BBBBBB"><center><form method="post"' |
+" name='newlink' action='/adm/bookmarks' target='bmquery' " |
+' name="newlink" action="/adm/bookmarks" target="bmquery" ' |
+">\n <table width=340 height=150 " |
+'>'+"\n"+' <table width="340" height="150" ' |
+"bgcolor='ffffff' align=center><tr><td>Link Name:<br><input " |
+'bgcolor="#FFFFFF" align="center"><tr><td>Link Name:<br /><input ' |
+"type='text' name='title' size=45 value='"+clienttitle+"'>" |
+'type="text" name="title" size="45" value="'+clienttitle+'">' |
+"<br>Address:<br><input type='text' name='address' size='45' " |
+'<br />Address:<br /><input type="text" name="address" size="45" ' |
+"value='"+clienthref+"'><br><center><input type='submit' " |
+'value="'+clienthref+'" /><br /><center><input type="submit" ' |
+"value='Save'> <input type='button' value='Close (no save)' " |
+'value="Save" /> <input type="button" value="Close" ' |
+"onclick='javascript:window.close();'></center></td>" |
+'onclick="javascript:window.close();" /><\/center><\/td>' |
+"</tr></table></form></center></body></html>"); |
+'<\/tr><\/table><\/form><\/center><\/body><\/html>'); |
bmquery.document.close(); |
bmquery.document.close(); |
} |
} |
|
|
|
function extenddispclose() { |
|
if (w_extdisp_flag>0) { |
|
if (extdisp!=null && !extdisp.closed) { |
|
extdisp.close(); |
|
} |
|
w_extdisp_flag=-1; |
|
} |
|
} |
|
|
|
function extenddisp() { |
|
go(''); |
|
w_extdisp_flag=1; |
|
extdisp=window.open("/adm/rat/loading.html", |
|
"ExtDisp", "scrollbars=1,width=400,height=450"); |
|
} |
|
|
|
function drawwindow() { |
|
extdisp.document.clear(); |
|
extdisp.document.writeln( |
|
'<html><body bgcolor="#666666" text="#DDDDDD" link="#EEEEEE" '+ |
|
'onUnload="opener.w_extdisp_flag=-1;">'+ |
|
'<h2>LON-CAPA Extended Display Remote Control<\/h2>'+ |
|
'<script type="text/javascript">var currentURL="'+currentURL+'";self.focus();<\/s'+'cript>'+ |
|
'<table border="2"><tr><th>Select Functionality from Below<\/th>'+ |
|
'<th>Description<\/th><\/tr>'); |
|
for (var i=0; i<=ds.length; i++) { |
|
if (typeof(ds[i])!='undefined') { |
|
if (ds[i]!='') { |
|
extdisp.document.writeln( |
|
'<tr><td align="center"><a href="javascript:opener.'+ |
|
hr[i]+';">>>><img align="absmiddle" border="0" src="'+ |
|
this.document['b'+i].src+'" /><<<<\/a><br /> <br />'); |
|
bigdisplay(dt,db,i); |
|
extdisp.document.writeln('<\/td><td>'+ds[i]+'<\/td><\/tr>'); |
|
} |
|
} |
|
} |
|
extdisp.document.writeln('<\/table><\/body><\/html>'); |
|
extdisp.document.close(); |
|
} |
|
|
function edit_bookmarks() { |
function edit_bookmarks() { |
go(''); |
go(''); |
w_BookmarkPal_flag=1; |
w_BookmarkPal_flag=1; |
bookmarkpal=window.open("http://"+clienthost+"/adm/bookmarks", |
bookmarkpal=window.open("/adm/bookmarks", |
"BookmarkPal", "width=400,height=505,scrollbars=0"); |
"BookmarkPal", "width=400,height=505,scrollbars=0"); |
} |
} |
|
|
function catalog_info() { |
function catalog_info() { |
go(''); |
go(''); |
w_LONcatInfo_flag=1; |
w_LONcatInfo_flag=1; |
loncatinfo=window.open(clientwindow.window.location.href+'.meta',"LONcatInfo"); |
loncatinfo=window.open(clientwindow.window.location.pathname+'.meta',"cat",'height=420,width=480,resizable=yes,scrollbars=yes,location=no,menubar=no,toolbar=no'); |
|
} |
|
|
|
function chat_win() { |
|
go(''); |
|
w_LONchat_flag=1; |
|
lonchat=window.open('/res/adm/pages/chatroom.html',"LONchat",'height=420,width=480,resizable=yes,location=no,menubar=no,toolbar=no'); |
} |
} |
// --> |
//--> |
</script> |
</script> |
|
<block condition="&EXT('request.browser.textremote')!=1"> |
|
<script type="text/javascript"> |
|
//<!-- |
|
function bigdisplay(dt,db,i) { |
|
extdisp.document.writeln( |
|
'<table hspace="0" border="0" cellspacing="1" cellpadding="0"><tr>'); |
|
for (var j=0;j<=7;j++) { |
|
if (j<dt[i].length) { |
|
ch=dt[i].charAt(j); |
|
if (ch==' ') { ch='space'; } |
|
if (ch=='-') { ch='hyphen'; } |
|
if (ch==':') { ch='colon'; } |
|
if (ch=='/') { ch='slash'; } |
|
} else { ch='space'; } |
|
extdisp.document.writeln('<td><img border="0" src="' |
|
+fontpath+ch+'.gif" /><\/td>'); |
|
} |
|
extdisp.document.writeln('<\/tr><tr>'); |
|
for (var j=0;j<=7;j++) { |
|
if (j<db[i].length) { |
|
ch=db[i].charAt(j); |
|
if (ch==' ') { ch='space'; } |
|
if (ch=='-') { ch='hyphen'; } |
|
if (ch==':') { ch='colon'; } |
|
if (ch=='/') { ch='slash'; } |
|
} else { ch='space'; } |
|
extdisp.document.writeln('<td><img border="0" src="' |
|
+fontpath+ch+'.gif" /><\/td>'); |
|
} |
|
extdisp.document.writeln('<\/tr><\/table>'); |
|
} |
|
|
|
function showdisplay(utext,ltext) { |
|
var i; var ch; |
|
dislocked=1; |
|
if (utext == null) { utext = '';} |
|
if (ltext == null) { ltext = '';} |
|
if (typeof(utext)!="string") { utext=''; } |
|
if (typeof(ltext)!="string") { ltext=''; } |
|
if ((utext=='') && (ltext=='')) { |
|
utext=statustop; |
|
ltext=statusbot; |
|
dislocked=0; |
|
} |
|
if (active) { |
|
for (i=0;i<=7;i++) { |
|
if (i<utext.length) { |
|
ch=utext.charAt(i); |
|
if (ch==' ') { ch='space'; } |
|
if (ch=='-') { ch='hyphen'; } |
|
if (ch==':') { ch='colon'; } |
|
if (ch=='/') { ch='slash'; } |
|
} else { ch='space'; } |
|
this.document['i'+i].src=fontpath+ch+'.gif'; |
|
} |
|
for (i=0;i<=7;i++) { |
|
if (i<ltext.length) { |
|
ch=ltext.charAt(i); |
|
if (ch==' ') { ch='space'; } |
|
if (ch=='-') { ch='hyphen'; } |
|
if (ch==':') { ch='colon'; } |
|
if (ch=='/') { ch='slash'; } |
|
} else { ch='space'; } |
|
this.document['j'+i].src=fontpath+ch+'.gif'; |
|
} |
|
} |
|
} |
|
//--> |
|
</script> |
|
<display> |
|
return '<script type="text/javascript">w_loncapanav_flag=\''.('on' eq &EXT('user.environment.remotenavmap')).'\';</script>'; |
|
</display> |
|
</block> |
|
<block condition="&EXT('request.browser.textremote')"> |
|
<script type="text/javascript"> |
|
//<!-- |
|
function bigdisplay(dt,db,i) { |
|
extdisp.document.writeln(dt[i]+'<br />'+db[i]); |
|
} |
|
|
|
function showdisplay(utext,ltext) { |
|
var i; var ch; |
|
dislocked=1; |
|
if (utext == null) { utext = '';} |
|
if (ltext == null) { ltext = '';} |
|
if (typeof(utext)!="string") { utext=''; } |
|
if (typeof(ltext)!="string") { ltext=''; } |
|
if ((utext=='') && (ltext=='')) { |
|
utext=statustop; |
|
ltext=statusbot; |
|
dislocked=0; |
|
} |
|
if (active) { |
|
self.document.forms.disp.topdisplay.value=utext; |
|
self.document.forms.disp.botdisplay.value=ltext; |
|
} |
|
} |
|
//--> |
|
</script> |
|
</block> |
<center> |
<center> |
<table hspace="0" border="0" cellspacing="0" cellpadding="0"> |
<table hspace="0" border="0" cellspacing="0" cellpadding="0"> |
<tr><td> |
<tr><td> |
<a href="javascript:defdis();" |
<a href="javascript:defdis();" |
onMouseOver="defdis();" |
onmouseover="defdis();" |
><img border="0" width="80" height="50" src="title.gif"></a> |
><img border="0" width="80" height="50" src="title.gif" /></a> |
</td><td> |
</td><td> |
<img border="0" width="50" height="50" name="led" src="ledoff.gif"> |
<img border="0" width="50" height="50" name="led" src="ledoff.gif" /> |
</td></tr> |
</td></tr> |
</table> |
</table> |
</center> |
</center> |
|
|
<center> |
<center> |
<a href="javascript:defdis();" |
<a href="javascript:extenddisp();" |
onMouseOver="defdis();" |
onmouseover="defdis();" |
><img width="103" height="7" border="0" src="spacer.gif" /></a> |
><img width="104" height="10" border="0" src="spacer.gif" /></a> |
</center> |
</center> |
|
|
<center> |
<center> |
|
<block condition="&EXT('request.browser.textremote')!=1"> |
<table hspace="1" border="0" cellspacing="0" cellpadding="1"> |
<table hspace="1" border="0" cellspacing="0" cellpadding="1"> |
<tr><td bgcolor="#666666"> |
<tr><td bgcolor="#666666"> |
<table hspace="0" border="0" cellspacing="1" cellpadding="0"> |
<table hspace="0" border="0" cellspacing="1" cellpadding="0"> |
<tr> |
<tr> |
<td><img name="i0" width="15" height="19" src="l.gif" /></td> |
<td><a href="javascript:defdis();" onmouseover="defdis();"><img border="0" name="i0" width="15" height="19" src="/adm/lonLCDfont/l.gif" /></a></td> |
<td><img name="i1" width="15" height="19" src="o.gif" /></td> |
<td><a href="javascript:defdis();" onmouseover="defdis();"><img border="0" name="i1" width="15" height="19" src="/adm/lonLCDfont/o.gif" /></a></td> |
<td><img name="i2" width="15" height="19" src="n.gif" /></td> |
<td><a href="javascript:defdis();" onmouseover="defdis();"><img border="0" name="i2" width="15" height="19" src="/adm/lonLCDfont/n.gif" /></a></td> |
<td><img name="i3" width="15" height="19" src="hyphen.gif"></td> |
<td><a href="javascript:defdis();" onmouseover="defdis();"><img border="0" name="i3" width="15" height="19" src="/adm/lonLCDfont/hyphen.gif" /></a></td> |
<td><img name="i4" width="15" height="19" src="c.gif" /></td> |
<td><a href="javascript:defdis();" onmouseover="defdis();"><img border="0" name="i4" width="15" height="19" src="/adm/lonLCDfont/c.gif" /></a></td> |
<td><img name="i5" width="15" height="19" src="a.gif" /></td> |
<td><a href="javascript:defdis();" onmouseover="defdis();"><img border="0" name="i5" width="15" height="19" src="/adm/lonLCDfont/a.gif" /></a></td> |
<td><img name="i6" width="15" height="19" src="p.gif" /></td> |
<td><a href="javascript:defdis();" onmouseover="defdis();"><img border="0" name="i6" width="15" height="19" src="/adm/lonLCDfont/p.gif" /></a></td> |
<td><img name="i7" width="15" height="19" src="a.gif" /></td> |
<td><a href="javascript:defdis();" onmouseover="defdis();"><img border="0" name="i7" width="15" height="19" src="/adm/lonLCDfont/a.gif" /></a></td> |
</tr> |
</tr> |
<tr> |
<tr> |
<td><img name="j0" width="15" height="19" src="space.gif" /></td> |
<td><a href="javascript:defdis();" onmouseover="defdis();"><img border="0" name="j0" width="15" height="19" src="/adm/lonLCDfont/space.gif" /></a></td> |
<td><img name="j1" width="15" height="19" src="space.gif" /></td> |
<td><a href="javascript:defdis();" onmouseover="defdis();"><img border="0" name="j1" width="15" height="19" src="/adm/lonLCDfont/space.gif" /></a></td> |
<td><img name="j2" width="15" height="19" src="space.gif" /></td> |
<td><a href="javascript:defdis();" onmouseover="defdis();"><img border="0" name="j2" width="15" height="19" src="/adm/lonLCDfont/space.gif" /></a></td> |
<td><img name="j3" width="15" height="19" src="space.gif" /></td> |
<td><a href="javascript:defdis();" onmouseover="defdis();"><img border="0" name="j3" width="15" height="19" src="/adm/lonLCDfont/space.gif" /></a></td> |
<td><img name="j4" width="15" height="19" src="space.gif" /></td> |
<td><a href="javascript:defdis();" onmouseover="defdis();"><img border="0" name="j4" width="15" height="19" src="/adm/lonLCDfont/space.gif" /></a></td> |
<td><img name="j5" width="15" height="19" src="space.gif" /></td> |
<td><a href="javascript:defdis();" onmouseover="defdis();"><img border="0" name="j5" width="15" height="19" src="/adm/lonLCDfont/space.gif" /></a></td> |
<td><img name="j6" width="15" height="19" src="space.gif" /></td> |
<td><a href="javascript:defdis();" onmouseover="defdis();"><img border="0" name="j6" width="15" height="19" src="/adm/lonLCDfont/space.gif" /></a></td> |
<td><img name="j7" width="15" height="19" src="space.gif" /></td> |
<td><a href="javascript:defdis();" onmouseover="defdis();"><img border="0" name="j7" width="15" height="19" src="/adm/lonLCDfont/space.gif" /></a></td> |
</tr> |
</tr> |
</table> |
</table> |
</td></tr> |
</td></tr> |
</table> |
</table> |
</center |
</block> |
|
<block condition="&EXT('request.browser.textremote')"> |
|
<font size="1"> |
|
<form name="disp"> |
|
<input type="text" name="topdisplay" size="14" value="LON-CAPA" /><br /> |
|
<input type="text" name="botdisplay" size="14" value="" /> |
|
</form> |
|
</font> |
|
</block> |
|
|
<center> |
|
<a href="javascript:defdis();" |
|
onMouseOver="defdis();" |
|
><img width="103" height="7" border="0" src="spacer.gif" /></a> |
|
</center> |
</center> |
|
|
<center> |
<center> |
<table hspace="0" border="0" cellspacing="0" cellpadding="0"> |
<table hspace="0" border="0" cellspacing="0" cellpadding="0"> |
|
|
<tr> |
<tr> |
<td colspan="2"><a href="javascript:eval(hr[11]);" onMouseOver="display(dt[11],db[11]);"><img width="86" height="20" border="0" name="b11" src="dempty.gif" /></a></td> |
<td colspan="2"><a name="link11" href="javascript:eval(hr[11]);" onmouseover="display(dt[11],db[11]);"><img width="86" height="20" border="0" name="b11" src="dempty.gif" /></a></td> |
<td><a href="javascript:eval(hr[12]);" onMouseOver="display(dt[12],db[12]);"><img width="43" height="20" border="0" name="b12" src="empty.gif" /></a></td> |
<td><a name="link12" href="javascript:eval(hr[12]);" onmouseover="display(dt[12],db[12]);"><img width="43" height="20" border="0" name="b12" src="empty.gif" /></a></td> |
</tr> |
</tr> |
|
|
<tr> |
<tr> |
<td rowspan="2"><a href="javascript:eval(hr[21]);" onMouseOver="display(dt[21],db[21]);"><img width="43" height="40" border="0" name="b21" src="qempty.gif" /></a></td> |
<td rowspan="2"><a name="link21" href="javascript:eval(hr[21]);" onmouseover="display(dt[21],db[21]);"><img width="43" height="40" border="0" name="b21" src="qempty.gif" /></a></td> |
<td><a href="javascript:eval(hr[22]);" onMouseOver="display(dt[22],db[22]);"><img width="43" height="20" border="0" name="b22" src="empty.gif" /></a></td> |
<td><a name="link22" href="javascript:eval(hr[22]);" onmouseover="display(dt[22],db[22]);"><img width="43" height="20" border="0" name="b22" src="empty.gif" /></a></td> |
<td rowspan="2"><a href="javascript:eval(hr[23]);" onMouseOver="display(dt[23],db[23]);"><img width="43" height="40" border="0" name="b23" src="qempty.gif" /></a></td> |
<td rowspan="2"><a name="link23" href="javascript:eval(hr[23]);" onmouseover="display(dt[23],db[23]);"><img width="43" height="40" border="0" name="b23" src="qempty.gif" /></a></td> |
</tr> |
</tr> |
|
|
<tr> |
<tr> |
<td><a href="javascript:eval(hr[31]);" onMouseOver="display(dt[31],db[31]);"><img width="43" height="20" border="0" name="b31" src="empty.gif" /></a></td> |
<td><a name="link31" href="javascript:eval(hr[31]);" onmouseover="display(dt[31],db[31]);"><img width="43" height="20" border="0" name="b31" src="empty.gif" /></a></td> |
</tr> |
</tr> |
|
|
<tr> |
<tr> |
<td><a href="javascript:eval(hr[41]);" onMouseOver="display(dt[41],db[41]);"><img width="43" height="20" border="0" name="b41" src="empty.gif" /></a></td> |
<td><a name="link41" href="javascript:eval(hr[41]);" onmouseover="display(dt[41],db[41]);"><img width="43" height="20" border="0" name="b41" src="empty.gif" /></a></td> |
<td><a href="javascript:eval(hr[42]);" onMouseOver="display(dt[42],db[42]);"><img width="43" height="20" border="0" name="b42" src="empty.gif" /></a></td> |
<td><a name="link42" href="javascript:eval(hr[42]);" onmouseover="display(dt[42],db[42]);"><img width="43" height="20" border="0" name="b42" src="empty.gif" /></a></td> |
<td><a href="javascript:eval(hr[43]);" onMouseOver="display(dt[43],db[43]);"><img width="43" height="20" border="0" name="b43" src="empty.gif" /></a></td> |
<td><a name="link43" href="javascript:eval(hr[43]);" onmouseover="display(dt[43],db[43]);"><img width="43" height="20" border="0" name="b43" src="empty.gif" /></a></td> |
</tr> |
</tr> |
|
|
<tr> |
<tr> |
<td><a href="javascript:eval(hr[51]);" onMouseOver="display(dt[51],db[51]);"><img width="43" height="20" border="0" name="b51" src="empty.gif" /></a></td> |
<td><a name="link51" href="javascript:eval(hr[51]);" onmouseover="display(dt[51],db[51]);"><img width="43" height="20" border="0" name="b51" src="empty.gif" /></a></td> |
<td><a href="javascript:eval(hr[52]);" onMouseOver="display(dt[52],db[52]);"><img width="43" height="20" border="0" name="b52" src="empty.gif" /></a></td> |
<td><a name="link52" href="javascript:eval(hr[52]);" onmouseover="display(dt[52],db[52]);"><img width="43" height="20" border="0" name="b52" src="empty.gif" /></a></td> |
<td><a href="javascript:eval(hr[53]);" onMouseOver="display(dt[53],db[53]);"><img width="43" height="20" border="0" name="b53" src="empty.gif" /></a></td> |
<td><a name="link53" href="javascript:eval(hr[53]);" onmouseover="display(dt[53],db[53]);"><img width="43" height="20" border="0" name="b53" src="empty.gif" /></a></td> |
</tr> |
</tr> |
|
|
<tr> |
<tr> |
<td><a href="javascript:eval(hr[61]);" onMouseOver="display(dt[61],db[61]);"><img width="43" height="20" border="0" name="b61" src="empty.gif" /></a></td> |
<td><a name="link61" href="javascript:eval(hr[61]);" onmouseover="display(dt[61],db[61]);"><img width="43" height="20" border="0" name="b61" src="empty.gif" /></a></td> |
<td><a href="javascript:eval(hr[62]);" onMouseOver="display(dt[62],db[62]);"><img width="43" height="20" border="0" name="b62" src="empty.gif" /></a></td> |
<td><a name="link62" href="javascript:eval(hr[62]);" onmouseover="display(dt[62],db[62]);"><img width="43" height="20" border="0" name="b62" src="empty.gif" /></a></td> |
<td><a href="javascript:eval(hr[63]);" onMouseOver="display(dt[63],db[63]);"><img width="43" height="20" border="0" name="b63" src="empty.gif" /></a></td> |
<td><a name="link63" href="javascript:eval(hr[63]);" onmouseover="display(dt[63],db[63]);"><img width="43" height="20" border="0" name="b63" src="empty.gif" /></a></td> |
</tr> |
</tr> |
|
|
<tr> |
<tr> |
<td><a href="javascript:eval(hr[71]);" onMouseOver="display(dt[71],db[71]);"><img width="43" height="20" border="0" name="b71" src="empty.gif" /></a></td> |
<td><a name="link71" href="javascript:eval(hr[71]);" onmouseover="display(dt[71],db[71]);"><img width="43" height="20" border="0" name="b71" src="empty.gif" /></a></td> |
<td><a href="javascript:eval(hr[72]);" onMouseOver="display(dt[72],db[72]);"><img width="43" height="20" border="0" name="b72" src="empty.gif" /></a></td> |
<td><a name="link72" href="javascript:eval(hr[72]);" onmouseover="display(dt[72],db[72]);"><img width="43" height="20" border="0" name="b72" src="empty.gif" /></a></td> |
<td><a href="javascript:eval(hr[73]);" onMouseOver="display(dt[73],db[73]);"><img width="43" height="20" border="0" name="b73" src="empty.gif" /></a></td> |
<td><a name="link73" href="javascript:eval(hr[73]);" onmouseover="display(dt[73],db[73]);"><img width="43" height="20" border="0" name="b73" src="empty.gif" /></a></td> |
</tr> |
</tr> |
|
|
<tr> |
<tr> |
<td><a href="javascript:eval(hr[81]);" onMouseOver="display(dt[81],db[81]);"><img width="43" height="20" border="0" name="b81" src="empty.gif" /></a></td> |
<td><a name="link81" href="javascript:eval(hr[81]);" onmouseover="display(dt[81],db[81]);"><img width="43" height="20" border="0" name="b81" src="empty.gif" /></a></td> |
<td><a href="javascript:eval(hr[82]);" onMouseOver="display(dt[82],db[82]);"><img width="43" height="20" border="0" name="b82" src="empty.gif" /></a></td> |
<td><a name="link82" href="javascript:eval(hr[82]);" onmouseover="display(dt[82],db[82]);"><img width="43" height="20" border="0" name="b82" src="empty.gif" /></a></td> |
<td><a href="javascript:eval(hr[83]);" onMouseOver="display(dt[83],db[83]);"><img width="43" height="20" border="0" name="b83" src="empty.gif" /></a></td> |
<td><a name="link83" href="javascript:eval(hr[83]);" onmouseover="display(dt[83],db[83]);"><img width="43" height="20" border="0" name="b83" src="empty.gif" /></a></td> |
</tr> |
</tr> |
|
|
<tr> |
<tr> |
<td><a href="javascript:eval(hr[91]);" onMouseOver="display(dt[91],db[91]);"><img width="43" height="20" border="0" name="b91" src="empty.gif" /></a></td> |
<td><a name="link91" href="javascript:eval(hr[91]);" onmouseover="display(dt[91],db[91]);"><img width="43" height="20" border="0" name="b91" src="empty.gif" /></a></td> |
<td><a href="javascript:eval(hr[92]);" onMouseOver="display(dt[92],db[92]);"><img width="43" height="20" border="0" name="b92" src="empty.gif" /></a></td> |
<td><a name="link92" href="javascript:eval(hr[92]);" onmouseover="display(dt[92],db[92]);"><img width="43" height="20" border="0" name="b92" src="empty.gif" /></a></td> |
<td><a href="javascript:eval(hr[93]);" onMouseOver="display(dt[93],db[93]);"><img width="43" height="20" border="0" name="b93" src="empty.gif" /></a></td> |
<td><a name="link93" href="javascript:eval(hr[93]);" onmouseover="display(dt[93],db[93]);"><img width="43" height="20" border="0" name="b93" src="empty.gif" /></a></td> |
</tr> |
</tr> |
|
|
<tr> |
<tr> |
<td><a href="javascript:eval(hr[101]);" onMouseOver="display(dt[101],db[101]);"><img width="43" height="20" border="0" name="b101" src="empty.gif" /></a></td> |
<td><a name="link101" href="javascript:eval(hr[101]);" onmouseover="display(dt[101],db[101]);"><img width="43" height="20" border="0" name="b101" src="empty.gif" /></a></td> |
<td><a href="javascript:eval(hr[102]);" onMouseOver="display(dt[102],db[102]);"><img width="43" height="20" border="0" name="b102" src="empty.gif" /></a></td> |
<td><a name="link102" href="javascript:eval(hr[102]);" onmouseover="display(dt[102],db[102]);"><img width="43" height="20" border="0" name="b102" src="empty.gif" /></a></td> |
<td><a href="javascript:eval(hr[103]);" onMouseOver="display(dt[103],db[103]);"><img width="43" height="20" border="0" name="b103" src="empty.gif" /></a></td> |
<td><a name="link103" href="javascript:eval(hr[103]);" onmouseover="display(dt[103],db[103]);"><img width="43" height="20" border="0" name="b103" src="empty.gif" /></a></td> |
</tr> |
</tr> |
|
|
</table> |
<tr> |
</center> |
<td><a name="link111" href="javascript:eval(hr[111]);" onmouseover="display(dt[111],db[111]);"><img width="43" height="20" border="0" name="b111" src="empty.gif" /></a></td> |
|
<td><a name="link112" href="javascript:eval(hr[112]);" onmouseover="display(dt[112],db[112]);"><img width="43" height="20" border="0" name="b112" src="empty.gif" /></a></td> |
|
<td><a name="link113" href="javascript:eval(hr[113]);" onmouseover="display(dt[113],db[113]);"><img width="43" height="20" border="0" name="b113" src="empty.gif" /></a></td> |
|
</tr> |
|
|
<center> |
<tr> |
<a href="javascript:defdis();" |
<td><a name="link121" href="javascript:eval(hr[121]);" onmouseover="display(dt[121],db[121]);"><img width="43" height="20" border="0" name="b121" src="empty.gif" /></a></td> |
onMouseOver="defdis();" |
<td><a name="link122" href="javascript:eval(hr[122]);" onmouseover="display(dt[122],db[122]);"><img width="43" height="20" border="0" name="b122" src="empty.gif" /></a></td> |
><img width="103" height="7" border="0" src="spacer.gif" /></a> |
<td><a name="link123" href="javascript:eval(hr[123]);" onmouseover="display(dt[123],db[123]);"><img width="43" height="20" border="0" name="b123" src="empty.gif" /></a></td></tr> |
|
|
|
<tr> |
|
<td><a name="link131" href="javascript:eval(hr[131]);" onmouseover="display(dt[131],db[131]);"><img width="43" height="20" border="0" name="b131" src="empty.gif" /></a></td> |
|
<td><a name="link132" href="javascript:eval(hr[132]);" onmouseover="display(dt[132],db[132]);"><img width="43" height="20" border="0" name="b132" src="empty.gif" /></a></td> |
|
<td><a name="link133" href="javascript:eval(hr[133]);" onmouseover="display(dt[133],db[133]);"><img width="43" height="20" border="0" name="b133" src="empty.gif" /></a></td></tr> |
|
|
|
</table> |
</center> |
</center> |
|
|
<form name="server" action="/adm/logout" method="post" target="loncapaclient"> |
<form name="server" action="/adm/logout" method="post" target="loncapaclient"> |
<input type="hidden" name="postdata" value="none" /> |
<input type="hidden" name="postdata" value="none" /> |
<input type="hidden" name="command" value="none" /> |
<input type="hidden" name="command" value="none" /> |
<input type="hidden" name="url" value="none" /> |
<input type="hidden" name="url" value="none" /> |
|
<input type="hidden" name="postsymb" value="none" /> |
</form> |
</form> |
<script> |
|
activate(); |
|
</script> |
|
</body> |
</body> |
</html> |
</html> |
|
|