--- loncom/interface/Attic/lonremote.pm 2009/03/29 19:44:56 1.29 +++ loncom/interface/Attic/lonremote.pm 2009/03/29 22:14:12 1.30 @@ -1,7 +1,7 @@ # The LearningOnline Network # User Authentication Module # -# $Id: lonremote.pm,v 1.29 2009/03/29 19:44:56 raeburn Exp $ +# $Id: lonremote.pm,v 1.30 2009/03/29 22:14:12 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -74,19 +74,26 @@ sub collapseremote { my $end_page = &Apache::loncommon::end_page(); my $windowinfo=&Apache::lonmenu::close(); # my $switch=''; - my $message='

'.&mt('The external menu (Remote Control) has been disabled, and you will be working with the smaller inline menu. You may have either closed the Remote Control window, or it was blocked by a pop-up window filter in your browser. To use the Remote Control, disable the filter for this site, and re-launch the Remote Control from the [_1]"Launch Remote Control"[_2] option in [_3]"Set my user preferences"[_2], accessible via the [_4]Main Menu[_2]','','','','').'

'; - my $continue = &mt('Continue'); + my $message='
'.&mt('The external menu (Remote Control) has been disabled, and you will be working with the smaller inline menu.').'
'."\n". + '

'.&mt('You may have either closed the Remote Control window, or it was blocked by a pop-up window filter in your browser.').'
'."\n". + &mt('To use the Remote Control, disable the filter for this site, and re-launch the Remote Control.').'

'."\n". + '
'.&mt('Actions').''."\n". + ''. + '
'. + 'Launch Remote Control'. + &mt('Re-launch Remote Control').''.(' 'x3).'
'. + '
'."\n". + '

'.&mt('Assuming no pop-up blocking, the Remote Control can be launched at any time from the [_1]Set User Preferences[_2] page, linked to in the [_3]Main Menu[_2].','','','').'

'; $r->print(< $message -

-
$continue $end_page ENDCOLLAPSE - &Apache::lonnet::put('environment',{'remote' => 'off'}); - &Apache::lonnet::appenv({'environment.remote' => 'off'}); + &Apache::lonnet::put('environment',{'remote' => 'off'}); + &Apache::lonnet::appenv({'environment.remote' => 'off'}); } sub handler {