--- loncom/interface/lonpreferences.pm 2010/08/15 00:10:08 1.186.2.4 +++ loncom/interface/lonpreferences.pm 2010/04/14 13:58:11 1.188 @@ -1,7 +1,7 @@ # The LearningOnline Network # Preferences # -# $Id: lonpreferences.pm,v 1.186.2.4 2010/08/15 00:10:08 raeburn Exp $ +# $Id: lonpreferences.pm,v 1.188 2010/04/14 13:58:11 wenzelju Exp $ # # Copyright Michigan State University Board of Trustees # @@ -166,12 +166,11 @@ sub languagechanger { = &Apache::loncommon::plainlanguagedescription($_); } } - %langchoices = &Apache::lonlocal::texthash(%langchoices); my $selectionbox= &Apache::loncommon::select_form( $language, 'language', - \%langchoices); + &Apache::lonlocal::texthash(%langchoices)); $r->print(< @@ -230,12 +229,11 @@ sub texenginechanger { 'mimetex' => 'mimetex (Convert to Images)', 'raw' => 'Raw (Screen Reader)' ); - %mathchoices = &Apache::lonlocal::texthash(%mathchoices); my $selectionbox= &Apache::loncommon::select_form( $texengine, 'texengine', - \%mathchoices); + &Apache::lonlocal::texthash(%mathchoices)); my $jsMath_start=&Apache::lontexconvert::jsMath_header(); my %lt=&Apache::lonlocal::texthash( 'headline' => 'Change how math is displayed', @@ -1923,7 +1921,7 @@ my @menu= url => '/adm/preferences?action=changerolespref', permission => 'F', #help => '', - icon => 'role_hotlist.png', + icon => 'sctr.png', linktitle => 'Configure the roles hotlist.' }, { linktext => 'Math display settings', @@ -1987,26 +1985,6 @@ push(@{ $menu[0]->{items} }, { linktitle => 'Change your password.', }); } - if ($env{'environment.remote'} eq 'off') { -push(@{ $menu[1]->{items} }, { - linktext => 'Launch Remote Control', - url => '/adm/remote?url=/adm/preferences&action=launch', - permission => 'F', - #help => '', - icon => 'remotecontrol.png', - linktitle => 'Launch the remote control for LON-CAPA.', - }); - }else{ -push(@{ $menu[1]->{items} }, { - linktext => 'Collapse Remote Control', - url => '/adm/remote?url=/adm/preferences&action=collapse', - permission => 'F', - #help => '', - icon => 'remotecontrol.png', - linktitle => 'Collapse the remote control for LON-CAPA.', - }); - } - if (&can_toggle_namelocking()) { push(@{ $menu[0]->{items} }, { @@ -2039,7 +2017,7 @@ push(@{ $menu[4]->{items} }, { url => '/adm/preferences?action=changecourseinit', permission => 'F', #help => '', - icon => 'course_ini.png', + icon => 'edit-copy.png', linktitle => 'Set the default page to be displayed when you select a course role.', });