mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-19 01:38:54 +00:00
Merge pull request #3540 from RMcGirr83/ticket/13699
[ticket/13699] Add event before and after forum title in viewforum
This commit is contained in:
commit
d004a1c6b8
3 changed files with 20 additions and 3 deletions
|
@ -1523,6 +1523,22 @@ viewforum_forum_name_prepend
|
|||
* Since: 3.1.0-b3
|
||||
* Purpose: Add content directly before the forum name link on the View forum screen
|
||||
|
||||
viewforum_forum_title_after
|
||||
===
|
||||
* Locations:
|
||||
+ styles/prosilver/template/viewforum_body.html
|
||||
+ styles/subsilver2/template/viewforum_body.html
|
||||
* Since: 3.1.5-RC1
|
||||
* Purpose: Add content directly after the forum title on the View forum screen
|
||||
|
||||
viewforum_forum_title_before
|
||||
===
|
||||
* Locations:
|
||||
+ styles/prosilver/template/viewforum_body.html
|
||||
+ styles/subsilver2/template/viewforum_body.html
|
||||
* Since: 3.1.5-RC1
|
||||
* Purpose: Add content directly before the forum title on the View forum screen
|
||||
|
||||
viewtopic_print_head_append
|
||||
===
|
||||
* Locations:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!-- INCLUDE overall_header.html -->
|
||||
|
||||
<!-- EVENT viewforum_forum_title_before -->
|
||||
<h2 class="forum-title"><!-- EVENT viewforum_forum_name_prepend --><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a><!-- EVENT viewforum_forum_name_append --></h2>
|
||||
|
||||
<!-- EVENT viewforum_forum_title_after -->
|
||||
<!-- IF FORUM_DESC or MODERATORS or U_MCP -->
|
||||
<div>
|
||||
<!-- NOTE: remove the style="display: none" when you want to have the forum description on the forum body -->
|
||||
|
|
|
@ -103,8 +103,9 @@
|
|||
|
||||
<!-- IF S_IS_POSTABLE or S_NO_READ_ACCESS -->
|
||||
<div id="pageheader">
|
||||
<!-- EVENT viewforum_forum_title_before -->
|
||||
<h2><!-- EVENT viewforum_forum_name_prepend --><a class="titles" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><!-- EVENT viewforum_forum_name_append --></h2>
|
||||
|
||||
<!-- EVENT viewforum_forum_title_after -->
|
||||
<!-- IF MODERATORS -->
|
||||
<p class="moderators"><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->{L_COLON} {MODERATORS}</p>
|
||||
<!-- ENDIF -->
|
||||
|
|
Loading…
Add table
Reference in a new issue