Elgg
Version 2.3
views
default
page
walled_garden.php
Go to the documentation of this file.
1
<?php
12
if
(
elgg_is_sticky_form
(
'register'
)) {
13
// An error occurred while submitting the registration form in a lightbox
14
forward
(
'register'
);
15
}
16
17
// render content before head so that JavaScript and CSS can be loaded. See #4032
18
$messages
=
elgg_view
(
'page/elements/messages'
, array(
'object'
=>
$vars
[
'sysmessages'
]));
19
$content
=
$vars
[
"body"
];
20
21
ob_start(); ?>
22
<
div
class
=
"elgg-page elgg-page-walledgarden"
>
23
<
div
class
=
"elgg-page-messages"
>
24
<?php echo
$messages
?>
25
</
div
>
26
<
div
class
=
"elgg-body-walledgarden"
>
27
<?php echo
$content
?>
28
</
div
>
29
</
div
>
30
<?php
31
$body
= ob_get_clean();
32
33
$body
.=
elgg_view
(
'page/elements/foot'
);
34
35
$head
=
elgg_view
(
'page/elements/head'
,
$vars
[
'head'
]);
36
37
echo
elgg_view
(
"page/elements/html"
, array(
"head"
=>
$head
,
"body"
=>
$body
));
div
fieldset div
Definition:
admin.css.php:485
forward
forward($location="", $reason='system')
Forward to $location.
Definition:
elgglib.php:94
elgg_is_sticky_form
elgg_is_sticky_form($form_name)
Does form submission data exist for this form?
Definition:
input.php:131
elgg_view
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype='')
Return a parsed view.
Definition:
views.php:336
$body
$body
Definition:
walled_garden.php:33
$content
$content
Definition:
walled_garden.php:19
$head
$head
Definition:
walled_garden.php:35
$messages
if(elgg_is_sticky_form('register')) $messages
Walled garden page shell.
Definition:
walled_garden.php:18
$vars
$vars['entity']
Definition:
plugin_settings.php:15
Generated on Fri Aug 29 2025 00:00:47 for Elgg by
1.9.1