Deleted team/home

Change the default page of team to summary page
This commit is contained in:
Li Chen 2013-11-28 16:03:36 +01:00
parent 11dc0c153a
commit 67b5422c28
3 changed files with 1 additions and 20 deletions

View File

@ -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])

View File

@ -1,8 +0,0 @@
<?php
if(!defined('ONYX')) exit;
$template->assign("teams", Team::get_teams());
$template->assign("top", Team::get_top());
return "teams/home";

View File

@ -1,11 +0,0 @@
{extends file="teams/layout.tpl"}
{block name=head}
<link href="/css/common.css" rel="stylesheet">
{/block}
{block name=content}
<h1>
YOUPIII !!!
</h1>
{/block}