summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-03-25 20:48:57 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-03-25 20:48:57 +0000
commitd8c3489202227f0eeda68b71bf710f3bb1dabf3e (patch)
treedce0ab09fc57012fda9cd6b0c1d710431640742c /modules
parent34b69b7bb0ecc69463206ff2e23aa05624b3d721 (diff)
downloadfisheye-d8c3489202227f0eeda68b71bf710f3bb1dabf3e.tar.gz
fisheye-d8c3489202227f0eeda68b71bf710f3bb1dabf3e.tar.bz2
fisheye-d8c3489202227f0eeda68b71bf710f3bb1dabf3e.zip
escape htmlspecialchars on output instead of during store process
Diffstat (limited to 'modules')
-rw-r--r--modules/mod_images.tpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/mod_images.tpl b/modules/mod_images.tpl
index 45a98e0..ba69c3a 100644
--- a/modules/mod_images.tpl
+++ b/modules/mod_images.tpl
@@ -1,19 +1,19 @@
-{* $Header: /cvsroot/bitweaver/_bit_fisheye/modules/mod_images.tpl,v 1.3 2005/07/25 20:02:05 squareing Exp $ *}
+{* $Header: /cvsroot/bitweaver/_bit_fisheye/modules/mod_images.tpl,v 1.4 2006/03/25 20:48:56 squareing Exp $ *}
{strip}
{if $gBitSystem->isPackageActive( 'fisheye' ) && $modImages}
{bitmodule title="$moduleTitle" name="fisheye_images"}
<ul class="data">
{foreach from=$modImages item=modImg}
<li class="{cycle values='odd,even'} item">
- <a href="{$modImg.display_url}" title="{$modImg.title} - {$modImg.last_modified|bit_short_datetime}, by {displayname user=$modImg.modifier_user real_name=$modImg.modifier_real_name nolink=1}{if (strlen($modImg.title) > $maxlen) AND ($maxlen > 0)}, {$modImg.title}{/if}">
- <img src="{$modImg.thumbnail_url}" title="{$modImg.title}" alt="{$modImg.title}" />
+ <a href="{$modImg.display_url}" title="{$modImg.title|escape} - {$modImg.last_modified|bit_short_datetime}, by {displayname user=$modImg.modifier_user real_name=$modImg.modifier_real_name nolink=1}{if (strlen($modImg.title) > $maxlen) AND ($maxlen > 0)}, {$modImg.title|escape}{/if}">
+ <img src="{$modImg.thumbnail_url}" title="{$modImg.title|escape}" alt="{$modImg.title|escape}" />
{if !$modImg.has_machine_name}
<br />
{if $maxlen gt 0}
- {$modImg.title|truncate:$maxlen:"...":true}
+ {$modImg.title|escape|truncate:$maxlen:"...":true}
{else}
- {$modImg.title}
+ {$modImg.title|escape}
{/if}
{/if}
</a>