aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2014-12-09 16:26:32 -0800
committerCesar G <prototech91@gmail.com>2014-12-09 16:26:32 -0800
commit4dab281da1fccf45650608056d5d288037162a55 (patch)
treefd4286e9d1ccda25c8e2c1e9fd20aebbebd3781d
parent641a9e5441dfe749187ba8b5cd3fa0c2b49a09f9 (diff)
downloadforums-4dab281da1fccf45650608056d5d288037162a55.tar
forums-4dab281da1fccf45650608056d5d288037162a55.tar.gz
forums-4dab281da1fccf45650608056d5d288037162a55.tar.bz2
forums-4dab281da1fccf45650608056d5d288037162a55.tar.xz
forums-4dab281da1fccf45650608056d5d288037162a55.zip
[ticket/13427] Add several before/after template events to mcp_front.html.
PHPBB3-13427
-rw-r--r--phpBB/docs/events.md40
-rw-r--r--phpBB/styles/prosilver/template/mcp_front.html10
-rw-r--r--phpBB/styles/subsilver2/template/mcp_front.html10
3 files changed, 60 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md
index 7863814daa..ec4e062e7e 100644
--- a/phpBB/docs/events.md
+++ b/phpBB/docs/events.md
@@ -456,6 +456,46 @@ mcp_ban_unban_before
* Since: 3.1.0-RC3
* Purpose: Add additional fields to the unban form in MCP
+mcp_front_latest_logs_after
+===
+* Locations:
+ + styles/prosilver/template/mcp_front.html
+ + styles/subsilver2/template/mcp_front.html
+* Since: 3.1.3-RC1
+* Purpose: Add content after latest logs list
+
+mcp_front_latest_logs_before
+===
+* Locations:
+ + styles/prosilver/template/mcp_front.html
+ + styles/subsilver2/template/mcp_front.html
+* Since: 3.1.3-RC1
+* Purpose: Add content before latest logs list
+
+mcp_front_latest_reported_before
+===
+* Locations:
+ + styles/prosilver/template/mcp_front.html
+ + styles/subsilver2/template/mcp_front.html
+* Since: 3.1.3-RC1
+* Purpose: Add content before latest reported posts list
+
+mcp_front_latest_reported_pms_before
+===
+* Locations:
+ + styles/prosilver/template/mcp_front.html
+ + styles/subsilver2/template/mcp_front.html
+* Since: 3.1.3-RC1
+* Purpose: Add content before latest reported private messages list
+
+mcp_front_latest_unapproved_before
+===
+* Locations:
+ + styles/prosilver/template/mcp_front.html
+ + styles/subsilver2/template/mcp_front.html
+* Since: 3.1.3-RC1
+* Purpose: Add content before latest unapproved posts list
+
memberlist_body_username_append
===
* Locations:
diff --git a/phpBB/styles/prosilver/template/mcp_front.html b/phpBB/styles/prosilver/template/mcp_front.html
index 44295611cf..8fe7dfdf65 100644
--- a/phpBB/styles/prosilver/template/mcp_front.html
+++ b/phpBB/styles/prosilver/template/mcp_front.html
@@ -2,6 +2,8 @@
<h2>{PAGE_TITLE}</h2>
+<!-- EVENT mcp_front_latest_unapproved_before -->
+
<!-- IF S_SHOW_UNAPPROVED -->
<form id="mcp_queue" method="post" action="{S_MCP_QUEUE_ACTION}">
@@ -59,6 +61,8 @@
</form>
<!-- ENDIF -->
+<!-- EVENT mcp_front_latest_reported_before -->
+
<!-- IF S_SHOW_REPORTS -->
<div class="panel">
<div class="inner">
@@ -100,6 +104,8 @@
</div>
<!-- ENDIF -->
+<!-- EVENT mcp_front_latest_reported_pms_before -->
+
<!-- IF S_SHOW_PM_REPORTS -->
<div class="panel">
<div class="inner">
@@ -141,6 +147,8 @@
</div>
<!-- ENDIF -->
+<!-- EVENT mcp_front_latest_logs_before -->
+
<!-- IF S_SHOW_LOGS -->
<div class="panel">
<div class="inner">
@@ -180,4 +188,6 @@
</div>
<!-- ENDIF -->
+<!-- EVENT mcp_front_latest_logs_after -->
+
<!-- INCLUDE mcp_footer.html -->
diff --git a/phpBB/styles/subsilver2/template/mcp_front.html b/phpBB/styles/subsilver2/template/mcp_front.html
index 7c17e13c52..55adb3b550 100644
--- a/phpBB/styles/subsilver2/template/mcp_front.html
+++ b/phpBB/styles/subsilver2/template/mcp_front.html
@@ -1,5 +1,7 @@
<!-- INCLUDE mcp_header.html -->
+<!-- EVENT mcp_front_latest_unapproved_before -->
+
<!-- IF S_SHOW_UNAPPROVED -->
<form name="mcp_queue" method="post" action="{S_MCP_QUEUE_ACTION}">
@@ -44,6 +46,8 @@
<br clear="all" /><br />
<!-- ENDIF -->
+<!-- EVENT mcp_front_latest_reported_before -->
+
<!-- IF S_SHOW_REPORTS -->
<table class="tablebg" width="100%" cellspacing="1">
<tr>
@@ -73,6 +77,8 @@
<br clear="all" /><br />
<!-- ENDIF -->
+<!-- EVENT mcp_front_latest_reported_pms_before -->
+
<!-- IF S_SHOW_PM_REPORTS -->
<table class="tablebg" width="100%" cellspacing="1">
<tr>
@@ -104,6 +110,8 @@
<br clear="all" /><br />
<!-- ENDIF -->
+<!-- EVENT mcp_front_latest_logs_before -->
+
<!-- IF S_SHOW_LOGS -->
<table class="tablebg" width="100%" cellspacing="1" cellpadding="4" border="0" align="{S_CONTENT_FLOW_END}">
<tr>
@@ -134,4 +142,6 @@
<br clear="all" />
<!-- ENDIF -->
+<!-- EVENT mcp_front_latest_logs_after -->
+
<!-- INCLUDE mcp_footer.html -->