version 1.20, 2006/07/07 13:43:20
|
version 1.22, 2006/07/11 15:37:59
|
Line 265 ENDSCRIPT
|
Line 265 ENDSCRIPT
|
} |
} |
$output .= &Apache::loncommon::start_data_table(); |
$output .= &Apache::loncommon::start_data_table(); |
if ($msgcount > 0) { |
if ($msgcount > 0) { |
my $rowNum = 0; |
|
$output .= &Apache::loncommon::start_data_table_header_row(). |
$output .= &Apache::loncommon::start_data_table_header_row(). |
'<th><a href="javascript:changeSort(\'date\')">Date</a></th>'. |
'<th><a href="javascript:changeSort(\'date\')">Date</a></th>'. |
'<th><a href="javascript:changeSort(\'subject\')">Subject</a></th>'. |
'<th><a href="javascript:changeSort(\'subject\')">Subject</a></th>'. |
Line 499 function goBack(target) {
|
Line 498 function goBack(target) {
|
my $coursefilter = $env{'form.coursepick'}; |
my $coursefilter = $env{'form.coursepick'}; |
my %courses = (); |
my %courses = (); |
if ($coursefilter eq 'all') { |
if ($coursefilter eq 'all') { |
%courses = &Apache::lonnet::courseiddump($cdom,'.','.','.','.','.'); |
%courses = &Apache::lonnet::courseiddump($cdom,'.','.','.','.','.', |
|
undef,undef,'Course'); |
} elsif ($coursefilter eq 'category') { |
} elsif ($coursefilter eq 'category') { |
my $instcode = ''; |
my $instcode = ''; |
my @cats = ('Semester','Year','Department','Number'); |
my @cats = ('Semester','Year','Department','Number'); |
Line 513 function goBack(target) {
|
Line 513 function goBack(target) {
|
if ($instcode eq '') { |
if ($instcode eq '') { |
$instcode = '.'; |
$instcode = '.'; |
} |
} |
%courses = &Apache::lonnet::courseiddump($cdom,'.','.',$instcode,'.','.'); |
%courses = &Apache::lonnet::courseiddump($cdom,'.','.',$instcode,'.','.', |
|
undef,undef,'Course'); |
} elsif ($coursefilter eq 'specific') { |
} elsif ($coursefilter eq 'specific') { |
if ($env{'form.coursetotal'} > 1) { |
if ($env{'form.coursetotal'} > 1) { |
my @course_ids = split(/&&/,$env{'form.courselist'}); |
my @course_ids = split(/&&/,$env{'form.courselist'}); |