diff options
Diffstat (limited to 'views/default/html/textarea.php')
-rw-r--r-- | views/default/html/textarea.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/views/default/html/textarea.php b/views/default/html/textarea.php new file mode 100644 index 000000000..0c3813246 --- /dev/null +++ b/views/default/html/textarea.php @@ -0,0 +1,16 @@ +<?php +$defaults = array( + 'body' => '', + 'class' => 'input-textarea', +); + +$overrides = array( + 'tag' => 'textarea', +); + +if (isset($vars['value'])) { + $vars['body'] = $vars['value']; + unset($vars['value']); +} + +echo elgg_view('html/tag', array_merge($defaults, $vars, $overrides));
\ No newline at end of file |