--- loncom/interface/lonfeedback.pm 2009/03/18 02:44:33 1.255.2.4
+++ loncom/interface/lonfeedback.pm 2009/03/18 02:50:49 1.255.2.7
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Feedback
#
-# $Id: lonfeedback.pm,v 1.255.2.4 2009/03/18 02:44:33 raeburn Exp $
+# $Id: lonfeedback.pm,v 1.255.2.7 2009/03/18 02:50:49 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1795,7 +1795,7 @@ sub print_display_options {
'actn' => 'Action',
'deff' => 'Default for all discussions',
'prca' => 'Preferences can be set for this discussion that determine ....',
- 'whpo' => 'Which posts are displayed when you display this bulletin board or resource, and',
+ 'whpo' => 'Which posts are displayed when you display this discussion board or resource, and',
'unwh' => 'Under what circumstances posts are identified as "NEW", and',
'wipa' => 'Whether individual posts can be marked as read/unread',
'allposts' => 'All posts',
@@ -1960,7 +1960,7 @@ END
$lt{$disctogg}
END
- my $save = &mt('Save Changes');
+ my $save = &mt('Save');
$r->print(&Apache::loncommon::end_data_table_row());
$r->print(&Apache::loncommon::end_data_table());
$r->print(<print($start_page.'
'.
- ''.&mt('Subject').': '.$subject.'
'.
- $message.'
'.$end_page);
+ $r->print($start_page
+ .'
'.&mt('Preview').'
'
+ .&Apache::lonhtmlcommon::start_pick_box()
+ .&Apache::lonhtmlcommon::row_title(&mt('Subject'))
+ .$subject
+ .&Apache::lonhtmlcommon::row_closure()
+ .&Apache::lonhtmlcommon::row_title(&mt('Message'))
+ .$message
+ .&Apache::lonhtmlcommon::row_closure(1)
+ .&Apache::lonhtmlcommon::end_pick_box()
+ .$end_page
+ );
}
@@ -3435,7 +3444,7 @@ sub handler {
my %lt = &Apache::lonlocal::texthash(
'mnpa' => 'Marked "New" posts as read in a total of',
'robb' => 'resources/bulletin boards.',
- 'twnp' => 'There are currently no resources or bulletin boards with unread discussion postings.'
+ 'twnp' => 'There are currently no resources or discussion boards with unread discussion postings.'
);
foreach my $res (@resources) {
my $ressymb=$res;
@@ -3581,7 +3590,7 @@ ENDREDIR
&Apache::lonnet::appenv({'environment.threadeddiscussion' => 'on'});
} else {
&Apache::lonnet::del('environment',['threadeddiscussion']);
- &Apache::lonnet::delenv('environment\.threadeddiscussion');
+ &Apache::lonnet::delenv('environment.threadeddiscussion');
}
&redirect_back($r,$feedurl,&mt('Changed discussion view mode').' ',
'0','0','','',$env{'form.previous'},undef,undef,undef,