';
switch ($login_screen) {
case 'login':
if (!empty ($page) && !empty ($sec)) {
foreach ($_POST as $key => $value) {
html_print_input_hidden ($key, $value);
}
}
echo ' ';
echo __('User') . ' ';
echo ' ';
echo '';
html_print_input_text_extended ("nick", '', "nick", '', '', '' , false, '', 'class="login login_user"');
echo ' ';
echo '';
echo __('Password') . ' ';
echo ' ';
echo '';
html_print_input_text_extended ("pass", '', "pass", '', '', '' ,false, '', 'class="login login_password"', false, true);
echo ' ';
echo '';
html_print_submit_button(__("Login") . ' >', "login_button", false, 'class="sub next_login"');
echo ' ';
break;
case 'logout':
echo '' . __('Logged out') . '';
echo '';
echo __('Your session is over. Please close your browser window to close this Pandora session.').'
';
echo ' ';
break;
case 'double_auth':
if (!empty ($page) && !empty ($sec)) {
foreach ($_POST as $key => $value) {
html_print_input_hidden ($key, $value);
}
}
echo '';
echo __('Authenticator code') . ' ';
echo ' ';
echo '';
html_print_input_text_extended ("auth_code", '', "auth_code", '', '', '' , false, '', 'class="login login_password"', false, true);
echo ' ';
echo '';
html_print_submit_button(__("Check code") . ' >', "login_button", false, 'class="sub next_login"');
echo ' ';
break;
default:
if (isset($error_info)) {
echo '' . $error_info['title'] . '';
echo '';
echo '';
echo $error_info['message'];
echo ' ';
}
break;
}
echo ' |