grouping mail archive by year-month
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
«userinfo()»
|
||||
«messages()»
|
||||
<h1>Widerhall List Archive</h1>
|
||||
«if(data.month)»
|
||||
<table id="archive">
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
@@ -18,9 +19,20 @@
|
||||
<th>Subject</th>
|
||||
</tr>
|
||||
</table>
|
||||
<script type="text/javascript">
|
||||
loadArchive('«data.list»','«data.month»');
|
||||
</script>
|
||||
«else»
|
||||
<table id="archive">
|
||||
<tr>
|
||||
<th>Month</th>
|
||||
<th>Number of messages</th>
|
||||
</tr>
|
||||
</table>
|
||||
<script type="text/javascript">
|
||||
loadArchiveSummary('«data.list»');
|
||||
</script>
|
||||
«endif»
|
||||
«footer()»
|
||||
</body>
|
||||
<script type="text/javascript">
|
||||
loadArchive('«data.list»');
|
||||
</script>
|
||||
</html>
|
||||
Reference in New Issue
Block a user