Diff for /loncom/interface/lonmenu.pm between versions 1.315.2.13 and 1.315.2.15

version 1.315.2.13, 2011/10/03 14:30:03 version 1.315.2.15, 2011/11/30 18:34:25
Line 2077  sub jump_to_role { Line 2077  sub jump_to_role {
                 orlb => 'Enter a specific section, or leave blank for no section.',                  orlb => 'Enter a specific section, or leave blank for no section.',
                 avai => 'Available sections are:',                  avai => 'Available sections are:',
                 youe => 'You entered an invalid section choice:',                  youe => 'You entered an invalid section choice:',
                 plst => 'Please try again',                  plst => 'Please try again.',
                 role => 'The role you selected is not permitted to view the current page.',                  role => 'The role you selected is not permitted to view the current page.',
                 swit => 'Switch role, but display Main Menu page instead?',                  swit => 'Switch role, but display Main Menu page instead?',
     );      );
Line 2234  sub required_privs { Line 2234  sub required_privs {
              '/adm/statistics'   => 'vgr',               '/adm/statistics'   => 'vgr',
            };             };
     unless ($env{'course.'.$env{'request.course.id'}.'.grading'} eq 'spreadsheet') {      unless ($env{'course.'.$env{'request.course.id'}.'.grading'} eq 'spreadsheet') {
         $privs->{'/adm/classcalc'}   => 'vgr',          $privs->{'/adm/classcalc'}   = 'vgr',
         $privs->{'/adm/assesscalc'}  => 'vgr',          $privs->{'/adm/assesscalc'}  = 'vgr',
         $privs->{'/adm/studentcalc'} => 'vgr';          $privs->{'/adm/studentcalc'} = 'vgr';
     }      }
     return $privs;      return $privs;
 }  }

Removed from v.1.315.2.13  
changed lines
  Added in v.1.315.2.15


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