From 612eee9d26aebd1dd2d2600f20f27e74e2157103 Mon Sep 17 00:00:00 2001 From: Brad Shuttleworth Date: Fri, 22 Sep 2006 15:59:14 +0000 Subject: [PATCH] fix for KTS-1134: quotes are eaten by the "edit" boxes. --- templates/kt3/fields/base.smarty | 2 +- templates/ktcore/boolean_search_edit.smarty | 2 +- templates/ktcore/forms/widgets/selection.smarty | 4 ++-- templates/ktcore/forms/widgets/string.smarty | 2 +- templates/ktcore/forms/widgets/text.smarty | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/kt3/fields/base.smarty b/templates/kt3/fields/base.smarty index 0ed3187..084229e 100644 --- a/templates/kt3/fields/base.smarty +++ b/templates/kt3/fields/base.smarty @@ -11,5 +11,5 @@

{/if} - + diff --git a/templates/ktcore/boolean_search_edit.smarty b/templates/ktcore/boolean_search_edit.smarty index 9e5d08b..f7003b2 100644 --- a/templates/ktcore/boolean_search_edit.smarty +++ b/templates/ktcore/boolean_search_edit.smarty @@ -62,7 +62,7 @@ legend { border: 1px dotted #999;} {if $sNameTitle} - {$sNameTitle}:
+ {$sNameTitle}:
{/if} {capture assign=options} diff --git a/templates/ktcore/forms/widgets/selection.smarty b/templates/ktcore/forms/widgets/selection.smarty index 4b8fdc8..fefda0c 100644 --- a/templates/ktcore/forms/widgets/selection.smarty +++ b/templates/ktcore/forms/widgets/selection.smarty @@ -6,11 +6,11 @@ {if $options.multi}multiple="true"{/if} > {if $options.initial_string} - + {/if} {foreach item=lookup key=lookup_key from=$vocab} - + {/foreach} {/if} diff --git a/templates/ktcore/forms/widgets/string.smarty b/templates/ktcore/forms/widgets/string.smarty index 8bad37a..af34f65 100644 --- a/templates/ktcore/forms/widgets/string.smarty +++ b/templates/ktcore/forms/widgets/string.smarty @@ -1 +1 @@ - + diff --git a/templates/ktcore/forms/widgets/text.smarty b/templates/ktcore/forms/widgets/text.smarty index b269a64..531e564 100644 --- a/templates/ktcore/forms/widgets/text.smarty +++ b/templates/ktcore/forms/widgets/text.smarty @@ -2,4 +2,4 @@ {if $has_id} id="{$id}"{/if} {if $options.rows} rows="{$options.rows}"{else} rows="7"{/if} {if $options.cols} cols="{$options.cols}"{else} cols="45"{/if} - >{if $has_value}{$value}{/if} + >{if $has_value}{$value|htmlentities}{/if} -- libgit2 0.21.4