~joshli/coalgames/trunk

« back to all changes in this revision

Viewing changes to cg-content/themes/avacado/register.php

  • Committer: Joshua Li
  • Date: 2010-02-19 04:27:55 UTC
  • Revision ID: joshli@joshtime.com-20100219042755-ezg72431th2vu7t7
A finally working reset password.
A mail is sent out with a link to the reset password page. It is a very secure page.
Many items have been changed here and there so that this page fits.
Many new comments added.
Forgot to add some stuff a while ago
Added a new item to cg-settings called on.mail. If false, then no mail will be sent.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    <p></p>
32
32
        <p class="error"><?php echo esc_attr(cg_form_error( 'username' )); ?></p>
33
33
 
34
 
    <p><label>Password</label><input type="password" name="password1" size="30" maxlength="<?php echo $cg_settings['user.max_password'];; ?>" /></p>
 
34
    <p><label>Password</label><input type="password" name="password1" size="30" maxlength="<?php echo $cg_settings['user.max_password']; ?>" /></p>
35
35
    <p>Your password must be a minimum of <?php echo $cg_settings['user.min_username']; ?> characters.</p>
36
36
    <p class="error"><?php echo esc_attr(cg_form_error( 'password1' )); ?></p>
37
37