##################################################################### # script: html.pl # # sub html_footer # # # # add line # # # # Where to put it-- # # after # # print qq!| Admin ! if ($per_admin); ##################################################################### print qq!| Change Password ! unless ($db_userid eq "default"); ##################################################################### # script: html.pl # # sub html_change_password_form # # # # new subroutine # ##################################################################### sub html_change_password_form { # -------------------------------------------------------- # This form is displayed when users want to change their password. # my $error = shift; $page_title = "Change Password"; &html_page_top; $submit_button = "Change Password"; $reset_button = "Reset"; # < -- Start page text -- > print qq| <$font>To change your password, simply enter old password and your new password twice in the fields below. You will then be asked to log in again, using your new password.
|; if ($error) { print "$error
"; } print qq| |; &html_footer; &html_page_bottom; } sub html_change_password_success { # -------------------------------------------------------- $page_title = "Password Changed"; &html_page_top; $submit_button = "Logon"; $reset_button = "Cancel"; # < -- Start page text -- > print qq| <$font>Your password has been changed! Please use your username and new password to log in. |; # < -- End page text --> print qq||; &html_footer; &html_page_bottom; }