mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/12177] Add ucp_friend_list_before/after
Add events before and after list of friends in UCP template PHPBB3-12177
This commit is contained in:
committed by
Stanislav Atanasov
parent
13e7bd76a5
commit
89007db505
@@ -11,6 +11,7 @@
|
||||
|
||||
<fieldset class="fields2">
|
||||
<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
|
||||
<!-- EVENT ucp_friend_list_before -->
|
||||
<dl>
|
||||
<dt><label <!-- IF S_USERNAME_OPTIONS -->for="usernames"<!-- ENDIF -->>{L_YOUR_FRIENDS}{L_COLON}</label><br /><span>{L_YOUR_FRIENDS_EXPLAIN}</span></dt>
|
||||
<dd>
|
||||
@@ -21,6 +22,7 @@
|
||||
<!-- ENDIF -->
|
||||
</dd>
|
||||
</dl>
|
||||
<!-- EVENT ucp_friend_list_after -->
|
||||
<dl>
|
||||
<dt><label for="add">{L_ADD_FRIENDS}{L_COLON}</label><br /><span>{L_ADD_FRIENDS_EXPLAIN}</span></dt>
|
||||
<dd><textarea name="add" id="add" rows="3" cols="30" class="inputbox">{USERNAMES}</textarea></dd>
|
||||
|
@@ -4,6 +4,7 @@
|
||||
<tr>
|
||||
<th colspan="2" valign="middle">{L_TITLE}</th>
|
||||
</tr>
|
||||
<!-- EVENT ucp_friend_list_before -->
|
||||
<tr>
|
||||
<td class="row3" colspan="2"><span class="gensmall">{L_FRIENDS_EXPLAIN}</span></td>
|
||||
</tr>
|
||||
@@ -16,6 +17,7 @@
|
||||
<td class="row1" width="40%"><b class="genmed">{L_YOUR_FRIENDS}{L_COLON}</b><br /><span class="gensmall">{L_YOUR_FRIENDS_EXPLAIN}</span></td>
|
||||
<td class="row2" align="center"><!-- IF S_USERNAME_OPTIONS --><select name="usernames[]" multiple="multiple" size="5">{S_USERNAME_OPTIONS}</select><!-- ELSE --><b class="genmed">{L_NO_FRIENDS}</b><!-- ENDIF --></td>
|
||||
</tr>
|
||||
<!-- EVENT ucp_friend_list_after -->
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_ADD_FRIENDS}{L_COLON}</b><br /><span class="gensmall">{L_ADD_FRIENDS_EXPLAIN} [ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</span></td>
|
||||
<td class="row2" align="center"><textarea name="add" rows="5" cols="30">{USERNAMES}</textarea><br /></td>
|
||||
|
Reference in New Issue
Block a user