mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 05:34:01 +02:00
[ticket/13713] Introduce ACP settings for mentions
PHPBB3-13713
This commit is contained in:
@@ -310,8 +310,8 @@ class factory implements \phpbb\textformatter\cache_interface
|
||||
$configurator->tags['QUOTE']->nestingLimit = PHP_INT_MAX;
|
||||
}
|
||||
|
||||
// Modify the template to disable images/flash depending on user's settings
|
||||
foreach (array('FLASH', 'IMG') as $name)
|
||||
// Modify the template to disable images/flash/mentions depending on user's settings
|
||||
foreach (array('FLASH', 'IMG', 'MENTION') as $name)
|
||||
{
|
||||
$tag = $configurator->tags[$name];
|
||||
$tag->template = '<xsl:choose><xsl:when test="$S_VIEW' . $name . '">' . $tag->template . '</xsl:when><xsl:otherwise><xsl:apply-templates/></xsl:otherwise></xsl:choose>';
|
||||
|
Reference in New Issue
Block a user