--- loncom/interface/groupboards.pm 2007/05/02 01:33:48 1.11
+++ loncom/interface/groupboards.pm 2009/02/02 14:31:58 1.13
@@ -59,7 +59,7 @@ sub handler {
my $gpterm = &Apache::loncommon::group_term();
my $ucgpterm = $gpterm;
$ucgpterm =~ s/^(\w)/uc($1)/e;
- my $bodytitle = $crstype.' Discussion Boards';
+ my $bodytitle = $ucgpterm.' Discussion Boards';
my $group = $env{'form.group'};
$group =~ s/\W//g;
my ($description,$earlyout,$refarg);
@@ -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;