Merge branch '3.1.x'

* 3.1.x:
  [ticket/14126] Add viewtopic_topic_title_after template event
This commit is contained in:
Tristan Darricau 2015-09-02 12:00:48 +02:00
commit 058c3116ed
2 changed files with 8 additions and 0 deletions

View file

@ -1915,6 +1915,13 @@ viewtopic_body_topic_actions_before
* Since: 3.1.0-a4 * Since: 3.1.0-a4
* Purpose: Add data before the topic actions buttons (after the posts sorting options) * Purpose: Add data before the topic actions buttons (after the posts sorting options)
viewtopic_topic_title_after
===
* Locations:
+ styles/prosilver/template/viewtopic_body.html
* 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_append viewtopic_topic_title_append
=== ===
* Locations: * Locations:

View file

@ -1,6 +1,7 @@
<!-- INCLUDE overall_header.html --> <!-- INCLUDE overall_header.html -->
<h2 class="topic-title"><!-- EVENT viewtopic_topic_title_prepend --><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><!-- EVENT viewtopic_topic_title_append --></h2> <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 --> <!-- NOTE: remove the style="display: none" when you want to have the forum description on the topic body -->
<!-- IF FORUM_DESC --><div style="display: none !important;">{FORUM_DESC}<br /></div><!-- ENDIF --> <!-- IF FORUM_DESC --><div style="display: none !important;">{FORUM_DESC}<br /></div><!-- ENDIF -->