Diff for /loncom/xml/lonxml.pm between versions 1.224 and 1.225

version 1.224, 2003/01/13 22:18:34 version 1.225, 2003/01/15 23:59:27
Line 408  sub registerurl { Line 408  sub registerurl {
     }      }
     if ($Apache::lonxml::registered && !$forcereg) { return ''; }      if ($Apache::lonxml::registered && !$forcereg) { return ''; }
     $Apache::lonxml::registered=1;      $Apache::lonxml::registered=1;
     my $nothing='';      my $reopen=&Apache::lonmenu::reopenmenu();
     if ($ENV{'browser.type'} eq 'explorer') { $nothing='javascript:void(0);'; }  
     my $newmail='';      my $newmail='';
     if (&Apache::lonmsg::newmail()) {       if (&Apache::lonmsg::newmail()) { 
        $newmail='menu.setstatus("you have","messages");';         $newmail='menu.setstatus("you have","messages");';
Line 499  ENDPARM Line 498  ENDPARM
 // BEGIN LON-CAPA Internal  // BEGIN LON-CAPA Internal
   
     function LONCAPAreg() {      function LONCAPAreg() {
   menu=window.open("$nothing","LONCAPAmenu","",false);    menu=$reopen;
           menu.clearTimeout(menu.menucltim);            menu.clearTimeout(menu.menucltim);
           $timesync            $timesync
           $newmail            $newmail
Line 510  ENDPARM Line 509  ENDPARM
           menu.currentStale=0;            menu.currentStale=0;
           menu.clearbut(3,1);            menu.clearbut(3,1);
           menu.switchbutton            menu.switchbutton
        (6,3,'catalog.gif','catalog','info','catalog_info()');         (6,3,'catalog.gif','catalog','info','catalog_info()','Show catalog information');
           menu.switchbutton            menu.switchbutton
        (8,1,'eval.gif','evaluate','this','gopost("/adm/evaluate",currentURL)','Provide my evaluation of this resource');         (8,1,'eval.gif','evaluate','this','gopost("/adm/evaluate",currentURL)','Provide my evaluation of this resource');
           menu.switchbutton            menu.switchbutton
Line 532  ENDPARM Line 531  ENDPARM
     }      }
   
     function LONCAPAstale() {      function LONCAPAstale() {
   menu=window.open("$nothing","LONCAPAmenu","",false);    menu=$reopen
           menu.currentStale=1;            menu.currentStale=1;
           if (menu.reloadURL!='' && menu.reloadURL!= null) {             if (menu.reloadURL!='' && menu.reloadURL!= null) { 
              menu.switchbutton               menu.switchbutton
Line 559  ENDREGTHIS Line 558  ENDREGTHIS
 // BEGIN LON-CAPA Internal  // BEGIN LON-CAPA Internal
   
     function LONCAPAreg() {      function LONCAPAreg() {
   menu=window.open("$nothing","LONCAPAmenu","",false);    menu=$reopen
           $timesync            $timesync
           menu.currentStale=1;            menu.currentStale=1;
           menu.clearbut(2,1);            menu.clearbut(2,1);

Removed from v.1.224  
changed lines
  Added in v.1.225


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