Toggle navigation
Toggle navigation
This project
Loading...
Sign in
chenchao
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
621975e48a5c20308f7edddb4c1fdc8fab1bfcaf
1 parent
9f380258
modify to fixes bug to search page show default keyword
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
compile/m.yohobuy.com/1c526644c979455e6df7c4ed21118d5d.php
library/Plugin/TemplateLayout.php
compile/m.yohobuy.com/1c526644c979455e6df7c4ed21118d5d.php
View file @
621975e
...
...
@@ -58,7 +58,7 @@
'
;})
.
'</header>
'
;})
.
''
.
''
.
'<div class="good-list-page yoho-page">
'
.
''
.
Plugin\LCRun3
::
sec
(
$cx
,
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'goodList'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
''
.
Plugin\LCRun3
::
sec
(
$cx
,
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'search'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
' <div id="search-input" class="search-input">
<form id="search-form" action=
'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'url'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'
method="get">
<form id="search-form" action=
"'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'url'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'"
method="get">
<i class="search-icon iconfont"></i>
<input type="text" value="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'default'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'" name="query">
<i class="clear-input iconfont hide"></i>
...
...
@@ -217,7 +217,7 @@
'
:
''
)
.
''
.
((
Plugin\LCRun3
::
ifvar
(
$cx
,
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'preEnv'
))))
?
'<script src="http://cdn.yoho.cn/myohobuy/'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'version'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/lib.js"></script>
<script src="http://cdn.yoho.cn/myohobuy/'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'version'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/index.js"></script>
'
:
''
)
.
''
.
((
Plugin\LCRun3
::
ifvar
(
$cx
,
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'testEnv'
))))
?
'<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'version'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/lib.js"></script>
<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'version'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/index.js"></script>
<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'version'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/index
-debug
.js"></script>
'
:
''
)
.
''
.
((
Plugin\LCRun3
::
ifvar
(
$cx
,
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'devEnv'
))))
?
'<script src="http://localhost:8000/static/js/sea.js?nowrap"></script>
<script>seajs.config({base: \'http://localhost:8000/\'});</script>
'
:
''
)
.
'
...
...
library/Plugin/TemplateLayout.php
View file @
621975e
...
...
@@ -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文件所存放的文件路径
...
...
Please
register
or
login
to post a comment