Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zuiketang
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
zuiketang
Commits
7e786f11
Commit
7e786f11
authored
Oct 19, 2016
by
xiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加会员的统计
parent
64bf8a11
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletion
+17
-1
SiteController.php
src/frontend/controllers/SiteController.php
+1
-0
main.php
src/frontend/views/layouts/main.php
+0
-1
site.php
src/frontend/views/layouts/site.php
+16
-0
No files found.
src/frontend/controllers/SiteController.php
View file @
7e786f11
...
@@ -36,6 +36,7 @@ class SiteController extends Controller
...
@@ -36,6 +36,7 @@ class SiteController extends Controller
const
REDIS_SIGNUP_MSG_EXPIRE
=
60
;
//second
const
REDIS_SIGNUP_MSG_EXPIRE
=
60
;
//second
const
SIGNUP_TOKEN
=
'sign_token'
;
const
SIGNUP_TOKEN
=
'sign_token'
;
public
$layout
=
'site'
;
/**
/**
* 默认action
* 默认action
...
...
src/frontend/views/layouts/main.php
View file @
7e786f11
...
@@ -7,7 +7,6 @@ use yii\helpers\Html;
...
@@ -7,7 +7,6 @@ use yii\helpers\Html;
use
frontend\assets\AppAsset
;
use
frontend\assets\AppAsset
;
AppAsset
::
register
(
$this
);
AppAsset
::
register
(
$this
);
AppAsset
::
addCss
(
$this
,
'@web/assets/css/login_css.css'
);
$baseUrl
=
\yii\helpers\Url
::
base
();
$baseUrl
=
\yii\helpers\Url
::
base
();
?>
?>
<?php
$this
->
beginPage
()
?>
<?php
$this
->
beginPage
()
?>
...
...
src/frontend/views/layouts/site.php
0 → 100644
View file @
7e786f11
<?php
use
frontend\assets\AppAsset
;
/* @var $this \yii\web\View */
/* @var $content string */
$this
->
beginPage
();
$this
->
beginBody
();
$this
->
beginContent
(
'@app/views/layouts/main.php'
);
AppAsset
::
addCss
(
$this
,
'@web/assets/css/login_css.css'
);
?>
<?=
$content
?>
<?php
$this
->
endContent
();
$this
->
endBody
();
$this
->
endPage
();
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment