--- loncom/interface/lonpreferences.pm 2007/04/17 18:28:44 1.99 +++ loncom/interface/lonpreferences.pm 2007/04/28 23:13:56 1.100 @@ -1,7 +1,7 @@ # The LearningOnline Network # Preferences # -# $Id: lonpreferences.pm,v 1.99 2007/04/17 18:28:44 www Exp $ +# $Id: lonpreferences.pm,v 1.100 2007/04/28 23:13:56 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -526,18 +526,25 @@ sub iconchanger { ('environment',['icons']); my $iconic='checked="checked"'; my $classic=''; + my $onlyicon=''; if ($userenv{'icons'} eq 'classic') { $classic='checked="checked"'; $iconic=''; } - my $useicons=&mt('Use icons'); - my $usebuttons=&mt('Use classic buttons'); + if ($userenv{'icons'} eq 'iconsonly') { + $onlyicon='checked="checked"'; + $iconic=''; + } + my $useicons=&mt('Use icons and text'); + my $usebuttons=&mt('Use buttons and text'); + my $useicononly=&mt('Use icons only'); my $change=&mt('Change'); $r->print(<

+
ENDSCREEN @@ -1517,7 +1524,7 @@ sub handler { } push (@Options,({ action => 'changeicons', - linktext => 'Change How Main Menu is Displayed', + linktext => 'Change How Menus are Displayed', href => '/adm/preferences', subroutine => \&iconchanger, breadcrumb =>