diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-01 14:02:50 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-01 14:02:50 +0000 |
commit | b640dc452ae9d67c02662997f6c5b6e0d900e4b9 (patch) | |
tree | 8cddeeb3192292ac0704bf720aa6f312dcbd299f /views/default/welcome.php | |
parent | a08509ec171b12f609a8941c86541f3a413ea913 (diff) | |
download | elgg-b640dc452ae9d67c02662997f6c5b6e0d900e4b9.tar.gz elgg-b640dc452ae9d67c02662997f6c5b6e0d900e4b9.tar.bz2 |
Fixed some session stuff, modified a few views
git-svn-id: https://code.elgg.org/elgg/trunk@303 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/welcome.php')
-rw-r--r-- | views/default/welcome.php | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/views/default/welcome.php b/views/default/welcome.php index f6f7109f9..4739fc586 100644 --- a/views/default/welcome.php +++ b/views/default/welcome.php @@ -11,9 +11,12 @@ * @link http://elgg.org/
*/
- $user = $vars['name'];
+ $user = $vars['name'];
-?>
-
-<p>Welcome <?php echo $user; ?></p>
-<p><a href="<?php echo $vars['url']; ?>action/logout"><?php echo elgg_echo('logout'); ?></a></p>
\ No newline at end of file + if (isloggedin()) {
+ echo elgg_view("welcome/logged_in");
+ } else {
+ echo elgg_view("welcome/logged_out");
+ }
+
+?>
\ No newline at end of file |