This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "mapwidgets/google-point-field-widget.html" %} | |
{% load i18n %} | |
{% block extra_javascript %} | |
$(document).ready(function() { | |
if (typeof map_widget_autofill == 'function'){ | |
map_widget_autofill(widget); | |
} | |
}); | |
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="payment_details" class="col-md-8"> | |
{% include 'form_error' %} | |
<form method="post" autocomplete="off" action="{{ model.form_action }}"> | |
<dl class="dl-horizontal"> | |
<dt>{{ lang.form.card.card_number }}:</dt> | |
<dd><input type="text" name="card_number" id="card_number" ></dd> | |
<dt>{{ lang.form.card.expiration }} (mm/yy):</dt> | |
<dd> | |
<input type="text" name="month" size="2" maxlength="2" id="month" > |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 2007-2014 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Put here: override/classes/controller/FrontController.php | |
class FrontController extends FrontControllerCore | |
{ | |
public function display() | |
{ | |
Media::addJsDef(array( | |
'str_lang_impossible_add_to_cart' => Tools::displayError('Impossible to add the product to the cart.'), | |
'str_lang_error_unable_to_delete_product' => Tools::displayError('ERROR: unable to delete the product.'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 2007-2014 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Feel free to copy IF you create a href link that point to http://www.dyrefoder.dk from your google indexed website | |
// Thank you | |
// Michael Hjulskov | |
// www.dyrefoder.dk | |
class FrontController extends FrontControllerCore | |
{ | |
public function init() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Michael Hjulskov - added this to fix issue with Google Adwords conversion tracking code | |
// REMEMBER TO ADD data-keepinline="true" to the order-confirmation.tpl to avoid javascript to get broken | |
Class Media extends MediaCore | |
{ | |
public static function deferScript($matches) | |
{ | |
if (!is_array($matches)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{* Michael Hjulskov Bing Ads conversion tracking *} | |
{literal} | |
<script data-keepinline="true">(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){var o={ti:"4039111"};o.q=w[u],w[u]=new UET(o),w[u].push("pageLoad")},n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function(){var s=this.readyState;s&&s!=="loaded"&&s!=="complete"||(f(),n.onload=n.onreadystatechange=null)},i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})(window,document,"script","//bat.bing.com/bat.js","uetq");</script><noscript><img src="//bat.bing.com/action/0?ti=4039111&Ver=2" height="0" width="0" style="display:none; visibility: hidden;" /></noscript> | |
<script data-keepinline="true"> window.uetq = window.uetq || []; | |
window.uetq.push({ 'gv': {/literal}{$total_paid|escape:'htmlall':'UTF-8'}{literal} }); | |
</script> | |
{/literal} | |
{* END Michael Hjulskov Bing Ads conversion tracking *} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Michael Hjulskov | |
*/ | |
class OrderConfirmationController extends OrderConfirmationControllerCore | |
{ | |
public function initContent() | |
{ | |
parent::initContent(); | |
$order = new Order($this->id_order); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* 2013 Ha!*!*y | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Academic Free License (AFL 3.0) | |
* It is available through the world-wide-web at this URL: | |
* http://opensource.org/licenses/afl-3.0.php | |
* |
NewerOlder