--- loncom/html/res/adm/pages/menu.html 2001/06/03 18:33:54 1.33
+++ loncom/html/res/adm/pages/menu.html 2001/07/25 03:05:49 1.37
@@ -11,7 +11,8 @@ Jan Guy Albertelli
3/21 Gerd Kortemeyer
4/30 Ben Tyszka
5/2 Scott Harrison
-5/4,5/9,5/28,5/30,6/1,6/2,6/3 Gerd Kortemeyer
+5/4,5/9,5/28,5/30,6/1,6/2,6/3,6/8,6/15,6/16 Gerd Kortemeyer
+7/24 Scott Harrison
-->
LON-CAPA Remote
@@ -20,7 +21,6 @@ Jan Guy Albertelli
@@ -98,8 +98,8 @@ function deactivate () {
function display(utext,ltext) {
var i; var ch;
this.window.focus();
- if (utext==undefined) { utext=''; }
- if (ltext==undefined) { ltext=''; }
+ if (typeof(utext)=="undefined") { utext=''; }
+ if (typeof(ltext)=="undefined") { ltext=''; }
if ((utext=='') && (ltext=='')) {
utext=statustop;
ltext=statusbot;
@@ -167,6 +167,20 @@ function gopost(url,postdata) {
if (url!='') {
this.document.server.action="http://"+clienthost+url;
this.document.server.postdata.value=postdata;
+ this.document.server.command.value='';
+ this.document.server.url.value='';
+ this.document.server.submit();
+ }
+}
+
+function gocmd(url,cmd) {
+ windowcheck();
+ this.document['led'].src="ledsend.gif";
+ if (url!='') {
+ this.document.server.action="http://"+clienthost+url;
+ this.document.server.postdata.value='';
+ this.document.server.command.value=cmd;
+ this.document.server.url.value=currentURL;
this.document.server.submit();
}
}
@@ -178,15 +192,20 @@ function annotate() {
""
+"");
annotator.document.close();
}
function set_bookmark() {
go('');
- clienttitle="Enter Title";
- clienthref="Enter Address";
+ if (currentStale) {
+ clienttitle="Enter Title";
+ clienthref=currentURL;
+ } else {
+ clienttitle=clientwindow.document.title;
+ clienthref=clientwindow.location.pathname;
+ }
w_bmquery_flag=1;
bmquery=window.open('','bmquery','width=365,height=165,scrollbars=0');
bmquery.document.write(
@@ -306,7 +325,13 @@ function catalog_info() {
![](empty.gif) |
-![](dempty.gif) |
+![](empty.gif) |
+![](empty.gif) |
+
+
+
+![](empty.gif) |
+![](dempty.gif) |
@@ -317,8 +342,13 @@ function catalog_info() {
>![](spacer.gif)
+
+
+
+
+