Diff for /loncom/html/res/adm/pages/menu.html between versions 1.88 and 1.93

version 1.88, 2003/02/24 23:32:32 version 1.93, 2003/04/04 22:00:26
Line 36  Remote Control Line 36  Remote Control
   
 <body bgcolor="#BBBBBB"   <body bgcolor="#BBBBBB" 
       background="remotebg.gif"        background="remotebg.gif"
       onUnload="logout();"        onUnload="collapse();"
       onLoad="activate();"        onLoad="activate();"
       >        >
 <font size="1">  <font size="1">
Line 49  var active = 0; Line 49  var active = 0;
 var dislocked = 1;  var dislocked = 1;
 var statuslocked = 0;  var statuslocked = 0;
   
   if (lonhttpdport == null) {
       var lonhttpdport='8080';
   }
 var imgpath=':'+lonhttpdport+'/res/adm/pages/';  var imgpath=':'+lonhttpdport+'/res/adm/pages/';
 var fontpath=':'+lonhttpdport+'/adm/lonLCDfont/';  var fontpath=':'+lonhttpdport+'/adm/lonLCDfont/';
 var currentURL='';  var currentURL='';
Line 76  var w_Annotator_flag=-1; Line 79  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;
  // 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 146  function windowcheck() { Line 150  function windowcheck() {
    extenddispclose();     extenddispclose();
 }  }
   
   function collapse() {
      if (autologout) {
          go('/adm/remote?action=collapse');
      }
   }
    
 function logout () {  function logout () {
    windowcheck();     windowcheck();
   
Line 161  function logout () { Line 171  function logout () {
       if (w_LONcatInfo_flag!=-1 && loncatinfo && !loncatinfo.closed) {        if (w_LONcatInfo_flag!=-1 && loncatinfo && !loncatinfo.closed) {
           loncatinfo.close();            loncatinfo.close();
       }        }
         if (w_LONchat_flag!=-1 && lonchat && !lonchat.closed) {
             lonchat.close();
         }
       if (autologout) {        if (autologout) {
          clientwindow.window.location.href="http://"+clienthost+"/adm/logout";           clientwindow.window.location.href="http://"+clienthost+"/adm/logout";
       }        }
Line 278  function gopost(url,postdata) { Line 291  function gopost(url,postdata) {
       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.symb.value='';        this.document.server.postsymb.value='';
       this.document.server.submit();        this.document.server.submit();
    }     }
 }  }
Line 292  function gocmd(url,cmd) { Line 305  function gocmd(url,cmd) {
       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.symb.value=currentSymb;        this.document.server.postsymb.value=currentSymb;
       this.document.server.submit();        this.document.server.submit();
    }     }
 }  }
Line 409  function edit_bookmarks() { Line 422  function edit_bookmarks() {
 function catalog_info() {  function catalog_info() {
    go('');     go('');
    w_LONcatInfo_flag=1;     w_LONcatInfo_flag=1;
    loncatinfo=window.open(clientwindow.window.location.pathname+'.meta',"LONcatInfo");     loncatinfo=window.open(clientwindow.window.location.pathname+'.meta',"LONcatInfo",'height=320,width=280,resizeable=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=320,width=280,resizeable=yes,location=no,menubar=no,toolbar=no');
 }  }
 // -->  // -->
 </script>  </script>
Line 533  function catalog_info() { Line 552  function catalog_info() {
 <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="symb" value="none" />  <input type="hidden" name="postsymb" value="none" />
 </form>  </form>
 </font>  </font>
 </body>  </body>

Removed from v.1.88  
changed lines
  Added in v.1.93


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>