// REVERT MERGE

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7761 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-07-27 13:35:06 +00:00
parent e159c925d8
commit be4811aa6e
182 changed files with 1335 additions and 6181 deletions
+7 -2
View File
@@ -28,6 +28,11 @@
include(dirname(__FILE__).'/../../config/config.inc.php');
require_once(dirname(__FILE__).'/sendtoafriend.php');
$sendtoafriend = new sendToAFriend($dontTranslate = true);
echo $sendtoafriend->displayPageForm();
$sendtoafriend = new sendToAFriend();
if (!$sendtoafriend->active)
Tools::display404Error();
include(dirname(__FILE__).'/../../header.php');
echo $sendtoafriend->displayFrontForm();
include(dirname(__FILE__).'/../../footer.php');
-10
View File
@@ -56,16 +56,6 @@ class sendToAFriend extends Module
return $this->display(__FILE__, 'product_page.tpl');
}
public function displayPageForm()
{
if (!$this->active)
Tools::display404Error();
include(dirname(__FILE__).'/../../header.php');
echo $this->displayFrontForm();
include(dirname(__FILE__).'/../../footer.php');
}
public function displayFrontForm()
{
global $smarty;