// 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:
@@ -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();
|
||||
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user