Diff for /loncom/interface/lonmenu.pm between versions 1.369.2.84 and 1.369.2.86

version 1.369.2.84, 2024/07/02 18:35:28 version 1.369.2.86, 2024/10/06 00:30:26
Line 1004  ENDMENUITEMS Line 1004  ENDMENUITEMS
 # accessed in a different way, when Authoring Space is accessed in course  # accessed in a different way, when Authoring Space is accessed in course
 # context  # context
 #  #
             if ($env{'request.role'} !~/^(aa|ca|au)/) {              if (($env{'request.role'} !~/^(aa|ca|au)/) || (!$noremote)) {
                 my $privfile = &Apache::loncommon::escape_single("/priv/$udom/$uname/$thisdisfn");                  my $privfile = &Apache::loncommon::escape_single("/priv/$udom/$uname/$thisdisfn");
                 $menuitems .= (<<ENDMENUITEMS);                  $menuitems .= (<<ENDMENUITEMS);
 s&7&5&editops.png&Options&edit[_1]&gocstr('/adm/preferences?action=authorsettings','$privfile')&Authoring Space Options  s&7&5&editops.png&Options&edit[_1]&gocstr('/adm/preferences?action=authorsettings','$privfile')&Authoring Space Options
Line 1197  ENDMENUITEMS Line 1197  ENDMENUITEMS
                     &switch('','',@rest);                      &switch('','',@rest);
                 }                  }
                 &Apache::lonhtmlcommon::add_breadcrumb_tool('advtools',                  &Apache::lonhtmlcommon::add_breadcrumb_tool('advtools',
                                                             @inlineremote[63,61,71,72]);                                                              @inlineremote[63,74,61,71,72,75]);
   
                 $cstrcrumbs = &Apache::lonhtmlcommon::scripttag('', 'start')                  $cstrcrumbs = &Apache::lonhtmlcommon::scripttag('', 'start')
                              .&Apache::lonhtmlcommon::breadcrumbs(undef,undef,0)                               .&Apache::lonhtmlcommon::breadcrumbs(undef,undef,0)
Line 2689  sub roles_selector { Line 2689  sub roles_selector {
             }              }
         }          }
         if (@submenu > 0) {          if (@submenu > 0) {
             $switcher = &create_submenu('','',&mt('Switch role'),\@submenu);              $switcher = &create_submenu('#','',&mt('Switch role'),\@submenu);
         }          }
     }      }
     return ($js,$form,$switcher);      return ($js,$form,$switcher);

Removed from v.1.369.2.84  
changed lines
  Added in v.1.369.2.86


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