Elgg  Version 3.0
walled_garden.php
Go to the documentation of this file.
1 <?php
2 
3 $body = elgg_view_layout('default', [
4  'content' => elgg_view('core/account/login_box', ['title' => false]),
5  'title' => elgg_echo('login'),
6  'sidebar' => false,
7 ]);
8 
9 echo elgg_view_page('', $body, 'walled_garden');
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
elgg echo
Translates a string.
Definition: languages.js:43
$body
elgg_view_layout($layout_name, $vars=[])
Displays a layout with optional parameters.
Definition: views.php:593
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246