Elgg  Version 1.9
Go to the documentation of this file.
1 <?php
11 if ($user) {
12  $title = elgg_echo('email:settings');
13  $content = elgg_echo('email:address:label') . ': ';
14  $content .= elgg_view('input/email', array(
15  'name' => 'email',
16  'value' => $user->email,
17  ));
19 }
elgg_view_module($type, $title, $body, array $vars=array())
Wrapper function for the module display pattern.
Definition: views.php:1197
Definition: save.php:24
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg echo
Translates a string.
Definition: languages.js:43
Gets the owner entity for the current page.
Definition: pageowner.php:53
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354
Definition: email.php:9
Set robots.txt action.
Definition: set_robots.php:6