allow_login == 'yes' && !isset($_SERVER['PHP_AUTH_USER'])) { // Set the login table width if not set. if (!isset($login_width)) $login_width = "100%"; // Remove the username, password, and action values from the form action. $form_action = preg_replace("/(username|password|action)=[^&]+/", "", $REQUEST_URI); echo '
'; echo ''; foreach (array_keys($_GET) as $key) { if ($key == 'action' || $key == 'username' || $key == 'password') { continue; } echo ''; } // If the attempted login was invalid, change the box title. $login_message = ($invalid_login == TRUE) ? "$invalid_login_lang" : ''; echo <<
{$login_lang}
{$login_message}
{$username_lang}:
{$password_lang}:
 

END; } ?>