--- loncom/auth/lonroles.pm 2014/05/22 14:17:53 1.306 +++ loncom/auth/lonroles.pm 2014/05/22 14:32:48 1.307 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # User Roles Screen # -# $Id: lonroles.pm,v 1.306 2014/05/22 14:17:53 raeburn Exp $ +# $Id: lonroles.pm,v 1.307 2014/05/22 14:32:48 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1482,10 +1482,17 @@ sub requestcourse_advice { if (@reqdoms == 1 || @showtypes > 0) { $requrl .= '&state=crstype&action=new'; } - $r->print('

'.&mt('Request creation of a course or community').'

'. - '

'.&mt('You have rights to request the creation of courses and/or communities in the following domain(s):').'

'.&mt('Use the [_1]request form[_2] to submit a request for creation of a new course or community.','','').'

'); + if ($output) { + $r->print('

'.&mt('Request creation of a course or community').'

'. + '

'. + &mt('You have rights to request the creation of courses and/or communities in the following domain(s):'). + '

'. + &mt('Use the [_1]request form[_2] to submit a request for creation of a new course or community.', + '',''). + '

'); + } } } elsif (!$env{'user.adv'}) { if ($inrole) {