1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-07 23:16:13 +02:00

Merge pull request #2868 from rxu/ticket/12969

[ticket/12969] Add template events around username link on composing pm
This commit is contained in:
Marc Alexander 2014-09-05 21:05:33 +02:00
commit b854882470
3 changed files with 20 additions and 0 deletions

View File

@ -764,6 +764,22 @@ posting_editor_subject_before
* Since: 3.1.0-a2 * Since: 3.1.0-a2
* Purpose: Add field (e.g. textbox) to the posting screen before the subject * Purpose: Add field (e.g. textbox) to the posting screen before the subject
posting_pm_header_find_username_after
===
* Locations:
+ styles/prosilver/template/posting_pm_header.html
+ styles/subsilver2/template/ucp_header.html
* Since: 3.1.0-RC4
* Purpose: Add content after the find username link on composing pm
posting_pm_header_find_username_before
===
* Locations:
+ styles/prosilver/template/posting_pm_header.html
+ styles/subsilver2/template/ucp_header.html
* Since: 3.1.0-RC4
* Purpose: Add content before the find username link on composing pm
quickreply_editor_panel_after quickreply_editor_panel_after
=== ===
* Locations: * Locations:

View File

@ -15,7 +15,9 @@
<dd class="recipients"> <dd class="recipients">
<input type="submit" name="add_to" value="{L_ADD}" class="button2" tabindex="1" /> <input type="submit" name="add_to" value="{L_ADD}" class="button2" tabindex="1" />
<input type="submit" name="add_bcc" value="{L_ADD_BCC}" class="button2" tabindex="1" /> <input type="submit" name="add_bcc" value="{L_ADD_BCC}" class="button2" tabindex="1" />
<!-- EVENT posting_pm_header_find_username_before -->
<span><a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a></span> <span><a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a></span>
<!-- EVENT posting_pm_header_find_username_after -->
</dd> </dd>
</dl> </dl>
<!-- ENDIF --> <!-- ENDIF -->

View File

@ -25,11 +25,13 @@
<tr> <tr>
<td class="row1"><b class="genmed">{L_USERNAMES}{L_COLON}</b></td> <td class="row1"><b class="genmed">{L_USERNAMES}{L_COLON}</b></td>
</tr> </tr>
<!-- EVENT posting_pm_header_find_username_before -->
<tr> <tr>
<td class="row2"><textarea name="username_list" rows="5" cols="22" tabindex="1"></textarea><br /> <td class="row2"><textarea name="username_list" rows="5" cols="22" tabindex="1"></textarea><br />
[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ] [ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]
</td> </td>
</tr> </tr>
<!-- EVENT posting_pm_header_find_username_after -->
<!-- ENDIF --> <!-- ENDIF -->
<!-- IF S_GROUP_OPTIONS --> <!-- IF S_GROUP_OPTIONS -->
<tr> <tr>