diff options
-rw-r--r-- | phpBB/docs/events.md | 24 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/index_body.html | 3 | ||||
-rw-r--r-- | phpBB/styles/subsilver2/template/index_body.html | 3 |
3 files changed, 30 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 214e1c8e39..9f2e0f6577 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -194,6 +194,14 @@ index_body_block_online_append * Since: 3.1.0-b3 * 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 === * Locations: @@ -202,6 +210,14 @@ index_body_block_birthday_append * Since: 3.1.0-b3 * 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 === * Locations: @@ -210,6 +226,14 @@ index_body_block_stats_append * Since: 3.1.0-b3 * 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 === * Locations: diff --git a/phpBB/styles/prosilver/template/index_body.html b/phpBB/styles/prosilver/template/index_body.html index 91c90fe600..f9c5b4cf20 100644 --- a/phpBB/styles/prosilver/template/index_body.html +++ b/phpBB/styles/prosilver/template/index_body.html @@ -49,6 +49,7 @@ <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 --> <p> + <!-- EVENT index_body_block_online_prepend --> {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 --> <!-- EVENT index_body_block_online_append --> @@ -60,6 +61,7 @@ <div class="stat-block birthday-list"> <h3>{L_BIRTHDAYS}</h3> <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 --> <!-- EVENT index_body_block_birthday_append --> </p> @@ -70,6 +72,7 @@ <div class="stat-block statistics"> <h3>{L_STATISTICS}</h3> <p> + <!-- EVENT index_body_block_stats_prepend --> {TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {NEWEST_USER} <!-- EVENT index_body_block_stats_append --> </p> diff --git a/phpBB/styles/subsilver2/template/index_body.html b/phpBB/styles/subsilver2/template/index_body.html index 97bf96f997..cb67768b15 100644 --- a/phpBB/styles/subsilver2/template/index_body.html +++ b/phpBB/styles/subsilver2/template/index_body.html @@ -46,6 +46,7 @@ <!-- ENDIF --> <td class="row1" width="100%"> <span class="genmed"> + <!-- EVENT index_body_block_online_prepend --> {TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST} <!-- EVENT index_body_block_online_append --> </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" width="100%"> <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 --> <!-- EVENT index_body_block_birthday_append --> </p> @@ -88,6 +90,7 @@ <td class="row1"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_STATISTICS}" /></td> <td class="row1" width="100%" valign="middle"> <p class="genmed"> + <!-- EVENT index_body_block_stats_prepend --> {TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER} <!-- EVENT index_body_block_stats_append --> </p> |