Elgg
Version 1.9
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
input
tag.php
Go to the documentation of this file.
1
<?php
11
if
(isset(
$vars
[
'class'
])) {
12
$vars
[
'class'
] =
"elgg-input-tag {$vars['class']}"
;
13
}
else
{
14
$vars
[
'class'
] =
"elgg-input-tag"
;
15
}
16
17
$defaults
= array(
18
'value'
=>
''
,
19
'disabled'
=>
false
,
20
'autocapitalize'
=>
'off'
,
21
);
22
23
$vars
= array_merge(
$defaults
,
$vars
);
24
?>
25
26
<
input
type
=
"text"
<?php
echo
elgg_format_attributes
(
$vars
); ?> />
$defaults
$defaults
Definition:
tag.php:17
echo
elgg echo
Translates a string.
Definition:
languages.js:43
$vars
$vars
Definition:
tag.php:23
elgg_format_attributes
elgg_format_attributes(array $attrs=array())
Converts an associative array into a string of well-formed attributes.
Definition:
output.php:118
type
list style type
Definition:
admin.php:724
input
elgg table input[type=checkbox]
Definition:
admin.php:392
Generated on Sat Dec 21 2024 00:00:36 for Elgg by
1.8.11