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
da50ffa2
Commit
da50ffa2
authored
Oct 24, 2016
by
杨培
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
e756e2d8
31ea8c1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
video.php
src/frontend/views/home/video.php
+4
-2
userCenter.php
src/frontend/views/layouts/userCenter.php
+1
-1
No files found.
src/frontend/views/home/video.php
View file @
da50ffa2
...
...
@@ -11,7 +11,9 @@ $js = <<<JS
window._bd_share_config = {
"common": {
"bdSnsKey": {},
"bdText": "",
"bdText": "{$coursewareInfo['courseName']}-{$coursewareInfo['className']}",
"bdDesc":"",
"bdPic":"{$coursewareInfo['previewUrl']}",
"bdMini": "1",
"bdMiniList": ["qzone", "tsina", "weixin"],
"bdPic": "",
...
...
@@ -19,7 +21,7 @@ $js = <<<JS
"bdSize": "24"
}, "share": {}
};
with (document)0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() /
36e5)];
with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?cdnversion='+~(-new Date()/
36e5)];
JS;
...
...
src/frontend/views/layouts/userCenter.php
View file @
da50ffa2
...
...
@@ -19,7 +19,7 @@ $this->beginContent('@app/views/layouts/center.php');
<ul
class=
"simple-menu"
>
<li
<?=
(
Yii
::
$app
->
controller
->
id
===
'user-center'
and
Yii
::
$app
->
controller
->
action
->
id
===
'info'
)
?
'class = "active"'
:
''
?>
>
<a
href=
"
<?=
$baseUrl
.
'/user-center'
?>
"
><i
class=
"icon-person_pin"
></i>
基本信息
</a>
<a
href=
"
<?=
$baseUrl
.
'/user-center
/
'
?>
"
><i
class=
"icon-person_pin"
></i>
基本信息
</a>
</li>
<li
<?=
(
Yii
::
$app
->
controller
->
id
===
'user-center'
and
Yii
::
$app
->
controller
->
action
->
id
===
'purchased-course'
)
?
'class = "active"'
:
''
?>
>
<a
href=
"
<?=
$baseUrl
.
'/user-center/purchased-course'
?>
"
><i
...
...
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