From 95d803b7786c787ac0725b4bb227fd0684befa01 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 22 Jul 2020 15:03:58 +0200 Subject: [PATCH] Use modern UploadHandler to update style favicon --- .../install/files/acp/templates/styleAdd.tpl | 48 ++-- .../files/images/favicon/corsProxy.php | 11 +- .../Core/Acp/Ui/Style/Favicon/Upload.js | 59 ----- .../files/lib/acp/form/StyleAddForm.class.php | 43 +++- .../lib/acp/form/StyleEditForm.class.php | 12 + .../files/lib/data/style/Style.class.php | 8 +- .../lib/data/style/StyleAction.class.php | 217 ++++++------------ 7 files changed, 163 insertions(+), 235 deletions(-) delete mode 100644 wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Ui/Style/Favicon/Upload.js diff --git a/wcfsetup/install/files/acp/templates/styleAdd.tpl b/wcfsetup/install/files/acp/templates/styleAdd.tpl index 4bfd920cd3..8fd207f570 100644 --- a/wcfsetup/install/files/acp/templates/styleAdd.tpl +++ b/wcfsetup/install/files/acp/templates/styleAdd.tpl @@ -6,10 +6,8 @@ {js application='wcf' file='WCF.ColorPicker' bundle='WCF.Combined'}