version 1.81, 2010/02/13 16:47:38
|
version 1.83, 2012/02/22 18:38:29
|
Line 62 sub editfield {
|
Line 62 sub editfield {
|
'end' => 'Ending date', |
'end' => 'Ending date', |
'incrss' => 'Include in course RSS newsfeed'); |
'incrss' => 'Include in course RSS newsfeed'); |
if ($crstype eq 'Community') { |
if ($crstype eq 'Community') { |
$lt{'anon'} = &mt('Community Announcements'); |
$lt{'annon'} = &mt('Community Announcements'); |
$lt{'incrss'} = &mt('Include in community RSS newsfeed'); |
$lt{'incrss'} = &mt('Include in community RSS newsfeed'); |
} |
} |
|
|
Line 571 ENDDOCUMENT
|
Line 571 ENDDOCUMENT
|
if ($serverpost) { |
if ($serverpost) { |
if ($env{'form.serveraction'}) { |
if ($env{'form.serveraction'}) { |
foreach my $key (keys(%env)) { |
foreach my $key (keys(%env)) { |
if ($key=~/^form\.postto\_(\w+)/) { |
if ($key=~/^form\.postto\_(\w+[\w|-]*)/) { |
$r->print( |
$r->print( |
'<br />Posting '.$1.': '.&Apache::lonnet::postannounce |
'<br />Posting '.$1.': '.&Apache::lonnet::postannounce |
($1,$env{'form.serverannnounce'})); |
($1,$env{'form.serverannnounce'})); |