version 1.28.2.1, 2008/12/21 04:49:58
|
version 1.32.2.1, 2010/02/11 15:10:01
|
Line 26
|
Line 26
|
# http://www.lon-capa.org/ |
# http://www.lon-capa.org/ |
# |
# |
|
|
|
|
package Apache::lonwrapper; |
package Apache::lonwrapper; |
|
|
use strict; |
use strict; |
Line 144 sub handler {
|
Line 145 sub handler {
|
# |
# |
if ($is_ext) { |
if ($is_ext) { |
$ENV{'QUERY_STRING'}=~s/(^|\&)symb=[^\&]*/$1/; |
$ENV{'QUERY_STRING'}=~s/(^|\&)symb=[^\&]*/$1/; |
|
$ENV{'QUERY_STRING'} =~ s/\&$//; |
} |
} |
$url.=(($url=~/\?/)?'&':'?').$ENV{'QUERY_STRING'}; |
$url.=(($url=~/\?/)?'&':'?').$ENV{'QUERY_STRING'}; |
# reappend the query arguments |
# reappend the query arguments |
Line 155 sub handler {
|
Line 157 sub handler {
|
1; |
1; |
__END__ |
__END__ |
|
|
|
=pod |
|
|
|
=head1 NAME |
|
|
|
Apache::lonwrapper - External and binary file management. |
|
|
|
=head1 SYNOPSIS |
|
|
|
Wrapper for external and binary files as standalone resources. Edit handler for rat maps; TeX content handler. |
|
|
|
This is part of the LearningOnline Network with CAPA project |
|
described at http://www.lon-capa.org. |
|
|
|
=head1 Subroutines |
|
|
|
=over |
|
|
|
=item simple_menu() |
|
|
|
=item wrapper() |
|
|
|
=item handler() |
|
|
|
=back |
|
|
|
=cut |
|
|
|
|
|
|
|
|