mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge pull request #3860 from kinerity/ticket/14126
[ticket/14126] Add viewtopic_topic_title_after template event * kinerity/ticket/14126: [ticket/14126] Add viewtopic_topic_title_after template event
This commit is contained in:
commit
48d05bad25
3 changed files with 10 additions and 0 deletions
|
@ -2122,6 +2122,14 @@ 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
|
||||||
|
+ styles/subsilver2/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:
|
||||||
|
|
|
@ -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 -->
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
<div id="pageheader">
|
<div id="pageheader">
|
||||||
<h2><!-- EVENT viewtopic_topic_title_prepend --><a class="titles" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><!-- EVENT viewtopic_topic_title_append --></h2>
|
<h2><!-- EVENT viewtopic_topic_title_prepend --><a class="titles" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><!-- EVENT viewtopic_topic_title_append --></h2>
|
||||||
|
<!-- EVENT viewtopic_topic_title_after -->
|
||||||
|
|
||||||
<!-- IF MODERATORS -->
|
<!-- IF MODERATORS -->
|
||||||
<p class="moderators"><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->{L_COLON} {MODERATORS}</p>
|
<p class="moderators"><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->{L_COLON} {MODERATORS}</p>
|
||||||
|
|
Loading…
Add table
Reference in a new issue