Mercurial > prosody-modules
comparison mod_http_muc_log/http_muc_log.html @ 1625:c427de617ada
mod_http_muc_log: Alter template language to more simply allow optional bits in templates
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 11 Mar 2015 13:29:23 +0100 |
parents | 738e9874a374 |
children | 3f3a5daf31cc |
comparison
equal
deleted
inserted
replaced
1624:0f20390f6fa5 | 1625:c427de617ada |
---|---|
59 <h2 id="{year}">{year}</h2> | 59 <h2 id="{year}">{year}</h2> |
60 {months# | 60 {months# |
61 <table id="{month}-{year}"> | 61 <table id="{month}-{year}"> |
62 <caption>{month}</caption> | 62 <caption>{month}</caption> |
63 <tr><th>Mon</th><th>Tue</th><th>Wed</th><th>Thu</th><th>Fri</th><th>Sat</th><th>Sun</th></tr>{weeks# | 63 <tr><th>Mon</th><th>Tue</th><th>Wed</th><th>Thu</th><th>Fri</th><th>Sat</th><th>Sun</th></tr>{weeks# |
64 <tr>{days#<td>{plain?}{links#<a href="{href}">{day}</a>}</td>}</tr>} | 64 <tr>{days#<td>{href&<a href="{href}">}{day? }{href&</a>}</td>}</tr>} |
65 </table> | 65 </table> |
66 } | 66 } |
67 } | 67 } |
68 </nav> | 68 </nav> |
69 <ol class="chat-logs">{lines# | 69 <ol class="chat-logs">{lines# |