Created
January 6, 2020 11:07
-
-
Save marc1706/fa8c2ecaf0af532761a3131fb0ec3949 to your computer and use it in GitHub Desktop.
phpBB 3.3.0-RC1 to 3.3.0 prosilver changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment