version 1.19, 2013/08/17 00:34:29
|
version 1.21, 2013/11/23 20:40:57
|
Line 72 sub handler {
|
Line 72 sub handler {
|
|
|
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
if (!defined($group)) { |
if (!defined($group)) { |
$earlyout = &mt('No [_1] defined, so there are no [_1] discussion boards to display',$gpterm); |
$earlyout = &mt("No $gpterm defined, so there are no $gpterm discussion boards to display"); |
$r->print(&display_error($cdom,$cnum,$group,$description,$gpterm, |
$r->print(&display_error($cdom,$cnum,$group,$description,$gpterm, |
$ucgpterm,$bodytitle,$earlyout,$refarg)); |
$ucgpterm,$bodytitle,$earlyout,$refarg)); |
return OK; |
return OK; |
Line 96 sub handler {
|
Line 96 sub handler {
|
'/'.$group); |
'/'.$group); |
} |
} |
if (!$can_view) { |
if (!$can_view) { |
$earlyout=&mt('You do not have privileges to view discussion boards in this [_1]',$gpterm); |
$earlyout=&mt("You do not have privileges to view discussion boards in this $gpterm"); |
$r->print(&display_error($cdom,$cnum,$group,$description,$gpterm, |
$r->print(&display_error($cdom,$cnum,$group,$description,$gpterm, |
$ucgpterm,$bodytitle,$earlyout,$refarg)); |
$ucgpterm,$bodytitle,$earlyout,$refarg)); |
return OK; |
return OK; |
Line 119 sub handler {
|
Line 119 sub handler {
|
'</a></td></tr></table>'); |
'</a></td></tr></table>'); |
if ($lockfreed ne 'ok') { |
if ($lockfreed ne 'ok') { |
$r->print(&mt('There was a problem removing a lockfile for the group ([_1]).',$description).'<br />'. |
$r->print(&mt('There was a problem removing a lockfile for the group ([_1]).',$description).'<br />'. |
&mt('This may prevent creation of additional bulletin boards in this group.').'<br />'. |
&mt('This may prevent creation of additional discussion boards in this group.').'<br />'. |
&mt('Please contact the [_1]helpdesk[_2] for assistance.', |
&mt('Please contact the [_1]helpdesk[_2] for assistance.', |
'<a href="/adm/helpdesk">','</a>') |
'<a href="/adm/helpdesk">','</a>') |
); |
); |