mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/12233] Allow profile fields to be contact fields
Contact fields are displayed with in the contact section of the user profile and are displayed differently in the mini profile next to posts and private messages PHPBB3-12233
This commit is contained in:
@@ -138,6 +138,14 @@
|
||||
<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_JABBER}{L_COLON} </td>
|
||||
<td><!-- IF U_JABBER --><a href="{U_JABBER}" onclick="popup(this.href, 550, 320); return false" class="imageset">{JABBER_IMG}</a><!-- ELSEIF USER_JABBER -->{USER_JABBER_IMG}<!-- ENDIF --></td>
|
||||
</tr>
|
||||
<!-- BEGIN custom_fields -->
|
||||
<!-- IF custom_fields.S_PROFILE_CONTACT -->
|
||||
<tr>
|
||||
<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{custom_fields.PROFILE_FIELD_NAME}{L_COLON} </td>
|
||||
<td><b class="genmed">{custom_fields.PROFILE_FIELD_VALUE}</b></td>
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
<!-- END custom_fields -->
|
||||
</table>
|
||||
</td>
|
||||
<td class="row1">
|
||||
@@ -164,10 +172,12 @@
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
<!-- BEGIN custom_fields -->
|
||||
<!-- IF not custom_fields.S_PROFILE_CONTACT -->
|
||||
<tr>
|
||||
<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{custom_fields.PROFILE_FIELD_NAME}{L_COLON} </td>
|
||||
<td><b class="genmed">{custom_fields.PROFILE_FIELD_VALUE}</b></td>
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
<!-- END custom_fields -->
|
||||
</table>
|
||||
</td>
|
||||
|
@@ -210,7 +210,9 @@
|
||||
|
||||
<!-- EVENT viewtopic_body_postrow_custom_fields_before -->
|
||||
<!-- BEGIN custom_fields -->
|
||||
<!-- IF not postrow.custom_fields.S_PROFILE_CONTACT -->
|
||||
<br /><b>{postrow.custom_fields.PROFILE_FIELD_NAME}{L_COLON}</b> {postrow.custom_fields.PROFILE_FIELD_VALUE}
|
||||
<!-- ENDIF -->
|
||||
<!-- END custom_fields -->
|
||||
<!-- EVENT viewtopic_body_postrow_custom_fields_after -->
|
||||
</span>
|
||||
|
Reference in New Issue
Block a user