12345678910111213141516171819202122232425 |
- <?php
- /**
- * Elgg email input
- * Displays an email input field
- *
- * @package Elgg
- * @subpackage Core
- *
- * @uses $vars['class'] Additional CSS class
- */
- $vars['class'] = (array) elgg_extract('class', $vars, []);
- $vars['class'][] = 'elgg-input-email';
- $defaults = array(
- 'disabled' => false,
- 'autocapitalize' => 'off',
- 'autocorrect' => 'off',
- 'type' => 'email'
- );
- $vars = array_merge($defaults, $vars);
- echo elgg_format_element('input', $vars);
|