mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Merge pull request #2027 from lucifer4o/ticket/12177
[ticket/12177] Add ucp_friend_list_before/after
This commit is contained in:
commit
74d2d6c66a
3 changed files with 20 additions and 0 deletions
|
@ -414,6 +414,22 @@ ucp_prefs_view_select_menu_append
|
||||||
* Purpose: Add options to the bottom of the drop-down lists block of the Edit
|
* Purpose: Add options to the bottom of the drop-down lists block of the Edit
|
||||||
Display Options screen
|
Display Options screen
|
||||||
|
|
||||||
|
ucp_friend_list_before
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/ucp_zebra_friends.html
|
||||||
|
+ styles/subsilver2/template/ucp_zebra_friends.html
|
||||||
|
* Since: 3.1.0-a4
|
||||||
|
* Purpose: Add optional elements before list of friends in UCP
|
||||||
|
|
||||||
|
ucp_friend_list_after
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/ucp_zebra_friends.html
|
||||||
|
+ styles/subsilver2/template/ucp_zebra_friends.html
|
||||||
|
* Since: 3.1.0-a4
|
||||||
|
* Purpose: Add optional elements after list of friends in UCP
|
||||||
|
|
||||||
viewtopic_print_head_append
|
viewtopic_print_head_append
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
|
|
||||||
<fieldset class="fields2">
|
<fieldset class="fields2">
|
||||||
<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
|
<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
|
||||||
|
<!-- EVENT ucp_friend_list_before -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label <!-- IF S_USERNAME_OPTIONS -->for="usernames"<!-- ENDIF -->>{L_YOUR_FRIENDS}{L_COLON}</label><br /><span>{L_YOUR_FRIENDS_EXPLAIN}</span></dt>
|
<dt><label <!-- IF S_USERNAME_OPTIONS -->for="usernames"<!-- ENDIF -->>{L_YOUR_FRIENDS}{L_COLON}</label><br /><span>{L_YOUR_FRIENDS_EXPLAIN}</span></dt>
|
||||||
<dd>
|
<dd>
|
||||||
|
@ -21,6 +22,7 @@
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
<!-- EVENT ucp_friend_list_after -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="add">{L_ADD_FRIENDS}{L_COLON}</label><br /><span>{L_ADD_FRIENDS_EXPLAIN}</span></dt>
|
<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>
|
<dd><textarea name="add" id="add" rows="3" cols="30" class="inputbox">{USERNAMES}</textarea></dd>
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="2" valign="middle">{L_TITLE}</th>
|
<th colspan="2" valign="middle">{L_TITLE}</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
<!-- EVENT ucp_friend_list_before -->
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row3" colspan="2"><span class="gensmall">{L_FRIENDS_EXPLAIN}</span></td>
|
<td class="row3" colspan="2"><span class="gensmall">{L_FRIENDS_EXPLAIN}</span></td>
|
||||||
</tr>
|
</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="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>
|
<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>
|
</tr>
|
||||||
|
<!-- EVENT ucp_friend_list_after -->
|
||||||
<tr>
|
<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="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>
|
<td class="row2" align="center"><textarea name="add" rows="5" cols="30">{USERNAMES}</textarea><br /></td>
|
||||||
|
|
Loading…
Add table
Reference in a new issue