toolbarCanCollapse: false,
enterMode: CKEDITOR.ENTER_BR,
minHeight: 200,
- toolbar: __CKEDITOR_TOOLBAR,
- smiley_images: [
- {implode from=$defaultSmilies item=smiley}'{@$smiley->smileyPath|encodeJS}'{/implode}
- ],
- smiley_descriptions: [
- {implode from=$defaultSmilies item=smiley}'{@$smiley->smileyCode|encodeJS}'{/implode}
- ]
+ toolbar: __CKEDITOR_TOOLBAR
+ {if $defaultSmilies|isset}
+ ,smiley_images: [
+ {implode from=$defaultSmilies item=smiley}'{@$smiley->smileyPath|encodeJS}'{/implode}
+ ],
+ smiley_descriptions: [
+ {implode from=$defaultSmilies item=smiley}'{@$smiley->smileyCode|encodeJS}'{/implode}
+ ]
+ {/if}
};
{event name='javascriptInit'}
{if $__wcf->getBBCodeHandler()->isAvailableBBCode('table')}
$other.push('Table');
{/if}
-{if MODULE_SMILEY && (!$permissionCanUseSmilies|isset || $__wcf->getSession()->getPermission($permissionCanUseSmilies)) && defaultSmilies|count}
+{if MODULE_SMILEY && (!$permissionCanUseSmilies|isset || $__wcf->getSession()->getPermission($permissionCanUseSmilies)) && $defaultSmilies|isset && $defaultSmilies|count}
$other.push('Smiley');
{/if}