comparison themes/default/month.template @ 115:02f239be7568

Escape links + tags
author Steve Kemp <steve@steve.org.uk>
date Thu, 13 Dec 2007 13:55:18 +0000
parents 7a87c1556a0e
children 1b905160e5e4
comparison
equal deleted inserted replaced
114:54ed5b4c2ad8 115:02f239be7568
24 <p>Entries from <!-- tmpl_var name='month_name' escape='html' --> <!-- tmpl_var name='year' escape='html' -->.</p> 24 <p>Entries from <!-- tmpl_var name='month_name' escape='html' --> <!-- tmpl_var name='year' escape='html' -->.</p>
25 25
26 <!-- tmpl_loop name='entries' --> 26 <!-- tmpl_loop name='entries' -->
27 <div class="entry"> 27 <div class="entry">
28 <div class="title"> 28 <div class="title">
29 <a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a> 29 <a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' escape='html' -->"><!-- tmpl_var name='title' --></a>
30 </div> 30 </div>
31 <div class="date"> 31 <div class="date">
32 <!-- tmpl_var name='date' --> 32 <!-- tmpl_var name='date' -->
33 </div> 33 </div>
34 34
41 <!-- tmpl_var name='comment_count' --> comments. 41 <!-- tmpl_var name='comment_count' --> comments.
42 </span> 42 </span>
43 <!-- /tmpl_if --> 43 <!-- /tmpl_if -->
44 44
45 <!-- tmpl_if name='tags' --> 45 <!-- tmpl_if name='tags' -->
46 Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop --> 46 Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' escape='html' -->"><!-- tmpl_var name='tag' escape='html' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop -->
47 <!-- tmpl_else --> 47 <!-- tmpl_else -->
48 No tags 48 No tags
49 <!-- /tmpl_if --> 49 <!-- /tmpl_if -->
50 </div> 50 </div>
51 </div> 51 </div>
72 72
73 <!-- tmpl_if name='tagcloud' --> 73 <!-- tmpl_if name='tagcloud' -->
74 <h2>Tags</h2> 74 <h2>Tags</h2>
75 <ul> 75 <ul>
76 <!-- tmpl_loop name='tagcloud' --> 76 <!-- tmpl_loop name='tagcloud' -->
77 <li><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --> (<!-- tmpl_var name='count' -->)</a></li> 77 <li><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' escape='html' -->"><!-- tmpl_var name='tag' escape='html' --> (<!-- tmpl_var name='count' -->)</a></li>
78 <!-- /tmpl_loop --> 78 <!-- /tmpl_loop -->
79 </ul> 79 </ul>
80 <!-- /tmpl_if --> 80 <!-- /tmpl_if -->
81 </div> 81 </div>
82 </body> 82 </body>