Elgg  Version 1.9
email.php
Go to the documentation of this file.
1 <?php
12 if (isset($vars['class'])) {
13  $vars['class'] = "elgg-input-email {$vars['class']}";
14 } else {
15  $vars['class'] = "elgg-input-email";
16 }
17 
18 $defaults = array(
19  'disabled' => false,
20  'autocapitalize' => 'off',
21  'autocorrect' => 'off',
22 );
23 
24 $vars = array_merge($defaults, $vars);
25 
26 ?>
27 
28 <input type="email" <?php echo elgg_format_attributes($vars); ?> />
$defaults
Definition: email.php:18
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
$vars
Definition: email.php:24
list style type
Definition: admin.php:724
elgg table input[type=checkbox]
Definition: admin.php:392