Пример #1
0
                                <fieldset style="float:left;">
                                    <legend><?php 
_e('Password');
?>
</legend>
                                    <?php 
UserForm::password_text($user);
?>
                                </fieldset>
                                <fieldset style="float:left;">
                                    <legend><?php 
_e('Re-type the password');
?>
 </legend>
                                    <?php 
UserForm::check_password_text($user);
?>
                                </fieldset>
                                <p id="password-error" style="display:none;">
                                    <?php 
_e('Passwords don\'t match');
?>
.
                                </p>
                            </div>

                            <div style="clear: both;"></div>

                            <div style="float: left; width: 50%;">
                                <fieldset>
                                    <legend><?php 
Пример #2
0
?>
</label>
                <div class="controls">
                    <?php 
UserForm::password_text();
?>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="password-2"><?php 
_e('Repeat password', 'pop');
?>
</label>
                <div class="controls">
                    <?php 
UserForm::check_password_text();
?>
                    <p id="password-error" style="display:none;">
                        <?php 
_e("Passwords don't match", 'pop');
?>
                    </p>
                </div>
            </div>
            <?php 
if (count(osc_get_countries()) > 1) {
    ?>
            <div class="control-group">
                <label class="control-label" for=""><?php 
    _e('Country', 'pop');
    ?>