--- loncom/interface/lonwhatsnew.pm 2009/02/19 16:12:21 1.88
+++ loncom/interface/lonwhatsnew.pm 2009/06/30 14:02:33 1.94
@@ -1,5 +1,5 @@
#
-# $Id: lonwhatsnew.pm,v 1.88 2009/02/19 16:12:21 hauer Exp $
+# $Id: lonwhatsnew.pm,v 1.94 2009/06/30 14:02:33 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -99,7 +99,7 @@ sub handler {
&Apache::lonhtmlcommon::clear_breadcrumbs();
&Apache::lonhtmlcommon::add_breadcrumb
({href=>'/adm/whatsnew',
- text=>"Display Action Items"});
+ text=>"What's New?"});
if (($command eq 'chgthreshold') && $checkallowed{'abovethreshold'}) {
&Apache::lonhtmlcommon::add_breadcrumb
({href=>'/adm/whatsnew?command=chgthreshold&refpage='.$refpage,
@@ -267,7 +267,7 @@ END
';
}
my $course_type=&Apache::loncommon::course_type();
- return &Apache::loncommon::start_page($course_type.' Action Items',
+ return &Apache::loncommon::start_page("What's New?",
$scripttag);
}
@@ -383,7 +383,7 @@ sub display_actions_box {
}
if ($result) {
- $r->print($result.'
');
+ $r->print($result.'
');
}
$r->rflush();
@@ -683,7 +683,7 @@ function toggle_countunread(choice) {
$r->print('
'
.&mt('Choose whether or not to display a count of the number of new posts for each resource or discussion board which has unread posts.')
.'
'
- .&mt("This can increase the time taken to gather data for the 'What's New Page' by a few seconds.")
+ .&mt("This can increase the time taken to gather data for the [_1]What's New Page[_2] by a few seconds.",'','')
.' '
.&mt('Currently set to [_1].',''.$current.'.')
);
@@ -725,7 +725,7 @@ sub courseinit_config {
'anis' => 'and is set to display',
'padc' => 'Page display controlled by',
'chce' => 'Choose '.$lctype.' entry',
- 'moce' => 'Modify '.$lctype.' entry',
+ 'moce' => 'Save',
);
$r->print(<<"END");
$lt{'chwp'}
@@ -1161,9 +1161,9 @@ sub getnormalmail {
if (($fromcid) && ($fromcid eq $env{'request.course.id'})) {
if (defined($sendtime) && $sendtime!~/error/) {
my $numsendtime = $sendtime;
- $sendtime = &Apache::lonlocal::locallocaltime($sendtime);
if ($status eq 'new') {
- $msgcount ++;
+ $sendtime = &Apache::lonlocal::locallocaltime($sendtime);
+ $msgcount ++;
if ($shortsubj eq '') {
$shortsubj = &mt('No subject');
}