Elgg  Version 1.9
login.php
Go to the documentation of this file.
1 <?php
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">
29  </div>
30 </div>
31 HTML;
elgg_get_site_entity($site_guid=0)
Get an ElggSite entity (default is current site)
Definition: sites.php:18
$menu
Definition: login.php:10
$welcome
Definition: login.php:7
h1
Definition: admin.php:85
fieldset div
Definition: admin.php:462
if(elgg_is_logged_in()) $title
Definition: login.php:18
elgg_view_menu($menu_name, array $vars=array())
Render a menu.
Definition: views.php:687
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_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354
$login_box
Definition: login.php:15