{*
* 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
*}
<script type="text/javascript">
$(function() {
	$("#shook [value='{$hook|escape:'html':'UTF-8'}']").attr("selected","selected");
	$("#shareThis [value='{$shareThis|escape:'html':'UTF-8'}']").attr("checked","checked");
});
</script>
<div class="panel">
	<h3><i class="icon icon-credit-card"></i> {l s='Número do Whatsapp' mod='ldwhatsapp'}</h3>
	<form class="form-horizontal" enctype="multipart/form-data" action="" method="POST">
    <div class="form-group">
		<label for="input1" class="col-sm-2 control-label">{l s='Serial' mod='ldwhatsapp'}</label>
		<div class="col-sm-8">
		  <input type="text" class="form-control" name="serial" id="serial" value="{$serial}">
			<br />
		</div>
		<div class="alert alert-warning col-sm-10 pull-right">
				&nbsp;{l s='Informe o número serial' mod='ldwhatsapp'}
		</div>
	  </div>    
	  <div class="form-group">
		<label for="input1" class="col-sm-2 control-label">{l s='Tel' mod='ldwhatsapp'}</label>
		<div class="col-sm-8">
		  <input type="text" class="form-control" name="phone" id="input1" value="{$whatasppno|escape:'html':'UTF-8'}" placeholder="{l s='55XX' mod='ldwhatsapp'}">
			<br />
		</div>
		<div class="alert alert-warning col-sm-10 pull-right">
			{if $lang_iso == 'br'}
				&nbsp;{l s='Adiciona o phonee com código do país, porém sem o "+"' mod='ldwhatsapp'} : <b>55</b>DDDXXXXXXXX
			{else}
				&nbsp;{l s='Add contry number not add + eg USA' mod='ldwhatsapp'} : <b>1</b>XXXXX
			{/if}
		</div>
	  </div>
	  <div class="form-group">
		<label for="shook" class="col-sm-2 control-label">{l s='Selecionar Hook' mod='ldwhatsapp'}</label>
		<div class="col-sm-8">
		  <select name="shook" id="shook" class="form-control">
			<option value="footer">{l s='Rodapé' mod='ldwhatsapp'}</option>
			<!--<option value="leftColumn">{l s='Coluna esquerda(Alguns temas)' mod='ldwhatsapp'}</option>
			<option value="rightColumn">{l s='Coluna Direita(Alguns temas)' mod='ldwhatsapp'}</option>-->
		  </select>
		</div>
	  </div>
	  <div class="form-group">	
	  <label for="shareThis" class="col-sm-2 control-label">{l s='Compartilhar Produto' mod='ldwhatsapp'}</label>
		<div class="col-sm-10">
			<span id="shareThis" class="switch prestashop-switch fixed-width-lg">
				<input type="radio" name="shareThis" id="CB_on" value="1" checked="checked"/>
				<label  for="CB_on">{l s='Sim' mod='ldwhatsapp'}</label>
				<input type="radio" name="shareThis" id="CB_off" value="0"/>
				<label  for="CB_off">{l s='Não' mod='ldwhatsapp'}</label>
				<a class="slide-button btn"></a>
			</span>
		</div>
	  </div>
	  <div class="form-group">
		<label for="shareMessage" class="col-sm-2 control-label">{l s='Messagem' mod='ldwhatsapp'}</label>
		<div class="col-sm-8">
		  <textarea name="shareMessage" id="shareMessage" class="form-control" cols="30" rows="2">{$shareMessage|escape:'html':'UTF-8'}</textarea>
		  <br />
		</div>
		<div class="alert alert-info col-sm-10 pull-right">
			&nbsp;{$pyazi|escape:'html':'UTF-8'} = {l s='Nome do Produto' mod='ldwhatsapp'}
		</div>
	  </div>
      <div class="form-group">
		<label for="local" class="col-sm-2 control-label">{l s='Local' mod='ldwhatsapp'}</label>
		<div class="col-sm-8">
		  <input type="text" class="form-control" name="local" id="local" value="{$local}">
			<br />
		</div>
		<div class="alert alert-warning col-sm-10 pull-right">
				&nbsp;{l s='ex.: 5px' mod='ldwhatsapp'}
		</div>
	  </div>
      <div class="form-group">
		<label for="color" class="col-sm-2 control-label">{l s='Cor' mod='ldwhatsapp'}</label>
		<div class="col-sm-8">
		  <input type="text" class="form-control" name="color" id="color" value="{$color}">
			<br />
		</div>
		<div class="alert alert-warning col-sm-10 pull-right">
            &nbsp;{l s='ex.: #65BC54 ou <b>transparent</b> para deixar sem cor' mod='ldwhatsapp'}
		</div>
	  </div>
      <div class="form-group">
		<label for="sheight" class="col-sm-2 control-label">{l s='Tamanho' mod='ldwhatsapp'}</label>
		<div class="col-sm-8">
		  <input type="text" class="form-control" name="sheight" id="sheight" value="{$sheight}">
			<br />
		</div>
		<div class="alert alert-warning col-sm-10 pull-right">
				&nbsp;{l s='ex.: 30px' mod='ldwhatsapp'}
		</div>
	  </div>    
	  <div class="form-group">
		<div class="col-sm-offset-2 col-sm-8">
		  <button type="submit" name="cmdSave" class="btn btn-default ">{l s='Salvar' mod='ldwhatsapp'}</button>
		</div>
	  </div>
	</form>
</div>