aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/ucp_pm_history.html
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2015-08-03 03:33:28 +0700
committerrxu <rxu@mail.ru>2015-08-03 03:48:20 +0700
commit478a4c4133a9416a40f2dfa611ced4e0963da67c (patch)
treeca0c46d26aed2a017e5a239ca9bdf763d36d0215 /phpBB/styles/prosilver/template/ucp_pm_history.html
parentf34f28f2834102714b13aeb05ca54cbb3c7d779c (diff)
downloadforums-478a4c4133a9416a40f2dfa611ced4e0963da67c.tar
forums-478a4c4133a9416a40f2dfa611ced4e0963da67c.tar.gz
forums-478a4c4133a9416a40f2dfa611ced4e0963da67c.tar.bz2
forums-478a4c4133a9416a40f2dfa611ced4e0963da67c.tar.xz
forums-478a4c4133a9416a40f2dfa611ced4e0963da67c.zip
[ticket/14064] Add template events to ucp_pm_history.html
PHPBB3-14064
Diffstat (limited to 'phpBB/styles/prosilver/template/ucp_pm_history.html')
-rw-r--r--phpBB/styles/prosilver/template/ucp_pm_history.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/ucp_pm_history.html b/phpBB/styles/prosilver/template/ucp_pm_history.html
index 0e9c3844cc..28f217ef66 100644
--- a/phpBB/styles/prosilver/template/ucp_pm_history.html
+++ b/phpBB/styles/prosilver/template/ucp_pm_history.html
@@ -4,6 +4,7 @@
{L_MESSAGE_HISTORY}{L_COLON}
</h3>
+<!-- EVENT ucp_pm_history_review_before -->
<div id="topicreview">
<script type="text/javascript">
// <![CDATA[
@@ -17,15 +18,22 @@
<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>
- <!-- IF history_row.U_QUOTE or history_row.MESSAGE_AUTHOR_QUOTE -->
+ <!-- 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}');"<!-- ENDIF --> title="{L_QUOTE} {history_row.MESSAGE_AUTHOR}" class="button icon-button quote-icon">
<span>{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">{history_row.MINI_POST_IMG} {L_SENT_AT}{L_COLON} <strong>{history_row.SENT_DATE}</strong><br />
{L_MESSAGE_BY_AUTHOR} {history_row.MESSAGE_AUTHOR_FULL}</p>
@@ -37,6 +45,7 @@
</div>
<!-- END history_row -->
</div>
+<!-- EVENT ucp_pm_history_review_after -->
<hr />
<p><a href="#cp-main" class="top2">{L_BACK_TO_TOP}</a></p>