$Log$
+Revision 602.2 2005/02/16 05:40:31 ajc
+* More display fixes
+
Revision 602.1 2005/02/16 05:22:22 ajc
* inetconf.c: fixed memory management problem that was causing all
the inetconf to get discarded during edit on IBM POWER5
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
+
}
output_headers(1, 1, 0, 0, 0, 0, 0);
- svprintf("BOXTITLE", WCS_STRING, "Set/change your photo");
- do_template("beginbox");
+ output_headers(1, 1, 2, 0, 0, 0, 0);
+ wprintf("<div id=\"banner\">\n"
+ "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
+ "<SPAN CLASS=\"titlebar\">Set/change your photo</SPAN>"
+ "</TD></TR></TABLE>\n"
+ "</div>\n<div id=\"content\">\n"
+ );
+
+ wprintf("<center><table border=0 width=99%% bgcolor=\"#ffffff\"><tr><td>\n");
wprintf("<CENTER>\n");
wprintf("<INPUT TYPE=\"SUBMIT\" NAME=\"sc\" VALUE=\"Cancel\">\n");
wprintf("</FORM>\n");
wprintf("</CENTER>\n");
- do_template("endbox");
+ wprintf("</td></tr></table></center>\n");
wDumpContent(1);
}
"METHOD=\"POST\" ACTION=\"/do_stuff_to_msgs\">\n");
if (is_summary) {
wprintf(
- "<TABLE border=0 cellspacing=0 "
- "cellpadding=0 width=100%%>\n"
+ "<center><table border=0 cellspacing=0 "
+ "cellpadding=0 width=99%%>\n"
"<TR>"
"<TD><I>Subject</I></TD>"
"<TD><I>Sender</I></TD>"
}
if (is_summary) {
- wprintf("</TABLE>\n");
+ wprintf("</table></center>\n");
}
/* Bump these because although we're thinking in zero base, the user
if ((!is_tasks) && (!is_calendar) && (!is_addressbook) && (!is_notes) && (!is_singlecard)) {
wprintf("<CENTER>"
- "<TABLE BORDER=0 WIDTH=100%% BGCOLOR=\"#DDDDDD\"><TR><TD>"
+ "<TABLE BORDER=0 WIDTH=99%% BGCOLOR=\"#DDDDDD\"><TR><TD>"
"Reading #%d of %d messages.</TD>\n"
"<TD ALIGN=RIGHT><FONT SIZE=+1>",
lowest_displayed, nummsgs);
output_headers(1, 1, 1, 0, 0, 0, 0);
- wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>");
- wprintf("<FONT SIZE=+1 COLOR=\"#FFFFFF\"");
- wprintf("<B>Confirm move of message</B>\n");
- wprintf("</FONT></TD></TR></TABLE>\n");
+ wprintf("<center><table width=99%% border=0 bgcolor=\"#444455\"><tr><td>");
+ wprintf("<font size=+1 color=\"#ffffff\"");
+ wprintf("<b>Confirm move of message</b>\n");
+ wprintf("</font></td></tr></table></center>\n");
wprintf("<CENTER>");
strcpy(bptr->name, buf);
bio = bptr;
}
- output_headers(1, 1, 0, 0, 0, 0, 0);
+ output_headers(1, 1, 2, 0, 0, 0, 0);
+ wprintf("<div id=\"banner\">\n"
+ "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
+ "<SPAN CLASS=\"titlebar\">User list for ");
+ escputs(serv_info.serv_humannode);
+ wprintf("</SPAN>"
+ "</TD></TR></TABLE>\n"
+ "</div>\n<div id=\"content\">\n"
+ );
serv_puts("LIST");
serv_gets(buf);
goto DONE;
}
- svprintf("BOXTITLE", WCS_STRING, "User list for %s",
- serv_info.serv_humannode);
-
- do_template("beginbox");
- wprintf("<CENTER>");
- wprintf("<TABLE border=0 width=100%%>");
+ wprintf("<center><table border=0 width=99%% bgcolor=\"#ffffff\"><tr><td>\n");
wprintf("<TR><TH>User Name</TH><TH>Number</TH><TH>Access Level</TH>");
wprintf("<TH>Last Login</TH><TH>Total Logins</TH><TH>Total Posts</TH></TR>\n");
extract_long(buf, 4), extract_long(buf, 5));
}
- wprintf("</TABLE>");
- wprintf("</CENTER>\n");
- do_template("endbox");
+ wprintf("</table></center>\n");
DONE: wDumpContent(1);
}