[ticket/12374] Added prepend-versions of events

PHPBB3-12374
This commit is contained in:
PayBas 2014-04-11 12:24:27 +02:00
parent bb7941a52b
commit 8186e282f1
3 changed files with 30 additions and 0 deletions

View file

@ -194,6 +194,14 @@ index_body_block_online_append
* Since: 3.1.0-b3 * Since: 3.1.0-b3
* Purpose: Append content to the online list on the Board index * Purpose: Append content to the online list on the Board index
index_body_block_online_prepend
===
* Locations:
+ styles/prosilver/template/index_body.html
+ styles/subsilver2/template/index_body.html
* Since: 3.1.0-b3
* Purpose: Prepend content to the online list on the Board index
index_body_block_birthday_append index_body_block_birthday_append
=== ===
* Locations: * Locations:
@ -202,6 +210,14 @@ index_body_block_birthday_append
* Since: 3.1.0-b3 * Since: 3.1.0-b3
* Purpose: Append content to the birthday list on the Board index * Purpose: Append content to the birthday list on the Board index
index_body_block_birthday_prepend
===
* Locations:
+ styles/prosilver/template/index_body.html
+ styles/subsilver2/template/index_body.html
* Since: 3.1.0-b3
* Purpose: Prepend content to the birthday list on the Board index
index_body_block_stats_append index_body_block_stats_append
=== ===
* Locations: * Locations:
@ -210,6 +226,14 @@ index_body_block_stats_append
* Since: 3.1.0-b3 * Since: 3.1.0-b3
* Purpose: Append content to the statistics list on the Board index * Purpose: Append content to the statistics list on the Board index
index_body_block_stats_prepend
===
* Locations:
+ styles/prosilver/template/index_body.html
+ styles/subsilver2/template/index_body.html
* Since: 3.1.0-b3
* Purpose: Prepend content to the statistics list on the Board index
index_body_linklist_after index_body_linklist_after
=== ===
* Locations: * Locations:

View file

@ -49,6 +49,7 @@
<div class="stat-block online-list"> <div class="stat-block online-list">
<!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF --> <!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->
<p> <p>
<!-- EVENT index_body_block_online_prepend -->
{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <br />{LOGGED_IN_USER_LIST} {TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <br />{LOGGED_IN_USER_LIST}
<!-- IF LEGEND --><br /><em>{L_LEGEND}{L_COLON} {LEGEND}</em><!-- ENDIF --> <!-- IF LEGEND --><br /><em>{L_LEGEND}{L_COLON} {LEGEND}</em><!-- ENDIF -->
<!-- EVENT index_body_block_online_append --> <!-- EVENT index_body_block_online_append -->
@ -60,6 +61,7 @@
<div class="stat-block birthday-list"> <div class="stat-block birthday-list">
<h3>{L_BIRTHDAYS}</h3> <h3>{L_BIRTHDAYS}</h3>
<p> <p>
<!-- EVENT index_body_block_birthday_prepend -->
<!-- IF .birthdays -->{L_CONGRATULATIONS}{L_COLON} <strong><!-- BEGIN birthdays -->{birthdays.USERNAME}<!-- IF birthdays.AGE !== '' --> ({birthdays.AGE})<!-- ENDIF --><!-- IF not birthdays.S_LAST_ROW -->, <!-- ENDIF --><!-- END birthdays --></strong><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --> <!-- IF .birthdays -->{L_CONGRATULATIONS}{L_COLON} <strong><!-- BEGIN birthdays -->{birthdays.USERNAME}<!-- IF birthdays.AGE !== '' --> ({birthdays.AGE})<!-- ENDIF --><!-- IF not birthdays.S_LAST_ROW -->, <!-- ENDIF --><!-- END birthdays --></strong><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF -->
<!-- EVENT index_body_block_birthday_append --> <!-- EVENT index_body_block_birthday_append -->
</p> </p>
@ -70,6 +72,7 @@
<div class="stat-block statistics"> <div class="stat-block statistics">
<h3>{L_STATISTICS}</h3> <h3>{L_STATISTICS}</h3>
<p> <p>
<!-- EVENT index_body_block_stats_prepend -->
{TOTAL_POSTS} &bull; {TOTAL_TOPICS} &bull; {TOTAL_USERS} &bull; {NEWEST_USER} {TOTAL_POSTS} &bull; {TOTAL_TOPICS} &bull; {TOTAL_USERS} &bull; {NEWEST_USER}
<!-- EVENT index_body_block_stats_append --> <!-- EVENT index_body_block_stats_append -->
</p> </p>

View file

@ -46,6 +46,7 @@
<!-- ENDIF --> <!-- ENDIF -->
<td class="row1" width="100%"> <td class="row1" width="100%">
<span class="genmed"> <span class="genmed">
<!-- EVENT index_body_block_online_prepend -->
{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST} {TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST}
<!-- EVENT index_body_block_online_append --> <!-- EVENT index_body_block_online_append -->
</span> </span>
@ -70,6 +71,7 @@
<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_BIRTHDAYS}" /></td> <td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_BIRTHDAYS}" /></td>
<td class="row1" width="100%"> <td class="row1" width="100%">
<p class="genmed"> <p class="genmed">
<!-- EVENT index_body_block_birthday_prepend -->
<!-- IF .birthdays -->{L_CONGRATULATIONS}{L_COLON} <b><!-- BEGIN birthdays -->{birthdays.USERNAME}<!-- IF birthdays.AGE !== '' --> ({birthdays.AGE})<!-- ENDIF --><!-- IF not birthdays.S_LAST_ROW -->, <!-- ENDIF --><!-- END birthdays --></b><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --> <!-- IF .birthdays -->{L_CONGRATULATIONS}{L_COLON} <b><!-- BEGIN birthdays -->{birthdays.USERNAME}<!-- IF birthdays.AGE !== '' --> ({birthdays.AGE})<!-- ENDIF --><!-- IF not birthdays.S_LAST_ROW -->, <!-- ENDIF --><!-- END birthdays --></b><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF -->
<!-- EVENT index_body_block_birthday_append --> <!-- EVENT index_body_block_birthday_append -->
</p> </p>
@ -88,6 +90,7 @@
<td class="row1"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_STATISTICS}" /></td> <td class="row1"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_STATISTICS}" /></td>
<td class="row1" width="100%" valign="middle"> <td class="row1" width="100%" valign="middle">
<p class="genmed"> <p class="genmed">
<!-- EVENT index_body_block_stats_prepend -->
{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER} {TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER}
<!-- EVENT index_body_block_stats_append --> <!-- EVENT index_body_block_stats_append -->
</p> </p>