change line endings for easy patching
This commit is contained in:
parent
f67736a60f
commit
2e429beb94
Binary file not shown.
|
@ -1,25 +1,25 @@
|
||||||
---- IDENT ----
|
---- IDENT ----
|
||||||
d3_hp_vorkassemail_cust_plain
|
d3_hp_vorkassemail_cust_plain
|
||||||
|
|
||||||
---- TITEL ----
|
---- TITEL ----
|
||||||
Heidelpay Vorkasseinfomail Kunde Plain
|
Heidelpay Vorkasseinfomail Kunde Plain
|
||||||
|
|
||||||
---- LANGTEXT ----
|
---- LANGTEXT ----
|
||||||
Sehr geehrter Kunde,
|
Sehr geehrter Kunde,
|
||||||
|
|
||||||
Sie haben bei Ihrer Bestellung die Bezahlart "Vorkasse" oder "Rechnung" gewählt.
|
Sie haben bei Ihrer Bestellung die Bezahlart "Vorkasse" oder "Rechnung" gewählt.
|
||||||
Wir konnten heute Ihren Zahlungseingang verbuchen.
|
Wir konnten heute Ihren Zahlungseingang verbuchen.
|
||||||
|
|
||||||
[{if $order->blDifferentAmount}]
|
[{if $order->blDifferentAmount}]
|
||||||
Achtung, der von Ihnen überwiesene Betrag ([{$order->fPayAmount}] [{$order->oxorder__oxcurrency->value}])
|
Achtung, der von Ihnen überwiesene Betrag ([{$order->fPayAmount}] [{$order->oxorder__oxcurrency->value}])
|
||||||
stimmt nicht mit dem Gesamtbetrag der Bestellung ([{$order->getTotalOrderSum()}] [{$order->oxorder__oxcurrency->value}])
|
stimmt nicht mit dem Gesamtbetrag der Bestellung ([{$order->getTotalOrderSum()}] [{$order->oxorder__oxcurrency->value}])
|
||||||
überein!
|
überein!
|
||||||
Bitte kontaktieren Sie uns umgehend per eMail oder Telefon.
|
Bitte kontaktieren Sie uns umgehend per eMail oder Telefon.
|
||||||
[{else}]
|
[{else}]
|
||||||
Ihre Bestellung wird nun umgehend von uns bearbeitet und versandt.
|
Ihre Bestellung wird nun umgehend von uns bearbeitet und versandt.
|
||||||
[{/if}]
|
[{/if}]
|
||||||
|
|
||||||
Vielen Dank.
|
Vielen Dank.
|
||||||
|
|
||||||
Beste Grüße
|
Beste Grüße
|
||||||
Ihr Shop Team
|
Ihr Shop Team
|
|
@ -1,8 +1,8 @@
|
||||||
---- IDENT ----
|
---- IDENT ----
|
||||||
d3_hp_vorkassemail_cust_subject
|
d3_hp_vorkassemail_cust_subject
|
||||||
|
|
||||||
---- TITEL ----
|
---- TITEL ----
|
||||||
Heidelpay Vorkasseinfomail Kunde Betreff
|
Heidelpay Vorkasseinfomail Kunde Betreff
|
||||||
|
|
||||||
---- LANGTEXT ----
|
---- LANGTEXT ----
|
||||||
Zahlungseingang zu Ihrer Bestellung [{$order->oxorder__oxordernr->value}] in unserem Online Shop
|
Zahlungseingang zu Ihrer Bestellung [{$order->oxorder__oxordernr->value}] in unserem Online Shop
|
|
@ -1,26 +1,26 @@
|
||||||
---- IDENT ----
|
---- IDENT ----
|
||||||
d3_hp_vorkassemail_cust_text
|
d3_hp_vorkassemail_cust_text
|
||||||
|
|
||||||
---- TITEL ----
|
---- TITEL ----
|
||||||
Heidelpay Vorkasseinfomail Kunde Text
|
Heidelpay Vorkasseinfomail Kunde Text
|
||||||
|
|
||||||
---- LANGTEXT ----
|
---- LANGTEXT ----
|
||||||
Sehr geehrter Kunde,<br/><br/>
|
Sehr geehrter Kunde,<br/><br/>
|
||||||
|
|
||||||
<p>Sie haben bei Ihrer Bestellung die Bezahlart "Vorkasse" oder "Rechnung" gewählt.
|
<p>Sie haben bei Ihrer Bestellung die Bezahlart "Vorkasse" oder "Rechnung" gewählt.
|
||||||
Wir konnten heute Ihren Zahlungseingang verbuchen.<br/><br/>
|
Wir konnten heute Ihren Zahlungseingang verbuchen.<br/><br/>
|
||||||
[{if $order->blDifferentAmount}]
|
[{if $order->blDifferentAmount}]
|
||||||
Achtung, der von Ihnen überwiesene Betrag ([{$order->fPayAmount}] [{$order->oxorder__oxcurrency->value}])
|
Achtung, der von Ihnen überwiesene Betrag ([{$order->fPayAmount}] [{$order->oxorder__oxcurrency->value}])
|
||||||
stimmt nicht mit dem Gesamtbetrag der Bestellung ([{$order->getTotalOrderSum()}] [{$order->oxorder__oxcurrency->value}])
|
stimmt nicht mit dem Gesamtbetrag der Bestellung ([{$order->getTotalOrderSum()}] [{$order->oxorder__oxcurrency->value}])
|
||||||
überein!<br/><br/>
|
überein!<br/><br/>
|
||||||
Bitte kontaktieren Sie uns umgehend per eMail oder Telefon.
|
Bitte kontaktieren Sie uns umgehend per eMail oder Telefon.
|
||||||
[{else}]
|
[{else}]
|
||||||
Ihre Bestellung wird nun
|
Ihre Bestellung wird nun
|
||||||
umgehend von uns bearbeitet und versandt.
|
umgehend von uns bearbeitet und versandt.
|
||||||
[{/if}]
|
[{/if}]
|
||||||
</p><br/><br/>
|
</p><br/><br/>
|
||||||
|
|
||||||
Vielen Dank.<br/><br/>
|
Vielen Dank.<br/><br/>
|
||||||
|
|
||||||
Beste Grüße<br/>
|
Beste Grüße<br/>
|
||||||
Ihr Shop Team
|
Ihr Shop Team
|
|
@ -1,19 +1,19 @@
|
||||||
---- IDENT ----
|
---- IDENT ----
|
||||||
d3_hp_vorkassemail_owner_plain
|
d3_hp_vorkassemail_owner_plain
|
||||||
|
|
||||||
---- TITEL ----
|
---- TITEL ----
|
||||||
Heidelpay Vorkasseinfomail Shopinhaber Plain
|
Heidelpay Vorkasseinfomail Shopinhaber Plain
|
||||||
|
|
||||||
---- LANGTEXT ----
|
---- LANGTEXT ----
|
||||||
Hallo,
|
Hallo,
|
||||||
|
|
||||||
Soeben konnte für Bestellung Nr [{$order->oxorder__oxordernr->value}] ein Zahlungseingang verbucht werden.
|
Soeben konnte für Bestellung Nr [{$order->oxorder__oxordernr->value}] ein Zahlungseingang verbucht werden.
|
||||||
|
|
||||||
[{if $order->blDifferentAmount}]
|
[{if $order->blDifferentAmount}]
|
||||||
Achtung, der überwiesene Betrag ([{$order->fPayAmount}] [{$order->oxorder__oxcurrency->value}])
|
Achtung, der überwiesene Betrag ([{$order->fPayAmount}] [{$order->oxorder__oxcurrency->value}])
|
||||||
stimmt NICHT mit dem Gesamtbetrag der Bestellung ([{$order->getTotalOrderSum()}]
|
stimmt NICHT mit dem Gesamtbetrag der Bestellung ([{$order->getTotalOrderSum()}]
|
||||||
[{$order->oxorder__oxcurrency->value}]) überein!
|
[{$order->oxorder__oxcurrency->value}]) überein!
|
||||||
[{else}]
|
[{else}]
|
||||||
Der überwiesene Betrag ([{$order->getTotalOrderSum()}] [{$order->oxorder__oxcurrency->value}])
|
Der überwiesene Betrag ([{$order->getTotalOrderSum()}] [{$order->oxorder__oxcurrency->value}])
|
||||||
stimmt mit der Bestellsumme überein. Die Bestellung kann versandt werden.
|
stimmt mit der Bestellsumme überein. Die Bestellung kann versandt werden.
|
||||||
[{/if}]
|
[{/if}]
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
---- IDENT ----
|
---- IDENT ----
|
||||||
d3_hp_vorkassemail_owner_subject
|
d3_hp_vorkassemail_owner_subject
|
||||||
|
|
||||||
---- TITEL ----
|
---- TITEL ----
|
||||||
Heidelpay Vorkasseinfomail Shopinhaber Betreff
|
Heidelpay Vorkasseinfomail Shopinhaber Betreff
|
||||||
|
|
||||||
---- LANGTEXT ----
|
---- LANGTEXT ----
|
||||||
Zahlungseingang für Bestellung [{$order->oxorder__oxordernr->value}]
|
Zahlungseingang für Bestellung [{$order->oxorder__oxordernr->value}]
|
|
@ -1,24 +1,24 @@
|
||||||
---- IDENT ----
|
---- IDENT ----
|
||||||
d3_hp_vorkassemail_owner_text
|
d3_hp_vorkassemail_owner_text
|
||||||
|
|
||||||
---- TITEL ----
|
---- TITEL ----
|
||||||
Heidelpay Vorkasseinfomail Shopinhaber Text
|
Heidelpay Vorkasseinfomail Shopinhaber Text
|
||||||
|
|
||||||
---- LANGTEXT ----
|
---- LANGTEXT ----
|
||||||
Hallo,<br/><br/>
|
Hallo,<br/><br/>
|
||||||
|
|
||||||
Soeben konnte für Bestellung Nr. [{$order->oxorder__oxordernr->value}] ein
|
Soeben konnte für Bestellung Nr. [{$order->oxorder__oxordernr->value}] ein
|
||||||
Zahlungseingang verbucht werden.<br/><br/>
|
Zahlungseingang verbucht werden.<br/><br/>
|
||||||
|
|
||||||
[{if $order->blDifferentAmount}]
|
[{if $order->blDifferentAmount}]
|
||||||
<div style="color: red; font-weight: bold">
|
<div style="color: red; font-weight: bold">
|
||||||
Achtung, der überwiesene Betrag ([{$order->fPayAmount}] [{$order->oxorder__oxcurrency->value}])
|
Achtung, der überwiesene Betrag ([{$order->fPayAmount}] [{$order->oxorder__oxcurrency->value}])
|
||||||
stimmt NICHT mit dem Gesamtbetrag der Bestellung
|
stimmt NICHT mit dem Gesamtbetrag der Bestellung
|
||||||
([{$order->getTotalOrderSum()}] [{$order->oxorder__oxcurrency->value}]) überein!
|
([{$order->getTotalOrderSum()}] [{$order->oxorder__oxcurrency->value}]) überein!
|
||||||
</div><br/>
|
</div><br/>
|
||||||
[{else}]
|
[{else}]
|
||||||
<div style="color: #123123; font-weight: bold">
|
<div style="color: #123123; font-weight: bold">
|
||||||
Der überwiesene Betrag ([{$order->getTotalOrderSum()}] [{$order->oxorder__oxcurrency->value}]) stimmt mit
|
Der überwiesene Betrag ([{$order->getTotalOrderSum()}] [{$order->oxorder__oxcurrency->value}]) stimmt mit
|
||||||
der Bestellsumme überein. Die Bestellung kann versandt werden.
|
der Bestellsumme überein. Die Bestellung kann versandt werden.
|
||||||
</div><br/>
|
</div><br/>
|
||||||
[{/if}]
|
[{/if}]
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
/usr/local/php5/bin/php-cli /ihr/serverpfad/zum/shop/modules/d3/heidelpay/Cron/cron_bankaccount.php
|
/usr/local/php5/bin/php-cli /ihr/serverpfad/zum/shop/modules/d3/heidelpay/Cron/cron_bankaccount.php
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright (c) 2014 Carlos Souza
|
Copyright (c) 2014 Carlos Souza
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
in the Software without restriction, including without limitation the rights
|
in the Software without restriction, including without limitation the rights
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
furnished to do so, subject to the following conditions:
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
The above copyright notice and this permission notice shall be included in all
|
||||||
copies or substantial portions of the Software.
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
SOFTWARE.
|
SOFTWARE.
|
||||||
|
|
|
@ -1,199 +1,199 @@
|
||||||
/*
|
/*
|
||||||
* jQuery-Simple-Timer
|
* jQuery-Simple-Timer
|
||||||
*
|
*
|
||||||
* Creates a countdown timer.
|
* Creates a countdown timer.
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* $('.timer').startTimer();
|
* $('.timer').startTimer();
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
(function($){
|
(function($){
|
||||||
|
|
||||||
var timer;
|
var timer;
|
||||||
|
|
||||||
var Timer = function(targetElement){
|
var Timer = function(targetElement){
|
||||||
this.targetElement = targetElement;
|
this.targetElement = targetElement;
|
||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
|
|
||||||
Timer.start = function(options, targetElement){
|
Timer.start = function(options, targetElement){
|
||||||
timer = new Timer(targetElement);
|
timer = new Timer(targetElement);
|
||||||
return timer.start(options);
|
return timer.start(options);
|
||||||
};
|
};
|
||||||
|
|
||||||
Timer.prototype.start = function(options) {
|
Timer.prototype.start = function(options) {
|
||||||
var createSubDivs = function(timerBoxElement){
|
var createSubDivs = function(timerBoxElement){
|
||||||
var seconds = document.createElement('div');
|
var seconds = document.createElement('div');
|
||||||
seconds.className = 'seconds';
|
seconds.className = 'seconds';
|
||||||
|
|
||||||
var minutes = document.createElement('div');
|
var minutes = document.createElement('div');
|
||||||
minutes.className = 'minutes';
|
minutes.className = 'minutes';
|
||||||
|
|
||||||
var hours = document.createElement('div');
|
var hours = document.createElement('div');
|
||||||
hours.className = 'hours';
|
hours.className = 'hours';
|
||||||
|
|
||||||
var clearDiv = document.createElement('div');
|
var clearDiv = document.createElement('div');
|
||||||
clearDiv.className = 'clearDiv';
|
clearDiv.className = 'clearDiv';
|
||||||
|
|
||||||
return timerBoxElement.
|
return timerBoxElement.
|
||||||
append(hours).
|
append(hours).
|
||||||
append(minutes).
|
append(minutes).
|
||||||
append(seconds).
|
append(seconds).
|
||||||
append(clearDiv);
|
append(clearDiv);
|
||||||
};
|
};
|
||||||
|
|
||||||
this.targetElement.each(function(_index, timerBox) {
|
this.targetElement.each(function(_index, timerBox) {
|
||||||
var timerBoxElement = $(timerBox);
|
var timerBoxElement = $(timerBox);
|
||||||
var cssClassSnapshot = timerBoxElement.attr('class');
|
var cssClassSnapshot = timerBoxElement.attr('class');
|
||||||
|
|
||||||
timerBoxElement.on('complete', function() {
|
timerBoxElement.on('complete', function() {
|
||||||
clearInterval(timerBoxElement.intervalId);
|
clearInterval(timerBoxElement.intervalId);
|
||||||
});
|
});
|
||||||
|
|
||||||
timerBoxElement.on('complete', function() {
|
timerBoxElement.on('complete', function() {
|
||||||
timerBoxElement.onComplete(timerBoxElement);
|
timerBoxElement.onComplete(timerBoxElement);
|
||||||
});
|
});
|
||||||
|
|
||||||
timerBoxElement.on('complete', function(){
|
timerBoxElement.on('complete', function(){
|
||||||
timerBoxElement.addClass('timeout');
|
timerBoxElement.addClass('timeout');
|
||||||
});
|
});
|
||||||
|
|
||||||
timerBoxElement.on('complete', function(){
|
timerBoxElement.on('complete', function(){
|
||||||
if(options && options.loop === true) {
|
if(options && options.loop === true) {
|
||||||
timer.resetTimer(timerBoxElement, options, cssClassSnapshot);
|
timer.resetTimer(timerBoxElement, options, cssClassSnapshot);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
createSubDivs(timerBoxElement);
|
createSubDivs(timerBoxElement);
|
||||||
return this.startCountdown(timerBoxElement, options);
|
return this.startCountdown(timerBoxElement, options);
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Resets timer and add css class 'loop' to indicate the timer is in a loop.
|
* Resets timer and add css class 'loop' to indicate the timer is in a loop.
|
||||||
* $timerBox {jQuery object} - The timer element
|
* $timerBox {jQuery object} - The timer element
|
||||||
* options {object} - The options for the timer
|
* options {object} - The options for the timer
|
||||||
* css - The original css of the element
|
* css - The original css of the element
|
||||||
*/
|
*/
|
||||||
Timer.prototype.resetTimer = function($timerBox, options, css) {
|
Timer.prototype.resetTimer = function($timerBox, options, css) {
|
||||||
var interval = 0;
|
var interval = 0;
|
||||||
if(options.loopInterval) {
|
if(options.loopInterval) {
|
||||||
interval = parseInt(options.loopInterval, 10) * 1000;
|
interval = parseInt(options.loopInterval, 10) * 1000;
|
||||||
}
|
}
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
$timerBox.trigger('reset');
|
$timerBox.trigger('reset');
|
||||||
$timerBox.attr('class', css + ' loop');
|
$timerBox.attr('class', css + ' loop');
|
||||||
timer.startCountdown($timerBox, options);
|
timer.startCountdown($timerBox, options);
|
||||||
}, interval);
|
}, interval);
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Function finds out the number of seconds left in the timer of the particular element
|
* Function finds out the number of seconds left in the timer of the particular element
|
||||||
* element - the element of which the number of seconds left has to be found
|
* element - the element of which the number of seconds left has to be found
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Timer.prototype.fetchSecondsLeft = function(element){
|
Timer.prototype.fetchSecondsLeft = function(element){
|
||||||
var secondsLeft = element.data('seconds-left');
|
var secondsLeft = element.data('seconds-left');
|
||||||
var minutesLeft = element.data('minutes-left');
|
var minutesLeft = element.data('minutes-left');
|
||||||
|
|
||||||
if(minutesLeft === undefined){
|
if(minutesLeft === undefined){
|
||||||
return parseInt(secondsLeft, 10);
|
return parseInt(secondsLeft, 10);
|
||||||
} else if(secondsLeft === undefined) {
|
} else if(secondsLeft === undefined) {
|
||||||
return parseFloat(minutesLeft) * 60;
|
return parseFloat(minutesLeft) * 60;
|
||||||
}else{
|
}else{
|
||||||
throw 'Missing time data';
|
throw 'Missing time data';
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Function starts the countdown of each of the element and binds clear when completed
|
* Function starts the countdown of each of the element and binds clear when completed
|
||||||
* element - The element whose timer is to initiated
|
* element - The element whose timer is to initiated
|
||||||
* options - Options specified in api call
|
* options - Options specified in api call
|
||||||
*/
|
*/
|
||||||
Timer.prototype.startCountdown = function(element, options) {
|
Timer.prototype.startCountdown = function(element, options) {
|
||||||
options = options || {};
|
options = options || {};
|
||||||
|
|
||||||
var intervalId = null;
|
var intervalId = null;
|
||||||
var defaultComplete = function(){
|
var defaultComplete = function(){
|
||||||
clearInterval(intervalId);
|
clearInterval(intervalId);
|
||||||
return this.clearTimer(element);
|
return this.clearTimer(element);
|
||||||
}.bind(this);
|
}.bind(this);
|
||||||
|
|
||||||
element.onComplete = options.onComplete || defaultComplete;
|
element.onComplete = options.onComplete || defaultComplete;
|
||||||
|
|
||||||
var secondsLeft = this.fetchSecondsLeft(element);
|
var secondsLeft = this.fetchSecondsLeft(element);
|
||||||
if(secondsLeft==0)
|
if(secondsLeft==0)
|
||||||
{
|
{
|
||||||
clearInterval(intervalId);
|
clearInterval(intervalId);
|
||||||
return this.clearTimer(element);
|
return this.clearTimer(element);
|
||||||
}
|
}
|
||||||
var refreshRate = options.refreshRate || 1000;
|
var refreshRate = options.refreshRate || 1000;
|
||||||
var endTime = secondsLeft + this.currentTime();
|
var endTime = secondsLeft + this.currentTime();
|
||||||
var timeLeft = endTime - this.currentTime();
|
var timeLeft = endTime - this.currentTime();
|
||||||
|
|
||||||
this.setFinalValue(this.formatTimeLeft(timeLeft), element);
|
this.setFinalValue(this.formatTimeLeft(timeLeft), element);
|
||||||
|
|
||||||
intervalId = setInterval((function() {
|
intervalId = setInterval((function() {
|
||||||
timeLeft = endTime - this.currentTime();
|
timeLeft = endTime - this.currentTime();
|
||||||
this.setFinalValue(this.formatTimeLeft(timeLeft), element);
|
this.setFinalValue(this.formatTimeLeft(timeLeft), element);
|
||||||
}.bind(this)), refreshRate);
|
}.bind(this)), refreshRate);
|
||||||
|
|
||||||
element.intervalId = intervalId;
|
element.intervalId = intervalId;
|
||||||
};
|
};
|
||||||
|
|
||||||
Timer.prototype.clearTimer = function(element){
|
Timer.prototype.clearTimer = function(element){
|
||||||
element.find('.seconds').text('00');
|
element.find('.seconds').text('00');
|
||||||
element.find('.minutes').text('00:');
|
element.find('.minutes').text('00:');
|
||||||
element.find('.hours').text('00:');
|
element.find('.hours').text('00:');
|
||||||
};
|
};
|
||||||
|
|
||||||
Timer.prototype.currentTime = function() {
|
Timer.prototype.currentTime = function() {
|
||||||
return Math.round((new Date()).getTime() / 1000);
|
return Math.round((new Date()).getTime() / 1000);
|
||||||
};
|
};
|
||||||
|
|
||||||
Timer.prototype.formatTimeLeft = function(timeLeft) {
|
Timer.prototype.formatTimeLeft = function(timeLeft) {
|
||||||
var lpad = function(n, width) {
|
var lpad = function(n, width) {
|
||||||
width = width || 2;
|
width = width || 2;
|
||||||
n = n + '';
|
n = n + '';
|
||||||
|
|
||||||
var padded = null;
|
var padded = null;
|
||||||
|
|
||||||
if (n.length >= width) {
|
if (n.length >= width) {
|
||||||
padded = n;
|
padded = n;
|
||||||
} else {
|
} else {
|
||||||
padded = new Array(width - n.length + 1).join(0) + n;
|
padded = new Array(width - n.length + 1).join(0) + n;
|
||||||
}
|
}
|
||||||
return padded;
|
return padded;
|
||||||
};
|
};
|
||||||
|
|
||||||
var hours, minutes, remaining, seconds;
|
var hours, minutes, remaining, seconds;
|
||||||
remaining = new Date(timeLeft * 1000);
|
remaining = new Date(timeLeft * 1000);
|
||||||
hours = remaining.getUTCHours();
|
hours = remaining.getUTCHours();
|
||||||
minutes = remaining.getUTCMinutes();
|
minutes = remaining.getUTCMinutes();
|
||||||
seconds = remaining.getUTCSeconds();
|
seconds = remaining.getUTCSeconds();
|
||||||
|
|
||||||
if (+hours === 0 && +minutes === 0 && +seconds === 0) {
|
if (+hours === 0 && +minutes === 0 && +seconds === 0) {
|
||||||
return [];
|
return [];
|
||||||
} else {
|
} else {
|
||||||
return [lpad(hours), lpad(minutes), lpad(seconds)];
|
return [lpad(hours), lpad(minutes), lpad(seconds)];
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Timer.prototype.setFinalValue = function(finalValues, element) {
|
Timer.prototype.setFinalValue = function(finalValues, element) {
|
||||||
if(finalValues.length === 0){
|
if(finalValues.length === 0){
|
||||||
this.clearTimer(element);
|
this.clearTimer(element);
|
||||||
element.trigger('complete');
|
element.trigger('complete');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
element.find('.seconds').text(finalValues.pop());
|
element.find('.seconds').text(finalValues.pop());
|
||||||
element.find('.minutes').text(finalValues.pop() + ':');
|
element.find('.minutes').text(finalValues.pop() + ':');
|
||||||
element.find('.hours').text(finalValues.pop() + ':');
|
element.find('.hours').text(finalValues.pop() + ':');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
$.fn.startTimer = function(options) {
|
$.fn.startTimer = function(options) {
|
||||||
Timer.start(options, this);
|
Timer.start(options, this);
|
||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# enabling file access
|
# enabling file access
|
||||||
<FilesMatch .*>
|
<FilesMatch .*>
|
||||||
<IfModule mod_authz_core.c>
|
<IfModule mod_authz_core.c>
|
||||||
Require all granted
|
Require all granted
|
||||||
</IfModule>
|
</IfModule>
|
||||||
<IfModule !mod_authz_core.c>
|
<IfModule !mod_authz_core.c>
|
||||||
order allow,deny
|
order allow,deny
|
||||||
allow from all
|
allow from all
|
||||||
</IfModule>
|
</IfModule>
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
|
|
||||||
Options -Indexes
|
Options -Indexes
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,11 +1,11 @@
|
||||||
[{capture append="oxidBlock_content"}]
|
[{capture append="oxidBlock_content"}]
|
||||||
[{* ordering steps *}]
|
[{* ordering steps *}]
|
||||||
<!-- ordering steps -->
|
<!-- ordering steps -->
|
||||||
[{include file="page/checkout/inc/steps.tpl" active=4}]
|
[{include file="page/checkout/inc/steps.tpl" active=4}]
|
||||||
<h1 class="pageHead">[{oxmultilang ident="D3HEIDELPAY_CC_INPUT_TITLENR"}]</h1>
|
<h1 class="pageHead">[{oxmultilang ident="D3HEIDELPAY_CC_INPUT_TITLENR"}]</h1>
|
||||||
<div id="payment">
|
<div id="payment">
|
||||||
[{include file=$oView->d3GetAfterStepTemplate()}]
|
[{include file=$oView->d3GetAfterStepTemplate()}]
|
||||||
</div>
|
</div>
|
||||||
[{insert name="oxid_tracker" title=$template_title}]
|
[{insert name="oxid_tracker" title=$template_title}]
|
||||||
[{/capture}]
|
[{/capture}]
|
||||||
[{include file="layout/page.tpl"}]
|
[{include file="layout/page.tpl"}]
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[{if $easyCreditInformations}]
|
[{if $easyCreditInformations}]
|
||||||
<tr>
|
<tr>
|
||||||
<th>[{oxmultilang ident="D3HEIDELPAY_ORDER_EASYCREDIT_ACCRUINGINTEREST"}]</th>
|
<th>[{oxmultilang ident="D3HEIDELPAY_ORDER_EASYCREDIT_ACCRUINGINTEREST"}]</th>
|
||||||
<td>[{oxprice price=$easyCreditInformations.criterion_easycredit_accruinginterest currency=$currency}]</td>
|
<td>[{oxprice price=$easyCreditInformations.criterion_easycredit_accruinginterest currency=$currency}]</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>[{oxmultilang ident="D3HEIDELPAY_ORDER_EASYCREDIT_TOTALAMOUNT"}]</th>
|
<th>[{oxmultilang ident="D3HEIDELPAY_ORDER_EASYCREDIT_TOTALAMOUNT"}]</th>
|
||||||
<td>[{oxprice price=$easyCreditInformations.criterion_easycredit_totalamount currency=$currency}]</td>
|
<td>[{oxprice price=$easyCreditInformations.criterion_easycredit_totalamount currency=$currency}]</td>
|
||||||
</tr>
|
</tr>
|
||||||
[{/if}]
|
[{/if}]
|
||||||
|
|
|
@ -1,35 +1,35 @@
|
||||||
[{assign var='oHeidelPaySettings' value=$oHeidelpayViewConfig->getSettings()}]
|
[{assign var='oHeidelPaySettings' value=$oHeidelpayViewConfig->getSettings()}]
|
||||||
[{assign var='oHeidelPayment' value=$oHeidelPaySettings->getPayment($paymentmethod)}]
|
[{assign var='oHeidelPayment' value=$oHeidelPaySettings->getPayment($paymentmethod)}]
|
||||||
[{assign var="aBrands" value=$oHeidelpayViewConfig->getHeidelpayNgwBrands($paymentmethod, $oHeidelPayment, $oxcmp_user)}]
|
[{assign var="aBrands" value=$oHeidelpayViewConfig->getHeidelpayNgwBrands($paymentmethod, $oHeidelPayment, $oxcmp_user)}]
|
||||||
[{assign var="sImageUrl" value=$oViewConf->getModuleUrl('d3heidelpay','out/img/')}]
|
[{assign var="sImageUrl" value=$oViewConf->getModuleUrl('d3heidelpay','out/img/')}]
|
||||||
|
|
||||||
[{block name="heidelpay_cards"}]
|
[{block name="heidelpay_cards"}]
|
||||||
<dl>
|
<dl>
|
||||||
<dt>
|
<dt>
|
||||||
<input id="payment_[{$sPaymentID}]"
|
<input id="payment_[{$sPaymentID}]"
|
||||||
type="radio"
|
type="radio"
|
||||||
name="paymentid"
|
name="paymentid"
|
||||||
value="[{$sPaymentID}]"
|
value="[{$sPaymentID}]"
|
||||||
[{if $oView->getCheckedPaymentId() == $paymentmethod->oxpayments__oxid->value}]checked[{/if}]>
|
[{if $oView->getCheckedPaymentId() == $paymentmethod->oxpayments__oxid->value}]checked[{/if}]>
|
||||||
<label for="payment_[{$sPaymentID}]"><b>[{$paymentmethod->oxpayments__oxdesc->value}]</b></label>
|
<label for="payment_[{$sPaymentID}]"><b>[{$paymentmethod->oxpayments__oxdesc->value}]</b></label>
|
||||||
[{foreach from=$aBrands item='sBrandName' key='sBrandIdent'}]
|
[{foreach from=$aBrands item='sBrandName' key='sBrandIdent'}]
|
||||||
[{assign var="sBrandIdent" value=$sBrandIdent|lower}]
|
[{assign var="sBrandIdent" value=$sBrandIdent|lower}]
|
||||||
[{assign var="sFullImageUrl" value=$sImageUrl|cat:'logo_'|cat:$sBrandIdent|cat:'.jpg'}]
|
[{assign var="sFullImageUrl" value=$sImageUrl|cat:'logo_'|cat:$sBrandIdent|cat:'.jpg'}]
|
||||||
[{include file="d3_heidelpay_views_tpl_payment_img.tpl" sImageUrl=$sFullImageUrl sBrandIdent=$sBrandIdent}]
|
[{include file="d3_heidelpay_views_tpl_payment_img.tpl" sImageUrl=$sFullImageUrl sBrandIdent=$sBrandIdent}]
|
||||||
[{/foreach}]
|
[{/foreach}]
|
||||||
</dt>
|
</dt>
|
||||||
<dd class="[{if $oView->getCheckedPaymentId() == $paymentmethod->oxpayments__oxid->value}]activePayment[{/if}]">
|
<dd class="[{if $oView->getCheckedPaymentId() == $paymentmethod->oxpayments__oxid->value}]activePayment[{/if}]">
|
||||||
<ul class="form">
|
<ul class="form">
|
||||||
<li>
|
<li>
|
||||||
<div class="status corners error">[{oxmultilang ident="D3PAYMENT_EXT_AFTERSTEP4_INFO_STEP4"}]</div>
|
<div class="status corners error">[{oxmultilang ident="D3PAYMENT_EXT_AFTERSTEP4_INFO_STEP4"}]</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
[{if $paymentmethod->oxpayments__oxlongdesc->value}]
|
[{if $paymentmethod->oxpayments__oxlongdesc->value}]
|
||||||
<div class="desc">
|
<div class="desc">
|
||||||
[{$paymentmethod->oxpayments__oxlongdesc->value}]
|
[{$paymentmethod->oxpayments__oxlongdesc->value}]
|
||||||
</div>
|
</div>
|
||||||
[{/if}]
|
[{/if}]
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
[{/block}]
|
[{/block}]
|
||||||
|
|
|
@ -1,27 +1,27 @@
|
||||||
[{assign var="sImageUrl" value=$oViewConf->getModuleUrl('d3heidelpay','out/img/')}]
|
[{assign var="sImageUrl" value=$oViewConf->getModuleUrl('d3heidelpay','out/img/')}]
|
||||||
[{assign var='oHeidelPaySettings' value=$oHeidelpayViewConfig->getSettings()}]
|
[{assign var='oHeidelPaySettings' value=$oHeidelpayViewConfig->getSettings()}]
|
||||||
[{assign var='oHeidelPayment' value=$oHeidelPaySettings->getPayment($paymentmethod)}]
|
[{assign var='oHeidelPayment' value=$oHeidelPaySettings->getPayment($paymentmethod)}]
|
||||||
[{assign var="aBrands" value=$oHeidelpayViewConfig->getHeidelpayNgwBrands($paymentmethod, $oHeidelPayment, $oxcmp_user)}]
|
[{assign var="aBrands" value=$oHeidelpayViewConfig->getHeidelpayNgwBrands($paymentmethod, $oHeidelPayment, $oxcmp_user)}]
|
||||||
[{assign var="sBrandIdent" value=$aBrands.MASTERPASS|lower}]
|
[{assign var="sBrandIdent" value=$aBrands.MASTERPASS|lower}]
|
||||||
[{assign var="sFullImageUrl" value=$sImageUrl|cat:'logo_'|cat:$sBrandIdent|cat:'.jpg'}]
|
[{assign var="sFullImageUrl" value=$sImageUrl|cat:'logo_'|cat:$sBrandIdent|cat:'.jpg'}]
|
||||||
|
|
||||||
[{block name="heidelpay_masterpass"}]
|
[{block name="heidelpay_masterpass"}]
|
||||||
<dl>
|
<dl>
|
||||||
<dt>
|
<dt>
|
||||||
<input id="payment_[{$sPaymentID}]"
|
<input id="payment_[{$sPaymentID}]"
|
||||||
type="radio"
|
type="radio"
|
||||||
name="paymentid"
|
name="paymentid"
|
||||||
value="[{$sPaymentID}]"
|
value="[{$sPaymentID}]"
|
||||||
[{if $oView->getCheckedPaymentId() == $paymentmethod->oxpayments__oxid->value}]checked[{/if}]>
|
[{if $oView->getCheckedPaymentId() == $paymentmethod->oxpayments__oxid->value}]checked[{/if}]>
|
||||||
<label for="payment_[{$sPaymentID}]"><b>[{$paymentmethod->oxpayments__oxdesc->value}]</b></label>
|
<label for="payment_[{$sPaymentID}]"><b>[{$paymentmethod->oxpayments__oxdesc->value}]</b></label>
|
||||||
[{include file="d3_heidelpay_views_tpl_payment_img.tpl" sImageUrl=$sFullImageUrl sBrandIdent=$sBrandIdent}]
|
[{include file="d3_heidelpay_views_tpl_payment_img.tpl" sImageUrl=$sFullImageUrl sBrandIdent=$sBrandIdent}]
|
||||||
</dt>
|
</dt>
|
||||||
<dd class="[{if $oView->getCheckedPaymentId() == $paymentmethod->oxpayments__oxid->value}]activePayment[{/if}]">
|
<dd class="[{if $oView->getCheckedPaymentId() == $paymentmethod->oxpayments__oxid->value}]activePayment[{/if}]">
|
||||||
[{if $paymentmethod->oxpayments__oxlongdesc->value}]
|
[{if $paymentmethod->oxpayments__oxlongdesc->value}]
|
||||||
<div class="desc">
|
<div class="desc">
|
||||||
[{$paymentmethod->oxpayments__oxlongdesc->value}]
|
[{$paymentmethod->oxpayments__oxlongdesc->value}]
|
||||||
</div>
|
</div>
|
||||||
[{/if}]
|
[{/if}]
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
[{/block}]
|
[{/block}]
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
[{$smarty.block.parent}]
|
[{$smarty.block.parent}]
|
||||||
|
|
||||||
[{d3modcfgcheck modid="d3heidelpay"}]
|
[{d3modcfgcheck modid="d3heidelpay"}]
|
||||||
[{/d3modcfgcheck}]
|
[{/d3modcfgcheck}]
|
||||||
|
|
||||||
[{if $oViewConf->getActiveClassName() == 'payment' || $oViewConf->getActiveClassName() == 'order'}]
|
[{if $oViewConf->getActiveClassName() == 'payment' || $oViewConf->getActiveClassName() == 'order'}]
|
||||||
[{if $mod_d3heidelpay}]
|
[{if $mod_d3heidelpay}]
|
||||||
[{oxstyle include=$oViewConf->getModuleUrl('d3heidelpay', 'out/src/css/d3heidelpay.css')}]
|
[{oxstyle include=$oViewConf->getModuleUrl('d3heidelpay', 'out/src/css/d3heidelpay.css')}]
|
||||||
[{/if}]
|
[{/if}]
|
||||||
[{/if}]
|
[{/if}]
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
[{$smarty.block.parent}]
|
[{$smarty.block.parent}]
|
||||||
[{d3modcfgcheck modid="d3heidelpay"}][{/d3modcfgcheck}]
|
[{d3modcfgcheck modid="d3heidelpay"}][{/d3modcfgcheck}]
|
||||||
|
|
||||||
[{if $mod_d3heidelpay && $oViewConf->getActiveClassname() === 'order'}]
|
[{if $mod_d3heidelpay && $oViewConf->getActiveClassname() === 'order'}]
|
||||||
[{assign var="easyCreditInformations" value=$oView->getHeidelpayEasyCreditInformations()}]
|
[{assign var="easyCreditInformations" value=$oView->getHeidelpayEasyCreditInformations()}]
|
||||||
[{if isset($easyCreditInformations)}]
|
[{if isset($easyCreditInformations)}]
|
||||||
[{include file=$oView->d3GetTemplateName('order_easycreditcriterions') easyCreditInformations=$easyCreditInformations}]
|
[{include file=$oView->d3GetTemplateName('order_easycreditcriterions') easyCreditInformations=$easyCreditInformations}]
|
||||||
[{/if}]
|
[{/if}]
|
||||||
[{/if}]
|
[{/if}]
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
[{d3modcfgcheck modid="d3heidelpay"}]
|
[{d3modcfgcheck modid="d3heidelpay"}]
|
||||||
[{/d3modcfgcheck}]
|
[{/d3modcfgcheck}]
|
||||||
|
|
||||||
[{if $mod_d3heidelpay && $d3heidelpayErrorCodes && $oHeidelpayViewConfig->getPaymentError() == -99}]
|
[{if $mod_d3heidelpay && $d3heidelpayErrorCodes && $oHeidelpayViewConfig->getPaymentError() == -99}]
|
||||||
[{include file=$oView->d3GetMessageTemplateName()}]
|
[{include file=$oView->d3GetMessageTemplateName()}]
|
||||||
[{else}]
|
[{else}]
|
||||||
[{$smarty.block.parent}]
|
[{$smarty.block.parent}]
|
||||||
[{/if}]
|
[{/if}]
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
[{$smarty.block.parent}]
|
[{$smarty.block.parent}]
|
||||||
|
|
||||||
[{d3modcfgcheck modid="d3heidelpay"}][{/d3modcfgcheck}]
|
[{d3modcfgcheck modid="d3heidelpay"}][{/d3modcfgcheck}]
|
||||||
|
|
||||||
[{if $mod_d3heidelpay }]
|
[{if $mod_d3heidelpay }]
|
||||||
[{assign var="oPrePaymentData" value=$order->getHeidelpayBankTransferData()}]
|
[{assign var="oPrePaymentData" value=$order->getHeidelpayBankTransferData()}]
|
||||||
[{assign var="easyCreditInformations" value=$order->getHeidelpayEasyCreditInformations()}]
|
[{assign var="easyCreditInformations" value=$order->getHeidelpayEasyCreditInformations()}]
|
||||||
|
|
||||||
[{if $oPrePaymentData}]
|
[{if $oPrePaymentData}]
|
||||||
[{include file=$oView->d3GetBankTransferDataTemplateName()}]
|
[{include file=$oView->d3GetBankTransferDataTemplateName()}]
|
||||||
[{/if}]
|
[{/if}]
|
||||||
|
|
||||||
[{if isset($easyCreditInformations)}]
|
[{if isset($easyCreditInformations)}]
|
||||||
[{assign var="currency" value=$oView->getActCurrency()}]
|
[{assign var="currency" value=$oView->getActCurrency()}]
|
||||||
[{include file=$oView->d3GetTemplateName('thankyou_easycreditcriterions') easyCreditInformations=$easyCreditInformations}]
|
[{include file=$oView->d3GetTemplateName('thankyou_easycreditcriterions') easyCreditInformations=$easyCreditInformations}]
|
||||||
[{/if}]
|
[{/if}]
|
||||||
[{/if}]
|
[{/if}]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[{d3modcfgcheck modid="d3heidelpay"}][{/d3modcfgcheck}]
|
[{d3modcfgcheck modid="d3heidelpay"}][{/d3modcfgcheck}]
|
||||||
|
|
||||||
[{if $mod_d3heidelpay && $oView->d3IsHeidelpayPaymentMethode($paymentmethod)}]
|
[{if $mod_d3heidelpay && $oView->d3IsHeidelpayPaymentMethode($paymentmethod)}]
|
||||||
[{include file=$oView->d3GetPaymentFormTemplateName($paymentmethod)}]
|
[{include file=$oView->d3GetPaymentFormTemplateName($paymentmethod)}]
|
||||||
[{else}]
|
[{else}]
|
||||||
[{$smarty.block.parent}]
|
[{$smarty.block.parent}]
|
||||||
[{/if}]
|
[{/if}]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[{$smarty.block.parent}]
|
[{$smarty.block.parent}]
|
||||||
[{d3modcfgcheck modid="d3heidelpay"}]
|
[{d3modcfgcheck modid="d3heidelpay"}]
|
||||||
[{/d3modcfgcheck}]
|
[{/d3modcfgcheck}]
|
||||||
|
|
||||||
[{if $mod_d3heidelpay}]
|
[{if $mod_d3heidelpay}]
|
||||||
[{include file=$oView->d3GetTemplateName('shippingandpayment')}]
|
[{include file=$oView->d3GetTemplateName('shippingandpayment')}]
|
||||||
[{/if}]
|
[{/if}]
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
[{capture append="oxidBlock_content"}]
|
[{capture append="oxidBlock_content"}]
|
||||||
[{* ordering steps *}]
|
[{* ordering steps *}]
|
||||||
[{include file="page/checkout/inc/steps.tpl" active=4}]
|
[{include file="page/checkout/inc/steps.tpl" active=4}]
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading text-center">[{oxmultilang ident="D3HEIDELPAY_CC_INPUT_TITLENR"}]</div>
|
<div class="panel-heading text-center">[{oxmultilang ident="D3HEIDELPAY_CC_INPUT_TITLENR"}]</div>
|
||||||
<div id="payment" class="panel-body">
|
<div id="payment" class="panel-body">
|
||||||
[{include file=$oView->d3GetAfterStepTemplate()}]
|
[{include file=$oView->d3GetAfterStepTemplate()}]
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
[{insert name="oxid_tracker" title=$template_title}]
|
[{insert name="oxid_tracker" title=$template_title}]
|
||||||
[{/capture}]
|
[{/capture}]
|
||||||
[{include file="layout/page.tpl"}]
|
[{include file="layout/page.tpl"}]
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[{if $easyCreditInformations}]
|
[{if $easyCreditInformations}]
|
||||||
<tr>
|
<tr>
|
||||||
<th>[{oxmultilang ident="D3HEIDELPAY_ORDER_EASYCREDIT_ACCRUINGINTEREST"}]</th>
|
<th>[{oxmultilang ident="D3HEIDELPAY_ORDER_EASYCREDIT_ACCRUINGINTEREST"}]</th>
|
||||||
<td>[{oxprice price=$easyCreditInformations.criterion_easycredit_accruinginterest currency=$currency}]</td>
|
<td>[{oxprice price=$easyCreditInformations.criterion_easycredit_accruinginterest currency=$currency}]</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>[{oxmultilang ident="D3HEIDELPAY_ORDER_EASYCREDIT_TOTALAMOUNT"}]</th>
|
<th>[{oxmultilang ident="D3HEIDELPAY_ORDER_EASYCREDIT_TOTALAMOUNT"}]</th>
|
||||||
<td>[{oxprice price=$easyCreditInformations.criterion_easycredit_totalamount currency=$currency}]</td>
|
<td>[{oxprice price=$easyCreditInformations.criterion_easycredit_totalamount currency=$currency}]</td>
|
||||||
</tr>
|
</tr>
|
||||||
[{/if}]
|
[{/if}]
|
||||||
|
|
|
@ -1,55 +1,55 @@
|
||||||
[{assign var="payment" value=$oView->getPayment()}]
|
[{assign var="payment" value=$oView->getPayment()}]
|
||||||
[{assign var='oHeidelPaySettings' value=$oHeidelpayViewConfig->getSettings()}]
|
[{assign var='oHeidelPaySettings' value=$oHeidelpayViewConfig->getSettings()}]
|
||||||
[{assign var='oHeidelPayment' value=$oHeidelPaySettings->getPayment($payment)}]
|
[{assign var='oHeidelPayment' value=$oHeidelPaySettings->getPayment($payment)}]
|
||||||
[{assign var="sImageUrl" value=$oViewConf->getModuleUrl('d3heidelpay','out/img/')}]
|
[{assign var="sImageUrl" value=$oViewConf->getModuleUrl('d3heidelpay','out/img/')}]
|
||||||
[{assign var="storeDatas" value=$oView->getUserHPStoreData($payment->getId())}]
|
[{assign var="storeDatas" value=$oView->getUserHPStoreData($payment->getId())}]
|
||||||
[{assign var="d3HeidelpayPostparameter" value=$oView->d3GetHeidelpayPostparameter()}]
|
[{assign var="d3HeidelpayPostparameter" value=$oView->d3GetHeidelpayPostparameter()}]
|
||||||
<form action="[{$oViewConf->getSslSelfLink()|oxaddparams:"&heidelpaytemplate=d3_heidelpay_views_flow_tpl_cc_input.tpl"}]"
|
<form action="[{$oViewConf->getSslSelfLink()|oxaddparams:"&heidelpaytemplate=d3_heidelpay_views_flow_tpl_cc_input.tpl"}]"
|
||||||
method="post">
|
method="post">
|
||||||
[{foreach from=$d3HeidelpayPostparameter key="inputName" item="inputValue"}]
|
[{foreach from=$d3HeidelpayPostparameter key="inputName" item="inputValue"}]
|
||||||
<input type="hidden" name="[{$inputName}]" value="[{$inputValue}]">
|
<input type="hidden" name="[{$inputName}]" value="[{$inputValue}]">
|
||||||
[{/foreach}]
|
[{/foreach}]
|
||||||
[{$oViewConf->getHiddenSid()}]
|
[{$oViewConf->getHiddenSid()}]
|
||||||
[{$oViewConf->getNavFormParams()}]
|
[{$oViewConf->getNavFormParams()}]
|
||||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||||
<input type="hidden" name="fnc" value="d3PayWithStoreData">
|
<input type="hidden" name="fnc" value="d3PayWithStoreData">
|
||||||
<input type="hidden" name="challenge" value="[{$challenge}]">
|
<input type="hidden" name="challenge" value="[{$challenge}]">
|
||||||
<input type="hidden" name="sDeliveryAddressMD5" value="[{$oView->getDeliveryAddressMD5()}]">
|
<input type="hidden" name="sDeliveryAddressMD5" value="[{$oView->getDeliveryAddressMD5()}]">
|
||||||
<div class="list-group">
|
<div class="list-group">
|
||||||
[{foreach from=$storeDatas item="storeData" key="storeDataId" name="storedDataIds"}]
|
[{foreach from=$storeDatas item="storeData" key="storeDataId" name="storedDataIds"}]
|
||||||
<div class="radio list-group-item">
|
<div class="radio list-group-item">
|
||||||
<label style="width:100%">
|
<label style="width:100%">
|
||||||
<input type="radio" name="usehpstore"
|
<input type="radio" name="usehpstore"
|
||||||
value="[{$storeDataId}]"[{if $smarty.foreach.storedDataIds.first}] checked[{/if}]>
|
value="[{$storeDataId}]"[{if $smarty.foreach.storedDataIds.first}] checked[{/if}]>
|
||||||
[{assign var="sBrandIdent" value=$storeData->aDynValue.kktype}]
|
[{assign var="sBrandIdent" value=$storeData->aDynValue.kktype}]
|
||||||
[{include file="d3_heidelpay_views_tpl_payment_img.tpl" sImageUrl=$sImageUrl|cat:"logo_"|cat:$sBrandIdent|lower|cat:".jpg" sBrandIdent=$sBrandIdent}]
|
[{include file="d3_heidelpay_views_tpl_payment_img.tpl" sImageUrl=$sImageUrl|cat:"logo_"|cat:$sBrandIdent|lower|cat:".jpg" sBrandIdent=$sBrandIdent}]
|
||||||
[{$storeData->aDynValue.kknumber}]
|
[{$storeData->aDynValue.kknumber}]
|
||||||
[{oxmultilang ident="D3HEIDELPAY_CC_INPUT_EXPIRES"}] [{$storeData->aDynValue.kkmonth}]
|
[{oxmultilang ident="D3HEIDELPAY_CC_INPUT_EXPIRES"}] [{$storeData->aDynValue.kkmonth}]
|
||||||
/[{$storeData->aDynValue.kkyear}]
|
/[{$storeData->aDynValue.kkyear}]
|
||||||
[{oxmultilang ident="D3HEIDELPAY_CC_INPUT_OWNER"}] [{$storeData->aDynValue.kkname}]
|
[{oxmultilang ident="D3HEIDELPAY_CC_INPUT_OWNER"}] [{$storeData->aDynValue.kkname}]
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
[{/foreach}]
|
[{/foreach}]
|
||||||
|
|
||||||
<div class="radio list-group-item">
|
<div class="radio list-group-item">
|
||||||
<label style="width:100%">
|
<label style="width:100%">
|
||||||
<input type="radio" name="usehpstore" value="0">
|
<input type="radio" name="usehpstore" value="0">
|
||||||
[{oxmultilang ident="D3PAYMENT_EXT_STOREDUID_NEW_CARD"}]
|
[{oxmultilang ident="D3PAYMENT_EXT_STOREDUID_NEW_CARD"}]
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="alert alert-info">
|
<div class="alert alert-info">
|
||||||
[{oxmultilang ident="D3PAYMENT_EXT_STOREDUID_CC_SECURITYINFO"}]
|
[{oxmultilang ident="D3PAYMENT_EXT_STOREDUID_CC_SECURITYINFO"}]
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="well well-sm">
|
<div class="well well-sm">
|
||||||
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=order"}]"
|
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=order"}]"
|
||||||
class="btn btn-default pull-left prevStep submitButton largeButton">[{oxmultilang ident="D3HEIDELPAY_ORDER_PAGE_BACKSTEPT"}]</a>
|
class="btn btn-default pull-left prevStep submitButton largeButton">[{oxmultilang ident="D3HEIDELPAY_ORDER_PAGE_BACKSTEPT"}]</a>
|
||||||
<button type="submit"
|
<button type="submit"
|
||||||
name="userform"
|
name="userform"
|
||||||
class="btn btn-primary pull-right submitButton nextStep largeButton"
|
class="btn btn-primary pull-right submitButton nextStep largeButton"
|
||||||
id="paymentNextStepBottom">[{oxmultilang ident="D3HEIDELPAY_ORDER_PAGE_NEXTSTEP"}] <i
|
id="paymentNextStepBottom">[{oxmultilang ident="D3HEIDELPAY_ORDER_PAGE_NEXTSTEP"}] <i
|
||||||
class="fa fa-caret-right"></i></button>
|
class="fa fa-caret-right"></i></button>
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[{assign var="shop" value=$oEmailView->getShop()}]
|
[{assign var="shop" value=$oEmailView->getShop()}]
|
||||||
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
||||||
[{assign var="oConf" value=$oViewConf->getConfig()}]
|
[{assign var="oConf" value=$oViewConf->getConfig()}]
|
||||||
[{assign var="currency" value=$oEmailView->getCurrency()}]
|
[{assign var="currency" value=$oEmailView->getCurrency()}]
|
||||||
[{assign var="user" value=$oEmailView->getUser()}]
|
[{assign var="user" value=$oEmailView->getUser()}]
|
||||||
|
|
||||||
[{oxcontent ident="d3_hp_vorkassemail_cust_subject" assign="title"}]
|
[{oxcontent ident="d3_hp_vorkassemail_cust_subject" assign="title"}]
|
||||||
[{include file="email/html/header.tpl" title=$title}]
|
[{include file="email/html/header.tpl" title=$title}]
|
||||||
[{oxcontent ident="d3_hp_vorkassemail_cust_text"}]
|
[{oxcontent ident="d3_hp_vorkassemail_cust_text"}]
|
||||||
[{include file="email/html/footer.tpl"}]
|
[{include file="email/html/footer.tpl"}]
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[{assign var="shop" value=$oEmailView->getShop()}]
|
[{assign var="shop" value=$oEmailView->getShop()}]
|
||||||
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
||||||
[{assign var="oConf" value=$oViewConf->getConfig()}]
|
[{assign var="oConf" value=$oViewConf->getConfig()}]
|
||||||
[{assign var="currency" value=$oEmailView->getCurrency()}]
|
[{assign var="currency" value=$oEmailView->getCurrency()}]
|
||||||
[{assign var="user" value=$oEmailView->getUser()}]
|
[{assign var="user" value=$oEmailView->getUser()}]
|
||||||
|
|
||||||
[{oxcontent ident="d3_hp_vorkassemail_owner_subject" assign="title"}]
|
[{oxcontent ident="d3_hp_vorkassemail_owner_subject" assign="title"}]
|
||||||
[{include file="email/html/header.tpl" title=$title}]
|
[{include file="email/html/header.tpl" title=$title}]
|
||||||
[{oxcontent ident="d3_hp_vorkassemail_owner_text"}]
|
[{oxcontent ident="d3_hp_vorkassemail_owner_text"}]
|
||||||
[{include file="email/html/footer.tpl"}]
|
[{include file="email/html/footer.tpl"}]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[{oxcontent ident="d3_hp_vorkassemail_cust_plain"}]
|
[{oxcontent ident="d3_hp_vorkassemail_cust_plain"}]
|
||||||
|
|
||||||
|
|
||||||
[{oxcontent ident="oxemailfooterplain"}]
|
[{oxcontent ident="oxemailfooterplain"}]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[{oxcontent ident="d3_hp_vorkassemail_owner_plain"}]
|
[{oxcontent ident="d3_hp_vorkassemail_owner_plain"}]
|
||||||
|
|
||||||
|
|
||||||
[{oxcontent ident="oxemailfooterplain"}]
|
[{oxcontent ident="oxemailfooterplain"}]
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
<!DOCTYPE HTML>
|
<!DOCTYPE HTML>
|
||||||
[{assign var="sLanguage" value=$oView->getActiveLangAbbr()}]
|
[{assign var="sLanguage" value=$oView->getActiveLangAbbr()}]
|
||||||
<html [{if $sLanguage}]lang="[{$sLanguage}]"[{/if}]>
|
<html [{if $sLanguage}]lang="[{$sLanguage}]"[{/if}]>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=[{$oView->getCharSet()}]">
|
<meta http-equiv="Content-Type" content="text/html; charset=[{$oView->getCharSet()}]">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<form action="[{$sRedirectURL}]" method="post" name="frm">
|
<form action="[{$sRedirectURL}]" method="post" name="frm">
|
||||||
[{foreach from=$aRedirectParameter item="sParameterValue" key="sParameterName"}]
|
[{foreach from=$aRedirectParameter item="sParameterValue" key="sParameterName"}]
|
||||||
<input type="hidden" name="[{$sParameterName}]" value="[{$sParameterValue|htmlentities}]">
|
<input type="hidden" name="[{$sParameterName}]" value="[{$sParameterValue|htmlentities}]">
|
||||||
[{/foreach}]
|
[{/foreach}]
|
||||||
|
|
||||||
<noscript><input type="submit" value="[{oxmultilang ident="D3_Heidelpay_REDIRECT_NOSCRIPT"}]"/></noscript>
|
<noscript><input type="submit" value="[{oxmultilang ident="D3_Heidelpay_REDIRECT_NOSCRIPT"}]"/></noscript>
|
||||||
</form>
|
</form>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
document.frm.submit();
|
document.frm.submit();
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue