File: phpbb/textformatter/s9e/factory.php
Unmodified
Added
Modified
Removed
Line 356 | Line 356 |
---|
$tag = $configurator->Emoji->getTag(); $tag->template = '<xsl:choose> <xsl:when test="@tseq">
|
$tag = $configurator->Emoji->getTag(); $tag->template = '<xsl:choose> <xsl:when test="@tseq">
|
<img alt="{.}" class="emoji" draggable="false" src="//twemoji.maxcdn.com/2/svg/{@tseq}.svg"/>
| <img alt="{.}" class="emoji" draggable="false" src="//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/{@tseq}.svg"/>
|
</xsl:when> <xsl:otherwise>
|
</xsl:when> <xsl:otherwise>
|
<img alt="{.}" class="emoji" draggable="false" src="https://cdn.jsdelivr.net/gh/s9e/[email protected]/dist/svgz/{@seq}.svgz"/>
| <img alt="{.}" class="emoji" draggable="false" src="//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/{@seq}.svg"/>
|
</xsl:otherwise> </xsl:choose>'; $tag->template = '<xsl:choose><xsl:when test="$S_VIEWSMILIES">' . str_replace('class="emoji"', 'class="emoji smilies"', $tag->template) . '</xsl:when><xsl:otherwise><xsl:value-of select="."/></xsl:otherwise></xsl:choose>';
| </xsl:otherwise> </xsl:choose>'; $tag->template = '<xsl:choose><xsl:when test="$S_VIEWSMILIES">' . str_replace('class="emoji"', 'class="emoji smilies"', $tag->template) . '</xsl:when><xsl:otherwise><xsl:value-of select="."/></xsl:otherwise></xsl:choose>';
|