From 9fdd2995943cdc09f138adbbdc99e4d7c90cef4b Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 29 Nov 2017 18:46:40 +0100 Subject: [PATCH] Allow cover photos to be disabled, added default image Closes #2484 --- com.woltlab.wcf/userGroupOption.xml | 7 ++ .../install/files/acp/templates/userAdd.tpl | 87 +++++++++++++++++- .../files/images/coverPhotos/default.jpg | Bin 0 -> 41206 bytes .../files/lib/acp/form/UserEditForm.class.php | 63 ++++++++++++- .../files/lib/data/style/Style.class.php | 2 +- .../lib/data/style/StyleEditor.class.php | 2 +- .../files/lib/data/user/User.class.php | 1 + .../system/cronjob/UserBanCronjob.class.php | 16 ++++ wcfsetup/install/lang/de.xml | 8 ++ wcfsetup/install/lang/en.xml | 8 ++ wcfsetup/setup/db/install.sql | 1 + 11 files changed, 188 insertions(+), 7 deletions(-) create mode 100644 wcfsetup/install/files/images/coverPhotos/default.jpg diff --git a/com.woltlab.wcf/userGroupOption.xml b/com.woltlab.wcf/userGroupOption.xml index f695d11524..b1ad0ed58a 100644 --- a/com.woltlab.wcf/userGroupOption.xml +++ b/com.woltlab.wcf/userGroupOption.xml @@ -289,6 +289,13 @@ 1 module_user_signature +