Deleted team/home
Change the default page of team to summary page
This commit is contained in:
parent
11dc0c153a
commit
67b5422c28
@ -108,7 +108,7 @@ else if ($n && $p[0] == SALT_USER)
|
|||||||
$template->assign("themes", Theme::get_themes());
|
$template->assign("themes", Theme::get_themes());
|
||||||
|
|
||||||
if ($n <= 2)
|
if ($n <= 2)
|
||||||
$page = require("team/team.php");
|
$page = require("team/summary.php");
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
switch($p[2])
|
switch($p[2])
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
if(!defined('ONYX')) exit;
|
|
||||||
|
|
||||||
$template->assign("teams", Team::get_teams());
|
|
||||||
$template->assign("top", Team::get_top());
|
|
||||||
|
|
||||||
return "teams/home";
|
|
@ -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}
|
|
Loading…
Reference in New Issue
Block a user