--- loncom/interface/lonpreferences.pm 2016/02/20 00:12:39 1.220 +++ loncom/interface/lonpreferences.pm 2016/09/16 00:51:49 1.222 @@ -1,7 +1,7 @@ # The LearningOnline Network # Preferences # -# $Id: lonpreferences.pm,v 1.220 2016/02/20 00:12:39 raeburn Exp $ +# $Id: lonpreferences.pm,v 1.222 2016/09/16 00:51:49 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1425,16 +1425,28 @@ sub client_form { 'changepass' => 'Save', ); + my $mobileargs; + (undef,undef,undef,undef,undef,undef,my $clientmobile) = + &Apache::loncommon::decode_user_agent(); + if ($clientmobile) { + $mobileargs = 'autocapitalize="off" autocorrect="off" '; + } my $output = '
' .&Apache::lonhtmlcommon::start_pick_box(); if ($caller eq 'reset_by_email') { + my $mobileargs; + (undef,undef,undef,undef,undef,undef,my $clientmobile) = + &Apache::loncommon::decode_user_agent(); + if ($clientmobile) { + $mobileargs = 'autocapitalize="off" autocorrect="off" '; + } $output .= &Apache::lonhtmlcommon::row_title( '') - .'' + .'' .&Apache::lonhtmlcommon::row_closure() .&Apache::lonhtmlcommon::row_title( '') - .'' + .'' .'' .&Apache::lonhtmlcommon::row_closure() .&Apache::lonhtmlcommon::row_title( @@ -2188,8 +2200,8 @@ push(@{ $menu[4]->{items} }, { } - my %author_roles = &Apache::lonnet::get_my_roles($user,$domain,'userroles','',['au','ca','aa']); - if (keys(%author_roles) > 0) { + my %author_coauthor_roles = &Apache::lonnet::get_my_roles($user,$domain,'userroles','',['au','ca','aa']); + if (keys(%author_coauthor_roles) > 0) { push(@{ $menu[4]->{items} }, { linktext => 'Authoring Space Configuration', url => '/adm/preferences?action=authorsettings',