diff options
author | Marc Alexander <admin@m-a-styles.de> | 2020-01-01 16:47:40 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2020-01-01 16:47:40 +0100 |
commit | 372a3bfcde0c7ec79cd4040434128da3a675d63c (patch) | |
tree | 959bb23d32820418268dff83b048a147cf177d32 /phpBB/styles | |
parent | 7ae750214661214984e7944ef86698087ac7d2bd (diff) | |
parent | cfdc1ef62af394f9d05206388d594fb6ea976824 (diff) | |
download | forums-372a3bfcde0c7ec79cd4040434128da3a675d63c.tar forums-372a3bfcde0c7ec79cd4040434128da3a675d63c.tar.gz forums-372a3bfcde0c7ec79cd4040434128da3a675d63c.tar.bz2 forums-372a3bfcde0c7ec79cd4040434128da3a675d63c.tar.xz forums-372a3bfcde0c7ec79cd4040434128da3a675d63c.zip |
Merge branch '3.2.x' into 3.3.x
Diffstat (limited to 'phpBB/styles')
-rw-r--r-- | phpBB/styles/prosilver/template/posting_attach_body.html | 4 |
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" /> + {% if S_BBCODE_ALLOWED %}<input type="button" value="{{ lang('PLACE_INLINE') }}" class="button2 hidden file-inline-bbcode" /> {% 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" /> <!-- ENDIF --> + {% if S_BBCODE_ALLOWED and S_INLINE_ATTACHMENT_OPTIONS %}<input type="button" value="{{ lang('PLACE_INLINE') }}" class="button2 file-inline-bbcode" /> {% 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 %} |