aboutsummaryrefslogtreecommitdiff
path: root/views/default/welcome
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-12 13:21:13 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-12 13:21:13 +0000
commita3dcd759fc289d6f4058edaca857e417790c35e2 (patch)
treed5a3d85384e5a611f22b6ea53a32a32121aee76d /views/default/welcome
parent9b2d523c22c96e80146f5ffa1b4228fd33e67c5f (diff)
downloadelgg-a3dcd759fc289d6f4058edaca857e417790c35e2.tar.gz
elgg-a3dcd759fc289d6f4058edaca857e417790c35e2.tar.bz2
toolbar switched off for non-logged users
git-svn-id: https://code.elgg.org/elgg/trunk@888 36083f99-b078-4883-b0ff-0f9b5a30f544
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