char buf[256];
printf("HTTP/1.0 200 OK\n");
- output_headers(1);
+ output_headers(3);
/* Da banner */
wprintf("<CENTER><TABLE border=0 width=100%><TR><TD>\n");
wprintf("<INPUT type=\"submit\" NAME=\"action\" VALUE=\"New User\">\n");
wprintf("<INPUT type=\"submit\" NAME=\"action\" VALUE=\"Exit\">\n");
- /* Only offer the "check to disable frames" selection if frames haven't
- * already been disabled by the browser braindamage check.
- */
- if (noframes == 0) {
- wprintf("<BR><INPUT TYPE=\"checkbox\" NAME=\"noframes\">");
- wprintf("<FONT SIZE=-1> Check here to disable frames</FONT>\n");
- wprintf("</FORM></CENTER>\n");
- }
-
/* Da instructions */
wprintf("<LI><EM>If you already have an account on %s,",
serv_info.serv_humannode);
int need_regi = 0;
- /* Note that the initial value of noframes is set by the browser braindamage
- * check, so don't add an "else" clause here.
- */
- if (!strcasecmp(bstr("noframes"), "on"))
- noframes = 1;
-
if (!strcasecmp(bstr("action"), "Exit")) {
do_logout();
}
void do_welcome(void)
{
-
- if (noframes) {
- smart_goto("_BASEROOM_");
- } else {
- output_static("frameset.html");
- }
+ smart_goto("_BASEROOM_");
}