[ticket/16025] Add 2 template events *_author_username_{append/prepend}

PHPBB3-16025
This commit is contained in:
Dark❶ 2019-04-20 15:30:24 +05:30
parent f905b40ce8
commit 00a260dc00
No known key found for this signature in database
GPG key ID: FAE32A15F9132DE8
4 changed files with 231 additions and 190 deletions

View file

@ -1910,6 +1910,20 @@ posting_preview_poll_after
* Since: 3.1.7-RC1 * Since: 3.1.7-RC1
* Purpose: Add content after the poll preview block * 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 posting_topic_review_row_content_after
=== ===
* Locations: * Locations:
@ -1917,6 +1931,20 @@ posting_topic_review_row_content_after
* Since: 3.2.4-RC1 * Since: 3.2.4-RC1
* Purpose: Add content after the message content in topic review * 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 posting_topic_review_row_post_details_after
=== ===
* Locations: * Locations:
@ -2364,6 +2392,20 @@ ucp_pm_history_review_before
* Since: 3.1.6-RC1 * Since: 3.1.6-RC1
* Purpose: Add content before the private messages history review. * 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 ucp_pm_viewmessage_avatar_after
=== ===
* Locations: * Locations:

View file

@ -22,7 +22,7 @@
<i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{post_review_row.MINI_POST}</span> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{post_review_row.MINI_POST}</span>
</a> </a>
<!-- ENDIF --> <!-- ENDIF -->
{L_POST_BY_AUTHOR}<strong> {post_review_row.POST_AUTHOR_FULL}</strong> &raquo; {post_review_row.POST_DATE} {L_POST_BY_AUTHOR} <!-- EVENT posting_review_row_post_author_username_prepend --><strong>{post_review_row.POST_AUTHOR_FULL}</strong><!-- EVENT posting_review_row_post_author_username_append --> &raquo; {post_review_row.POST_DATE}
</p> </p>
<div class="content">{post_review_row.MESSAGE}</div> <div class="content">{post_review_row.MESSAGE}</div>

View file

@ -54,7 +54,7 @@
<i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{topic_review_row.MINI_POST}</span> <i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{topic_review_row.MINI_POST}</span>
</a> </a>
<!-- ENDIF --> <!-- ENDIF -->
{L_POST_BY_AUTHOR} <strong>{topic_review_row.POST_AUTHOR_FULL}</strong> &raquo; {topic_review_row.POST_DATE} {L_POST_BY_AUTHOR} <!-- EVENT posting_topic_review_row_post_author_username_prepend --><strong>{topic_review_row.POST_AUTHOR_FULL}</strong><!-- EVENT posting_topic_review_row_post_author_username_append --> &raquo; {topic_review_row.POST_DATE}
</p> </p>
<!-- EVENT posting_topic_review_row_post_details_after --> <!-- EVENT posting_topic_review_row_post_details_after -->

View file

@ -36,7 +36,7 @@
<p class="author"> <p class="author">
<span><i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{history_row.MINI_POST}</span></span> {L_SENT_AT}{L_COLON} <strong>{history_row.SENT_DATE}</strong> <span><i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{history_row.MINI_POST}</span></span> {L_SENT_AT}{L_COLON} <strong>{history_row.SENT_DATE}</strong>
<br /> <br />
{L_MESSAGE_BY_AUTHOR} {history_row.MESSAGE_AUTHOR_FULL} {L_MESSAGE_BY_AUTHOR} <!-- EVENT ucp_pm_history_row_author_username_prepend -->{history_row.MESSAGE_AUTHOR_FULL}<!-- EVENT ucp_pm_history_row_author_username_append -->
</p> </p>
<div class="content"><!-- IF history_row.MESSAGE -->{history_row.MESSAGE}<!-- ELSE --><span class="error">{L_MESSAGE_REMOVED_FROM_OUTBOX}</span><!-- ENDIF --></div> <div class="content"><!-- IF history_row.MESSAGE -->{history_row.MESSAGE}<!-- ELSE --><span class="error">{L_MESSAGE_REMOVED_FROM_OUTBOX}</span><!-- ENDIF --></div>
<div id="message_{history_row.MSG_ID}" style="display: none;">{history_row.DECODED_MESSAGE}</div> <div id="message_{history_row.MSG_ID}" style="display: none;">{history_row.DECODED_MESSAGE}</div>
@ -54,4 +54,3 @@
<i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i><span>{L_BACK_TO_TOP}</span> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i><span>{L_BACK_TO_TOP}</span>
</a> </a>
</p> </p>