Elgg
Version 2.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
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));
$content
$content
Definition:
walled_garden.php:19
$messages
if(elgg_is_sticky_form('register')) $messages
Walled garden page shell.
Definition:
walled_garden.php:18
forward
elgg forward
Meant to mimic the php forward() function by simply redirecting the user to another page...
Definition:
elgglib.js:425
$vars
$vars['entity']
Definition:
plugin_settings.php:15
div
fieldset div
Definition:
admin.css.php:485
echo
elgg echo
Translates a string.
Definition:
languages.js:48
$body
$body
Definition:
walled_garden.php:33
elgg_view
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition:
views.php:336
elgg_is_sticky_form
elgg_is_sticky_form($form_name)
Does form submission data exist for this form?
Definition:
input.php:131
$head
$head
Definition:
walled_garden.php:35
Generated on Sat Dec 21 2024 00:01:05 for Elgg by
1.8.11