', $txt['login'], '

'; // Did they make a mistake last time? if (!empty($context['login_errors'])) echo '

', implode('
', $context['login_errors']), '


'; // Or perhaps there's some special description for this time? if (isset($context['description'])) echo '

', $context['description'], '

'; // Now just get the basic information - username, password, etc. echo '
', $txt['username'], ':
', $txt['password'], ':
'; if (!empty($modSettings['enableOpenID'])) echo '

—', $txt['or'], '—

', $txt['openid'], ':
 ', $txt['help'], '

'; echo '
', $txt['mins_logged_in'], ':
', $txt['always_logged_in'], ':
'; // If they have deleted their account, give them a chance to change their mind. if (isset($context['login_show_undelete'])) echo '
', $txt['undelete_account'], ':
'; echo '

', $txt['forgot_your_password'], '

'; // Focus on the correct input - username or password. echo ' '; } // Tell a guest to get lost or login! function template_kick_guest() { global $context, $settings, $options, $scripturl, $modSettings, $txt; // This isn't that much... just like normal login but with a message at the top. echo '

', $txt['warning'], '

'; // Show the message or default message. echo '

', empty($context['kick_message']) ? $txt['only_members_can_access'] : $context['kick_message'], '
'; if ($context['can_register']) echo sprintf($txt['login_below_or_register'], $scripturl . '?action=register', $context['forum_name_html_safe']); else echo $txt['login_below']; // And now the login information. echo '

', $txt['login'], '

', $txt['username'], ':
', $txt['password'], ':
'; if (!empty($modSettings['enableOpenID'])) echo '

—', $txt['or'], '—

', $txt['openid'], ':

'; echo '
', $txt['mins_logged_in'], ':
', $txt['always_logged_in'], ':

', $txt['forgot_your_password'], '

'; // Do the focus thing... echo ' '; } // This is for maintenance mode. function template_maintenance() { global $context, $settings, $options, $scripturl, $txt, $modSettings; // Display the administrator's message at the top. echo '

', $context['title'], '

', $txt['in_maintain_mode'], ' ', $context['description'], '

', $txt['admin_login'], '

', $txt['username'], ':
', $txt['password'], ':
', $txt['mins_logged_in'], ':
', $txt['always_logged_in'], ':

'; } // This is for the security stuff - makes administrators login every so often. function template_admin_login() { global $context, $settings, $options, $scripturl, $txt; // Since this should redirect to whatever they were doing, send all the get data. echo '

', $txt['login'], '

'; if (!empty($context['incorrect_password'])) echo '
', $txt['admin_incorrect_password'], '
'; echo ' ', $txt['password'], ': ', $txt['help'], '
'; // Make sure to output all the old post data. echo $context['post_data'], '
'; // Focus on the password box. echo ' '; } // Activate your account manually? function template_retry_activate() { global $context, $options, $txt, $scripturl; // Just ask them for their code so they can try it again... echo '

', $context['page_title'], '

'; // You didn't even have an ID? if (empty($context['member_id'])) echo '
', $txt['invalid_activation_username'], ':
'; echo '
', $txt['invalid_activation_retry'], ':

'; } // Activate your account manually? function template_resend() { global $context, $options, $txt, $scripturl; // Just ask them for their code so they can try it again... echo '

', $context['page_title'], '

', $txt['invalid_activation_username'], ':

', $txt['invalid_activation_new'], '

', $txt['invalid_activation_new_email'], ':
', $txt['invalid_activation_password'], ':
'; if ($context['can_activate']) echo '

', $txt['invalid_activation_known'], '

', $txt['invalid_activation_retry'], ':
'; echo '

'; } ?>