[LON-CAPA-cvs] cvs: loncom /auth lonroles.pm

raeburn raeburn at source.lon-capa.org
Sat Jun 1 22:21:43 EDT 2013


raeburn		Sun Jun  2 02:21:43 2013 EDT

  Modified files:              
    /loncom/auth	lonroles.pm 
  Log:
  - Non-advanced users select a course not a role.
  
  
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.286 loncom/auth/lonroles.pm:1.287
--- loncom/auth/lonroles.pm:1.286	Tue May 21 23:13:40 2013
+++ loncom/auth/lonroles.pm	Sun Jun  2 02:21:43 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # User Roles Screen
 #
-# $Id: lonroles.pm,v 1.286 2013/05/21 23:13:40 raeburn Exp $
+# $Id: lonroles.pm,v 1.287 2013/06/02 02:21:43 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -723,11 +723,13 @@
     my $crumbtext = 'User Roles';
     my $pagetitle = 'My Roles';
     my $recent = &mt('Recent Roles');
+    my $standby = &mt('Role selected. Please stand by.');
     my $show_course=&Apache::loncommon::show_course();
     if ($show_course) {
         $crumbtext = 'Courses';
         $pagetitle = 'My Courses';
         $recent = &mt('Recent Courses');
+        $standby = &mt('Course selected. Please stand by.'); 
     }
     my $brcrum =[{href=>"/adm/roles",text=>$crumbtext}];
 
@@ -737,7 +739,6 @@
     my $swinfo=&Apache::lonmenu::rawconfig();
     my $start_page=&Apache::loncommon::start_page($pagetitle,undef,{bread_crumbs=>$brcrum});
     my $funcs = &get_roles_functions($showcount);
-    my $standby=&mt('Role selected. Please stand by.');
     $standby=~s/\n/\\n/g;
     my $noscript='<br /><span class="LC_error">'.&mt('Use of LON-CAPA requires Javascript to be enabled in your web browser.').'<br />'.&mt('As this is not the case, most functionality in the system will be unavailable.').'</span><br />';
 




More information about the LON-CAPA-cvs mailing list