From: Alexander Ebert Date: Thu, 18 Aug 2016 10:51:04 +0000 (+0200) Subject: Removed old permission X-Git-Tag: 3.0.0_Beta_1~696 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0e3213f073ea7e933f0c6fa447fb131715742419;p=GitHub%2FWoltLab%2FWCF.git Removed old permission --- diff --git a/com.woltlab.wcf/templates/messageFormTabsInline.tpl b/com.woltlab.wcf/templates/messageFormTabsInline.tpl index 3caa6a53f8..74f7c54512 100644 --- a/com.woltlab.wcf/templates/messageFormTabsInline.tpl +++ b/com.woltlab.wcf/templates/messageFormTabsInline.tpl @@ -1,5 +1,4 @@ {assign var=smileyCategories value=$__wcf->getSmileyCache()->getVisibleCategories()} -{if !$permissionCanUseSmilies|isset}{assign var=permissionCanUseSmilies value='user.message.canUseSmilies'}{/if} {if !$wysiwygContainerID|isset}{assign var=wysiwygContainerID value='text'}{/if} {if !$wysiwygSelector|isset}{assign var=wysiwygSelector value=$wysiwygContainerID}{/if} @@ -9,7 +8,7 @@
- {if MODULE_SMILEY && $__wcf->getSession()->getPermission($permissionCanUseSmilies) && $smileyCategories|count}{include file='messageFormSmilies'}{/if} + {if MODULE_SMILEY && !$smileyCategories|empty}{include file='messageFormSmilies'}{/if} {if MODULE_ATTACHMENT && !$attachmentHandler|empty && $attachmentHandler->canUpload()}{include file='messageFormAttachments'}{/if} {if $__messageFormSettingsInlineContent}{@$__messageFormSettingsInlineContent}{/if}