From e84459ba674af9267ea4119c746bfec290d2163d Mon Sep 17 00:00:00 2001 From: rxu Date: Mon, 1 May 2017 18:49:56 +0700 Subject: [PATCH] [ticket/15205] Add template events prepending/appending subforum link PHPBB3-15205 --- phpBB/docs/events.md | 16 ++++++++++++++++ .../prosilver/template/forumlist_body.html | 2 +- .../subsilver2/template/forumlist_body.html | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index ce43f60e27..ce9b1c3969 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -687,6 +687,22 @@ 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. +forumlist_body_subforum_link_append +=== +* Locations: + + styles/prosilver/template/forumlist_body.html + + styles/subsilver2/template/forumlist_body.html +* Since: 3.1.11-RC1 +* Purpose: Add content at the end of subforum link item. + +forumlist_body_subforum_link_prepend +=== +* Locations: + + styles/prosilver/template/forumlist_body.html + + styles/subsilver2/template/forumlist_body.html +* Since: 3.1.11-RC1 +* Purpose: Add content at the start of subforum link item. + forumlist_body_subforums_after === * Locations: diff --git a/phpBB/styles/prosilver/template/forumlist_body.html b/phpBB/styles/prosilver/template/forumlist_body.html index f8d6e36c8c..a197545b90 100644 --- a/phpBB/styles/prosilver/template/forumlist_body.html +++ b/phpBB/styles/prosilver/template/forumlist_body.html @@ -47,7 +47,7 @@
{forumrow.L_SUBFORUM_STR}{L_COLON} - {forumrow.subforum.SUBFORUM_NAME}{L_COMMA_SEPARATOR} + {forumrow.subforum.SUBFORUM_NAME}{L_COMMA_SEPARATOR} diff --git a/phpBB/styles/subsilver2/template/forumlist_body.html b/phpBB/styles/subsilver2/template/forumlist_body.html index 6c9b64827a..6b7f884aaa 100644 --- a/phpBB/styles/subsilver2/template/forumlist_body.html +++ b/phpBB/styles/subsilver2/template/forumlist_body.html @@ -56,7 +56,7 @@

{forumrow.L_SUBFORUM_STR}{L_COLON} - {forumrow.subforum.SUBFORUM_NAME}{L_COMMA_SEPARATOR} + {forumrow.subforum.SUBFORUM_NAME}{L_COMMA_SEPARATOR}