Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
hf
9 years ago
Commit
50da083aa5dc3b072f9b3213c5a2b70bf301e144
1 parent
9395da21
modify to fixes bugs
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
library/Plugin/TemplateLayout.php
template/m.yohobuy.com/partials/product/list.phtml
library/Plugin/TemplateLayout.php
View file @
50da083
...
...
@@ -139,7 +139,7 @@ class TemplateLayout implements View_Interface
// 取得模板的最后修改时间戳
$lastModifyTime
=
filemtime
(
$viewName
);
// 使用MD5生成唯一的键名
$makeKey
=
md5
(
$viewName
.
strval
(
$lastModifyTime
));
$makeKey
=
md5
(
$viewName
.
strval
(
$lastModifyTime
));
// 模板编译成PHP文件所存放的目录
$compilePath
=
$config
->
template
->
compile
;
// 模板编译成PHP文件所存放的文件路径
...
...
template/m.yohobuy.com/partials/product/list.phtml
View file @
50da083
...
...
@@ -4,7 +4,7 @@
<form
id=
"search-form"
action=
"{{url}}"
method=
"get"
>
<i
class=
"search-icon iconfont"
>
60
f;</i>
<input
type=
"text"
value=
"{{default}}"
name=
"query"
>
<input
type=
"hidden"
value=
"search"
name=
"
search
"
>
<input
type=
"hidden"
value=
"search"
name=
"
from
"
>
<i
class=
"clear-input iconfont hide"
>
61
a;</i>
<button
id=
"search"
class=
"search"
type=
"submit"
>搜索</button>
</form>
...
...
Please
register
or
login
to post a comment