mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/13628] Allow ability for extension to add entries to user's profile
PHPBB3-13628
This commit is contained in:
parent
13948718c6
commit
153d1691ae
5 changed files with 40 additions and 0 deletions
|
@ -1235,6 +1235,38 @@ ucp_prefs_view_select_menu_append
|
|||
* Purpose: Add options to the bottom of the drop-down lists block of the Edit
|
||||
Display Options screen
|
||||
|
||||
ucp_profile_profile_info_before
|
||||
===
|
||||
* Locations:
|
||||
+ styles/prosilver/template/ucp_profile_profile_info.html
|
||||
+ styles/subsilver2/template/ucp_profile_profile_info.html
|
||||
* Since: 3.1.4-RC1
|
||||
* Purpose: Add options in profile page fieldset - before jabber field.
|
||||
|
||||
ucp_profile_profile_info_after
|
||||
===
|
||||
* Locations:
|
||||
+ styles/prosilver/template/ucp_profile_profile_info.html
|
||||
+ styles/subsilver2/template/ucp_profile_profile_info.html
|
||||
* Since: 3.1.4-RC1
|
||||
* Purpose: Add options in profile page fieldset - after custom profile fields.
|
||||
|
||||
ucp_profile_register_details_before
|
||||
===
|
||||
* Locations:
|
||||
+ styles/prosilver/template/ucp_profile_reg_details.html
|
||||
+ styles/subsilver2/template/ucp_profile_reg_details.html
|
||||
* Since: 3.1.4-RC1
|
||||
* Purpose: Add options in profile page fieldset - before first field.
|
||||
|
||||
ucp_profile_register_details_after
|
||||
===
|
||||
* Locations:
|
||||
+ styles/prosilver/template/ucp_profile_reg_details.html
|
||||
+ styles/subsilver2/template/ucp_profile_reg_details.html
|
||||
* Since: 3.1.4-RC1
|
||||
* Purpose: Add options in profile page fieldset - after confirm password field.
|
||||
|
||||
ucp_register_credentials_before
|
||||
===
|
||||
* Locations:
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<fieldset>
|
||||
<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
|
||||
<!-- EVENT ucp_profile_profile_info_before -->
|
||||
<!-- IF S_BIRTHDAYS_ENABLED -->
|
||||
<dl>
|
||||
<dt><label for="bday_day">{L_BIRTHDAY}{L_COLON}</label><br /><span>{L_BIRTHDAY_EXPLAIN}</span></dt>
|
||||
|
@ -34,6 +35,7 @@
|
|||
<dd>{profile_fields.FIELD}</dd>
|
||||
</dl>
|
||||
<!-- END profile_fields -->
|
||||
<!-- EVENT ucp_profile_profile_info_after -->
|
||||
</fieldset>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
|
||||
<fieldset>
|
||||
<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
|
||||
<!-- EVENT ucp_profile_register_details_before -->
|
||||
<dl>
|
||||
<dt><label <!-- IF S_CHANGE_USERNAME -->for="username"<!-- ENDIF -->>{L_USERNAME}{L_COLON}</label><br /><span>{L_USERNAME_EXPLAIN}</span></dt>
|
||||
<dd><!-- IF S_CHANGE_USERNAME --><input type="text" name="username" id="username" value="{USERNAME}" class="inputbox" title="{L_USERNAME}" /><!-- ELSE --><strong>{USERNAME}</strong><!-- ENDIF --></dd>
|
||||
|
@ -30,6 +31,7 @@
|
|||
<dd><input type="password" name="password_confirm" id="password_confirm" maxlength="255" value="{PASSWORD_CONFIRM}" class="inputbox" title="{L_CONFIRM_PASSWORD}" /></dd>
|
||||
</dl>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT ucp_profile_register_details_after -->
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
<tr>
|
||||
<td class="row1" colspan="2"><span class="gensmall">{L_PROFILE_INFO_NOTICE}</span></td>
|
||||
</tr>
|
||||
<!-- EVENT ucp_profile_profile_info_before -->
|
||||
<!-- IF S_JABBER_ENABLED -->
|
||||
<tr>
|
||||
<td class="row1" width="35%"><b class="genmed">{L_UCP_JABBER}{L_COLON} </b></td>
|
||||
|
@ -34,6 +35,7 @@
|
|||
<td class="row2">{profile_fields.FIELD}<!-- IF profile_fields.ERROR --><br /><span class="gensmall error">{profile_fields.ERROR}</span><!-- ENDIF --></td>
|
||||
</tr>
|
||||
<!-- END profile_fields -->
|
||||
<!-- EVENT ucp_profile_profile_info_after -->
|
||||
<tr>
|
||||
<td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}<input class="btnmain" type="submit" name="submit" value="{L_SUBMIT}" /> <input class="btnlite" type="reset" value="{L_RESET}" name="reset" /></td>
|
||||
</tr>
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
<td class="row3" colspan="2" align="center"><span class="gensmall error">{ERROR}</span></td>
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT ucp_profile_register_details_before -->
|
||||
<tr>
|
||||
<td class="row1" width="35%"><b class="genmed">{L_USERNAME}{L_COLON} </b><br /><span class="gensmall">{L_USERNAME_EXPLAIN}</span></td>
|
||||
<td class="row2"><!-- IF S_CHANGE_USERNAME --><input type="text" class="post" name="username" size="30" value="{USERNAME}" /><!-- ELSE --><b class="gen">{USERNAME}</b><!-- ENDIF --></td>
|
||||
|
@ -32,6 +33,7 @@
|
|||
<td class="row2"><input type="password" class="post" name="password_confirm" size="30" maxlength="255" value="{PASSWORD_CONFIRM}" /></td>
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT ucp_profile_register_details_after -->
|
||||
<tr>
|
||||
<th colspan="2">{L_CONFIRM_CHANGES}</th>
|
||||
</tr>
|
||||
|
|
Loading…
Add table
Reference in a new issue