1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/13713] Add mention BBCode

PHPBB3-13713
This commit is contained in:
lavigor
2018-05-30 21:58:28 +03:00
committed by Marc Alexander
parent 41b1b32e29
commit 6c42563b4d
6 changed files with 51 additions and 0 deletions

View File

@@ -8,6 +8,22 @@
<!-- BEGIN listitem --><li><!-- END listitem -->
<!-- BEGIN listitem_close --></li><!-- END listitem_close -->
<!-- BEGIN mention -->
<xsl:choose>
<xsl:when test="@profile_url">
<a>
<xsl:attribute name="href"><xsl:value-of select="@profile_url"/></xsl:attribute>
<xsl:apply-templates/>
</a>
</xsl:when>
<xsl:otherwise>
<span>
<xsl:apply-templates/>
</span>
</xsl:otherwise>
</xsl:choose>
<!-- END mention -->
<!-- BEGIN quote_username_open --><blockquote><div><cite>{USERNAME} {L_WROTE}{L_COLON}</cite><!-- END quote_username_open -->
<!-- BEGIN quote_open --><blockquote class="uncited"><div><!-- END quote_open -->
<!-- BEGIN quote_close --></div></blockquote><!-- END quote_close -->