From 0e3213f073ea7e933f0c6fa447fb131715742419 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 18 Aug 2016 12:51:04 +0200 Subject: [PATCH] Removed old permission --- com.woltlab.wcf/templates/messageFormTabsInline.tpl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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} -- 2.20.1