mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
Merge pull request #4818 from rxu/ticket/15205
[ticket/15205] Add template events prepending/appending subforum link
This commit is contained in:
@@ -693,6 +693,22 @@ forumlist_body_last_post_title_prepend
|
|||||||
* Since: 3.1.0-a1
|
* Since: 3.1.0-a1
|
||||||
* Purpose: Add content before the post title of the latest post in a forum on the forum list.
|
* Purpose: Add content before the post title of the latest post in a forum on the forum list.
|
||||||
|
|
||||||
|
forumlist_body_subforum_link_append
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/forumlist_body.html
|
||||||
|
+ styles/subsilver2/template/forumlist_body.html
|
||||||
|
* Since: 3.1.11-RC1
|
||||||
|
* Purpose: Add content at the end of subforum link item.
|
||||||
|
|
||||||
|
forumlist_body_subforum_link_prepend
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/forumlist_body.html
|
||||||
|
+ styles/subsilver2/template/forumlist_body.html
|
||||||
|
* Since: 3.1.11-RC1
|
||||||
|
* Purpose: Add content at the start of subforum link item.
|
||||||
|
|
||||||
forumlist_body_subforums_after
|
forumlist_body_subforums_after
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
|
@@ -47,7 +47,7 @@
|
|||||||
<!-- EVENT forumlist_body_subforums_before -->
|
<!-- EVENT forumlist_body_subforums_before -->
|
||||||
<br /><strong>{forumrow.L_SUBFORUM_STR}{L_COLON}</strong>
|
<br /><strong>{forumrow.L_SUBFORUM_STR}{L_COLON}</strong>
|
||||||
<!-- BEGIN subforum -->
|
<!-- BEGIN subforum -->
|
||||||
<a href="{forumrow.subforum.U_SUBFORUM}" class="subforum<!-- IF forumrow.subforum.S_UNREAD --> unread<!-- ELSE --> read<!-- ENDIF -->" title="<!-- IF forumrow.subforum.S_UNREAD -->{L_UNREAD_POSTS}<!-- ELSE -->{L_NO_UNREAD_POSTS}<!-- ENDIF -->">{forumrow.subforum.SUBFORUM_NAME}</a><!-- IF not forumrow.subforum.S_LAST_ROW -->{L_COMMA_SEPARATOR}<!-- ENDIF -->
|
<!-- EVENT forumlist_body_subforum_link_prepend --><a href="{forumrow.subforum.U_SUBFORUM}" class="subforum<!-- IF forumrow.subforum.S_UNREAD --> unread<!-- ELSE --> read<!-- ENDIF -->" title="<!-- IF forumrow.subforum.S_UNREAD -->{L_UNREAD_POSTS}<!-- ELSE -->{L_NO_UNREAD_POSTS}<!-- ENDIF -->">{forumrow.subforum.SUBFORUM_NAME}</a><!-- IF not forumrow.subforum.S_LAST_ROW -->{L_COMMA_SEPARATOR}<!-- ENDIF --><!-- EVENT forumlist_body_subforum_link_append -->
|
||||||
<!-- END subforum -->
|
<!-- END subforum -->
|
||||||
<!-- EVENT forumlist_body_subforums_after -->
|
<!-- EVENT forumlist_body_subforums_after -->
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
@@ -56,7 +56,7 @@
|
|||||||
<!-- EVENT forumlist_body_subforums_before -->
|
<!-- EVENT forumlist_body_subforums_before -->
|
||||||
<p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}{L_COLON}</strong>
|
<p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}{L_COLON}</strong>
|
||||||
<!-- BEGIN subforum -->
|
<!-- BEGIN subforum -->
|
||||||
<a href="{forumrow.subforum.U_SUBFORUM}" class="subforum<!-- IF forumrow.subforum.S_UNREAD --> unread<!-- ELSE --> read<!-- ENDIF -->" title="<!-- IF forumrow.subforum.S_UNREAD -->{L_UNREAD_POSTS}<!-- ELSE -->{L_NO_UNREAD_POSTS}<!-- ENDIF -->">{forumrow.subforum.SUBFORUM_NAME}</a><!-- IF not forumrow.subforum.S_LAST_ROW -->{L_COMMA_SEPARATOR}<!-- ENDIF -->
|
<!-- EVENT forumlist_body_subforum_link_prepend --><a href="{forumrow.subforum.U_SUBFORUM}" class="subforum<!-- IF forumrow.subforum.S_UNREAD --> unread<!-- ELSE --> read<!-- ENDIF -->" title="<!-- IF forumrow.subforum.S_UNREAD -->{L_UNREAD_POSTS}<!-- ELSE -->{L_NO_UNREAD_POSTS}<!-- ENDIF -->">{forumrow.subforum.SUBFORUM_NAME}</a><!-- IF not forumrow.subforum.S_LAST_ROW -->{L_COMMA_SEPARATOR}<!-- ENDIF --><!-- EVENT forumlist_body_subforum_link_append -->
|
||||||
<!-- END subforum -->
|
<!-- END subforum -->
|
||||||
</p>
|
</p>
|
||||||
<!-- EVENT forumlist_body_subforums_after -->
|
<!-- EVENT forumlist_body_subforums_after -->
|
||||||
|
Reference in New Issue
Block a user