version 1.12, 2004/07/02 08:42:44
|
version 1.15, 2004/10/29 20:44:30
|
Line 43 sub launchremote {
|
Line 43 sub launchremote {
|
# -------------------------------------------------------- Menu script and info |
# -------------------------------------------------------- Menu script and info |
my $windowinfo=&Apache::lonmenu::open($ENV{'browser.os'}); |
my $windowinfo=&Apache::lonmenu::open($ENV{'browser.os'}); |
my $startupremote=&Apache::lonmenu::startupremote($lowerurl); |
my $startupremote=&Apache::lonmenu::startupremote($lowerurl); |
|
my $remoteinfo=&Apache::lonmenu::load_remote_msg($lowerurl); |
my $setflags=&Apache::lonmenu::setflags(); |
my $setflags=&Apache::lonmenu::setflags(); |
my $maincall=&Apache::lonmenu::maincall(); |
my $maincall=&Apache::lonmenu::maincall(); |
my $bodytag=&Apache::loncommon::bodytag('Launch Remote Control'); |
my $bodytag=&Apache::loncommon::bodytag('Launch Remote Control'); |
Line 56 $startupremote
|
Line 57 $startupremote
|
$bodytag |
$bodytag |
$setflags |
$setflags |
$windowinfo |
$windowinfo |
$maincall |
|
$message |
$message |
|
$remoteinfo |
|
$maincall |
</body> |
</body> |
</html> |
</html> |
ENDLAUNCH |
ENDLAUNCH |
Line 69 sub collapseremote {
|
Line 71 sub collapseremote {
|
my $bodytag=&Apache::loncommon::bodytag('Collapse Remote Control'); |
my $bodytag=&Apache::loncommon::bodytag('Collapse Remote Control'); |
my $windowinfo=&Apache::lonmenu::close(); |
my $windowinfo=&Apache::lonmenu::close(); |
# my $switch='<meta HTTP-EQUIV="Refresh" CONTENT="0.5; url='.$lowerurl.'">'; |
# my $switch='<meta HTTP-EQUIV="Refresh" CONTENT="0.5; url='.$lowerurl.'">'; |
my $message=&mt("The external menu (Remote Control) has been disabled, and you will be working with the smaller inline menu.\nYou may have either closed the Remote Control window, or it was blocked by a pop-up window filter in your browser.\nTo use the Remote Control, disable the filter for this site, and re-launch the Remote Control from the inline menu."); |
my $message='<p>'.&mt("The external menu (Remote Control) has been disabled, and you will be working with the smaller inline menu.\nYou may have either closed the Remote Control window, or it was blocked by a pop-up window filter in your browser.\nTo use the Remote Control, disable the filter for this site, and re-launch the Remote Control from the inline menu.").'</p>'; |
$r->print(<<ENDCOLLAPSE); |
$r->print(<<ENDCOLLAPSE); |
<html> |
<html> |
<head> |
<head> |