mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/13821] Remove HTML from PHP files and deduplicate lang variable
PHPBB3-13821
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<div class="post bg3 post-ignore">
|
||||
<div class="inner">
|
||||
{post_review_row.L_IGNORE_POST}<br>
|
||||
<a class="display_post_review" href="{{ post_review_row.U_MINI_POST }}">{{ lang('POST_DISPLAY_TEXT') }}</a>
|
||||
<a class="display_post_review" href="{{ post_review_row.U_MINI_POST }}">{{ lang('POST_DISPLAY') }}</a>
|
||||
<!-- ELSE -->
|
||||
<div class="post <!-- IF post_review_row.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<div class="inner">
|
||||
|
@@ -14,12 +14,12 @@
|
||||
<div class="post bg3 post-ignore">
|
||||
<div class="inner">
|
||||
{topic_review_row.L_IGNORE_POST}<br>
|
||||
<a class="display_post_review" href="{{ post_review_row.U_MINI_POST }}">{{ lang('POST_DISPLAY_TEXT') }}</a>
|
||||
<a class="display_post_review" href="{{ post_review_row.U_MINI_POST }}">{{ lang('POST_DISPLAY') }}</a>
|
||||
<!-- ELSE IF topic_review_row.S_POST_DELETED -->
|
||||
<div class="post bg3 post-ignore">
|
||||
<div class="inner">
|
||||
{topic_review_row.L_DELETE_POST}<br>
|
||||
<a class="display_post_review" href="{{ post_review_row.U_MINI_POST }}">{{ lang('POST_DISPLAY_TEXT') }}</a>
|
||||
<a class="display_post_review" href="{{ post_review_row.U_MINI_POST }}">{{ lang('POST_DISPLAY') }}</a>
|
||||
<!-- ELSE -->
|
||||
<div class="post <!-- IF topic_review_row.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF topic_review_row.POST_ID == REPORTED_POST_ID --> reported<!-- ENDIF -->">
|
||||
<div class="inner">
|
||||
|
@@ -211,13 +211,13 @@
|
||||
<!-- IF postrow.S_POST_HIDDEN -->
|
||||
<!-- IF postrow.S_POST_DELETED -->
|
||||
<div class="ignore" id="post_hidden{postrow.POST_ID}">
|
||||
{postrow.L_POST_DELETED_MESSAGE}<br />
|
||||
{postrow.L_POST_DISPLAY}
|
||||
{postrow.L_POST_DELETED_MESSAGE}<br>
|
||||
<a class="display_post" data-post-id="{{ postrow.POST_ID }}" href="{{ postrow.U_MINI_POST_VIEW }}">{{ lang('POST_DISPLAY') }}</a>
|
||||
</div>
|
||||
<!-- ELSEIF postrow.S_IGNORE_POST -->
|
||||
<div class="ignore" id="post_hidden{postrow.POST_ID}">
|
||||
{postrow.L_IGNORE_POST}<br />
|
||||
{postrow.L_POST_DISPLAY}
|
||||
{postrow.L_IGNORE_POST}<br>
|
||||
<a class="display_post" data-post-id="{{ postrow.POST_ID }}" href="{{ postrow.U_MINI_POST_VIEW }}">{{ lang('POST_DISPLAY') }}</a>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
|
Reference in New Issue
Block a user