version 1.95, 2008/11/04 06:22:53
|
version 1.96, 2008/11/17 17:19:52
|
Line 559 sub disgroup {
|
Line 559 sub disgroup {
|
my $result; |
my $result; |
# Needs to be in a course |
# Needs to be in a course |
if (!($env{'request.course.fn'})) { |
if (!($env{'request.course.fn'})) { |
$result = &mt('Error: you must have a course role selected to be able to send a broadcast message to a group in the course.'); |
$result = &mt('Error: you must have a course role selected to be able to send a broadcast |
|
e-mail to a group in the course.'); |
return $result; |
return $result; |
} |
} |
if ($cdom eq '' || $cnum eq '') { |
if ($cdom eq '' || $cnum eq '') { |
Line 717 sub groupmail_header {
|
Line 718 sub groupmail_header {
|
{href=>"/adm/email?compose=group&group=". |
{href=>"/adm/email?compose=group&group=". |
"$env{'form.group'}&$refarg", |
"$env{'form.group'}&$refarg", |
text=>"Send a Message in a Group", |
text=>"Send a Message in a Group", |
title=>"Compose Group Email Message"},); |
title=>"Compose Group E-mail"},); |
if ($action eq 'sending') { |
if ($action eq 'sending') { |
&Apache::lonhtmlcommon::add_breadcrumb |
&Apache::lonhtmlcommon::add_breadcrumb |
({text=>"Messages being sent.", |
({text=>"E-mails being sent.", |
title=>"Messages sent"},); |
title=>"E-mails sent"},); |
} |
} |
my $groupheader = &Apache::loncommon::start_page('Group Email'); |
my $groupheader = &Apache::loncommon::start_page('Group Email'); |
$groupheader .= &Apache::lonhtmlcommon::breadcrumbs |
$groupheader .= &Apache::lonhtmlcommon::breadcrumbs |
Line 1570 $sendmode
|
Line 1571 $sendmode
|
$dispcrit |
$dispcrit |
$disbase |
$disbase |
ENDCOMP |
ENDCOMP |
$r->print(&submit_button_row($folder,$dismode,&mt($func1.' '.$func2{'ma'}), |
$r->print(&submit_button_row($folder,$dismode,&mt($func1), |
\%lt,$hasfloat,$group)); |
\%lt,$hasfloat,$group)); |
$r->print($citation); |
$r->print($citation); |
if (exists($env{'form.ref'})) { |
if (exists($env{'form.ref'})) { |