From af2f3805095f8a91d85847e11faeb280fddf58c0 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 15 Feb 2011 01:27:40 +0000 Subject: Fixes #2921: converted internalname => name and internalid => id git-svn-id: http://code.elgg.org/elgg/trunk@8249 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/core/settings/account/default_access.php | 2 +- views/default/core/settings/account/email.php | 2 +- views/default/core/settings/account/language.php | 2 +- views/default/core/settings/account/name.php | 4 ++-- views/default/core/settings/account/notifications.php | 2 +- views/default/core/settings/account/password.php | 6 +++--- 6 files changed, 9 insertions(+), 9 deletions(-) (limited to 'views/default/core/settings/account') diff --git a/views/default/core/settings/account/default_access.php b/views/default/core/settings/account/default_access.php index 67a0a4137..e33211460 100644 --- a/views/default/core/settings/account/default_access.php +++ b/views/default/core/settings/account/default_access.php @@ -22,7 +22,7 @@ if (elgg_get_config('allow_user_default_access')) { : 'default_access', 'value' => $default_access)); + echo elgg_view('input/access', array('name' => 'default_access', 'value' => $default_access)); ?>

diff --git a/views/default/core/settings/account/email.php b/views/default/core/settings/account/email.php index 3782d39a8..fda83e795 100644 --- a/views/default/core/settings/account/email.php +++ b/views/default/core/settings/account/email.php @@ -18,7 +18,7 @@ if ($user) {

: 'email', 'value' => $user->email)); + echo elgg_view('input/email',array('name' => 'email', 'value' => $user->email)); ?>

diff --git a/views/default/core/settings/account/language.php b/views/default/core/settings/account/language.php index a1e8d9886..3a992966f 100644 --- a/views/default/core/settings/account/language.php +++ b/views/default/core/settings/account/language.php @@ -19,7 +19,7 @@ if ($user) { : 'language', + 'name' => 'language', 'value' => $user->language, 'options_values' => get_installed_translations() )); diff --git a/views/default/core/settings/account/name.php b/views/default/core/settings/account/name.php index 22f950925..69ffcecaf 100644 --- a/views/default/core/settings/account/name.php +++ b/views/default/core/settings/account/name.php @@ -11,5 +11,5 @@ $user = elgg_get_page_owner_entity(); // all hidden, but necessary for properly updating user details -echo elgg_view('input/hidden', array('internalname' => 'name', 'value' => $user->name)); -echo elgg_view('input/hidden', array('internalname' => 'guid', 'value' => $user->guid)); +echo elgg_view('input/hidden', array('name' => 'name', 'value' => $user->name)); +echo elgg_view('input/hidden', array('name' => 'guid', 'value' => $user->guid)); diff --git a/views/default/core/settings/account/notifications.php b/views/default/core/settings/account/notifications.php index decf000ea..ae5fe40bb 100644 --- a/views/default/core/settings/account/notifications.php +++ b/views/default/core/settings/account/notifications.php @@ -36,7 +36,7 @@ $notification_settings = get_user_notification_settings(elgg_get_page_owner_guid } echo elgg_view('input/radio', array( - 'internalname' => "method[$k]", + 'name' => "method[$k]", 'value' => $val, 'options' => array( elgg_echo('option:yes') => 'yes', diff --git a/views/default/core/settings/account/password.php b/views/default/core/settings/account/password.php index 06e59dfbb..a80f3df6b 100644 --- a/views/default/core/settings/account/password.php +++ b/views/default/core/settings/account/password.php @@ -22,7 +22,7 @@ if ($user) {

: 'current_password')); + echo elgg_view('input/password', array('name' => 'current_password')); ?>

@@ -30,13 +30,13 @@ if ($user) {

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

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

-- cgit v1.2.3