--- loncom/interface/lonnotify.pm 2006/07/07 13:43:20 1.20
+++ loncom/interface/lonnotify.pm 2006/07/29 00:48:21 1.23
@@ -265,7 +265,6 @@ ENDSCRIPT
}
$output .= &Apache::loncommon::start_data_table();
if ($msgcount > 0) {
- my $rowNum = 0;
$output .= &Apache::loncommon::start_data_table_header_row().
'
Date | '.
'Subject | '.
@@ -499,7 +498,8 @@ function goBack(target) {
my $coursefilter = $env{'form.coursepick'};
my %courses = ();
if ($coursefilter eq 'all') {
- %courses = &Apache::lonnet::courseiddump($cdom,'.','.','.','.','.');
+ %courses = &Apache::lonnet::courseiddump($cdom,'.','.','.','.','.',
+ undef,undef,'Course');
} elsif ($coursefilter eq 'category') {
my $instcode = '';
my @cats = ('Semester','Year','Department','Number');
@@ -513,7 +513,8 @@ function goBack(target) {
if ($instcode eq '') {
$instcode = '.';
}
- %courses = &Apache::lonnet::courseiddump($cdom,'.','.',$instcode,'.','.');
+ %courses = &Apache::lonnet::courseiddump($cdom,'.','.',$instcode,'.','.',
+ undef,undef,'Course');
} elsif ($coursefilter eq 'specific') {
if ($env{'form.coursetotal'} > 1) {
my @course_ids = split(/&&/,$env{'form.courselist'});
@@ -606,14 +607,14 @@ function goBack(target) {
$output .= &Apache::loncommon::start_data_table();
if (keys(%recipients) > 0) {
$output .= &Apache::loncommon::start_data_table_header_row();
- $output .= ' | username:domain | | '.$lt{'emad'}.' | ';
+ $output .= ' | username:domain | '.$lt{'emad'}.' | ';
$output .= &Apache::loncommon::end_data_table_header_row();
}
foreach my $username (sort(keys(%recipients))) {
$output .= &Apache::loncommon::start_data_table_row();
if ($recipients{$username} =~ /\@/) {
my $value=&escape($username).':'.&escape($recipients{$username});
- $output .= ' | '.$username.' | | '.$recipients{$username}.' | ';
+ $output .= ' | '.$username.' | '.$recipients{$username}.' | ';
}
$output .= &Apache::loncommon::end_data_table_row();
}