Elgg  Version 4.3
login_dropdown.php File Reference

Go to the source code of this file.


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

Variable Documentation

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

Elgg drop-down login form.

Definition at line 10 of file login_dropdown.php.

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_echo($message_key, array $args=[], $language="")
Elgg language module Functions to manage language and translations.
Definition: languages.php:18
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:179
elgg_get_login_url(array $query=[], $fragment= '')
Returns site's login URL Triggers a 'login_url', 'site' plugin hook that can be used by plugins to al...
Definition: users.php:185

Definition at line 16 of file login_dropdown.php.