--- loncom/interface/lonfeedback.pm 2011/12/10 23:16:36 1.308 +++ loncom/interface/lonfeedback.pm 2011/12/11 19:17:54 1.309 @@ -1,7 +1,7 @@ # The LearningOnline Network # Feedback # -# $Id: lonfeedback.pm,v 1.308 2011/12/10 23:16:36 www Exp $ +# $Id: lonfeedback.pm,v 1.309 2011/12/11 19:17:54 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1724,10 +1724,13 @@ END } $quote='
'.&Apache::lontexconvert::msgtexconverted($quote).'
'; } - + my $header=''; + unless ($env{'form.modal'}) { + $header="

$restitle

"; + } $r->print(<$restitle +$header
$prevtag @@ -1745,7 +1748,7 @@ END END } $r->print(< +$options $quote

$lt{'myqu'} $textareaheader @@ -2692,16 +2695,16 @@ sub screen_header { } } if ($msgoptions) { - $msgoptions='

' - .' '.&mt('Send Feedback').'

'.&Apache::lonhtmlcommon::coursepreflink(&mt('Feedback Settings'),'feedback').'

' - .$msgoptions; + $msgoptions='' + .'
'.&mt('Send Feedback').'
'.&Apache::lonhtmlcommon::coursepreflink(&mt('Feedback Settings'),'feedback').''. + ''.$msgoptions.''; } if ($discussoptions) { - $discussoptions='

' - .' '.&mt('Discussion Contributions').'

'.&Apache::lonhtmlcommon::coursepreflink(&mt('Discussion Settings'),'discussion').'

' - .$discussoptions; + $discussoptions='' + .'
'.&mt('Discussion Contributions').'
'.&Apache::lonhtmlcommon::coursepreflink(&mt('Discussion Settings'),'discussion').''. + ''.$discussoptions.''; } - return $msgoptions.$discussoptions; + return &Apache::loncommon::start_data_table().$msgoptions.$discussoptions.&Apache::loncommon::end_data_table(); } sub resource_output {