diff options
Diffstat (limited to 'views/default/welcome')
| -rw-r--r-- | views/default/welcome/logged_in.php | 29 | ||||
| -rw-r--r-- | views/default/welcome/logged_out.php | 24 |
2 files changed, 0 insertions, 53 deletions
diff --git a/views/default/welcome/logged_in.php b/views/default/welcome/logged_in.php deleted file mode 100644 index 05d5be104..000000000 --- a/views/default/welcome/logged_in.php +++ /dev/null @@ -1,29 +0,0 @@ -<?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-2009 - * @link http://elgg.org/ - */ - -?> - - <?php - - //add various views to area1 - $area1 = "<h2>" . sprintf(elgg_echo("welcome"),$vars['user']->name) . "</h2>"; - $area1 .= "<p>" . elgg_echo("welcome_message") . "</p><br />"; - $url = $vars['url'] . "action/logout"; - $area1 .= "<a href=" . $url . ">" . elgg_echo('logout') . "</a>"; - - //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 diff --git a/views/default/welcome/logged_out.php b/views/default/welcome/logged_out.php deleted file mode 100644 index e10af8828..000000000 --- a/views/default/welcome/logged_out.php +++ /dev/null @@ -1,24 +0,0 @@ -<?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-2009 - * @link http://elgg.org/ - */ - -?> - - <?php - - //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 |
