[+] FO : New Responsive, Bootstrap template

This commit is contained in:
Damien Metzger
2013-10-23 16:56:02 +02:00
parent 16dfea95e3
commit 69d5cb4ccd
639 changed files with 64771 additions and 7 deletions
@@ -0,0 +1,65 @@
{*
* 2007-2013 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-2013 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<!-- Block Newsletter module-->
<div id="newsletter_block_left" class="block">
<h4>{l s='Newsletter' mod='blocknewsletter'}</h4>
<div class="block_content">
<form action="{$link->getPageLink('index')|escape:'html'}" method="post">
<div class="form-group">
<input class="inputNew form-control grey" id="newsletter-input" type="text" name="email" size="18" value="{if isset($value) && $value}{$value}{else}{l s='Enter your e-mail' mod='blocknewsletter'}{/if}" />
<button type="submit" name="submitNewsletter" class="btn btn-default button button-small"><span>{l s='Ok' mod='blocknewsletter'}</span></button>
<input type="hidden" name="action" value="0" />
</div>
</form>
{if isset($msg) && $msg}
<div class="{if $nw_error}warning_inline{else}success_inline{/if}">{$msg}</div>
{/if}
</div>
</div>
<!-- /Block Newsletter module-->
<script type="text/javascript">
var placeholder = "{l s='Enter your e-mail' mod='blocknewsletter' js=1}";
$(document).ready(function() {ldelim}
$('#newsletter-input').on({ldelim}
focus: function() {ldelim}
if ($(this).val() == placeholder) {ldelim}
$(this).val('');
{rdelim}
{rdelim},
blur: function() {ldelim}
if ($(this).val() == '') {ldelim}
$(this).val(placeholder);
{rdelim}
{rdelim}
{rdelim});
{if isset($msg)}
$('#columns > .row').before('<div class="clearfix"></div><p class="alert {if $nw_error}alert-danger{else}alert-success{/if}">{l s="Newsletter:" js=1 mod="blocknewsletter"} {$msg}</p>');
{/if}
});
</script>