aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/longtext.php
blob: 6366f8a3da1aa3a13cc4b88596c97880f0a4d88a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
/**
 * Elgg long text input
 * Displays a long text input field
 *
 * @package Elgg
 * @subpackage Core
 * @author Curverider Ltd
 * @link http://elgg.org/
 *
 * @uses $vars['value'] The current value, if any
 * @uses $vars['js'] Any Javascript to enter into the input tag
 * @uses $vars['internalname'] The name of the input field
 *
 */

$defaults = array(
	'class' => 'input-richtext',
);

echo elgg_view('html/textarea', array_merge($defaults, $vars));