diff options
| author | Jakub Senko <jakubsenko@gmail.com> | 2016-05-29 11:13:37 +0200 |
|---|---|---|
| committer | Jakub Senko <jakubsenko@gmail.com> | 2016-08-11 10:25:51 +0200 |
| commit | 317f3e848fde774cf8ebbf9e9574b8b3d2a15b38 (patch) | |
| tree | c65b24370b21c4ac4871ef859f3dd8d0abcc73bb | |
| parent | e7262e2d39feb7946710f6ae4bb17aac67f26204 (diff) | |
| download | forums-317f3e848fde774cf8ebbf9e9574b8b3d2a15b38.tar forums-317f3e848fde774cf8ebbf9e9574b8b3d2a15b38.tar.gz forums-317f3e848fde774cf8ebbf9e9574b8b3d2a15b38.tar.bz2 forums-317f3e848fde774cf8ebbf9e9574b8b3d2a15b38.tar.xz forums-317f3e848fde774cf8ebbf9e9574b8b3d2a15b38.zip | |
[ticket/14469] Add viewforum_body_topicrow_before template event
PHPBB3-14469
| -rw-r--r-- | phpBB/docs/events.md | 8 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/viewforum_body.html | 4 | ||||
| -rw-r--r-- | phpBB/styles/subsilver2/template/viewforum_body.html | 4 |
3 files changed, 14 insertions, 2 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index fced20ecfe..c473d931ce 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -2227,6 +2227,14 @@ viewforum_body_topic_row_prepend * Since: 3.1.7-RC1 * Purpose: Add content at the end of the topic list item. +viewforum_body_topicrow_row_before +=== +* Locations: + + styles/prosilver/template/viewforum_body.html + + styles/subsilver2/template/viewforum_body.html +* Since: 3.1.10-RC1 +* Purpose: Add content before list of topics. + viewforum_buttons_bottom_before === * Locations: diff --git a/phpBB/styles/prosilver/template/viewforum_body.html b/phpBB/styles/prosilver/template/viewforum_body.html index 087cf668cf..cd4c4d2bd7 100644 --- a/phpBB/styles/prosilver/template/viewforum_body.html +++ b/phpBB/styles/prosilver/template/viewforum_body.html @@ -121,6 +121,8 @@ <!-- ENDIF --> +<!-- EVENT viewforum_body_topic_row_before --> + <!-- BEGIN topicrow --> <!-- IF not topicrow.S_TOPIC_TYPE_SWITCH and not topicrow.S_FIRST_ROW --> @@ -145,7 +147,7 @@ <ul class="topiclist topics"> <!-- ENDIF --> - <!-- EVENT viewforum_body_topic_row_before --> + <!-- EVENT viewforum_body_topicrow_row_before --> <li class="row<!-- IF topicrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_POST_GLOBAL --> global-announce<!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->"> <!-- EVENT viewforum_body_topic_row_prepend --> <dl class="icon {topicrow.TOPIC_IMG_STYLE}"> diff --git a/phpBB/styles/subsilver2/template/viewforum_body.html b/phpBB/styles/subsilver2/template/viewforum_body.html index ff16b62fd3..5fb8d52bc8 100644 --- a/phpBB/styles/subsilver2/template/viewforum_body.html +++ b/phpBB/styles/subsilver2/template/viewforum_body.html @@ -32,9 +32,11 @@ <th> {L_LAST_POST} </th> </tr> + <!-- EVENT viewforum_body_topic_row_before --> + <!-- BEGIN topicrow --> - <!-- EVENT viewforum_body_topic_row_before --> + <!-- EVENT viewforum_body_topicrow_row_before --> <tr> <!-- EVENT viewforum_body_topic_row_prepend --> <td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td> |
