[LON-CAPA-cvs] cvs: loncom /auth lonroles.pm
bisitz
bisitz@source.lon-capa.org
Sun, 17 May 2009 23:34:05 -0000
bisitz Sun May 17 23:34:05 2009 EDT
Modified files:
/loncom/auth lonroles.pm
Log:
Don't use <h1> and <h3> to highlight error messages
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.220 loncom/auth/lonroles.pm:1.221
--- loncom/auth/lonroles.pm:1.220 Fri May 1 14:16:06 2009
+++ loncom/auth/lonroles.pm Sun May 17 23:34:05 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# User Roles Screen
#
-# $Id: lonroles.pm,v 1.220 2009/05/01 14:16:06 raeburn Exp $
+# $Id: lonroles.pm,v 1.221 2009/05/17 23:34:05 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -444,11 +444,12 @@
&Apache::lonnet::appenv(
{"request.course.id" => $cdom.'_'.$cnum});
$furl='/adm/roles?tryagain=1';
- $msg=
- '<h1><span class="LC_error">'.
- &mt('Could not initialize [_1] at this time.',
- $env{'course.'.$cdom.'_'.$cnum.'.description'}).
- '</span></h1><h3>'.&mt('Please try again.').'</h3>'.$ferr;
+ $msg='<p><span class="LC_error">'
+ .&mt('Could not initialize [_1] at this time.',
+ $env{'course.'.$cdom.'_'.$cnum.'.description'})
+ .'</span></p>'
+ .'<p>'.&mt('Please try again.').'</p>'
+ .'<p>'.$ferr.'</p>';
}
if (&Apache::lonnet::allowed('adv') eq 'F') { $tadv=1; }
&Apache::lonnet::appenv({'request.role.adv'=>$tadv});