Elgg  Version 1.11
Namespaces | Variables
register.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Variables

if(elgg_get_config('allow_registration')==false) $friend_guid = (int) get_input('friend_guid', 0)
 
 $invitecode = get_input('invitecode')
 
if(elgg_is_logged_in()) $title = elgg_echo("register")
 
 $register_url = elgg_get_site_url() . 'action/register'
 
if(elgg_get_config('https_login')) $form_params
 
 $body_params
 
 $content = elgg_view_form('register', $form_params, $body_params)
 
if(elgg_get_config('walled_garden')) else
 

Variable Documentation

$body_params
Initial value:
= array(
'friend_guid' => $friend_guid,
'invitecode' => $invitecode
)
$invitecode
Definition: register.php:18
$friend_guid
Definition: register.php:17

Definition at line 41 of file register.php.

$content = elgg_view_form('register', $form_params, $body_params)

Definition at line 45 of file register.php.

if (elgg_get_config('https_login')) $form_params
Initial value:
= array(
'action' => $register_url,
'class' => 'elgg-form-account',
)
$register_url
Definition: register.php:32

Definition at line 36 of file register.php.

if (elgg_get_config('allow_registration')==false) $friend_guid = (int) get_input('friend_guid', 0)

Definition at line 21 of file register.php.

$invitecode = get_input('invitecode')

Definition at line 22 of file register.php.

$register_url = elgg_get_site_url() . 'action/register'

Definition at line 32 of file register.php.

if (elgg_is_logged_in()) $title = elgg_echo("register")

Definition at line 29 of file register.php.

Initial value:
{
$body = elgg_view_layout('one_column', array(
'title' => $title,
'content' => $content,
))
$body
Definition: register.php:7
elgg_view_layout($layout_name, $vars=array())
Displays a layout with optional parameters.
Definition: views.php:622
$content
Definition: register.php:45
if(elgg_is_logged_in()) $title
Definition: register.php:29

Definition at line 53 of file register.php.