From 91fa523cf03b453cedec5dcd728aaf3c2a627d74 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 12 Jun 2017 14:55:46 +0200 Subject: [PATCH] Implemented support for custom favicons See #2257 --- com.woltlab.wcf/templates/headInclude.tpl | 2 +- wcfsetup/install/files/acp/style/layout.scss | 3 +- .../install/files/acp/templates/styleAdd.tpl | 24 ++- .../images/favicon/default.browserconfig.xml | 2 +- .../images/favicon/default.manifest.json | 4 +- .../Core/Acp/Ui/Style/Favicon/Upload.js | 68 ++++++++ .../lib/data/style/ActiveStyle.class.php | 25 --- .../files/lib/data/style/Style.class.php | 28 ++++ .../lib/data/style/StyleAction.class.php | 157 ++++++++++++++++++ wcfsetup/install/lang/de.xml | 5 + wcfsetup/install/lang/en.xml | 5 + 11 files changed, 292 insertions(+), 31 deletions(-) create mode 100644 wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Ui/Style/Favicon/Upload.js diff --git a/com.woltlab.wcf/templates/headInclude.tpl b/com.woltlab.wcf/templates/headInclude.tpl index f08fbf457f..aaf222d949 100644 --- a/com.woltlab.wcf/templates/headInclude.tpl +++ b/com.woltlab.wcf/templates/headInclude.tpl @@ -32,7 +32,7 @@ - +