From 67b5422c28b1970849803fb8a8b86c68f698f166 Mon Sep 17 00:00:00 2001 From: Li Chen Date: Thu, 28 Nov 2013 16:03:36 +0100 Subject: [PATCH] Deleted team/home Change the default page of team to summary page --- htdocs/index.php | 2 +- onyx/include/team/home.php | 8 -------- onyx/tpl/bootstrap/teams/home.tpl | 11 ----------- 3 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 onyx/include/team/home.php delete mode 100644 onyx/tpl/bootstrap/teams/home.tpl diff --git a/htdocs/index.php b/htdocs/index.php index 372a9adb..e451421d 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -108,7 +108,7 @@ else if ($n && $p[0] == SALT_USER) $template->assign("themes", Theme::get_themes()); if ($n <= 2) - $page = require("team/team.php"); + $page = require("team/summary.php"); else { switch($p[2]) diff --git a/onyx/include/team/home.php b/onyx/include/team/home.php deleted file mode 100644 index eaa60a72..00000000 --- a/onyx/include/team/home.php +++ /dev/null @@ -1,8 +0,0 @@ -assign("teams", Team::get_teams()); -$template->assign("top", Team::get_top()); - -return "teams/home"; diff --git a/onyx/tpl/bootstrap/teams/home.tpl b/onyx/tpl/bootstrap/teams/home.tpl deleted file mode 100644 index 5bcb3d87..00000000 --- a/onyx/tpl/bootstrap/teams/home.tpl +++ /dev/null @@ -1,11 +0,0 @@ -{extends file="teams/layout.tpl"} - -{block name=head} - -{/block} - -{block name=content} -

- YOUPIII !!! -

-{/block}