Elgg  Version 1.11
login.php
Go to the documentation of this file.
1 <?php
8 ?>
9 
10 <div>
11  <label><?php echo elgg_echo('loginusername'); ?></label>
12  <?php echo elgg_view('input/text', array(
13  'name' => 'username',
14  'autofocus' => true,
15  ));
16  ?>
17 </div>
18 <div>
19  <label><?php echo elgg_echo('password'); ?></label>
20  <?php echo elgg_view('input/password', array('name' => 'password')); ?>
21 </div>
22 
23 <?php echo elgg_view('login/extend', $vars); ?>
24 
25 <div class="elgg-foot">
26  <label class="mtm float-alt">
27  <input type="checkbox" name="persistent" value="true" />
28  <?php echo elgg_echo('user:persistent'); ?>
29  </label>
30 
31  <?php echo elgg_view('input/submit', array('value' => elgg_echo('login'))); ?>
32 
33  <?php
34  if (isset($vars['returntoreferer'])) {
35  echo elgg_view('input/hidden', array('name' => 'returntoreferer', 'value' => 'true'));
36  }
37  ?>
38 
39  <?php
40  echo elgg_view_menu('login', array(
41  'sort_by' => 'priority',
42  'class' => 'elgg-menu-general elgg-menu-hz mtm',
43  ));
44  ?>
45 </div>
fieldset div
Definition: admin.php:470
elgg_view_menu($menu_name, array $vars=array())
Render a menu.
Definition: views.php:692
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
$site name
label
Definition: admin.php:460
list style type
Definition: admin.php:748
elgg table input[type=checkbox]
Definition: admin.php:400
if(file_exists($welcome)) $vars
Definition: upgrade.php:93