mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-21 00:02:18 +02:00
Merge pull request #2061 from rxu/ticket/12231
[ticket/12231] Add template events to forumlist_body.html
This commit is contained in:
commit
9d25485b32
@ -78,6 +78,22 @@ acp_users_signature_editor_buttons_before
|
||||
* Since: 3.1.0-a3
|
||||
* Purpose: Add content before BBCode posting buttons in the ACP user signature
|
||||
|
||||
forumlist_body_category_header_after
|
||||
====
|
||||
* Locations:
|
||||
+ styles/prosilver/template/forumlist_body.html
|
||||
+ styles/subsilver2/template/forumlist_body.html
|
||||
* Since: 3.1.0-a4
|
||||
* Purpose: Add content after the header of the category on the forum list.
|
||||
|
||||
forumlist_body_category_header_before
|
||||
====
|
||||
* Locations:
|
||||
+ styles/prosilver/template/forumlist_body.html
|
||||
+ styles/subsilver2/template/forumlist_body.html
|
||||
* Since: 3.1.0-a4
|
||||
* Purpose: Add content before the header of the category on the forum list.
|
||||
|
||||
forumlist_body_last_post_title_prepend
|
||||
====
|
||||
* Locations:
|
||||
@ -86,6 +102,22 @@ forumlist_body_last_post_title_prepend
|
||||
* Since: 3.1.0-a1
|
||||
* Purpose: Add content before the post title of the latest post in a forum on the forum list.
|
||||
|
||||
forumlist_body_subforums_after
|
||||
====
|
||||
* Locations:
|
||||
+ styles/prosilver/template/forumlist_body.html
|
||||
+ styles/subsilver2/template/forumlist_body.html
|
||||
* Since: 3.1.0-a4
|
||||
* Purpose: Add content after the list of subforums (if any) for each forum on the forum list.
|
||||
|
||||
forumlist_body_subforums_before
|
||||
====
|
||||
* Locations:
|
||||
+ styles/prosilver/template/forumlist_body.html
|
||||
+ styles/subsilver2/template/forumlist_body.html
|
||||
* Since: 3.1.0-a4
|
||||
* Purpose: Add content before the list of subforums (if any) for each forum on the forum list.
|
||||
|
||||
index_body_linklist_after
|
||||
===
|
||||
* Locations:
|
||||
|
@ -7,6 +7,7 @@
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT forumlist_body_category_header_before -->
|
||||
<!-- IF forumrow.S_IS_CAT or forumrow.S_FIRST_ROW or forumrow.S_NO_CAT -->
|
||||
<div class="forabg">
|
||||
<div class="inner">
|
||||
@ -22,6 +23,7 @@
|
||||
</ul>
|
||||
<ul class="topiclist forums">
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT forumlist_body_category_header_after -->
|
||||
|
||||
<!-- IF not forumrow.S_IS_CAT -->
|
||||
<li class="row">
|
||||
@ -37,10 +39,12 @@
|
||||
<br /><strong>{forumrow.L_MODERATOR_STR}{L_COLON}</strong> {forumrow.MODERATORS}
|
||||
<!-- ENDIF -->
|
||||
<!-- IF .forumrow.subforum and forumrow.S_LIST_SUBFORUMS -->
|
||||
<!-- EVENT forumlist_body_subforums_before -->
|
||||
<br /><strong>{forumrow.L_SUBFORUM_STR}</strong>
|
||||
<!-- BEGIN subforum -->
|
||||
<a href="{forumrow.subforum.U_SUBFORUM}" class="subforum<!-- IF forumrow.subforum.S_UNREAD --> unread<!-- ELSE --> read<!-- ENDIF -->" title="<!-- IF forumrow.subforum.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 -->
|
||||
<!-- END subforum -->
|
||||
<!-- EVENT forumlist_body_subforums_after -->
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF not S_IS_BOT -->
|
||||
|
@ -9,11 +9,13 @@
|
||||
<th> {L_LAST_POST} </th>
|
||||
</tr>
|
||||
<!-- BEGIN forumrow -->
|
||||
<!-- EVENT forumlist_body_category_header_before -->
|
||||
<!-- IF forumrow.S_IS_CAT -->
|
||||
<tr>
|
||||
<td class="cat" colspan="2"><h4><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a></h4></td>
|
||||
<td class="catdiv" colspan="3"> </td>
|
||||
</tr>
|
||||
<!-- EVENT forumlist_body_category_header_after -->
|
||||
<!-- ELSEIF forumrow.S_IS_LINK -->
|
||||
<tr>
|
||||
<td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
|
||||
@ -49,11 +51,13 @@
|
||||
<p class="forumdesc"><strong>{forumrow.L_MODERATOR_STR}{L_COLON}</strong> {forumrow.MODERATORS}</p>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF .forumrow.subforum and forumrow.S_LIST_SUBFORUMS -->
|
||||
<!-- EVENT forumlist_body_subforums_before -->
|
||||
<p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}</strong>
|
||||
<!-- BEGIN subforum -->
|
||||
<a href="{forumrow.subforum.U_SUBFORUM}" class="subforum<!-- IF forumrow.subforum.S_UNREAD --> unread<!-- ELSE --> read<!-- ENDIF -->" title="<!-- IF forumrow.subforum.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 -->
|
||||
<!-- END subforum -->
|
||||
</p>
|
||||
<!-- EVENT forumlist_body_subforums_after -->
|
||||
<!-- ENDIF -->
|
||||
</td>
|
||||
<td class="row2" align="center"><p class="topicdetails">{forumrow.TOPICS}</p></td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user