| @@ 221-223 (lines=3) @@ | ||
| 218 | <ul class="icon_fields clear">'; |
|
| 219 | ||
| 220 | // Email is only visible if it's your profile or you have the moderate_forum permission |
|
| 221 | if ($context['member']['show_email']) |
|
| 222 | echo ' |
|
| 223 | <li><a href="mailto:', $context['member']['email'], '" title="', $context['member']['email'], '" rel="nofollow"><span class="generic_icons mail" title="' . $txt['email'] . '"></span></a></li>'; |
|
| 224 | ||
| 225 | // Don't show an icon if they haven't specified a website. |
|
| 226 | if ($context['member']['website']['url'] !== '' && !isset($context['disabled_fields']['website'])) |
|
| @@ 300-305 (lines=6) @@ | ||
| 297 | <dt>', $txt['profile_posts'], ': </dt> |
|
| 298 | <dd>', $context['member']['posts'], ' (', $context['member']['posts_per_day'], ' ', $txt['posts_per_day'], ')</dd>'; |
|
| 299 | ||
| 300 | if ($context['member']['show_email']) |
|
| 301 | echo ' |
|
| 302 | <dt>', $txt['email'], ': </dt> |
|
| 303 | <dd><a href="mailto:', $context['member']['email'], '">', $context['member']['email'], '</a></dd>'; |
|
| 304 | ||
| 305 | if (!empty($modSettings['titlesEnable']) && !empty($context['member']['title'])) |
|
| 306 | echo ' |
|
| 307 | <dt>', $txt['custom_title'], ': </dt> |
|
| 308 | <dd>', $context['member']['title'], '</dd>'; |
|
| @@ 370-372 (lines=3) @@ | ||
| 367 | <li><a href="', $message['member']['website']['url'], '" title="' . $message['member']['website']['title'] . '" target="_blank" rel="noopener">', ($settings['use_image_buttons'] ? '<span class="generic_icons www centericon" title="' . $message['member']['website']['title'] . '"></span>' : $txt['www']), '</a></li>'; |
|
| 368 | ||
| 369 | // Don't show the email address if they want it hidden. |
|
| 370 | if ($message['member']['show_email']) |
|
| 371 | echo ' |
|
| 372 | <li><a href="mailto:', $message['member']['email'], '" rel="nofollow">', ($settings['use_image_buttons'] ? '<span class="generic_icons mail centericon" title="' . $txt['email'] . '"></span>' : $txt['email']), '</a></li>'; |
|
| 373 | ||
| 374 | // Since we know this person isn't a guest, you *can* message them. |
|
| 375 | if ($context['can_send_pm']) |
|