summaryrefslogtreecommitdiff
path: root/modules/mod_wiki_last_comments.tpl
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-03-25 20:55:09 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-03-25 20:55:09 +0000
commit9b62be69d57bf8009e6d8a97b2f52d906a7aca24 (patch)
tree23eda2af58b3816107ffe343a5d1484156920278 /modules/mod_wiki_last_comments.tpl
parent4df16dd9a837724b0bf516fa5b0927f2a1462187 (diff)
downloadwiki-9b62be69d57bf8009e6d8a97b2f52d906a7aca24.tar.gz
wiki-9b62be69d57bf8009e6d8a97b2f52d906a7aca24.tar.bz2
wiki-9b62be69d57bf8009e6d8a97b2f52d906a7aca24.zip
escape htmlspecialchars on output instead of during store process
Diffstat (limited to 'modules/mod_wiki_last_comments.tpl')
-rw-r--r--modules/mod_wiki_last_comments.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mod_wiki_last_comments.tpl b/modules/mod_wiki_last_comments.tpl
index 1a54823..9d8484f 100644
--- a/modules/mod_wiki_last_comments.tpl
+++ b/modules/mod_wiki_last_comments.tpl
@@ -1,4 +1,4 @@
-{* $Header: /cvsroot/bitweaver/_bit_wiki/modules/mod_wiki_last_comments.tpl,v 1.2 2005/08/07 17:46:50 squareing Exp $ *}
+{* $Header: /cvsroot/bitweaver/_bit_wiki/modules/mod_wiki_last_comments.tpl,v 1.3 2006/03/25 20:55:08 squareing Exp $ *}
{if $lastComments}
{if $nonums eq 'y'}
{eval var="{tr}Last `$module_rows` wiki comments{/tr}" assign="tpl_module_title"}
@@ -12,7 +12,7 @@
<a href="{$smarty.const.WIKI_PKG_URL}index.php?content_id={$lastComments[ix].content_id}" title="{$lastComments[ix].comment_date|bit_short_datetime}, by {displayname hash=$lastComments[ix] nolink=1}{if $moretooltips eq 'y'} on page {$lastComments[ix].page}{/if}">
{if $moretooltips ne 'y'}
<b>{$lastComments[ix].content_title}</b>:
- {/if} {$lastComments[ix].title}
+ {/if} {$lastComments[ix].title|escape}
</a>
</li>
{sectionelse}