From 880dfb2e715a3770de56fb525f5c90d28a6ccb4c Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sat, 10 May 2008 12:15:35 -0700 Subject: NEW FEATURE: new settings page, user can now change timezone rewrote the settings page, timezone can now be changed, the user menu shows up on the left on the pref page. Added a link to the pref-page in the left menu. Signed-off-by: Arun Persaud --- include/preferences.php | 177 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 177 insertions(+) create mode 100644 include/preferences.php (limited to 'include/preferences.php') diff --git a/include/preferences.php b/include/preferences.php new file mode 100644 index 0000000..fdb6a19 --- /dev/null +++ b/include/preferences.php @@ -0,0 +1,177 @@ +\n"; +echo "
\n"; +echo "

Your settings are

\n"; +echo " \n"; +echo " \n"; +echo " \n"; +echo " \n"; +echo " \n"; +echo " \n"; +echo " \n"; +echo " \n"; +echo " ", + "\n"; +echo "
Email: $email
Timezone: "; +output_select_timezone("timezone",$timezone); +if($changed_timezone) echo "changed"; +echo "
Notification: "; + +echo " \n"; +if($changed_notify) echo "changed"; +echo "
Card set: "; + +echo " \n"; +if($changed_cards) echo "changed"; +echo "
Password(old): ", + ""; +switch($changed_password) + { + case '-2': + echo "The new passwords don't match."; + break; + case '-1': + echo "The old password is not correct."; + break; + case '1': + echo "changed"; + break; + } +echo "
Password(new): ", + "", + "
Password(new, retype): ", + "", + "
\n"; +echo "
\n"; +echo "\n"; + +output_footer(); +DB_close(); +exit(); + +?> \ No newline at end of file -- cgit v1.2.3-18-g5258