upload.php 425 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * Avatar upload form
  4. *
  5. * @uses $vars['entity']
  6. */
  7. ?>
  8. <div>
  9. <label><?php echo elgg_echo("avatar:upload"); ?></label><br />
  10. <?php echo elgg_view("input/file",array('name' => 'avatar')); ?>
  11. </div>
  12. <div class="elgg-foot">
  13. <?php echo elgg_view('input/hidden', array('name' => 'guid', 'value' => $vars['entity']->guid)); ?>
  14. <?php echo elgg_view('input/submit', array('value' => elgg_echo('upload'))); ?>
  15. </div>