summaryrefslogtreecommitdiff
path: root/templates/edit_structure_content.tpl
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-03-25 20:50:16 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-03-25 20:50:16 +0000
commitba160d470c5d8d7e05a6a0231b28d27511c913be (patch)
tree47a5986d323153e4fffa15ac2ff5c62ac2fb9ff4 /templates/edit_structure_content.tpl
parent8a11ece2ac1d4b535cf1884fb806fae8d868a551 (diff)
downloadliberty-ba160d470c5d8d7e05a6a0231b28d27511c913be.tar.gz
liberty-ba160d470c5d8d7e05a6a0231b28d27511c913be.tar.bz2
liberty-ba160d470c5d8d7e05a6a0231b28d27511c913be.zip
escape htmlspecialchars on output instead of during store process
Diffstat (limited to 'templates/edit_structure_content.tpl')
-rw-r--r--templates/edit_structure_content.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/edit_structure_content.tpl b/templates/edit_structure_content.tpl
index ce74f30..7855557 100644
--- a/templates/edit_structure_content.tpl
+++ b/templates/edit_structure_content.tpl
@@ -10,7 +10,7 @@
{forminput}
<select name="after_ref_id" id="after_ref_id">
{section name=iy loop=$subpages}
- <option value="{$subpages[iy].structure_id}" {if $insert_after eq $subpages[iy].structure_id}selected="selected"{/if}>{$subpages[iy].title}</option>
+ <option value="{$subpages[iy].structure_id}" {if $insert_after eq $subpages[iy].structure_id}selected="selected"{/if}>{$subpages[iy].title|escape}</option>
{/section}
</select>
{formhelp note=""}
@@ -47,7 +47,7 @@
{section name=ix loop=$subtree}
{if $subtree[ix].pos eq ''}
{if $structureInfo.structure_id eq $subtree[ix].structure_id}<div class="highlight">{/if}
- <a href="{$smarty.server.PHP_SELF}?structure_id={$subtree[ix].structure_id}">{$subtree[ix].title}</a>
+ <a href="{$smarty.server.PHP_SELF}?structure_id={$subtree[ix].structure_id}">{$subtree[ix].title|escape}</a>
{if $structureInfo.structure_id eq $subtree[ix].structure_id}</div>{/if}
{else}
{if $subtree[ix].first}<ul>{else}</li>{/if}
@@ -55,7 +55,7 @@
<li>
{if $structureInfo.structure_id eq $subtree[ix].structure_id}<div class="highlight">{/if}
<strong>{$subtree[ix].pos}</strong>&nbsp;
- <a href="{$smarty.server.PHP_SELF}?structure_id={$subtree[ix].structure_id}">{$subtree[ix].title}</a>
+ <a href="{$smarty.server.PHP_SELF}?structure_id={$subtree[ix].structure_id}">{$subtree[ix].title|escape}</a>
{if $structureInfo.structure_id eq $subtree[ix].structure_id}</div>{/if}
{/if}
{/if}