--- loncom/auth/lonroles.pm 2005/06/05 07:57:28 1.121 +++ loncom/auth/lonroles.pm 2005/06/16 22:25:34 1.124 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # User Roles Screen # -# $Id: lonroles.pm,v 1.121 2005/06/05 07:57:28 albertel Exp $ +# $Id: lonroles.pm,v 1.124 2005/06/16 22:25:34 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -260,12 +260,19 @@ ENDENTERKEY if ($role eq 'cc' && $env{'course.' . $courseid . '.course.helper.not.run'}) { $furl = "/adm/helper/course.initialization.helper"; + # Send the user to the course they selected + } elsif (($env{'request.course.fn'}) + && ($role eq 'cc' && ($env{'environment.course_init_display'} ne 'firstres'))) { + $msg = &mt('Entering course ....'); + &redirect_user($r,&mt('New in course'), + '/adm/whatsnew',$msg, + $env{'environment.remotenavmap'}); + return OK; } - # Send the user to the course they selected - &redirect_user($r,&mt('Entering Course'), + &redirect_user($r,&mt('Entering Course'), $furl,$msg, $env{'environment.remotenavmap'}); - return OK; + return OK; } } #