15 $body =
elgg_view_form(
'login', array(
'action' =>
"{$login_url}action/login"), array(
'returntoreferer' => TRUE));
17 <
div id=
"login-dropdown">
20 'href' =>
'login#login-dropdown-box',
22 'class' =>
'elgg-button elgg-button-dropdown',
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
elgg_is_logged_in()
Returns whether or not the user is currently logged in.
elgg_view_module($type, $title, $body, array $vars=array())
Wrapper function for the module display pattern.
if(elgg_get_config('https_login')) $body
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg echo
Translates a string.
elgg_get_site_url($site_guid=0)
Get the URL for the current (or specified) site.
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
elgg_view_form($action, $form_vars=array(), $body_vars=array())
if(elgg_is_logged_in()) $login_url
Elgg drop-down login form.