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 1/4] [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} + +

From 60985030803194b8c4709126b339f00345df78b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dark=E2=9D=B6?= Date: Sat, 20 Apr 2019 15:35:01 +0530 Subject: [PATCH 2/4] [ticket/16025] Add 2 template events *_author_username_{append/prepend} PHPBB3-16025 --- .../prosilver/template/posting_review.html | 88 ++++----- .../template/posting_topic_review.html | 178 +++++++++--------- .../prosilver/template/ucp_pm_history.html | 112 +++++------ 3 files changed, 189 insertions(+), 189 deletions(-) diff --git a/phpBB/styles/prosilver/template/posting_review.html b/phpBB/styles/prosilver/template/posting_review.html index 3236aa2b7f..033a88485e 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 ccc80056dd..8faece3447 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 a59dae881c..3a417886d3 100644 --- a/phpBB/styles/prosilver/template/ucp_pm_history.html +++ b/phpBB/styles/prosilver/template/ucp_pm_history.html @@ -1,56 +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} + +

From 37e3e9711cd079cc577887e9565b13107f063b41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dark=E2=9D=B6?= Date: Sat, 20 Apr 2019 16:44:03 +0530 Subject: [PATCH 3/4] [ticket/16025] Add 2 template events *_author_username_{append/prepend} PHPBB3-16025 --- phpBB/styles/prosilver/template/ucp_pm_history.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/styles/prosilver/template/ucp_pm_history.html b/phpBB/styles/prosilver/template/ucp_pm_history.html index 3a417886d3..b53eb0c7ec 100644 --- a/phpBB/styles/prosilver/template/ucp_pm_history.html +++ b/phpBB/styles/prosilver/template/ucp_pm_history.html @@ -36,7 +36,7 @@

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

{history_row.MESSAGE}{L_MESSAGE_REMOVED_FROM_OUTBOX}
From fd0d9e99673b4a7a44b19a022d8ef915b874daa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dark=E2=9D=B6?= Date: Tue, 7 May 2019 20:56:30 +0530 Subject: [PATCH 4/4] [ticket/16025] Add 2 template events *_author_username_{append/prepend} PHPBB3-16025 --- phpBB/docs/events.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 12927c1976..c77691a048 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -1914,14 +1914,14 @@ posting_review_row_post_author_username_append === * Locations: + styles/prosilver/template/posting_review.html -* Since: 3.2.6 +* Since: 3.2.8-RC1 * 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 +* Since: 3.2.8-RC1 * Purpose: Prepend information to post author username of member posting_topic_review_row_content_after @@ -1935,14 +1935,14 @@ posting_topic_review_row_post_author_username_append === * Locations: + styles/prosilver/template/posting_topic_review.html -* Since: 3.2.6 +* Since: 3.2.8-RC1 * 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 +* Since: 3.2.8-RC1 * Purpose: Prepend information to post author username of member posting_topic_review_row_post_details_after @@ -2396,14 +2396,14 @@ ucp_pm_history_row_message_author_username_append === * Locations: + styles/prosilver/template/ucp_pm_history.html -* Since: 3.2.6 +* Since: 3.2.8-RC1 * 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 +* Since: 3.2.8-RC1 * Purpose: Prepend information to message author username of member ucp_pm_viewmessage_avatar_after