sanitize summary page
[citadel.git] / webcit / static / t / summary / page.html
1 <?=("summary_header")>
2 <div id="banner" class="banner">
3   <table border=0><tr>
4       <td><img src="static/webcit_icons/essen/32x32/summary.png"></td>
5       <td><h1><?_("Summary page for ")><??("COND:LOGGEDIN", 1)><?CURRENT_USER("X")><??("X", 1)><?!("COND:LOGGEDIN", 2)><?SERV:HUMANNODE("X")><??("X", 2)></h1><h2><?TIME:NOW></h2></td></tr></table>
6   <div id="actiondiv">
7     <ul class="room_actions">
8       <li class="start_page"><?OFFERSTARTPAGE></li></ul>
9   </div>
10 </div>
11
12 <?--("
13 * You guessed it ... were going to refresh using ajax.
14 * In the future we might consider updating individual sections of the summary
15 * instead of the whole thing.
16 ")>
17 <div id="content" class="service">
18   <table width="98%" cellspacing="3" cellpadding="0">
19     <tr valign=top>
20       <td width="33%">
21         <div class="box">       
22           <div class="boxlabel">        
23             <?_("Messages")>
24           </div><div class="boxcontent">        
25             <div id="msg_inner">
26               <?SUMMARY:NEWMESSAGES_SELECTION>
27         </div></div></div>
28       </td>
29       <td width="33%">
30         <div class="box">       
31           <div class="boxlabel">        
32             <?_("Tasks")>
33           </div><div class="boxcontent">        
34             <div id="tasks_inner">      
35               <?SUMMARY:TASKSSECTION>
36         </div></div></div>
37       </td>
38       <td width="33%">
39         <div class="box">       
40           <div class="boxlabel">        
41             <?_("Today&nbsp;on&nbsp;your&nbsp;calendar")>
42           </div><div class="boxcontent">        
43             <div id="calendar_inner">
44               <?SUMMARY:CALENDAR_SECTION>
45         </div></div></div>
46       </td>
47       
48     </tr><tr valign=top>
49
50       <td colspan=2>
51         <div class="box">       
52           <div class="boxlabel">        
53             <?_("Who‘s&nbsp;online&nbsp;now")>
54           </div><div class="boxcontent">
55             <div id="who_inner"><?=("who_summary")></div></div></div>
56       </td>
57       <td width="33%">
58         <div class="box">       
59           <div class="boxlabel">        
60             <?_("About&nbsp;this&nbsp;server")>
61           </div><div class="boxcontent">        
62             <div id="info_inner">       
63               <?_("You are connected to")> <?SERV:HUMANNODE>,
64               <?_("running")> <?SERV:SOFTWARE> 
65               <?_("with")> <?PACKAGESTRING>, 
66               <?_("server build")> <?SERV:REV_LEVEL>
67               <?_("and located in")> <?SERV:BBS_CITY>.
68               <?_("Your system administrator is")> <?SERV:ADMIN>
69         </div></div></div>
70       </td>
71   </tr></table>
72
73 </div>
74
75 </div>
76
77 <script type="text/javascript">
78  new Ajax.PeriodicalUpdater('msg_inner', 'new_messages_html',
79                             { method: 'get', frequency: 60 }  );
80  new Ajax.PeriodicalUpdater('tasks_inner', 'tasks_inner_html',
81                             { method: 'get', frequency: 120 }  );
82  new Ajax.PeriodicalUpdater('calendar_inner', 'calendar_inner_html',
83                             { method: 'get', frequency: 90 }  );
84  new Ajax.PeriodicalUpdater('do_template', 'template=who_summary',
85                             { method: 'get', frequency: 30 }  );
86 </script>
87 <?=("summary_trailer")>