|
@@ -149,12 +149,12 @@ function template_summary()
|
|
// What about if we allow email only via the forum??
|
|
// What about if we allow email only via the forum??
|
|
if ($context['member']['show_email'] === 'yes' || $context['member']['show_email'] === 'no_through_forum' || $context['member']['show_email'] === 'yes_permission_override' && $context['can_send_email'])
|
|
if ($context['member']['show_email'] === 'yes' || $context['member']['show_email'] === 'no_through_forum' || $context['member']['show_email'] === 'yes_permission_override' && $context['can_send_email'])
|
|
echo '
|
|
echo '
|
|
- <li><a href="', $scripturl, '?action=emailuser;sa=email;uid=', $context['member']['id'], '" title="', $context['member']['show_email'] == 'yes' || $context['member']['show_email'] == 'yes_permission_override' ? $context['member']['email'] : '', '" rel="nofollow"><img src="', $settings['images_url'], '/email_sm.png" alt="', $txt['email'], '" class="centericon" /></a></li>';
|
|
|
|
|
|
+ <li><a href="', $scripturl, '?action=emailuser;sa=email;uid=', $context['member']['id'], '" title="', $context['member']['show_email'] == 'yes' || $context['member']['show_email'] == 'yes_permission_override' ? $context['member']['email'] : '', '" rel="nofollow"><img src="', $settings['images_url'], '/email_sm.png" alt="', $txt['email'], '" /></a></li>';
|
|
|
|
|
|
// Don't show an icon if they haven't specified a website.
|
|
// Don't show an icon if they haven't specified a website.
|
|
if ($context['member']['website']['url'] !== '' && !isset($context['disabled_fields']['website']))
|
|
if ($context['member']['website']['url'] !== '' && !isset($context['disabled_fields']['website']))
|
|
echo '
|
|
echo '
|
|
- <li><a href="', $context['member']['website']['url'], '" title="' . $context['member']['website']['title'] . '" target="_blank" class="new_win">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/www_sm.png" alt="' . $context['member']['website']['title'] . '" class="centericon" />' : $txt['www']), '</a></li>';
|
|
|
|
|
|
+ <li><a href="', $context['member']['website']['url'], '" title="' . $context['member']['website']['title'] . '" target="_blank" class="new_win">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/www_sm.png" alt="' . $context['member']['website']['title'] . '" />' : $txt['www']), '</a></li>';
|
|
|
|
|
|
// Are there any custom profile fields for the summary?
|
|
// Are there any custom profile fields for the summary?
|
|
if (!empty($context['custom_fields']))
|
|
if (!empty($context['custom_fields']))
|