Elgg  Version 1.9
password.php
Go to the documentation of this file.
1 <?php
14 if (isset($vars['class'])) {
15  $vars['class'] = "elgg-input-password {$vars['class']}";
16 } else {
17  $vars['class'] = "elgg-input-password";
18 }
19 
20 $defaults = array(
21  'disabled' => false,
22  'value' => '',
23  'autocapitalize' => 'off',
24  'autocorrect' => 'off',
25 );
26 
27 $attrs = array_merge($defaults, $vars);
28 ?>
29 
30 <input type="password" <?php echo elgg_format_attributes($attrs); ?> />
$defaults
Definition: password.php:20
$attrs
Definition: password.php:27
$vars['class']
Displays a password input field.
Definition: password.php:6
elgg echo
Translates a string.
Definition: languages.js:43
elgg_format_attributes(array $attrs=array())
Converts an associative array into a string of well-formed attributes.
Definition: output.php:118
list style type
Definition: admin.php:724
elgg table input[type=checkbox]
Definition: admin.php:392