[ticket/12680] Adds alternativ text with new variable to contact:

PHPBB3-12680
This commit is contained in:
Crizzo 2014-06-10 19:22:59 +02:00
parent 2d90c754fe
commit 02c53595b5
2 changed files with 3 additions and 1 deletions

View file

@ -153,7 +153,7 @@
<dd class="profile-contact">
<strong>{L_CONTACT}{L_COLON}</strong>
<div class="dropdown-container dropdown-left">
<a href="#" class="dropdown-trigger"><span class="imageset icon_contact" title="{L_CONTACT}{L_COLON} {postrow.POST_AUTHOR}">{L_CONTACT}{L_COLON} {postrow.POST_AUTHOR}</span></a>
<a href="#" class="dropdown-trigger"><span class="imageset icon_contact" title="{postrow.CONTACT_USER}">{postrow.CONTACT_USER}</span></a>
<div class="dropdown hidden">
<div class="pointer"><div class="pointer-inner"></div></div>
<div class="dropdown-contents contact-icons">

View file

@ -1061,6 +1061,7 @@ while ($row = $db->sql_fetchrow($result))
'post_time' => $row['post_time'],
'user_id' => $row['user_id'],
'username' => $row['username'],
'contact_user' => $user->lang('CONTACT_USER', $row['username']),
'user_colour' => $row['user_colour'],
'topic_id' => $row['topic_id'],
'forum_id' => $row['forum_id'],
@ -1698,6 +1699,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
'POSTER_AVATAR' => $user_cache[$poster_id]['avatar'],
'POSTER_WARNINGS' => $auth->acl_get('m_warn') ? $user_cache[$poster_id]['warnings'] : '',
'POSTER_AGE' => $user_cache[$poster_id]['age'],
'CONTACT_USER' => $user->lang($row['contact_user']),
'POST_DATE' => $user->format_date($row['post_time'], false, ($view == 'print') ? true : false),
'POST_SUBJECT' => $row['post_subject'],