blob: bb809958d2fae92b4b105745134355d03652fce4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?php
/**
* Provide a way of setting your email
*
* @package Elgg
* @subpackage Core
*/
$user = elgg_get_page_owner_entity();
if ($user) {
$title = elgg_echo('email:settings');
$content = elgg_echo('email:address:label') . ' :<br /> ';
$content .= elgg_view('input/email', array(
'name' => 'email',
'value' => $user->email,
));
echo elgg_view_module('info', $title, $content);
}
|