instead of a separate window.
$Log$
+Revision 212.4 2000/06/29 04:22:35 ajc
+* Changed the format of the wholis (again). Now it shows up in a frame
+ instead of a separate window.
+
Revision 212.3 2000/06/12 03:28:44 ajc
* added support for multi-line paging
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
+
wprintf("</TD><TD>"); /* start of third column */
wprintf("<UL>");
- wprintf("<LI><B><A HREF=\"/whobbs\">\n");
+ wprintf("<LI><B><A HREF=\"/static/whoframeset.html\" TARGET=\"_top\">\n");
wprintf("Who is online?</B></A><BR>(users <EM>currently</EM> logged on)</LI>\n");
wprintf("<LI><B><A HREF=\"/userlist\">\n");
wprintf("<LI><B><A HREF=\"/advanced\">\n");
wprintf("Advanced options</B></A><BR>...and maintenance</LI>\n");
- wprintf("<LI><B><A HREF=\"/termquit\">\n");
+ wprintf("<LI><B><A HREF=\"/termquit\" TARGET=\"top\">\n");
wprintf("Log off</B></A><BR>Bye!</LI>\n");
wprintf("</UL>\n");
serv_puts("RINF");
serv_gets(buf);
if (buf[0] == '1') {
- wprintf("<FONT SIZE=-2>");
+ wprintf("<FONT SIZE=-1>");
fmout(NULL);
wprintf("</FONT>");
}
-<SCRIPT LANGUAGE="JavaScript">
-
-function LaunchWho() {
- pwin = window.open('/whobbs', 'TheWholist', 'toolbar=no,location=no,copyhistory=no,status=yes,scrollbars=yes');
-
-}
-</SCRIPT>
-
<CENTER>
<IMG SRC="/image&name=hello"><BR><BR>
</TR><TR>
<TD BGCOLOR="#663399">
<FONT SIZE=-1>
- <A HREF="javascript:LaunchWho()">
+ <A HREF="static/whoframeset.html" TARGET="_top">
<FONT COLOR="#FFFFFF">Who is online?</FONT>
</A>
</FONT>
</TR><TR>
<TD BGCOLOR="#CC0000">
<FONT SIZE=-1>
- <A HREF="/termquit" onClick="return confirm('Do you really want to log off?');"><FONT COLOR="#FFFFFF">Log off</FONT></A><BR>
+ <A HREF="/termquit" TARGET="_top" onClick="return confirm('Do you really want to log off?');"><FONT COLOR="#FFFFFF">Log off</FONT></A><BR>
</TD>
</TR>
</TABLE>
--- /dev/null
+<HTML>
+ <HEAD>
+ <TITLE>WebCit</TITLE>
+ </HEAD>
+ <FRAMESET ROWS="*, 15%" FRAMESPACING=0>
+ <FRAME NAME="top" SRC="/mainmenu">
+ <FRAME NAME="bottom" SRC="/whobbs">
+ <NOFRAMES>
+You can't do this because you're using a browser that doesn't support frames.
+ </NOFRAMES>
+ </FRAMESET>
+</HTML>
escputs(serv_info.serv_humannode);
wprintf("</B></FONT></TD></TR></TABLE>\n");
- wprintf("<FONT SIZE=-2>\n");
wprintf("<CENTER>\n<TABLE BORDER=1 WIDTH=100%>\n<TR>\n");
wprintf("<TH>Session ID</TH>\n");
wprintf("<TH>User Name</TH>\n");
}
while (wlist != NULL) {
- wprintf("<TR>\n\t<TD ALIGN=center>%d", wlist->sessionnum);
+ wprintf("<TR>\n\t<TD ALIGN=center><FONT SIZE=-1>%d", wlist->sessionnum);
if ((WC->is_aide) &&
(wlist->sessionnum != serv_info.serv_pid)) {
wprintf(" <A HREF=\"/terminate_session&which_session=%d&session_owner=", wlist->sessionnum);
wprintf(" <A HREF=\"/edit_me\" "
">(edit)</A>");
}
+ wprintf("</FONT></TD>\n\t<TD><FONT SIZE=-1>");
/* username */
- wprintf("</TD>\n\t<TD>");
escputs(wlist->username);
/* room */
- wprintf("</TD>\n\t<TD>");
+ wprintf("</FONT></TD>\n\t<TD><FONT SIZE=-1>");
escputs(wlist->roomname);
- wprintf("</TD>\n\t<TD>");
+ wprintf("</FONT></TD>\n\t<TD><FONT SIZE=-1>");
/* hostname */
escputs(wlist->hostname);
- wprintf("</TD>\n</TR>");
+ wprintf("</FONT></TD>\n</TR>");
wptr = wlist->next;
free(wlist);
wlist = wptr;
}
wprintf("</TABLE>\n<BR><BR>\n");
wprintf("<TABLE BORDER=0 BGCOLOR=\"#003399\">\n<TR><TD ALIGN=center VALIGN=center CELLPADING=20>\n");
- wprintf("<B><A HREF=\"javascript:window.close();\">Close window</A></B>\n");
+ wprintf("<B><A HREF=\"/mainmenu\" TARGET=\"_top\">Close window</A></B>\n");
wprintf("</TD></TR>\n</TABLE></FONT>\n</CENTER>");
wDumpContent(1);