diff --git a/modules/followup/views/index.php b/modules/followup/views/index.php new file mode 100644 index 000000000..3f6561f72 --- /dev/null +++ b/modules/followup/views/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2013 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); +header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); + +header("Cache-Control: no-store, no-cache, must-revalidate"); +header("Cache-Control: post-check=0, pre-check=0", false); +header("Pragma: no-cache"); + +header("Location: ../"); +exit; \ No newline at end of file diff --git a/modules/followup/views/templates/admin/_configure/helpers/form/form.tpl b/modules/followup/views/templates/admin/_configure/helpers/form/form.tpl new file mode 100644 index 000000000..37c2b63fc --- /dev/null +++ b/modules/followup/views/templates/admin/_configure/helpers/form/form.tpl @@ -0,0 +1,32 @@ +{* +* 2007-2013 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2013 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +{extends file="helpers/form/form.tpl"} +{block name="field"} + {if $input.type == 'desc'} +
{$input.text}
+ {/if} + {$smarty.block.parent} +{/block} \ No newline at end of file diff --git a/modules/followup/views/templates/hook/index.php b/modules/followup/views/templates/hook/index.php new file mode 100644 index 000000000..3f6561f72 --- /dev/null +++ b/modules/followup/views/templates/hook/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2013 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); +header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); + +header("Cache-Control: no-store, no-cache, must-revalidate"); +header("Cache-Control: post-check=0, pre-check=0", false); +header("Pragma: no-cache"); + +header("Location: ../"); +exit; \ No newline at end of file diff --git a/modules/followup/views/templates/hook/stats.tpl b/modules/followup/views/templates/hook/stats.tpl new file mode 100644 index 000000000..a77f70752 --- /dev/null +++ b/modules/followup/views/templates/hook/stats.tpl @@ -0,0 +1,71 @@ +{* +* 2007-2013 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2013 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +
+

{l s="Statistics"}

+

{l s="Detailed statistics for last 30 days:"}

+

+ {l s="S = Number of sent e-mails"}
+ {l s="U = Number of discounts used (valid orders only)"}
+ {l s="% = Conversion rate"} +

+ + + + + + + + + + + + + + + + + + + + + + + {foreach from=$stats_array key='date' item='stats'} + + + {foreach from=$stats key='key' item='val'} + + + + {/foreach} + + {foreachelse} + + + + {/foreach} +
{l s="Date"}{l s="Cancelled carts"}{l s="Re-order"}{l s="Best cust."}{l s="Bad cust."}
{l s="S"}{l s="U"}%{l s="S"}{l s="U"}%{l s="S"}{l s="U"}%{l s="S"}{l s="U"}%
{$date}{$val.nb}{$val.nb_used}{$val.rate}
{l s="No statistics at this time."}
+
\ No newline at end of file diff --git a/modules/followup/views/templates/index.php b/modules/followup/views/templates/index.php new file mode 100644 index 000000000..3f6561f72 --- /dev/null +++ b/modules/followup/views/templates/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2013 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); +header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); + +header("Cache-Control: no-store, no-cache, must-revalidate"); +header("Cache-Control: post-check=0, pre-check=0", false); +header("Pragma: no-cache"); + +header("Location: ../"); +exit; \ No newline at end of file