aboutsummaryrefslogtreecommitdiff
path: root/views/default/basic_elements/welcome.php
blob: 8564778d20501ad3ea974c30c4c05673b377b4c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
/**
 * Elgg sample welcome page
 *
 * @package Elgg
 * @subpackage Core
 * @author Curverider Ltd
 * @link http://elgg.org/
 */

$user = $vars['name'];

?>

<p><?php echo sprintf(elgg_echo('welcome:user'), $user); ?></p>
<p><?php echo elgg_view('output/url', array('href' => "{$vars['url']}action/logout", 'text' => elgg_echo('logout'), 'is_action' => TRUE)); ?></p>