aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-08-14 13:38:09 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-08-14 13:38:09 +0200
commita2e19e4ea8dafc9dd70eaa09a48501047981d6d0 (patch)
tree97da72c74415132afdc0ab7f70d7a7f9077a0855
parentdc55863cadaaa02e9435cd6c9a74c2dce4aaf489 (diff)
parente466318dc26c9cf4f9dc8d42c2bb69983b89608f (diff)
downloadforums-a2e19e4ea8dafc9dd70eaa09a48501047981d6d0.tar
forums-a2e19e4ea8dafc9dd70eaa09a48501047981d6d0.tar.gz
forums-a2e19e4ea8dafc9dd70eaa09a48501047981d6d0.tar.bz2
forums-a2e19e4ea8dafc9dd70eaa09a48501047981d6d0.tar.xz
forums-a2e19e4ea8dafc9dd70eaa09a48501047981d6d0.zip
Merge branch '3.1.x'
Conflicts: phpBB/styles/subsilver2/template/posting_body.html
-rw-r--r--phpBB/docs/events.md7
-rw-r--r--phpBB/styles/prosilver/template/posting_editor.html1
2 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md
index c1c2dcd989..57db80d255 100644
--- a/phpBB/docs/events.md
+++ b/phpBB/docs/events.md
@@ -1009,6 +1009,13 @@ posting_editor_subject_before
* Since: 3.1.0-a2
* Purpose: Add field (e.g. textbox) to the posting screen before the subject
+posting_editor_submit_buttons
+===
+* Locations:
+ + styles/prosilver/template/posting_editor.html
+* Since: 3.1.6-RC1
+* Purpose: Add custom buttons in the posting editor
+
posting_layout_include_panel_body
===
* Locations:
diff --git a/phpBB/styles/prosilver/template/posting_editor.html b/phpBB/styles/prosilver/template/posting_editor.html
index 1581afdb12..1a9b3398aa 100644
--- a/phpBB/styles/prosilver/template/posting_editor.html
+++ b/phpBB/styles/prosilver/template/posting_editor.html
@@ -89,6 +89,7 @@
<fieldset class="submit-buttons">
{S_HIDDEN_ADDRESS_FIELD}
{S_HIDDEN_FIELDS}
+ <!-- EVENT posting_editor_submit_buttons -->
<!-- IF S_HAS_DRAFTS --><input type="submit" accesskey="d" tabindex="8" name="load" value="{L_LOAD_DRAFT}" class="button2" onclick="load_draft = true;" />&nbsp; <!-- ENDIF -->
<!-- IF S_SAVE_ALLOWED --><input type="submit" accesskey="k" tabindex="7" name="save" value="{L_SAVE_DRAFT}" class="button2" />&nbsp; <!-- ENDIF -->
<input type="submit" tabindex="5" name="preview" value="{L_PREVIEW}" class="button1"<!-- IF not S_PRIVMSGS --> onclick="document.getElementById('postform').action += '#preview';"<!-- ENDIF --> />&nbsp;