[+] Project : default theme added
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 6844 $
|
||||
* @version Release: $Revision: 6594 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
@@ -27,9 +27,9 @@
|
||||
<!-- MODULE ReferralProgram -->
|
||||
<fieldset class="account_creation">
|
||||
<h3>{l s='Referral program' mod='referralprogram'}</h3>
|
||||
<p>
|
||||
<p class="text">
|
||||
<label for="referralprogram">{l s='E-mail address of your sponsor' mod='referralprogram'}</label>
|
||||
<input type="text" size="52" maxlength="128" class="text" id="referralprogram" name="referralprogram" value="{if isset($smarty.post.referralprogram)}{$smarty.post.referralprogram|escape:'htmlall':'UTF-8'}{/if}" />
|
||||
<input type="text" size="52" maxlength="128" id="referralprogram" name="referralprogram" value="{if isset($smarty.post.referralprogram)}{$smarty.post.referralprogram|escape:'htmlall':'UTF-8'}{/if}" />
|
||||
</p>
|
||||
</fieldset>
|
||||
<!-- END : MODULE ReferralProgram -->
|
||||
@@ -19,11 +19,11 @@
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 6844 $
|
||||
* @version Release: $Revision: 6594 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<!-- MODULE ReferralProgram -->
|
||||
<li><a href="{$base_dir_ssl}modules/referralprogram/referralprogram-program.php" title="{l s='Referral program' mod='referralprogram'}"><img src="{$module_template_dir}referralprogram.gif" alt="{l s='Referral program' mod='referralprogram'}" class="icon" /></a><a href="{$base_dir_ssl}modules/referralprogram/referralprogram-program.php" title="{l s='Referral program' mod='referralprogram'}">{l s='Referral program' mod='referralprogram'}</a></li>
|
||||
<li class="referralprogram"><a href="{$base_dir_ssl}modules/referralprogram/referralprogram-program.php" title="{l s='Referral program' mod='referralprogram'}"><img src="{$module_template_dir}images/referralprogram.gif" alt="{l s='Referral program' mod='referralprogram'}" class="icon" /> {l s='Referral program' mod='referralprogram'}</a></li>
|
||||
<!-- END : MODULE ReferralProgram -->
|
||||
@@ -19,7 +19,7 @@
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 6844 $
|
||||
* @version Release: $Revision: 6594 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
@@ -31,7 +31,6 @@ require_once(dirname(__FILE__).'/../../config/config.inc.php');
|
||||
require_once(dirname(__FILE__).'/../../init.php');
|
||||
|
||||
include_once(dirname(__FILE__).'/ReferralProgramModule.php');
|
||||
include_once(dirname(__FILE__).'/referralprogram.php');
|
||||
|
||||
$context = Context::getContext();
|
||||
if (!$context->customer->isLogged())
|
||||
@@ -186,9 +185,8 @@ $smarty->assign(array(
|
||||
'mails_exists' => (isset($mails_exists) ? $mails_exists : array())
|
||||
));
|
||||
|
||||
$referralprogram = new ReferralProgram();
|
||||
echo $referralprogram->display(dirname(__FILE__).'/referralprogram.php', 'referralprogram-program.tpl');
|
||||
echo Module::display(dirname(__FILE__).'/referralprogram.php', 'referralprogram-program.tpl');
|
||||
|
||||
include(dirname(__FILE__).'/../../footer.php');
|
||||
include(dirname(__FILE__).'/../../footer.php');
|
||||
|
||||
|
||||
|
||||
@@ -19,13 +19,13 @@
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 7077 $
|
||||
* @version Release: $Revision: 8084 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
// <![CDATA[
|
||||
ThickboxI18nClose = "{l s='Close' mod='referralprogram'}";
|
||||
ThickboxI18nOrEscKey = "{l s='or Esc key' mod='referralprogram'}";
|
||||
tb_pathToImage = "{$img_ps_dir}loadingAnimation.gif";
|
||||
@@ -75,7 +75,7 @@
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
<ul class="idTabs">
|
||||
<ul class="idTabs clearfix">
|
||||
<li><a href="#idTab1" {if $activeTab eq 'sponsor'}class="selected"{/if}>{l s='Sponsor my friends' mod='referralprogram'}</a></li>
|
||||
<li><a href="#idTab2" {if $activeTab eq 'pending'}class="selected"{/if}>{l s='Pending friends' mod='referralprogram'}</a></li>
|
||||
<li><a href="#idTab3" {if $activeTab eq 'subscribed'}class="selected"{/if}>{l s='Friends I sponsored' mod='referralprogram'}</a></li>
|
||||
@@ -121,7 +121,7 @@
|
||||
<label for="conditionsValided">{l s='I agree to the terms of service and adhere to them unconditionally.' mod='referralprogram'}</label>
|
||||
<a href="{$base_dir_ssl}modules/referralprogram/referralprogram-rules.php?height=500&width=400" class="thickbox" title="{l s='Conditions of the referral program' mod='referralprogram'}">{l s='Read conditions.' mod='referralprogram'}</a>
|
||||
</p>
|
||||
<p>
|
||||
<p class="see_email">
|
||||
{l s='Preview' mod='referralprogram'} <a href="{$base_dir_ssl}modules/referralprogram/preview-email.php?height=500&width=600&mail={$lang_iso}/referralprogram-invitation.html" class="thickbox" title="{l s='Invitation e-mail' mod='referralprogram'}">{l s='the default e-mail' mod='referralprogram'}</a> {l s='that will be sent to your friend(s).' mod='referralprogram'}
|
||||
</p>
|
||||
<p class="submit">
|
||||
@@ -212,6 +212,6 @@
|
||||
</div>
|
||||
|
||||
<ul class="footer_links">
|
||||
<li><a href="{$link->getPageLink('my-account', true)}"><img src="{$img_dir}icon/my-account.gif" alt="" class="icon" /></a><a href="{$link->getPageLink('my-account', true)}">{l s='Back to Your Account' mod='referralprogram'}</a></li>
|
||||
<li><a href="{$base_dir}"><img src="{$img_dir}icon/home.gif" alt="" class="icon" /></a><a href="{$base_dir_ssl}">{l s='Home' mod='referralprogram'}</a></li>
|
||||
<li><a href="{$link->getPageLink('my-account', true)}"><img src="{$img_dir}icon/my-account.gif" alt="" class="icon" /> {l s='Back to Your Account' mod='referralprogram'}</a></li>
|
||||
<li class="f_right"><a href="{$base_dir}"><img src="{$img_dir}icon/home.gif" alt="" class="icon" /> {l s='Home' mod='referralprogram'}</a></li>
|
||||
</ul>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
@@ -28,8 +28,6 @@
|
||||
require_once(dirname(__FILE__).'/../../config/config.inc.php');
|
||||
require_once(dirname(__FILE__).'/../../init.php');
|
||||
|
||||
include_once(dirname(__FILE__).'/referralprogram.php');
|
||||
|
||||
if (!Tools::getValue('width') AND !Tools::getValue('height'))
|
||||
require_once(dirname(__FILE__).'/../../header.php');
|
||||
|
||||
@@ -46,8 +44,7 @@ if (file_exists($xmlFile))
|
||||
}
|
||||
}
|
||||
|
||||
$referralprogram = new ReferralProgram();
|
||||
echo $referralprogram->display(dirname(__FILE__).'/referralprogram', 'referralprogram-rules.tpl');
|
||||
echo Module::display(dirname(__FILE__).'/referralprogram', 'referralprogram-rules.tpl');
|
||||
|
||||
if (!Tools::getValue('width') AND !Tools::getValue('height'))
|
||||
require_once(dirname(__FILE__).'/../../footer.php');
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 6844 $
|
||||
* @version Release: $Revision: 6594 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 6844 $
|
||||
* @version Release: $Revision: 6594 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
Reference in New Issue
Block a user