diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-01 14:02:50 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-01 14:02:50 +0000 |
commit | b640dc452ae9d67c02662997f6c5b6e0d900e4b9 (patch) | |
tree | 8cddeeb3192292ac0704bf720aa6f312dcbd299f /views/default/welcome | |
parent | a08509ec171b12f609a8941c86541f3a413ea913 (diff) | |
download | elgg-b640dc452ae9d67c02662997f6c5b6e0d900e4b9.tar.gz elgg-b640dc452ae9d67c02662997f6c5b6e0d900e4b9.tar.bz2 |
Fixed some session stuff, modified a few views
git-svn-id: https://code.elgg.org/elgg/trunk@303 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/welcome')
-rw-r--r-- | views/default/welcome/logged_in.php | 22 | ||||
-rw-r--r-- | views/default/welcome/logged_out.php | 23 |
2 files changed, 45 insertions, 0 deletions
diff --git a/views/default/welcome/logged_in.php b/views/default/welcome/logged_in.php new file mode 100644 index 000000000..e6096142f --- /dev/null +++ b/views/default/welcome/logged_in.php @@ -0,0 +1,22 @@ +<?php
+
+ /**
+ * Elgg sample welcome page (logged in)
+ *
+ * @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/
+ */
+
+?>
+
+ <h2><?php echo sprintf(elgg_echo("welcome"),$vars['user']->username); ?></h2>
+ <p>
+ <?php echo elgg_echo("welcome_message"); ?>
+ </p>
+ <p>
+ <a href="<?php echo $vars['url']; ?>action/logout"><?php echo elgg_echo('logout'); ?></a>
+ </p>
\ No newline at end of file diff --git a/views/default/welcome/logged_out.php b/views/default/welcome/logged_out.php new file mode 100644 index 000000000..47e9ac19f --- /dev/null +++ b/views/default/welcome/logged_out.php @@ -0,0 +1,23 @@ +<?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("login");
+
+ ?>
\ No newline at end of file |