<title>Benutzerkonto-Verwaltung</title>
</content>
</page>
+ <page identifier="com.woltlab.wcf.AccountSecurity">
+ <pageType>system</pageType>
+ <controller>wcf\page\AccountSecurityPage</controller>
+ <name language="de">Benutzerkonto-Sicherheit</name>
+ <name language="en">Account Security</name>
+ <content language="en">
+ <title>Account Security</title>
+ </content>
+ <content language="de">
+ <title>Benutzerkonto-Sicherheit</title>
+ </content>
+ </page>
<page identifier="com.woltlab.wcf.AvatarEdit">
<pageType>system</pageType>
<controller>wcf\form\AvatarEditForm</controller>
--- /dev/null
+{include file='userMenuSidebar'}
+
+{include file='header' __disableAds=true __sidebarLeftHasMenu=true}
+
+{* @TODO *}
+
+{include file='footer' __disableAds=true}
<parent>wcf.user.menu.profile</parent>
<showorder>1</showorder>
</usermenuitem>
+ <usermenuitem name="wcf.user.menu.profile.security">
+ <controller>wcf\page\AccountSecurityPage</controller>
+ <parent>wcf.user.menu.profile</parent>
+ <showorder>2</showorder>
+ </usermenuitem>
<usermenuitem name="wcf.user.menu.profile.avatar">
<controller>wcf\form\AvatarEditForm</controller>
<parent>wcf.user.menu.profile</parent>
- <showorder>2</showorder>
+ <showorder>3</showorder>
</usermenuitem>
<usermenuitem name="wcf.user.menu.profile.signature">
<controller>wcf\form\SignatureEditForm</controller>
<parent>wcf.user.menu.profile</parent>
<options>module_user_signature</options>
<permissions>user.signature.canEditSignature</permissions>
- <showorder>3</showorder>
+ <showorder>4</showorder>
</usermenuitem>
<!-- /profile -->
<!-- settings -->
--- /dev/null
+<?php
+namespace wcf\page;
+use wcf\system\menu\user\UserMenu;
+
+/**
+ * Shows the account security page.
+ *
+ * @author Joshua Ruesweg
+ * @copyright 2001-2020 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package WoltLabSuite\Core\Page
+ * @since 5.4
+ */
+class AccountSecurityPage extends AbstractPage {
+ /**
+ * @inheritDoc
+ */
+ public $loginRequired = true;
+
+ /**
+ * @inheritDoc
+ */
+ public function show() {
+ // set active tab
+ UserMenu::getInstance()->setActiveMenuItem('wcf.user.menu.profile.security');
+
+ parent::show();
+ }
+}
<item name="wcf.user.menu.community.ignoredUsers"><![CDATA[Blockierte Benutzer]]></item>
<item name="wcf.user.menu.profile"><![CDATA[Benutzerkonto]]></item>
<item name="wcf.user.menu.profile.accountManagement"><![CDATA[Verwaltung]]></item>
+ <item name="wcf.user.menu.profile.security"><![CDATA[Sicherheit]]></item>
<item name="wcf.user.menu.profile.avatar"><![CDATA[Avatar]]></item>
<item name="wcf.user.menu.profile.signature"><![CDATA[Signatur]]></item>
<item name="wcf.user.menu.settings"><![CDATA[Einstellungen]]></item>
<item name="wcf.user.menu.community.ignoredUsers"><![CDATA[Blocked Users]]></item>
<item name="wcf.user.menu.profile"><![CDATA[User Account]]></item>
<item name="wcf.user.menu.profile.accountManagement"><![CDATA[Account Management]]></item>
+ <item name="wcf.user.menu.profile.security"><![CDATA[Security]]></item>
<item name="wcf.user.menu.profile.avatar"><![CDATA[Avatar]]></item>
<item name="wcf.user.menu.profile.signature"><![CDATA[Signature]]></item>
<item name="wcf.user.menu.settings"><![CDATA[Settings]]></item>