--- loncom/interface/lonannounce.pm 2008/09/25 01:39:29 1.72 +++ loncom/interface/lonannounce.pm 2008/10/13 15:33:02 1.73 @@ -1,7 +1,7 @@ # The LearningOnline Network # Announce # -# $Id: lonannounce.pm,v 1.72 2008/09/25 01:39:29 raeburn Exp $ +# $Id: lonannounce.pm,v 1.73 2008/10/13 15:33:02 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -54,13 +54,14 @@ sub editfield { 'enddate', $end); my $help=&Apache::loncommon::help_open_menu('Calendar Add Announcement','Calendar_Add_Announcement',274,'Communication Tools'); - my %lt=&Apache::lonlocal::texthash('post' => 'Post Announcement', + my %lt=&Apache::lonlocal::texthash('annon' => 'Course Announcements', + 'post' => 'Post Announcement', 'start' => 'Starting date', 'end' => 'Ending date', 'incrss' => 'Include in course RSS newsfeed'); $r->print(<$lt{'annon'} $help
@@ -567,27 +568,27 @@ ENDDOCUMENT } } } - $r->print(< -

Post Server Announcements

-Post announcements to the system login and roles screen
-(leave blank to delete announcement)
-
-Check machines:
-SERVERANNOUNCE + $r->print('' + .'

'.&mt('Post Server Announcements').'

' + .&mt('Post announcements to the system login and roles screen').'
' + .''.&mt('(leave blank to delete announcement)').'
' + .'
' + .&mt('Check machines:').'
' + ); # list servers my %hostname = &Apache::lonnet::all_hostnames(); foreach my $host (sort(keys(%hostname))) { if (&Apache::lonnet::allowed('psa', &Apache::lonnet::host_domain($host))) { - $r->print ('
$lt{'start'}:$startdateform