signup.html.php 645 B

1234567891011121314151617
  1. <?php if (isset($key)): ?>
  2. Confirmation Link: <a href="<?=$link ?>/<?=$key->key ?>"> Link </a>
  3. <?php else: ?>
  4. <?php if(isset($user)): ?>
  5. <?=$this->form->create($user); ?>
  6. <?php else: ?>
  7. <?=$this->form->create(); ?>
  8. <?php endif; ?>
  9. <?=$this->form->field('username'); ?>
  10. <?=$this->form->field('password', array('type' => 'password')); ?>
  11. <?=$this->form->field('email'); ?>
  12. <!-- This needs to be moved to the admin panel
  13. <?=$this->form->select('level', array('User' => 'User', 'Mod' => 'Mod', 'Admin' => 'Admin', 'root' => 'Root'), array('value' => 1)); ?>
  14. -->
  15. <?=$this->form->submit('Signup!'); ?>
  16. <?=$this->form->end(); ?>
  17. <?php endif; ?>