Elgg  Version 3.0
Variables
edit.php File Reference

Go to the source code of this file.

Variables

 $username = elgg_extract('username', $vars)
 Upload and crop an avatar page. More...
 
 $entity = get_user_by_username($username)
 
 $title = elgg_echo('avatar:edit')
 
 $content = elgg_view('core/avatar/upload', ['entity' => $entity])
 
if($entity->hasIcon('master')) $body
 

Variable Documentation

if ($entity->hasIcon('master')) $body
Initial value:
= elgg_view_layout('one_sidebar', [
'title' => $title,
'content' => $content,
'show_owner_block_menu' => false,
])
$title
Definition: edit.php:16
elgg_view_layout($layout_name, $vars=[])
Displays a layout with optional parameters.
Definition: views.php:593
$content
Definition: edit.php:20

Definition at line 27 of file edit.php.

$content = elgg_view('core/avatar/upload', ['entity' => $entity])

Definition at line 20 of file edit.php.

$entity = get_user_by_username($username)

Definition at line 7 of file edit.php.

$title = elgg_echo('avatar:edit')

Definition at line 16 of file edit.php.

$username = elgg_extract('username', $vars)

Upload and crop an avatar page.

Definition at line 6 of file edit.php.