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.php20
1 files changed, 18 insertions, 2 deletions
diff --git a/views/default/input/plaintext.php b/views/default/input/plaintext.php
index 1d907dcfc..cd0a7d6b5 100644
--- a/views/default/input/plaintext.php
+++ b/views/default/input/plaintext.php
@@ -1,6 +1,22 @@
<?php
/**
- *
+ * Elgg long text input
+ * Displays a long text input field
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ *
*/
-echo elgg_view('html/textarea', $vars); \ No newline at end of file
+$defaults = array(
+ 'class' => 'input-plaintext',
+);
+
+$value = $vars['value'];
+unset($vars['value']);
+
+$attributes = html5_get_html_attributes(array_merge($defaults, $vars));
+
+echo "<textarea $attributes>$value</textarea>"; \ No newline at end of file