core/modules/user/template/register.phtml

Summary

Maintainability
Test Coverage
<?php /* @var $this Ajde_Template_Parser_Phtml_Helper */

$this->requireJsPublic('core/complexify/jquery.complexify.banlist.js');
$this->requireJsPublic('core/complexify/jquery.complexify.min.js');

?>

<div class="container">
    <div class="row-fluid">
        <div class="span8 col-8">

            <?php echo $this->ACAjaxForm('user/register', 'registerform', 'form-horizontal well'); ?>
                <fieldset>
                    <legend><?php echo trans('Register for a new account'); ?></legend>

                    <p>
                        Your password, e-mail address and other identifiable information will be encrypted securely.
                    </p>

                    <input type="hidden" name="returnto" id="returnto" value="<?php echo $this->returnto; ?>" />
                    <input type="hidden" name="provider" id="provider" value="<?php echo $this->provider; ?>" />

                    <div class="control-group form-group give-status">
                        <div class="controls col-lg-6">
                            <p class="help-block status-text"></p>
                        </div>
                    </div>

                    <div class="control-group form-group">
                        <label class="control-label col-lg-4" for="in_user"><?php echo trans(ucfirst($this->user->usernameField)); ?></label>
                        <div class="controls col-lg-6">
                            <input type="text" name="<?php echo $this->user->usernameField; ?>" placeholder="" <?php if ($this->username) { echo 'value="' . $this->username . '"'; } ?> required id="in_user" />
                        </div>
                    </div>

                    <?php if (!$this->hidepassword) { ?>
                        <div class="control-group form-group">
                            <label class="control-label col-lg-4" for="in_pass1"><?php echo trans(ucfirst($this->user->passwordField)); ?></label>
                            <div class="controls col-lg-6">
                                <input type="password" name="password" placeholder="****" required id="in_pass1" />
                                <div class='complexity'>
                                    <div class='progressbar'><div class='progress'></div></div>
                                    <div class='class'></div>
                                </div>
                            </div>
                        </div>

                        <div class="control-group form-group">
                            <label class="control-label col-lg-4" for="in_pass2"><?php echo trans('Verify') . ' ' . trans($this->user->passwordField); ?></label>
                            <div class="controls col-lg-6">
                                <input type="password" name="passwordCheck" placeholder="****" required id="in_pass2" />
                            </div>
                        </div>
                    <?php } ?>

                    <div class="control-group form-group">
                        <label class="control-label col-lg-4" for="in_email"><?php echo trans('E-mail'); ?></label>
                        <div class="controls col-lg-6">
                            <input type="text" name="email" required id="in_email" <?php if ($this->email) { echo 'value="' . $this->email . '"'; } ?>  />
                        </div>
                    </div>

                    <div class="control-group form-group">
                        <label class="control-label col-lg-4" for="in_name"><?php echo trans('Full name'); ?></label>
                        <div class="controls col-lg-6">
                            <input type="text" name="fullname" required id="in_name" <?php if ($this->fullname) { echo 'value="' . $this->fullname . '"'; } ?> />
                        </div>
                    </div>

                    <div class="form-actions col-lg-6 col-lg-offset-4 col-offset-4">
                        <button class="btn btn-primary" type="submit"><?php echo trans('register'); ?></button>
                    </div>
                </fieldset>
            </form>

        </div><!--/span-->
        <div class="span4 col-4">

            <h2>Have an account?</h2>
            <p>
                Click the link below to log on with an existing account:
            </p>
            <p>
                <a class='btn btn-success' href="user/logon?returnto=<?php echo $this->returnto; ?>"><?php echo trans('logon'); ?></a>
            </p>

        </div>
    </div>
</div>