1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/16358] Hide attachment tab with no filters and display ACP notice

PHPBB3-16358
This commit is contained in:
mrgoldy
2020-02-05 13:03:01 +01:00
parent 7de24bad2e
commit 31cbb60a38
7 changed files with 30 additions and 9 deletions

View File

@@ -50,6 +50,9 @@
<dl>
<dt><label for="{options.KEY}">{options.TITLE}{L_COLON}</label><!-- IF options.S_EXPLAIN --><br /><span>{options.TITLE_EXPLAIN}</span><!-- ENDIF --></dt>
<dd>{options.CONTENT}</dd>
{% if (options.KEY == 'allow_attachments' and S_EMPTY_POST_GROUPS) or (options.KEY == 'allow_pm_attach' and S_EMPTY_PM_GROUPS) %}
<dd><div class="warningbox">{{ lang(options.KEY == 'allow_attachments' ? 'NO_EXT_GROUP_ALLOWED_POST' : 'NO_EXT_GROUP_ALLOWED_PM', U_EXTENSION_GROUPS) }}</div></dd>
{% endif %}
</dl>
<!-- ENDIF -->