diff options
| author | Máté Bartus <CHItA@users.noreply.github.com> | 2017-09-07 14:31:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-07 14:31:38 +0200 |
| commit | 24d0b06466babba8d76673305ce90eec553d2b91 (patch) | |
| tree | 76941306be37332c2b6dc7b18ef6e0f4a9d7a946 /phpBB | |
| parent | 6e7593a5db7f8a8cb151882cb649362c85ad8732 (diff) | |
| parent | 1f041c79c64d4ccd4213299a83a63ed68db16d46 (diff) | |
| download | forums-24d0b06466babba8d76673305ce90eec553d2b91.tar forums-24d0b06466babba8d76673305ce90eec553d2b91.tar.gz forums-24d0b06466babba8d76673305ce90eec553d2b91.tar.bz2 forums-24d0b06466babba8d76673305ce90eec553d2b91.tar.xz forums-24d0b06466babba8d76673305ce90eec553d2b91.zip | |
Merge pull request #4914 from kasimi/ticket/15334
[ticket/15334] Add template event viewtopic_topic_title_before
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/docs/events.md | 7 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/viewtopic_body.html | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 8bece6465e..4c80d99792 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -2671,6 +2671,13 @@ viewtopic_topic_title_after * Since: 3.1.7-RC1 * Purpose: Add content directly after the topic title link on the View topic screen (outside of the h2 HTML tag) +viewtopic_topic_title_before +=== +* Locations: + + styles/prosilver/template/viewtopic_body.html +* Since: 3.2.2-RC1 +* Purpose: Add content directly before the topic title link on the View topic screen (outside of the h2 HTML tag) + viewtopic_topic_title_append === * Locations: diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index 71d364bbb9..40249f24eb 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -1,5 +1,6 @@ <!-- INCLUDE overall_header.html --> +<!-- EVENT viewtopic_topic_title_before --> <h2 class="topic-title"><!-- EVENT viewtopic_topic_title_prepend --><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><!-- EVENT viewtopic_topic_title_append --></h2> <!-- EVENT viewtopic_topic_title_after --> <!-- NOTE: remove the style="display: none" when you want to have the forum description on the topic body --> |
