--- loncom/interface/lonbulletin.pm 2010/01/31 06:03:55 1.58
+++ loncom/interface/lonbulletin.pm 2010/06/05 22:07:05 1.60
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Bulletin Board Handler
#
-# $Id: lonbulletin.pm,v 1.58 2010/01/31 06:03:55 faziophi Exp $
+# $Id: lonbulletin.pm,v 1.60 2010/06/05 22:07:05 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -184,6 +184,9 @@ sub handler {
if (($group ne '') && ($env{'form.group'} eq $group)) {
$query_str.='&group='.$group.'&'.$refarg;
}
+ if ($env{'form.register'}) {
+ $query_str .= '®ister='.$env{'form.register'};
+ }
#Function Box for Edit Mode.
my $functionbox = &Apache::lonhtmlcommon::start_funclist();
$functionbox .= &Apache::lonhtmlcommon::add_item_funclist(
@@ -196,6 +199,9 @@ sub handler {
if (($group ne '') && ($env{'form.group'} eq $group)) {
$query_str.='&group='.$group.'&'.$refarg;
}
+ if ($env{'form.register'}) {
+ $query_str .= '®ister='.$env{'form.register'};
+ }
#Functionbox for Student view.
my $functionbox = &Apache::lonhtmlcommon::start_funclist();
$functionbox .= &Apache::lonhtmlcommon::add_item_funclist(
@@ -292,7 +298,9 @@ sub handler {
$r->print(&Apache::lonxml::xmlparse($r,'tex','
'.&mt('No page information provided.').'
'); + if ($target ne 'tex') { + $r->print(''.&mt('No page information provided.').'
'); + } } #Lists discussion posts and box for a new discussion post. if ($target ne 'tex') {