// Merge -> revision 7941

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7948 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-08-08 16:01:47 +00:00
parent 58769824ce
commit 47a4f7f31e
16 changed files with 200 additions and 65 deletions
+1 -1
View File
@@ -28,6 +28,6 @@
include(dirname(__FILE__).'/../../config/config.inc.php');
require_once(dirname(__FILE__).'/sendtoafriend.php');
$sendtoafriend = new sendToAFriend();
$sendtoafriend = new sendToAFriend($dontTranslate = true);
echo $sendtoafriend->displayPageForm();
+4 -1
View File
@@ -30,7 +30,7 @@ if (!defined('_CAN_LOAD_FILES_'))
class sendToAFriend extends Module
{
function __construct()
function __construct($dontTranslate = false)
{
$this->name = 'sendtoafriend';
$this->version = '1.1';
@@ -40,9 +40,12 @@ class sendToAFriend extends Module
parent::__construct();
if(!$dontTranslate)
{
$this->displayName = $this->l('Send to a Friend module');
$this->description = $this->l('Allows customers to send a product link to a friend.');
}
}
function install()
{