From 5bfd609cc8f6682b48530ccd63f276ecca76aec1 Mon Sep 17 00:00:00 2001 From: vinny Date: Mon, 18 Dec 2017 02:52:35 -0300 Subject: [PATCH 1/2] [ticket/15485] Add template event for forum images PHPBB3-15485 --- phpBB/docs/events.md | 27 +++++++++++++++++++ .../prosilver/template/forumlist_body.html | 6 ++++- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 6af3f55d21..2725109355 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -673,6 +673,33 @@ forumlist_body_category_header_row_prepend * Since: 3.1.5-RC1 * Purpose: Add content before the header row of the category on the forum list. +forumlist_body_forum_image_after +=== +* Locations: + + styles/prosilver/template/forumlist_body.html +* Since: 3.2.2-RC1 +* Purpose: Add content after the forum image on the forum list. + +forumlist_body_forum_image_append +=== +* Locations: + + styles/prosilver/template/forumlist_body.html +* Since: 3.2.2-RC1 +* Purpose: Add content at the start of the forum image on the forum list. + +forumlist_body_forum_image_before +=== +* Locations: + + styles/prosilver/template/forumlist_body.html +* Since: 3.2.2-RC1 +* Purpose: Add content before the forum image on the forum list. + +forumlist_body_forum_image_prepend +* Locations: + + styles/prosilver/template/forumlist_body.html +* Since: 3.2.2-RC1 +* Purpose: Add content at the end of the forum image 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 621e226260..eab6528ca4 100644 --- a/phpBB/styles/prosilver/template/forumlist_body.html +++ b/phpBB/styles/prosilver/template/forumlist_body.html @@ -42,7 +42,11 @@ --> - {forumrow.FORUM_IMAGE} + + + {forumrow.FORUM_IMAGE} + + {forumrow.FORUM_NAME}
{forumrow.FORUM_DESC} From 69416b65f3718de4641e74798e70438539c1164b Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Wed, 27 Dec 2017 20:40:55 +0100 Subject: [PATCH 2/2] [ticket/15485] Add missing separation below event title PHPBB3-15485 --- phpBB/docs/events.md | 1 + 1 file changed, 1 insertion(+) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 2725109355..414cb31d7d 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -695,6 +695,7 @@ forumlist_body_forum_image_before * Purpose: Add content before the forum image on the forum list. forumlist_body_forum_image_prepend +=== * Locations: + styles/prosilver/template/forumlist_body.html * Since: 3.2.2-RC1