-{include file='documentHeader'}
-
-<head>
- <title>{lang}wcf.user.avatar.edit{/lang} - {lang}wcf.user.usercp{/lang} - {PAGE_TITLE|language}</title>
-
- {include file='headInclude'}
-</head>
-
-<body id="tpl{$templateName|ucfirst}" data-template="{$templateName}" data-application="{$templateNameApplication}">
-
{include file='userMenuSidebar'}
{include file='header'}
-<header class="contentHeader">
- <h1 class="contentTitle">{lang}wcf.user.avatar.edit{/lang}</h1>
-</header>
-
-{include file='userNotice'}
-
{if $__wcf->user->disableAvatar}
<p class="error">{lang}wcf.user.avatar.error.disabled{/lang}</p>
{/if}
<p class="success">{lang}wcf.global.success.edit{/lang}</p>
{/if}
-<div class="contentNavigation">
- {hascontent}
- <nav>
- <ul>
- {content}
- {event name='contentNavigationButtons'}
- {/content}
- </ul>
- </nav>
- {/hascontent}
-</div>
-
<form method="post" action="{link controller='AvatarEdit'}{/link}" id="avatarForm">
- <section class="section avatarEdit">
- <h2 class="sectionTitle">{lang}wcf.user.avatar{/lang}</h2>
-
+ <div class="section avatarEdit">
<dl class="avatarType">
<dt></dt>
<dd>
{/if}
{event name='avatarFields'}
- </section>
+ </div>
{event name='sections'}
{/if}
</form>
-{include file='footer'}
-
{if $__wcf->getSession()->getPermission('user.profile.avatar.canUploadAvatar')}
<script data-relocate="true">
//<![CDATA[
</script>
{/if}
-</body>
-</html>
+{include file='footer'}