// revert
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<form id="aut" name="authorizeaim_form" action="{$module_dir}validation.php" method="post">
|
<form id="aut" name="authorizeaim_form" action="{$module_dir}validation.php" method="post">
|
||||||
<span style="display: block;text-decoration: none;">
|
<span style="border: 1px solid #595A5E;display: block;padding: 0.6em;text-decoration: none;margin-left: 0.7em;">
|
||||||
<a id="click_authorizeaim" href="#" title="{l s='Pay with authorizeaim' mod='authorizeaim'}" style="display: block;text-decoration: none;">
|
<a id="click_authorizeaim" href="#" title="{l s='Pay with authorizeaim' mod='authorizeaim'}" style="display: block;text-decoration: none;">
|
||||||
{if $cards.visa == 1}
|
{if $cards.visa == 1}
|
||||||
<img src="{$module_dir}cards/visa.gif" alt="{l s='visa logo' mod='authorizeaim'}" />
|
<img src="{$module_dir}cards/visa.gif" alt="{l s='visa logo' mod='authorizeaim'}" />
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 8.9 KiB |
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
<p class="payment_module">
|
<p class="payment_module">
|
||||||
<a href="{$this_path_ssl}payment.php" title="{l s='Pay by bank wire' mod='bankwire'}">
|
<a href="{$this_path_ssl}payment.php" title="{l s='Pay by bank wire' mod='bankwire'}">
|
||||||
<img src="{$this_path}bankwire.jpg" alt="{l s='Pay by bank wire' mod='bankwire'}" width="130" height="108"/>
|
<img src="{$this_path}bankwire.jpg" alt="{l s='Pay by bank wire' mod='bankwire'}" width="86" height="49"/>
|
||||||
<span>{l s='Pay by bank wire (order process will be longer)' mod='bankwire'}</span>
|
{l s='Pay by bank wire (order process will be longer)' mod='bankwire'}
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
@@ -114,7 +114,7 @@ class BlockBestSellers extends Module
|
|||||||
|
|
||||||
$this->context->smarty->assign(array(
|
$this->context->smarty->assign(array(
|
||||||
'best_sellers' => $best_sellers,
|
'best_sellers' => $best_sellers,
|
||||||
'smallSize' => Image::getSize('small'),
|
'mediumSize' => Image::getSize('medium'),
|
||||||
));
|
));
|
||||||
return $this->display(__FILE__, 'blockbestsellers.tpl');
|
return $this->display(__FILE__, 'blockbestsellers.tpl');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,31 +19,26 @@
|
|||||||
*
|
*
|
||||||
* @author PrestaShop SA <contact@prestashop.com>
|
* @author PrestaShop SA <contact@prestashop.com>
|
||||||
* @copyright 2007-2011 PrestaShop SA
|
* @copyright 2007-2011 PrestaShop SA
|
||||||
* @version Release: $Revision: 6594 $
|
* @version Release: $Revision: 7077 $
|
||||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
<!-- MODULE Block best sellers -->
|
<!-- MODULE Block best sellers -->
|
||||||
<div id="best-sellers_block_right" class="block products_block">
|
<div id="best-sellers_block_right" class="block products_block">
|
||||||
<h4><a href="{$link->getPageLink('best-sales.php')}">{l s='Top sellers' mod='blockbestsellers'}</a></h4>
|
<h4><a href="{$link->getPageLink('best-sales')}">{l s='Top sellers' mod='blockbestsellers'}</a></h4>
|
||||||
<div class="block_content">
|
<div class="block_content">
|
||||||
{if $best_sellers|@count > 0}
|
{if $best_sellers|@count > 0}
|
||||||
<ul class="product_images">
|
<ul class="product_images">
|
||||||
{foreach from=$best_sellers item=product name=myLoop}
|
<li><a href="{$best_sellers.0.link}" title="{$best_sellers.0.legend|escape:'htmlall':'UTF-8'}"><img src="{$link->getImageLink($best_sellers.0.link_rewrite, $best_sellers.0.id_image, 'medium')}" height="{$mediumSize.height}" width="{$mediumSize.width}" alt="{$best_sellers.0.legend|escape:'htmlall':'UTF-8'}" /></a></li>
|
||||||
<li class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{else}item{/if} clearfix">
|
{if $best_sellers|@count > 1}<li><a href="{$best_sellers.1.link}" title="{$best_sellers.1.legend|escape:'htmlall':'UTF-8'}"><img src="{$link->getImageLink($best_sellers.1.link_rewrite, $best_sellers.1.id_image, 'medium')}" height="{$mediumSize.height}" width="{$mediumSize.width}" alt="{$best_sellers.1.legend|escape:'htmlall':'UTF-8'}" /></a></li>{/if}
|
||||||
<a href="{$product.link}" title="{$product.legend|escape:'htmlall':'UTF-8'}" class="content_img clearfix">
|
|
||||||
<span class="number">{$smarty.foreach.myLoop.iteration}</span>
|
|
||||||
<img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'small')}" height="{$smallSize.height}" width="{$smallSize.width}" alt="{$product.legend|escape:'htmlall':'UTF-8'}" />
|
|
||||||
</a>
|
|
||||||
<p><a href="{$product.link}" title="{$product.legend|escape:'htmlall':'UTF-8'}">
|
|
||||||
{$product.name|strip_tags:'UTF-8'|escape:'htmlall':'UTF-8'}<br />
|
|
||||||
<span class="price">{$product.price}</span>
|
|
||||||
</a></p>
|
|
||||||
</li>
|
|
||||||
{/foreach}
|
|
||||||
</ul>
|
</ul>
|
||||||
<p class="lnk"><a href="{$link->getPageLink('best-sales.php')}" title="{l s='All best sellers' mod='blockbestsellers'}" class="button_large">»{l s='All best sellers' mod='blockbestsellers'}</a></p>
|
<dl>
|
||||||
|
{foreach from=$best_sellers item=product name=myLoop}
|
||||||
|
<dt class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{else}item{/if}"><a href="{$product.link}" title="{$product.name|escape:'htmlall':'UTF-8'}">{$product.name|strip_tags:'UTF-8'|escape:'htmlall':'UTF-8'}</a></dt>
|
||||||
|
{/foreach}
|
||||||
|
</dl>
|
||||||
|
<p><a href="{$link->getPageLink('best-sales')}" title="{l s='All best sellers' mod='blockbestsellers'}" class="button_large">{l s='All best sellers' mod='blockbestsellers'}</a></p>
|
||||||
{else}
|
{else}
|
||||||
<p>{l s='No best sellers at this time' mod='blockbestsellers'}</p>
|
<p>{l s='No best sellers at this time' mod='blockbestsellers'}</p>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -626,26 +626,5 @@ $(document).ready(function(){
|
|||||||
});
|
});
|
||||||
ajaxCart.overrideButtonsInThePage();
|
ajaxCart.overrideButtonsInThePage();
|
||||||
ajaxCart.refresh();
|
ajaxCart.refresh();
|
||||||
|
|
||||||
/* roll over cart */
|
|
||||||
$("#shopping_cart").mouseover(function(){
|
|
||||||
$("#cart_block").slideDown(450).addClass("cart_block_hover");
|
|
||||||
});
|
|
||||||
|
|
||||||
$("#cart_block").mouseleave(function(){
|
|
||||||
$("#cart_block").removeClass("cart_block_hover");
|
|
||||||
if(!$("#cart_block").hasClass("cart_block_hover"))
|
|
||||||
$("#cart_block").slideUp(450);
|
|
||||||
});
|
|
||||||
$("#header_logo").mouseover(function(){
|
|
||||||
$("#cart_block").removeClass("cart_block_hover");
|
|
||||||
if(!$("#cart_block").hasClass("cart_block_hover"))
|
|
||||||
$("#cart_block").slideUp(450);
|
|
||||||
});
|
|
||||||
$("#messWelcome").mouseover(function(){
|
|
||||||
$("#cart_block").removeClass("cart_block_hover");
|
|
||||||
if(!$("#cart_block").hasClass("cart_block_hover"))
|
|
||||||
$("#cart_block").slideUp(450);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -83,8 +83,8 @@ class BlockCart extends Module
|
|||||||
$smarty->assign(array(
|
$smarty->assign(array(
|
||||||
'products' => $products,
|
'products' => $products,
|
||||||
'customizedDatas' => Product::getAllCustomizedDatas((int)($params['cart']->id)),
|
'customizedDatas' => Product::getAllCustomizedDatas((int)($params['cart']->id)),
|
||||||
'CUSTOMIZE_FILE' => Product::CUSTOMIZE_FILE,
|
'CUSTOMIZE_FILE' => _CUSTOMIZE_FILE_,
|
||||||
'CUSTOMIZE_TEXTFIELD' => Product::CUSTOMIZE_TEXTFIELD,
|
'CUSTOMIZE_TEXTFIELD' => _CUSTOMIZE_TEXTFIELD_,
|
||||||
'discounts' => $params['cart']->getDiscounts(false, Tools::isSubmit('id_product')),
|
'discounts' => $params['cart']->getDiscounts(false, Tools::isSubmit('id_product')),
|
||||||
'nb_total_products' => (int)($nbTotalProducts),
|
'nb_total_products' => (int)($nbTotalProducts),
|
||||||
'shipping_cost' => Tools::displayPrice($params['cart']->getOrderTotal($useTax, Cart::ONLY_SHIPPING), $currency),
|
'shipping_cost' => Tools::displayPrice($params['cart']->getOrderTotal($useTax, Cart::ONLY_SHIPPING), $currency),
|
||||||
@@ -187,10 +187,5 @@ class BlockCart extends Module
|
|||||||
if ((int)(Configuration::get('PS_BLOCK_CART_AJAX')))
|
if ((int)(Configuration::get('PS_BLOCK_CART_AJAX')))
|
||||||
$this->context->controller->addJS(($this->_path).'ajax-cart.js');
|
$this->context->controller->addJS(($this->_path).'ajax-cart.js');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function hookTop($params)
|
|
||||||
{
|
|
||||||
return $this->hookRightColumn($params);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -86,17 +86,6 @@ class BlockMyAccount extends Module
|
|||||||
{
|
{
|
||||||
$this->context->controller->addCSS(($this->_path).'blockmyaccount.css', 'all');
|
$this->context->controller->addCSS(($this->_path).'blockmyaccount.css', 'all');
|
||||||
}
|
}
|
||||||
public function hookFooter($params)
|
|
||||||
{
|
|
||||||
global $smarty;
|
|
||||||
|
|
||||||
$smarty->assign(array(
|
|
||||||
'voucherAllowed' => (int)(Configuration::get('PS_VOUCHERS')),
|
|
||||||
'returnAllowed' => (int)(Configuration::get('PS_ORDER_RETURN')),
|
|
||||||
'HOOK_BLOCK_MY_ACCOUNT' => Module::hookExec('myAccountBlock')
|
|
||||||
));
|
|
||||||
return $this->display(__FILE__, $this->name.'.tpl');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 1.8 KiB |
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
<p class="payment_module">
|
<p class="payment_module">
|
||||||
<a href="{$this_path_ssl}payment.php" title="{l s='Pay by cheque' mod='cheque'}">
|
<a href="{$this_path_ssl}payment.php" title="{l s='Pay by cheque' mod='cheque'}">
|
||||||
<img src="{$this_path}cheque.jpg" alt="{l s='Pay by cheque' mod='cheque'}" width="130" height="108" />
|
<img src="{$this_path}cheque.jpg" alt="{l s='Pay by cheque' mod='cheque'}" width="86" height="49" />
|
||||||
<span>{l s='Pay by cheque (order process will be longer)' mod='cheque'}</span>
|
{l s='Pay by cheque (order process will be longer)' mod='cheque'}
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user