<div id="c-content">
<div id="list-wrap">
<h1 class="pageHead">[{$search_head}]</h1>
[{block name="search_results"}]
[{if $oView->getArticleCount() }]
<div class="listRefine clear bottomRound">
[{block name="search_top_listlocator"}]
[{include file="widget/locator/listlocator.tpl" locator=$oView->getPageNavigationLimitedTop() listDisplayType=true itemsPerPage=true sort=true }]
[{/block}]
</div>
[{else}]
<div>[{ oxmultilang ident="PAGE_SEARCH_SEARCH_NOITEMSFOUND" }]</div>
[{/if}]
[{if $oView->getArticleList() }]
[{foreach from=$oView->getArticleList() name=search item=product}]
[{include file="widget/product/list.tpl" type=$oView->getListDisplayType() listId="searchList" products=$oView->getArticleList() showMainLink=true }]
[{/foreach}]
[{/if}]
[{if $oView->getArticleCount() }]
[{include file="widget/locator/listlocator.tpl" locator=$oView->getPageNavigationLimitedBottom() place="bottom"}]
[{/if}]
[{/block}]
[{ insert name="oxid_tracker" title=$template_title }]
</div>
答案 0 :(得分:2)
带有自定义分隔符[{...}]的HTML + Smarty V2,而不是常规的智能分隔符{...}
答案 1 :(得分:0)
.tpl文件用于smarty,它是一个模板系统。
您可以在www.smarty.net上查看详细信息