Elgg
Version 6.2
|
Go to the source code of this file.
Variables | |
if(elgg_extract('show_remove', $vars, true)===false) | $entity = elgg_extract('entity', $vars) |
Show a remove icon toggle. More... | |
if(! $entity instanceof ElggEntity) | $icon_type = elgg_extract('icon_type', $vars, 'icon') |
if(! $entity->hasIcon('master', $icon_type)) | $name = elgg_extract('remove_name', $vars) |
if(elgg_is_empty($name)) if(elgg_language_key_exists("entity:edit:{$icon_type}:remove:label")) | else |
if (elgg_extract( 'show_remove', $vars, true)===false) $entity = elgg_extract('entity', $vars) |
Show a remove icon toggle.
@uses $vars['entity'] entity to edit @uses $vars['icon_type'] the type of the icon (default: icon) @uses $vars['name'] name of the input/file (default: icon) @uses $vars['remove_name'] name of the remove icon toggle (default: $vars['name'] . '_remove') @uses $vars['show_remove'] show the remove icon option (default: true)
Definition at line 16 of file remove.php.
if (! $entity instanceof ElggEntity) $icon_type = elgg_extract('icon_type', $vars, 'icon') |
Definition at line 22 of file remove.php.
if (! $entity->hasIcon( 'master', $icon_type)) $name = elgg_extract('remove_name', $vars) |
Definition at line 28 of file remove.php.
if (elgg_is_empty( $name)) if (elgg_language_key_exists("entity:edit:{$icon_type}:remove:label")) else |
Definition at line 36 of file remove.php.