--- loncom/interface/groupboards.pm 2006/11/02 21:06:06 1.10
+++ loncom/interface/groupboards.pm 2009/01/28 14:09:54 1.12
@@ -155,7 +155,12 @@ function makebulboard() {
"\n".'
');
}
if (@{$groupboards} > 0) {
- $r->print('
');
+ $r->print('
'
+ .&Apache::loncommon::start_data_table()
+ .&Apache::loncommon::start_data_table_header_row()
+ .'
' + .&mt('There are currently no discussion boards in this '.$gpterm.'.',) + .'
' + ); } $r->print(&Apache::loncommon::end_page()); return OK; @@ -207,7 +220,7 @@ sub create_board { my $putresult = &Apache::lonnet::put('nohist_groupboards',\%new_board, $cdom,$cnum); if ($putresult ne 'ok') { - $outcome = 'error storing new board: '.$putresult; + $outcome = 'error saving new board: '.$putresult; } else { $newurl = '/adm/'.$cdom.'/'.$cnum.'/'.$boardid. '/bulletinboard'; @@ -238,7 +251,7 @@ sub create_board { push(@LONCAPA::map::order,$newidx); my ($errtext,$fatal)=&LONCAPA::map::storemap($allbbsmap,1); if ($fatal) { - $outcome = "error: failed to store discussion boards map - $errtext\n"; + $outcome = "error: failed to save discussion boards map - $errtext\n"; } else { my %boardinfo = ( 'group' => $group,