aboutsummaryrefslogtreecommitdiff
path: root/views/default/user
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-04 17:08:31 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-04 17:08:31 +0000
commitd3efed2f847ced2ecfaa536856f6a0acc4cddbfc (patch)
tree101e69848d61e532d0514573394eba30409da737 /views/default/user
parent55f2853ec8b29dd8ca557c0dd82cd0de50946ec0 (diff)
downloadelgg-d3efed2f847ced2ecfaa536856f6a0acc4cddbfc.tar.gz
elgg-d3efed2f847ced2ecfaa536856f6a0acc4cddbfc.tar.bz2
User settings
git-svn-id: https://code.elgg.org/elgg/trunk@1689 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/user')
-rw-r--r--views/default/user/settings/email.php7
-rw-r--r--views/default/user/settings/language.php2
-rw-r--r--views/default/user/settings/name.php7
-rw-r--r--views/default/user/settings/password.php11
4 files changed, 21 insertions, 6 deletions
diff --git a/views/default/user/settings/email.php b/views/default/user/settings/email.php
index 24fcc7a0d..6b14504c7 100644
--- a/views/default/user/settings/email.php
+++ b/views/default/user/settings/email.php
@@ -16,7 +16,12 @@
?>
<h2><?php echo elgg_echo('email:settings'); ?></h2>
<p>
- <?php echo elgg_echo('email:address:label'); ?> : <input type="text" name="email" value="<?php echo $user->email; ?>" />
+ <?php echo elgg_echo('email:address:label'); ?>:
+ <?php
+
+ echo elgg_view('input/email',array('internalname' => 'email', 'value' => $user->email));
+
+ ?>
</p>
<?php } ?> \ No newline at end of file
diff --git a/views/default/user/settings/language.php b/views/default/user/settings/language.php
index 0d478ac95..0dbe66b26 100644
--- a/views/default/user/settings/language.php
+++ b/views/default/user/settings/language.php
@@ -18,7 +18,7 @@
<h2><?php echo elgg_echo('user:set:language'); ?></h2>
<p>
- <?php echo elgg_echo('user:language:label'); ?> : <?php
+ <?php echo elgg_echo('user:language:label'); ?>: <?php
$value = $CONFIG->language;
if ($user->language)
diff --git a/views/default/user/settings/name.php b/views/default/user/settings/name.php
index da0ded99a..0faac2428 100644
--- a/views/default/user/settings/name.php
+++ b/views/default/user/settings/name.php
@@ -16,7 +16,12 @@
?>
<h2><?php echo elgg_echo('user:set:name'); ?></h2>
<p>
- <?php echo elgg_echo('user:name:label'); ?> : <input type="text" name="name" value="<?php echo $user->name; ?>" />
+ <?php echo elgg_echo('user:name:label'); ?>:
+ <?php
+
+ echo elgg_view('input/text',array('internalname' => 'name', 'value' => $user->name));
+
+ ?>
</p>
<?php } ?> \ No newline at end of file
diff --git a/views/default/user/settings/password.php b/views/default/user/settings/password.php
index b40a131e6..b180609c6 100644
--- a/views/default/user/settings/password.php
+++ b/views/default/user/settings/password.php
@@ -14,10 +14,15 @@
if ($user) {
?>
- <h2><?php echo elgg_echo('user:set:password'); ?></h2>
+ <h3><?php echo elgg_echo('user:set:password'); ?></h3>
<p>
- <?php echo elgg_echo('user:password:label'); ?> : <input type="password" name="password" value="" />
- <?php echo elgg_echo('user:password2:label'); ?> : <input type="password" name="password2" value="" />
+ <?php echo elgg_echo('user:password:label'); ?>:
+ <?php
+ echo elgg_view('input/password',array('internalname' => 'password'));
+ ?><br />
+ <?php echo elgg_echo('user:password2:label'); ?>: <?php
+ echo elgg_view('input/password',array('internalname' => 'password2'));
+ ?>
</p>
<?php } ?> \ No newline at end of file