-/**
- * \brief Display this user's summary page
- */
-void summary(void) {
- char title[256];
-
- output_headers(1, 1, 2, 0, 0, 0);
- wprintf("<div id=\"banner\">\n");
- wprintf("<div class=\"service_banner\">\n");
- wprintf("<img src=\"static/summscreen_48x.gif\">");
- wprintf("<h1>");
- snprintf(title, sizeof title, _("Summary page for %s"), WC->wc_fullname);
- escputs(title);
- wprintf("</h1><h2>\n");
- output_date();
- wprintf("</h2></div>");
- wprintf("<ul><li class=\"start_page\">");
- offer_start_page();
- wprintf("</li></ul>");
- wprintf("</div>");
-
- /**
- * You guessed it ... we're going to refresh using ajax.
- * In the future we might consider updating individual sections of the summary
- * instead of the whole thing.
- */
- wprintf("<div id=\"content\">\n");
- summary_inner_div();
- wprintf("</div>\n");
-
- wprintf(
- "<script type=\"text/javascript\"> "
- " new Ajax.PeriodicalUpdater('content', 'summary_inner_div', "
- " { method: 'get', frequency: 60 } ); "
- "</script> \n"
- );
-
- wDumpContent(1);
-}
+ WebcitAddUrlHandler(HKEY("new_messages_html"), "", 0, new_messages_section, AJAX);
+ WebcitAddUrlHandler(HKEY("tasks_inner_html"), "", 0, tasks_section, AJAX);
+ WebcitAddUrlHandler(HKEY("calendar_inner_html"), "", 0, calendar_section, AJAX);