[ticket/11972] Add posting_editor_message_after template event

PHPBB3-11972
This commit is contained in:
David King 2013-10-30 21:28:50 -07:00
parent b8eeca7048
commit 835900123e
3 changed files with 10 additions and 0 deletions

View file

@ -157,6 +157,13 @@ overall_header_navigation_prepend
* Since: 3.1.0-a1 * Since: 3.1.0-a1
* Purpose: Add links before the navigation links in the header * Purpose: Add links before the navigation links in the header
posting_editor_message_after
===
* Locations:
+ styles/prosilver/template/posting_editor.html
+ styles/subsilver2/template/posting_body.html
* Purpose: Add field (e.g. textbox) to the posting screen after the message
posting_editor_message_before posting_editor_message_before
=== ===
* Locations: * Locations:

View file

@ -138,6 +138,8 @@
<div id="message-box"> <div id="message-box">
<textarea <!-- IF S_UCP_ACTION and not S_PRIVMSGS and not S_EDIT_DRAFT -->name="signature" id="signature" style="height: 9em;"<!-- ELSE -->name="message" id="message"<!-- ENDIF --> rows="15" cols="76" tabindex="4" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onfocus="initInsertions();" class="inputbox">{MESSAGE}{DRAFT_MESSAGE}{SIGNATURE}</textarea> <textarea <!-- IF S_UCP_ACTION and not S_PRIVMSGS and not S_EDIT_DRAFT -->name="signature" id="signature" style="height: 9em;"<!-- ELSE -->name="message" id="message"<!-- ENDIF --> rows="15" cols="76" tabindex="4" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onfocus="initInsertions();" class="inputbox">{MESSAGE}{DRAFT_MESSAGE}{SIGNATURE}</textarea>
</div> </div>
<!-- EVENT posting_editor_message_after -->
</fieldset> </fieldset>
<!-- IF $EXTRA_POSTING_OPTIONS eq 1 --> <!-- IF $EXTRA_POSTING_OPTIONS eq 1 -->

View file

@ -216,6 +216,7 @@
</td> </td>
<!-- ENDIF --> <!-- ENDIF -->
</tr> </tr>
<!-- EVENT posting_editor_message_after -->
</table> </table>
</td> </td>
</tr> </tr>