version 1.110, 2003/10/13 00:22:00
|
version 1.114, 2004/08/23 21:05:03
|
Line 38 Remote Control
|
Line 38 Remote Control
|
background="remotebg.gif" |
background="remotebg.gif" |
onUnload="collapse();" |
onUnload="collapse();" |
onLoad="activate();" |
onLoad="activate();" |
|
style="{background-repeat: no-repeat;}" |
> |
> |
<LONCAPA_INTERNAL_LONHTTPD_PORT /> |
<LONCAPA_INTERNAL_LONHTTPD_PORT /> |
<script type="text/javascript"> |
<script type="text/javascript"> |
Line 60 var currentSymb='';
|
Line 61 var currentSymb='';
|
var reloadSymb=''; |
var reloadSymb=''; |
var currentStale=1; |
var currentStale=1; |
var menucltim; |
var menucltim; |
|
|
var clockdelta=0; |
var clockdelta=0; |
|
|
var w_extdisp_flag=-1; |
var w_extdisp_flag=-1; |
Line 80 var w_bmquery_flag=-1;
|
Line 80 var w_bmquery_flag=-1;
|
var w_BookmarkPal_flag=-1; |
var w_BookmarkPal_flag=-1; |
var w_LONcatInfo_flag=-1; |
var w_LONcatInfo_flag=-1; |
var w_LONchat_flag=-1; |
var w_LONchat_flag=-1; |
|
var w_loncapanav_flag=-1; |
// 1 means currently open |
// 1 means currently open |
// 0 means closed (but has been open) |
// 0 means closed (but has been open) |
// -1 means never yet opened/defined |
// -1 means never yet opened/defined |
Line 102 for (var i=1;i<=3;i++) {
|
Line 103 for (var i=1;i<=3;i++) {
|
|
|
var clienthost=window.location.host; |
var clienthost=window.location.host; |
var clientwindow=opener; |
var clientwindow=opener; |
|
var navwindow; |
|
|
function syncclock(servertime) { |
function syncclock(servertime) { |
var clientclock=new Date; |
var clientclock=new Date; |
Line 149 function windowcheck() {
|
Line 151 function windowcheck() {
|
extenddispclose(); |
extenddispclose(); |
} |
} |
|
|
|
function navwindowcheck() { |
|
if (navwindow==null || navwindow.closed) { |
|
navwindow=window.open("http://"+clienthost+"/adm/navmaps#curloc", |
|
"loncapanav","height=600,width=400,scrollbars=1"); |
|
} |
|
} |
|
|
function collapse() { |
function collapse() { |
if (autologout) { |
if (autologout) { |
go('/adm/remote?action=collapse'); |
go('/adm/remote?action=collapse'); |
Line 241 function go(url) {
|
Line 250 function go(url) {
|
if (url!='' && url!= null) { |
if (url!='' && url!= null) { |
currentURL = null; |
currentURL = null; |
currentSymb= null; |
currentSymb= null; |
|
this.document.server.target='loncapaclient'; |
this.document.server.action="http://"+clienthost+url; |
this.document.server.action="http://"+clienthost+url; |
this.document.server.postdata.value=''; |
this.document.server.postdata.value=''; |
this.document.server.command.value=''; |
this.document.server.command.value=''; |
Line 250 function go(url) {
|
Line 260 function go(url) {
|
} |
} |
} |
} |
|
|
|
function gonav(url) { |
|
if (w_loncapanav_flag != 1) { |
|
go(url); |
|
} else { |
|
navwindowcheck(); |
|
statuslocked=0; |
|
this.document['led'].src="http://"+clienthost+imgpath+"ledsend.gif"; |
|
if (url!='' && url!= null) { |
|
this.document.server.action="http://"+clienthost+url; |
|
this.document.server.target="loncapanav"; |
|
this.document.server.postdata.value=''; |
|
this.document.server.command.value=''; |
|
this.document.server.url.value=''; |
|
this.document.server.postsymb.value=''; |
|
this.document.server.submit(); |
|
} |
|
} |
|
} |
|
|
function gopost(url,postdata,makenewwin) { |
function gopost(url,postdata,makenewwin) { |
windowcheck(); |
windowcheck(); |
statuslocked=0; |
statuslocked=0; |
Line 261 function gopost(url,postdata,makenewwin)
|
Line 290 function gopost(url,postdata,makenewwin)
|
"height=400,width=540,"+ |
"height=400,width=540,"+ |
"scrollbars=1,toolbar=0,status=0,resizable=1,location=0,menubar=0"); |
"scrollbars=1,toolbar=0,status=0,resizable=1,location=0,menubar=0"); |
this.document.server.target='LONcom'; |
this.document.server.target='LONcom'; |
|
} else { |
|
this.document.server.target='loncapaclient'; |
} |
} |
this.document.server.action="http://"+clienthost+url; |
this.document.server.action="http://"+clienthost+url; |
this.document.server.postdata.value=postdata; |
this.document.server.postdata.value=postdata; |
Line 268 function gopost(url,postdata,makenewwin)
|
Line 299 function gopost(url,postdata,makenewwin)
|
this.document.server.url.value=''; |
this.document.server.url.value=''; |
this.document.server.postsymb.value=''; |
this.document.server.postsymb.value=''; |
this.document.server.submit(); |
this.document.server.submit(); |
this.document.server.target='loncapaclient'; |
|
} |
} |
} |
} |
|
|
Line 277 function gocmd(url,cmd) {
|
Line 307 function gocmd(url,cmd) {
|
statuslocked=0; |
statuslocked=0; |
this.document['led'].src="http://"+clienthost+imgpath+"ledsend.gif"; |
this.document['led'].src="http://"+clienthost+imgpath+"ledsend.gif"; |
if (url!='') { |
if (url!='') { |
|
this.document.server.target='loncapaclient'; |
this.document.server.action="http://"+clienthost+url; |
this.document.server.action="http://"+clienthost+url; |
this.document.server.postdata.value=''; |
this.document.server.postdata.value=''; |
this.document.server.command.value=cmd; |
this.document.server.command.value=cmd; |
Line 453 function showdisplay(utext,ltext) {
|
Line 484 function showdisplay(utext,ltext) {
|
} |
} |
//--> |
//--> |
</script> |
</script> |
|
<display> |
|
return '<script type="text/javascript">w_loncapanav_flag=\''.('on' eq &EXT('user.environment.remotenavmap')).'\';</script>'; |
|
</display> |
</block> |
</block> |
<block condition="&EXT('request.browser.textremote')"> |
<block condition="&EXT('request.browser.textremote')"> |
<script type="text/javascript"> |
<script type="text/javascript"> |