--- loncom/interface/lonpreferences.pm 2010/05/27 15:57:40 1.186.2.3 +++ loncom/interface/lonpreferences.pm 2010/04/28 14:55:58 1.189 @@ -1,7 +1,7 @@ # The LearningOnline Network # Preferences # -# $Id: lonpreferences.pm,v 1.186.2.3 2010/05/27 15:57:40 raeburn Exp $ +# $Id: lonpreferences.pm,v 1.189 2010/04/28 14:55:58 wenzelju Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1985,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} }, {