|
@@ -324,7 +324,7 @@ function template_summary()
|
|
|
// If the person looking at the summary has permission, and the account isn't activated, give the viewer the ability to do it themselves.
|
|
|
if (!empty($context['activate_message']))
|
|
|
echo '
|
|
|
- <dt class="clear"><span class="alert">', $context['activate_message'], '</span> (<a href="' . $scripturl . '?action=profile;save;area=activateaccount;u=' . $context['id_member'] . ';' . $context['session_var'] . '=' . $context['session_id'] . '"', ($context['activate_type'] == 4 ? ' onclick="return confirm(\'' . $txt['profileConfirm'] . '\');"' : ''), '>', $context['activate_link_text'], '</a>)</dt>';
|
|
|
+ <dt class="clear"><span class="alert">', $context['activate_message'], '</span> (<a href="', $context['activate_link'], '"', ($context['activate_type'] == 4 ? ' onclick="return confirm(\'' . $txt['profileConfirm'] . '\');"' : ''), '>', $context['activate_link_text'], '</a>)</dt>';
|
|
|
|
|
|
// If the current member is banned, show a message and possibly a link to the ban.
|
|
|
if (!empty($context['member']['bans']))
|