Authored by 周少峰

搜索输入框保留关键字,模板修改王庆

... ... @@ -1141,7 +1141,7 @@ class HelperSearch
if (isset($options['controller']) && $options['controller'] == 'Search' && isset($param['query'])) {
self::$listNav[1] = array(
'href' => '',
'name' => "".$param['query']." ".$total."个结果"
'name' => '搜索“<span id="nav_keyword">'.$param['query'].'</span>”共<span id="nav_keyword_count">'.$total.'</span>个结果'
);
}else{
self::$listNav[1] = array(
... ...
... ... @@ -10,13 +10,15 @@
{{/unless}}
</a>
{{^}}
<span>
{{name}}
{{{name}}}
{{#unless @last}}
<span>
<i class="iconfont">&#xe601;</i>
</span>
{{/unless}}
</span>
{{/if}}
{{/each}}
</p>
... ...