first commit

This commit is contained in:
2025-01-06 20:47:25 +01:00
commit 3bdbd78c2f
25591 changed files with 3586440 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
{*
* Smartsupp Live Chat integration module.
*
* @package Smartsupp
* @author Smartsupp <vladimir@smartsupp.com>
* @link http://www.smartsupp.com
* @copyright 2016 Smartsupp.com
* @license GPL-2.0+
*
* Plugin Name: Smartsupp Live Chat
* Plugin URI: http://www.smartsupp.com
* Description: Adds Smartsupp Live Chat code to PrestaShop.
* Version: 2.1.8
* Author: Smartsupp
* Author URI: http://www.smartsupp.com
* Text Domain: smartsupp
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*}
<div id="smartsupp_configuration" class="panel">
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
<p class="email none">{$smartsupp_email|escape:'htmlall':'UTF-8'}</p>
</div>
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 text-center">
<img src="{$module_dir|escape:'html':'UTF-8'}views/img/smartsupp_logo.png" alt="Smartsupp" />
</div>
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
<button id="deactivate_chat_do" class="btn btn-default pull-right">{l s='Deactivate chat' mod='smartsupp'}</button>
</div>
</div>
<div class="row">
<div class="col-lg-4"></div>
<div class="col-lg-4 text-center">
<p class="status-information">
<span>
{l s="Smartsupp's chat box is now visible on your website." mod='smartsupp'}
</span>
{l s='Go to Smartsupp to chat with visitors, customize chat box design and access all features.' mod='smartsupp'}
</p>
<div class="center-block">
<form action="https://dashboard.smartsupp.com" target="_blank">
<input type="hidden" name="utm_source" value="Prestashop">
<input type="hidden" name="utm_medium" value="integration">
<input type="hidden" name="utm_campaign" value="link">
<input type="submit" class="btn btn-primary btn-lg" value="{l s='Go to Smartsupp' mod='smartsupp'}">
</form>
</div>
<p style="padding-top: 5px;">
({l s='This will open a new browser tab.' mod='smartsupp'})
</p>
</div>
<div class="col-lg-4"></div>
</div>
</div>

View File

@@ -0,0 +1,78 @@
{*
* Smartsupp Live Chat integration module.
*
* @package Smartsupp
* @author Smartsupp <vladimir@smartsupp.com>
* @link http://www.smartsupp.com
* @copyright 2016 Smartsupp.com
* @license GPL-2.0+
*
* Plugin Name: Smartsupp Live Chat
* Plugin URI: http://www.smartsupp.com
* Description: Adds Smartsupp Live Chat code to PrestaShop.
* Version: 2.1.8
* Author: Smartsupp
* Author URI: http://www.smartsupp.com
* Text Domain: smartsupp
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*}
<div id="smartsupp_connect_account" class="panel">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
<img src="{$module_dir|escape:'html':'UTF-8'}views/img/smartsupp_logo.png" alt="Smartsupp" />
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
<button id="create_account_btn2" class="btn btn-default pull-right">{l s='Create free account' mod='smartsupp'}</button>
</div>
</div>
<hr/>
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4"></div>
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 text-center">
<p>
<strong class="heading">{l s='Connect existing account' mod='smartsupp'}</strong>
</p>
<p>
<div class="input-group">
<span class="input-group-addon"> {l s='E-mail' mod='smartsupp'}</span>
<input id="SMARTSUPP_EMAIL" type="text" size="30" value="" name="SMARTSUPP_EMAIL">
</div>
<br/>
<div class="input-group">
<span class="input-group-addon"> {l s='Password' mod='smartsupp'} </span>
<input id="SMARTSUPP_PASSWORD" type="password" size="30" value="" name="SMARTSUPP_PASSWORD">
</div>
</p>
<div class="center-block">
<button id="connect_existing_account_do" class="btn btn-primary btn-lg">{l s='Connect' mod='smartsupp'}</button>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4"></div>
</div>
<br/>
<hr/>
<div class="row text-center">
<p>
<strong class="heading">{l s='Trusted by more that 55 000 companies' mod='smartsupp'}</strong>
</p>
<div class="customers">
<a>
<img alt="ŠKODA AUTO" src="{$module_dir|escape:'html':'UTF-8'}views/img/skoda.png">
</a>
<a>
<img alt="Gekko Computer" src="{$module_dir|escape:'html':'UTF-8'}views/img/gekko_computer.png">
</a>
<a>
<img alt="Lememo" src="{$module_dir|escape:'html':'UTF-8'}views/img/lememo.png">
</a>
<a>
<img alt="Vinoselección" src="{$module_dir|escape:'html':'UTF-8'}views/img/vinoseleccion.png">
</a>
<a>
<img alt="Conrad" src="{$module_dir|escape:'html':'UTF-8'}views/img/conrad.png">
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,83 @@
{*
* Smartsupp Live Chat integration module.
*
* @package Smartsupp
* @author Smartsupp <vladimir@smartsupp.com>
* @link http://www.smartsupp.com
* @copyright 2016 Smartsupp.com
* @license GPL-2.0+
*
* Plugin Name: Smartsupp Live Chat
* Plugin URI: http://www.smartsupp.com
* Description: Adds Smartsupp Live Chat code to PrestaShop.
* Version: 2.1.8
* Author: Smartsupp
* Author URI: http://www.smartsupp.com
* Text Domain: smartsupp
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*}
<div id="smartsupp_create_account" class="panel">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
<img src="{$module_dir|escape:'html':'UTF-8'}views/img/smartsupp_logo.png" alt="Smartsupp" />
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
<button id="connect_existing_account_btn2" class="btn btn-default pull-right">{l s='Connect existing account' mod='smartsupp'}</button>
</div>
</div>
<hr/>
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-3"></div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6 text-center">
<p>
<strong class="heading">{l s='Create a free account' mod='smartsupp'}</strong>
</p>
<p>
<div class="input-group">
<span class="input-group-addon"> {l s='E-mail' mod='smartsupp'}</span>
<input id="SMARTSUPP_EMAIL" type="text" size="30" value="" name="SMARTSUPP_EMAIL">
</div>
<br/>
<div class="input-group">
<span class="input-group-addon"> {l s='Password' mod='smartsupp'} </span>
<input id="SMARTSUPP_PASSWORD" type="password" size="30" value="" name="SMARTSUPP_PASSWORD">
</div>
<br/>
<div class="input-group">
<input id="SMARTSUPP_DPA" type="checkbox" value="" name="SMARTSUPP_DPA">
<label id="SMARTSUPP_DPA_LABEL" for="SMARTSUPP_DPA">{l s='I have read and agree with' mod='smartsupp'} <a href="https://www.smartsupp.com/terms" target="_blank">{l s='Terms' mod='smartsupp'}</a> {l s='and' mod='smartsupp'} <a href="https://www.smartsupp.com/dpa" target="_blank">{l s='DPA' mod='smartsupp'}</a> {l s=' ' mod='smartsupp'}</label>
</div>
</p>
<div class="center-block">
<button id="create_account_do" class="btn btn-primary btn-lg">{l s='Sign up' mod='smartsupp'}</button>
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-3"></div>
</div>
<br/>
<hr/>
<div class="row text-center">
<p>
<strong class="heading">{l s='Trusted by more that 55 000 companies' mod='smartsupp'}</strong>
</p>
<div class="customers">
<a>
<img alt="ŠKODA AUTO" src="{$module_dir|escape:'html':'UTF-8'}views/img/skoda.png">
</a>
<a>
<img alt="Gekko Computer" src="{$module_dir|escape:'html':'UTF-8'}views/img/gekko_computer.png">
</a>
<a>
<img alt="Lememo" src="{$module_dir|escape:'html':'UTF-8'}views/img/lememo.png">
</a>
<a>
<img alt="Vinoselección" src="{$module_dir|escape:'html':'UTF-8'}views/img/vinoseleccion.png">
</a>
<a>
<img alt="Conrad" src="{$module_dir|escape:'html':'UTF-8'}views/img/conrad.png">
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,30 @@
<?php
/**
* Smartsupp Live Chat integration module.
*
* @package Smartsupp
* @author Smartsupp <vladimir@smartsupp.com>
* @link http://www.smartsupp.com
* @copyright 2016 Smartsupp.com
* @license GPL-2.0+
*
* Plugin Name: Smartsupp Live Chat
* Plugin URI: http://www.smartsupp.com
* Description: Adds Smartsupp Live Chat code to PrestaShop.
* Version: 2.1.8
* Author: Smartsupp
* Author URI: http://www.smartsupp.com
* Text Domain: smartsupp
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*/
header('Expires: Mon, 26 Jul 1998 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,111 @@
{*
* Smartsupp Live Chat integration module.
*
* @package Smartsupp
* @author Smartsupp <vladimir@smartsupp.com>
* @link http://www.smartsupp.com
* @copyright 2016 Smartsupp.com
* @license GPL-2.0+
*
* Plugin Name: Smartsupp Live Chat
* Plugin URI: http://www.smartsupp.com
* Description: Adds Smartsupp Live Chat code to PrestaShop.
* Version: 2.1.8
* Author: Smartsupp
* Author URI: http://www.smartsupp.com
* Text Domain: smartsupp
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*}
<script type="text/javascript">
var ajax_controller_url = "{$ajax_controller_url|escape:'htmlall':'UTF-8'}";
</script>
<input id="smartsupp_key" type="hidden" value="{$smartsupp_key|escape:'htmlall':'UTF-8'}">
<div class="bootstrap smartsupp_landing_page">
<div class="module_error alert alert-danger">
<button class="close" data-dismiss="alert" type="button">×</button>
<span></span>
</div>
</div>
<div id="smartsupp_landing_page" class="panel">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
<img src="{$module_dir|escape:'html':'UTF-8'}views/img/smartsupp_logo.png" alt="Smartsupp" />
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
<button id="connect_existing_account_btn1" class="btn btn-default pull-right">{l s='Connect existing account' mod='smartsupp'}</button>
</div>
</div>
<hr/>
<div class="row text-center">
<div class="row">
<p class="title">
<strong>{l s='Free live chat with visitor recording' mod='smartsupp'}</strong>
</p>
<p class="title">
{l s='Your customers are on your website right now.' mod='smartsupp'}
<br/>
{l s='Chat with them and see what they do.' mod='smartsupp'}
</p>
<div class="center-block">
<button id="create_account_btn1" class="btn btn-primary btn-lg">{l s='Create free account' mod='smartsupp'}</button>
</div>
<p class="col-lg-12 none">
<img class="dashboard" src="{$module_dir|escape:'html':'UTF-8'}views/img/dashboard_en.png" alt="" /><br />
</p>
</div>
</div>
<div class="row text-center">
<div class="row">
<p class="one">
<strong class="heading">{l s='Enjoy unlimited agents and chats forever for free' mod='smartsupp'}</strong>
<br/>
<strong class="heading">{l s='or take advantage of premium packages with advanced features.' mod='smartsupp'}</strong>
</p>
<p>
<strong>{l s='See all features on' mod='smartsupp'} <a href="https://www.smartsupp.com/?utm_source=Prestashop&utm_medium=integration&utm_campaign=link" target="_blank">{l s='our website' mod='smartsupp'}</a>.</strong>
</p>
</div>
</div>
<div class="row text-center advantages">
<div class="col-lg-4 text-center">
<img src="{$module_dir|escape:'html':'UTF-8'}views/img/chat_with_visitors.png" alt="{l s='Chat with visitors in real-time' mod='smartsupp'}" />
<p class="heading one">{l s='Chat with visitors in real-time' mod='smartsupp'}</p>
<p class="column-60">{l s='Answering questions right away improves loyalty and helps you build closer relationship with your customers.' mod='smartsupp'}</p>
</div>
<div class="col-lg-4 text-center">
<img src="{$module_dir|escape:'html':'UTF-8'}views/img/increase_sales.png" alt="{l s='Increase online sales' mod='smartsupp'}" />
<p class="heading one">{l s='Increase online sales' mod='smartsupp'}</p>
<p class="column-60">{l s='Turn your visitors into customers. Visitors who chat with you buy up to 5x more often - measurable in Google Analytics.' mod='smartsupp'}</p>
</div>
<div class="col-lg-4 text-center">
<img src="{$module_dir|escape:'html':'UTF-8'}views/img/visitor_screen_recording.png" alt="{l s='Visitor screen recording' mod='smartsupp'}" />
<p class="heading one">{l s='Visitor screen recording' mod='smartsupp'}</p>
<p class="column-60">{l s='Watch visitor behavior on your store. You see his screen, mouse movement, clicks and what he filled into forms.' mod='smartsupp'}</p>
</div>
</div>
<br/>
<div class="row text-center">
<p>
<strong class="heading">{l s='Trusted by more that 55 000 companies' mod='smartsupp'}</strong>
</p>
<div class="customers">
<a>
<img alt="ŠKODA AUTO" src="{$module_dir|escape:'html':'UTF-8'}views/img/skoda.png">
</a>
<a>
<img alt="Gekko Computer" src="{$module_dir|escape:'html':'UTF-8'}views/img/gekko_computer.png">
</a>
<a>
<img alt="Lememo" src="{$module_dir|escape:'html':'UTF-8'}views/img/lememo.png">
</a>
<a>
<img alt="Vinoselección" src="{$module_dir|escape:'html':'UTF-8'}views/img/vinoseleccion.png">
</a>
<a>
<img alt="Conrad" src="{$module_dir|escape:'html':'UTF-8'}views/img/conrad.png">
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1 @@
{$smartsupp_js nofilter}

View File

@@ -0,0 +1,30 @@
<?php
/**
* Smartsupp Live Chat integration module.
*
* @package Smartsupp
* @author Smartsupp <vladimir@smartsupp.com>
* @link http://www.smartsupp.com
* @copyright 2016 Smartsupp.com
* @license GPL-2.0+
*
* Plugin Name: Smartsupp Live Chat
* Plugin URI: http://www.smartsupp.com
* Description: Adds Smartsupp Live Chat code to PrestaShop.
* Version: 2.1.8
* Author: Smartsupp
* Author URI: http://www.smartsupp.com
* Text Domain: smartsupp
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*/
header('Expires: Mon, 26 Jul 1998 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;