diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-05-02 08:17:14 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-05-02 08:17:14 +0000 |
| commit | 391f13d506cf98833c03cd44833ab1b7eb3a0485 (patch) | |
| tree | 048ecb59465bf64a4a9a9ff90a14a4e1b6f72d8f /templates | |
| parent | c1ea547b7d2b08d4db1a83730be40951c399fa84 (diff) | |
| download | liberty-391f13d506cf98833c03cd44833ab1b7eb3a0485.tar.gz liberty-391f13d506cf98833c03cd44833ab1b7eb3a0485.tar.bz2 liberty-391f13d506cf98833c03cd44833ab1b7eb3a0485.zip | |
remove gContent->mInfo.data as default value for textarea. this will insert the data of the content when we're creating a new comment. seems to work without the default. if this default value has a particular reason, we need to find a way to work around this.
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/edit_textarea.tpl | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/templates/edit_textarea.tpl b/templates/edit_textarea.tpl index 67bae10..35831cf 100644 --- a/templates/edit_textarea.tpl +++ b/templates/edit_textarea.tpl @@ -12,14 +12,10 @@ {/if} <div class="row"> - {if !empty($textarea_label)} - {formlabel label=$textarea_label for=$textarea_id} - {/if} + {formlabel label=$textarea_label for=$textarea_id} {forminput} - <textarea {$textarea_attributes} {spellchecker width=$cols height=$rows} id="{$textarea_id|default:$smarty.const.LIBERTY_TEXT_AREA}" name="{$textarea_name|default:edit}" {$textarea_style}>{$textarea_data|default:$gContent->mInfo.data|escape:html}</textarea> - {if !empty($textarea_help)} - {formhelp note=$textarea_help} - {/if} + <textarea {$textarea_attributes} {spellchecker width=$cols height=$rows} id="{$textarea_id|default:$smarty.const.LIBERTY_TEXT_AREA}" name="{$textarea_name|default:edit}" {$textarea_style}>{$textarea_data|escape:html}</textarea> + {formhelp note=$textarea_help} {/forminput} </div> {/strip} |
