--- loncom/html/res/adm/pages/menu.html 2000/10/03 19:38:11 1.7
+++ loncom/html/res/adm/pages/menu.html 2001/01/03 16:45:55 1.15
@@ -4,7 +4,7 @@ The LearningOnline Network with CAPA
Remote Control
6/12/00,6/13,6/14,6/15 Gerd Kortemeyer
Sept Ben Tyszka
-10/2,10/3 Gerd Kortemeyer
+10/2,10/3,10/4,10/17,10/19,3/1/1 Gerd Kortemeyer
-->
LON-CAPA Remote
@@ -30,7 +30,10 @@ function windowcheck() {
function logout () {
windowcheck();
- clientwindow.window.location.href="http://"+clienthost+"/adm/logout";
+ if (clientwindow.status!='MenuControl:nologout')
+ {
+ clientwindow.window.location.href="http://"+clienthost+"/adm/logout";
+ }
}
function display(utext,ltext) {
@@ -67,28 +70,32 @@ function setstatus(tp,bt) {
}
function go(url) {
+ windowcheck();
this.document['led'].src="ledsend.gif";
if (url!='') {
- windowcheck();
clientwindow.window.location.href="http://"+clienthost+url;
}
}
function gopost(url,postdata) {
+ windowcheck();
this.document['led'].src="ledsend.gif";
if (url!='') {
- windowcheck();
- this.document.server.postdata=postdata;
this.document.server.action="http://"+clienthost+url;
+ this.document.server.postdata.value=postdata;
this.document.server.submit();
}
}
function annotate() {
- go('');
- window.open("http://"+clienthost+"/adm/annotations?url_new="
- +clientwindow.location.href, "Annotator",
- "width=365,height=265,scrollbars=0");
+ annotator=window.open('','Annotator','width=365,height=265,scrollbars=0');
+ annotator.document.write(
+ ""
+ +"");
+ annotator.document.close();
}
function set_bookmark() {
@@ -103,6 +110,10 @@ function edit_bookmarks() {
"BookmarkPal", "width=400,height=505,scrollbars=0");
}
+function catalog_info() {
+ go('');
+ window.open(clientwindow.window.location.href+'.meta',"LONcatInfo");
+}
@@ -171,37 +182,40 @@ function edit_bookmarks() {
>