aboutsummaryrefslogtreecommitdiff
path: root/views/default/user/settings/password.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/user/settings/password.php')
-rw-r--r--views/default/user/settings/password.php45
1 files changed, 22 insertions, 23 deletions
diff --git a/views/default/user/settings/password.php b/views/default/user/settings/password.php
index d2b794808..5cefe3821 100644
--- a/views/default/user/settings/password.php
+++ b/views/default/user/settings/password.php
@@ -1,28 +1,27 @@
<?php
- /**
- * Provide a way of setting your password
- *
- * @package Elgg
- * @subpackage Core
+/**
+ * Provide a way of setting your password
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ */
- * @author Curverider Ltd
+$user = page_owner_entity();
- * @link http://elgg.org/
- */
-
- $user = page_owner_entity();
-
- if ($user) {
+if ($user) {
?>
- <h3><?php echo elgg_echo('user:set:password'); ?></h3>
- <p>
- <?php echo elgg_echo('user:password:label'); ?>:
- <?php
- echo elgg_view('input/password',array('internalname' => 'password'));
- ?></p><p>
- <?php echo elgg_echo('user:password2:label'); ?>: <?php
- echo elgg_view('input/password',array('internalname' => 'password2'));
- ?>
- </p>
+<h3><?php echo elgg_echo('user:set:password'); ?></h3>
+<p>
+ <?php echo elgg_echo('user:password:label'); ?>:
+ <?php
+ echo elgg_view('input/password',array('internalname' => 'password'));
+ ?></p><p>
+ <?php echo elgg_echo('user:password2:label'); ?>: <?php
+ echo elgg_view('input/password',array('internalname' => 'password2'));
+ ?>
+</p>
-<?php } ?> \ No newline at end of file
+<?php
+} \ No newline at end of file