From 9417c1803e78c57fc4b9d51f3c43557f73bf4f81 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dark=E2=9D=B6?= <25451052+Dark1z@users.noreply.github.com>
Date: Sat, 13 Mar 2021 22:21:32 +0530
Subject: [PATCH] [ticket/16724] Add some template events
PHPBB3-16724
---
phpBB/styles/prosilver/template/mcp_forum.html | 6 +++---
phpBB/styles/prosilver/template/search_results.html | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/phpBB/styles/prosilver/template/mcp_forum.html b/phpBB/styles/prosilver/template/mcp_forum.html
index 91b12f9472..c4b1fe23d6 100644
--- a/phpBB/styles/prosilver/template/mcp_forum.html
+++ b/phpBB/styles/prosilver/template/mcp_forum.html
@@ -65,7 +65,7 @@
- {L_LAST_POST} {L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} « {topicrow.LAST_POST_TIME}
+ {L_LAST_POST} {L_POST_BY_AUTHOR} {% EVENT mcp_forum_last_post_author_username_prepend %}{topicrow.LAST_POST_AUTHOR_FULL}{% EVENT mcp_forum_last_post_author_username_append %} « {topicrow.LAST_POST_TIME}
{L_REPLIES}{L_COLON} {topicrow.REPLIES}
@@ -87,14 +87,14 @@
{% EVENT topiclist_row_topic_by_author_before %}
- {L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME}
+ {L_POST_BY_AUTHOR} {% EVENT mcp_forum_topic_author_username_prepend %}{topicrow.TOPIC_AUTHOR_FULL}{% EVENT mcp_forum_topic_author_username_append %} » {topicrow.FIRST_POST_TIME}
{% EVENT topiclist_row_topic_by_author_after %}
{topicrow.REPLIES} {L_REPLIES}
- {L_LAST_POST} {L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL}
{topicrow.LAST_POST_TIME}
+ {L_LAST_POST} {L_POST_BY_AUTHOR} {% EVENT mcp_forum_last_post_author_username_prepend %}{topicrow.LAST_POST_AUTHOR_FULL}{% EVENT mcp_forum_last_post_author_username_append %}
{topicrow.LAST_POST_TIME}
checked="checked" />
diff --git a/phpBB/styles/prosilver/template/search_results.html b/phpBB/styles/prosilver/template/search_results.html
index 077233fc41..14adc2792b 100644
--- a/phpBB/styles/prosilver/template/search_results.html
+++ b/phpBB/styles/prosilver/template/search_results.html
@@ -69,7 +69,7 @@
{L_REPLIES}
{L_VIEWS}
{L_LAST_POST}
-
+ {% EVENT search_results_topic_header_lastpost_after %}
@@ -154,7 +154,7 @@
-
+ {% EVENT search_results_topic_row_lastpost_after %}
@@ -196,7 +196,7 @@
-
+ {% EVENT search_results_post_subject_before %}
{searchresults.MESSAGE}