Diff for /loncom/html/res/adm/pages/menu.html between versions 1.45 and 1.54

version 1.45, 2002/03/19 20:30:07 version 1.54, 2002/05/24 18:31:13
Line 44  Jan Guy Albertelli Line 44  Jan Guy Albertelli
 YEAR=2002  YEAR=2002
 March 2002 Matthew Hall  March 2002 Matthew Hall
 3/19 Gerd Kortemeyer  3/19 Gerd Kortemeyer
   5/6/02 Matthew Hall
   
 -->  -->
 <head>  <head>
 <title>LON-CAPA Remote</title>  <title>LON-CAPA Remote</title>
 </head>  </head>
   
   
 <body bgcolor="#BBBBBB"   <body bgcolor="#BBBBBB" 
       background="remotebg.gif">        background="remotebg.gif"
 <basefont size="1" />        onUnload="logout();"
         >
   
 <script type="text/javascript">  <script type="text/javascript">
 <!--  <!--
Line 89  var dt = new Array; Line 91  var dt = 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++) {
       var index = 10*j+i;        var index = 10*j+i;
       hr[index]=null;        hr[index]='';
       db[index]=null;        db[index]='';
       dt[index]=null;        dt[index]='';
    }     }
 }  }
   
Line 140  function deactivate () { Line 142  function deactivate () {
 function display(utext,ltext) {  function display(utext,ltext) {
   var i; var ch;    var i; var ch;
   this.window.focus();    this.window.focus();
   if (typeof(utext)=="undefined") { utext=''; }    if (utext == null) { utext = '';}
   if (typeof(ltext)=="undefined") { ltext=''; }    if (ltext == null) { ltext = '';}
     if (typeof(utext)!="string") { utext=''; }
     if (typeof(ltext)!="string") { ltext=''; }
   if ((utext=='') && (ltext=='')) {    if ((utext=='') && (ltext=='')) {
      utext=statustop;       utext=statustop;
      ltext=statusbot;       ltext=statusbot;
Line 195  function setstatus(tp,bt) { Line 199  function setstatus(tp,bt) {
    endsend();     endsend();
 }  }
   
   function is_editable_resource (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();
      var url;
      if ((currenturl == null) || 
          (currenturl == '')   || 
          (! is_editable_resource(currenturl))) {
         url = defaulturl;
      } else {
         url = currenturl;
         var res_pattern     = /^\/res\/[A-z0-p]+\//;
         if (res_pattern.test(url)) {
            // map /res/103/turtle to /priv/turtle
            url = url.replace(/^\/res\/[A-z0-9]+\//,'/priv/');
         } else {
            url = defaulturl;
         }
      }
      this.document['led'].src="ledsend.gif";
      if (url != '') {
          clientwindow.window.location.href="http://"+clienthost+url;
      }
   }
   
 function go(url) {  function go(url) {
    windowcheck();     windowcheck();
    this.document['led'].src="ledsend.gif";     this.document['led'].src="ledsend.gif";
    if (url!='') {     if (url!='' && url!= null) {
          currentURL = null;
        clientwindow.window.location.href="http://"+clienthost+url;         clientwindow.window.location.href="http://"+clienthost+url;
    }     }
 }  }
Line 278  function catalog_info() { Line 315  function catalog_info() {
 }  }
 // -->  // -->
 </script>  </script>
   
 <center>  <center>
 <table border="0" cellspacing="1" 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" src="title.gif"></img></a>  ><img border="0" width="80" height="50" src="title.gif"></a>
 </td><td>  </td><td>
 <img border="0" name="led" src="ledoff.gif"> </img>  <img border="0" width="50" height="50" name="led" src="ledoff.gif">
 </td></tr>  </td></tr>
 </table>  </table>
 <br />  </center>
 <table border="0" cellspacing="1" cellpadding="1">  
   <center>
   <a href="javascript:defdis();"
      onMouseOver="defdis();"
   ><img width="103" height="7" border="0" src="spacer.gif" /></a>
   </center>
   
   <center>
   <table hspace="1" border="0" cellspacing="0" cellpadding="1">
 <tr><td bgcolor="#666666">  <tr><td bgcolor="#666666">
 <table border="0" cellspacing="1" cellpadding="0">   <table hspace="0" border="0" cellspacing="1" cellpadding="0"> 
 <tr>  <tr>
 <td><img name="i0" src="l.gif"></img></td>  <td><img name="i0" width="15" height="19" src="l.gif" /></td>
 <td><img name="i1" src="o.gif"></img></td>  <td><img name="i1" width="15" height="19" src="o.gif" /></td>
 <td><img name="i2" src="n.gif"></img></td>  <td><img name="i2" width="15" height="19" src="n.gif" /></td>
 <td><img name="i3" src="hyphen.gif"></img></td>  <td><img name="i3" width="15" height="19" src="hyphen.gif"></td>
 <td><img name="i4" src="c.gif"></img></td>  <td><img name="i4" width="15" height="19" src="c.gif" /></td>
 <td><img name="i5" src="a.gif"></img></td>  <td><img name="i5" width="15" height="19" src="a.gif" /></td>
 <td><img name="i6" src="p.gif"></img></td>  <td><img name="i6" width="15" height="19" src="p.gif" /></td>
 <td><img name="i7" src="a.gif"></img></td>  <td><img name="i7" width="15" height="19" src="a.gif" /></td>
 </tr>  </tr>
 <tr>  <tr>
 <td><img name="j0" src="space.gif"></img></td>  <td><img name="j0" width="15" height="19" src="space.gif" /></td>
 <td><img name="j1" src="space.gif"></img></td>  <td><img name="j1" width="15" height="19" src="space.gif" /></td>
 <td><img name="j2" src="space.gif"></img></td>  <td><img name="j2" width="15" height="19" src="space.gif" /></td>
 <td><img name="j3" src="space.gif"></img></td>  <td><img name="j3" width="15" height="19" src="space.gif" /></td>
 <td><img name="j4" src="space.gif"></img></td>  <td><img name="j4" width="15" height="19" src="space.gif" /></td>
 <td><img name="j5" src="space.gif"></img></td>  <td><img name="j5" width="15" height="19" src="space.gif" /></td>
 <td><img name="j6" src="space.gif"></img></td>  <td><img name="j6" width="15" height="19" src="space.gif" /></td>
 <td><img name="j7" src="space.gif"></img></td>  <td><img name="j7" width="15" height="19" src="space.gif" /></td>
 </tr>  </tr>
 </table>  </table>
 </td>  </td></tr>
 </tr>  </table>
 </table><br />  </center
   
   <center>
   <a href="javascript:defdis();"
      onMouseOver="defdis();"
   ><img width="103" height="7" border="0" src="spacer.gif" /></a>
   </center>
   
 <table border="0" cellspacing="0" cellpadding="0">  <center>
   <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 border="0" name="b11" src="dempty.gif"></img></a></td>  <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><a href="javascript:eval(hr[12]);" onMouseOver="display(dt[12],db[12]);"><img border="0" name="b12" src="empty.gif"></img></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>
 </tr>  </tr>
   
 <tr>  <tr>
 <td rowspan="2"><a href="javascript:eval(hr[21]);" onMouseOver="display(dt[21],db[21]);"><img border="0" name="b21" src="qempty.gif"></img></a></td>  <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><a href="javascript:eval(hr[22]);" onMouseOver="display(dt[22],db[22]);"><img border="0" name="b22" src="empty.gif"></img></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 rowspan="2"><a href="javascript:eval(hr[23]);" onMouseOver="display(dt[23],db[23]);"><img border="0" name="b23" src="qempty.gif"></img></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>
 </tr>  </tr>
   
 <tr>  <tr>
 <td><a href="javascript:eval(hr[31]);" onMouseOver="display(dt[31],db[31]);"><img border="0" name="b31" src="empty.gif"></img></a></td>  <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>
 </tr>  </tr>
   
 <tr>  <tr>
 <td><a href="javascript:eval(hr[41]);" onMouseOver="display(dt[41],db[41]);"><img border="0" name="b41" src="empty.gif"></img></a></td>  <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 href="javascript:eval(hr[42]);" onMouseOver="display(dt[42],db[42]);"><img border="0" name="b42" src="empty.gif"></img></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 href="javascript:eval(hr[43]);" onMouseOver="display(dt[43],db[43]);"><img border="0" name="b43" src="empty.gif"></img></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>
 </tr>  </tr>
   
 <tr>  <tr>
 <td><a href="javascript:eval(hr[51]);" onMouseOver="display(dt[51],db[51]);"><img border="0" name="b51" src="empty.gif"></img></a></td>  <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 href="javascript:eval(hr[52]);" onMouseOver="display(dt[52],db[52]);"><img border="0" name="b52" src="empty.gif"></img></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 href="javascript:eval(hr[53]);" onMouseOver="display(dt[53],db[53]);"><img border="0" name="b53" src="empty.gif"></img></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>
 </tr>  </tr>
   
 <tr>  <tr>
 <td><a href="javascript:eval(hr[61]);" onMouseOver="display(dt[61],db[61]);"><img border="0" name="b61" src="empty.gif"></img></a></td>  <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 href="javascript:eval(hr[62]);" onMouseOver="display(dt[62],db[62]);"><img border="0" name="b62" src="empty.gif"></img></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 href="javascript:eval(hr[63]);" onMouseOver="display(dt[63],db[63]);"><img border="0" name="b63" src="empty.gif"></img></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>
 </tr>  </tr>
   
 <tr>  <tr>
 <td><a href="javascript:eval(hr[71]);" onMouseOver="display(dt[71],db[71]);"><img border="0" name="b71" src="empty.gif"></img></a></td>  <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 href="javascript:eval(hr[72]);" onMouseOver="display(dt[72],db[72]);"><img border="0" name="b72" src="empty.gif"></img></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 href="javascript:eval(hr[73]);" onMouseOver="display(dt[73],db[73]);"><img border="0" name="b73" src="empty.gif"></img></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>
 </tr>  </tr>
   
 <tr>  <tr>
 <td><a href="javascript:eval(hr[81]);" onMouseOver="display(dt[81],db[81]);"><img border="0" name="b81" src="empty.gif"></img></a></td>  <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 href="javascript:eval(hr[82]);" onMouseOver="display(dt[82],db[82]);"><img border="0" name="b82" src="empty.gif"></img></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 href="javascript:eval(hr[83]);" onMouseOver="display(dt[83],db[83]);"><img border="0" name="b83" src="empty.gif"></img></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>
 </tr>  </tr>
   
 <tr>  <tr>
 <td><a href="javascript:eval(hr[91]);" onMouseOver="display(dt[91],db[91]);"><img border="0" name="b91" src="empty.gif"></img></a></td>  <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 href="javascript:eval(hr[92]);" onMouseOver="display(dt[92],db[92]);"><img border="0" name="b92" src="empty.gif"></img></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 href="javascript:eval(hr[93]);" onMouseOver="display(dt[93],db[93]);"><img border="0" name="b93" src="empty.gif"></img></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>
 </tr>  </tr>
   
 <tr>  <tr>
 <td><a href="javascript:eval(hr[101]);" onMouseOver="display(dt[101],db[101]);"><img border="0" name="b101" src="empty.gif"></img></a></td>  <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 href="javascript:eval(hr[102]);" onMouseOver="display(dt[102],db[102]);"><img border="0" name="b102" src="empty.gif"></img></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 href="javascript:eval(hr[103]);" onMouseOver="display(dt[103],db[103]);"><img border="0" name="b103" src="empty.gif"></img></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>
 </tr>  </tr>
   
 </table>  </table>
   </center>
   
   <center>
 <a href="javascript:defdis();"  <a href="javascript:defdis();"
    onMouseOver="defdis();"     onMouseOver="defdis();"
 ><img border="0" src="spacer.gif"></img></a><br />  ><img width="103" height="7" border="0" src="spacer.gif" /></a>
   </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" />
  </form>  </form>
 </center>  
 <script>  <script>
 activate();  activate();
 </script>  </script>

Removed from v.1.45  
changed lines
  Added in v.1.54


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