From 315c6dc0d6c20cebcfeeb9d8b411f96b41aedd94 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 29 Apr 2013 19:09:02 +0200 Subject: [PATCH] Group option overhaul --- com.woltlab.wcf/acpMenu.xml | 12 ++--- com.woltlab.wcf/userGroupOption.xml | 28 ++---------- .../install/files/acp/templates/styleAdd.tpl | 32 ++++++-------- .../files/acp/templates/styleImport.tpl | 20 +++------ .../install/files/acp/templates/styleList.tpl | 44 +++++++------------ .../acp/form/LanguageServerAddForm.class.php | 2 +- .../acp/form/LanguageServerEditForm.class.php | 2 +- .../files/lib/acp/form/StyleAddForm.class.php | 2 +- .../lib/acp/form/StyleEditForm.class.php | 2 +- .../lib/acp/form/StyleExportForm.class.php | 2 +- .../lib/acp/form/StyleImportForm.class.php | 2 +- .../form/UserOptionCategoryAddForm.class.php | 2 +- .../acp/page/LanguageServerListPage.class.php | 2 +- .../lib/acp/page/StyleListPage.class.php | 2 +- .../page/UserOptionCategoryListPage.class.php | 2 +- .../server/LanguageServerAction.class.php | 6 +-- .../lib/data/style/StyleAction.class.php | 10 ++--- .../UserOptionCategoryAction.class.php | 6 +-- wcfsetup/install/lang/de.xml | 1 - wcfsetup/install/lang/en.xml | 1 - 20 files changed, 66 insertions(+), 114 deletions(-) diff --git a/com.woltlab.wcf/acpMenu.xml b/com.woltlab.wcf/acpMenu.xml index 39de7fadec..9d52085e89 100644 --- a/com.woltlab.wcf/acpMenu.xml +++ b/com.woltlab.wcf/acpMenu.xml @@ -250,12 +250,12 @@ wcf.acp.menu.link.user.option - admin.user.canManageUserOptionCategory + admin.user.canManageUserOption wcf.acp.menu.link.user.option - admin.user.canManageUserOptionCategory + admin.user.canManageUserOption @@ -298,21 +298,21 @@ wcf.acp.menu.link.style - admin.style.canEditStyle,admin.style.canDeleteStyle + admin.style.canManageStyle 1 wcf.acp.menu.link.style - admin.style.canAddStyle + admin.style.canManageStyle 2 wcf.acp.menu.link.style - admin.style.canAddStyle + admin.style.canManageStyle 3 @@ -379,7 +379,7 @@ wcf.acp.menu.link.language.server - admin.language.canManageServer + admin.language.canManageLanguage diff --git a/com.woltlab.wcf/userGroupOption.xml b/com.woltlab.wcf/userGroupOption.xml index c40358e2bd..2486d60c75 100644 --- a/com.woltlab.wcf/userGroupOption.xml +++ b/com.woltlab.wcf/userGroupOption.xml @@ -183,12 +183,6 @@ 0 1 - - - - - + +