Merge branch 'fix-AideContact' into develop
This commit is contained in:
commit
40960bf54e
@ -40,9 +40,9 @@
|
||||
<a href="{$base_dir}" class="button">{l s='Home'}</a>
|
||||
</p>
|
||||
{else}
|
||||
<p class="bold">{l s='For questions about an order or for more information about our products'}.</p>
|
||||
{include file="$tpl_dir./errors.tpl"}
|
||||
<form action="{$request_uri|escape:'htmlall':'UTF-8'}" method="post" class="std" enctype="multipart/form-data">
|
||||
<form action="{$request_uri|escape:'htmlall':'UTF-8'}" method="post" class="std" enctype="multipart/form-data" style="{if isset($site_version) && $site_version == 'es'}background: #ffffff url(/img/logo_3.png) no-repeat 360px 145px;{else}background: #ffffff url(/img/logo_2.png) no-repeat 360px 145px;{/if}">
|
||||
<p class="bold">{l s='For questions about an order or for more information about our products'}.</p>
|
||||
<fieldset>
|
||||
<div class="content">
|
||||
<p class="select">
|
||||
@ -63,7 +63,6 @@
|
||||
{/foreach}
|
||||
</select>
|
||||
</p>
|
||||
<p id="desc_contact0" class="desc_contact"> </p>
|
||||
{foreach from=$contacts item=contact}
|
||||
<p id="desc_contact{$contact.id_contact|intval}" class="desc_contact" style="display:none;">
|
||||
{$contact.description|escape:'htmlall':'UTF-8'}
|
||||
@ -109,6 +108,9 @@
|
||||
<input type="file" name="fileUpload" id="fileUpload" />
|
||||
</p>
|
||||
{/if}
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<p class="textarea">
|
||||
<label for="message">{l s='Message'}</label>
|
||||
<textarea id="message" name="message">{if isset($message)}{$message|escape:'htmlall':'UTF-8'|stripslashes}{/if}</textarea>
|
||||
@ -116,7 +118,38 @@
|
||||
<p class="submit">
|
||||
<input type="submit" name="submitMessage" id="submitMessage" value="{l s='Send'}" class="button_large" onclick="$(this).hide();" />
|
||||
</p>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<div class="overlay_bbb" style="display: none;"></div>
|
||||
<div class="box_add_to_cart box_waiting" style="display: none;">
|
||||
<div class="content">
|
||||
<p style="text-align: center;">
|
||||
<img src="{if isset($site_version) && $site_version == 'es'}/img/logo_3.png{else}/img/logo_2.png{/if}" alt="">
|
||||
<br />
|
||||
<span>{l s='Redirection vers le formulaire, veuillez patienter'}</span>
|
||||
<br />
|
||||
<img src="img/loader_payment.gif" alt="">
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
$(function() {
|
||||
if($("option:selected", $('#id_contact')).val() == 9 || $("option:selected", $('#id_contact')).val() == 1){
|
||||
$('.overlay_bbb').fadeIn();
|
||||
$('.box_waiting').fadeIn();
|
||||
window.location = "{/literal}{$base_dir_ssl}{literal}modules/ant_support_form/support.php?id_contact="+$("option:selected", $('#id_contact')).val();
|
||||
}
|
||||
$('#id_contact').change(function() {
|
||||
if($("option:selected", $('#id_contact')).val() == 9 || $("option:selected", $('#id_contact')).val() == 1){
|
||||
$('.overlay_bbb').fadeIn();
|
||||
$('.box_waiting').fadeIn();
|
||||
window.location = "{/literal}{$base_dir_ssl}{literal}modules/ant_support_form/support.php?id_contact="+$("option:selected", $('#id_contact')).val();
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
{/if}
|
||||
|
@ -7128,4 +7128,26 @@ table#carrierTable tbody td {
|
||||
}
|
||||
#history #block-history .alternate_item {
|
||||
background: #F3F3F3;
|
||||
}
|
||||
|
||||
/* Contact form */
|
||||
#contact-form form{
|
||||
background: #ffffff url(/img/logo_2.png) no-repeat 360px 120px;
|
||||
padding: 20px;
|
||||
margin-bottom: 20px;
|
||||
-moz-box-shadow: 2px 2px 5px #cccccc;
|
||||
-webkit-box-shadow: 2px 2px 5px #cccccc;
|
||||
-ms-box-shadow: 2px 2px 5px #cccccc;
|
||||
-o-box-shadow: 2px 2px 5px #cccccc;
|
||||
box-shadow: 2px 2px 5px #cccccc;
|
||||
}
|
||||
#contact-form form p.bold {
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
#contact-form #center_column textarea {
|
||||
height: 150px;
|
||||
padding: 5px;
|
||||
width: 700px;
|
||||
}
|
Loading…
Reference in New Issue
Block a user