Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
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
Initial value:
= <<<HTML
<div id="avatar-upload">
</div>
HTML
$upload_form
Definition: upload.php:27

Definition at line 45 of file upload.php.

$current_label = elgg_echo('avatar:current')

Definition at line 13 of file upload.php.

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

Definition at line 26 of file upload.php.

$image
Initial value:
= <<<HTML
<div id="current-user-avatar" class="mrl prl">
<label>$current_label</label><br />
</div>
HTML
$current_label
Definition: upload.php:13
$user_avatar
Avatar upload view.
Definition: upload.php:8
$remove_button
Definition: upload.php:15

Definition at line 37 of file upload.php.

$remove_button = ''

Definition at line 15 of file upload.php.

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

Definition at line 27 of file upload.php.

$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
$vars['entity']
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:342

Avatar upload view.

$vars['entity']

Definition at line 8 of file upload.php.