version 1.111, 2003/11/10 00:39:28
|
version 1.115, 2004/12/23 19:16:09
|
Line 61 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 81 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 103 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 150 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 242 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 251 function go(url) {
|
Line 260 function go(url) {
|
} |
} |
} |
} |
|
|
|
function gonav(url) { |
|
if (w_loncapanav_flag == 1) { |
|
navwindowcheck(); |
|
statuslocked=0; |
|
this.document.server.target="loncapanav"; |
|
} |
|
|
|
this.document['led'].src="http://"+clienthost+imgpath+"ledsend.gif"; |
|
if (url!='' && url!= null) { |
|
this.document.server.action="http://"+clienthost+url; |
|
this.document.server.postdata.value=currentURL; |
|
this.document.server.command.value=''; |
|
this.document.server.url.value=''; |
|
this.document.server.postsymb.value=currentSymb; |
|
this.document.server.submit(); |
|
} |
|
} |
|
|
function gopost(url,postdata,makenewwin) { |
function gopost(url,postdata,makenewwin) { |
windowcheck(); |
windowcheck(); |
statuslocked=0; |
statuslocked=0; |
Line 262 function gopost(url,postdata,makenewwin)
|
Line 289 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 269 function gopost(url,postdata,makenewwin)
|
Line 298 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 278 function gocmd(url,cmd) {
|
Line 306 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 454 function showdisplay(utext,ltext) {
|
Line 483 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"> |