blob: 9f3076ed36460a664ec900ac7782020052ad6c65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
/**
* Elgg text input
* Displays a text input field
*
* @package Elgg
* @subpackage Core
*/
$defaults = array(
'class' => 'input-text',
'disabled' => FALSE,
);
$vars = array_merge($defaults, $vars);
if (!isset($vars['value']) || $vars['value'] === FALSE) {
$vars['value'] = elgg_get_sticky_value($vars['internalname']);
}
?>
<input type="text" <?php echo elgg_format_attributes($vars); ?> />
|