Skip to content

Commit

Permalink
Merge pull request phpbb#3530 from VSEphpbb/ticket/13753
Browse files Browse the repository at this point in the history
[ticket/13753] Add template events to forum category row headers
  • Loading branch information
marc1706 committed May 8, 2015
2 parents 7f5f5c2 + ef0838e commit b3b7f8e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions phpBB/docs/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.5-RC1
* Purpose: Add content after 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.5-RC1
* Purpose: Add content before the header row of the category on the forum list.

forumlist_body_forum_row_after
===
* Locations:
Expand Down
2 changes: 2 additions & 0 deletions phpBB/styles/prosilver/template/forumlist_body.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit b3b7f8e

Please sign in to comment.