Remove the initial display of Messages, Tasks, and Calendar in the summary view,...
authorArt Cancro <ajc@uncensored.citadel.org>
Tue, 20 Mar 2012 00:16:23 +0000 (20:16 -0400)
committerArt Cancro <ajc@uncensored.citadel.org>
Tue, 20 Mar 2012 00:16:23 +0000 (20:16 -0400)
webcit/static/t/summary/page.html
webcit/summary.c

index ad56f39b07d65a74e554f0128ed342734b36d325..afe80323d5dff54cdf380ae3794af991bad8ed9f 100644 (file)
@@ -21,7 +21,7 @@
            <?_("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%">
@@ -30,7 +30,7 @@
            <?_("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%">
@@ -39,7 +39,7 @@
            <?_("Today&nbsp;on&nbsp;your&nbsp;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>
index 332971ff4da03f95313cac243ea79c40b707a7d4..904f1db264fb5a50758e029d1dafe68717f9f608 100644 (file)
@@ -214,9 +214,6 @@ InitModule_SUMMARY
 (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);