Diff for /loncom/html/res/adm/pages/menu.html between versions 1.24 and 1.25

version 1.24, 2001/05/01 03:44:41 version 1.25, 2001/05/02 19:29:53
Line 28  statustop=''; Line 28  statustop='';
 statusbot='';  statusbot='';
 active=0;  active=0;
   
   // not used (yet)
   // var w_Annotator;
   // var w_bmquery;
   // var w_BookmarkPal;
   // var w_LONcatInfo;
   
   //////////////////////////////////////
   var w_Annotator_flag=-1;
   var w_bmquery_flag=-1;
   var w_BookmarkPal_flag=-1;
   var w_LONcatInfo_flag=-1;
    // 1 means currently open
    // 0 means closed (but has been open)
    // -1 means never yet opened/defined
   ///////////////////////////////////////
   
 clienthost=window.location.host;  clienthost=window.location.host;
 clientwindow=opener;  clientwindow=opener;
   
Line 42  function logout () { Line 58  function logout () {
    windowcheck();     windowcheck();
    if (clientwindow.status!='MenuControl:nologout')     if (clientwindow.status!='MenuControl:nologout')
    {        {   
         if (w_Annotator_flag!=-1 && annotator && !annotator.closed) {
             annotator.close();
         }
         if (w_bmquery_flag!=-1 && bmquery && !bmquery.closed) {
             bmquery.close();
         }
         if (w_BookmarkPal_flag!=-1 && bookmarkpal && !bookmarkpal.closed) {
             bookmarkpal.close();
         }
         if (w_LONcatInfo_flag!=-1 && loncatinfo && !loncatinfo.closed) {
             loncatinfo.close();
         }
       clientwindow.window.location.href="http://"+clienthost+"/adm/logout";        clientwindow.window.location.href="http://"+clienthost+"/adm/logout";
    }     }
 }  }
Line 109  function gopost(url,postdata) { Line 137  function gopost(url,postdata) {
 }  }
   
 function annotate() {  function annotate() {
      w_Annotator_flag=1;
    annotator=window.open('','Annotator','width=365,height=265,scrollbars=0');     annotator=window.open('','Annotator','width=365,height=265,scrollbars=0');
    annotator.document.write(     annotator.document.write(
    "<html><body onload='Javascript:document.goannotate.submit();'>"     "<html><body onload='Javascript:document.goannotate.submit();'>"
Line 123  function set_bookmark() { Line 152  function set_bookmark() {
    go('');     go('');
    clienttitle="Enter Title";     clienttitle="Enter Title";
    clienthref="Enter Address";     clienthref="Enter Address";
      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'"
Line 140  function set_bookmark() { Line 170  function set_bookmark() {
   
 function edit_bookmarks() {  function edit_bookmarks() {
    go('');     go('');
    window.open("http://"+clienthost+"/adm/bookmarks",     w_BookmarkPal_flag=1;
      bookmarkpal=window.open("http://"+clienthost+"/adm/bookmarks",
                "BookmarkPal", "width=400,height=505,scrollbars=0");                 "BookmarkPal", "width=400,height=505,scrollbars=0");
 }  }
   
 function catalog_info() {  function catalog_info() {
    go('');     go('');
    window.open(clientwindow.window.location.href+'.meta',"LONcatInfo");     w_LONcatInfo_flag=1;
      loncatinfo=window.open(clientwindow.window.location.href+'.meta',"LONcatInfo");
 }  }
 // -->  // -->
 </script>  </script>

Removed from v.1.24  
changed lines
  Added in v.1.25


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