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