--- loncom/homework/inputtags.pm 2005/02/18 05:41:31 1.157 +++ loncom/homework/inputtags.pm 2005/03/15 16:50:19 1.159 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.157 2005/02/18 05:41:31 albertel Exp $ +# $Id: inputtags.pm,v 1.159 2005/03/15 16:50:19 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -226,6 +226,8 @@ sub start_textline { $safeeval); if (lc($readonly) eq 'yes') { $readonly=' readonly="readonly" '; + } else { + $readonly=''; } $result.= ''; @@ -427,7 +429,7 @@ sub decideoutput { } elsif ($award eq 'MISORDERED_RANK') { $message = &mt('You have provided an invalid ranking'); if ($target ne 'tex') { - $message.=', '.&mt('please refer to').' '.&Apache::loncommon::help_open_topic('Ranking_Problems','help on ranking problems').'.'; + $message.=', '.&mt('please refer to').' '.&Apache::loncommon::help_open_topic('Ranking_Problems','help on ranking problems'); } $bgcolor=$possiblecolors{'not_charged_try'}; $button=1;