first commit

This commit is contained in:
2024-10-25 14:16:28 +02:00
commit 925276dbb2
33795 changed files with 4780077 additions and 0 deletions

View File

@@ -0,0 +1,156 @@
{*
* 2007-2020 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 <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{assign var=counter value=0}
<input type ="hidden" name="page_no" id="page_no" value="1">
{foreach from=$result item=sourceInfo}
{assign var=counter value=$counter+1}
<tr>
<td class="{$cl_version|escape:'htmlall':'UTF-8'|stripslashes}">
<div style="word-wrap:break-word; width:350px">{$sourceInfo.email|escape:'htmlall':'UTF-8'|stripslashes}</div>
</td>
{assign var="emailtest" value=$sourceInfo.email}
<td class="{$cl_version|escape:'htmlall':'UTF-8'|stripslashes}">
{if $sourceInfo.id_customer!= "Nclient"}
yes
{else}
No
{/if}
</td>
<td class="{$cl_version|escape:'htmlall':'UTF-8'|stripslashes}">
{if $sourceInfo.phone_mobile != ''}
{foreach from=$smsdata key=jk item=smsInfo}0
{if $jk == $sourceInfo.phone_mobile}
{$smsInfo|escape:'htmlall':'UTF-8'|stripslashes}
{/if}
{/foreach}
{elseif $sourceInfo.phone != ''}
{foreach from=$smsdata key=jk item=smsInfo}
{if $jk == $sourceInfo.phone}
{$smsInfo|escape:'htmlall':'UTF-8'|stripslashes}
{/if}
{/foreach}
{/if}
</td>
<td class="tipTd">
{assign var=emailid value=$sourceInfo.email}
{if isset($data[$emailid].email_bl) && $data[$emailid].email_bl ===1}
{assign var=pstatus value=1}
{elseif isset($data[$emailid].email_bl) && $data[$emailid].email_bl ===0}
{assign var=pstatus value=0}
{else}
{assign var=pstatus value=1}
{/if}
<a href="javascript:void(0)" class="ajax_contacts_href" email="{$sourceInfo.email|escape:'htmlall':'UTF-8'|stripslashes}" status="{$pstatus|intval}">
{if $pstatus==1}
<img class="toolTip1 imgstatus" title="{l s='Subscribe the contact' mod='sendinblue'}" id="ajax_contact_status_{$counter|intval}" src="../img/admin/disabled.gif" />
{else}
<img class="toolTip1 imgstatus" title="{l s='Unsubscribe the contact' mod='sendinblue'}" id="ajax_contact_status_{$counter|intval}" src="../img/admin/enabled.gif" />
{/if}
</a>
</td>
<td>
{if $sourceInfo.newsletter==1}
<img class="imgstatus" src="../img/admin/enabled.gif" />
{else}
<img class="imgstatus" src="../img/admin/disabled.gif" />
{/if}
</td>
<td class="tipTd">
{assign var=emailid value=$sourceInfo.email}
{if isset($data[$emailid].sms_bl) && $data[$emailid].sms_bl ===1}
{assign var=pstatus value=1}
{elseif isset($data[$emailid].sms_bl) && $data[$emailid].sms_bl ===0}
{assign var=pstatus value=0}
{else}
{assign var=pstatus value=1}
{/if}
{if !empty($sourceInfo.phone_mobile) || !empty($sourceInfo.phone)}
<input type="hidden" id = "sms_status_val" name="sms_status_val" value="{$pstatus|escape:'htmlall':'UTF-8'}">
{if $pstatus==1 && isset($data[$emailid].sms_exist) && $data[$emailid].sms_exist != ''}
<a href="javascript:void(0)" class="ajax_sms_href" email="{$sourceInfo.email|escape:'htmlall':'UTF-8'|stripslashes}"><img class="toolTip1 imgstatus" title="{l s='Subscribe the contact' mod='sendinblue'}" id="ajax_contact_status_{$counter|intval}" src="../img/admin/disabled.gif" /></a>
{elseif $pstatus==0 && isset($data[$emailid].sms_exist) && $data[$emailid].sms_exist != ''}
<a href="javascript:void(0)" class="ajax_sms_href" email="{$sourceInfo.email|escape:'htmlall':'UTF-8'|stripslashes}"><img class="toolTip1 imgstatus" title="{l s='Unsubscribe the contact' mod='sendinblue'}" id="ajax_contact_status_{$counter|intval}" src="../img/admin/enabled.gif" /></a>
{else}
{l s='Not synchronized' mod='sendinblue'}
{/if}
{/if}
</td>
</tr>
{/foreach}
<tr>
<td colspan='3'>
<div class='pagination'>
<ul>
{if $first_btn && $cur_page > 1}
<li p='1' class='active'>{l s='First' mod='sendinblue'}</li>
{elseif $first_btn}
<li p='1' class='inactive'>{l s='First' mod='sendinblue'}</li>
{/if}
{if $previous_btn && $cur_page > 1}
{assign var=pre value=$cur_page-1}
<li p='{$pre|escape:'htmlall':'UTF-8'|stripslashes}' class='active'>{l s='Previous' mod='sendinblue'}</li>
{elseif $previous_btn}
<li class='inactive'>{l s='Previous' mod='sendinblue'}</li>
{/if}
{section name=cu start=$start_loop loop=$end_loop+1 step=1}
{if $cur_page == $smarty.section.cu.index}
<li p='{$smarty.section.cu.index|escape:'htmlall':'UTF-8'|stripslashes}' style='color:#fff;background-color:#000;' class='active'>{$smarty.section.cu.index|escape:'htmlall':'UTF-8'|stripslashes}</li>
{else}
<li p='{$smarty.section.cu.index|escape:'htmlall':'UTF-8'|stripslashes}' class='active'>{$smarty.section.cu.index|escape:'htmlall':'UTF-8'|stripslashes}</li>
{/if}
{/section}
{if $last_btn && $cur_page < $no_of_paginations}
{assign var=nex value=$cur_page+1}
<li p='{$nex|escape:'htmlall':'UTF-8'|stripslashes}' class='active'>{l s='Next' mod='sendinblue'}</li>
{elseif $next_btn}
<li class='inactive'>{l s='Next' mod='sendinblue'}</li>
{/if}
{if $last_btn && $cur_page < $no_of_paginations}
<li p='{$no_of_paginations|escape:'htmlall':'UTF-8'|stripslashes}' class='active'>{l s='Last' mod='sendinblue'}</li>
{elseif $last_btn}
<li p='{$no_of_paginations|escape:'htmlall':'UTF-8'|stripslashes}' class='inactive'>{l s='Last' mod='sendinblue'}</li>
{/if}
</ul>
</div>
</td>
</tr>

View File

@@ -0,0 +1,95 @@
{*
* 2007-2020 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 <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="tab-pane" id="automation-tracking">
<div class="form-box">
<h2 class="heading">{l s='Automation' mod='sendinblue'}</h2>
<div class="form-box-content">
<label>{l s='Activate Marketing Automation through Sendinblue' mod='sendinblue'}
</label><span class="{$cl_version|escape:'htmlall':'UTF-8'|stripslashes}">
<label class="differ-radio-btn">
<input type="radio" class="automationtracking radio_nospaceing" id="yesradio" name="automation_radio" value="1"
{if !empty($auto_status) && $auto_status == 1}checked="checked"{/if}/>{l s='Yes' mod='sendinblue'}
<input type="radio" class="automationtracking radio_spaceing2" id="noradio"
name="automation_radio" value="0"{if empty($auto_status) || $auto_status == 0 || $auto_status == 2}checked="checked"{/if}/>{l s='No' mod='sendinblue'}
<span class="toolTip"
title="{l s='Choose Yes if you want to use Sendinblue Automation to track your website activity' mod='sendinblue'}">
</span>
</label>
</span>
<div class="clearfix"></div>
<form method="post" name="automationform" id="automationform" action="{$form_url|escape:'htmlall':'UTF-8'|replace:'&amp;':'&'}">
<div id="automationtrack">
<label><a style="color:#044A75;" href="https://resources.sendinblue.com/en/introduction-marketing-automation/?utm_source=prestashop_plugin&utm_medium=plugin&utm_campaign=module_link">{l s='Explore our resource' mod='sendinblue'}</a>
{l s='to learn more about Sendinblue Automation' mod='sendinblue'}</label>
<div id="div_automation_track">
<input type ="hidden" name="automsg" id="automsg" value="{l s='Your Marketing Automation script will be uninstalled, you would not have access to any Marketing Automation data and workflows' mod='sendinblue'}">
<input id="submitautomation" class="blue-btn btn-xs clssubmitautomation" type="submit" name="submitautomation" style="margin-top: 0px;" value="{l s='Validate' mod='sendinblue'}">
</div>
</div>
</form>
<div class="clearfix" style="padding-bottom:15px;"></div>
</div>
</div>
</div>
<div class="tab-pane" id="automation-tracking">
<div class="form-box">
<h2 class="heading">{l s='AbandonedCart tracking' mod='sendinblue'}</h2>
<div class="form-box-content">
<label>{l s='Do you want to recover abandoned cart?' mod='sendinblue'}
</label><span class="{$cl_version|escape:'htmlall':'UTF-8'|stripslashes}">
<label class="differ-radio-btn">
<input type="radio" class="abandonedtracking radio_nospaceing" id="yesradio" name="abandoned_radio" value="1"
{if !empty($abandoned_status) && $abandoned_status == 1}checked="checked"{/if}/>{l s='Yes' mod='sendinblue'}
<input type="radio" class="abandonedtracking radio_spaceing2" id="noradio"
name="abandoned_radio" value="0"{if empty($abandoned_status) || $abandoned_status == 0 || $abandoned_status == 2}checked="checked"{/if}/>{l s='No' mod='sendinblue'}
<span class="toolTip"
title="{l s='Choose Yes if you want to use Sendinblue Abandoned Cart to track your website cart activity' mod='sendinblue'}">
</span>
</label>
</span>
<div class="clearfix"></div>
<form method="post" name="abandonedform" id="abandonedform" action="{$form_url|escape:'htmlall':'UTF-8'|replace:'&amp;':'&'}">
<tr id="abandonedtrack">
<td colspan="2">
<label>&nbsp;</label>
<div id="div_abandoned_track">
<input type ="hidden" name="abanmsg" id="abanmsg" value="{l s='Your Abandoned Cart tracking feature will be uninstalled, you would not have access to any Cart tracking data and workflows' mod='sendinblue'}">
<input id="submitabandoned" class="blue-btn btn-xs clssubmitabandoned" type="submit" name="submitabandoned" style="margin-top: 0px;" value="{l s='Validate' mod='sendinblue'}">
</div>
</td>
</tr>
</form>
<div class="clearfix" style="padding-bottom:15px;"></div>
</div>
</div>
</div>

View File

@@ -0,0 +1,79 @@
{*
* 2007-2020 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 <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if $resp != 1}
<div class="module_error alert error">' . $this->l('You need to set up PrestaShop Newsletter module on your Prestashop back office before using it' mod='sendinblue'}</div>
{/if}
{if $chk_port_status === 0}
<div class="bootstrap"><div class="module_error alert alert-danger">{l s='Your server configuration does not allow to send emails. Please contact you system administrator to allow outgoing connections on port 587 for following IP ranges: 94.143.17.4/32, 94.143.17.6/32 and 185.107.232.0/24.' mod='sendinblue'}</div></div>
{/if}
<div class="header">
<a href="#" class="logo"><img src="{$img_source|escape:'htmlall':'UTF-8'}sendinblue.png" width="180"></a>
<h3>{l s='Sendinblue is the all-in-one app for your marketing and transactional emails' mod='sendinblue'}</h3>
<div class="clear"></div>
</div>
<ul class="main-tabs">
<li><a data-id="#about-sendinblue" id="about-sendinblue" href="javascript:void(0)" class="active">{l s='About Sendinblue' mod='sendinblue'}</a></li>
<li><a data-id="#subscribe-manager" id="subscribe-manager" href="javascript:void(0)">{l s='Contacts Manager' mod='sendinblue'}</a></li>
<li><a data-id="#code-tracking" id="code-tracking" href="javascript:void(0)">{l s='Track & Sync Orders' mod='sendinblue'}</a></li>
<li><a data-id="#automation-tracking" id="automation-tracking" href="javascript:void(0)">{l s='Automation & Abandoned Cart' mod='sendinblue'}</a></li>
<li><a data-id="#transactional-email-sms-management" id="transactional-email-sms-management" href="javascript:void(0)">{l s='Transactional Email & Text Message Manager' mod='sendinblue'}</a></li>
<li><a data-id="#contact_list" id="contact_list" href="javascript:void(0)">{l s='Contact List' mod='sendinblue'}</a></li>
</ul>
<div class="clear"></div>
<div class="main-tabs-content">
<div class="tab-pane active" id="about-sendinblue">
<div class="form-box">
<h2 class="heading">
<svg viewBox="0 0 512 512" style="width:16px !important; height:16px !important; display:inline !important;padding: 0 2px 0 0 !important;vertical-align: middle !important;">
<title>Sendinblue</title>
<path fill="#ffffff" d="M473.722 127.464c-18.027-31.901-48.272-55.215-83.865-64.647a142.257 142.257 0 0 0-22.471-3.885C342.065 22.06 300.026 0 255.08 0c-44.944 0-86.983 22.06-112.304 58.932C98.157 63.142 58.4 88.68 36.24 127.365a139.082 139.082 0 0 0-5.316 127.402 139.674 139.674 0 0 0 5.316 127.104c18.053 31.879 48.287 55.184 83.865 64.647a130.245 130.245 0 0 0 22.973 3.885c25.261 36.958 67.322 59.087 112.304 59.087 44.983 0 87.043-22.13 112.305-59.087 44.638-4.161 84.414-29.71 106.536-68.433a138.588 138.588 0 0 0 5.317-127.402 139.379 139.379 0 0 0-5.818-127.104zm-33.861 20.14c10.8 18.89 14.88 40.769 11.6 62.186a140.27 140.27 0 0 0-24.015-17.568c-31.777-18.423-69.787-23.497-105.428-14.074-21.674 5.722-41.612 16.51-58.107 31.442-6.093-38.506 12.271-76.783 46.404-96.722 21.403-12.61 47.09-16.21 71.235-9.981 24.815 6.533 45.86 22.673 58.31 44.717zM254.813 44.955c21.153.117 41.612 7.52 57.892 20.948a140.215 140.215 0 0 0-27.272 12.04c-50.843 30.193-76.605 89.302-63.996 146.832-35.486-14.33-58.666-48.648-58.581-86.729-.22-50.807 40.858-92.26 91.957-92.797v-.294zM71.075 149.893c10.763-18.148 27.595-32.249 47.752-40.003a134.308 134.308 0 0 0-3.455 29.342c-.174 58.952 39.193 111.274 97.433 129.495-10.376 8.36-22.506 14.466-35.56 17.898-24.037 6.26-49.683 2.91-71.118-9.291-45.903-26.087-61.706-82.724-35.56-127.441h.508zm-.458 211.901c-10.82-18.85-14.87-40.716-11.503-62.094a144.971 144.971 0 0 0 23.922 17.57c21.096 12.2 45.136 18.646 69.627 18.668a142.451 142.451 0 0 0 35.831-4.692c21.69-5.7 41.64-16.493 58.125-31.446 6.072 38.511-12.239 76.793-46.316 96.835-21.417 12.59-47.102 16.188-71.256 9.983-25.019-6.331-46.312-22.417-58.939-44.524l.51-.3zm185.12 102.546c-21.194-.131-41.677-7.601-57.917-21.121a133.872 133.872 0 0 0 27.284-11.832c50.865-30.16 76.638-89.204 64.024-146.672 41.267 16.713 65.055 59.88 56.975 103.392-8.08 43.51-45.809 75.421-90.366 76.428v-.195zm174.56-104.781c-10.365 18.23-26.73 32.368-46.35 40.041a132.315 132.315 0 0 0 3.353-29.37c.138-58.999-38.063-111.355-94.575-129.62a91.453 91.453 0 0 1 34.516-17.915c23.401-6.086 48.285-2.557 69.033 9.79 44.263 26.268 59.358 82.778 34.024 127.368v-.294z"/>
</svg>
<span style="vertical-align: middle">Sendinblue</span></h2>
<div class="form-box-content">
<div class="contact-box">
<h2 style="color:#044A75;">{l s='Contact Sendinblue Team' mod='sendinblue'}</h2>
<div style="clear: both;"></div>
<p>{l s=' Contact us :' mod='sendinblue'}<br /><br />
{l s='Email : ' mod='sendinblue'}<a href="mailto:contact@sendinblue.com" style="color:#044A75;">contact@sendinblue.com</a></p>
<p style="padding-top:20px;"><b>{l s='For further informations, please visit our website:' mod='sendinblue'}</b><br /><a href="https://www.sendinblue.com?utm_source=prestashop_plugin&utm_medium=plugin&utm_campaign=module_link" target="_blank"
style="color:#044A75;">https://www.sendinblue.com</a></p>
</div>
<p class="sub-heading">{l s='With Sendinblue, you can build and grow relationships with your contacts and customers. ' mod='sendinblue'}</p>
<ul class="listt">
<li>{l s=' Automatically sync your Prestashop opt-in contacts with your Sendinblue Account' mod='sendinblue'}</li>
<li>{l s=' Easily create engaging, mobile-friendly emails' mod='sendinblue'}</li>
<li>{l s=' Schedule email and text message campaigns' mod='sendinblue'}</li>
<li>{l s=' Manage transactional emails with better deliverability, custom templates, and real-time analytics' mod='sendinblue'}</li>
</ul>
<p class="sub-heading">{l s='Why use Sendinblue ?' mod='sendinblue'}</p>
<ul class="listt">
<li>{l s=' Reach the inbox with optimized deliverability' mod='sendinblue'}</li>
<li>{l s=' Unbeatable pricing - the best value in email marketing' mod='sendinblue'}</li>
<li>{l s=' Friendly customer support by phone and email' mod='sendinblue'}</li>
</ul><div style="clear:both;">&nbsp;</div>

View File

@@ -0,0 +1,33 @@
<?php
/**
* 2007-2017 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 <contact@prestashop.com>
* @copyright 2007-2017 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;

View File

@@ -0,0 +1,68 @@
{*
* 2007-2020 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 <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
</div>
<div class="form-box">
<form method="post" action="{$form_url|escape:'htmlall':'UTF-8'|replace:'&amp;':'&'}">
<input type ="hidden" name="customtoken" id="customtoken" value="{$customtoken|escape:'htmlall':'UTF-8'|stripslashes}">
<input type ="hidden" name="langvalue" id="langvalue" value="{$langvalue|escape:'htmlall':'UTF-8'|stripslashes}">
<input type ="hidden" name="id_shop_group" id="id_shop_group" value="{$id_shop_group|escape:'htmlall':'UTF-8'|stripslashes}">
<input type ="hidden" name="id_shop" id="id_shop" value="{$id_shop|escape:'htmlall':'UTF-8'|stripslashes}">
<input type ="hidden" name="defaultnlmsg" id="defaultnlmsg" value="{l s='You need to set up PrestaShop Newsletter module on your Prestashop back office before using it' mod='sendinblue'}">
<input type ="hidden" name="iso_code" id="iso_code" value="{$iso_code|escape:'htmlall':'UTF-8'|stripslashes}"><div class="form-box">
<h2 class="heading">
<svg viewBox="0 0 512 512" style="width:16px !important; height:16px !important; display:inline !important;padding: 0 2px 0 0 !important;vertical-align: middle !important;">
<title>Sendinblue</title>
<path fill="#ffffff" d="M473.722 127.464c-18.027-31.901-48.272-55.215-83.865-64.647a142.257 142.257 0 0 0-22.471-3.885C342.065 22.06 300.026 0 255.08 0c-44.944 0-86.983 22.06-112.304 58.932C98.157 63.142 58.4 88.68 36.24 127.365a139.082 139.082 0 0 0-5.316 127.402 139.674 139.674 0 0 0 5.316 127.104c18.053 31.879 48.287 55.184 83.865 64.647a130.245 130.245 0 0 0 22.973 3.885c25.261 36.958 67.322 59.087 112.304 59.087 44.983 0 87.043-22.13 112.305-59.087 44.638-4.161 84.414-29.71 106.536-68.433a138.588 138.588 0 0 0 5.317-127.402 139.379 139.379 0 0 0-5.818-127.104zm-33.861 20.14c10.8 18.89 14.88 40.769 11.6 62.186a140.27 140.27 0 0 0-24.015-17.568c-31.777-18.423-69.787-23.497-105.428-14.074-21.674 5.722-41.612 16.51-58.107 31.442-6.093-38.506 12.271-76.783 46.404-96.722 21.403-12.61 47.09-16.21 71.235-9.981 24.815 6.533 45.86 22.673 58.31 44.717zM254.813 44.955c21.153.117 41.612 7.52 57.892 20.948a140.215 140.215 0 0 0-27.272 12.04c-50.843 30.193-76.605 89.302-63.996 146.832-35.486-14.33-58.666-48.648-58.581-86.729-.22-50.807 40.858-92.26 91.957-92.797v-.294zM71.075 149.893c10.763-18.148 27.595-32.249 47.752-40.003a134.308 134.308 0 0 0-3.455 29.342c-.174 58.952 39.193 111.274 97.433 129.495-10.376 8.36-22.506 14.466-35.56 17.898-24.037 6.26-49.683 2.91-71.118-9.291-45.903-26.087-61.706-82.724-35.56-127.441h.508zm-.458 211.901c-10.82-18.85-14.87-40.716-11.503-62.094a144.971 144.971 0 0 0 23.922 17.57c21.096 12.2 45.136 18.646 69.627 18.668a142.451 142.451 0 0 0 35.831-4.692c21.69-5.7 41.64-16.493 58.125-31.446 6.072 38.511-12.239 76.793-46.316 96.835-21.417 12.59-47.102 16.188-71.256 9.983-25.019-6.331-46.312-22.417-58.939-44.524l.51-.3zm185.12 102.546c-21.194-.131-41.677-7.601-57.917-21.121a133.872 133.872 0 0 0 27.284-11.832c50.865-30.16 76.638-89.204 64.024-146.672 41.267 16.713 65.055 59.88 56.975 103.392-8.08 43.51-45.809 75.421-90.366 76.428v-.195zm174.56-104.781c-10.365 18.23-26.73 32.368-46.35 40.041a132.315 132.315 0 0 0 3.353-29.37c.138-58.999-38.063-111.355-94.575-129.62a91.453 91.453 0 0 1 34.516-17.915c23.401-6.086 48.285-2.557 69.033 9.79 44.263 26.268 59.358 82.778 34.024 127.368v-.294z"/>
</svg>
<span style="vertical-align: middle">{l s='Activation' mod='sendinblue'}</span></h2>
<div class="form-box-content">
<div class="row"><label>{l s='Activate the Sendinblue plugin?' mod='sendinblue'}</label><div style="padding-top:5px">
<label class="differ-radio-btn"><input type="radio" id="y" class="keyyes"
name="status" value="1"
{if !empty($key_status)}checked="checked"{/if} /><span>{l s='Yes' mod='sendinblue'}
</span></label><label class="differ-radio-btn"><input type="radio" id="n" class="keyyes differ-radio-btn"
name="status" value="0"
{if empty($key_status)}checked="checked"{/if} /><span>{l s='No' mod='sendinblue'}
</span></label></div></div><div class="clear"></div>
<div class="row"><div id="apikeybox" {$str|escape:'htmlall':'UTF-8'|stripslashes}><label class="key">{l s='API key' mod='sendinblue'}</label>
<div class="key">
<input type="text" name="apikey" id="apikeys" value="{$api_key|escape:'htmlall':'UTF-8'|stripslashes}" />&nbsp;
<span class="toolTip"
title="{l s='Please enter your API key from your Sendinblue account and if you don\'t have it yet, please go to www.sendinblue.com and subscribe. You can then get the API key from https://my.sendinblue.com/integration' mod='sendinblue'}">
&nbsp;</span>
</div>
</div>
</div>
<div class="row>"<div class="clear pspace">
<label>&nbsp;</label><input type="submit" name="submitUpdate" value="{l s='Update' mod='sendinblue'}" class="blue-btn" />&nbsp;
</div><div class="clear"></div>
</div>
</div>
</form>
</div>
</div>
</div>

View File

@@ -0,0 +1,57 @@
{*
* 2007-2020 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 <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="tab-pane" id="code-tracking">
<div class="form-box">
<h2 class="heading">{l s='Activate Sendinblue to track & sync your orders with Sendinblue' mod='sendinblue'}</h2><div class="form-box-content">
<tr>
<td>
<label>{l s='Do you want to track and sync your order data with Sendinblue?' mod='sendinblue'}
</label><span class="{$cl_version|escape:'htmlall':'UTF-8'|stripslashes}">
<input type ="hidden" name="customtoken" id="customtoken" value="{$customtoken|escape:'htmlall':'UTF-8'|stripslashes}">
<input type ="hidden" name="langvalue" id="langvalue" value="{$langvalue|escape:'htmlall':'UTF-8'|stripslashes}">
<input type ="hidden" name="id_shop_group" id="id_shop_group" value="{$id_shop_group|escape:'htmlall':'UTF-8'|stripslashes}">
<input type ="hidden" name="id_shop" id="id_shop" value="{$id_shop|escape:'htmlall':'UTF-8'|stripslashes}">
<input type ="hidden" name="iso_code" id="iso_code" value="{$iso_code|escape:'htmlall':'UTF-8'|stripslashes}">
<label class="differ-radio-btn"><input type="radio" {if !empty($Sendin_Tracking_Status) && $Sendin_Tracking_Status == 1}checked="checked"{/if} class="ordertracking script" id="yesradio" name="script" value="1") . '/><span>{l s='Yes' mod='sendinblue'}
</span></label><label class="differ-radio-btn"><input type="radio" {if empty($Sendin_Tracking_Status) || $Sendin_Tracking_Status == 0}checked="checked"{/if} class="ordertracking script" id="noradio" name="script" value="0") . '/><span>{l s='No' mod='sendinblue'}
</span></label><span class="toolTip"
title="{l s='This feature will allow you to transfer all your customers orders from PrestaShop into Sendinblue to implement your email marketing strategy' mod='sendinblue'}">
</span><label class="differ-radio-btn"><input class="blue-btn btn-xs ordertrackingcls scriptcls" type="button" name="ordertrackingcls" value="{l s='Update' mod='sendinblue'}"></label>
</td>
</tr>
<form method="post" name="ordertrackform" id="ordertrackform" action="{$form_url|escape:'htmlall':'UTF-8'|replace:'&amp;':'&'}">
<tr><td>
<div id="div_order_track" style="clear:both;">
<input type ="hidden" name="importmsg" id="importmsg" value="{l s='Order history has been import successfully' mod='sendinblue'}">
<p style="text-align:left; padding:20px 265px 15px;"><a id="importOrderTrack" {$st|escape:'quotes':'UTF-8'} class="ordertrack green-btn" href="javascript:void(0);">
{l s='Import the data of previous orders' mod='sendinblue'}</a>
</div>
</td>
</tr>
</form>
</div>
</div>
</div>

View File

@@ -0,0 +1,155 @@
{*
* 2007-2020 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 <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="tab-pane" id="subscribe-manager">
<div class="form-box">
<h2 class="heading">
<svg viewBox="0 0 512 512" style="width:16px !important; height:16px !important; display:inline !important;padding: 0 2px 0 0 !important;vertical-align: middle !important;">
<title>Sendinblue</title>
<path fill="#ffffff" d="M473.722 127.464c-18.027-31.901-48.272-55.215-83.865-64.647a142.257 142.257 0 0 0-22.471-3.885C342.065 22.06 300.026 0 255.08 0c-44.944 0-86.983 22.06-112.304 58.932C98.157 63.142 58.4 88.68 36.24 127.365a139.082 139.082 0 0 0-5.316 127.402 139.674 139.674 0 0 0 5.316 127.104c18.053 31.879 48.287 55.184 83.865 64.647a130.245 130.245 0 0 0 22.973 3.885c25.261 36.958 67.322 59.087 112.304 59.087 44.983 0 87.043-22.13 112.305-59.087 44.638-4.161 84.414-29.71 106.536-68.433a138.588 138.588 0 0 0 5.317-127.402 139.379 139.379 0 0 0-5.818-127.104zm-33.861 20.14c10.8 18.89 14.88 40.769 11.6 62.186a140.27 140.27 0 0 0-24.015-17.568c-31.777-18.423-69.787-23.497-105.428-14.074-21.674 5.722-41.612 16.51-58.107 31.442-6.093-38.506 12.271-76.783 46.404-96.722 21.403-12.61 47.09-16.21 71.235-9.981 24.815 6.533 45.86 22.673 58.31 44.717zM254.813 44.955c21.153.117 41.612 7.52 57.892 20.948a140.215 140.215 0 0 0-27.272 12.04c-50.843 30.193-76.605 89.302-63.996 146.832-35.486-14.33-58.666-48.648-58.581-86.729-.22-50.807 40.858-92.26 91.957-92.797v-.294zM71.075 149.893c10.763-18.148 27.595-32.249 47.752-40.003a134.308 134.308 0 0 0-3.455 29.342c-.174 58.952 39.193 111.274 97.433 129.495-10.376 8.36-22.506 14.466-35.56 17.898-24.037 6.26-49.683 2.91-71.118-9.291-45.903-26.087-61.706-82.724-35.56-127.441h.508zm-.458 211.901c-10.82-18.85-14.87-40.716-11.503-62.094a144.971 144.971 0 0 0 23.922 17.57c21.096 12.2 45.136 18.646 69.627 18.668a142.451 142.451 0 0 0 35.831-4.692c21.69-5.7 41.64-16.493 58.125-31.446 6.072 38.511-12.239 76.793-46.316 96.835-21.417 12.59-47.102 16.188-71.256 9.983-25.019-6.331-46.312-22.417-58.939-44.524l.51-.3zm185.12 102.546c-21.194-.131-41.677-7.601-57.917-21.121a133.872 133.872 0 0 0 27.284-11.832c50.865-30.16 76.638-89.204 64.024-146.672 41.267 16.713 65.055 59.88 56.975 103.392-8.08 43.51-45.809 75.421-90.366 76.428v-.195zm174.56-104.781c-10.365 18.23-26.73 32.368-46.35 40.041a132.315 132.315 0 0 0 3.353-29.37c.138-58.999-38.063-111.355-94.575-129.62a91.453 91.453 0 0 1 34.516-17.915c23.401-6.086 48.285-2.557 69.033 9.79 44.263 26.268 59.358 82.778 34.024 127.368v-.294z"/>
</svg>
<span style="vertical-align: middle">{l s='Activate Sendinblue to manage contacts' mod='sendinblue'}</span></h2>
<div class="form-box-content">
<form method="post" action="{$form_url|escape:'htmlall':'UTF-8'|replace:'&amp;':'&'}">
<table cellspacing="0" cellpadding="0" width="100%" class="tableblock">
<tbody><tr>
<td style="width:250px">
<label> {l s='Activate Sendinblue to manage contacts' mod='sendinblue'}
</label>
</td>
<td class="{$cl_version|escape:'htmlall':'UTF-8'|stripslashes}">
<label class="differ-radio-btn"><input type="radio" {if isset($Sendin_Subscribe_Setting) && $Sendin_Subscribe_Setting == 1}checked="checked"{/if} value="1" name="managesubscribe" id="managesubscribe" class="managesubscribe"><span>{l s='Yes' mod='sendinblue'}</span></label>
<label class="differ-radio-btn"><input type="radio" {if isset($Sendin_Subscribe_Setting) && $Sendin_Subscribe_Setting == 0}checked="checked"{/if} value="0" name="managesubscribe" id="managesubscribe" class="managesubscribe"><span>{l s='No' mod='sendinblue'}</span></label>
<span title="{l s='If you activate this feature, your new contacts will be automatically added to Sendinblue or unsubscribed from Sendinblue. To synchronize the other way (Sendinblue to PrestaShop), you should run the url (mentioned below) each day.' mod='sendinblue'}" class="toolTip">
&nbsp;</span>
<label class="differ-radio-btn"><input class="blue-btn btn-xs managesubscribecls" type="button" name="managesubscribecls" value="Update"></label>
</td>
</tr><tr class="managesubscribeBlock">{$parselist|escape:'quotes':'UTF-8'}</tr>
<tr class="managesubscribeBlock">
<td></td>
<td>
<div class="col-md-6 left-wrapper radio_group_option">
<div class="form-group manage_subscribe_block">
<div>
<input type="radio" {if isset($radio_val_option) && $radio_val_option == "nocon"}checked="checked"{/if} value="nocon" name="subscribe_confirm_type" id="no_follow_email">
<label for="no_follow_email" class="radio-label"> {l s='No confirmation' mod='sendinblue'}</label>
</div>
<div class="clearfix"></div>
<div style="display:block;" class="inner_manage_box">
<div class="{$cl_version|escape:'htmlall':'UTF-8'|stripslashes}" id="no-templates"> {l s='With this option, contacts are directly added to your list when they enter their email address. No confirmation email is sent.' mod='sendinblue'}</div>
</div>
</div>
<div class="form-group manage_subscribe_block">
<div class="col-md-10">
<input type="radio" {if isset($radio_val_option) && $radio_val_option == "simplemail"}checked="checked"{/if} value="simplemail" id="follow_mail" name="subscribe_confirm_type">
<label for="follow_mail" class="radio-label"> {l s='Simple confirmation' mod='sendinblue'}</label><span title="{l s='This confirmation email is one of your SMTP templates. By default, we have created a Default Template - Simple Confirmation.' mod='sendinblue'}" class="toolTip"></span>
</div>
<div class="inner_manage_box" {if isset($radio_val_option) && $radio_val_option == "simplemail"} style="display:block;" {/if}>
<div class="clearfix"></div>
<div class="{$cl_version|escape:'htmlall':'UTF-8'|stripslashes}" id="create-templates"> {l s='By selecting this option, contacts are directly added to your list when they enter their email address on the form. A confirmation email will automatically be sent following their subscription.' mod='sendinblue'}</div>
<div class="clearfix"></div>
<div id="mail-templates"><div style="text-align: left;" class="listData {$cl_version|escape:'htmlall':'UTF-8'|stripslashes} managesubscribeBlock">{$temp_data|escape:'quotes':'UTF-8'}</div></div>
<div class="clearfix"></div>
<div id="mail-templates-active-state">
</div>
</div>
<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
<div class="form-group manage_subscribe_block">
<div style="padding: 0px;" class="col-md-10">
<input type="radio" {if isset($radio_val_option) && $radio_val_option == "doubleoptin"}checked="checked"{/if} value="doubleoptin" id="double_optin" name="subscribe_confirm_type">
<label for="double_optin" class="radio-label"> {l s='Double opt-in confirmation' mod='sendinblue'}</label>
<span title="{l s='If you select the Double Opt-in confirmation, subscribers will receive an email inviting them to confirm their subscription. Before confirmation, the contact will be saved in the FORM folder, on the Temp - DOUBLE OPT-IN list. After confirmation, the contact will be saved in the Corresponding List selected below.' mod='sendinblue'}" class="toolTip">
</span></div>
<div class="clearfix"></div>
<div class="inner_manage_box" {if isset($radio_val_option) && $radio_val_option == "doubleoptin"} style="display:block;" {/if}>
<div class="clearfix"></div>
<!-- Please select a template with the [DOUBLEOPTIN] link -->
<div id="create-doubleoptin-templates">
<p style="width: 90%;text-align: justify;text-justify: inter-word;">{l s='Once the form has been completed, your contact will receive an email with a link to confirm their subscription.' mod='sendinblue'}</p></div>
<div style="text-align: left;" class="listData {$cl_version|escape:'htmlall':'UTF-8'|stripslashes} managesubscribeBlock">{$optin_confirm|escape:'quotes':'UTF-8'}</div>
<div class="clearfix"></div>
<!-- Redirect URL after click on the validation email -->
<div class="clearfix"></div>
<div style="padding-top: 10px;" id="doubleoptin-redirect-url-area" class="form-group clearfix">
<div style="float:left;">
<input type="checkbox" class="openCollapse" {if isset($chkval_url) && $chkval_url == "yes"}checked="checked"{/if} value="yes" name="optin_redirect_url_check" id="doptin_redirect_span_icon">
<a style="color: #555;font-weight: bold;" aria-controls="mail-doubleoptin-redirect" href="#mail-doubleoptin-redirect"> {l s='Redirect URL after clicking in the validation email' mod='sendinblue'} </a>
<!-- <label style="margin-bottom: 5px;"></label> -->
</div>
<div class="clearfix"></div>
<div id="mail-doubleoptin-redirect" class="collapse">
<p style="width: 90%;text-align: justify;text-justify: inter-word;">
{l s='Redirect your contacts to a landing page or to your website once they have clicked on the confirmation link in the email.' mod='sendinblue'}</p>
<input type="url" style="margin-bottom:10px;width:370px" value="{$Sendin_doubleoptin_redirect|escape:'quotes':'UTF-8'}" placeholder="http://your-domain.com" class="form-control" name="doubleoptin-redirect-url" id="doubleoptin-redirect-url">
<div class="clearfix"></div>
<div class="pull-left" id="doubleoptin-redirect-message"> </div>
<div class="clearfix"></div>
</div>
</div>
<!-- Send a final confirmation email -->
<div class="clearfix"></div>
<div id="doubleoptin-final-confirmation-area" class="form-group clearfix">
<div style="float:left;">
<input type="checkbox" class="openCollapse" {if isset($chkval) && $chkval == "yes"}checked="checked"{/if} value="yes" name="final_confirm_email" id="doptin_final_confirm_email">
<a style="color: #555;font-weight: bold;" aria-controls="doubleoptin-final-confirm" aria-expanded="false" data-toggle="collapse" href="#doubleoptin-final-confirm"> {l s='Send a final confirmation email' mod='sendinblue'} </a>
</div>
<div class="clearfix"></div>
<div style="padding-left: 10px;" id="doubleoptin-final-confirm" class="collapse">
<p>{l s='Once a contact has clicked in the double opt-in confirmation email, send them a final confirmation email' mod='sendinblue'}</p>
<div style="text-align: left;" class="listData {$cl_version|escape:'htmlall':'UTF-8'|stripslashes} managesubscribeBlock">{$temp_confirm|escape:'quotes':'UTF-8'}</div>
<div class="clearfix"></div>
<div class="pull-left" id="final-mail-templates"></div>
<div class="clearfix"></div>
</div>
<div style="padding-left: 20px;" id="doubleoptin-templates-active-state">
{$smtp_alert|escape:'quotes':'UTF-8'}
</div>
</div>
</div>
</div>
<div class="clearfix"></div>
</div>
</td><td></td></tr><tr class="managesubscribeBlock"><td>&nbsp;</td>
<td>
<input type="submit" class="blue-btn" value="{l s='Update' mod='sendinblue'}" name="submitForm2">&nbsp;
</td>
</tr><tr class="managesubscribeBlock"><td>&nbsp;</td><td colspan="2">
<input type="submit" class="green-btn" value="{l s='Import Old Subscribers' mod='sendinblue'}" name="submitUpdateImport">&nbsp;
</td>
</form>
</tr><tr class="managesubscribeBlock"><td class="{$cl_version|escape:'htmlall':'UTF-8'|stripslashes}" colspan="3">{l s='To synchronize the emails of your customers from Sendinblue platform to your e-commerce website, you should run' mod='sendinblue'}
{$link|escape:'quotes':'UTF-8'} {l s='each day.' mod='sendinblue'}
<span title="{l s='Note that if you change the name of your Shop (currently' mod='sendinblue'} {$site_name|escape:'htmlall':'UTF-8'}{l s=') the token value changes.' mod='sendinblue'}" class="toolTip">&nbsp;</span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,406 @@
{*
* 2007-2020 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 <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="form-box">
<h2 class="heading">{l s='Manage Text Messages' mod='sendinblue'}</h2>
<div class="form-box-content">
<table width="100%" cellspacing="0" cellpadding="0" class="tableblock">
<tbody>
<tr>
<td class="row1" style="border:none; padding-top:10px;">
{if isset($prs_version) && $prs_version >= 1.5}
{if $current_credits_sms >= $Sendin_Notify_Value}
<span style="margin-bottom:10px; color:#000; font-weight:bold;color: #585A69;">{l s='Currently you have ' mod='sendinblue'}<strong style="color: #000000;"> {$current_credits_sms|floatval}</strong> {l s=' credits sms. To buy more credits, please click' mod='sendinblue'}<a target="_blank" href ="{l s='https://www.sendinblue.com/pricing?utm_source=prestashop_plugin&utm_medium=plugin&utm_campaign=module_link/#tab-plan-smsplan' mod='sendinblue'}">{l s=' here' mod='sendinblue'}</a>.</span>
{else}
<span style="margin-bottom:10px; font-weight:bold; color: #585A69;">{l s='Currently you have ' mod='sendinblue'} <strong style="color:#F00; ">{$current_credits_sms|floatval}</strong> {l s=' credits sms. To buy more credits, please click' mod='sendinblue'}<a target="_blank" href ="{l s='https://www.sendinblue.com/pricing' mod='sendinblue'}" >{l s=' here' mod='sendinblue'}</a>.</span>
{/if}
{else}
{if $current_credits_sms >= $Sendin_Notify_Value}
<span style="margin-bottom:10px; color:#000; font-weight:bold;color: #996633;">{l s='Currently you have ' mod='sendinblue'}<strong style="color: #000000;"> {$current_credits_sms|floatval}</strong> {l s=' credits sms. To buy more credits, please click' mod='sendinblue'}<a target="_blank" href ="{l s='https://www.sendinblue.com/pricing' mod='sendinblue'}">{l s=' here' mod='sendinblue'}</a>.</span>
{else}
<span style="margin-bottom:10px; font-weight:bold; color: #996633;">{l s='Currently you have ' mod='sendinblue'} <strong style="color:#F00; ">{$current_credits_sms|floatval}</strong> {l s=' credits sms. To buy more credits, please click' mod='sendinblue'}<a target="_blank" href ="{l s='https://www.sendinblue.com/pricing' mod='sendinblue'}" >{l s=' here' mod='sendinblue'}</a>.</span>
{/if}
{/if}
<br/><br/>
<div class="row">
<label>{l s='You want to be notified by e-mail when you do not have enough credits?' mod='sendinblue'}</label>
<span class="{$cl_version|escape:'htmlall':'UTF-8'|stripslashes}">
<label class="differ-radio-btn"><input name="sms_credit" {if isset($sms_credit_status) && $sms_credit_status == 1}checked="checked"{/if} type="radio" value="1" class="sms_credit" />
<span>{l s='Yes' mod='sendinblue'}</span></label>
<label class="differ-radio-btn"><input name="sms_credit" {if isset($sms_credit_status) && $sms_credit_status == 0}checked="checked"{/if} type="radio" value="0" class="sms_credit" />
<span>{l s='No' mod='sendinblue'}</span></label>
<label class="differ-radio-btn"><input class="blue-btn btn-xs sms_credit_cls" type="button" name="sms_credit_cls" value="Update"></label>
</span>
</div>
<div class="clear"></div>
<div class="hideCredit" id="div_email_test" style="padding-top:20px;">
<form action="{$form_url|escape:'htmlall':'UTF-8'|replace:'&amp;':'&'}" method="POST" name="notify_sms_mail_form" >
<div id="errmsg" style="color:#F00"></div>
<p class="form-data"><label>{l s='Email' mod='sendinblue'}</label>
<input name="sendin_notify_email" id="sendin_notify_email" type="text" value="{$Sendin_Notify_Email|escape:'quotes':'UTF-8'}" size="40" /></p>
<p class="form-data"> <label>{l s='Limit' mod='sendinblue'}</label>
<input name="sendin_notify_value" id="sendin_notify_value" type="text" value="{$Sendin_Notify_Value|escape:'quotes':'UTF-8'}" size="40" /><span style="position:absolute;" class="toolTip" title="{l s='Alert threshold for remaining credits' mod='sendinblue'}"></span></p>
<p class="form-data"><input name="notify_sms_mail" class="blue-btn" type="submit" onClick="return validate('{l s='Please provide valid Email!' mod='sendinblue'}','{l s='Please provide a limit greater than 0' mod='sendinblue'}');" value="{l s='Save' mod='sendinblue'}" class="button" style=" margin-left:264px;" /></p>
<p style="padding:25px 0;">{l s='To get the email notification, you should run ' mod='sendinblue'}{$link|escape:'quotes':'UTF-8'}{l s=' atleast one time per day. ' mod='sendinblue'}
<span class="toolTip" title="{l s='Note that if you change the name of your Shop (currently ' mod='sendinblue'}
{$site_name|escape:'quotes':'UTF-8'}{l s=') the token value changes.' mod='sendinblue'}">&nbsp;</span></p>
</form>
</div>
</td>
</tr>
<tr>
<td>
<div id="tabs_wrapper">
<div id="tabs_container">
<ul id="tabs">
<li class="active"><a href="#tab1">{l s='Send SMS after order confirmation' mod='sendinblue'}</a></li>
<li><a href="#tab2">{l s='Send a SMS confirmation for the shipment of the order' mod='sendinblue'}</a></li>
<li><a href="#tab3">{l s='Send a campaign SMS' mod='sendinblue'}</a></li>
</ul>
</div>
<div id="tabs_content_container">
<div id="tab1" class="tab_content" style="display: block;">
<div class="wrapper" style="margin-top:15px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-data2">
<tr>
<td class="row1">
<label class="r_label" style="padding-top:0px;"><strong>{l s='Send SMS after order confirmation' mod='sendinblue'}</strong></label>
<div class="radio_bx {$cl_version|escape:'htmlall':'UTF-8'|stripslashes}" style="display:inline-block; padding-left:15px;">
<label class="differ-radio-btn"><input name="sms_order_setting" {if isset($sms_order_status) && $sms_order_status == 1}checked="checked"{/if} class="sms_order_setting" type="radio" value="1" />
<span>{l s='Yes' mod='sendinblue'}</span></label>
<label class="differ-radio-btn"><input name="sms_order_setting" class="sms_order_setting" {if isset($sms_order_status) && $sms_order_status == 0}checked="checked"{/if} type="radio" value="0" />
<span>{l s='No' mod='sendinblue'}</span></label>
<label class="differ-radio-btn"><input class="blue-btn btn-xs sms_order_setting_cls" type="button" name="sms_order_setting_cls" value="Update"></label>
</div>
<div class="hideOrder">
<div class="form_table" style="margin-top:15px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-data">
<tr>
<td style="padding:0">
<form action="{$form_url|escape:'htmlall':'UTF-8'|replace:'&amp;':'&'}" method="POST" name="sender_order_form">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td valign="top" style="padding-left:0; width:250px" class="{$cl_version|escape:'htmlall':'UTF-8'|stripslashes}"><h4 style="margin-top:0px; padding-right:15px; text-align:right;">{l s='SMS settings' mod='sendinblue'}:</h4></td><td >&nbsp</td></tr>
<tr>
<td valign="top">
<label>{l s='Sender' mod='sendinblue'}</label></td>
<td>
<input name="sender_order" id="sender_order" type="text" value="{$Sendin_Sender_Order|escape:'htmlall':'UTF-8'}" class="input_bx" />
<span class="toolTip" title="{l s='This field allows you to customize the SMS sender. The number of characters is limited to 11 alphanumeric characters. You can´t configure your Sender with a phone number.' mod='sendinblue'}">&nbsp;</span>
<div class="hintmsg"><em>{l s='Number of characters left: ' mod='sendinblue'}<span id="sender_order_text">11</span></em>
</div>
</td>
</tr>
<tr>
<td valign="top"><label>{l s='Message' mod='sendinblue'}</label></td>
<td>
<textarea name="sender_order_message" id="sender_order_message" cols="45" rows="5" class="textarea_bx">{$Sendin_Sender_Order_Message|escape:'htmlall':'UTF-8'}</textarea>
<span class="toolTip" style="margin-top:35px;" title="{l s=' Create the content of your SMS with the limit of 160-character.Beyond 160 characters, it will be counted as a second SMS. Thus, if you write SMS of 240 characters, it will be recorded using two SMS.' mod='sendinblue'}">&nbsp;</span>
<div class="clear"></div>
<span style="line-height:16px; margin-bottom:15px; width:333px;" class="{$cl_version|escape:'htmlall':'UTF-8'|stripslashes}">{l s='Number of SMS used: ' mod='sendinblue'}<span id="sender_order_message_text_count">0</span>
<div class="hintmsg"><em>{l s='Number of characters left: ' mod='sendinblue'}</em><span id="sender_order_message_text">160</span></div>
<div class="hintmsg"><em>{l s='Attention line break is counted as a single character.' mod='sendinblue'}</em>
</div><br>
<div class="hintmsg"><em>{l s='If you want to personalize the SMS, you can use the variables below:' mod='sendinblue'}</em></div>
<div class="hintmsg"><em>{l s='- For civility use {civility}' mod='sendinblue'}</em></div>
<div class="hintmsg"><em>{l s='- For first name use {first_name}' mod='sendinblue'}</em></div>
<div class="hintmsg"><em>{l s='- For last name use {last_name}' mod='sendinblue'}</em></div>
<div class="hintmsg"><em>{l s='- For order reference id use {order_reference}' mod='sendinblue'}</em></div>
<div class="hintmsg"><em>{l s='- For order price use {order_price}' mod='sendinblue'}</em></div>
<div class="hintmsg"><em>{l s='- For order date use {order_date}' mod='sendinblue'}</em></div>
<input name="sender_order_save" type="submit" value="{l s='Save' mod='sendinblue'}" class="blue-btn sender_order_save" senderfield="{l s='Please fill the sender field' mod='sendinblue'}" messagefield="{l s='Please fill the message field' mod='sendinblue'}" style="margin-top:10px;" />
</td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td colspan="2" valign="top" border="0">
<form name="sender_order_testForm">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<label style="padding-top:5px;">{l s='Send a test SMS' mod='sendinblue'}</label>
<input style="margin-left:5px;" name="sender_order_number" id="sender_order_number" maxlength="17" type="text" value="" class="input_bx" />
<span class="toolTip" title="{l s=' The phone number should be in this form: 0033663309741 for this France mobile 06 63 30 97 41 (0033 is France prefix)' mod='sendinblue'}">&nbsp;</span>
<div class="hintmsg" style="margin-left:265px; padding:8px 5px;"><em>{l s='Sending a test SMS will be deducted from your SMS credits.' mod='sendinblue'}</em></div>
<div class="clear"></div>
<label>&nbsp;</label>
<input style="margin:5px;" name="sender_order_submit" id="sender_order_submit" type="button" value="{l s='Send' mod='sendinblue'}" class="green-btn testOrdersmssend" successmsg="{l s='Message has been sent successfully' mod='sendinblue'}" failmsg="{l s='Message has not been sent successfully' mod='sendinblue'}" />
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div></div>
</div>
<div id="tab2" class="tab_content">
<div class="wrapper" style="margin-top:15px;margin-bottom: 6px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="row1">
<label class="r_label" style="margin-left: 7px; padding-top:0px; white-space:normal;"><strong>{l s='Send a SMS confirmation for the shipment of the order' mod='sendinblue'}</strong></label>
<div class="radio_bx {$cl_version|escape:'htmlall':'UTF-8'|stripslashes}" style="display:inline-block; padding-left:15px;"> <label class="differ-radio-btn">
<input name="sms_shiping_setting" class="sms_shiping_setting" {if isset($sms_shipment_status) && $sms_shipment_status == 1}checked="checked"{/if} type="radio" value="1" />
<span>{l s='Yes' mod='sendinblue'}</span></label><label class="differ-radio-btn">
<input name="sms_shiping_setting" type="radio" value="0" {if isset($sms_shipment_status) && $sms_shipment_status == 0}checked="checked"{/if} class="sms_shiping_setting"/>
<span>{l s='No' mod='sendinblue'}</span></label>
<label class="differ-radio-btn"><input class="blue-btn btn-xs sms_shiping_setting_cls" type="button" name="sms_shiping_setting_cls" value="Update"></label>
</div>
<div class="hideShiping" style="margin-top:15px;">
<div class="form_table ">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td >
<form action="{$form_url|escape:'htmlall':'UTF-8'|replace:'&amp;':'&'}" method="POST" name="sender_shipment_form">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td valign="top" style="padding-left:0" class="{$cl_version|escape:'htmlall':'UTF-8'|stripslashes}"><h4 style="margin-top:0px; padding-right:15px; text-align:right;">{l s='SMS settings' mod='sendinblue'}:</h4></td><td >&nbsp</td></tr>
<tr>
<td style="width:250px" valign="top"><label>{l s='Sender' mod='sendinblue'}</label></td>
<td >
<input name="sender_shipment" maxlength="11" id="sender_shipment" type="text" value="{$Sendin_Sender_Shipment|escape:'htmlall':'UTF-8'}" class="input_bx" />
<span class="toolTip" title="{l s='This field allows you to customize the SMS sender. The number of characters is limited to 11 alphanumeric characters. You can´t configure your Sender with a phone number.' mod='sendinblue'}">&nbsp;</span>
<div class="hintmsg"><em>{l s='Number of characters left: ' mod='sendinblue'}<span id="sender_shipment_text">11</span></em>
</div>
</td>
</tr>
<tr>
<td valign="top"><label>{l s='Message' mod='sendinblue'}</label></td>
<td>
<textarea name="sender_shipment_message" id="sender_shipment_message" cols="45" rows="5" class="textarea_bx">{$Sendin_Sender_Shipment_Message|escape:'htmlall':'UTF-8'}</textarea>
<span class="toolTip" style="margin-top:35px;" title="{l s=' Create the content of your SMS with the limit of 160-character.Beyond 160 characters, it will be counted as a second SMS. Thus, if you write SMS of 240 characters, it will be recorded using two SMS.' mod='sendinblue'}">&nbsp;</span>
<div class="clear"></div>
<span style="line-height:16px; margin-bottom:15px; width:333px;" class="{$cl_version|escape:'htmlall':'UTF-8'|stripslashes}">{l s='Number of SMS used: ' mod='sendinblue'}<span id="sender_shipment_message_text_count">0</span>
<div class="hintmsg"><em>{l s='Number of characters left: ' mod='sendinblue'}</em><span id="sender_shipment_message_text">160</span></div>
<div class="hintmsg"><em>{l s='Attention line break is counted as a single character.' mod='sendinblue'}</em>
</div><br/>
<div class="hintmsg"><em>{l s='If you want to personalize the SMS, you can use the variables below:' mod='sendinblue'}</em></div>
<div class="hintmsg"><em>{l s='- For civility use {civility}' mod='sendinblue'}</em></div>
<div class="hintmsg"><em>{l s='- For first name use {first_name}' mod='sendinblue'}</em></div>
<div class="hintmsg"><em>{l s='- For last name use {last_name}' mod='sendinblue'}</em></div>
<div class="hintmsg"><em>{l s='- For order reference id use {order_reference}' mod='sendinblue'}</em></div>
<div class="hintmsg"><em>{l s='- For order price use {order_price}' mod='sendinblue'}</em></div>
<div class="hintmsg"><em>{l s='- For order date use {order_date}' mod='sendinblue'}</em></div>
<input name="sender_shipment_save" type="submit" value="{l s='Save' mod='sendinblue'}" class="blue-btn sender_shipment_save" senderfield="{l s='Please fill the sender field' mod='sendinblue'}" messagefield="{l s='Please fill the message field' mod='sendinblue'}" style="margin-top:10px;" />
</td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td colspan="2" valign="top" border="0">
<form action="{$form_url|escape:'htmlall':'UTF-8'|replace:'&amp;':'&'}" method="POST" name="sender_order_testForm">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" colspan="2">
<label style="padding-top:5px;">{l s='Send a test SMS' mod='sendinblue'}</label>
<input name="sender_shipment_number" style="margin-left:10px;" id="sender_shipment_number" maxlength="17" type="text" value="" class="input_bx" />
<span class="toolTip" title="{l s=' The phone number should be in this form: 0033663309741 for this France mobile 06 63 30 97 41 (0033 is France prefix)' mod='sendinblue'}">&nbsp;</span>
<div class="hintmsg" style="margin-left:265px; padding:8px 10px;"><em>{l s='Sending a test SMS will be deducted from your SMS credits.' mod='sendinblue'}</em></div>
<div class="clear"></div>
<label>&nbsp;</label><input name="sender_shipment_submit" id="sender_shipment_submit" type="button" successmsg="{l s='Message has been sent successfully' mod='sendinblue'}" failmsg="{l s='Message has not been sent successfully' mod='sendinblue'}" value="{l s='Send' mod='sendinblue'}" style="margin:5px 10px;" class="green-btn testSmsShipped" />
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div> </div>
</div>
<div id="tab3" class="tab_content">
<div class="wrapper" style="margin-top:15px;margin-bottom: 6px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-data">
<tr>
<td class="row1">
<label class="r_label" style="margin-left: 7px; padding-top:0px;"><strong>{l s='Send a campaign SMS' mod='sendinblue'}</strong></label>
<div class="radio_bx {$cl_version|escape:'htmlall':'UTF-8'|stripslashes}" style="padding-left:11px; display:inline-block;">
<label class="differ-radio-btn">
<input name="sms_campaign_setting" class="sms_campaign_setting" {if isset($sms_campaign_status) && $sms_campaign_status == 1}checked="checked"{/if} type="radio" value="1" />
<span>{l s='Yes' mod='sendinblue'}</span></label>
<label class="differ-radio-btn">
<input name="sms_campaign_setting" class="sms_campaign_setting" {if isset($sms_campaign_status) && $sms_campaign_status == 0}checked="checked"{/if} type="radio" value="0" />
<span>{l s='No' mod='sendinblue'}</span></label>
<label class="differ-radio-btn"><input class="blue-btn btn-xs sms_campaign_setting_cls" type="button" name="sms_campaign_setting_cls" value="Update"></label>
</div>
<div class="hideCampaign">
<div class="form_table " style="margin-top:15px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<form action="{$form_url|escape:'htmlall':'UTF-8'|replace:'&amp;':'&'}" method="POST" name="sender_order_form">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-data no-padding">
<tr>
<td valign="top" style="width:250px"> <label> {l s='To' mod='sendinblue'}</label></td>
<td class="{$cl_version|escape:'htmlall':'UTF-8'|stripslashes}">
<input name="Sendin_Sms_Choice" id="r1_Sendin_Sms_Choice" checked="checked" class="Sendin_Sms_Choice radio_nospaceing" type="radio" value="1" />
{l s='A single contact' mod='sendinblue'}
&nbsp;&nbsp;
<input name="Sendin_Sms_Choice" id="r2_Sendin_Sms_Choice" class="Sendin_Sms_Choice radio_spaceing" type="radio" value="0" />
{l s='All my PrestaShop customers' mod='sendinblue'}
&nbsp;&nbsp;
<input name="Sendin_Sms_Choice" id="r3_Sendin_Sms_Choice" class="Sendin_Sms_Choice radio_spaceing" type="radio" value="2" />
{l s='Only subscribed customers' mod='sendinblue'}
</td>
</tr>
<tr><td valign="top" style="padding-left:0" class="{$cl_version|escape:'htmlall':'UTF-8'|stripslashes}"><h4 style="margin-top:0px; padding-right:15px; text-align:right;">{l s='SMS Settings' mod='sendinblue'}:</h4></td><td>&nbsp</td></tr>
<tr class="singlechoice">
<td valign="top"><label>{l s='Phone number of the contact' mod='sendinblue'}</label></td>
<td>
<input name="singlechoice" id="singlechoice" maxlength="17" type="text" value="" class="input_bx" />
<span class="toolTip" title="{l s=' The phone number should be in this form: 0033663309741 for this France mobile 06 63 30 97 41 (0033 is France prefix)' mod='sendinblue'}">&nbsp;</span>
</td>
</tr>
<tr class='sib_datepicker' style="display:none;">
<td valign="top"><label>{l s='Schedule your sms campaign' mod='sendinblue'}</label></td>
<td>
<input name="sib_datetimepicker" id="sib_datetimepicker" type="text" value="" class="input_bx" />&nbsp;&nbsp;
<select name="hour">
<option value='0'>{l s='Hour' mod='sendinblue'}</option>
{for $counter=0 to 23}
<option>{$counter|escape:'htmlall':'UTF-8'}</option>
{/for}
</select>&nbsp;&nbsp;
<select name="minute">
<option value='0'>{l s='Minute' mod='sendinblue'}</option>
{for $counter=0 to 50 step 5}
<option>{$counter|escape:'htmlall':'UTF-8'}</option>
{/for}
</select>
</td>
</tr>
<tr>
<td valign="top"><label>{l s='Sender' mod='sendinblue'}</label></td>
<td>
<input name="sender_campaign" maxlength="11" id="sender_campaign" type="text" value="" class="input_bx" />
<span class="toolTip" title="{l s='This field allows you to customize the SMS sender. The number of characters is limited to 11 alphanumeric characters. You can´t configure your Sender with a phone number.' mod='sendinblue'}">&nbsp;</span>
<div class="hintmsg"><em>{l s='Number of characters left: ' mod='sendinblue'}<span id="sender_campaign_text">11</span></em>
</div>
</td>
</tr>
<tr>
<td valign="top"><label>{l s='Message' mod='sendinblue'}</label></td>
<td>
<textarea name="sender_campaign_message" id="sender_campaign_message" cols="45" rows="5" class="textarea_bx"></textarea>
<span class="toolTip" style=" margin-top:35px;" title="{l s=' Create the content of your SMS with the limit of 160-character.Beyond 160 characters, it will be counted as a second SMS. Thus, if you write SMS of 240 characters, it will be recorded using two SMS.' mod='sendinblue'}">&nbsp;</span>
<div class="clear"></div>
<span style="line-height:16px; margin-bottom:15px; width:333px;" class="{$cl_version|escape:'htmlall':'UTF-8'|stripslashes}">{l s='Number of SMS used: ' mod='sendinblue'}<span id="sender_campaign_message_text_count">0</span>
<div class="hintmsg"><em>{l s='Number of characters left: ' mod='sendinblue'}</em><span id="sender_campaign_message_text">160</span></div>
<div class="hintmsg"><em>{l s='Attention line break is counted as a single character.' mod='sendinblue'}</em>
</div><br>
<div class="hintmsg"><em>{l s='If you want to personalize the SMS, you can use the variables below:' mod='sendinblue'}</em></div>
<div class="hintmsg"><em>{l s='- For civility use {civility}' mod='sendinblue'}</em></div>
<div class="hintmsg"><em>{l s='- For first name use {first_name}' mod='sendinblue'}</em></div>
<div class="hintmsg"><em>{l s='- For last name use {last_name}' mod='sendinblue'}</em></div>
<input type="submit" style="margin-top:10px;" class="blue-btn sender_campaign_save" value="{l s='Send the campaign' mod='sendinblue'}" name="sender_campaign_save" senderfield="{l s='Please fill the sender field' mod='sendinblue'}" messagefield="{l s='Please fill the message field' mod='sendinblue'}">
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" colspan="2">
<label style="padding-top:10px;">{l s='Send a test SMS' mod='sendinblue'}</label>
<input name="sender_campaign_number_test" style="margin:5px 10px;" id="sender_campaign_number_test" maxlength="17" type="text" value="" class="input_bx" />
<span class="toolTip" title="{l s=' The phone number should be in this form: 0033663309741 for this France mobile 06 63 30 97 41 (0033 is France prefix)' mod='sendinblue'}">&nbsp;</span>
<div class="hintmsg" style="margin-left:265px; padding:8px 10px;"><em>{l s='Sending a test SMS will be deducted from your SMS credits.' mod='sendinblue'}</em></div>
<div class="clear"></div>
<label>&nbsp;</label>
<input name="sender_campaign_test_submit" style="margin:5px 10px;" id="sender_campaign_test_submit" type="button" value="{l s='Send' mod='sendinblue'}" sendererr="{l s='Please fill the sender field' mod='sendinblue'}" mobileerr="{l s='Please fill the Mobile Phone field' mod='sendinblue'}" messageerr="{l s='Please fill the message field' mod='sendinblue'}" successmsg="{l s='Message has been sent successfully' mod='sendinblue'}" failmsg="{l s='Message has not been sent successfully' mod='sendinblue'}" class="green-btn testSmsCampaignsend" />
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,60 @@
{*
* 2007-2020 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 <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="tab-pane" id="transactional-email-sms-management">
<div class="form-box">
<h2 class="heading">{l s='Manage Transactional Emails' mod='sendinblue'}</h2>
<div class="form-box-content">
<table class="tableblock"
cellspacing="0" cellpadding="0" width="100%">
<tr><td><form method="post" action="{$form_url|escape:'htmlall':'UTF-8'|replace:'&amp;':'&'}">
<label>
{l s='Manage Transactional Emails' mod='sendinblue'}
</label><span class="{$cl_version|escape:'htmlall':'UTF-8'|stripslashes}">
<label class="differ-radio-btn"><input type="radio" class="smtptestclick" id="yessmtp"
name="smtpmail"
value="1" {if !empty($Sendin_Api_Smtp_Status)}checked="checked"{/if}/><span>{l s='Yes' mod='sendinblue'}
</span></label><label class="differ-radio-btn"><input type="radio" class="smtptestclick" id="nosmtp"
name="smtpmail" value="0"
{if empty($Sendin_Api_Smtp_Status)}checked="checked"{/if}) . '/><span>{l s='No' mod='sendinblue'}
</span></label><span class="toolTip" title="{l s='Transactional email is an expected email because it is triggered automatically after a transaction or a specific event. Common examples of transactional email are : account opening and welcome message, order shipment confirmation, shipment tracking and purchase order status, registration via a contact form, account termination, payment confirmation, invoice etc.' mod='sendinblue'}">&nbsp;</span>
<label class="differ-radio-btn"><input class="blue-btn btn-xs smtptestclickcls" type="button" name="smtptestclickcls" value="{l s='Update' mod='sendinblue'}"></label>
</form></td>
</tr>
<form method="post" name="smtpform" id="smtpform" action="{$form_url|escape:'htmlall':'UTF-8'|replace:'&amp;':'&'}">
<tr id="smtptest" {$st|escape:'htmlall':'UTF-8'|stripslashes}><td colspan="2">
<div id="div_email_test">
<p style="padding-left:85px;">{l s='Send email test From / To : ' mod='sendinblue'}&nbsp;
<input type="text" size="40" name="testEmail" value="{$testEmail|escape:'htmlall':'UTF-8'|stripslashes}" id="email_from">
&nbsp;
<input type="submit" class="blue-btn" value="{l s='Send' mod='sendinblue'}" name="sendTestMail" id="sendTestMail"></p>
</div>
</td>
</tr></form>
</table>
</div>
</div>

View File

@@ -0,0 +1,58 @@
{*
* 2007-2020 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 <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="tab-pane" id="contact_list">
<div class="form-box">
<h2 class="heading">{l s='Contacts list' mod='sendinblue'}</h2>
<div class="form-box-content">
<table width="100%" cellspacing="0" cellpadding="0" style="margin-top:15px;margin-bottom:15px;">
<tbody>
<tr>
<td style="border-bottom:none;" class="{$cl_version|escape:'quotes':'UTF-8'}">{$middlelable|escape:'quotes':'UTF-8'}
</td>
</tr>
<input type ="hidden" name="page_no" id="page_no" value="1">
<tr id="userDetails" style="display:none;">
<td>
<table class="table managesubscribeBlock" style="margin-top:20px;" cellspacing="0" cellpadding="0" width="100%">
<thead>
<tr>
<th>Emails</th>
<th width="20%">{l s='Client' mod='sendinblue'}</th>
<th width="20%">{l s='SMS' mod='sendinblue'}</th>
<th width="20%">{l s='Newsletter Sendinblue Status' mod='sendinblue'}<span class="toolTip" title="{l s='Click on the icon to subscribe / unsubscribe the contact from Sendinblue and PrestaShop.' mod='sendinblue'}">&nbsp;</span></th>
<th width="20%">{l s='Newsletter PrestaShop Status' mod='sendinblue'}</th>
<th width="20%">{l s='SMS Sendinblue Status' mod='sendinblue'}<span class="toolTip" title="{l s='Click on the icon to subscribe / unsubscribe the SMS from Sendinblue.' mod='sendinblue'}">&nbsp;</span></th>
</tr>
</thead>
<tbody class="midleft">
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>