From b1e53b673d4b7e810d77f22a5b1e9c2dfae2dccf Mon Sep 17 00:00:00 2001 From: joshuaruesweg Date: Tue, 17 Nov 2020 14:51:28 +0100 Subject: [PATCH] Fix wrong user disable/enable label in user profile --- com.woltlab.wcf/templates/user.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.woltlab.wcf/templates/user.tpl b/com.woltlab.wcf/templates/user.tpl index 08c0e77c8b..e1a24d9ada 100644 --- a/com.woltlab.wcf/templates/user.tpl +++ b/com.woltlab.wcf/templates/user.tpl @@ -308,7 +308,7 @@ {if $__wcf->session->getPermission('admin.user.canDisableAvatar')}
  • {lang}wcf.user.{if $user->disableAvatar}enable{else}disable{/if}Avatar{/lang}
  • {/if} {if $__wcf->session->getPermission('admin.user.canDisableSignature')}
  • {lang}wcf.user.{if $user->disableSignature}enable{else}disable{/if}Signature{/lang}
  • {/if} {if MODULE_USER_COVER_PHOTO && $__wcf->session->getPermission('admin.user.canDisableCoverPhoto')}
  • {lang}wcf.user.{if $user->disableCoverPhoto}enable{else}disable{/if}CoverPhoto{/lang}
  • {/if} - {if $__wcf->session->getPermission('admin.user.canEnableUser')}
  • {lang}wcf.acp.user.{if $user->pendingActivation()}disable{else}enable{/if}{/lang}
  • {/if} + {if $__wcf->session->getPermission('admin.user.canEnableUser')}
  • {lang}wcf.acp.user.{if $user->pendingActivation()}enable{else}disable{/if}{/lang}
  • {/if} {if $__wcf->session->getPermission('admin.general.canUseAcp') && $__wcf->session->getPermission('admin.user.canEditUser')}
  • {lang}wcf.user.edit{/lang}
  • {/if} {/if} -- 2.20.1