From 4b08ccd873a02dcbcd8603f4b8681de47776e31f Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 4 Mar 2015 10:11:48 +0100 Subject: clean up account settings --- mod/settings.php | 5 ++--- view/tpl/settings_account.tpl | 44 ++++++++++++++++++------------------------- 2 files changed, 20 insertions(+), 29 deletions(-) diff --git a/mod/settings.php b/mod/settings.php index 71ca38d91..a40a1deca 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -708,9 +708,8 @@ function settings_content(&$a) { $o .= replace_macros($tpl, array( '$form_security_token' => get_form_security_token("settings_account"), '$title' => t('Account Settings'), - '$h_pass' => t('Password Settings'), - '$password1'=> array('npassword', t('New Password:'), '', ''), - '$password2'=> array('confirm', t('Confirm:'), '', t('Leave password fields blank unless changing')), + '$password1'=> array('npassword', t('Enter New Password:'), '', ''), + '$password2'=> array('confirm', t('Confirm New Password:'), '', t('Leave password fields blank unless changing')), '$submit' => t('Submit'), '$email' => array('email', t('Email Address:'), $email, ''), '$removeme' => t('Remove Account'), diff --git a/view/tpl/settings_account.tpl b/view/tpl/settings_account.tpl index 36bb494d8..5f1f9c9b1 100755 --- a/view/tpl/settings_account.tpl +++ b/view/tpl/settings_account.tpl @@ -1,28 +1,20 @@ -
-

{{$title}}

- - -
- - -{{include file="field_input.tpl" field=$email}} - - -

{{$h_pass}}

- -{{include file="field_password.tpl" field=$password1}} -{{include file="field_password.tpl" field=$password2}} - - -
- +
+
+  {{$removeme}} +

{{$title}}

+
+
+ + +
+ {{include file="field_input.tpl" field=$email}} + {{include file="field_password.tpl" field=$password1}} + {{include file="field_password.tpl" field=$password2}} +
+ +
+ {{$account_settings}} +
+
-{{$account_settings}} - - -
-- cgit v1.2.3