reset.php 290 B

1234567891011121314
  1. <?php
  2. /**
  3. * Create a reset input button
  4. *
  5. * @package Elgg
  6. * @subpackage Core
  7. *
  8. * @uses $vars['class'] CSS class that replaces elgg-button-cancel
  9. */
  10. $vars['type'] = 'reset';
  11. $vars['class'] = elgg_extract('class', $vars, 'elgg-button-cancel');
  12. echo elgg_view('input/button', $vars);