diff options
author | Zoddo <zoddo.ino@gmail.com> | 2015-08-09 13:42:34 +0200 |
---|---|---|
committer | Zoddo <zoddo.ino@gmail.com> | 2015-08-09 13:42:34 +0200 |
commit | 9a2c74a68c2a078dca21b45de3a4303232e009f7 (patch) | |
tree | 77349cfaf77b67c5258b7a602e603343d0bc0849 /phpBB | |
parent | 668defcf5705699be3a15548c08a3ea6c79086af (diff) | |
download | forums-9a2c74a68c2a078dca21b45de3a4303232e009f7.tar forums-9a2c74a68c2a078dca21b45de3a4303232e009f7.tar.gz forums-9a2c74a68c2a078dca21b45de3a4303232e009f7.tar.bz2 forums-9a2c74a68c2a078dca21b45de3a4303232e009f7.tar.xz forums-9a2c74a68c2a078dca21b45de3a4303232e009f7.zip |
[ticket/14019] Add posting_topic_title_before template event
Allows to add some information on the left of the topic title
in the posting form
PHPBB3-14019
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/docs/events.md | 8 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/posting_layout.html | 2 | ||||
-rw-r--r-- | phpBB/styles/subsilver2/template/posting_body.html | 2 |
3 files changed, 10 insertions, 2 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index fc123154e8..b768daf3df 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -1139,6 +1139,14 @@ posting_poll_body_options_after * Since: 3.1.4-RC1 * Purpose: Add content after the poll options on creating a poll +posting_topic_title_before +=== +* Locations: + + styles/prosilver/template/posting_layout.html + + styles/subsilver2/template/posting_body.html +* Since: 3.1.6-RC1 +* Purpose: Allows to add some information on the left of the topic title in the posting form + quickreply_editor_panel_after === * Locations: diff --git a/phpBB/styles/prosilver/template/posting_layout.html b/phpBB/styles/prosilver/template/posting_layout.html index 34f0c63d5c..19a7351d78 100644 --- a/phpBB/styles/prosilver/template/posting_layout.html +++ b/phpBB/styles/prosilver/template/posting_layout.html @@ -1,7 +1,7 @@ <!-- INCLUDE overall_header.html --> <!-- IF TOPIC_TITLE --> - <h2 class="posting-title"><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></h2> + <h2 class="posting-title"><!-- EVENT posting_topic_title_before --><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></h2> <!-- ELSE --> <h2 class="posting-title"><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></h2> <!-- ENDIF --> diff --git a/phpBB/styles/subsilver2/template/posting_body.html b/phpBB/styles/subsilver2/template/posting_body.html index cde6873a90..03311a3d60 100644 --- a/phpBB/styles/subsilver2/template/posting_body.html +++ b/phpBB/styles/subsilver2/template/posting_body.html @@ -20,7 +20,7 @@ <!-- IF not S_PRIVMSGS --> <div id="pageheader"> - <h2><!-- IF TOPIC_TITLE --><a class="titles" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><!-- ELSE --><a class="titles" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><!-- ENDIF --></h2> + <h2><!-- IF TOPIC_TITLE --><!-- EVENT posting_topic_title_before --><a class="titles" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><!-- ELSE --><a class="titles" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><!-- ENDIF --></h2> <!-- IF MODERATORS --> <p class="moderators">{L_MODERATORS}{L_COLON} {MODERATORS}</p> |