mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Check for Smiley-Module
This commit is contained in:
parent
3804c61491
commit
f01a58382d
@ -134,15 +134,17 @@
|
|||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div id="timsChatControls" class="wcf-border">
|
<div id="timsChatControls" class="wcf-border">
|
||||||
|
{if MODULE_SMILEY}
|
||||||
<div id="smileyList">
|
<div id="smileyList">
|
||||||
<ul class="smilies">
|
<ul class="smilies">
|
||||||
{foreach from=$smilies item='smiley'}
|
{foreach from=$smilies item='smiley'}
|
||||||
<li>
|
<li>
|
||||||
<img src="{$smiley->getURL()}" alt="{$smiley->smileyCode}" title="{$smiley->smileyCode}" class="jsSmiley" />
|
<img src="{$smiley->getURL()}" alt="{$smiley->smileyCode}" title="{$smiley->smileyTitle}" class="jsSmiley jsTooltip" />
|
||||||
</li>
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
{/if}
|
||||||
<nav id="timsChatOptions">
|
<nav id="timsChatOptions">
|
||||||
<ul class="wcf-smallButtons">
|
<ul class="wcf-smallButtons">
|
||||||
<li>
|
<li>
|
||||||
@ -155,7 +157,7 @@
|
|||||||
<img alt="" src="{icon size='S'}disabled1{/icon}" /> <span>{lang}wcf.chat.notify{/lang}</span>
|
<img alt="" src="{icon size='S'}disabled1{/icon}" /> <span>{lang}wcf.chat.notify{/lang}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li{if !MODULE_SMILEY} style="display: none;"{/if}>
|
||||||
<a id="timsChatSmilies" href="javascript:;" class="timsChatToggle jsTooltip wcf-button" title="{lang}wcf.global.button.disable{/lang}" data-disable-message="{lang}wcf.global.button.disable{/lang}" data-enable-message="{lang}wcf.global.button.enable{/lang}" data-status="1">
|
<a id="timsChatSmilies" href="javascript:;" class="timsChatToggle jsTooltip wcf-button" title="{lang}wcf.global.button.disable{/lang}" data-disable-message="{lang}wcf.global.button.disable{/lang}" data-enable-message="{lang}wcf.global.button.enable{/lang}" data-status="1">
|
||||||
<img alt="" src="{icon size='S'}enabled1{/icon}" /> <span>{lang}wcf.chat.smilies{/lang}</span>
|
<img alt="" src="{icon size='S'}enabled1{/icon}" /> <span>{lang}wcf.chat.smilies{/lang}</span>
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user