From 419c4e01ba3a8b8a038cee32c1fce7d1883532c1 Mon Sep 17 00:00:00 2001 From: Evan Winslow Date: Sun, 17 Oct 2010 10:51:18 +0000 Subject: Added checkboxes, form, longtext, option, plaintext, pulldown, and tags input views. Kept things dry by creating a html/tag view that takes care of outputting attributes/body. --- views/default/input/plaintext.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 views/default/input/plaintext.php (limited to 'views/default/input/plaintext.php') 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 @@ + '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 -- cgit v1.2.3