aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/basic_elements/welcome.php17
-rw-r--r--views/default/welcome.php15
-rw-r--r--views/default/welcome/logged_in.php24
-rw-r--r--views/default/welcome/logged_out.php16
4 files changed, 0 insertions, 72 deletions
diff --git a/views/default/basic_elements/welcome.php b/views/default/basic_elements/welcome.php
deleted file mode 100644
index 8564778d2..000000000
--- a/views/default/basic_elements/welcome.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-/**
- * Elgg sample welcome page
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
-
-$user = $vars['name'];
-
-?>
-
-<p><?php echo sprintf(elgg_echo('welcome:user'), $user); ?></p>
-<p><?php echo elgg_view('output/url', array('href' => "{$vars['url']}action/logout", 'text' => elgg_echo('logout'), 'is_action' => TRUE)); ?></p>
-
diff --git a/views/default/welcome.php b/views/default/welcome.php
deleted file mode 100644
index b84bfb50d..000000000
--- a/views/default/welcome.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-/**
- * Elgg sample welcome page
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
-
-if (isloggedin()) {
- echo elgg_view("welcome/logged_in");
-} else {
- echo elgg_view("welcome/logged_out");
-} \ No newline at end of file
diff --git a/views/default/welcome/logged_in.php b/views/default/welcome/logged_in.php
deleted file mode 100644
index d1e568669..000000000
--- a/views/default/welcome/logged_in.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-/**
- * Elgg sample welcome page (logged in)
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
-
-//add various views to area1
-$area1 = "<h2>" . sprintf(elgg_echo("welcome:user"),$vars['user']->name) . "</h2>";
-$area1 .= "<p>" . elgg_echo("welcome_message") . "</p><br />";
-$area1 .= elgg_view('output/url', array(
- 'href' => "{$vars['url']}action/logout",
- 'text' => elgg_echo('logout'),
- 'is_action' => TRUE
-));
-
-//send area one to the appropriate canvas layout
-$body = elgg_view_layout("one_column", $area1);
-
-//draw to screen
-echo $body;
diff --git a/views/default/welcome/logged_out.php b/views/default/welcome/logged_out.php
deleted file mode 100644
index a7b62cf45..000000000
--- a/views/default/welcome/logged_out.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-/**
- * Elgg sample welcome page (logged out)
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
-
-//add various views to area1
-$area1 = "<p>" . elgg_echo("welcome_message") . "</p>";
-$area1 .= elgg_view("account/forms/login");
-
-//draw to screen
-echo $body; \ No newline at end of file