mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 20:24:08 +02:00
[ticket/12525] Add string argument to contact and email user language variables
In language/en/common.php: * Introduce a new language variable 'CONTACT' => 'Contact' * Add a string argument to lang var 'CONTACT_USER' to avoid an appended '{USERNAME}' in template. * Add a string argument to lang var 'SEND_EMAIL_USER' to avoid an appended '{USERNAME}' in template. Also fix typos. PHPBB3-12525
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<!-- INCLUDE overall_header.html -->
|
||||
|
||||
<h2 class="titlespace">{L_SEND_EMAIL_USER} {USERNAME}</h2>
|
||||
<h2 class="titlespace">{L_SEND_EMAIL_USER}</h2>
|
||||
|
||||
<form method="post" action="{S_POST_ACTION}" id="post">
|
||||
|
||||
|
@@ -60,10 +60,10 @@
|
||||
<div class="inner">
|
||||
|
||||
<div class="column1">
|
||||
<h3>{L_CONTACT_USER} {USERNAME}</h3>
|
||||
<h3>{L_CONTACT_USER}</h3>
|
||||
|
||||
<dl class="details">
|
||||
<!-- IF U_EMAIL --><dt>{L_EMAIL_ADDRESS}{L_COLON}</dt> <dd><a href="{U_EMAIL}">{L_SEND_EMAIL_USER} {USERNAME}</a></dd><!-- ENDIF -->
|
||||
<!-- IF U_EMAIL --><dt>{L_EMAIL_ADDRESS}{L_COLON}</dt> <dd><a href="{U_EMAIL}">{L_SEND_EMAIL_USER}</a></dd><!-- ENDIF -->
|
||||
<!-- IF U_PM --><dt>{L_PM}{L_COLON}</dt> <dd><a href="{U_PM}">{L_SEND_PRIVATE_MESSAGE}</a></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 -->
|
||||
|
@@ -36,7 +36,7 @@
|
||||
<!-- EVENT ucp_pm_viewmessage_contact_fields_before -->
|
||||
<!-- IF .contact -->
|
||||
<dd class="profile-contact">
|
||||
<strong>{L_CONTACT_USER}{L_COLON}</strong>
|
||||
<strong>{L_CONTACT}{L_COLON}</strong>
|
||||
<div class="dropdown-container dropdown-left">
|
||||
<a href="#" class="dropdown-trigger"><span class="imageset icon_contact"></span></a>
|
||||
<div class="dropdown hidden">
|
||||
|
@@ -149,7 +149,7 @@
|
||||
<!-- EVENT viewtopic_body_contact_fields_before -->
|
||||
<!-- IF not S_IS_BOT and .postrow.contact -->
|
||||
<dd class="profile-contact">
|
||||
<strong>{L_CONTACT_USER}{L_COLON}</strong>
|
||||
<strong>{L_CONTACT}{L_COLON}</strong>
|
||||
<div class="dropdown-container dropdown-left">
|
||||
<a href="#" class="dropdown-trigger"><span class="imageset icon_contact"></span></a>
|
||||
<div class="dropdown hidden">
|
||||
|
Reference in New Issue
Block a user