version 1.14, 2003/09/29 16:09:21
|
version 1.16, 2004/09/18 16:32:17
|
Line 54 sub handler {
|
Line 54 sub handler {
|
['wrapperdisplay']); |
['wrapperdisplay']); |
my $orgurl=$r->uri; |
my $orgurl=$r->uri; |
my $url=$orgurl; |
my $url=$orgurl; |
|
$orgurl.=(($orgurl=~/\?/)?'&':'?').$ENV{'QUERY_STRING'}; |
|
$orgurl.=(($orgurl=~/\?/)?'&':'?').'wrapperdisplay=menu'; |
$url=~s/^\/adm\/wrapper//; |
$url=~s/^\/adm\/wrapper//; |
$url=~s/^\/ext\//http\:\/\//; |
$url=~s/^\/ext\//http\:\/\//; |
|
$url=~s|:|:|g; |
if ($ENV{'form.wrapperdisplay'} eq 'menu') { |
if ($ENV{'form.wrapperdisplay'} eq 'menu') { |
# |
# |
# Producing the menu buttons |
# Producing the menu buttons |
Line 76 sub handler {
|
Line 79 sub handler {
|
# |
# |
# This is not homework |
# This is not homework |
# |
# |
if ($url=~/^\/uploaded\//) { |
|
$url=&Apache::lonnet::tokenwrapper($url); |
|
} |
|
$url.=(($url=~/\?/)?'&':'?').$ENV{'QUERY_STRING'}; |
$url.=(($url=~/\?/)?'&':'?').$ENV{'QUERY_STRING'}; |
# reappend the query arguments |
# reappend the query arguments |
my $events='onLoad="'.&Apache::lonmenu::loadevents. |
my $events='onLoad="'.&Apache::lonmenu::loadevents. |
Line 104 sub handler {
|
Line 104 sub handler {
|
$script |
$script |
</head> |
</head> |
<frameset rows="180,*" border=0 $events> |
<frameset rows="180,*" border=0 $events> |
<frame src="$orgurl?wrapperdisplay=menu"> |
<frame src="$orgurl"> |
<frame src="$url"> |
<frame src="$url"> |
</frameset> |
</frameset> |
</html> |
</html> |