Elgg  Version 6.0
login_box.php
Go to the documentation of this file.
1 <?php
8 $module = elgg_extract('module', $vars, 'aside');
9 
10 $title_text = elgg_get_session()->has('last_forward_from') ? elgg_echo('login:continue') : elgg_echo('login');
11 
13 
14 $body = elgg_view_form('login', ['ajax' => true]);
15 
elgg_view_module(string $type, string $title, string $body, array $vars=[])
Wrapper function for the module display pattern.
Definition: views.php:919
elgg_view_form(string $action, array $form_vars=[], array $body_vars=[])
Definition: views.php:1033
$title
Definition: login_box.php:12
$module
Elgg login box.
Definition: login_box.php:8
elgg_get_session()
Gets Elgg&#39;s session object.
Definition: sessions.php:15
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:254
$body
Definition: login_box.php:14
$vars
Definition: theme.php:5
$title_text
Definition: login_box.php:10