<?php
/* Smarty version 3.1.33, created on 2020-08-14 08:11:09
  from '/Users/codeworldweb.com/websites/uvocorp/content/modules/securetrading/views/configure.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.33',
  'unifunc' => 'content_5f36471d72ebb0_84139135',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '49ca74a8319f89f3844ac8e73686eef86bcfcfa8' => 
    array (
      0 => '/Users/codeworldweb.com/websites/uvocorp/content/modules/securetrading/views/configure.tpl',
      1 => 1597140951,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5f36471d72ebb0_84139135 (Smarty_Internal_Template $_smarty_tpl) {
?><!-- SecureTrading -->
<div class="tab-pane" id="securetrading">
    <div class="alert alert-info">
        <div class="icon">
            <i class="fa fa-info-circle fa-2x"></i>
        </div>
        <div class="text">
            To start using Secure Trading, you'll need to create an account at <a target="_blank" href="https://www.trustpayments.com/">Secure Trading</a><br>
            Check the documentation for more help
        </div>
    </div>

    <form class="js_ajax-forms col-md-9 form-horizontal" data-url="/<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['module_name']->value, ENT_QUOTES, 'UTF-8');?>
/updateSecureTradingSettings">
        <input type="hidden" name="site_id" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['secureTradingConfiguration']->value['SITE_ID'], ENT_QUOTES, 'UTF-8');?>
"/>
        <div class="form-group form-row">
            <label class="col-sm-3 control-label text-left">
                SecureTrading Enabled
            </label>
            <div class="col-sm-9">
                <label class="switch" for="securetrading_enabled">
                    <input type="checkbox" name="securetrading_enabled" id="securetrading_enabled" <?php if ($_smarty_tpl->tpl_vars['secureTradingConfiguration']->value['SECURETRADING_ENABLED'] == '1') {?>checked="checked"<?php }?>>
                    <span class="slider round"></span>
                </label>
                <span class="help-block">
                    Enable payments via Secure Trading
                </span>
            </div>
        </div>

        <div class="form-group form-row">
            <label class="col-sm-3 control-label text-left">
                Default
            </label>
            <div class="col-sm-9">
                <label class="switch" for="default_method_securetrading">
                    <input type="checkbox" name="default_method_enabled" id="default_method_securetrading" <?php if ($_smarty_tpl->tpl_vars['secureTradingConfiguration']->value['PAYMENT_METHOD_DEFAULT'] == 'securetrading') {?>checked="checked"<?php }?>>
                    <span class="slider round"></span>
                </label>
                <span class="help-block">
                    Make it the default payment method of the site
                </span>
            </div>
        </div>
        
        <div class="form-group form-row">
            <label class="col-sm-3 control-label text-left">
                Site Reference Code
            </label>
            <div class="col-sm-9">
                <input class="form-control" type="text" name="securetrading_reference" id="securetrading_reference" maxlength="255" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['secureTradingConfiguration']->value['SECURETRADING_REFERENCE'], ENT_QUOTES, 'UTF-8');?>
">
                <span class="help-block">Secure Trading Site Reference Code
            </div>
        </div>

        <div class="form-group form-row">
            <div class="col-sm-9 offset-sm-3">
                <!-- success -->
                <div class="alert alert-success mt10 x-hidden" role="alert"></div>
                <!-- success -->

                <!-- error -->
                <div class="alert alert-danger mt10 x-hidden" role="alert"></div>
                <!-- error -->

                <button type="submit" class="btn btn-info">Save Changes</button>
            </div>
        </div>
    </form>
</div>
<!-- SecureTrading --><?php }
}
