diff options
| author | Nick Palmer <nick@sluggardy.net> | 2007-04-20 03:21:38 +0000 |
|---|---|---|
| committer | Nick Palmer <nick@sluggardy.net> | 2007-04-20 03:21:38 +0000 |
| commit | 3201ff54cef89492295c2b3d80243b26a68e06ea (patch) | |
| tree | 4fcd88199996a15148c9e93c03ad08d79dc79f1c /templates/edit_textarea.tpl | |
| parent | 354660d40f96c8c91cd9104d55a066159cb42ad4 (diff) | |
| download | liberty-3201ff54cef89492295c2b3d80243b26a68e06ea.tar.gz liberty-3201ff54cef89492295c2b3d80243b26a68e06ea.tar.bz2 liberty-3201ff54cef89492295c2b3d80243b26a68e06ea.zip | |
Improvements to edit_textarea as I go through converting.
Diffstat (limited to 'templates/edit_textarea.tpl')
| -rw-r--r-- | templates/edit_textarea.tpl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/edit_textarea.tpl b/templates/edit_textarea.tpl index 329e940..67bae10 100644 --- a/templates/edit_textarea.tpl +++ b/templates/edit_textarea.tpl @@ -1,5 +1,7 @@ {strip} - {include file="bitpackage:liberty/edit_format.tpl"} + {if !$textarea_noformat} + {include file="bitpackage:liberty/edit_format.tpl"} + {/if} {if $gBitSystem->isFeatureActive('package_smileys')} {include file="bitpackage:smileys/smileys_full.tpl"} @@ -10,8 +12,14 @@ {/if} <div class="row"> + {if !empty($textarea_label)} + {formlabel label=$textarea_label for=$textarea_id} + {/if} {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} {/forminput} </div> {/strip} |
