--- loncom/auth/lonroles.pm 2009/06/12 09:19:21 1.227 +++ loncom/auth/lonroles.pm 2009/08/14 12:41:34 1.231.4.2 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # User Roles Screen # -# $Id: lonroles.pm,v 1.227 2009/06/12 09:19:21 bisitz Exp $ +# $Id: lonroles.pm,v 1.231.4.2 2009/08/14 12:41:34 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -157,8 +157,9 @@ sub redirect_user { } else { $navwindow.=&Apache::lonnavmaps::close(); } + my $start_page = &Apache::loncommon::start_page('Switching Role',undef, - {'redirect' => [1,$url],}); + {'redirect' => [1,$url]}); my $end_page = &Apache::loncommon::end_page(); # Note to style police: @@ -191,9 +192,10 @@ sub error_page { '// ]]>'. ''. '
'.&mt('The following problems occurred:').
+ '
'.
$error.
'
'
- .&mt('This is LON-CAPA [_1]',$r->dir_config('lonVersion'))
- .'
'
- .''.&mt('Logout').' '
+ $r->print('
'
+ .&mt('This LON-CAPA server is version [_1]',$r->dir_config('lonVersion'))
+ .'
'
+ .''.&mt('Logout').' '
.''
.&mt('Course Catalog')
.'