Authored by whb

添加title

<?php
use Action\WebAction;
use Index\HomeModel;
/**
* 男首
*/
class BoysController extends WebAction
{
public function indexAction()
{
$this->setWebNavHeader(\Index\HomeModel::COOKIE_NAME_BOYS);
$data = array(
'boysHomePage' => true,
'footerTop'=> true,
'boys' => \Index\HomeModel::getChannelResource(HomeModel::COOKIE_NAME_BOYS, HomeModel::CODE_BOYS_CHANNEL)
);
$this->_view->display('index', $data);
}
}
\ No newline at end of file
... ... @@ -10,6 +10,7 @@ class GirlsController extends WebAction
public function indexAction()
{
$this->setTitle('女生');
$this->setWebNavHeader(HomeModel::COOKIE_NAME_GIRLS);
$data = array(
'boysHomePage' => true,
... ...
... ... @@ -10,6 +10,7 @@ class KidsController extends WebAction
public function indexAction()
{
$this->setTitle('潮童');
$this->setWebNavHeader(HomeModel::COOKIE_NAME_KIDS);
$data = array(
'boysHomePage' => true,
... ...
... ... @@ -10,6 +10,7 @@ class LifestyleController extends WebAction
public function indexAction()
{
$this->setTitle('创意生活');
$this->setWebNavHeader(HomeModel::COOKIE_NAME_LIFESTYLE);
$data = array(
'boysHomePage' => true,
... ...