Elgg
Version 1.9
|
Go to the source code of this file.
Variables | |
$guid = get_input('guid') | |
Avatar upload action. More... | |
$owner = get_entity($guid) | |
if(!$owner||!($owner instanceof ElggUser)||!$owner->canEdit()) | $error = elgg_get_friendly_upload_error($_FILES['avatar']['error']) |
if($error) | $icon_sizes = elgg_get_config('icon_sizes') |
$files = array() | |
foreach($icon_sizes as $name=> $size_info) $owner | x1 = 0 |
$owner | x2 = 0 |
$owner | y1 = 0 |
$owner | y2 = 0 |
$owner | icontime = time() |
if (!$owner||!($owner instanceof ElggUser)||!$owner->canEdit()) $error = elgg_get_friendly_upload_error($_FILES['avatar']['error']) |
Definition at line 14 of file upload.php.
$files = array() |
Definition at line 24 of file upload.php.
$guid = get_input('guid') |
Avatar upload action.
Definition at line 6 of file upload.php.
if ($error) $icon_sizes = elgg_get_config('icon_sizes') |
Definition at line 20 of file upload.php.
$owner = get_entity($guid) |
Definition at line 7 of file upload.php.
$owner icontime = time() |
Definition at line 54 of file upload.php.
foreach ($icon_sizes as $name=> $size_info) $owner x1 = 0 |
Definition at line 49 of file upload.php.
$owner x2 = 0 |
Definition at line 50 of file upload.php.
$owner y1 = 0 |
Definition at line 51 of file upload.php.
$owner y2 = 0 |
Definition at line 52 of file upload.php.