23 'elgg-entity-edit-icon-crop-error-width',
34 'elgg-entity-edit-icon-crop-error-height',
48 'elgg-entity-edit-icon-crop-error-generic',
51 ],
elgg_echo(
'entity:edit:icon:crop_messages:generic')));
60 'elgg-entity-edit-icon-crop-messages',
if($min_width > 0) $min_height
$icon_type
Show warning about size constraints when uploading/cropping an icon.
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
$show_icon_cropper_messages
if(!$show_icon_cropper_messages) $errors
elgg_view_message(string $type, string $body, array $vars=[])
Wrapper function for the message display pattern.
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.