Elgg
Version 1.9
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
input
url.php
Go to the documentation of this file.
1
<?php
12
if
(isset(
$vars
[
'class'
])) {
13
$vars
[
'class'
] =
"elgg-input-url {$vars['class']}"
;
14
}
else
{
15
$vars
[
'class'
] =
"elgg-input-url"
;
16
}
17
18
$defaults
= array(
19
'value'
=>
''
,
20
'disabled'
=>
false
,
21
'autocapitalize'
=>
'off'
,
22
'autocorrect'
=>
'off'
,
23
);
24
25
$vars
= array_merge(
$defaults
,
$vars
);
26
27
?>
28
29
<
input
type
=
"url"
<?php
echo
elgg_format_attributes
(
$vars
); ?> />
$defaults
$defaults
Definition:
url.php:18
echo
elgg echo
Translates a string.
Definition:
languages.js:43
elgg_format_attributes
elgg_format_attributes(array $attrs=array())
Converts an associative array into a string of well-formed attributes.
Definition:
output.php:118
$vars
$vars
Definition:
url.php:25
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