Elgg
Version master
|
Go to the source code of this file.
Variables | |
$icon_type = elgg_extract('icon_type', $vars, 'icon') | |
Show warning about size constraints when uploading/cropping an icon. More... | |
$show_icon_cropper_messages = (bool) elgg_extract('cropper_show_messages', $vars, $icon_type === 'icon') | |
if(!$show_icon_cropper_messages) | $errors = [] |
$min_width = (int) elgg_extract('cropper_min_width', $vars) | |
if($min_width > 0) | $min_height = (int) elgg_extract('cropper_min_height', $vars) |
$message | |
$message_vars | |
if (!$show_icon_cropper_messages) $errors = [] |
Definition at line 17 of file crop_messages.php.
$icon_type = elgg_extract('icon_type', $vars, 'icon') |
Show warning about size constraints when uploading/cropping an icon.
$vars['cropper_show_messages'] Show messages (default: true for icon_type = 'icon', false otherwise) $vars['cropper_min_width'] The minimal width of the cropped image $vars['cropper_min_height'] The minimal height of the cropped image
Definition at line 10 of file crop_messages.php.
Definition at line 54 of file crop_messages.php.
$message_vars |
Definition at line 58 of file crop_messages.php.
if ($min_width > 0) $min_height = (int) elgg_extract('cropper_min_height', $vars) |
Definition at line 30 of file crop_messages.php.
$min_width = (int) elgg_extract('cropper_min_width', $vars) |
Definition at line 19 of file crop_messages.php.
$show_icon_cropper_messages = (bool) elgg_extract('cropper_show_messages', $vars, $icon_type === 'icon') |
Definition at line 11 of file crop_messages.php.