';
foreach (Utils::$context['news_lines'] as $news)
echo '
@@ -42,6 +45,8 @@ function template_newsfader()
echo '
+
+
- ';
+ ';
if (!empty(Utils::$context['can_register']))
echo '
@@ -158,14 +102,8 @@ function template_login()
', Lang::getTxt('register_prompt', ['scripturl' => Config::$scripturl], file: 'General'), '
';
- // It is a long story as to why we have this when we're clearly not going to use it.
- if (!empty(Utils::$context['from_ajax']))
- echo '
-
- ';
-
echo '
-
+
';
}
@@ -181,7 +119,7 @@ function template_login_tfa()
', Lang::getTxt('tfa_profile_label', file: 'Profile'), '
-
';
+
';
if (!empty(Utils::$context['tfa_error']) || !empty(Utils::$context['tfa_backup_error']))
echo '
@@ -190,11 +128,11 @@ function template_login_tfa()
';
echo '
-
';
}
@@ -286,16 +189,17 @@ function template_kick_guest()
{
// This isn't that much... just like normal login but with a message at the top.
echo '
-
+
+
';
}
@@ -391,39 +288,32 @@ function template_admin_login()
{
// Since this should redirect to whatever they were doing, send all the get data.
echo '
-
+
', Lang::getTxt('login', file: 'General'), '
-
';
+
';
if (!empty(Utils::$context['incorrect_password']))
echo '
';
echo '
- ', Lang::getTxt('password', file: 'General'), '
-
-
+ ', Lang::$txt['password'], ':
+
+
';
// Make sure to output all the old post data.
echo Utils::$context['post_data'], '
-
+
-
';
-
- // Focus on the password box.
- echo '
- ';
}
/**
@@ -433,25 +323,21 @@ function template_retry_activate()
{
// Just ask them for their code so they can try it again...
echo '
-
-
-
', Utils::$context['page_title'], '
-
-
-
';
+
+
', Utils::$context['page_title'], '
+
+
';
// You didn't even have an ID?
if (empty(Utils::$context['member_id']))
echo '
-
';
}
@@ -498,24 +376,21 @@ function template_resend()
*/
function template_logout()
{
- // This isn't that much... just like normal login but with a message at the top.
echo '
-
';
// If there is any field marked as required, show it here!
if (!empty(Utils::$context['custom_fields_required']) && !empty(Utils::$context['custom_fields']))
{
- echo '
-
';
-
foreach (Utils::$context['custom_fields'] as $field)
if ($field['show_reg'] > 1)
echo '
-
';
}
- echo '
-
- ';
-
// If we have either of these, show the extra group.
if (!empty(Utils::$context['profile_fields']) || !empty(Utils::$context['custom_fields']))
echo '
';
if (!empty(Utils::$context['profile_fields']))
{
@@ -207,8 +172,8 @@ function verifyAgree()
else
{
echo '
-
- ', $field['label'], ':';
+
+ ', $field['label'], ':';
// Does it have any subtext to show?
if (!empty($field['subtext']))
@@ -216,8 +181,8 @@ function verifyAgree()
', $field['subtext'], '';
echo '
-
-
';
+
+
';
// Want to put something infront of the box?
if (!empty($field['preinput']))
@@ -232,18 +197,18 @@ function verifyAgree()
// Maybe it's a text box - very likely!
elseif (in_array($field['type'], array('int', 'float', 'text', 'password', 'url')))
echo '
- ';
+ ';
// You "checking" me out? ;)
elseif ($field['type'] == 'check')
echo '
- ';
+ ';
// Always fun - select boxes!
elseif ($field['type'] == 'select')
{
echo '
-
';
}
}
}
@@ -279,46 +244,33 @@ function verifyAgree()
foreach (Utils::$context['custom_fields'] as $field)
if ($field['show_reg'] < 2)
echo '
-
- ', $field['name'], ':
- ', $field['desc'], '
-
-
', $field['input_html'], '
';
+
+ ', $field['name'], ':
+ ', $field['desc'], '
+
+
', $field['input_html'], '
';
}
- // If we have either of these, close the list like a proper gent.
- if (!empty(Utils::$context['profile_fields']) || !empty(Utils::$context['custom_fields']))
- echo '
-
-
- ';
-
if (Utils::$context['visual_verification'])
echo '