mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/12234] Replace ICQ with custom profile field
PHPBB3-12234
This commit is contained in:
@@ -13,27 +13,9 @@
|
||||
<fieldset>
|
||||
<dl class="fields2">
|
||||
<dt><label>{L_IM_RECIPIENT}{L_COLON}</label></dt>
|
||||
<dd><strong>{USERNAME}</strong><!-- IF S_SEND_ICQ or S_SEND_AIM or S_SEND_MSNM or S_NO_SEND_JABBER --> [ {IM_CONTACT} ]<!-- ENDIF --><!-- IF PRESENCE_IMG --> {PRESENCE_IMG}<!-- ENDIF --></dd>
|
||||
<dd><strong>{USERNAME}</strong><!-- IF S_SEND_AIM or S_SEND_MSNM or S_NO_SEND_JABBER --> [ {IM_CONTACT} ]<!-- ENDIF --><!-- IF PRESENCE_IMG --> {PRESENCE_IMG}<!-- ENDIF --></dd>
|
||||
</dl>
|
||||
|
||||
<!-- IF S_SEND_ICQ -->
|
||||
<dl class="fields2">
|
||||
<dt><label for="from">{L_IM_NAME}{L_COLON}</label></dt>
|
||||
<dd><input class="inputbox autowidth" type="text" name="from" id="from" size="20" /></dd>
|
||||
</dl>
|
||||
<dl class="fields2">
|
||||
<dt><label for="body">{L_IM_MESSAGE}{L_COLON}</label></dt>
|
||||
<dd><textarea class="inputbox autowidth" name="body" id="body" rows="5" cols="45"></textarea></dd>
|
||||
</dl>
|
||||
<dl class="fields2">
|
||||
<dt> </dt>
|
||||
<dd><input class="button1" name="submit" type="submit" value="{L_IM_SEND}" /></dd>
|
||||
</dl>
|
||||
<input type="hidden" name="fromemail" value="{EMAIL}" />
|
||||
<input type="hidden" name="subject" value="{SITENAME}" />
|
||||
<input type="hidden" name="to" value="{IM_CONTACT}" />
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_SEND_AIM -->
|
||||
<dl class="fields2">
|
||||
<dt> </dt>
|
||||
|
@@ -17,10 +17,6 @@
|
||||
<dd><input type="text" name="email" id="email" value="{EMAIL}" class="inputbox" /></dd>
|
||||
</dl>
|
||||
<!-- ENDIF -->
|
||||
<dl>
|
||||
<dt><label for="icq">{L_ICQ}{L_COLON}</label></dt>
|
||||
<dd><input type="text" name="icq" id="icq" value="{ICQ}" class="inputbox" /></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label for="aim">{L_AIM}{L_COLON}</label></dt>
|
||||
<dd><input type="text" name="aim" id="aim" value="{AIM}" class="inputbox" /></dd>
|
||||
|
@@ -66,7 +66,6 @@
|
||||
<!-- IF U_MSN or USER_MSN --><dt>{L_MSNM}{L_COLON}</dt> <dd><!-- IF U_MSN --><a href="{U_MSN}" onclick="popup(this.href, 550, 320); return false;">{L_SEND_MSNM_MESSAGE}</a><!-- ELSE -->{USER_MSN}<!-- ENDIF --></dd><!-- ENDIF -->
|
||||
<!-- IF U_YIM or USER_YIM --><dt>{L_YIM}{L_COLON}</dt> <dd><!-- IF U_YIM --><a href="{U_YIM}" onclick="popup(this.href, 780, 550); return false;">{L_SEND_YIM_MESSAGE}</a><!-- ELSE -->{USER_YIM}<!-- ENDIF --></dd><!-- ENDIF -->
|
||||
<!-- IF U_AIM or USER_AIM --><dt>{L_AIM}{L_COLON}</dt> <dd><!-- IF U_AIM --><a href="{U_AIM}" onclick="popup(this.href, 550, 320); return false;">{L_SEND_AIM_MESSAGE}</a><!-- ELSE -->{USER_AIM}<!-- ENDIF --></dd><!-- ENDIF -->
|
||||
<!-- IF U_ICQ or USER_ICQ --><dt>{L_ICQ}{L_COLON}</dt> <dd><!-- IF U_ICQ --><a href="{U_ICQ}" onclick="popup(this.href, 550, 320); return false;">{L_SEND_ICQ_MESSAGE}</a><!-- ELSE -->{USER_ICQ}<!-- ENDIF --></dd><!-- ENDIF -->
|
||||
<!-- IF U_JABBER and S_JABBER_ENABLED --><dt>{L_JABBER}{L_COLON}</dt> <dd><a href="{U_JABBER}" onclick="popup(this.href, 550, 320); return false;">{L_SEND_JABBER_MESSAGE}</a></dd><!-- ELSEIF USER_JABBER --><dt>{L_JABBER}{L_COLON}</dt> <dd>{USER_JABBER}</dd><!-- ENDIF -->
|
||||
<!-- BEGIN custom_fields -->
|
||||
<!-- IF custom_fields.S_PROFILE_CONTACT -->
|
||||
|
@@ -34,7 +34,7 @@
|
||||
<!-- EVENT ucp_pm_viewmessage_custom_fields_after -->
|
||||
|
||||
|
||||
<!-- IF U_PM or U_EMAIL or U_WWW or U_MSN or U_ICQ or U_YIM or U_AIM or U_JABBER -->
|
||||
<!-- IF U_PM or U_EMAIL or U_WWW or U_MSN or U_YIM or U_AIM or U_JABBER -->
|
||||
<dd>
|
||||
<ul class="profile-icons">
|
||||
<!-- EVENT ucp_pm_viewmessage_contact_fields_before -->
|
||||
@@ -42,7 +42,6 @@
|
||||
<!-- IF U_EMAIL --><li class="email-icon"><a href="{U_EMAIL}" title="{L_SEND_EMAIL_USER} {MESSAGE_AUTHOR}"><span>{L_SEND_EMAIL_USER} {MESSAGE_AUTHOR}</span></a></li><!-- ENDIF -->
|
||||
<!-- IF U_WWW --><li class="web-icon"><a href="{U_WWW}" title="{L_VISIT_WEBSITE}{L_COLON} {U_WWW}"><span>{L_WEBSITE}</span></a></li><!-- ENDIF -->
|
||||
<!-- IF U_MSN --><li class="msnm-icon"><a href="{U_MSN}" onclick="popup(this.href, 550, 320); return false;" title="{L_MSNM}"><span>{L_MSNM}</span></a></li><!-- ENDIF -->
|
||||
<!-- IF U_ICQ --><li class="icq-icon"><a href="{U_ICQ}" onclick="popup(this.href, 550, 320); return false;" title="{L_ICQ}"><span>{L_ICQ}</span></a></li><!-- ENDIF -->
|
||||
<!-- IF U_YIM --><li class="yahoo-icon"><a href="{U_YIM}" onclick="popup(this.href, 780, 550); return false;" title="{L_YIM}"><span>{L_YIM}</span></a></li><!-- ENDIF -->
|
||||
<!-- IF U_AIM --><li class="aim-icon"><a href="{U_AIM}" onclick="popup(this.href, 550, 320); return false;" title="{L_AIM}"><span>{L_AIM}</span></a></li><!-- ENDIF -->
|
||||
<!-- IF U_JABBER --><li class="jabber-icon"><a href="{U_JABBER}" onclick="popup(this.href, 550, 320); return false;" title="{L_JABBER}"><span>{L_JABBER}</span></a></li><!-- ENDIF -->
|
||||
|
@@ -10,10 +10,6 @@
|
||||
|
||||
<fieldset>
|
||||
<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
|
||||
<dl>
|
||||
<dt><label for="icq">{L_UCP_ICQ}{L_COLON}</label></dt>
|
||||
<dd><input type="text" name="icq" id="icq" maxlength="15" value="{ICQ}" class="inputbox" /></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label for="aim">{L_UCP_AIM}{L_COLON}</label></dt>
|
||||
<dd><input type="text" name="aim" id="aim" maxlength="255" value="{AIM}" class="inputbox" /></dd>
|
||||
|
@@ -144,14 +144,13 @@
|
||||
<!-- EVENT viewtopic_body_postrow_custom_fields_after -->
|
||||
|
||||
<!-- IF not S_IS_BOT -->
|
||||
<!-- IF postrow.U_PM or postrow.U_EMAIL or postrow.U_WWW or postrow.U_MSN or postrow.U_ICQ or postrow.U_YIM or postrow.U_AIM or postrow.U_JABBER -->
|
||||
<!-- IF postrow.U_PM or postrow.U_EMAIL or postrow.U_WWW or postrow.U_MSN or postrow.U_YIM or postrow.U_AIM or postrow.U_JABBER -->
|
||||
<dd>
|
||||
<ul class="profile-icons">
|
||||
<!-- IF postrow.U_PM --><li class="pm-icon"><a href="{postrow.U_PM}" title="{L_PRIVATE_MESSAGE}"><span>{L_PRIVATE_MESSAGE}</span></a></li><!-- ENDIF -->
|
||||
<!-- IF postrow.U_EMAIL --><li class="email-icon"><a href="{postrow.U_EMAIL}" title="{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}"><span>{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}</span></a></li><!-- ENDIF -->
|
||||
<!-- IF postrow.U_WWW --><li class="web-icon"><a href="{postrow.U_WWW}" title="{L_VISIT_WEBSITE}{L_COLON} {postrow.U_WWW}"><span>{L_WEBSITE}</span></a></li><!-- ENDIF -->
|
||||
<!-- IF postrow.U_MSN --><li class="msnm-icon"><a href="{postrow.U_MSN}" onclick="popup(this.href, 550, 320); return false;" title="{L_MSNM}"><span>{L_MSNM}</span></a></li><!-- ENDIF -->
|
||||
<!-- IF postrow.U_ICQ --><li class="icq-icon"><a href="{postrow.U_ICQ}" onclick="popup(this.href, 550, 320); return false;" title="{L_ICQ}"><span>{L_ICQ}</span></a></li><!-- ENDIF -->
|
||||
<!-- IF postrow.U_YIM --><li class="yahoo-icon"><a href="{postrow.U_YIM}" onclick="popup(this.href, 780, 550); return false;" title="{L_YIM}"><span>{L_YIM}</span></a></li><!-- ENDIF -->
|
||||
<!-- IF postrow.U_AIM --><li class="aim-icon"><a href="{postrow.U_AIM}" onclick="popup(this.href, 550, 320); return false;" title="{L_AIM}"><span>{L_AIM}</span></a></li><!-- ENDIF -->
|
||||
<!-- IF postrow.U_JABBER --><li class="jabber-icon"><a href="{postrow.U_JABBER}" onclick="popup(this.href, 550, 320); return false;" title="{L_JABBER}"><span>{L_JABBER}</span></a></li><!-- ENDIF -->
|
||||
|
Reference in New Issue
Block a user