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/longtext.php | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 views/default/input/longtext.php (limited to 'views/default/input/longtext.php') diff --git a/views/default/input/longtext.php b/views/default/input/longtext.php new file mode 100644 index 000000000..a19c7dde8 --- /dev/null +++ b/views/default/input/longtext.php @@ -0,0 +1,33 @@ + 'input-textarea', +); + +$overrides = array( + 'tag' => 'textarea', +); + +$args = array_merge($defaults, $vars, $overrides); + +if (isset($args['value'])) { + $args['body'] = $args['value']; +} + +$args['class'] = $args['class'].' input-richtext'; + +echo elgg_view('html/tag', $args); \ No newline at end of file -- cgit v1.2.3