aboutsummaryrefslogtreecommitdiff
path: root/views/default/html/textarea.php
diff options
context:
space:
mode:
authorEvan Winslow <evan.b.winslow@gmail.com>2010-10-19 00:38:13 +0000
committerEvan Winslow <evan.b.winslow@gmail.com>2010-10-19 00:38:13 +0000
commit4e34bacad758404f7a713e31d2ff5864c0d91c30 (patch)
tree3dcca816eff365125fa3b725a08f687586c7d45b /views/default/html/textarea.php
parent6cf50446e4071095c0b18a76038fb96de5a10475 (diff)
downloadelgg-4e34bacad758404f7a713e31d2ff5864c0d91c30.tar.gz
elgg-4e34bacad758404f7a713e31d2ff5864c0d91c30.tar.bz2
Updated to new directory structure
Diffstat (limited to 'views/default/html/textarea.php')
-rw-r--r--views/default/html/textarea.php16
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