Elgg  Version master
Variables
login_dropdown.php File Reference

Go to the source code of this file.

Variables

if(elgg_is_logged_in()) $body
 Elgg drop-down login form. More...
 
 $result
 

Variable Documentation

if (elgg_is_logged_in()) $body
Initial value:
= elgg_view_form('login', [
'ajax' => true,
], [
'returntoreferer' => true,
])
elgg_view_form(string $action, array $form_vars=[], array $body_vars=[])
Definition: views.php:1033

Elgg drop-down login form.

Definition at line 10 of file login_dropdown.php.

$result
Initial value:
= elgg_view('output/url', [
'href' => elgg_get_login_url([], '#login-dropdown-box'),
'class' => 'elgg-popup',
'text' => elgg_echo('login'),
'data-position' => json_encode([
'my' => 'right top',
'at' => 'right bottom',
]),
])
elgg_get_login_url(array $query=[], string $fragment= '')
Returns site's login URL Triggers a 'login_url', 'site' event that can be used by plugins to alter th...
Definition: users.php:236
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

Definition at line 16 of file login_dropdown.php.