1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 23:25:30 +02:00

[ticket/12054] Update index_body_linklist_before/after template events

PHPBB3-12054
This commit is contained in:
Matt Friedman 2013-12-03 17:20:32 -08:00
parent 8a6d01591b
commit 186f3ecb7e
3 changed files with 16 additions and 4 deletions

View File

@ -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
===

View File

@ -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 />[&nbsp;<!-- IF U_ACP --><a href="{U_ACP}" title="{L_ACP}" data-responsive-text="{L_ACP_SHORT}">{L_ACP}</a><!-- IF U_MCP -->&nbsp;|&nbsp;<!-- ENDIF --><!-- ENDIF --><!-- IF U_MCP --><a href="{U_MCP}" title="{L_MCP}" data-responsive-text="{L_MCP_SHORT}">{L_MCP}</a><!-- ENDIF -->&nbsp;]<!-- 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 -->

View File

@ -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">[&nbsp;<!-- IF U_ACP --><a href="{U_ACP}">{L_ACP}</a><!-- IF U_MCP -->&nbsp;|&nbsp;<!-- ENDIF --><!-- ENDIF --><!-- IF U_MCP --><a href="{U_MCP}">{L_MCP}</a><!-- ENDIF -->&nbsp;]</p>
@ -8,7 +10,7 @@
<br clear="all" /><br />
<!-- ENDIF -->
<!-- EVENT index_body_forumlist_before -->
<!-- EVENT index_body_linklist_after -->
<!-- INCLUDE forumlist_body.html -->