Elgg  Version master
login.php
Go to the documentation of this file.
1 <?php
11 $shell = elgg_get_config('walled_garden') ? 'walled_garden' : 'default';
12 $title = elgg_get_session()->has('last_forward_from') ? elgg_echo('login:continue') : elgg_echo('login');
13 
14 echo elgg_view_page($title, [
15  'content' => elgg_view('core/account/login_box', ['title' => false]),
16  'sidebar' => false,
17  'filter' => false,
18 ], $shell);
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
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_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:156
$title
Definition: login.php:12
elgg_view_page(string $title, string|array $body, string $page_shell= 'default', array $vars=[])
Assembles and outputs a full page.
Definition: views.php:235
$shell
Assembles and outputs a login page.
Definition: login.php:11