1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Check for Smiley-Module

This commit is contained in:
Tim Düsterhus 2012-03-04 15:20:38 +01:00
parent 3804c61491
commit f01a58382d

View File

@ -134,15 +134,17 @@
</form> </form>
<div id="timsChatControls" class="wcf-border"> <div id="timsChatControls" class="wcf-border">
<div id="smileyList"> {if MODULE_SMILEY}
<ul class="smilies"> <div id="smileyList">
{foreach from=$smilies item='smiley'} <ul class="smilies">
<li> {foreach from=$smilies item='smiley'}
<img src="{$smiley->getURL()}" alt="{$smiley->smileyCode}" title="{$smiley->smileyCode}" class="jsSmiley" /> <li>
</li> <img src="{$smiley->getURL()}" alt="{$smiley->smileyCode}" title="{$smiley->smileyTitle}" class="jsSmiley jsTooltip" />
{/foreach} </li>
</ul> {/foreach}
</div> </ul>
</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>