diff options
Diffstat (limited to 'views/default/user/settings/email.php')
-rw-r--r-- | views/default/user/settings/email.php | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/views/default/user/settings/email.php b/views/default/user/settings/email.php index 60f2f7acd..699f72583 100644 --- a/views/default/user/settings/email.php +++ b/views/default/user/settings/email.php @@ -1,27 +1,26 @@ <?php - /** - * Provide a way of setting your email - * - * @package Elgg - * @subpackage Core +/** + * Provide a way of setting your email + * + * @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('email:settings'); ?></h3> - <p> - <?php echo elgg_echo('email:address:label'); ?>: - <?php +<h3><?php echo elgg_echo('email:settings'); ?></h3> +<p> + <?php echo elgg_echo('email:address:label'); ?>: + <?php + + echo elgg_view('input/email',array('internalname' => 'email', 'value' => $user->email)); - echo elgg_view('input/email',array('internalname' => 'email', 'value' => $user->email)); - - ?> - </p> + ?> +</p> -<?php } ?>
\ No newline at end of file +<?php +}
\ No newline at end of file |