rev 1476 - trunk/mariachi/templates

[prev] [thread] [next] [lurker] [Date index for 2003/11/27]

From: richardc
Subject: rev 1476 - trunk/mariachi/templates
Date: 16:37 on 27 Nov 2003
Author: richardc
Date: 2003-11-27 16:37:16 +0000 (Thu, 27 Nov 2003)
New Revision: 1476

Modified:
   trunk/mariachi/templates/lurker.tt2
   trunk/mariachi/templates/thread.tt2
Log:
sanitise the context too

Modified: trunk/mariachi/templates/lurker.tt2
===================================================================
--- trunk/mariachi/templates/lurker.tt2	2003-11-27 16:28:20 UTC (rev 1475)
+++ trunk/mariachi/templates/lurker.tt2	2003-11-27 16:37:16 UTC (rev 1476)
@@ -45,7 +45,7 @@
         [% message.linked.lurker = file %]
         <td width="48"><img src="images/blank.png" width="48" height="24"></td>
 	<td rowspan="2"><small>[% context = mariachi.config.get('lurker-context') ; IF context %]
-		[% message.$context | html %]<br />[% END %]
+		[% message.$context | html | mariachi %]<br />[% END %]
 			<a href="[% message.filename %]">[% message.from | html %]</a> [% date.format( message.epoch_date ) %]</small></td>
         </tr>
         <tr class="[% loop.count % 2 == 0 ? "row1" : "row2" %]">

Modified: trunk/mariachi/templates/thread.tt2
===================================================================
--- trunk/mariachi/templates/thread.tt2	2003-11-27 16:28:20 UTC (rev 1475)
+++ trunk/mariachi/templates/thread.tt2	2003-11-27 16:37:16 UTC (rev 1476)
@@ -9,7 +9,7 @@
 		[% END %]
 		[% thread.message.subject | html | mariachi %]
 		[% IF this ; "</b>" ; ELSE ; "</a>" ; END %]
-		<small>[% thread.message.from | html %] <i>[% date.format(thread.message.epoch_date) %]</i>[% context = mariachi.config.get('thread-context') ; IF context  %]<br />
+		<small>[% thread.message.from | html | mariachi %] <i>[% date.format(thread.message.epoch_date) %]</i>[% context = mariachi.config.get('thread-context') ; IF context  %]<br />
 		[% thread.message.$context | html%][% END %]</small>
 	[% ELSE %]
 		[%# The previous subject line was the same, so don't show it %]

Generated at 13:57 on 01 Jul 2004 by mariachi 0.52