From 953c20c3846e8ffd70392f12560cf39537c795b9 Mon Sep 17 00:00:00 2001 From: brettp Date: Sun, 21 Nov 2010 21:24:57 +0000 Subject: Refs #2669: Merged password change fixes in 7404 to trunk. git-svn-id: http://code.elgg.org/elgg/trunk@7405 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/user/settings/password.php | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) (limited to 'views/default/user/settings') diff --git a/views/default/user/settings/password.php b/views/default/user/settings/password.php index ea7be401d..416e4dcef 100644 --- a/views/default/user/settings/password.php +++ b/views/default/user/settings/password.php @@ -12,15 +12,31 @@ if ($user) { ?>

-

+ + guid == get_loggedin_userid()) { + ?> +

+ : + 'current_password')); + ?> +

+ + +

: 'password')); - ?>

+ echo elgg_view('input/password', array('internalname' => 'password')); + ?> +

+ +

: 'password2')); + echo elgg_view('input/password', array('internalname' => 'password2')); ?> -

+