From efe4393c915808637d8b56fc79810893a6517bf7 Mon Sep 17 00:00:00 2001 From: rxu Date: Thu, 27 Feb 2014 15:34:54 +0800 Subject: [ticket/12231] Add template events to forumlist_body.html Add events before/after category header, before/after subforums list to allow add/modify content in respective places. PHPBB3-12231 --- phpBB/docs/events.md | 32 ++++++++++++++++++++++ .../styles/prosilver/template/forumlist_body.html | 4 +++ .../styles/subsilver2/template/forumlist_body.html | 4 +++ 3 files changed, 40 insertions(+) (limited to 'phpBB') diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index db7107b96d..57a47cbf84 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -78,6 +78,22 @@ acp_users_signature_editor_buttons_before * Since: 3.1.0-a3 * Purpose: Add content before BBCode posting buttons in the ACP user signature +forumlist_body_category_header_after +==== +* Locations: + + styles/prosilver/template/forumlist_body.html + + styles/subsilver2/template/forumlist_body.html +* Since: 3.1.0-a4 +* Purpose: Add content after the header of the category on the forum list. + +forumlist_body_category_header_before +==== +* Locations: + + styles/prosilver/template/forumlist_body.html + + styles/subsilver2/template/forumlist_body.html +* Since: 3.1.0-a4 +* Purpose: Add content before the header of the category on the forum list. + forumlist_body_last_post_title_prepend ==== * Locations: @@ -86,6 +102,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_subforums_after +==== +* Locations: + + styles/prosilver/template/forumlist_body.html + + styles/subsilver2/template/forumlist_body.html +* Since: 3.1.0-a4 +* Purpose: Add content after the list of subforums (if any) for each forum on the forum list. + +forumlist_body_subforums_before +==== +* Locations: + + styles/prosilver/template/forumlist_body.html + + styles/subsilver2/template/forumlist_body.html +* Since: 3.1.0-a4 +* Purpose: Add content before the list of subforums (if any) for each forum on the forum list. + index_body_linklist_after === * Locations: diff --git a/phpBB/styles/prosilver/template/forumlist_body.html b/phpBB/styles/prosilver/template/forumlist_body.html index f9019b4fe3..bd55a0ecd0 100644 --- a/phpBB/styles/prosilver/template/forumlist_body.html +++ b/phpBB/styles/prosilver/template/forumlist_body.html @@ -7,6 +7,7 @@ +
@@ -22,6 +23,7 @@
    +
  • @@ -37,10 +39,12 @@
    {forumrow.L_MODERATOR_STR}{L_COLON} {forumrow.MODERATORS} +
    {forumrow.L_SUBFORUM_STR} {forumrow.subforum.SUBFORUM_NAME}, + diff --git a/phpBB/styles/subsilver2/template/forumlist_body.html b/phpBB/styles/subsilver2/template/forumlist_body.html index a222607ae8..09f7fe4cff 100644 --- a/phpBB/styles/subsilver2/template/forumlist_body.html +++ b/phpBB/styles/subsilver2/template/forumlist_body.html @@ -9,11 +9,13 @@  {L_LAST_POST}  +

    {forumrow.FORUM_NAME}

      + {forumrow.FORUM_FOLDER_IMG} @@ -49,11 +51,13 @@

    {forumrow.L_MODERATOR_STR}{L_COLON} {forumrow.MODERATORS}

    +

    {forumrow.L_SUBFORUM_STR} {forumrow.subforum.SUBFORUM_NAME},

    +

    {forumrow.TOPICS}

    -- cgit v1.2.1