From b971006b9e20513c040b149e64ececeedaa5559b Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 29 Nov 2017 11:49:46 +0100 Subject: [PATCH] Adjusted cover photo sizes, added description on limits See #2484 --- com.woltlab.wcf/templates/user.tpl | 3 +-- .../user/cover/photo/UserCoverPhoto.class.php | 24 ++++++++++++++++--- .../install/files/lib/page/UserPage.class.php | 4 +++- wcfsetup/install/lang/de.xml | 1 + wcfsetup/install/lang/en.xml | 1 + 5 files changed, 27 insertions(+), 6 deletions(-) diff --git a/com.woltlab.wcf/templates/user.tpl b/com.woltlab.wcf/templates/user.tpl index 91ddf303f1..4056777314 100644 --- a/com.woltlab.wcf/templates/user.tpl +++ b/com.woltlab.wcf/templates/user.tpl @@ -345,8 +345,6 @@ {if MODULE_USER_COVER_PHOTO && $user->userID == $__wcf->user->userID} {if $__wcf->getSession()->getPermission('user.profile.coverPhoto.canUploadCoverPhoto')}
- {lang}wcf.user.coverPhoto.description{/lang} - {if $__wcf->user->disableCoverPhoto}

{lang}wcf.user.coverPhoto.error.disabled{/lang}

{else} @@ -354,6 +352,7 @@ {* placeholder for the upload button *}
+ {lang}wcf.user.coverPhoto.upload.description{/lang} {/if}