version 1.24, 2001/05/01 03:44:41
|
version 1.30, 2001/05/09 22:59:21
|
Line 10 Jan Guy Albertelli
|
Line 10 Jan Guy Albertelli
|
2/19 Guy Albertelli |
2/19 Guy Albertelli |
3/21 Gerd Kortemeyer |
3/21 Gerd Kortemeyer |
4/30 Ben Tyszka |
4/30 Ben Tyszka |
|
5/2 Scott Harrison |
|
5/4,5/9 Gerd Kortemeyer |
--> |
--> |
<head> |
<head> |
<title>LON-CAPA Remote</title> |
<title>LON-CAPA Remote</title> |
Line 28 statustop='';
|
Line 30 statustop='';
|
statusbot=''; |
statusbot=''; |
active=0; |
active=0; |
|
|
|
var currentURL=''; |
|
var currentStale=1; |
|
|
|
// not used (yet) |
|
// var w_Annotator; |
|
// var w_bmquery; |
|
// var w_BookmarkPal; |
|
// var w_LONcatInfo; |
|
|
|
////////////////////////////////////// |
|
var w_Annotator_flag=-1; |
|
var w_bmquery_flag=-1; |
|
var w_BookmarkPal_flag=-1; |
|
var w_LONcatInfo_flag=-1; |
|
// 1 means currently open |
|
// 0 means closed (but has been open) |
|
// -1 means never yet opened/defined |
|
/////////////////////////////////////// |
|
|
clienthost=window.location.host; |
clienthost=window.location.host; |
clientwindow=opener; |
clientwindow=opener; |
|
|
Line 42 function logout () {
|
Line 63 function logout () {
|
windowcheck(); |
windowcheck(); |
if (clientwindow.status!='MenuControl:nologout') |
if (clientwindow.status!='MenuControl:nologout') |
{ |
{ |
|
if (w_Annotator_flag!=-1 && annotator && !annotator.closed) { |
|
annotator.close(); |
|
} |
|
if (w_bmquery_flag!=-1 && bmquery && !bmquery.closed) { |
|
bmquery.close(); |
|
} |
|
if (w_BookmarkPal_flag!=-1 && bookmarkpal && !bookmarkpal.closed) { |
|
bookmarkpal.close(); |
|
} |
|
if (w_LONcatInfo_flag!=-1 && loncatinfo && !loncatinfo.closed) { |
|
loncatinfo.close(); |
|
} |
clientwindow.window.location.href="http://"+clienthost+"/adm/logout"; |
clientwindow.window.location.href="http://"+clienthost+"/adm/logout"; |
} |
} |
} |
} |
Line 109 function gopost(url,postdata) {
|
Line 142 function gopost(url,postdata) {
|
} |
} |
|
|
function annotate() { |
function annotate() { |
|
w_Annotator_flag=1; |
annotator=window.open('','Annotator','width=365,height=265,scrollbars=0'); |
annotator=window.open('','Annotator','width=365,height=265,scrollbars=0'); |
annotator.document.write( |
annotator.document.write( |
"<html><body onload='Javascript:document.goannotate.submit();'>" |
"<html><body onload='Javascript:document.goannotate.submit();'>" |
Line 123 function set_bookmark() {
|
Line 157 function set_bookmark() {
|
go(''); |
go(''); |
clienttitle="Enter Title"; |
clienttitle="Enter Title"; |
clienthref="Enter Address"; |
clienthref="Enter Address"; |
|
w_bmquery_flag=1; |
bmquery=window.open('','bmquery','width=365,height=165,scrollbars=0'); |
bmquery=window.open('','bmquery','width=365,height=165,scrollbars=0'); |
bmquery.document.write( |
bmquery.document.write( |
"<html><body bgcolor='bbbbbb'><center><form method='post'" |
"<html><body bgcolor='bbbbbb'><center><form method='post'" |
Line 140 function set_bookmark() {
|
Line 175 function set_bookmark() {
|
|
|
function edit_bookmarks() { |
function edit_bookmarks() { |
go(''); |
go(''); |
window.open("http://"+clienthost+"/adm/bookmarks", |
w_BookmarkPal_flag=1; |
|
bookmarkpal=window.open("http://"+clienthost+"/adm/bookmarks", |
"BookmarkPal", "width=400,height=505,scrollbars=0"); |
"BookmarkPal", "width=400,height=505,scrollbars=0"); |
} |
} |
|
|
function catalog_info() { |
function catalog_info() { |
go(''); |
go(''); |
window.open(clientwindow.window.location.href+'.meta',"LONcatInfo"); |
w_LONcatInfo_flag=1; |
|
loncatinfo=window.open(clientwindow.window.location.href+'.meta',"LONcatInfo"); |
} |
} |
// --> |
// --> |
</script> |
</script> |