aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/text.php
blob: e5af723beb3a0e18ea76011a3b9340865a7d5599 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
/**
 * Elgg text input
 * Displays a text input field
 *
 * @package Elgg
 * @subpackage Core
 */

$defaults = array(
	'class' => 'elgg-input-text',
	'disabled' => FALSE,
);

$vars = array_merge($defaults, $vars);

?>

<input type="text" <?php echo elgg_format_attributes($vars); ?> />