aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template
diff options
context:
space:
mode:
authorAlfredo Ramos <alfredo.ramos.sanchez@gmail.com>2019-12-29 11:54:07 -0600
committerMarc Alexander <admin@m-a-styles.de>2020-01-01 17:24:57 +0100
commitec694bf8bdc5520931e023ccf5a3ca47d73a08c3 (patch)
treed50c9c33812cad10b69ffadcbd26252b8ee9825e /phpBB/styles/prosilver/template
parent7d90f84306870f9d8fb57426bced1c652fc02c98 (diff)
downloadforums-ec694bf8bdc5520931e023ccf5a3ca47d73a08c3.tar
forums-ec694bf8bdc5520931e023ccf5a3ca47d73a08c3.tar.gz
forums-ec694bf8bdc5520931e023ccf5a3ca47d73a08c3.tar.bz2
forums-ec694bf8bdc5520931e023ccf5a3ca47d73a08c3.tar.xz
forums-ec694bf8bdc5520931e023ccf5a3ca47d73a08c3.zip
[ticket/15592] Fix attachments place inline button if BBCode is disabled
PHPBB3-15592
Diffstat (limited to 'phpBB/styles/prosilver/template')
-rw-r--r--phpBB/styles/prosilver/template/posting_attach_body.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/styles/prosilver/template/posting_attach_body.html b/phpBB/styles/prosilver/template/posting_attach_body.html
index ff5bfe1b55..0363fe0f05 100644
--- a/phpBB/styles/prosilver/template/posting_attach_body.html
+++ b/phpBB/styles/prosilver/template/posting_attach_body.html
@@ -38,7 +38,7 @@
<td class="attach-name">
<span class="file-name ellipsis-text"></span>
<span class="attach-controls">
- <input type="button" value="{L_PLACE_INLINE}" class="button2 hidden file-inline-bbcode" />&nbsp;
+ {% if S_BBCODE_ALLOWED %}<input type="button" value="{{ lang('PLACE_INLINE') }}" class="button2 hidden file-inline-bbcode" />&nbsp;{% endif %}
<input type="button" value="{L_DELETE_FILE}" class="button2 file-delete" />
</span>
<span class="clear"></span>
@@ -64,7 +64,7 @@
<span class="file-name ellipsis-text"><a href="{attach_row.U_VIEW_ATTACHMENT}">{attach_row.FILENAME}</a></span>
{% EVENT posting_attach_body_attach_row_controls_prepend %}
<span class="attach-controls">
- <!-- IF S_INLINE_ATTACHMENT_OPTIONS --><input type="button" value="{L_PLACE_INLINE}" class="button2 file-inline-bbcode" />&nbsp; <!-- ENDIF -->
+ {% if S_BBCODE_ALLOWED and S_INLINE_ATTACHMENT_OPTIONS %}<input type="button" value="{{ lang('PLACE_INLINE') }}" class="button2 file-inline-bbcode" />&nbsp;{% endif %}
<input type="submit" name="delete_file[{attach_row.ASSOC_INDEX}]" value="{L_DELETE_FILE}" class="button2 file-delete" />
</span>
{% EVENT posting_attach_body_attach_row_controls_append %}