<?_("Messages")>
</div><div class="boxcontent">
<div id="msg_inner">
- <?SUMMARY:NEWMESSAGES_SELECTION>
+ <img src="static/webcit_icons/throbber.gif">
</div></div></div>
</td>
<td width="33%">
<?_("Tasks")>
</div><div class="boxcontent">
<div id="tasks_inner">
- <?SUMMARY:TASKSSECTION>
+ <img src="static/webcit_icons/throbber.gif">
</div></div></div>
</td>
<td width="33%">
<?_("Today on your calendar")>
</div><div class="boxcontent">
<div id="calendar_inner">
- <?SUMMARY:CALENDAR_SECTION>
+ <img src="static/webcit_icons/throbber.gif">
</div></div></div>
</td>
</div>
<script type="text/javascript">
- new Ajax.PeriodicalUpdater('msg_inner', 'new_messages_html',
- { method: 'get', frequency: 60 } );
- new Ajax.PeriodicalUpdater('tasks_inner', 'tasks_inner_html',
- { method: 'get', frequency: 120 } );
- new Ajax.PeriodicalUpdater('calendar_inner', 'calendar_inner_html',
- { method: 'get', frequency: 90 } );
- new Ajax.PeriodicalUpdater('do_template', 'template=who_summary',
- { method: 'get', frequency: 30 } );
+ new Ajax.PeriodicalUpdater('msg_inner', 'new_messages_html', { method: 'get', frequency: 60 } );
+ new Ajax.PeriodicalUpdater('tasks_inner', 'tasks_inner_html', { method: 'get', frequency: 120 } );
+ new Ajax.PeriodicalUpdater('calendar_inner', 'calendar_inner_html', { method: 'get', frequency: 90 } );
+ new Ajax.PeriodicalUpdater('do_template', 'template=who_summary', { method: 'get', frequency: 30 } );
</script>
(void)
{
RegisterNamespace("TIME:NOW", 0, 0, tmplput_output_date, NULL, CTX_NONE);
- RegisterNamespace("SUMMARY:NEWMESSAGES_SELECTION", 0, 0, tmplput_new_messages_section, NULL, CTX_NONE);
- RegisterNamespace("SUMMARY:TASKSSECTION", 0, 0, tmplput_tasks_section, NULL, CTX_NONE);
- RegisterNamespace("SUMMARY:CALENDAR_SECTION", 0, 0, tmplput_calendar_section, NULL, CTX_NONE);
WebcitAddUrlHandler(HKEY("summary"), "", 0, display_summary_page, ANONYMOUS);
WebcitAddUrlHandler(HKEY("new_messages_html"), "", 0, new_messages_section, AJAX);