aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/password.php
blob: 62c8fb53dd8714c234a1b777f6962530f1e2b91e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 * Elgg password input
 * Displays a password input field
 *
 * @package Elgg
 * @subpackage Core
 *
 * @uses $vars['value'] The current value, if any
 * @uses $vars['js'] Any Javascript to enter into the input tag
 * @uses $vars['name'] The name of the input field
 *
 */

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

$attrs = array_merge($defaults, $vars);
?>

<input type="password" <?php echo elgg_format_attributes($attrs); ?> />