Elgg  Version 3.0
Go to the documentation of this file.
1 <?php
8 $content = elgg_view('output/longtext', [
9  'value' => elgg_echo('avatar:create:instructions'),
10 ]);
12 $content .= elgg_view_form('avatar/crop', [], $vars);
14 echo elgg_view_module('info', elgg_echo('avatar:crop:title'), $content, [
15  'id' => 'avatar-croppingtool',
16 ]);
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
Avatar cropping view.
Definition: crop.php:8
elgg_view_form($action, $form_vars=[], $body_vars=[])
Definition: views.php:1318
elgg_view_module($type, $title, $body, array $vars=[])
Wrapper function for the module display pattern.
Definition: views.php:1198
elgg echo
Translates a string.
Definition: languages.js:43
Definition: save.php:11
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246