--- loncom/auth/lonroles.pm 2002/11/25 16:05:56 1.46 +++ loncom/auth/lonroles.pm 2003/03/19 21:54:32 1.46.2.1 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # User Roles Screen # -# $Id: lonroles.pm,v 1.46 2002/11/25 16:05:56 matthew Exp $ +# $Id: lonroles.pm,v 1.46.2.1 2003/03/19 21:54:32 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -326,15 +326,20 @@ ENDHEADER } my $tcourseid=$tdom.'_'.$trest; if ($ENV{'course.'.$tcourseid.'.description'}) { - $twhere= -&Apache::loncommon::syllabuswrapper($ENV{'course.'.$tcourseid.'.description'}, -$trest,$tdom); + $twhere=$ENV{'course.'.$tcourseid.'.description'}; + unless ($twhere eq 'Currently not available') { + $twhere.=' '. + &Apache::loncommon::syllabuswrapper('Syllabus',$trest,$tdom,$tfont). + ''; + } } else { my %newhash=Apache::lonnet::coursedescription ($tcourseid); if (%newhash) { - $twhere= -&Apache::loncommon::syllabuswrapper($newhash{'description'},$trest,$tdom); + $twhere=$newhash{'description'}. + ' '. + &Apache::loncommon::syllabuswrapper('Syllabus',$trest,$tdom,$tfont). + ''; } else { $twhere='Currently not available'; $ENV{'course.'.$tcourseid.'.description'}=$twhere;