summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/mod_whats_related.tpl6
-rw-r--r--templates/assign_content.tpl6
-rw-r--r--templates/edit_pigeonholes.tpl2
-rw-r--r--templates/pigeonholes_input_inc.tpl2
4 files changed, 8 insertions, 8 deletions
diff --git a/modules/mod_whats_related.tpl b/modules/mod_whats_related.tpl
index 68157f7..3275a8f 100644
--- a/modules/mod_whats_related.tpl
+++ b/modules/mod_whats_related.tpl
@@ -1,12 +1,12 @@
-{* $Header: /cvsroot/bitweaver/_bit_pigeonholes/modules/mod_whats_related.tpl,v 1.3 2006/02/04 12:18:31 squareing Exp $ *}
+{* $Header: /cvsroot/bitweaver/_bit_pigeonholes/modules/mod_whats_related.tpl,v 1.4 2006/03/25 20:51:55 squareing Exp $ *}
{strip}
{if $gBitSystem->isFeatureActive( 'display_pigeonhole_members' ) and $modRelatedPigeon}
{bitmodule title="$moduleTitle" name="whats_related"}
{foreach from=$modRelatedPigeon item=pigeonItem}
- <h4>{$pigeonItem.title}</h4>
+ <h4>{$pigeonItem.title|escape}</h4>
<ul>
{foreach from=$pigeonItem.members item=member}
- <li{if $gContent->mContentId == $member.content_id} class="highlight"{/if}><a href="{$smarty.const.BIT_ROOT_URL}index.php?content_id={$member.content_id}">{$member.title}</a></li>
+ <li{if $gContent->mContentId == $member.content_id} class="highlight"{/if}><a href="{$smarty.const.BIT_ROOT_URL}index.php?content_id={$member.content_id}">{$member.title|escape}</a></li>
{/foreach}
</ul>
{/foreach}
diff --git a/templates/assign_content.tpl b/templates/assign_content.tpl
index 72ffc97..93adc28 100644
--- a/templates/assign_content.tpl
+++ b/templates/assign_content.tpl
@@ -75,14 +75,14 @@
<th>{smartlink ititle="Content Type" isort=content_type_guid max_rows=$smarty.request.max_rows content_type=$contentSelect find_objects=$find_objects include=$smarty.request.include page=$page}</th>
{if $assignableContent}
{foreach from=$pigeonList item=pigeon}
- <th><abbr title="{$pigeon.title}">{counter}</abbr></th>
+ <th><abbr title="{$pigeon.title|escape}">{counter}</abbr></th>
{/foreach}
{/if}
</tr>
{foreach from=$assignableContent item=item}
<tr class="{cycle values='odd,even'}">
- <td><a href="{$smarty.const.BIT_ROOT_URL}index.php?content_id={$item.content_id}">{$item.title}</a></td>
+ <td><a href="{$smarty.const.BIT_ROOT_URL}index.php?content_id={$item.content_id}">{$item.title|escape}</a></td>
<td>{assign var=content_type_guid value=`$item.content_type_guid`}{$contentTypes.$content_type_guid}</td>
{foreach from=$pigeonList item=pigeon}
<td style="text-align:center">
@@ -90,7 +90,7 @@
{foreach from=$item.assigned item=parent_id}
{if $pigeon.content_id eq $parent_id}checked="checked"{/if}
{/foreach}
- title="{$pigeon.title}" />
+ title="{$pigeon.title|escape}" />
</td>
{/foreach}
</tr>
diff --git a/templates/edit_pigeonholes.tpl b/templates/edit_pigeonholes.tpl
index 05213c5..59b0c08 100644
--- a/templates/edit_pigeonholes.tpl
+++ b/templates/edit_pigeonholes.tpl
@@ -30,7 +30,7 @@
<div class="row">
{formlabel label="Title" for="pigeonhole-title"}
{forminput}
- <input type="text" size="50" id="pigeonhole-title" name="pigeonhole[title]" value="{$pigeonInfo.title}" />
+ <input type="text" size="50" id="pigeonhole-title" name="pigeonhole[title]" value="{$pigeonInfo.title|escape}" />
{/forminput}
</div>
diff --git a/templates/pigeonholes_input_inc.tpl b/templates/pigeonholes_input_inc.tpl
index 593ce20..f112365 100644
--- a/templates/pigeonholes_input_inc.tpl
+++ b/templates/pigeonholes_input_inc.tpl
@@ -8,7 +8,7 @@
<label>
<input type="checkbox" value="{$pigeonId}" {if $path.0.selected}checked="checked" {/if}name="pigeonholes[pigeonhole][]" />
{foreach from=$path item=node}
- {if $node.parent_id} &raquo;{/if} {$node.title}
+ {if $node.parent_id} &raquo;{/if} {$node.title|escape}
{/foreach}
<br />
</label>