aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/ucp_pm_history.html
diff options
context:
space:
mode:
authorDark❶ <dark-1@users.noreply.github.com>2019-04-20 15:30:24 +0530
committerDark❶ <dark-1@users.noreply.github.com>2019-04-20 15:30:24 +0530
commit00a260dc0082ffe9359ef124cd2bcac9637e39da (patch)
tree6c59407cfcdc3125b177678d8157b4e01dffbe2e /phpBB/styles/prosilver/template/ucp_pm_history.html
parentf905b40ce8bb03309fd87ad32ce424aefe76acd3 (diff)
downloadforums-00a260dc0082ffe9359ef124cd2bcac9637e39da.tar
forums-00a260dc0082ffe9359ef124cd2bcac9637e39da.tar.gz
forums-00a260dc0082ffe9359ef124cd2bcac9637e39da.tar.bz2
forums-00a260dc0082ffe9359ef124cd2bcac9637e39da.tar.xz
forums-00a260dc0082ffe9359ef124cd2bcac9637e39da.zip
[ticket/16025] Add 2 template events *_author_username_{append/prepend}
PHPBB3-16025
Diffstat (limited to 'phpBB/styles/prosilver/template/ucp_pm_history.html')
-rw-r--r--phpBB/styles/prosilver/template/ucp_pm_history.html113
1 files changed, 56 insertions, 57 deletions
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 @@
-
-<h3 id="review" class="review">
- <span class="right-box"><a href="#review" onclick="viewableArea(getElementById('topicreview'), true); var rev_text = getElementById('review').getElementsByTagName('a').item(0).firstChild; if (rev_text.data == '{LA_EXPAND_VIEW}'){rev_text.data = '{LA_COLLAPSE_VIEW}'; } else if (rev_text.data == '{LA_COLLAPSE_VIEW}'){rev_text.data = '{LA_EXPAND_VIEW}'};">{L_EXPAND_VIEW}</a></span>
- {L_MESSAGE_HISTORY}{L_COLON}
-</h3>
-
-<!-- EVENT ucp_pm_history_review_before -->
-<div id="topicreview" class="topicreview">
- <script>
- bbcodeEnabled = {S_BBCODE_ALLOWED};
- </script>
- <!-- BEGIN history_row -->
- <div class="post <!-- IF history_row.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
- <div class="inner">
-
- <div class="postbody" id="pr{history_row.MSG_ID}">
- <h3><a href="{history_row.U_VIEW_MESSAGE}" <!-- IF history_row.S_CURRENT_MSG -->class="current"<!-- ENDIF -->>{history_row.SUBJECT}</a></h3>
-
- <!-- DEFINE $SHOW_PM_HISTORY_POST_BUTTONS = (history_row.U_QUOTE or history_row.MESSAGE_AUTHOR_QUOTE) -->
- <!-- EVENT ucp_pm_history_post_buttons_list_before -->
- <!-- IF $SHOW_PM_HISTORY_POST_BUTTONS -->
- <ul class="post-buttons">
- <!-- EVENT ucp_pm_history_post_buttons_before -->
- <!-- IF history_row.U_QUOTE or history_row.MESSAGE_AUTHOR_QUOTE -->
- <li>
- <a <!-- IF history_row.U_QUOTE -->href="{history_row.U_QUOTE}"<!-- ELSE -->href="#postingbox" onclick="addquote({history_row.MSG_ID}, '{history_row.MESSAGE_AUTHOR_QUOTE}', '{LA_WROTE}', {time:{history_row.MESSAGE_TIME},user_id:{history_row.USER_ID}});"<!-- ENDIF --> title="{L_QUOTE} {history_row.MESSAGE_AUTHOR}" class="button button-icon-only">
- <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">{L_QUOTE} {history_row.MESSAGE_AUTHOR}</span>
- </a>
- </li>
- <!-- ENDIF -->
- <!-- EVENT ucp_pm_history_post_buttons_after -->
- </ul>
- <!-- ENDIF -->
- <!-- EVENT ucp_pm_history_post_buttons_list_after -->
-
- <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>
- <br />
- {L_MESSAGE_BY_AUTHOR} {history_row.MESSAGE_AUTHOR_FULL}
- </p>
- <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>
-
- </div>
- </div>
- <!-- END history_row -->
-</div>
-<!-- EVENT ucp_pm_history_review_after -->
-
-<hr />
-<p>
- <a href="#cp-main" class="top">
- <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i><span>{L_BACK_TO_TOP}</span>
- </a>
-</p>
-
+
+<h3 id="review" class="review">
+ <span class="right-box"><a href="#review" onclick="viewableArea(getElementById('topicreview'), true); var rev_text = getElementById('review').getElementsByTagName('a').item(0).firstChild; if (rev_text.data == '{LA_EXPAND_VIEW}'){rev_text.data = '{LA_COLLAPSE_VIEW}'; } else if (rev_text.data == '{LA_COLLAPSE_VIEW}'){rev_text.data = '{LA_EXPAND_VIEW}'};">{L_EXPAND_VIEW}</a></span>
+ {L_MESSAGE_HISTORY}{L_COLON}
+</h3>
+
+<!-- EVENT ucp_pm_history_review_before -->
+<div id="topicreview" class="topicreview">
+ <script>
+ bbcodeEnabled = {S_BBCODE_ALLOWED};
+ </script>
+ <!-- BEGIN history_row -->
+ <div class="post <!-- IF history_row.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
+ <div class="inner">
+
+ <div class="postbody" id="pr{history_row.MSG_ID}">
+ <h3><a href="{history_row.U_VIEW_MESSAGE}" <!-- IF history_row.S_CURRENT_MSG -->class="current"<!-- ENDIF -->>{history_row.SUBJECT}</a></h3>
+
+ <!-- DEFINE $SHOW_PM_HISTORY_POST_BUTTONS = (history_row.U_QUOTE or history_row.MESSAGE_AUTHOR_QUOTE) -->
+ <!-- EVENT ucp_pm_history_post_buttons_list_before -->
+ <!-- IF $SHOW_PM_HISTORY_POST_BUTTONS -->
+ <ul class="post-buttons">
+ <!-- EVENT ucp_pm_history_post_buttons_before -->
+ <!-- IF history_row.U_QUOTE or history_row.MESSAGE_AUTHOR_QUOTE -->
+ <li>
+ <a <!-- IF history_row.U_QUOTE -->href="{history_row.U_QUOTE}"<!-- ELSE -->href="#postingbox" onclick="addquote({history_row.MSG_ID}, '{history_row.MESSAGE_AUTHOR_QUOTE}', '{LA_WROTE}', {time:{history_row.MESSAGE_TIME},user_id:{history_row.USER_ID}});"<!-- ENDIF --> title="{L_QUOTE} {history_row.MESSAGE_AUTHOR}" class="button button-icon-only">
+ <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">{L_QUOTE} {history_row.MESSAGE_AUTHOR}</span>
+ </a>
+ </li>
+ <!-- ENDIF -->
+ <!-- EVENT ucp_pm_history_post_buttons_after -->
+ </ul>
+ <!-- ENDIF -->
+ <!-- EVENT ucp_pm_history_post_buttons_list_after -->
+
+ <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>
+ <br />
+ {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>
+ <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>
+
+ </div>
+ </div>
+ <!-- END history_row -->
+</div>
+<!-- EVENT ucp_pm_history_review_after -->
+
+<hr />
+<p>
+ <a href="#cp-main" class="top">
+ <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i><span>{L_BACK_TO_TOP}</span>
+ </a>
+</p>