From 16e3cc8e9e2bcfc59edce0a2fb91b894df970abe Mon Sep 17 00:00:00 2001 From: vSchoener Date: Wed, 11 Jan 2012 15:46:20 +0000 Subject: [PATCH] [-] MO : Fix url for contact page --- modules/blockcms/blockcms.php | 1 + modules/blockcms/blockcms.tpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/blockcms/blockcms.php b/modules/blockcms/blockcms.php index c40c534ad..57f5cca4b 100755 --- a/modules/blockcms/blockcms.php +++ b/modules/blockcms/blockcms.php @@ -828,6 +828,7 @@ class BlockCms extends Module $this->smarty->assign(array( 'block' => 1, 'cms_titles' => $cms_titles, + 'contact_url' => (_PS_VERSION_ >= 1.5) ? 'contact' : 'contact-form' )); return $this->display(__FILE__, 'blockcms.tpl'); } diff --git a/modules/blockcms/blockcms.tpl b/modules/blockcms/blockcms.tpl index 5b0d132ea..aae6f6568 100755 --- a/modules/blockcms/blockcms.tpl +++ b/modules/blockcms/blockcms.tpl @@ -52,7 +52,7 @@
  • {l s='New products' mod='blockcms'}
  • {if !$PS_CATALOG_MODE}
  • {l s='Top sellers' mod='blockcms'}
  • {/if} {if $display_stores_footer}
  • {l s='Our stores' mod='blockcms'}
  • {/if} -
  • {l s='Contact us' mod='blockcms'}
  • +
  • {l s='Contact us' mod='blockcms'}
  • {foreach from=$cmslinks item=cmslink} {if $cmslink.meta_title != ''}
  • {$cmslink.meta_title|escape:'htmlall':'UTF-8'}