From 30eccacb1dc0203a15638596967255e33ec05801 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 18 Mar 2014 09:21:30 +0100 Subject: [PATCH] [ticket/12286] Add "Since" to template event docs PHPBB3-12286 --- phpBB/docs/coding-guidelines.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/phpBB/docs/coding-guidelines.html b/phpBB/docs/coding-guidelines.html index 9d3e69decc..ded13d1c28 100644 --- a/phpBB/docs/coding-guidelines.html +++ b/phpBB/docs/coding-guidelines.html @@ -1707,6 +1707,7 @@ parent = prosilver * Location: styles/<style_name>/template/filename.html * Purpose: A brief description of what this event should be used for. This may span multiple lines. +* Since: Version since when the event was added
  • An event found in multiple template files:
    event_name
    @@ -1715,6 +1716,7 @@ This may span multiple lines.
         + first/file/path.html
         + second/file/path.html
     * Purpose: Same as above.
    +* Since: 3.1.0-b1
     
  • An event that is found multiple times in a file should have the number of instances in parenthesis next to the filename.
    event_name
    @@ -1723,6 +1725,7 @@ This may span multiple lines.
         + first/file/path.html (2)
         + second/file/path.html
     * Purpose: Same as above.
    +* Since: 3.1.0-b1
     
  • An actual example event documentation:
    forumlist_body_last_post_title_prepend
    @@ -1730,7 +1733,9 @@ This may span multiple lines.
     * Locations:
         + styles/prosilver/template/forumlist_body.html
         + styles/subsilver2/template/forumlist_body.html
    -* Purpose: Add content before the post title of the latest post in a forum on the forum list.

    +* Purpose: Add content before the post title of the latest post in a forum on the forum list. +* Since: 3.1.0-a1 +