aboutsummaryrefslogtreecommitdiff
path: root/views/default/welcome
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/welcome')
-rw-r--r--views/default/welcome/logged_out.php48
1 files changed, 26 insertions, 22 deletions
diff --git a/views/default/welcome/logged_out.php b/views/default/welcome/logged_out.php
index 8d7146e16..20b0e0f09 100644
--- a/views/default/welcome/logged_out.php
+++ b/views/default/welcome/logged_out.php
@@ -1,23 +1,27 @@
-<?php
-
- /**
- * Elgg sample welcome page (logged out)
- *
- * @package Elgg
- * @subpackage Core
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008
- * @link http://elgg.org/
- */
-
-?>
-
- <p>
- <?php echo elgg_echo("welcome_message"); ?>
- </p>
- <?php
-
- echo elgg_view("account/forms/login");
-
+<?php
+
+ /**
+ * Elgg sample welcome page (logged out)
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+?>
+
+ <?php
+
+ //add various views to area1
+ $area1 = elgg_echo("welcome_message");
+ $area1 .= elgg_view("account/forms/login");
+
+ //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