From d802ca93dd49463642a35489e8be5423aee86ede Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sun, 7 Sep 2014 20:24:44 +0200 Subject: [PATCH] Option/user option/ACP menu overhaul --- com.woltlab.wcf/acpMenu.xml | 117 +++++++++--------- com.woltlab.wcf/option.xml | 10 +- com.woltlab.wcf/userGroupOption.xml | 98 +++++++-------- .../files/lib/acp/form/AdAddForm.class.php | 2 +- .../lib/acp/form/NoticeAddForm.class.php | 2 +- .../files/lib/acp/page/AdListPage.class.php | 2 +- .../lib/acp/page/NoticeListPage.class.php | 2 +- .../files/lib/data/ad/AdAction.class.php | 4 +- .../lib/data/notice/NoticeAction.class.php | 4 +- .../files/lib/form/RecaptchaForm.class.php | 2 +- .../system/captcha/RecaptchaHandler.class.php | 2 +- wcfsetup/install/lang/de.xml | 10 +- wcfsetup/install/lang/en.xml | 10 +- 13 files changed, 123 insertions(+), 142 deletions(-) diff --git a/com.woltlab.wcf/acpMenu.xml b/com.woltlab.wcf/acpMenu.xml index 3f4cc03c92..69229f1cbe 100644 --- a/com.woltlab.wcf/acpMenu.xml +++ b/com.woltlab.wcf/acpMenu.xml @@ -81,10 +81,25 @@ + + wcf.acp.menu.link.system + 4 + + + wcf.acp.menu.link.captcha + + admin.captcha.canManageCaptchaQuestion + + + wcf.acp.menu.link.captcha + + admin.captcha.canManageCaptchaQuestion + + wcf.acp.menu.link.system - 4 + 5 @@ -109,7 +124,7 @@ wcf.acp.menu.link.system - 5 + 6 @@ -277,14 +292,40 @@ + + wcf.acp.menu.link.user + 5 + + + + wcf.acp.menu.link.notice + admin.notice.canManageNotice + + + + wcf.acp.menu.link.notice + admin.notice.canManageNotice + + 3 + + wcf.acp.menu.link.display + 1 + + + + wcf.acp.menu.link.dashboard + + admin.content.dashboard.canEditDashboard + + wcf.acp.menu.link.display - 1 + 2 @@ -309,7 +350,7 @@ wcf.acp.menu.link.display - 2 + 3 @@ -328,7 +369,7 @@ wcf.acp.menu.link.display - 3 + 4 @@ -355,7 +396,7 @@ wcf.acp.menu.link.display - 4 + 5 @@ -391,22 +432,23 @@ wcf.acp.menu.link.language.server admin.language.canManageLanguage --> + - + wcf.acp.menu.link.display - 5 + module_ad + 6 - - wcf.acp.menu.link.captcha - - admin.captcha.canManageCaptchaQuestion + + + wcf.acp.menu.link.ad + admin.ad.canManageAd - - wcf.acp.menu.link.captcha - - admin.captcha.canManageCaptchaQuestion + + + wcf.acp.menu.link.ad + admin.ad.canManageAd - 4 @@ -517,49 +559,8 @@ admin.attachment.canManageAttachment - - wcf.acp.menu.link.content - 6 - - - - wcf.acp.menu.link.notice - admin.content.notice.canManageNotice - - - - wcf.acp.menu.link.notice - admin.content.notice.canManageNotice - - - - wcf.acp.menu.link.content - module_ad - 7 - - - - wcf.acp.menu.link.ad - admin.content.ad.canManageAd - - - - wcf.acp.menu.link.ad - admin.content.ad.canManageAd - - 5 - - - wcf.acp.menu.link.community - - - - wcf.acp.menu.link.dashboard - - admin.content.dashboard.canEditDashboard - diff --git a/com.woltlab.wcf/option.xml b/com.woltlab.wcf/option.xml index 3de93ba5a8..a119536fff 100644 --- a/com.woltlab.wcf/option.xml +++ b/com.woltlab.wcf/option.xml @@ -155,7 +155,6 @@ security.antispam - module_system_recaptcha @@ -264,10 +263,11 @@ 0 - @@ -355,9 +355,9 @@ diff --git a/com.woltlab.wcf/userGroupOption.xml b/com.woltlab.wcf/userGroupOption.xml index 944c3525a4..a547ae68ba 100644 --- a/com.woltlab.wcf/userGroupOption.xml +++ b/com.woltlab.wcf/userGroupOption.xml @@ -59,61 +59,52 @@ admin.user - + admin.user - + admin.user admin - + admin.display - + admin.display - - admin.display - - + admin.display admin - - admin.content - - - admin.content - - + admin.content - + admin.content - + admin.content - + admin.content - + admin.content - + admin.content admin - + admin.display @@ -148,7 +139,7 @@ 1 - + + + + - - - -