[-] FO: some W3C errors corrected
This commit is contained in:
@@ -118,22 +118,20 @@ var generated_date = {$smarty.now|intval};
|
|||||||
{/if}
|
{/if}
|
||||||
<p {if $products}class="hidden"{/if} id="cart_block_no_products">{l s='No products' mod='blockcart'}</p>
|
<p {if $products}class="hidden"{/if} id="cart_block_no_products">{l s='No products' mod='blockcart'}</p>
|
||||||
<table id="vouchers"{if $discounts|@count == 0} style="display:none;"{/if}>
|
<table id="vouchers"{if $discounts|@count == 0} style="display:none;"{/if}>
|
||||||
<tbody>
|
{foreach from=$discounts item=discount}
|
||||||
{foreach from=$discounts item=discount}
|
{if $discount.value_real > 0}
|
||||||
{if $discount.value_real > 0}
|
<tr class="bloc_cart_voucher" id="bloc_cart_voucher_{$discount.id_discount}">
|
||||||
<tr class="bloc_cart_voucher" id="bloc_cart_voucher_{$discount.id_discount}">
|
<td class="quantity">1x</td>
|
||||||
<td class="quantity">1x</td>
|
<td class="name" title="{$discount.description}">{$discount.name|cat:' : '|cat:$discount.description|truncate:18:'...'|escape:'htmlall':'UTF-8'}</td>
|
||||||
<td class="name" title="{$discount.description}">{$discount.name|cat:' : '|cat:$discount.description|truncate:18:'...'|escape:'htmlall':'UTF-8'}</td>
|
<td class="price">-{if $priceDisplay == 1}{convertPrice price=$discount.value_tax_exc}{else}{convertPrice price=$discount.value_real}{/if}</td>
|
||||||
<td class="price">-{if $priceDisplay == 1}{convertPrice price=$discount.value_tax_exc}{else}{convertPrice price=$discount.value_real}{/if}</td>
|
<td class="delete">
|
||||||
<td class="delete">
|
{if strlen($discount.code)}
|
||||||
{if strlen($discount.code)}
|
<a class="delete_voucher" href="{$link->getPageLink('$order_process', true)}?deleteDiscount={$discount.id_discount}" title="{l s='Delete' mod='blockcart'}" rel="nofollow"><img src="{$img_dir}icon/delete.gif" alt="{l s='Delete' mod='blockcart'}" class="icon" /></a>
|
||||||
<a class="delete_voucher" href="{$link->getPageLink('$order_process', true)}?deleteDiscount={$discount.id_discount}" title="{l s='Delete' mod='blockcart'}" rel="nofollow"><img src="{$img_dir}icon/delete.gif" alt="{l s='Delete' mod='blockcart'}" class="icon" /></a>
|
|
||||||
{/if}
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
{/if}
|
{/if}
|
||||||
{/foreach}
|
</td>
|
||||||
</tbody>
|
</tr>
|
||||||
|
{/if}
|
||||||
|
{/foreach}
|
||||||
</table>
|
</table>
|
||||||
<p id="cart-prices">
|
<p id="cart-prices">
|
||||||
<span id="cart_block_shipping_cost" class="price ajax_cart_shipping_cost">{$shipping_cost}</span>
|
<span id="cart_block_shipping_cost" class="price ajax_cart_shipping_cost">{$shipping_cost}</span>
|
||||||
|
|||||||
@@ -642,7 +642,7 @@ class Blocktopmenu extends Module
|
|||||||
if (!empty($is_intersected))
|
if (!empty($is_intersected))
|
||||||
{
|
{
|
||||||
$this->_menu .= '<li '.$selected.'>';
|
$this->_menu .= '<li '.$selected.'>';
|
||||||
$this->_menu .= '<a href="'.$category_link.'">'.$category->name.'</a>';
|
$this->_menu .= '<a href="'.htmlentities($category_link).'">'.$category->name.'</a>';
|
||||||
|
|
||||||
if (count($children))
|
if (count($children))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -118,9 +118,8 @@ var generated_date = {$smarty.now|intval};
|
|||||||
{/if}
|
{/if}
|
||||||
<p class="cart_block_no_products{if $products} hidden{/if}" id="cart_block_no_products">{l s='No products' mod='blockcart'}</p>
|
<p class="cart_block_no_products{if $products} hidden{/if}" id="cart_block_no_products">{l s='No products' mod='blockcart'}</p>
|
||||||
<table id="vouchers"{if $discounts|@count == 0} style="display:none;"{/if}>
|
<table id="vouchers"{if $discounts|@count == 0} style="display:none;"{/if}>
|
||||||
<tbody>
|
{foreach from=$discounts item=discount}
|
||||||
{foreach from=$discounts item=discount}
|
{if $discount.value_real > 0}
|
||||||
{if $discount.value_real > 0}
|
|
||||||
<tr class="bloc_cart_voucher" id="bloc_cart_voucher_{$discount.id_discount}">
|
<tr class="bloc_cart_voucher" id="bloc_cart_voucher_{$discount.id_discount}">
|
||||||
<td class="quantity">1x</td>
|
<td class="quantity">1x</td>
|
||||||
<td class="name" title="{$discount.description}">{$discount.name|cat:' : '|cat:$discount.description|truncate:18:'...'|escape:'htmlall':'UTF-8'}</td>
|
<td class="name" title="{$discount.description}">{$discount.name|cat:' : '|cat:$discount.description|truncate:18:'...'|escape:'htmlall':'UTF-8'}</td>
|
||||||
@@ -131,9 +130,8 @@ var generated_date = {$smarty.now|intval};
|
|||||||
{/if}
|
{/if}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{/if}
|
{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</tbody>
|
|
||||||
</table>
|
</table>
|
||||||
<p id="cart-prices">
|
<p id="cart-prices">
|
||||||
<span id="cart_block_shipping_cost" class="price ajax_cart_shipping_cost">{$shipping_cost}</span>
|
<span id="cart_block_shipping_cost" class="price ajax_cart_shipping_cost">{$shipping_cost}</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user