version 1.62, 2008/09/15 13:22:48
|
version 1.64, 2009/03/13 11:45:27
|
Line 314 END
|
Line 314 END
|
'cs' => 'Continue Search', |
'cs' => 'Continue Search', |
'fi' => 'Finish Import', |
'fi' => 'Finish Import', |
're' => 'Recover Checked', |
're' => 'Recover Checked', |
|
'ip' => 'Import Checked', |
'ca' => 'Cancel', |
'ca' => 'Cancel', |
'co' => 'Change Order', |
'co' => 'Change Order', |
'ti' => 'Title', |
'ti' => 'Title', |
'pa' => 'Path', |
'pa' => 'Path', |
'in' => 'Include' |
'in' => 'Include' |
); |
); |
my $title = ($env{'form.recover'}) ? 'Recover Removed Resources' |
my $title = ''; |
: 'Sort Imported Resources'; |
if ($env{'form.recover'}) { |
|
$title = 'Recover Removed Resources'; |
|
} else { |
|
$title = 'Sort Imported Resources'; |
|
} |
|
if ($env{'form.bookmarks'}) { |
|
$title = 'Import Resources from Bookmarks'; |
|
} |
|
|
$r->print(&Apache::loncommon::start_page($title, $js)); |
$r->print(&Apache::loncommon::start_page($title, $js)); |
|
|
$r->print(<<END); |
$r->print(<<END); |
Line 368 END
|
Line 377 END
|
if (($env{'form.readfile'}) || ($env{'form.bookmarks'})) { |
if (($env{'form.readfile'}) || ($env{'form.bookmarks'})) { |
$r->print("<th>$lt{'in'}</th>\n"); |
$r->print("<th>$lt{'in'}</th>\n"); |
} else { |
} else { |
$r->print("<th colspan='2'>$lt{'co'}</th>\n"); |
$r->print('<th colspan="2">'.$lt{'co'}.'</th>'."\n"); |
} |
} |
$r->print("<th colspan='2'>$lt{'ti'}</th>\n"); |
$r->print('<th colspan="2">'.$lt{'ti'}.'</th>'."\n"); |
$r->print("<th>$lt{'pa'}</th>"); |
$r->print("<th>$lt{'pa'}</th>"); |
$r->print(&Apache::loncommon::end_data_table_header_row() |
$r->print(&Apache::loncommon::end_data_table_header_row() |
."\n"); |
."\n"); |
Line 495 sub checkbox {
|
Line 504 sub checkbox {
|
1; |
1; |
|
|
__END__ |
__END__ |
|
|
|
=pod |
|
|
|
=head1 NAME |
|
|
|
Apache::groupsort.pm |
|
|
|
=head1 SYNOPSIS |
|
|
|
Implements a second phase of importing |
|
multiple resources into the RAT. Allows for |
|
reordering the sequence of resources |
|
|
|
This is part of the LearningOnline Network with CAPA project |
|
described at http://www.lon-capa.org. |
|
|
|
|
|
=head1 NOTABLE SUBROUTINES |
|
|
|
=over |
|
|
|
=item |
|
|
|
=back |
|
|
|
=cut |
|
|