_("Your account"))); dual_begin(array()); print("

" . _("Home") . " / " . _("Your account") . "

\n"); print("

" . _("You have not authenticated yourself to the system yet with your") . " " . _("username") . " " . _("and") . " " . _("password") . ". " . _("You will not be able to use this section of the website without authenticating yourself first. So, please continue and login using the form on the right hand side.") . "

\n"); dual_middle(array()); show_account_details(array()); dual_end(array()); generic_footer(array()); exit; } if ($HTTP_POST_VARS["current_password"] && $HTTP_POST_VARS["new_password"] && $HTTP_POST_VARS["confirm_new_password"]) { if ($GLOBALS["passcookie"] != $HTTP_POST_VARS["current_password"]) $message = "

The supplied current-password does not match the user's current password. Did you enter it correctly?

"; else if ($HTTP_POST_VARS["new_password"] != $HTTP_POST_VARS["confirm_new_password"]) $message = "

The supplied new passwords do not match. Please verify that the new-password and confirm-password fields match.

"; else { $fp = popen("/usr/bin/sudo /usr/bin/passwd --stdin " . escapeshellarg($GLOBALS["usercookie"]), "w"); fwrite($fp, $HTTP_POST_VARS["new_password"] . "\n"); pclose($fp); generic_header(array("title" => _("Your account"))); dual_begin(array()); print("

Your password was changed successfully.

"); dual_middle(array()); show_account_details(array()); dual_end(array()); generic_footer(array()); exit; } } generic_header(array("title" => _("Your account"))); single_begin(array()); print("

" . _("Home") . " / " . _("Your account") . "

\n"); ?>

Hi ! The following are your account information and preferences, arranged into tabs. Please click on a tab to open up that category.

Current Password:
New Password:
Confirm New Password: