Elgg  Version 3.0
login.php
Go to the documentation of this file.
1 <?php
11 $title = elgg_echo('login');
12 $content = elgg_view('core/account/login_box', ['title' => false]);
13 
14 $shell = elgg_get_config('walled_garden') ? 'walled_garden' : 'default';
15 
16 $body = elgg_view_layout('default', [
17  'content' => $content,
18  'title' => $title,
19  'sidebar' => false,
20 ]);
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_view_page($title, $body, $page_shell= 'default', $vars=[])
Assembles and outputs a full page.
Definition: views.php:360
$body
Definition: login.php:16
$title
Assembles and outputs a login page.
Definition: login.php:11
elgg echo
Translates a string.
Definition: languages.js:43
elgg_view_layout($layout_name, $vars=[])
Displays a layout with optional parameters.
Definition: views.php:593
$content
Definition: login.php:12
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246
$shell
Definition: login.php:14
elgg_get_config($name, $default=null)
Get an Elgg configuration value.