--- loncom/interface/groupboards.pm 2009/02/13 17:20:29 1.14
+++ loncom/interface/groupboards.pm 2013/07/15 14:32:45 1.17
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Group Bulletin Boards Manager
#
-# $Id: groupboards.pm,v 1.14 2009/02/13 17:20:29 bisitz Exp $
+# $Id: groupboards.pm,v 1.17 2013/07/15 14:32:45 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -105,7 +105,7 @@ sub handler {
if (($can_create) || (&Apache::lonnet::allowed('mdg',$env{'request.course.id'}))) {
$r->print(&boards_header($cdom,$cnum,$group,$description,$gpterm,
$ucgpterm,$bodytitle,$refarg));
- my ($outcome,$newurl,$bbtitle,$dellockoutcome) =
+ my ($outcome,$newurl,$bbtitle,$lockfreed) =
&create_board($cdom,$cnum,$group,$env{'form.newbul'});
if ($outcome eq 'ok') {
my ($furl,$ferr)= &Apache::lonuserstate::readmap($cdom.'/'.$cnum);
@@ -117,8 +117,10 @@ sub handler {
''.&mt('View all group discussion boards').
'');
- if ($dellockoutcome ne 'ok') {
- $r->print(&mt('There was a problem removing a lockfile for the group ([_1]). This may prevent creation of additional bulletin boards in this group. Please contact the system administrator for your LON-CAPA domain.'));
+ if ($lockfreed ne 'ok') {
+ $r->print(&mt('There was a problem removing a lockfile for the group ([_1]).',$description).'
'.
+ &mt('This may prevent creation of additional bulletin boards in this group.').'
'.
+ &mt('Please contact the domain coordinator for your LON-CAPA domain.'));
}
} else {
$r->print(&mt('There was a problem creating the new discussion board - [_1]',''.$outcome.'').'
'.
@@ -150,7 +152,7 @@ function makebulboard() {
$r->print('