diff --git a/themes/tajian/controller/SiteController.php b/themes/tajian/controller/SiteController.php index c463443..3639f78 100644 --- a/themes/tajian/controller/SiteController.php +++ b/themes/tajian/controller/SiteController.php @@ -581,4 +581,28 @@ Class SiteController extends Controller { return $this->render($viewName, $params, $pageTitle); } + //Contact + public function actionContact() { + $pageTitle = "Contact 联系我们 | TaJian.tv"; + + $this->layout = 'index'; + $viewName = 'contact'; + $params = compact( + 'pageTitle' + ); + return $this->render($viewName, $params, $pageTitle); + } + + //About + public function actionAbout() { + $pageTitle = "About 关于Ta荐 | TaJian.tv"; + + $this->layout = 'index'; + $viewName = 'about'; + $params = compact( + 'pageTitle' + ); + return $this->render($viewName, $params, $pageTitle); + } + } diff --git a/themes/tajian/views/layout/index.php b/themes/tajian/views/layout/index.php index 1075f1e..9ac9969 100644 --- a/themes/tajian/views/layout/index.php +++ b/themes/tajian/views/layout/index.php @@ -62,9 +62,8 @@ if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['use
  • 源码下载