mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/12054] Update index_body_linklist_before/after template events
PHPBB3-12054
This commit is contained in:
@@ -54,13 +54,21 @@ 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.
|
||||
|
||||
index_body_forumlist_before
|
||||
index_body_linklist_before
|
||||
===
|
||||
* Locations:
|
||||
+ styles/prosilver/template/index_body.html
|
||||
+ styles/subsilver2/template/index_body.html
|
||||
* Since: 3.1.0-a3
|
||||
* Purpose: Add content above the forums list (on forum index only)
|
||||
* Purpose: Add content above the forums list (on forum index only, before linklist)
|
||||
|
||||
index_body_linklist_after
|
||||
===
|
||||
* Locations:
|
||||
+ styles/prosilver/template/index_body.html
|
||||
+ styles/subsilver2/template/index_body.html
|
||||
* Since: 3.1.0-a3
|
||||
* Purpose: Add content above the forums list (on forum index only, after linklist)
|
||||
|
||||
index_body_stat_blocks_before
|
||||
===
|
||||
|
@@ -3,6 +3,8 @@
|
||||
<p class="{S_CONTENT_FLOW_END} responsive-center<!-- IF S_USER_LOGGED_IN --> rightside<!-- ENDIF -->"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF --></p>
|
||||
<!-- IF S_USER_LOGGED_IN --><p class="responsive-center">{CURRENT_TIME}<!-- IF U_MCP or U_ACP --> <br />[ <!-- IF U_ACP --><a href="{U_ACP}" title="{L_ACP}" data-responsive-text="{L_ACP_SHORT}">{L_ACP}</a><!-- IF U_MCP --> | <!-- ENDIF --><!-- ENDIF --><!-- IF U_MCP --><a href="{U_MCP}" title="{L_MCP}" data-responsive-text="{L_MCP_SHORT}">{L_MCP}</a><!-- ENDIF --> ]<!-- ENDIF --></p><!-- ENDIF -->
|
||||
|
||||
<!-- EVENT index_body_linklist_before -->
|
||||
|
||||
<!-- IF S_DISPLAY_SEARCH or (S_USER_LOGGED_IN and not S_IS_BOT) -->
|
||||
<ul class="linklist bulletin">
|
||||
<!-- IF S_DISPLAY_SEARCH -->
|
||||
@@ -19,7 +21,7 @@
|
||||
</ul>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT index_body_forumlist_before -->
|
||||
<!-- EVENT index_body_linklist_after -->
|
||||
|
||||
<!-- INCLUDE forumlist_body.html -->
|
||||
|
||||
|
@@ -1,5 +1,7 @@
|
||||
<!-- INCLUDE overall_header.html -->
|
||||
|
||||
<!-- EVENT index_body_linklist_before -->
|
||||
|
||||
<!-- IF U_MCP or U_ACP -->
|
||||
<div id="pageheader">
|
||||
<p class="linkmcp">[ <!-- IF U_ACP --><a href="{U_ACP}">{L_ACP}</a><!-- IF U_MCP --> | <!-- ENDIF --><!-- ENDIF --><!-- IF U_MCP --><a href="{U_MCP}">{L_MCP}</a><!-- ENDIF --> ]</p>
|
||||
@@ -8,7 +10,7 @@
|
||||
<br clear="all" /><br />
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT index_body_forumlist_before -->
|
||||
<!-- EVENT index_body_linklist_after -->
|
||||
|
||||
<!-- INCLUDE forumlist_body.html -->
|
||||
|
||||
|
Reference in New Issue
Block a user