From 00a260dc0082ffe9359ef124cd2bcac9637e39da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dark=E2=9D=B6?= Date: Sat, 20 Apr 2019 15:30:24 +0530 Subject: [PATCH] [ticket/16025] Add 2 template events *_author_username_{append/prepend} PHPBB3-16025 --- phpBB/docs/events.md | 42 +++++ .../prosilver/template/posting_review.html | 88 ++++----- .../template/posting_topic_review.html | 178 +++++++++--------- .../prosilver/template/ucp_pm_history.html | 113 ++++++----- 4 files changed, 231 insertions(+), 190 deletions(-) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index fb782ee452..12927c1976 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -1910,6 +1910,20 @@ posting_preview_poll_after * Since: 3.1.7-RC1 * Purpose: Add content after the poll preview block +posting_review_row_post_author_username_append +=== +* Locations: + + styles/prosilver/template/posting_review.html +* Since: 3.2.6 +* Purpose: Append information to post author username of member + +posting_review_row_post_author_username_prepend +=== +* Locations: + + styles/prosilver/template/posting_review.html +* Since: 3.2.6 +* Purpose: Prepend information to post author username of member + posting_topic_review_row_content_after === * Locations: @@ -1917,6 +1931,20 @@ posting_topic_review_row_content_after * Since: 3.2.4-RC1 * Purpose: Add content after the message content in topic review +posting_topic_review_row_post_author_username_append +=== +* Locations: + + styles/prosilver/template/posting_topic_review.html +* Since: 3.2.6 +* Purpose: Append information to post author username of member + +posting_topic_review_row_post_author_username_prepend +=== +* Locations: + + styles/prosilver/template/posting_topic_review.html +* Since: 3.2.6 +* Purpose: Prepend information to post author username of member + posting_topic_review_row_post_details_after === * Locations: @@ -2364,6 +2392,20 @@ ucp_pm_history_review_before * Since: 3.1.6-RC1 * Purpose: Add content before the private messages history review. +ucp_pm_history_row_message_author_username_append +=== +* Locations: + + styles/prosilver/template/ucp_pm_history.html +* Since: 3.2.6 +* Purpose: Append information to message author username of member + +ucp_pm_history_row_message_author_username_prepend +=== +* Locations: + + styles/prosilver/template/ucp_pm_history.html +* Since: 3.2.6 +* Purpose: Prepend information to message author username of member + ucp_pm_viewmessage_avatar_after === * Locations: diff --git a/phpBB/styles/prosilver/template/posting_review.html b/phpBB/styles/prosilver/template/posting_review.html index 1304046b23..3236aa2b7f 100644 --- a/phpBB/styles/prosilver/template/posting_review.html +++ b/phpBB/styles/prosilver/template/posting_review.html @@ -1,44 +1,44 @@ -

{L_POST_REVIEW}

- -

{L_POST_REVIEW_EXPLAIN}

- - - -
-
- {post_review_row.L_IGNORE_POST} - -
-
- - -
-

{post_review_row.POST_SUBJECT}

-

- - {post_review_row.MINI_POST} - - - {post_review_row.MINI_POST} - - - {L_POST_BY_AUTHOR} {post_review_row.POST_AUTHOR_FULL} » {post_review_row.POST_DATE} -

-
{post_review_row.MESSAGE}
- - -
-
{L_ATTACHMENTS}
- -
{post_review_row.attachment.DISPLAY_ATTACHMENT}
- -
- - -
- -
-
- - -
+

{L_POST_REVIEW}

+ +

{L_POST_REVIEW_EXPLAIN}

+ + + +
+
+ {post_review_row.L_IGNORE_POST} + +
+
+ + +
+

{post_review_row.POST_SUBJECT}

+

+ + {post_review_row.MINI_POST} + + + {post_review_row.MINI_POST} + + + {L_POST_BY_AUTHOR} {post_review_row.POST_AUTHOR_FULL} » {post_review_row.POST_DATE} +

+
{post_review_row.MESSAGE}
+ + +
+
{L_ATTACHMENTS}
+ +
{post_review_row.attachment.DISPLAY_ATTACHMENT}
+ +
+ + +
+ +
+
+ + +
diff --git a/phpBB/styles/prosilver/template/posting_topic_review.html b/phpBB/styles/prosilver/template/posting_topic_review.html index 93c4484ff8..ccc80056dd 100644 --- a/phpBB/styles/prosilver/template/posting_topic_review.html +++ b/phpBB/styles/prosilver/template/posting_topic_review.html @@ -1,89 +1,89 @@ - -

- {L_EXPAND_VIEW} - {L_TOPIC_REVIEW}{L_COLON} {TOPIC_TITLE} -

- -
- - - - -
-
- {topic_review_row.L_IGNORE_POST} - -
-
- {topic_review_row.L_DELETE_POST} - -
-
- - -
-

{topic_review_row.POST_SUBJECT}

- - - - - - -

- - {topic_review_row.MINI_POST} - - - {topic_review_row.MINI_POST} - - - {L_POST_BY_AUTHOR} {topic_review_row.POST_AUTHOR_FULL} » {topic_review_row.POST_DATE} -

- - -
{topic_review_row.MESSAGE}
- - - - -
-
{L_ATTACHMENTS}
- -
{topic_review_row.attachment.DISPLAY_ATTACHMENT}
- -
- - - - - -
-
-
- -
- -
- -

- - {L_BACK_TO_TOP} - -

+ +

+ {L_EXPAND_VIEW} + {L_TOPIC_REVIEW}{L_COLON} {TOPIC_TITLE} +

+ +
+ + + + +
+
+ {topic_review_row.L_IGNORE_POST} + +
+
+ {topic_review_row.L_DELETE_POST} + +
+
+ + +
+

{topic_review_row.POST_SUBJECT}

+ + + + + + +

+ + {topic_review_row.MINI_POST} + + + {topic_review_row.MINI_POST} + + + {L_POST_BY_AUTHOR} {topic_review_row.POST_AUTHOR_FULL} » {topic_review_row.POST_DATE} +

+ + +
{topic_review_row.MESSAGE}
+ + + + +
+
{L_ATTACHMENTS}
+ +
{topic_review_row.attachment.DISPLAY_ATTACHMENT}
+ +
+ + + + + +
+
+
+ +
+ +
+ +

+ + {L_BACK_TO_TOP} + +

diff --git a/phpBB/styles/prosilver/template/ucp_pm_history.html b/phpBB/styles/prosilver/template/ucp_pm_history.html index 6362a0b824..a59dae881c 100644 --- a/phpBB/styles/prosilver/template/ucp_pm_history.html +++ b/phpBB/styles/prosilver/template/ucp_pm_history.html @@ -1,57 +1,56 @@ - -

- {L_EXPAND_VIEW} - {L_MESSAGE_HISTORY}{L_COLON} -

- - -
- - -
-
- -
-

class="current">{history_row.SUBJECT}

- - - - - - - - -

- {history_row.MINI_POST} {L_SENT_AT}{L_COLON} {history_row.SENT_DATE} -
- {L_MESSAGE_BY_AUTHOR} {history_row.MESSAGE_AUTHOR_FULL} -

-
{history_row.MESSAGE}{L_MESSAGE_REMOVED_FROM_OUTBOX}
- -
- -
-
- -
- - -
-

- - {L_BACK_TO_TOP} - -

- + +

+ {L_EXPAND_VIEW} + {L_MESSAGE_HISTORY}{L_COLON} +

+ + +
+ + +
+
+ +
+

class="current">{history_row.SUBJECT}

+ + + + + + + + +

+ {history_row.MINI_POST} {L_SENT_AT}{L_COLON} {history_row.SENT_DATE} +
+ {L_MESSAGE_BY_AUTHOR} {history_row.MESSAGE_AUTHOR_FULL} +

+
{history_row.MESSAGE}{L_MESSAGE_REMOVED_FROM_OUTBOX}
+ +
+ +
+
+ +
+ + +
+

+ + {L_BACK_TO_TOP} + +