diff options
| author | Matt Friedman <maf675@gmail.com> | 2013-11-11 15:28:18 -0800 |
|---|---|---|
| committer | Matt Friedman <maf675@gmail.com> | 2013-11-11 15:28:18 -0800 |
| commit | e74f1c1790bae04c1729491e0a728c70b41009ec (patch) | |
| tree | b1bab8c8ea27e38a8159c30a11736092094e0aa3 | |
| parent | 592c8b75669329588c897bd3eda679e4731e4aab (diff) | |
| download | forums-e74f1c1790bae04c1729491e0a728c70b41009ec.tar forums-e74f1c1790bae04c1729491e0a728c70b41009ec.tar.gz forums-e74f1c1790bae04c1729491e0a728c70b41009ec.tar.bz2 forums-e74f1c1790bae04c1729491e0a728c70b41009ec.tar.xz forums-e74f1c1790bae04c1729491e0a728c70b41009ec.zip | |
[ticket/12014] Template Event index_body.html before forumlist
Add content above the forums list (on forum index only)
PHPBB3-12014
| -rw-r--r-- | phpBB/docs/events.md | 8 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/index_body.html | 2 | ||||
| -rw-r--r-- | phpBB/styles/subsilver2/template/index_body.html | 2 |
3 files changed, 12 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 23e63ed7e4..72909e19ef 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -54,6 +54,14 @@ forumlist_body_last_post_title_prepend * Since: 3.1.0-a1 * Purpose: Add content before the post title of the latest post in a forum on the forum list. +index_body_forumlist_before +=== +* Locations: + + styles/prosilver/template/index_body.html + + styles/subsilver2/template/index_body.html +* Since: 3.1.0-a1 +* Purpose: Add content above the forums list (on forum index only) + index_body_stat_blocks_before === * Locations: diff --git a/phpBB/styles/prosilver/template/index_body.html b/phpBB/styles/prosilver/template/index_body.html index 8acc0a8812..bd640fd63f 100644 --- a/phpBB/styles/prosilver/template/index_body.html +++ b/phpBB/styles/prosilver/template/index_body.html @@ -19,6 +19,8 @@ </ul> <!-- ENDIF --> +<!-- EVENT index_body_forumlist_before --> + <!-- INCLUDE forumlist_body.html --> <!-- IF not S_USER_LOGGED_IN and not S_IS_BOT --> diff --git a/phpBB/styles/subsilver2/template/index_body.html b/phpBB/styles/subsilver2/template/index_body.html index 158e5f2720..00c328e994 100644 --- a/phpBB/styles/subsilver2/template/index_body.html +++ b/phpBB/styles/subsilver2/template/index_body.html @@ -8,6 +8,8 @@ <br clear="all" /><br /> <!-- ENDIF --> +<!-- EVENT index_body_forumlist_before --> + <!-- INCLUDE forumlist_body.html --> <!-- IF not S_IS_BOT or U_TEAM --> |
