Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Labradoodle-360; Quick Register
- function template_quickregister()
- {
- // Globalize what we need...
- global $scripturl, $context, $txt, $modSettings;
- echo '<div class="cat_bar" style="height: 28px; margin-bottom: -1px;">
- <h3 class="catbg">Quick Register</h3>
- </div>
- <div class="roundframe">
- <div class="innerframe">
- <div class="content">
- <form action="', $scripturl, '?action=register2" method="post" accept-charset="', $context['character_set'], '" name="registration" id="registration">
- <div style="width: 100%; border-bottom: 1px solid #ccc; color: #70A2FF; margin-bottom: 7px; font-weight: bold;">
- ', !empty($context['quick_register']['visual_verification']) ? '<div class="floatleft" style="width: 50%; text-align: left;">'. $txt['visual_verification']. '</div>' : '', '
- <div', !empty($context['quick_register']['visual_verification']) ? ' class="floatright" style="width: 50%; text-align: left;"' : ' style="text-align: left; width: 100%;"', '>', $txt['required_fields'], '</div>
- ', !empty($context['quick_register']['visual_verification']) ? '<br class="clear" />' : '', '
- </div>
- <div class="', !empty($context['quick_register']['visual_verification']) ? 'floatright' : 'floatleft', '" style="width: 60%;">
- <div style="margin-bottom: 6px;">
- <label for="smf_autov_username"><strong>Username:</strong></label>
- <input type="text" name="user" id="smf_autov_username" size="30" tabindex="', $context['tabindex']++, '" maxlength="25" class="input_text" />
- <label for="smf_autov_reserve1"><strong>Email:</strong></label>
- <input type="text" name="email" id="smf_autov_reserve1" size="30" tabindex="', $context['tabindex']++, '" class="input_text" />
- </div>
- <div>
- <label for="smf_autov_pwmain"><strong>Password:</strong></label>
- <input type="password" name="passwrd1" id="smf_autov_pwmain" size="30" tabindex="', $context['tabindex']++, '" class="input_password" />
- <label for="smf_autov_pwverify"><strong>Confirm Password:</strong></label>
- <input type="password" name="passwrd2" id="smf_autov_pwverify" size="30" tabindex="', $context['tabindex']++, '" class="input_password" />
- </div>
- </div>
- ', !empty($context['quick_register']['visual_verification']) ? '<div class="floatleft" style="width: 40%; text-align: left;">'. template_control_verification($context['quick_register']['visual_verification_id'], 'all'). '</div>' : '', '
- <br class="clear" />
- <br />
- <div style="width: 100%; text-align: right;">
- <input type="submit" name="regSubmit" value="', $txt['register'], '" tabindex="', $context['tabindex']++, '" class="button_submit" />
- </div>
- </form>
- </div>
- </div>
- </div>
- <span class="lowerframe"><span></span></span>';
- }
- // End Labradoodle-360; Quick Register
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement