diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-01-05 08:31:22 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-01-05 08:31:22 +0000 |
| commit | 3a4bc0f1289984fcc3af5df55d462f5b6c987561 (patch) | |
| tree | 33db47e0669ed1679421c5c93c86d5e9724c85e8 | |
| parent | bfbddce0b2152541551b733251b702526b01008f (diff) | |
| download | pigeonholes-3a4bc0f1289984fcc3af5df55d462f5b6c987561.tar.gz pigeonholes-3a4bc0f1289984fcc3af5df55d462f5b6c987561.tar.bz2 pigeonholes-3a4bc0f1289984fcc3af5df55d462f5b6c987561.zip | |
searched for .title} .description} and .data} and added |escape where appropriate (i hope). might have misinterpreted a situation or two, so please keep a lookout...
| -rw-r--r-- | templates/display_members.tpl | 4 | ||||
| -rw-r--r-- | templates/list.tpl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/display_members.tpl b/templates/display_members.tpl index de99b93..234c2ce 100644 --- a/templates/display_members.tpl +++ b/templates/display_members.tpl @@ -6,7 +6,7 @@ {foreach from=$pigeonData item=pigeonItem} {$pigeonItem.display_path} {if $pigeonItem.data and $gBitSystem->isFeatureActive( 'pigeonholes_display_description' )} - : {$pigeonItem.data} + : {$pigeonItem.data|escape} {/if} • {/foreach} @@ -17,7 +17,7 @@ <p> {if $pigeonItem.data and $gBitSystem->isFeatureActive( 'pigeonholes_display_description' )} - {$pigeonItem.data}<br /> + {$pigeonItem.data|escape}<br /> {/if} {* reset vars *} diff --git a/templates/list.tpl b/templates/list.tpl index 7700338..37ff9a3 100644 --- a/templates/list.tpl +++ b/templates/list.tpl @@ -36,7 +36,7 @@ </div> {/if} <h2>{$item.display_link}</h2> - {$item.data} + {$item.data|escape} {include file="bitpackage:pigeonholes/view_structure_inc.tpl" subtree=$item.subtree no_details=true} <hr /> {foreachelse} |
