Diff for /loncom/html/res/adm/pages/menu.html between versions 1.90 and 1.94

version 1.90, 2003/04/02 21:23:04 version 1.94, 2003/04/11 15:28:23
Line 36  Remote Control Line 36  Remote Control
   
 <body bgcolor="#BBBBBB"   <body bgcolor="#BBBBBB" 
       background="remotebg.gif"        background="remotebg.gif"
       onUnload="go('/adm/remote?action=collapse')"        onUnload="collapse();"
       onLoad="activate();"        onLoad="activate();"
       >        >
 <font size="1">  <font size="1">
Line 79  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 149  function windowcheck() { Line 150  function windowcheck() {
    extenddispclose();     extenddispclose();
 }  }
   
   function collapse() {
      if (autologout) {
          go('/adm/remote?action=collapse');
      }
   }
    
 function logout () {  function logout () {
    windowcheck();     windowcheck();
   
Line 164  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 281  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 295  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 359  function drawwindow() { Line 369  function drawwindow() {
   '<html><body bgcolor="#666666" text="#DDDDDD" link="#EEEEEE" '+    '<html><body bgcolor="#666666" text="#DDDDDD" link="#EEEEEE" '+
          'onUnload="opener.w_extdisp_flag=-1;">'+           'onUnload="opener.w_extdisp_flag=-1;">'+
   '<h2>LON-CAPA Extended Display Remote Control</h2>'+    '<h2>LON-CAPA Extended Display Remote Control</h2>'+
   '<script>var currentURL="'+currentURL+'";self.focus();</script>'+    '<script type="text/javascript">var currentURL="'+currentURL+'";self.focus();</s'+'cript>'+
   '<table border="2"><tr><th>Select Functionality from Below</th>'+    '<table border="2"><tr><th>Select Functionality from Below</th>'+
   '<th>Description</th></tr>');    '<th>Description</th></tr>');
    for (var i=0; i<=ds.length; i++) {     for (var i=0; i<=ds.length; i++) {
Line 412  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 536  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.90  
changed lines
  Added in v.1.94


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