############################################################################### # These are replacement subroutines and new subroutines to be placed in the # # html.pl file with the secure password lookup mod. # # # # Use these if you are using the default html.pl file. # ############################################################################### ############################################################################### # Replace the following subroutines # # # ############################################################################### sub html_login_form { # -------------------------------------------------------- # The login screen. &html_print_headers; print qq|
| $html_title: Login |
|
<$font>Welcome! You need to have an active account to access $html_title. For the demo, you can use userid/passwords: 'admin/admin', 'author/author', 'guest/guest'. |; if ($auth_signup) { print qq| If you do not yet have an account, you may sign up for one here. |; } print qq| If you have forgotten your password, you may receive another password here.
|
| $html_title: Login Error |
<$font>Oops, there was a problem logging into the system: $message. Please try logging in again, or contact the system administrator. |; if ($auth_signup) { print qq| If you do not yet have an account, you may sign up for one here. |; } print qq| If you have forgotten your password, you may receive another password here.
|
| $html_title: User Management |
<$font>$message |; &html_footer; print qq| |
| $html_title: Create Account |
<$font>To create your own account, simply enter in your desired username and your email address. Your password will be mailed to you at the address you enter. |; if ($error) { print "$error "; } print qq| |
| $html_title: Account Created |
<$font>Your account has been set up! After you receive your password, use your username and password to log in.
|
| $html_title: Get a New Password |
<$font>To have a new password sent to you, simply enter the same email address you used when you signed up for your account. Your password will be mailed to you at the address you enter. |; if ($error) { print "$error "; } print qq| |
| $html_title: New Password Sent |
<$font>Your new password has been sent! After you receive your password, use your username and password to log in.
|