From e7359ccf2db89b1feec820d1c97583f720ae0d7a Mon Sep 17 00:00:00 2001 From: neoraider Date: Mon, 17 Apr 2006 23:17:05 +0000 Subject: Seiten verschoben. --- pages/content/Users:Password.xml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pages/content/Users:Password.xml (limited to 'pages/content/Users:Password.xml') diff --git a/pages/content/Users:Password.xml b/pages/content/Users:Password.xml new file mode 100644 index 0000000..c08cd02 --- /dev/null +++ b/pages/content/Users:Password.xml @@ -0,0 +1,35 @@ + + + + Users:Password + + 0:0 + c + + + + GetNeonLink('Users', null, false)); + exit(); + } + + if(!$_POST['id'] || !$_POST['password'] || !$_POST['password2']) exit(); + + if($_POST['password'] != $_POST['password2']) exit(); + + $GLOBALS['user']->ChangePassword($_POST['id'], Unquote($_POST['password'])); + + header('Location: ' . $GLOBALS['links']->GetNeonLink('Users', null, false)); + exit(); + ?> + ]]> + + + -- cgit v1.2.3