diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-09 22:08:14 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-09 22:08:14 +0000 |
commit | f40da8fcaaeb193b155f8e51081bcaef468d9770 (patch) | |
tree | 6b6fb9783cf3d44ece0064b139711b2c37646678 /views | |
parent | 499de3359a1b9e23ce7a285bde52dbaa8bfc224f (diff) | |
download | elgg-f40da8fcaaeb193b155f8e51081bcaef468d9770.tar.gz elgg-f40da8fcaaeb193b155f8e51081bcaef468d9770.tar.bz2 |
removing more views that haven't been used/touched in almost 2 years
git-svn-id: http://code.elgg.org/elgg/trunk@5991 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r-- | views/default/basic_elements/welcome.php | 17 | ||||
-rw-r--r-- | views/default/welcome.php | 15 | ||||
-rw-r--r-- | views/default/welcome/logged_in.php | 24 | ||||
-rw-r--r-- | views/default/welcome/logged_out.php | 16 |
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 |