aboutsummaryrefslogtreecommitdiff
path: root/views/default/welcome
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-16 20:54:48 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-16 20:54:48 +0000
commita1abec1d617c9330d9c06bda2f462d213f013f53 (patch)
tree7e2d2d3007f4b2155a056fb43d3c428b65a96f34 /views/default/welcome
parent70b08afa64465f4d3457ba6e1c4cc2df1dd2069b (diff)
downloadelgg-a1abec1d617c9330d9c06bda2f462d213f013f53.tar.gz
elgg-a1abec1d617c9330d9c06bda2f462d213f013f53.tar.bz2
Finish up standardizing views/default/*
git-svn-id: http://code.elgg.org/elgg/trunk@3557 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/welcome')
-rw-r--r--views/default/welcome/logged_in.php40
-rw-r--r--views/default/welcome/logged_out.php32
2 files changed, 30 insertions, 42 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
diff --git a/views/default/welcome/logged_out.php b/views/default/welcome/logged_out.php
index c3981c404..a7b62cf45 100644
--- a/views/default/welcome/logged_out.php
+++ b/views/default/welcome/logged_out.php
@@ -1,22 +1,16 @@
<?php
+/**
+ * Elgg sample welcome page (logged out)
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ */
- /**
- * Elgg sample welcome page (logged out)
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
+//add various views to area1
+$area1 = "<p>" . elgg_echo("welcome_message") . "</p>";
+$area1 .= elgg_view("account/forms/login");
-?>
-
- <?php
-
- //add various views to area1
- $area1 = "<p>" . elgg_echo("welcome_message") . "</p>";
- $area1 .= elgg_view("account/forms/login");
-
- //draw to screen
- echo $body;
- ?> \ No newline at end of file
+//draw to screen
+echo $body; \ No newline at end of file