Commit edd6e2b8563d9ae108c99228fc65ab015ccc2729
1 parent
c31c6897
Allow for the textarea columns and rows to be passed as options.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4106 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
6 additions
and
2 deletions
templates/kt3/fields/text.smarty
| @@ -11,6 +11,10 @@ | @@ -11,6 +11,10 @@ | ||
| 11 | <p class="errorMessage"></p> | 11 | <p class="errorMessage"></p> |
| 12 | {/if} | 12 | {/if} |
| 13 | 13 | ||
| 14 | - <textarea name="{$name}" {if $has_id}id="{$id}"{/if}>{if $has_value}{$value}{/if}</textarea> | 14 | + <textarea name="{$name}" |
| 15 | + {if $has_id} id="{$id}"{/if} | ||
| 16 | + {if $options.rows} rows="{$options.rows}"{/if} | ||
| 17 | + {if $options.cols} cols="{$options.cols}"{/if} | ||
| 18 | + >{if $has_value}{$value}{/if}</textarea> | ||
| 15 | <input type="hidden" name="kt_core_fieldsets_expect[{$name}]" value ="1" /> | 19 | <input type="hidden" name="kt_core_fieldsets_expect[{$name}]" value ="1" /> |
| 16 | - </div> | ||
| 17 | \ No newline at end of file | 20 | \ No newline at end of file |
| 21 | + </div> |