--- loncom/interface/lonfeedback.pm 2007/02/23 00:39:31 1.242 +++ loncom/interface/lonfeedback.pm 2007/02/27 20:35:22 1.243 @@ -1,7 +1,7 @@ # The LearningOnline Network # Feedback # -# $Id: lonfeedback.pm,v 1.242 2007/02/23 00:39:31 albertel Exp $ +# $Id: lonfeedback.pm,v 1.243 2007/02/27 20:35:22 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2559,21 +2559,25 @@ sub screen_header { '
'; } + my %optionhash=(); + foreach my $type ('question','comment','policy') { + $optionhash{$type}=$env{'course.'.$env{'request.course.id'}.'.'.$type.'.email.text'}; + } if (&feedback_available(1)) { $msgoptions.= ''; + ($optionhash{'question'}?$optionhash{'question'}:&mt('Question about resource content')).''; } if (&feedback_available(0,1)) { $msgoptions.= ''; } if (&feedback_available(0,0,1)) { $msgoptions.= ''; } }