1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-11 17:01:07 +02:00

[ticket/13710] Allow template events near smilies display

PHPBB3-13710
This commit is contained in:
RMcGirr83
2015-03-18 10:45:58 -04:00
committed by Richard McGirr
parent ee70b364c7
commit d4ca81f23f
3 changed files with 30 additions and 1 deletions

View File

@ -896,6 +896,14 @@ overall_header_stylesheets_after
* Purpose: Add asset calls after stylesheets within the `</head>` tag. * Purpose: Add asset calls after stylesheets within the `</head>` tag.
Note that INCLUDECSS will not work with this event. Note that INCLUDECSS will not work with this event.
posting_editor_bbcode_status_after
===
* Locations:
+ styles/prosilver/template/posting_editor.html
+ styles/subsilver2/template/posting_body.html
* Since: 3.1.4-RC1
* Purpose: Add content after bbcode status
posting_editor_buttons_after posting_editor_buttons_after
=== ===
* Locations: * Locations:
@ -944,6 +952,22 @@ posting_editor_options_prepend
* Since: 3.1.0-a1 * Since: 3.1.0-a1
* Purpose: Add posting options on the posting screen * Purpose: Add posting options on the posting screen
posting_editor_smilies_after
===
* Locations:
+ styles/prosilver/template/posting_editor.html
+ styles/subsilver2/template/posting_body.html
* Since: 3.1.4-RC1
* Purpose: Add content after smilies
posting_editor_smilies_before
===
* Locations:
+ styles/prosilver/template/posting_editor.html
+ styles/subsilver2/template/posting_body.html
* Since: 3.1.4-RC1
* Purpose: Add content before the smilies
posting_editor_subject_after posting_editor_subject_after
=== ===
* Locations: * Locations:

View File

@ -36,6 +36,7 @@
<!-- INCLUDE posting_buttons.html --> <!-- INCLUDE posting_buttons.html -->
<div id="smiley-box"> <div id="smiley-box">
<!-- EVENT posting_editor_smilies_before -->
<!-- IF S_SMILIES_ALLOWED and .smiley --> <!-- IF S_SMILIES_ALLOWED and .smiley -->
<strong>{L_SMILIES}</strong><br /> <strong>{L_SMILIES}</strong><br />
<!-- BEGIN smiley --> <!-- BEGIN smiley -->
@ -45,7 +46,7 @@
<!-- IF S_SHOW_SMILEY_LINK and S_SMILIES_ALLOWED --> <!-- IF S_SHOW_SMILEY_LINK and S_SMILIES_ALLOWED -->
<br /><a href="{U_MORE_SMILIES}" onclick="popup(this.href, 750, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a> <br /><a href="{U_MORE_SMILIES}" onclick="popup(this.href, 750, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a>
<!-- ENDIF --> <!-- ENDIF -->
<!-- EVENT posting_editor_smilies_after -->
<!-- IF BBCODE_STATUS --> <!-- IF BBCODE_STATUS -->
<div class="bbcode-status"> <div class="bbcode-status">
<!-- IF .smiley --><hr /><!-- ENDIF --> <!-- IF .smiley --><hr /><!-- ENDIF -->
@ -58,6 +59,7 @@
{SMILIES_STATUS} {SMILIES_STATUS}
</div> </div>
<!-- ENDIF --> <!-- ENDIF -->
<!-- EVENT posting_editor_bbcode_status_after -->
<!-- IF S_EDIT_DRAFT || S_DISPLAY_REVIEW --> <!-- IF S_EDIT_DRAFT || S_DISPLAY_REVIEW -->
<!-- IF S_DISPLAY_REVIEW --><hr /><!-- ENDIF --> <!-- IF S_DISPLAY_REVIEW --><hr /><!-- ENDIF -->
<!-- IF S_EDIT_DRAFT --><strong><a href="{S_UCP_ACTION}">{L_BACK_TO_DRAFTS}</a></strong><!-- ENDIF --> <!-- IF S_EDIT_DRAFT --><strong><a href="{S_UCP_ACTION}">{L_BACK_TO_DRAFTS}</a></strong><!-- ENDIF -->

View File

@ -171,6 +171,7 @@
<!-- EVENT posting_editor_subject_after --> <!-- EVENT posting_editor_subject_after -->
<tr> <tr>
<td class="row1" valign="top"><b class="genmed">{L_MESSAGE_BODY}{L_COLON}</b><br /><span class="gensmall">{L_MESSAGE_BODY_EXPLAIN}&nbsp;</span><br /><br /> <td class="row1" valign="top"><b class="genmed">{L_MESSAGE_BODY}{L_COLON}</b><br /><span class="gensmall">{L_MESSAGE_BODY_EXPLAIN}&nbsp;</span><br /><br />
<!-- EVENT posting_editor_smilies_before -->
<!-- IF S_SMILIES_ALLOWED --> <!-- IF S_SMILIES_ALLOWED -->
<table width="100%" cellspacing="5" cellpadding="0" border="0" align="center"> <table width="100%" cellspacing="5" cellpadding="0" border="0" align="center">
<tr> <tr>
@ -192,6 +193,7 @@
</table> </table>
<!-- ENDIF --> <!-- ENDIF -->
<!-- EVENT posting_editor_smilies_after -->
</td> </td>
<td class="row2" valign="top"> <td class="row2" valign="top">
<script type="text/javascript"> <script type="text/javascript">
@ -246,6 +248,7 @@
</tr> </tr>
</table> </table>
</td> </td>
<!-- EVENT posting_editor_bbcode_status_after -->
<td class="row2"> <td class="row2">
<table cellpadding="1"> <table cellpadding="1">
<!-- EVENT posting_editor_options_prepend --> <!-- EVENT posting_editor_options_prepend -->