Diff

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
parent 1621:738e9874a374
child 1751:3f3a5daf31cc
line wrap: on
line diff
--- a/mod_http_muc_log/http_muc_log.html	Tue Mar 10 16:39:08 2015 +0100
+++ b/mod_http_muc_log/http_muc_log.html	Wed Mar 11 13:29:23 2015 +0100
@@ -61,7 +61,7 @@
 <table id="{month}-{year}">
 <caption>{month}</caption>
 <tr><th>Mon</th><th>Tue</th><th>Wed</th><th>Thu</th><th>Fri</th><th>Sat</th><th>Sun</th></tr>{weeks#
-<tr>{days#<td>{plain?}{links#<a href="{href}">{day}</a>}</td>}</tr>}
+<tr>{days#<td>{href&<a href="{href}">}{day?&nbsp;}{href&</a>}</td>}</tr>}
 </table>
 }
 }