Elgg
Version 1.11
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
core
walled_garden
login.php
Go to the documentation of this file.
1
<?php
6
$title
=
elgg_get_site_entity
()->name;
7
$welcome
=
elgg_echo
(
'walled_garden:welcome'
);
8
$welcome
.=
': <br/>'
.
$title
;
9
10
$menu
=
elgg_view_menu
(
'walled_garden'
, array(
11
'sort_by'
=>
'priority'
,
12
'class'
=>
'elgg-menu-general elgg-menu-hz'
,
13
));
14
15
$login_box
=
elgg_view
(
'core/account/login_box'
, array(
'module'
=>
'walledgarden-login'
));
16
17
echo
<<<HTML
18
<
div
class
=
"elgg-col elgg-col-1of2"
>
19
<div
class
=
"elgg-inner"
>
20
<
h1
class
=
"elgg-heading-walledgarden"
>
21
$welcome
22
</
h1
>
23
$menu
24
</div>
25
</div>
26
<div
class
=
"elgg-col elgg-col-1of2"
>
27
<div
class
=
"elgg-inner"
>
28
$login_box
29
</div>
30
</div>
31
HTML;
elgg_get_site_entity
elgg_get_site_entity($site_guid=0)
Get an entity (default is current site)
Definition:
sites.php:18
$menu
$menu
Definition:
login.php:10
$welcome
$welcome
Definition:
login.php:7
h1
h1
Definition:
admin.php:85
div
fieldset div
Definition:
admin.php:470
$title
if(elgg_is_logged_in()) $title
Definition:
login.php:18
elgg_view_menu
elgg_view_menu($menu_name, array $vars=array())
Render a menu.
Definition:
views.php:692
elgg_echo
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition:
languages.php:21
echo
elgg echo
Translates a string.
Definition:
languages.js:43
elgg_view
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition:
views.php:354
$login_box
$login_box
Definition:
login.php:15
Generated on Mon Dec 2 2024 00:01:14 for Elgg by
1.8.11