Diff for /loncom/html/res/adm/pages/menu.html between versions 1.78 and 1.81

version 1.78, 2002/11/13 18:22:55 version 1.81, 2002/12/09 17:08:19
Line 243  function setstatus(tp,bt) { Line 243  function setstatus(tp,bt) {
    defdis();     defdis();
 }  }
   
 function is_editable_resource (url) {  
 // figure out if this a specific resource version  
    var Chunks = url.split('.');  
    var tmp = Chunks[Chunks.length-1];  
    if ((Chunks.length > 1) && (Math.floor(tmp) == tmp)) {  
        return false;  
    }  
 // see if this is actually in resource space  
    var SlashChunks=url.split('/');  
    if (SlashChunks[1]!='res') { return false; }   
    return true;  
 }  
   
 function cstrgo(currenturl,defaulturl) {  
    windowcheck();  
    var url;  
    if ((currenturl == null) ||   
        (currenturl == '')   ||   
        (! is_editable_resource(currenturl))) {  
       url = defaulturl;  
    } else {  
       var SlashChunks=currenturl.split('/');  
       SlashChunks[1]='priv';  
       var i;  
       for (i=2;i<SlashChunks.length;i++) {  
           SlashChunks[i]=SlashChunks[i+1];  
       }  
       SlashChunks.length--;  
       url=SlashChunks.join('/');  
    }  
    this.document['led'].src="ledsend.gif";  
    if (url != '') {  
        clientwindow.window.location.href="http://"+clienthost+url;  
    }  
 }  
   
 function go(url) {  function go(url) {
    windowcheck();     windowcheck();
    statuslocked=0;     statuslocked=0;
    this.document['led'].src="ledsend.gif";     this.document['led'].src="http://"+clienthost+imgpath+"ledsend.gif";
    if (url!='' && url!= null) {     if (url!='' && url!= null) {
        currentURL = null;         currentURL = null;
        currentSymb= null;         currentSymb= null;
Line 435  function catalog_info() { Line 399  function catalog_info() {
 <tr><td>  <tr><td>
 <a href="javascript:defdis();"  <a href="javascript:defdis();"
    onMouseOver="defdis();"     onMouseOver="defdis();"
 ><img border="0" width="80" height="50" src="title.gif"></a>  ><img border="0" width="80" height="50" src="title.gif" /></a>
 </td><td>  </td><td>
 <img border="0" width="50" height="50" name="led" src="ledoff.gif">  <img border="0" width="50" height="50" name="led" src="ledoff.gif" />
 </td></tr>  </td></tr>
 </table>  </table>
 </center>  </center>
Line 456  function catalog_info() { Line 420  function catalog_info() {
 <td><a href="javascript:defdis();" onMouseOver="defdis();"><img border="0"  name="i0" width="15" height="19" src="/adm/lonLCDfont/l.gif" /></a></td>  <td><a href="javascript:defdis();" onMouseOver="defdis();"><img border="0"  name="i0" width="15" height="19" src="/adm/lonLCDfont/l.gif" /></a></td>
 <td><a href="javascript:defdis();" onMouseOver="defdis();"><img border="0"  name="i1" width="15" height="19" src="/adm/lonLCDfont/o.gif" /></a></td>  <td><a href="javascript:defdis();" onMouseOver="defdis();"><img border="0"  name="i1" width="15" height="19" src="/adm/lonLCDfont/o.gif" /></a></td>
 <td><a href="javascript:defdis();" onMouseOver="defdis();"><img border="0"  name="i2" width="15" height="19" src="/adm/lonLCDfont/n.gif" /></a></td>  <td><a href="javascript:defdis();" onMouseOver="defdis();"><img border="0"  name="i2" width="15" height="19" src="/adm/lonLCDfont/n.gif" /></a></td>
 <td><a href="javascript:defdis();" onMouseOver="defdis();"><img border="0"  name="i3" width="15" height="19" src="/adm/lonLCDfont/hyphen.gif"></a></td>  <td><a href="javascript:defdis();" onMouseOver="defdis();"><img border="0"  name="i3" width="15" height="19" src="/adm/lonLCDfont/hyphen.gif" /></a></td>
 <td><a href="javascript:defdis();" onMouseOver="defdis();"><img border="0"  name="i4" width="15" height="19" src="/adm/lonLCDfont/c.gif" /></a></td>  <td><a href="javascript:defdis();" onMouseOver="defdis();"><img border="0"  name="i4" width="15" height="19" src="/adm/lonLCDfont/c.gif" /></a></td>
 <td><a href="javascript:defdis();" onMouseOver="defdis();"><img border="0"  name="i5" width="15" height="19" src="/adm/lonLCDfont/a.gif" /></a></td>  <td><a href="javascript:defdis();" onMouseOver="defdis();"><img border="0"  name="i5" width="15" height="19" src="/adm/lonLCDfont/a.gif" /></a></td>
 <td><a href="javascript:defdis();" onMouseOver="defdis();"><img border="0"  name="i6" width="15" height="19" src="/adm/lonLCDfont/p.gif" /></a></td>  <td><a href="javascript:defdis();" onMouseOver="defdis();"><img border="0"  name="i6" width="15" height="19" src="/adm/lonLCDfont/p.gif" /></a></td>

Removed from v.1.78  
changed lines
  Added in v.1.81


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