aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2015-04-09 11:04:25 -0700
committerMatt Friedman <maf675@gmail.com>2015-04-09 11:04:25 -0700
commit96339b7c866f0147befdf69abfe2d024e56c3a46 (patch)
treef259dad82ee4bc05c5b312179602239f824648da
parent5fc92a03b2ed8e8aa8059f028e4d9527932259b9 (diff)
downloadforums-96339b7c866f0147befdf69abfe2d024e56c3a46.tar
forums-96339b7c866f0147befdf69abfe2d024e56c3a46.tar.gz
forums-96339b7c866f0147befdf69abfe2d024e56c3a46.tar.bz2
forums-96339b7c866f0147befdf69abfe2d024e56c3a46.tar.xz
forums-96339b7c866f0147befdf69abfe2d024e56c3a46.zip
[ticket/13753] Add template events to forum category row headers
PHPBB3-13753
-rw-r--r--phpBB/docs/events.md14
-rw-r--r--phpBB/styles/prosilver/template/forumlist_body.html2
2 files changed, 16 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md
index 5c4b6a8d7d..8f751b5905 100644
--- a/phpBB/docs/events.md
+++ b/phpBB/docs/events.md
@@ -293,6 +293,20 @@ forumlist_body_category_header_before
* Since: 3.1.0-a4
* Purpose: Add content before the header of the category on the forum list.
+forumlist_body_category_header_row_append
+===
+* Locations:
+ + styles/prosilver/template/forumlist_body.html
+* Since: 3.1.4-RC1
+* Purpose: Add content before the header row of the category on the forum list.
+
+forumlist_body_category_header_row_prepend
+===
+* Locations:
+ + styles/prosilver/template/forumlist_body.html
+* Since: 3.1.4-RC1
+* Purpose: Add content after the header row of the category on the forum list.
+
forumlist_body_forum_row_after
===
* Locations:
diff --git a/phpBB/styles/prosilver/template/forumlist_body.html b/phpBB/styles/prosilver/template/forumlist_body.html
index f2e03630ff..f8d6e36c8c 100644
--- a/phpBB/styles/prosilver/template/forumlist_body.html
+++ b/phpBB/styles/prosilver/template/forumlist_body.html
@@ -13,12 +13,14 @@
<div class="inner">
<ul class="topiclist">
<li class="header">
+ <!-- EVENT forumlist_body_category_header_row_prepend -->
<dl class="icon">
<dt><div class="list-inner"><!-- IF forumrow.S_IS_CAT --><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a><!-- ELSE -->{L_FORUM}<!-- ENDIF --></div></dt>
<dd class="topics">{L_TOPICS}</dd>
<dd class="posts">{L_POSTS}</dd>
<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
</dl>
+ <!-- EVENT forumlist_body_category_header_row_append -->
</li>
</ul>
<ul class="topiclist forums">