This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>livezilla</name>
|
||||
<displayName>LiveZilla</displayName>
|
||||
<version>1</version>
|
||||
<description>Live support chat</description>
|
||||
<author>PrestaShop</author>
|
||||
<tab>front_office_features</tab>
|
||||
<is_configurable>1</is_configurable>
|
||||
<need_instance>1</need_instance>
|
||||
</module>
|
||||
@@ -1,20 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_2b6ffc604d5470a856c3a7bba581d1ae'] = 'Live Support Chat';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_c888438d14855d7d96a2724ee9c306bd'] = 'Einstellungen aktualisiert';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_1445650302f377af43ee1f7738dc7b50'] = 'Anleitungen';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_3e4804ddb635637d8b873f7cfee85ed5'] = 'LiveZilla ist keine gehostete Lösung, das heißt, das LiveZilla auf Ihrem lokalen Computer (Schritt 1) und auf Ihrem Webserver (Schritt 2) installiert werden muss bedeutet.';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_f3a98489037e44119b187247b5894526'] = 'Die LiveZilla Installation auf Ihrem Webserver heißt LiveZilla Server.';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_417de17915872c0304c7d0b01887fb9f'] = 'Sobald Sie mit Schritt 1 & 2 fertig sind, müssen Sie in die URL Ihrer LiveZilla Installation unten ausfüllen oder direkt das Skript in den Textbereich kopieren. Dies integriert LiveZilla mit Ihrer Webseite (Schritt 3).';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_1965c2fd150423248634c52fc53c6e80'] = 'Die vollständige Installationsanleitung finden Sie auf';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_10827a74160be97df6c0873f7c9809b9'] = 'der offiziellen LiveZilla Webseite ';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_0f7c0aba4acddebc7d72b7a91d339d46'] = 'Jetzt LiveZilla downloaden !';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_254f642527b45bc260048e30704edb39'] = 'Konfiguration';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_e6e29281ee59dd8ab5c79b21737b6430'] = 'Geben Sie die URL für Ihre LiveZilla Installation ein';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_a1c537e365d5243201b00d3ea5a1ea00'] = 'Endgültige URL mit dem Schrägstrich, z.B.';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_c718af0f8ee7235462f7c70ef974b2e7'] = '- ODER -';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_66a4362239a5cf0c365bacbf13e98ee0'] = 'Kopieren das von LiveZilla erhaltene Skript ';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_b17f3f4dcf653a5776792498a9b44d6a'] = 'Einstellungen aktualisieren';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_2bc19baeea1dd9e939091b1d414da0f7'] = 'LiveZilla Live Help';
|
||||
@@ -1,20 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_2b6ffc604d5470a856c3a7bba581d1ae'] = 'Ayuda Chat en directo';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_c888438d14855d7d96a2724ee9c306bd'] = 'Configuración actualizada';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_1445650302f377af43ee1f7738dc7b50'] = 'Cómo proceder';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_3e4804ddb635637d8b873f7cfee85ed5'] = 'LiveZilla no es una solución alojada, lo que significa que LiveZilla necesita ser instalado en su equipo local (paso 1) y también en su servidor web (paso 2).';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_f3a98489037e44119b187247b5894526'] = 'La instalación LiveZilla en su servidor web se llama servidor LiveZilla.';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_417de17915872c0304c7d0b01887fb9f'] = 'Una vez que haya terminado los pasos 1 y 2, es necesario rellenar la dirección URL de su instalación LiveZilla abajo o copiar y pegar directamente el código en el área de texto. Esto integra LiveZilla con su sitio web (paso 3).';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_1965c2fd150423248634c52fc53c6e80'] = 'La guía de instalación completa está disponible en';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_10827a74160be97df6c0873f7c9809b9'] = 'el sitio web oficial LiveZilla';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_0f7c0aba4acddebc7d72b7a91d339d46'] = '¡Descargue LiveZilla ahora!';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_254f642527b45bc260048e30704edb39'] = 'Configuración';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_e6e29281ee59dd8ab5c79b21737b6430'] = 'Introduzca la dirección URL de su instalación LiveZilla';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_a1c537e365d5243201b00d3ea5a1ea00'] = 'URL absoluta con la barra final, por ejemplo,';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_c718af0f8ee7235462f7c70ef974b2e7'] = '- O -';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_66a4362239a5cf0c365bacbf13e98ee0'] = 'Copie / pegue el código dado por LiveZilla';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_b17f3f4dcf653a5776792498a9b44d6a'] = 'Actualice la configuración';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_2bc19baeea1dd9e939091b1d414da0f7'] = 'Ayuda en directo LiveZilla';
|
||||
@@ -1,20 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_2b6ffc604d5470a856c3a7bba581d1ae'] = 'Chat intégré à votre site web';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_c888438d14855d7d96a2724ee9c306bd'] = 'Paramètres mis à jour';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_1445650302f377af43ee1f7738dc7b50'] = 'Guide';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_3e4804ddb635637d8b873f7cfee85ed5'] = 'LiveZilla n\'est pas une solution hébergée, ce qui signifie que LiveZilla doit être installé sur votre poste local (étape 1) ainsi que sur votre serveur (étape 2).';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_f3a98489037e44119b187247b5894526'] = 'L\'installation de LiveZilla sur votre serveur est dénommée \"LiveZilla Server\"';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_417de17915872c0304c7d0b01887fb9f'] = 'Une fois les étapes 1 et 2 complétées, vous devez renseigner l\'URL de votre installation de LiveZilla Server ci-dessous, ou directement copier / coller le script dans le bloc prévu à cet effet. Cette manipulation intégrera LiveZilla sur votre boutique (étape 3).';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_1965c2fd150423248634c52fc53c6e80'] = 'Le guide d\'installation complet est disponible sur';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_10827a74160be97df6c0873f7c9809b9'] = 'le site officiel de LiveZilla';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_0f7c0aba4acddebc7d72b7a91d339d46'] = 'Téléchargez LiveZilla dès maintenant !';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_254f642527b45bc260048e30704edb39'] = 'Configuration';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_e6e29281ee59dd8ab5c79b21737b6430'] = 'Indiquez l\'URL de LiveZilla Server';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_a1c537e365d5243201b00d3ea5a1ea00'] = 'URL absolue avec le slash de fin, ex. ';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_c718af0f8ee7235462f7c70ef974b2e7'] = '-- OU --';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_66a4362239a5cf0c365bacbf13e98ee0'] = 'Copiez / Collez le script donné par LiveZilla';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_b17f3f4dcf653a5776792498a9b44d6a'] = 'Mettre à jour';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_2bc19baeea1dd9e939091b1d414da0f7'] = 'Aide LiveZilla';
|
||||
@@ -1,20 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_2b6ffc604d5470a856c3a7bba581d1ae'] = 'Chat integrata ';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_c888438d14855d7d96a2724ee9c306bd'] = 'Impostazioni aggiornate';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_1445650302f377af43ee1f7738dc7b50'] = 'Guida';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_3e4804ddb635637d8b873f7cfee85ed5'] = 'LiveZilla non è una soluzione in hosting, il che significa che LiveZilla ha bisogno di essere installato sul computer locale (fase 1) e anche sul tuo server (fase 2) .';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_f3a98489037e44119b187247b5894526'] = 'L\'installazione LiveZilla sul tuo server è chiamata Server LiveZilla.';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_417de17915872c0304c7d0b01887fb9f'] = 'Una volta terminate le fasi 1 & 2, è necessario compilare l\'URL della tua installazione LiveZilla qui sotto o direttamente il copia / incolla lo script nell\'area di testo. Questo integrerà LiveZilla con il tuo sito web (fase 3).';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_1965c2fd150423248634c52fc53c6e80'] = 'La guida di installazione completa è disponibile sul';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_10827a74160be97df6c0873f7c9809b9'] = 'sito ufficiale LiveZilla';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_0f7c0aba4acddebc7d72b7a91d339d46'] = 'Scarica ora LiveZilla!';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_254f642527b45bc260048e30704edb39'] = 'Configurazione';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_e6e29281ee59dd8ab5c79b21737b6430'] = 'Inserisci l\'URL della tua installazione LiveZilla';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_a1c537e365d5243201b00d3ea5a1ea00'] = 'URL assoluto con il trailing slash, ad esempio,';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_c718af0f8ee7235462f7c70ef974b2e7'] = '- OPPURE -';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_66a4362239a5cf0c365bacbf13e98ee0'] = 'Copia / incolla lo script dato da LiveZilla';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_b17f3f4dcf653a5776792498a9b44d6a'] = 'Aggiorna le impostazioni';
|
||||
$_MODULE['<{livezilla}prestashop>livezilla_2bc19baeea1dd9e939091b1d414da0f7'] = 'LiveZilla Live Help';
|
||||
@@ -1,123 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
if (!defined('_CAN_LOAD_FILES_'))
|
||||
exit;
|
||||
|
||||
class LiveZilla extends Module
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$this->name = 'livezilla';
|
||||
$this->tab = 'front_office_features';
|
||||
$this->version = 1.0;
|
||||
$this->author = 'PrestaShop';
|
||||
|
||||
parent::__construct();
|
||||
|
||||
$this->displayName = 'LiveZilla';
|
||||
$this->description = $this->l('Live support chat');
|
||||
}
|
||||
|
||||
public function install()
|
||||
{
|
||||
if (!Configuration::get('LIVEZILLA_URL'))
|
||||
Configuration::updateValue('LIVEZILLA_URL', Tools::htmlentitiesUTF8($_SERVER['HTTP_HOST']).'/LiveZilla/');
|
||||
return (parent::install() AND $this->registerHook('rightColumn'));
|
||||
}
|
||||
|
||||
public function getContent()
|
||||
{
|
||||
if (Tools::isSubmit('submitLiveZilla'))
|
||||
{
|
||||
Configuration::updateValue('LIVEZILLA_URL', Tools::getValue('LIVEZILLA_URL_TYPE').Tools::getValue('LIVEZILLA_URL'));
|
||||
Configuration::updateValue('LIVEZILLA_SCRIPT', Tools::getValue('LIVEZILLA_SCRIPT'), true);
|
||||
echo $this->displayConfirmation($this->l('Settings updated'));
|
||||
}
|
||||
|
||||
$html = '<h2>'.$this->displayName.'</h2>
|
||||
<fieldset><legend><img src="../modules/'.$this->name.'/logo.gif" /> '.$this->l('How-to').'</legend>
|
||||
<img src="../modules/'.$this->name.'/lz_package.gif" style="float:right;margin-left:10px" />
|
||||
'.$this->l('LiveZilla is not a hosted solution, which means that LiveZilla needs to be installed on your local computer (step 1) and on your webserver (step 2) as well.').'
|
||||
'.$this->l('The LiveZilla installation on your webserver is called the LiveZilla Server.').'
|
||||
<br /><br />
|
||||
'.$this->l('Once you have finished step 1 & 2, you must fill in the URL of your LiveZilla installation below or directly copy / paste the script in the text area. This will integrates LiveZilla with your website (step 3).').'
|
||||
<br /><br />
|
||||
'.$this->l('The full installation guide is available on').' <a href="http://www.livezilla.net/installation/" style="text-decoration:underline">'.$this->l('the official LiveZilla website').'</a>.
|
||||
<br /><br />
|
||||
<a href="https://www.livezilla.net/downloads/" style="font-weight:700"><img src="../modules/'.$this->name.'/lz_download.gif" style="vertical-align:middle" /> '.$this->l('Download LiveZilla now!').'</a>
|
||||
</fieldset>
|
||||
<div class="clear"> </div>
|
||||
<form action="'.Tools::htmlentitiesUTF8($_SERVER['REQUEST_URI']).'" method="post">
|
||||
<fieldset><legend><img src="../modules/'.$this->name.'/logo.gif" /> '.$this->l('Configuration').'</legend>
|
||||
<label>'.$this->l('Enter the URL to your LiveZilla installation').'</label>
|
||||
<div class="margin-form">
|
||||
<select name="LIVEZILLA_URL_TYPE">
|
||||
<option '.(Tools::getValue('LIVEZILLA_URL_TYPE') == 'http://' ? ' selected="selected" ' : '' ).' value="http://">http://</option>
|
||||
<option '.(Tools::getValue('LIVEZILLA_URL_TYPE') == 'https://' ? ' selected="selected" ' : '' ).' value="https://">https://</option>
|
||||
</select>
|
||||
<input type="text" name="LIVEZILLA_URL" style="width:300px" value="'.Tools::htmlentitiesUTF8(Tools::getValue('LIVEZILLA_URL', Configuration::get('LIVEZILLA_URL'))).'" />
|
||||
<p>'.$this->l('Absolute URL with the trailing slash, e.g.,').' '.Tools::getProtocol().Tools::htmlentitiesUTF8($_SERVER['HTTP_HOST']).'/LiveZilla/</p>
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
<div style="font-size:1.2em;font-weight:700;text-align:center">'.$this->l('-- OR --').'</div>
|
||||
<div class="clear"> </div>
|
||||
<label>'.$this->l('Copy / paste the script given by LiveZilla').'</label>
|
||||
<div class="margin-form">
|
||||
<textarea name="LIVEZILLA_SCRIPT" style="width:600px;height:200px" />'.Tools::htmlentitiesUTF8(Tools::getValue('LIVEZILLA_SCRIPT', Configuration::get('LIVEZILLA_SCRIPT'))).'</textarea>
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
<input type="submit" name="submitLiveZilla" value="'.$this->l('Update settings').'" class="button" />
|
||||
</fieldset>
|
||||
</form>';
|
||||
return $html;
|
||||
}
|
||||
|
||||
private function displayBlock()
|
||||
{
|
||||
global $smarty;
|
||||
|
||||
|
||||
if ($livezilla_script = Configuration::get('LIVEZILLA_SCRIPT'))
|
||||
$smarty->assign('LIVEZILLA_SCRIPT', $livezilla_script);
|
||||
elseif ($livezilla_url = Configuration::get('LIVEZILLA_URL'))
|
||||
$smarty->assign('LIVEZILLA_URL', $livezilla_url);
|
||||
else
|
||||
$smarty->assign('LIVEZILLA_UNDEFINED', 1);
|
||||
return $this->display(__FILE__, 'livezilla.tpl');
|
||||
}
|
||||
|
||||
public function hookLeftColumn($params)
|
||||
{
|
||||
return $this->displayBlock();
|
||||
}
|
||||
|
||||
public function hookRightColumn($params)
|
||||
{
|
||||
return $this->displayBlock();
|
||||
}
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<div style="margin:10px 0">
|
||||
{if isset($LIVEZILLA_SCRIPT)}
|
||||
{$LIVEZILLA_SCRIPT}
|
||||
{elseif isset($LIVEZILLA_URL)}
|
||||
<a href="javascript:void(window.open('{$LIVEZILLA_URL}chat.php','','width=590,height=610,left=0,top=0,resizable=yes,menubar=no,location=no,status=yes,scrollbars=yes'))">
|
||||
<img src="{$LIVEZILLA_URL}image.php?id=01" width="191" height="69" border="0" alt="{l s='LiveZilla Live Help'}" />
|
||||
</a>
|
||||
<noscript>
|
||||
<div>
|
||||
<a href="{$LIVEZILLA_URL}chat.php" target="_blank">Start Live Help Chat</a>
|
||||
</div>
|
||||
</noscript>
|
||||
<div id="livezilla_tracking" style="display:none"></div>
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
var script = document.createElement("script");
|
||||
script.type = "text/javascript";
|
||||
var src = "{$LIVEZILLA_URL}server.php?request=track&output=jcrpt&nse=" + Math.random();
|
||||
setTimeout("script.src = src;document.getElementById('livezilla_tracking').appendChild(script)", 1);
|
||||
/* ]]> */
|
||||
</script>
|
||||
<noscript>
|
||||
<img src="{$LIVEZILLA_URL}server.php?request=track&output=nojcrpt" width="0" height="0" style="visibility:hidden" alt="" />
|
||||
</noscript>
|
||||
{else}
|
||||
<img src="{$base_dir}modules/livezilla/offline.png" width="191" height="69" border="0" alt="LiveZilla" />
|
||||
{/if}
|
||||
</div>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.0 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 9.0 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 6.5 KiB |
Reference in New Issue
Block a user