From a82bf781fa4c9847fbfc443efe6b80d08e0ac109 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 29 Jan 2015 00:48:22 +0100 Subject: [PATCH] Updated user dropdown --- com.woltlab.wcf/package.xml | 1 + com.woltlab.wcf/templates/userPanel.tpl | 40 +++++++++++++------ com.woltlab.wcf/update_2.1.0_Alpha_4.sql | 1 + com.woltlab.wcf/update_210.sql | 2 + com.woltlab.wcf/userMenu.xml | 3 ++ .../install/files/acp/templates/header.tpl | 8 ++-- .../user/menu/item/UserMenuItem.class.php | 9 +++++ ...serMenuPackageInstallationPlugin.class.php | 7 +++- wcfsetup/install/files/style/dropdown.less | 35 +++++++++++++--- wcfsetup/install/lang/de.xml | 1 + wcfsetup/install/lang/en.xml | 1 + wcfsetup/setup/db/install.sql | 1 + 12 files changed, 86 insertions(+), 23 deletions(-) create mode 100644 com.woltlab.wcf/update_2.1.0_Alpha_4.sql diff --git a/com.woltlab.wcf/package.xml b/com.woltlab.wcf/package.xml index 46b756b855..50d264fc73 100644 --- a/com.woltlab.wcf/package.xml +++ b/com.woltlab.wcf/package.xml @@ -96,5 +96,6 @@ language/*.xml option.xml + userMenu.xml diff --git a/com.woltlab.wcf/templates/userPanel.tpl b/com.woltlab.wcf/templates/userPanel.tpl index 0acd451452..a5325212dd 100644 --- a/com.woltlab.wcf/templates/userPanel.tpl +++ b/com.woltlab.wcf/templates/userPanel.tpl @@ -4,7 +4,8 @@ {@$__wcf->getUserProfileHandler()->getAvatar()->getImageTag(24)} {lang}wcf.user.userNote{/lang}
- {$__wcf->user->username} + {lang}wcf.user.controlPanel{/lang} + {hascontent}