</small>
{/if}
<small>{lang}wcf.user.accountManagement.password.description{/lang}</small>
- </dd>
- </dl>
-
- <dl>
- <dt></dt>
- <dd>
- <ul class="buttonList smallButtons">
- <li><a class="button small" href="{link controller='LostPassword'}{/link}"><span>{lang}wcf.user.lostPassword{/lang}</span></a></li>
- </ul>
+ <small><a href="{link controller='LostPassword'}{/link}">{lang}wcf.user.lostPassword{/lang}</a></small>
</dd>
</dl>
});
{if !$__wcf->user->disableAvatar}
- {if $__wcf->getUserProfileHandler()->getAvatar()->canCrop()}
- new WCF.User.Avatar.Upload(0, new WCF.User.Avatar.Crop({@$__wcf->getUserProfileHandler()->getAvatar()->avatarID}));
- {else}
- new WCF.User.Avatar.Upload();
- {/if}
+ {if $__wcf->getUserProfileHandler()->getAvatar()->canCrop()}
+ new WCF.User.Avatar.Upload(0, new WCF.User.Avatar.Crop({@$__wcf->getUserProfileHandler()->getAvatar()->avatarID}));
+ {else}
+ new WCF.User.Avatar.Upload();
+ {/if}
{/if}
});
//]]>
{* No explicit keys were set, use legacy V1 API and WoltLab's OEM keys *}
{if RECAPTCHA_PUBLICKEY === '' || RECAPTCHA_PRIVATEKEY === ''}
<section class="section">
- <h2 class="sectionTitle">{lang}wcf.recaptcha.title{/lang}</h2>
- <small>{lang}wcf.recaptcha.description{/lang}</small>
+ <header class="sectionHeader">
+ <h2 class="sectionTitle">{lang}wcf.recaptcha.title{/lang}</h2>
+ <small class="sectionDescription">{lang}wcf.recaptcha.description{/lang}</small>
+ </header>
<dl class="wide reCaptcha{if $errorField|isset && $errorField == 'recaptchaString'} formError{/if}">
{if !$ajaxCaptcha|isset || !$ajaxCaptcha}
{include file='formError'}
<form method="post" action="{link controller='Register'}{/link}">
- <section class="section">
- <h2 class="sectionTitle">{lang}wcf.user.username{/lang}</h2>
-
+ <div class="section">
<dl{if $errorType.username|isset} class="formError"{/if}>
<dt>
<label for="{@$randomFieldNames[username]}">{lang}wcf.user.username{/lang}</label>
</dl>
{event name='usernameFields'}
- </section>
+ </div>
<section class="section" id="fieldset1">
<header class="sectionHeader">
*/
_updateImage: function(url, canCrop) {
$('#avatarUpload > dt > img').remove();
- var $image = $('<img src="' + url + '" alt="" />').css({
+ var $image = $('<img src="' + url + '" class="userAvatarImage" alt="" />').css({
'height': 'auto',
'max-height': '96px',
'max-width': '96px',
return {
userID: this._userID
};
- },
+ }
});
/**