--- loncom/auth/lonauth.pm 2012/04/11 11:40:07 1.121
+++ loncom/auth/lonauth.pm 2012/08/06 23:14:04 1.121.2.1
@@ -1,7 +1,7 @@
# The LearningOnline Network
# User Authentication Module
#
-# $Id: lonauth.pm,v 1.121 2012/04/11 11:40:07 goltermann Exp $
+# $Id: lonauth.pm,v 1.121.2.1 2012/08/06 23:14:04 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -120,16 +120,23 @@ sub success {
$destination .= 'source=login';
}
- my $windowinfo = Apache::lonhtmlcommon::scripttag('self.name="loncapaclient";');
- my $header = '';
+ my $windowinfo=&Apache::lonmenu::open($env{'browser.os'});
+ my $startupremote=&Apache::lonmenu::startupremote($destination);
+ my $remoteinfo=&Apache::lonmenu::load_remote_msg($lowerurl);
+ my $setflags=&Apache::lonmenu::setflags();
+ my $maincall=&Apache::lonmenu::maincall();
my $brcrum = [{'href' => '',
'text' => 'Successful Login'},];
my $start_page=&Apache::loncommon::start_page('Successful Login',
- $header,
- {'bread_crumbs' => $brcrum,});
+ $startupremote,
+ {'no_inline_link' => 1,
+ 'bread_crumbs' => $brcrum,});
my $end_page =&Apache::loncommon::end_page();
- my $continuelink=''.&mt('Continue').'';
+ my $continuelink;
+ if ($env{'environment.remote'} eq 'off') {
+ $continuelink=''.&mt('Continue').'';
+ }
# ------------------------------------------------- Output for successful login
&Apache::loncommon::content_type($r,'text/html');
@@ -144,10 +151,13 @@ sub success {
my $welcome = &mt('Welcome to the Learning[_1]Online[_2] Network with CAPA. Please wait while your session is being set up.','','');
$r->print(<$lt{'wel'}
$welcome
$lt{'pro'}
+$remoteinfo
+$maincall
$continuelink
$end_page
ENDSUCCESS
@@ -358,7 +368,8 @@ sub handler {
return OK;
}
my $start_page =
- &Apache::loncommon::start_page('Create a user account in LON-CAPA');
+ &Apache::loncommon::start_page('Create a user account in LON-CAPA',
+ '',{'no_inline_link' => 1,});
my $lonhost = $r->dir_config('lonHostID');
my $origmail = $Apache::lonnet::perlvar{'lonSupportEMail'};
my $contacts =