Elgg
Version 1.9
views
default
input
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
$defaults
Definition:
password.php:20
$attrs
$attrs
Definition:
password.php:27
$vars
$vars['class']
Displays a password input field.
Definition:
password.php:6
elgg_format_attributes
elgg_format_attributes(array $attrs=array())
Converts an associative array into a string of well-formed attributes.
Definition:
output.php:118
input
elgg table input[type=checkbox]
Definition:
admin.php:392
type
list style type
Definition:
admin.php:724
Generated on Fri Aug 29 2025 00:00:30 for Elgg by
1.9.1