aboutsummaryrefslogtreecommitdiff
path: root/views/default/basic_elements/welcome.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/basic_elements/welcome.php')
-rw-r--r--views/default/basic_elements/welcome.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/views/default/basic_elements/welcome.php b/views/default/basic_elements/welcome.php
new file mode 100644
index 000000000..a9e08148c
--- /dev/null
+++ b/views/default/basic_elements/welcome.php
@@ -0,0 +1,19 @@
+<?php
+
+ /**
+ * Elgg sample welcome page
+ *
+ * @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/
+ */
+
+ $user = $vars['name'];
+
+?>
+
+<p>Welcome <?php echo $user; ?></p>
+<p><a href="<?php echo $vars['url']; ?>action/logout">[logout]</a></p> \ No newline at end of file