File Manager

Current Path : /webspace/www.babilon.be/html/shop/modules/syspay/views/templates/admin/
Upload File :
Current File : //webspace/www.babilon.be/html/shop/modules/syspay/views/templates/admin/bo-syspay-14.tpl

{*
* 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
* 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-2014 PrestaShop SA
*  @version  Release: $Revision: 7732 $
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}



<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,600' rel='stylesheet' type='text/css'>
<link rel="stylesheet" media="all" type="text/css" href="{$module_dir|escape:'htmlall':'UTF-8'}css/syspay14.css" />
<script>

var texts = [	
	"{l s='This is often useful for merchants who have a delayed order fulfillment process. You can capture funds once the order has been shipped.' mod='syspay'}",
	"{l s='Choose the order status that will trigger the capture of funds for a deferred payment.' mod='syspay'}",
	"{l s='1-Click payment allows your customers to make purchases with a single click, with the payment information needed to complete the purchase already entered by your customer previously.' mod='syspay'}",
	"{l s='Website ID is provided by SysPay and it is not mandatory while in TRIAL mode' mod='syspay'}"
	];
	
</script>
<script type="text/javascript" src="{$module_dir|escape:'htmlall':'UTF-8'}js/jquery.qtip-1.0.0-rc3.min.js"></script>
<script type="text/javascript" src="{$module_dir|escape:'htmlall':'UTF-8'}js/admin.js"></script>
<div id="syspay_admin">
	<div id="syspay-header">
        <img src="{$module_dir|escape:'htmlall':'UTF-8'}img/logo_bo.jpg" />
        <h1>{l s='Increase your sales!' mod='syspay'}</h1>
        <div class="clearfix"></div>
	</div>
	<div id="syspay-adv">
        <div id="bloc-left">
            <div id="adv1" class="adv">
                <span class="adv-title">{l s='Easy & Immediate' mod='syspay'}</span>
                <span class="adv-subtitle">{l s='No merchant account needed' mod='syspay'}</span>
            </div>
            <div id="adv2" class="adv">
                <span class="adv-title">{l s='International' mod='syspay'}</span>
                <span class="adv-subtitle">{l s='21 payment options 24 currencies' mod='syspay'}</span>
            </div>
            <div id="adv3" class="adv">
                <span class="adv-title">{l s='Secure' mod='syspay'}</span>
                <span class="adv-subtitle">{l s='Advanced fraud prevention solution' mod='syspay'}</span>
            </div>
            <div id="adv4" class="adv">
                <span class="adv-title">{l s='Customizable' mod='syspay'}</span>
                <span class="adv-subtitle">{l s='Your design and logo' mod='syspay'}</span>
            </div>
        </div>
        <div id="bloc-right">
            <div id="adv-trial">
                <span class="trial-title">{l s='FREE' mod='syspay'}</span><br />
                <span class="trial-title">{l s='Trial' mod='syspay'}</span><br />
                <span class="trial-subtitle">{l s='(up to 2500€ sales)' mod='syspay'}</span><br />
                <a id="trial-activate" href="https://app.syspay.com/register/prestashop" target="_blank">
                    {l s='Activate Now' mod='syspay'}
                </a>
                <span class="trial-subtitle"><a style="color: white" target="_blank" href="http://app.syspay.com/landing/prestashop_partner_50">{l s='Developers: earn 20€ cashback for each merchant activation' mod='syspay'}</a></span><br />
            </div>
        </div>
        <div class="clearfix"></div>
	</div>
	<div id="syspay-checks">
        <fieldset>
            <legend><img src="{$module_dir|escape:'htmlall':'UTF-8'}img/checks.gif" /> {l s='Technical Checks' mod='syspay'}</legend>
            {if $checks.total == 'ko'}
                <div class="warn">
                    {l s='Unfortunately, at leat one issue is preventing you from using Syspay. Please fix the issue and reload the page.' mod='syspay'}
                </div>
            {else}
                <div class="conf">
                    {l s='You are now ready to make your first sale with Syspay.' mod='syspay'}
                </div>
            {/if}
                <ul>
                    <li><img src="{$module_dir|escape:'htmlall':'UTF-8'}img/{$checks.curl}.gif" /> {l s='Enable the cURL extension'  mod='syspay'}</li>
                    <li><img src="{$module_dir|escape:'htmlall':'UTF-8'}img/{$checks.json}.gif" /> {l s='Enable the JSON extension'  mod='syspay'}</li>
                    <li><img src="{$module_dir|escape:'htmlall':'UTF-8'}img/{$checks.php}.gif" /> {l s='PHP version greater than 5.2'  mod='syspay'}</li>
                    <li><img src="{$module_dir|escape:'htmlall':'UTF-8'}img/{$checks.settings}.gif" /> {l s='Signup for SysPay and fill in the Settings form below' mod='syspay'}</li>
                </ul>
        </fieldset>
    </div>
	<div id="syspay-conf">
		<form method="post" action="{$settings.formTarget|escape:'UTF-8'}" name="syspayForm">
			<fieldset>
				<legend><img src="{$module_dir|escape:'htmlall':'UTF-8'}img/settings.gif" /> {l s='Settings' mod='syspay'}</legend>
				<div class="bb">
					<label>{l s='Mode' mod='syspay'}</label>
					<input type="radio" name="SYSPAY_MODE" value="0" {if $settings.SYSPAY_MODE == 0}checked="checked" {/if} />
					<span>{l s='Test' mod='syspay'}</span>
					<input type="radio" name="SYSPAY_MODE" value="1" {if $settings.SYSPAY_MODE == 1}checked="checked" {/if} />
					<span>{l s='Live' mod='syspay'}</span>
				</div>
				<div class="bb pt">
					<div class="split">
						<label class="credentials">{l s='Sandbox login' mod='syspay'}</label>
						<input type="text" name="SYSPAY_TEST_MID" value="{$settings.SYSPAY_TEST_MID|escape:'htmlall':'UTF-8'}" />
						<br /><br />
						<label class="credentials">{l s='Sandbox passphrase' mod='syspay'}</label>
						<input type="text" name="SYSPAY_TEST_SHA1_PRIVATE" value="{$settings.SYSPAY_TEST_SHA1_PRIVATE|escape:'htmlall':'UTF-8'}" />
						<div class="clearfix"></div>
					</div>
					<div class="split bl">
						<label class="credentials">{l s='LIVE login' mod='syspay'}</label>
						<input type="text" name="SYSPAY_LIVE_MID" value="{$settings.SYSPAY_LIVE_MID|escape:'htmlall':'UTF-8'}" />
						<br /><br />
						<label class="credentials">{l s='LIVE passphrase' mod='syspay'}</label>
						<input type="text" name="SYSPAY_LIVE_SHA1_PRIVATE" value="{$settings.SYSPAY_LIVE_SHA1_PRIVATE|escape:'htmlall':'UTF-8'}" />
						<div class="clearfix"></div>
					</div>
					<div class="clearfix"></div>
				</div>
				<div class="bb pt">
					<label>{l s='Website ID' mod='syspay'}</label>
					<input type="text" name="SYSPAY_WEBSITE_ID" style="width: 200px" value="{$settings.SYSPAY_WEBSITE_ID|escape:'htmlall':'UTF-8'}" />
					<span class="help" id="t3" style="border-bottom: 1px dotted black"><sup>?</sup></span>
				</div>
				<div class="bb pt">
					<label>{l s='Check availability of funds for a transaction but delay the capture of funds until a later time' mod='syspay'}</label>
					<input type="radio" name="SYSPAY_AUTHORIZED_PAYMENT" value="1" {if $settings.SYSPAY_AUTHORIZED_PAYMENT == 1}checked="checked" {/if} />
					<span>{l s='Yes' mod='syspay'}</span>
					<input type="radio" name="SYSPAY_AUTHORIZED_PAYMENT" value="0" {if $settings.SYSPAY_AUTHORIZED_PAYMENT == 0}checked="checked" {/if} />
					<span>{l s='No' mod='syspay'}</span>
					<span class="help" id="t0" style="border-bottom: 1px dotted black"><sup>?</sup></span>
					<div class="clearfix"></div>
				</div>
				<div class="bb pt">
					<label>{l s='Order status triggering the Capture' mod='syspay'}</label>
					<select name="SYSPAY_CAPTURE_OS">
						{foreach from=$states item=os}
							<option value="{$os.id_order_state|intval}" {if $os.id_order_state == $settings.SYSPAY_CAPTURE_OS}selected="selected"{/if}>
								{$os.name|escape:'htmlall':'UTF-8'}
							</option>
						{/foreach}
					</select>
					<span class="help" id="t1" style="border-bottom: 1px dotted black"><sup>?</sup></span>
					<div class="clearfix"></div>
				</div>
				<div class="bb pt">
					<label>{l s='Enable 1-click payments for cards' mod='syspay'}</label>
					<input type="radio" name="SYSPAY_REBILL" value="1" {if $settings.SYSPAY_REBILL == 1}checked="checked" {/if} />
					<span>{l s='Yes' mod='syspay'}</span>
					<input type="radio" name="SYSPAY_REBILL" value="0" {if $settings.SYSPAY_REBILL == 0}checked="checked" {/if} />
					<span>{l s='No' mod='syspay'}</span>
					<span class="help" id="t2" style="border-bottom: 1px dotted black"><sup>?</sup></span>
					<div class="clearfix"></div>
				</div>
				<div class="pt">
					<input type="submit" class="button" name="submitSyspay" value="{l s='Save Settings' mod='syspay'}" />
				</div>
			</fieldset>
		</form>
	</div>
    <div id="wrapper">
        <div id="wrapper-left">
            <fieldset>
                <legend> {l s='How to test?' mod='syspay'}</legend>
                <form method="post" action="{$settings.formTarget|escape:'UTF-8'}" name="generateCard">
                    <span style="font-weight: bold">{l s='Some suggestions on how to test a card payment:' mod='syspay'}</span><br /><br />
                    <ul>
                        <li>{l s='- You need a valid card number (valid format only, not a real card)' mod='syspay'}</li>
                    </ul><br />
                    <input type="submit" name="generate-cb" value="{l s='Generate card' mod='syspay'}" class="button" />
                        <span id="cb-test">{if isset($cbtest)}{$cbtest|escape:'htmlall':'UTF-8'}{/if}</span>
                    <ul>
                        <li>{l s='- You can use any 3 digit CV2' mod='syspay'}</li>
                        <li>{l s='- If you want to test a successful payment, use a January (01) expiry month' mod='syspay'}</li>
                        <li>{l s='- If you want to test a declined payment, use any other month for expiry month' mod='syspay'}</li>
                        <li>{l s='- If you want to test a 3ds transaction (VerifiedbyVisa or MasterCard SecureCode) use 2018 as expiry year' mod='syspay'}</li>
                    </ul>
                </form>
            </fieldset>
		</div>
        <div id="wrapper-right">
            {if $checks.total == 'ok'}
                <fieldset>
                    <legend> {l s='Exports' mod='syspay'}</legend>
                    <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
                    <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
                    <script>
                        $(function() {
                            $( "#from" ).datepicker({
                                defaultDate: "+1w",
                                changeMonth: true,
                                numberOfMonths: 3,
                                onClose: function( selectedDate ) {
                                    $( "#to" ).datepicker( "option", "minDate", selectedDate );
                                }
                            });
                            $( "#to" ).datepicker({
                                defaultDate: "+1w",
                                changeMonth: true,
                                numberOfMonths: 3,
                                onClose: function( selectedDate ) {
                                    $( "#from" ).datepicker( "option", "maxDate", selectedDate );
                                }
                            });
                        });
                    </script>
                    <form action="{$settings.formTarget|escape:'UTF-8'}" name="export_syspay" target="_blank" method="post" style="margin-bottom: 30px;">
                        <h3>{l s='Payments' mod='syspay'}</h3>
                        <span for="from" style="display: inline-block; width: 50px;">{l s='From' mod='syspay'}</span>
                        <input type="text" id="from" name="from" /><br />
                        <span for="to" style="display: inline-block; width: 50px;">{l s='To' mod='syspay'}</span>
                        <input type="text" id="to" name="to" /><br /><br />
                        <input {if isset($no_payments)}disabled{/if} class="button" type="submit" name="export_transactions" value="{l s='Export payments' mod='syspay'}" /><br /><br />
                        <h3>{l s='Refunds' mod='syspay'}</h3>
                        <input {if isset($no_refunds)}disabled{/if} class="button" type="submit" name="export_refunds" value="{l s='Export all refunds' mod='syspay'}" />
                        <input type="hidden" name="valid_export" value="1" />
                    </form>
                </fieldset><br />
            {/if}
        </div>
    </div>
</div>

File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com