mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-29 02:59:52 +02:00
[ticket/13713] Remove mention colors to reduce the cache size
PHPBB3-13713
This commit is contained in:
@@ -87,7 +87,6 @@ class factory implements \phpbb\textformatter\cache_interface
|
||||
'mention' =>
|
||||
"[MENTION={PARSE=/^(?<type>[ug]):(?<id>\d+)$/}
|
||||
profile_url={URL;optional;postFilter=#false}
|
||||
color={COLOR;optional}
|
||||
]{TEXT}[/MENTION]",
|
||||
'quote' =>
|
||||
"[QUOTE
|
||||
@@ -136,9 +135,6 @@ class factory implements \phpbb\textformatter\cache_interface
|
||||
<xsl:when test="@profile_url">
|
||||
<a class="mention">
|
||||
<xsl:attribute name="href"><xsl:value-of select="@profile_url"/></xsl:attribute>
|
||||
<xsl:if test="@color">
|
||||
<xsl:attribute name="style">color: #<xsl:value-of select="@color"/>;</xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:apply-templates/>
|
||||
</a>
|
||||
</xsl:when>
|
||||
|
Reference in New Issue
Block a user