--- loncom/auth/lonauth.pm 2002/05/06 21:55:25 1.30 +++ loncom/auth/lonauth.pm 2002/05/29 14:51:42 1.31 @@ -1,7 +1,7 @@ # The LearningOnline Network # User Authentication Module # -# $Id: lonauth.pm,v 1.30 2002/05/06 21:55:25 matthew Exp $ +# $Id: lonauth.pm,v 1.31 2002/05/29 14:51:42 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -103,6 +103,7 @@ sub success { if (($httpbrowser=~/mac/i) || ($httpbrowser=~/powerpc/i)) { $clientos='mac'; } if ($httpbrowser=~/win/i) { $clientos='win'; } + if ($httpbrowser=~/embed/i) { $clientos='pda'; } # ------------------------------------------------------------- Get environment @@ -162,7 +163,7 @@ sub success { $cookie="lonID=$cookie; path=/"; # -------------------------------------------------------- Menu script and info - my $windowinfo=&Apache::lonmenu::open(); + my $windowinfo=&Apache::lonmenu::open($clientos); # ------------------------------------------------------------- Info for Remote my $configmenu=&Apache::lonmenu::rawconfig($r); # ------------------------------------------------- Output for successful login