version 1.70, 2003/05/23 23:58:53
|
version 1.71, 2003/05/24 12:43:55
|
Line 186 sub registerurl {
|
Line 186 sub registerurl {
|
($ENV{'environment.remote'} eq 'off') || |
($ENV{'environment.remote'} eq 'off') || |
($ENV{'request.publicaccess'})) { |
($ENV{'request.publicaccess'})) { |
my $reopen=&Apache::lonmenu::reopenmenu(); |
my $reopen=&Apache::lonmenu::reopenmenu(); |
$loadfunction='swmenu='.$reopen.'swmenu.noclient=0;'; |
$loadfunction='swmenu='.$reopen.'swmenu.windowloaded(self.name);'; |
$unloadfunction='swmenu='.$reopen.'swmenu.noclient=1;'; |
$unloadfunction='swmenu='.$reopen.'swmenu.windowunloaded(self.name);'; |
} |
} |
return $result.(<<ENDFUNCTIONS); |
return $result.(<<ENDFUNCTIONS); |
<script type="text/javascript"> |
<script type="text/javascript"> |
Line 391 var swmenu=null;
|
Line 391 var swmenu=null;
|
|
|
function LONCAPAreg() { |
function LONCAPAreg() { |
swmenu=$reopen; |
swmenu=$reopen; |
swmenu.noclient=0; |
swmenu.windowloaded(self.name); |
swmenu.clearTimeout(swmenu.menucltim); |
swmenu.clearTimeout(swmenu.menucltim); |
$timesync |
$timesync |
$newmail |
$newmail |
Line 419 var swmenu=null;
|
Line 419 var swmenu=null;
|
'clearbut(2,1);clearbut(2,3);clearbut(8,1);clearbut(8,2);clearbut(8,3);'+ |
'clearbut(2,1);clearbut(2,3);clearbut(8,1);clearbut(8,2);clearbut(8,3);'+ |
'clearbut(9,1);clearbut(9,2);clearbut(9,3);clearbut(6,3);clearbut(6,1)', |
'clearbut(9,1);clearbut(9,2);clearbut(9,3);clearbut(6,3);clearbut(6,1)', |
2000); |
2000); |
swmenu.noclient=1; |
swmenu.windowunloaded(self.name); |
} |
} |
|
|
// END LON-CAPA Internal |
// END LON-CAPA Internal |
Line 443 var swmenu=null;
|
Line 443 var swmenu=null;
|
|
|
function LONCAPAreg() { |
function LONCAPAreg() { |
swmenu=$reopen |
swmenu=$reopen |
swmenu.noclient=0; |
swmenu.windowloaded(self.name); |
$timesync |
$timesync |
swmenu.currentStale=1; |
swmenu.currentStale=1; |
swmenu.clearbut(2,1); |
swmenu.clearbut(2,1); |
Line 461 var swmenu=null;
|
Line 461 var swmenu=null;
|
|
|
function LONCAPAstale() { |
function LONCAPAstale() { |
swmenu=$reopen |
swmenu=$reopen |
swmenu.noclient=1; |
swmenu.windowunloaded(self.name); |
} |
} |
|
|
// END LON-CAPA Internal |
// END LON-CAPA Internal |
Line 592 ENDRESIZE
|
Line 592 ENDRESIZE
|
window.status='Opening LON-CAPA Remote Control'; |
window.status='Opening LON-CAPA Remote Control'; |
var menu=window.open("/res/adm/pages/menu.html","$menuname", |
var menu=window.open("/res/adm/pages/menu.html","$menuname", |
"height=350,width=150,scrollbars=no,menubar=no,top=5,left=5,screenX=5,screenY=5"); |
"height=350,width=150,scrollbars=no,menubar=no,top=5,left=5,screenX=5,screenY=5"); |
|
self.name='loncapaclient'; |
ENDOPEN |
ENDOPEN |
return '<script>'.$returnval.'</script>'; |
return '<script>'.$returnval.'</script>'; |
} |
} |