diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2015-11-15 19:48:50 +0100 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2015-11-15 19:48:50 +0100 |
| commit | e3f1cca911e001bcae9351d2c265deba26a752c8 (patch) | |
| tree | 8411bcf8eb2aec78ea6c29288390f3bc7ef9fc43 /phpBB | |
| parent | 8bb4af6271d3c65ec7ab434feb7c0f8c6aa27998 (diff) | |
| parent | d507bce98a998660ce83e41bbc31cbffdb5a0da8 (diff) | |
| download | forums-e3f1cca911e001bcae9351d2c265deba26a752c8.tar forums-e3f1cca911e001bcae9351d2c265deba26a752c8.tar.gz forums-e3f1cca911e001bcae9351d2c265deba26a752c8.tar.bz2 forums-e3f1cca911e001bcae9351d2c265deba26a752c8.tar.xz forums-e3f1cca911e001bcae9351d2c265deba26a752c8.zip | |
Merge pull request #3888 from Senky/ticket/14146
[ticket/14146] Add viewtopic_body_post_subject_before event
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/docs/events.md | 8 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/viewtopic_body.html | 1 | ||||
| -rw-r--r-- | phpBB/styles/subsilver2/template/viewtopic_body.html | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 67f187ec81..a9a26f06f6 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -2433,6 +2433,14 @@ viewtopic_body_post_buttons_list_before * Purpose: Add post button custom list to posts (next to edit, quote etc), before the original list. +viewtopic_body_post_subject_before +=== +* Locations: + + styles/prosilver/template/viewtopic_body.html + + styles/subsilver2/template/viewtopic_body.html +* Since: 3.1.7-RC1 +* Purpose: Add data before post icon and subject + viewtopic_body_postrow_custom_fields_after === * Locations: diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index 07215708a9..e2dcc49686 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -216,6 +216,7 @@ <!-- ENDIF --> <div id="post_content{postrow.POST_ID}"<!-- IF postrow.S_POST_HIDDEN --> style="display: none;"<!-- ENDIF -->> + <!-- EVENT viewtopic_body_post_subject_before --> <h3 <!-- IF postrow.S_FIRST_ROW -->class="first"<!-- ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a></h3> <!-- DEFINE $SHOW_POST_BUTTONS = (postrow.U_EDIT or postrow.U_DELETE or postrow.U_REPORT or postrow.U_WARN or postrow.U_INFO or postrow.U_QUOTE) --> diff --git a/phpBB/styles/subsilver2/template/viewtopic_body.html b/phpBB/styles/subsilver2/template/viewtopic_body.html index ea64bc837f..fe6b8e137b 100644 --- a/phpBB/styles/subsilver2/template/viewtopic_body.html +++ b/phpBB/styles/subsilver2/template/viewtopic_body.html @@ -171,6 +171,7 @@ <!-- EVENT viewtopic_body_post_author_after --> </td> <!-- EVENT viewtopic_body_postrow_post_details_before --> + <!-- EVENT viewtopic_body_post_subject_before --> <td width="100%" height="25"> <table width="100%" cellspacing="0"> <tr> |
