diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-12 13:21:13 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-12 13:21:13 +0000 |
commit | a3dcd759fc289d6f4058edaca857e417790c35e2 (patch) | |
tree | d5a3d85384e5a611f22b6ea53a32a32121aee76d | |
parent | 9b2d523c22c96e80146f5ffa1b4228fd33e67c5f (diff) | |
download | elgg-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
-rw-r--r-- | views/default/welcome/logged_out.php | 48 |
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 |