version 1.50, 2003/05/23 21:18:56
|
version 1.54, 2003/07/17 15:24:46
|
Line 107 sub success {
|
Line 107 sub success {
|
$FORM{'interface'}=$userenv{'interface'}; |
$FORM{'interface'}=$userenv{'interface'}; |
} |
} |
$ENV{'environment.remote'}=$userenv{'remote'}; |
$ENV{'environment.remote'}=$userenv{'remote'}; |
|
# --------------- Do not trust query string to be put directly into environment |
|
foreach ('imagesuppress','appletsuppress', |
|
'embedsuppress','fontenhance','blackwhite', |
|
'interface','localpath','localres') { |
|
$FORM{$_}=~s/[\n\r\=]//gs; |
|
} |
# --------------------------------------------------------- Write first profile |
# --------------------------------------------------------- Write first profile |
|
|
{ |
{ |
Line 126 sub success {
|
Line 132 sub success {
|
print $idf "browser.mathml=$clientmathml\n"; |
print $idf "browser.mathml=$clientmathml\n"; |
print $idf "browser.unicode=$clientunicode\n"; |
print $idf "browser.unicode=$clientunicode\n"; |
print $idf "browser.os=$clientos\n"; |
print $idf "browser.os=$clientos\n"; |
|
if ($FORM{'localpath'}) { |
|
print $idf "browser.localpath=$FORM{'localpath'}\n"; |
|
print $idf "browser.localres=$FORM{'localres'}\n"; |
|
} |
print $idf "request.course.fn=\n"; |
print $idf "request.course.fn=\n"; |
print $idf "request.course.uri=\n"; |
print $idf "request.course.uri=\n"; |
print $idf "request.course.sec=\n"; |
print $idf "request.course.sec=\n"; |
Line 172 sub success {
|
Line 182 sub success {
|
my $startupremote=&Apache::lonmenu::startupremote($lowerurl); |
my $startupremote=&Apache::lonmenu::startupremote($lowerurl); |
my $setflags=&Apache::lonmenu::setflags(); |
my $setflags=&Apache::lonmenu::setflags(); |
my $maincall=&Apache::lonmenu::maincall(); |
my $maincall=&Apache::lonmenu::maincall(); |
my $bodytag=&Apache::loncommon::bodytag('Successful Login',undef,' '); |
my $bodytag=&Apache::loncommon::bodytag('Successful Login'); |
# ------------------------------------------------- Output for successful login |
# ------------------------------------------------- Output for successful login |
|
|
$r->send_cgi_header(<<ENDHEADER); |
$r->send_cgi_header(<<ENDHEADER); |