--- loncom/interface/loncommon.pm 2011/11/08 02:27:47 1.948.2.33 +++ loncom/interface/loncommon.pm 2012/03/03 03:07:23 1.948.2.33.2.2 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.948.2.33 2011/11/08 02:27:47 raeburn Exp $ +# $Id: loncommon.pm,v 1.948.2.33.2.2 2012/03/03 03:07:23 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -6780,6 +6780,7 @@ ADDMETA if (!$args->{'no_auto_mt_title'}) { $title = &mt($title); } $result .= ' LON-CAPA '.$title.'' .'' + .&printstyle() .$head_extra; return $result; } @@ -6803,6 +6804,21 @@ sub font_settings { return $headerstring; } +sub printstyle { + return <<"ENDSTYLE"; + +ENDSTYLE + +} + =pod =item * &xml_begin() @@ -8002,9 +8018,9 @@ sub user_picker { ); $new_user_create = '

' .&mt("You are not authorized to create new $usertypetext{$usertype} users in this domain.") - .' ' - .&mt('Please contact the [_1]helpdesk[_2] for assistance.' - ,'','') + .'
' + .&mt('Enter a valid e-mail address as the username for the new user.').' '.&mt('Please contact the [_1]helpdesk[_2] for assistance.' + ,'','') .'


'; } }