-void summary(void) {
-
- output_headers(1, 1, 2, 0, 1, 0, 0);
- wprintf("<div id=\"banner\">\n");
- wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=#444455><TR>"
- "<TD><IMG SRC=\"/static/summary.gif\"></TD><TD>"
- "<SPAN CLASS=\"titlebar\">"
- "Summary page for ");
- escputs(WC->wc_username);
- wprintf("</SPAN></TD><TD>\n");
- wprintf("</TD><TD ALIGN=RIGHT><SPAN CLASS=\"titlebar\">");
- output_date();
- wprintf("</SPAN><br />");
- offer_start_page();
- wprintf("</TD></TR></TABLE>\n");
- wprintf("</div>\n<div id=\"content\">\n");
-
- /*
- * Now let's do three columns of crap. All portals and all groupware
- * clients seem to want to do three columns, so we'll do three
- * columns too. Conformity is not inherently a virtue, but there are
- * a lot of really shallow people out there, and even though they're
- * not people I consider worthwhile, I still want them to use WebCit.
- */
-
- wprintf("<center><table border=0 width=99%%><tr valign=top>");
-
- /*
- * Column One
- */
- wprintf("<td width=33%%>");
- wholist_section();
-
- /*
- * Column Two
- */
- wprintf("</td><td width=33%%>");
- server_info_section();
- wprintf("<br />");
- tasks_section();
-
- /*
- * Column Three
- */
- wprintf("</td><td width=33%%>");
- new_messages_section();
- wprintf("<br />");
- calendar_section();
+void display_summary_page(void)
+{
+ output_headers(1, 1, 1, 0, 0, 0);
+ do_template("summary_page");
+ wDumpContent(1);
+}