Elgg  Version 1.9
login_box.php
Go to the documentation of this file.
1 <?php
11 $module = elgg_extract('module', $vars, 'aside');
12 
14 if (elgg_get_config('https_login')) {
15  $login_url = str_replace("http:", "https:", $login_url);
16 }
17 
18 $title = elgg_extract('title', $vars, elgg_echo('login'));
19 
20 $body = elgg_view_form('login', array('action' => "{$login_url}action/login"));
21 
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
elgg_view_module($type, $title, $body, array $vars=array())
Wrapper function for the module display pattern.
Definition: views.php:1197
$module
Definition: login_box.php:11
if(elgg_get_config('https_login')) $title
Definition: login_box.php:18
elgg_extract($key, array $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:1464
$login_url
Definition: login_box.php:13
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg echo
Translates a string.
Definition: languages.js:43
elgg_get_site_url($site_guid=0)
Get the URL for the current (or specified) site.
$body
Definition: login_box.php:20
elgg_view_form($action, $form_vars=array(), $body_vars=array())
Definition: views.php:1280
if(file_exists($welcome)) $vars
Definition: upgrade.php:93