Sync wyswyig smiley form node template with legacy template
authorMatthias Schmidt <gravatronics@live.com>
Sun, 7 Apr 2019 14:49:17 +0000 (16:49 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 7 Apr 2019 14:49:17 +0000 (16:49 +0200)
See #2852

com.woltlab.wcf/templates/__wysiwygSmileyFormNode.tpl
wcfsetup/install/files/acp/templates/__wysiwygSmileyFormNode.tpl

index eb8d7e6539fed829a59e6ad8b8f8bac614fb2a11..b583d08cb6acb7f5013a06a456b029b1946112ef 100644 (file)
@@ -1,5 +1,5 @@
 <ul class="inlineList smileyList">
-       {foreach from=$node->getSmilies() item=smiley}
-               <li><a title="{lang}{$smiley->smileyTitle}{/lang}" class="jsTooltip jsSmiley">{@$smiley->getHtml()}</a></li>
+       {foreach from=$node->getSmilies() item=smiley name=smilies}
+               <li><a class="jsSmiley" role="button" tabindex="{if $tpl.foreach.smilies.iteration === 1}0{else}-1{/if}">{@$smiley->getHtml('jsTooltip')}</a></li>
        {/foreach}
 </ul>
index eb8d7e6539fed829a59e6ad8b8f8bac614fb2a11..b583d08cb6acb7f5013a06a456b029b1946112ef 100644 (file)
@@ -1,5 +1,5 @@
 <ul class="inlineList smileyList">
-       {foreach from=$node->getSmilies() item=smiley}
-               <li><a title="{lang}{$smiley->smileyTitle}{/lang}" class="jsTooltip jsSmiley">{@$smiley->getHtml()}</a></li>
+       {foreach from=$node->getSmilies() item=smiley name=smilies}
+               <li><a class="jsSmiley" role="button" tabindex="{if $tpl.foreach.smilies.iteration === 1}0{else}-1{/if}">{@$smiley->getHtml('jsTooltip')}</a></li>
        {/foreach}
 </ul>