| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- $this->styles($this->html->style("/css/signup.css"));
- ?>
- <?php if (isset($key)): ?>
- Confirmation Link: <a href="<?=$link ?>/<?=$key->key ?>"> Link </a>
- <?php else: ?>
- <?php if(isset($user)): ?>
- <?=$this->form->create($user); ?>
- <?php else: ?>
- <?=$this->form->create(); ?>
- <?php endif; ?>
- <?=$this->form->field('username'); ?>
- <?=$this->form->field('newpass', array('type' => 'password', 'label' => 'password')); ?>
- <?=$this->form->field('email'); ?>
- <?=$this->form->submit('Signup!'); ?>
- <?=$this->form->end(); ?>
- <?php endif; ?>
- <!--
- <div id="signup">
- <h2>Sign up:</h2>
- <form method="post" action="/users/signup">
- <table>
- <tr>
- <td><label for="username">Username</label></td>
- <td><input type="text" name="username" id="username">
- </tr>
- <tr>
- <td><label for="password">Password</label></td>
- <td><input type="password" id="password" name="password"></td>
- </tr>
- <tr>
- <td><label for="email">Email</label></td>
- <td><input type="text" id="email" name="email"></td>
- </tr>
- </table>
- <input class="button green" type="submit" value="Sign up">
- </form>
- </div>
- -->
|