// update tpl for w3c validator and code indent
This commit is contained in:
@@ -26,7 +26,9 @@
|
||||
{include file="$tpl_dir./errors.tpl"}
|
||||
|
||||
{if !isset($errors) OR !sizeof($errors)}
|
||||
<h1 class="page-heading product-listing">{l s='List of products by supplier:'} {$supplier->name|escape:'html':'UTF-8'}</h1>
|
||||
<h1 class="page-heading product-listing">
|
||||
{l s='List of products by supplier:'} {$supplier->name|escape:'html':'UTF-8'}
|
||||
</h1>
|
||||
{if !empty($supplier->description)}
|
||||
<div class="description_box">
|
||||
<p>{$supplier->description}</p>
|
||||
@@ -34,26 +36,26 @@
|
||||
{/if}
|
||||
|
||||
{if $products}
|
||||
<div class="content_sortPagiBar">
|
||||
<div class="sortPagiBar clearfix">
|
||||
{include file="./product-sort.tpl"}
|
||||
{include file="./nbr-product-page.tpl"}
|
||||
<div class="content_sortPagiBar">
|
||||
<div class="sortPagiBar clearfix">
|
||||
{include file="./product-sort.tpl"}
|
||||
{include file="./nbr-product-page.tpl"}
|
||||
</div>
|
||||
<div class="top-pagination-content clearfix">
|
||||
{include file="./product-compare.tpl"}
|
||||
{include file="$tpl_dir./pagination.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
<div class="top-pagination-content clearfix">
|
||||
{include file="./product-compare.tpl"}
|
||||
{include file="$tpl_dir./pagination.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file="./product-list.tpl" products=$products}
|
||||
{include file="./product-list.tpl" products=$products}
|
||||
|
||||
<div class="content_sortPagiBar">
|
||||
<div class="bottom-pagination-content clearfix">
|
||||
{include file="./product-compare.tpl"}
|
||||
{include file="./pagination.tpl" paginationId='bottom'}
|
||||
</div>
|
||||
</div>
|
||||
<div class="content_sortPagiBar">
|
||||
<div class="bottom-pagination-content clearfix">
|
||||
{include file="./product-compare.tpl"}
|
||||
{include file="./pagination.tpl" paginationId='bottom'}
|
||||
</div>
|
||||
</div>
|
||||
{else}
|
||||
<p class="alert alert-warning">{l s='No products for this supplier.'}</p>
|
||||
<p class="alert alert-warning">{l s='No products for this supplier.'}</p>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user