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
e7163310
Commit
e7163310
authored
Oct 26, 2016
by
xiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加预览页连接
parent
339e7a1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
index.php
src/frontend/views/my-course/index.php
+2
-2
No files found.
src/frontend/views/my-course/index.php
View file @
e7163310
...
@@ -27,7 +27,7 @@ $qiniu = \Yii::$app->qiniu;
...
@@ -27,7 +27,7 @@ $qiniu = \Yii::$app->qiniu;
<a
href=
"
<?=
Course
::
url
(
$course
[
'id'
])
?>
"
target=
"_blank"
><img
<a
href=
"
<?=
Course
::
url
(
$course
[
'id'
])
?>
"
target=
"_blank"
><img
src=
"
<?=
$qiniu
->
getUrl
(
'public'
,
$course
[
'preview_pic'
])
?>
-m.preview"
></a>
src=
"
<?=
$qiniu
->
getUrl
(
'public'
,
$course
[
'preview_pic'
])
?>
-m.preview"
></a>
<?php
elseif
(
$course
[
'status'
]
==
'2'
||
$course
[
'status'
]
==
'0'
)
:
?>
<?php
elseif
(
$course
[
'status'
]
==
'2'
||
$course
[
'status'
]
==
'0'
)
:
?>
<a
href=
"
javascript:;
"
target=
"_blank"
><img
<a
href=
"
<?=
Url
::
to
([
'home/preview'
,
'courseId'
=>
$course
[
'id'
]])
?>
"
target=
"_blank"
><img
src=
"
<?=
$qiniu
->
getUrl
(
'public'
,
$course
[
'preview_pic'
])
?>
-m.preview"
></a>
src=
"
<?=
$qiniu
->
getUrl
(
'public'
,
$course
[
'preview_pic'
])
?>
-m.preview"
></a>
<?php
endif
;
?>
<?php
endif
;
?>
...
@@ -41,7 +41,7 @@ $qiniu = \Yii::$app->qiniu;
...
@@ -41,7 +41,7 @@ $qiniu = \Yii::$app->qiniu;
<div
class=
"tit"
><a
href=
"
<?=
Course
::
url
(
$course
[
'id'
])
?>
"
<div
class=
"tit"
><a
href=
"
<?=
Course
::
url
(
$course
[
'id'
])
?>
"
target=
"_blank"
>
<?=
$course
[
'name'
]
?>
</a></div>
target=
"_blank"
>
<?=
$course
[
'name'
]
?>
</a></div>
<?php
elseif
(
$course
[
'status'
]
==
'2'
||
$course
[
'status'
]
==
'0'
)
:
?>
<?php
elseif
(
$course
[
'status'
]
==
'2'
||
$course
[
'status'
]
==
'0'
)
:
?>
<div
class=
"tit"
><a
href=
"
javascript:;
"
<div
class=
"tit"
><a
href=
"
<?=
Url
::
to
([
'home/preview'
,
'courseId'
=>
$course
[
'id'
]])
?>
"
target=
"_blank"
>
<?=
$course
[
'name'
]
?>
</a></div>
target=
"_blank"
>
<?=
$course
[
'name'
]
?>
</a></div>
<?php
endif
;
?>
<?php
endif
;
?>
...
...
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