aboutsummaryrefslogtreecommitdiff
path: root/views/default/welcome/logged_in.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/welcome/logged_in.php')
-rw-r--r--views/default/welcome/logged_in.php40
1 files changed, 17 insertions, 23 deletions
diff --git a/views/default/welcome/logged_in.php b/views/default/welcome/logged_in.php
index 14681cfc9..8f70d3005 100644
--- a/views/default/welcome/logged_in.php
+++ b/views/default/welcome/logged_in.php
@@ -1,27 +1,21 @@
<?php
+/**
+ * Elgg sample welcome page (logged in)
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ */
- /**
- * Elgg sample welcome page (logged in)
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
+//add various views to area1
+$area1 = "<h2>" . sprintf(elgg_echo("welcome:user"),$vars['user']->name) . "</h2>";
+$area1 .= "<p>" . elgg_echo("welcome_message") . "</p><br />";
+$url = $vars['url'] . "action/logout";
+$area1 .= "<a href=" . $url . ">" . elgg_echo('logout') . "</a>";
-?>
+//send area one to the appropriate canvas layout
+$body = elgg_view_layout("one_column", $area1);
- <?php
-
- //add various views to area1
- $area1 = "<h2>" . sprintf(elgg_echo("welcome:user"),$vars['user']->name) . "</h2>";
- $area1 .= "<p>" . elgg_echo("welcome_message") . "</p><br />";
- $url = $vars['url'] . "action/logout";
- $area1 .= "<a href=" . $url . ">" . elgg_echo('logout') . "</a>";
-
- //send area one to the appropriate canvas layout
- $body = elgg_view_layout("one_column", $area1);
-
- //draw to screen
- echo $body;
- ?> \ No newline at end of file
+//draw to screen
+echo $body; \ No newline at end of file