Elgg  Version 1.9
Go to the documentation of this file.
1 <?php
10 if ($user) {
11  $title = elgg_echo('user:name:label');
12  $content = elgg_echo('name') . ': ';
13  $content .= elgg_view('input/text', array(
14  'name' => 'name',
15  'value' => $user->name,
16  ));
19  // need the user's guid to make sure the correct user gets updated
20  echo elgg_view('input/hidden', array('name' => 'guid', 'value' => $user->guid));
21 }
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
Definition: name.php:9
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
Set robots.txt action.
Definition: set_robots.php:6