strcpy(recp, bstr("recp"));
- output_headers(1, 1, 2, 0, 0, 0, 0);
+ output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n"
"<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
"<SPAN CLASS=\"titlebar\">");
escputs(recp);
wprintf("<br>\n");
- wprintf("<FORM METHOD=\"POST\" ACTION=\"/page_user\">\n");
+ wprintf("<FORM METHOD=\"POST\" action=\"page_user\">\n");
wprintf("<TABLE border=0 width=100%%><TR><TD>\n");
wprintf("</TD></TR></TABLE><br />\n");
wprintf("<INPUT TYPE=\"submit\" NAME=\"send_button\" VALUE=\"%s\">", _("Send message"));
- wprintf("<br /><A HREF=\"javascript:window.close();\"%s</A>\n", _("Cancel"));
+ wprintf("<br /><a href=\"javascript:window.close();\"%s</A>\n", _("Cancel"));
wprintf("</FORM></CENTER>\n");
wprintf("</td></tr></table></div>\n");
char buf[SIZ];
char closewin[SIZ];
- output_headers(1, 1, 2, 0, 0, 0, 0);
+ output_headers(1, 1, 2, 0, 0, 0);
wprintf("<div id=\"banner\">\n"
"<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
"<SPAN CLASS=\"titlebar\">");
}
if (!strcasecmp(closewin, "yes")) {
- wprintf("<CENTER><A HREF=\"javascript:window.close();\">");
+ wprintf("<CENTER><a href=\"javascript:window.close();\">");
wprintf(_("[ close window ]"));
wprintf("</A></CENTER>\n");
}
char cl_text[SIZ];
char *output_data = NULL;
- output_headers(0, 0, 0, 0, 0, 0, 0);
+ output_headers(0, 0, 0, 0, 0, 0);
wprintf("Content-type: text/html; charset=utf-8\n");
wprintf("\n");
if (end_chat_now) {
close(WC->chat_sock);
WC->chat_sock = (-1);
- wprintf("<IMG SRC=\"/static/blank.gif\" onLoad=\"parent.window.close();\">\n");
+ wprintf("<img src=\"static/blank.gif\" onLoad=\"parent.window.close();\">\n");
}
if (strlen(output_data) > 0) {
}
/* Output our fun to the other frame. */
- wprintf("<IMG SRC=\"/static/blank.gif\" WIDTH=1 HEIGHT=1\n"
+ wprintf("<img src=\"static/blank.gif\" WIDTH=1 HEIGHT=1\n"
"onLoad=\" \n"
);
char send_this[SIZ];
char buf[SIZ];
- output_headers(0, 0, 0, 0, 0, 0, 0);
+ output_headers(0, 0, 0, 0, 0, 0);
wprintf("Content-type: text/html; charset=utf-8\n");
wprintf("\n");
wprintf("<HTML>"
WC->serv_sock = WC->chat_sock;
WC->chat_sock = i;
- wprintf("<FORM METHOD=\"POST\" ACTION=\"/chat_send\" NAME=\"chatsendform\">\n");
+ wprintf("<FORM METHOD=\"POST\" action=\"chat_send\" NAME=\"chatsendform\">\n");
wprintf("<INPUT TYPE=\"text\" SIZE=\"80\" MAXLENGTH=\"%d\" "
"NAME=\"send_this\">\n", SIZ-10);
wprintf("<br />");