diff options
author | kasimi <mail@kasimi.net> | 2017-08-21 18:32:26 +0200 |
---|---|---|
committer | kasimi <mail@kasimi.net> | 2017-08-21 18:32:26 +0200 |
commit | 1f041c79c64d4ccd4213299a83a63ed68db16d46 (patch) | |
tree | 4f2ca8edb2108e200e1b9f476f1e46bb6541c000 | |
parent | 1e605efaf126f5474bb1be99e7fdaed834ebb2a0 (diff) | |
download | forums-1f041c79c64d4ccd4213299a83a63ed68db16d46.tar forums-1f041c79c64d4ccd4213299a83a63ed68db16d46.tar.gz forums-1f041c79c64d4ccd4213299a83a63ed68db16d46.tar.bz2 forums-1f041c79c64d4ccd4213299a83a63ed68db16d46.tar.xz forums-1f041c79c64d4ccd4213299a83a63ed68db16d46.zip |
[ticket/15334] Add template event viewtopic_topic_title_before
PHPBB3-15334
-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 --> |