This commit is contained in:
2025-04-01 00:38:54 +02:00
parent d4d4c0c09d
commit 87da06293a
22351 changed files with 5168854 additions and 7538 deletions

View File

@@ -0,0 +1,60 @@
{*
* 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.2.0
* 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">
<header class="header">
<img src="{$module_dir|escape:'html':'UTF-8'}views/img/smartsupp_logo.png" alt="Smartsupp" />
<nav>
<div class="header-user">
<img class="header-user__avatar" src="{$module_dir|escape:'html':'UTF-8'}views/img/avatar-grey.png" alt="avatar" />
<span class="header-user__email">
{$smartsupp_email|escape:'htmlall':'UTF-8'}
</span>
<button id="deactivate_chat_do" class="btn btn--sm">
{l s='Deactivate chat' mod='smartsupp'}
</button>
</div>
</nav>
</header>
<main class="main" role="main">
<div class="main__left">
<div class="main-all-set">
<h1 class="main-all-set__h1">
{l s='All set and running' mod='smartsupp'}
</h1>
<p class="main-all-set__text">
{l s='Congratulations! Smartsupp live chat is already visible on your website.' mod='smartsupp'}
</p>
<a href="https://dashboard.smartsupp.com/?utm_source=Prestashop&utm_medium=integration&utm_campaign=link" target="_blank" class="btn btn--primary btn--arrow">
{l s='Chat with your visitors' mod='smartsupp'}
</a>
<p class="main-all-set__bottom-text">
{l s='or' mod='smartsupp'} <a href="https://app.smartsupp.com/app/settings/chatbox/text?utm_source=Prestashop&utm_medium=integration&utm_campaign=link" target="_blank">{l s='Set up' mod='smartsupp'}</a> {l s='chat box design first' mod='smartsupp'}
</p>
</div>
</div>
<div class="main__right">
<img src="{$module_dir|escape:'html':'UTF-8'}views/img/all-done.png">
</div>
</main>
</div>

View File

@@ -0,0 +1,70 @@
{*
* 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.2.0
* 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">
<header class="header">
<img src="{$module_dir|escape:'html':'UTF-8'}views/img/smartsupp_logo.png" alt="Smartsupp" />
<nav>
<div class="header-user">
<span class="header-user__email">
{l s='Not a Smartsupp user yet?' mod='smartsupp'}
</span>
<button id="create_account_btn2" class="btn btn--sm">
{l s='Create a free account' mod='smartsupp'}
</button>
</div>
</nav>
</header>
<main class="main" role="main">
<div class="main__left">
<div class="main-form">
<h1 class="main-form__h1">
{l s='Log in' mod='smartsupp'}
</h1>
<div id="smartsupp-login-alerts" class="alerts">
<div id="smartsupp-login-alert" class="alert alert-danger js-clear"></div>
</div>
<div class="form-horizontal">
<input id="SMARTSUPP_EMAIL" type="email" value="" name="SMARTSUPP_EMAIL" placeholder="{l s='E-mail:' mod='smartsupp'}" class="input" required>
<input id="SMARTSUPP_PASSWORD" type="password" value="" name="SMARTSUPP_PASSWORD" placeholder="{l s='Password:' mod='smartsupp'}" class="input" required>
<button id="connect_existing_account_do" class="btn btn--primary btn--arrow btn--all-width">
{l s='Log in' mod='smartsupp'}
</button>
<p class="main-form__bottom-text">
<span>
<a href="https://app.smartsupp.com/app/sign/reset" target="_blank" class="link">
{l s='I forgot my password' mod='smartsupp'}
</a>
</span>
</p>
</div>
</div>
</div>
<div class="main__right">
<img src="{$module_dir|escape:'html':'UTF-8'}views/img/tablet-screen.png">
</div>
</main>
{include file='./includes/features.tpl'}
{include file='./includes/clients.tpl'}
</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,33 @@
<?php
/**
* NOTICE OF LICENSE
*
* Smartsupp live chat - official plugin. Smartsupp is free live chat with visitor recording.
* The plugin enables you to create a free account or sign in with existing one. Pre-integrated
* customer info with WooCommerce (you will see names and emails of signed in webshop visitors).
* Optional API for advanced chat box modifications.
*
* You must not modify, adapt or create derivative works of this source code
*
* @author Smartsupp
* @copyright 2021 Smartsupp.com
* @license GPL-2.0+
**/
?>
<section class="clients">
<div class="clients__container">
<div class="clients__pretitle">
{l s='POPULAR CHAT SOLUTION OF EUROPEAN WEBSHOPS AND WEBSITES' mod='smartsupp'}
</div>
<h2 class="clients__title">
{l s='Join the 469 000 companies and freelancers relying on Smartsupp' mod='smartsupp'}
</h2>
<div class="clients__logos">
<img src="{$module_dir|escape:'html':'UTF-8'}views/img/insportline.png" />
<img src="{$module_dir|escape:'html':'UTF-8'}views/img/redfox.png" />
<img src="{$module_dir|escape:'html':'UTF-8'}views/img/motorgarten.png" />
<img src="{$module_dir|escape:'html':'UTF-8'}views/img/travelking.png" />
</div>
</div>
</section>

View File

@@ -0,0 +1,53 @@
<?php
/**
* NOTICE OF LICENSE
*
* Smartsupp live chat - official plugin. Smartsupp is free live chat with visitor recording.
* The plugin enables you to create a free account or sign in with existing one. Pre-integrated
* customer info with WooCommerce (you will see names and emails of signed in webshop visitors).
* Optional API for advanced chat box modifications.
*
* You must not modify, adapt or create derivative works of this source code
*
* @author Smartsupp
* @copyright 2021 Smartsupp.com
* @license GPL-2.0+
**/
?>
<section class="features">
<div class="features__container">
<div class="features__item">
<span class="features__header">
{l s='MULTICHANNEL' mod='smartsupp'}
</span>
<img src="{$module_dir|escape:'html':'UTF-8'}views/img/multichannel.png" />
<h2 class="features__item-title">
{l s='Respond to customer\'s chats and emails from one place' mod='smartsupp'}
</h2>
</div>
<div class="features__item">
<span class="features__header">
{l s='CHAT BOT' mod='smartsupp'}
</span>
<img src="{$module_dir|escape:'html':'UTF-8'}views/img/multichannel.png" />
<h2 class="features__item-title">
{l s='Engage your visitors with automated chat bot' mod='smartsupp'}
</h2>
</div>
<div class="features__item">
<span class="features__header">
{l s='MOBILE APP' mod='smartsupp'}
</span>
<img src="{$module_dir|escape:'html':'UTF-8'}views/img/multichannel.png" />
<h2 class="features__item-title">
{l s='Chat with customers on the go with app for iOS & Android' mod='smartsupp'}
</h2>
</div>
</div>
<div class="features__all">
<a href="https://smartsupp.com" target="_blank" class="btn btn--link btn--arrow">
{l s='Explore All Features on our website' mod='smartsupp'}
</a>
</div>
</section>

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.2.0
* 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,89 @@
{*
* 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.2.0
* 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 id="smartsupp_create_account" class="panel">
<header class="header">
<img src="{$module_dir|escape:'html':'UTF-8'}views/img/smartsupp_logo.png" alt="Smartsupp" />
<nav>
<div class="header-user">
<span class="header-user__email">
{l s='Already have an account?' mod='smartsupp'}
</span>
<button id="connect_existing_account_btn2" class="btn btn--sm">
{l s='Log in' mod='smartsupp'}
</button>
</div>
</nav>
<div class="navbar-toggle">
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</div>
</header>
<main class="main" role="main">
<div class="main__left">
<div class="main-form">
<h1 class="main-form__h1">
{l s='Create a free account' mod='smartsupp'}
</h1>
<p class="main-form__top-text">
{l s='Start personal conversation with your visitors today.' mod='smartsupp'}
</p>
<div class="form-horizontal">
<div class="alerts">
<div class="alert alert-danger js-clear"></div>
</div>
<input id="SMARTSUPP_EMAIL" type="email" value="" name="SMARTSUPP_EMAIL" placeholder="{l s='E-mail:' mod='smartsupp'}" class="input" required>
<input id="SMARTSUPP_PASSWORD" type="password" value="" name="SMARTSUPP_PASSWORD" placeholder="{l s='Password:' mod='smartsupp'}" class="input" required>
<label id="SMARTSUPP_MKT_LABEL" class="checkbox">
<input id="SMARTSUPP_MKT" type="checkbox" value="" name="SMARTSUPP_MKT" class="checkbox__input">
<div class="checkbox__shape"></div>
<div class="checkbox__title checkbox__title--small">
{l s='I want to get tips on how to use Smartsupp chat to the maximum and do excellent customer care' mod='smartsupp'}
</div>
</label>
<button id="create_account_do" class="btn btn--primary btn--arrow btn--all-width">
{l s='Create a free account' mod='smartsupp'}
</button>
<p class="main-form__bottom-text">
<span>
{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></label>
</span>
</p>
</div>
</div>
</div>
<div class="main__right">
<img src="{$module_dir|escape:'html':'UTF-8'}views/img/tablet-screen.png">
</div>
</main>
{include file='./includes/features.tpl'}
{include file='./includes/clients.tpl'}
</div>

View File

@@ -0,0 +1,18 @@
<?php
/**
* NOTICE OF LICENSE
*
* Smartsupp live chat - official plugin. Smartsupp is free live chat with visitor recording.
* The plugin enables you to create a free account or sign in with existing one. Pre-integrated
* customer info with WooCommerce (you will see names and emails of signed in webshop visitors).
* Optional API for advanced chat box modifications.
*
* You must not modify, adapt or create derivative works of this source code
*
* @author Smartsupp
* @copyright 2021 Smartsupp.com
* @license GPL-2.0+
**/
?>
{$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.2.0
* 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;