Elgg  Version 1.9
Variables
upload.php File Reference

Go to the source code of this file.

Variables

 $user_avatar
 Avatar upload view. More...
 
 $current_label = elgg_echo('avatar:current')
 
 $remove_button = ''
 
if($vars['entity']->icontime$form_params = array('enctype' => 'multipart/form-data')
 
 $upload_form = elgg_view_form('avatar/upload', $form_params, $vars)
 
 $image =
 
 $body =
 

Variable Documentation

◆ $body

$body =

Definition at line 45 of file upload.php.

◆ $current_label

$current_label = elgg_echo('avatar:current')

Definition at line 13 of file upload.php.

◆ $form_params

if ( $vars[ 'entity']->icontime) $form_params = array('enctype' => 'multipart/form-data')

Definition at line 26 of file upload.php.

◆ $image

$image =
Examples
/root/Elgg/engine/lib/views.php.

Definition at line 37 of file upload.php.

◆ $remove_button

$remove_button = ''

Definition at line 15 of file upload.php.

◆ $upload_form

$upload_form = elgg_view_form('avatar/upload', $form_params, $vars)

Definition at line 27 of file upload.php.

◆ $user_avatar

$user_avatar
Initial value:
= elgg_view('output/img', array(
'src' => $vars['entity']->getIconUrl('medium'),
'alt' => elgg_echo('avatar'),
))
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
if(file_exists($welcome)) $vars
Definition: upgrade.php:93
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype='')
Return a parsed view.
Definition: views.php:354

Avatar upload view.

@uses $vars['entity']

Definition at line 8 of file upload.php.