email.php 615 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Modbash Clean Elgg Theme
  4. *
  5. * Copyright (c) 2015 ModBash
  6. *
  7. * @author Shane Barron <admin@modbash.com>
  8. * @copyright 2015 SocialApparatus
  9. * @license GNU General Public License (GPL) version 2
  10. * @version 1
  11. * @link http://modbash.com
  12. */
  13. if (isset($vars['class'])) {
  14. $vars['class'] = "elgg-input-text {$vars['class']}";
  15. } else {
  16. $vars['class'] = "elgg-input-text";
  17. }
  18. $defaults = array(
  19. 'value' => '',
  20. 'disabled' => false,
  21. );
  22. $vars = array_merge($defaults, $vars);
  23. ?>
  24. <input type="email" <?php echo elgg_format_attributes($vars); ?> />