From ee013cdefba9b9852746e9e5aa25886f332f4e45 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 8 Oct 2012 19:38:02 +0200 Subject: [PATCH] Added color picker for WCF --- com.woltlab.wcf/acpMenu.xml | 21 - com.woltlab.wcf/userGroupOption.xml | 30 - .../install/files/images/colorPickerBar.png | Bin 0 -> 972 bytes .../files/images/colorPickerGradient.png | Bin 0 -> 12600 bytes wcfsetup/install/files/js/WCF.ColorPicker.js | 628 ++++++++++++++++++ .../lib/data/style/StyleAction.class.php | 52 +- .../style/variable/StyleVariable.class.php | 29 + .../variable/StyleVariableAction.class.php | 20 + .../variable/StyleVariableEditor.class.php | 20 + .../variable/StyleVariableList.class.php | 20 + wcfsetup/install/files/style/colorPicker.less | 121 ++++ wcfsetup/setup/db/install.sql | 2 + 12 files changed, 891 insertions(+), 52 deletions(-) create mode 100644 wcfsetup/install/files/images/colorPickerBar.png create mode 100644 wcfsetup/install/files/images/colorPickerGradient.png create mode 100644 wcfsetup/install/files/js/WCF.ColorPicker.js create mode 100644 wcfsetup/install/files/lib/data/style/variable/StyleVariable.class.php create mode 100644 wcfsetup/install/files/lib/data/style/variable/StyleVariableAction.class.php create mode 100644 wcfsetup/install/files/lib/data/style/variable/StyleVariableEditor.class.php create mode 100644 wcfsetup/install/files/lib/data/style/variable/StyleVariableList.class.php create mode 100644 wcfsetup/install/files/style/colorPicker.less diff --git a/com.woltlab.wcf/acpMenu.xml b/com.woltlab.wcf/acpMenu.xml index 38b8142720..a571b014ec 100644 --- a/com.woltlab.wcf/acpMenu.xml +++ b/com.woltlab.wcf/acpMenu.xml @@ -238,27 +238,6 @@ 3 - - - wcf.acp.menu.link.display - 1 - - - - index.php/StyleList/ - wcf.acp.menu.link.style - admin.style.canEditStyle,admin.style.canDeleteStyle - 1 - - - - index.php/StyleAdd/ - wcf.acp.menu.link.style - admin.style.canAddStyle - 2 - - - 4 diff --git a/com.woltlab.wcf/userGroupOption.xml b/com.woltlab.wcf/userGroupOption.xml index 6c6e3dfcef..957b989aa2 100644 --- a/com.woltlab.wcf/userGroupOption.xml +++ b/com.woltlab.wcf/userGroupOption.xml @@ -44,9 +44,6 @@ admin - - admin.display - admin.display @@ -180,33 +177,6 @@ 1 - - - - - - -