diff options
-rw-r--r-- | phpBB/styles/prosilver/template/viewtopic_body.html | 2 | ||||
-rw-r--r-- | phpBB/viewtopic.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index b31927ebe0..82d0a05885 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -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"> diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 789d53c676..0845ed0039 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -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'], |