--- loncom/html/res/adm/pages/menu.html 2003/04/30 21:26:47 1.96 +++ loncom/html/res/adm/pages/menu.html 2003/10/11 14:06:01 1.107 @@ -4,7 +4,7 @@ The LearningOnline Network with CAPA Remote Control // -// $Id: menu.html,v 1.96 2003/04/30 21:26:47 albertel Exp $ +// $Id: menu.html,v 1.107 2003/10/11 14:06:01 www Exp $ // // Copyright Michigan State University Board of Trustees // @@ -51,6 +51,7 @@ var statuslocked = 0; if (lonhttpdport == null) { var lonhttpdport='8080'; } + var imgpath=':'+lonhttpdport+'/res/adm/pages/'; var fontpath=':'+lonhttpdport+'/adm/lonLCDfont/'; var currentURL=''; @@ -141,11 +142,10 @@ function windowcheck() { if (clientwindow==null || clientwindow.closed) { clientwindow=window.open("http://"+clienthost+"/",'', "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"); + clientwindow.name='loncapaclient'; } - clientwindow.name='loncapaclient'; - clientwindow.menuwindow=self; extenddispclose(); } @@ -174,7 +174,7 @@ function logout () { lonchat.close(); } if (autologout) { - clientwindow.window.location.href="http://"+clienthost+"/adm/logout"; + go("/adm/logout"); } } @@ -193,42 +193,6 @@ function display(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>>><<< '+ - ''); + this.document['b'+i].src+'" /><<< '); + bigdisplay(dt,db,i); + extdisp.document.writeln(''+ds[i]+''); + } + } + } + extdisp.document.writeln('