<?php

/* settings.checkout.manage.tpl */
class __TwigTemplate_5d92632a78823af6ca69519349c931af extends Twig_Template
{
    public function display(array $context)
    {
        // line 1
        echo "<style>
\t.form-control{
\t\twidth: 80%!important;
\t}
</style>

";
        // line 7
        $context['util'] = $this->env->loadTemplate("macros/util.tpl", true);
        echo "<form action=\"index.php?ToDo=saveUpdatedCheckoutSettings\" name=\"frmCheckoutSettings\" id=\"frmCheckoutSettings\" method=\"post\" onsubmit=\"return ValidateForm(CheckCheckoutSettingsForm)\" class=\"form-horizontal\" role=\"form\">
\t<div class=\"row\">
\t\t<div class=\"col-sm-12\">
\t\t\t<h4 class=\"page-title\">";
        // line 11
        echo getLang("CheckoutSettings");
        echo "</h4>
\t\t\t<p>";
        // line 12
        echo getLang("CheckoutSettingsIntro");
        echo "</p>
\t\t\t
\t\t\t\t<input type=\"submit\" value=\"";
        // line 14
        echo getLang("Save");
        echo "\" class=\"FormButton SaveButton btn btn-success\" />
\t\t\t\t<input type=\"reset\" value=\"";
        // line 15
        echo getLang("Cancel");
        echo "\" class=\"FormButton CancelButton btn btn-danger\" onclick=\"ConfirmCancel()\" />
\t\t</div>
\t</div>
<br>
\t<div class=\"row\">
\t\t<div class=\"col-sm-12\">
\t\t\t<div id=\"CheckoutStatus\">";
        // line 21
        echo twig_safe_filter((isset($context['Message']) ? $context['Message'] : null));
        echo "</div>
\t\t\t<ul id=\"tabnav\" class=\"nav nav-tabs tabs ui-tabs ui-widget ui-widget-content ui-corner-all\" style=\"margin-bottom: 20px;\">
\t\t\t\t<li class=\"tab\"><a href=\"#\" class=\"active\" id=\"tab0\" onclick=\"ShowTab(0)\">";
        // line 23
        echo getLang("GeneralSettings");
        echo "</a></li>
\t\t\t\t";
        // line 24
        echo twig_safe_filter((isset($context['CheckoutTabs']) ? $context['CheckoutTabs'] : null));
        echo "
\t\t\t\t<br class=\"Clear\" />
\t\t\t</ul>
\t\t</div>
\t</div>

\t<input id=\"currentTab\" name=\"currentTab\" value=\"0\" type=\"hidden\">
\t<div id=\"div0\">
\t\t<div class=\"panel panel-default\">
\t\t\t<div class=\"panel-heading\"> 
\t\t\t\t<h3 class=\"panel-title\">";
        // line 34
        echo getLang("CheckoutSettings");
        echo "</h3> 
\t\t\t</div> 

\t\t\t<div class=\"panel-body\">
\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t<label class=\"col-md-2 control-label\">";
        // line 39
        echo getLang("CheckoutMethods");
        echo "</label>
\t\t\t\t\t<div class=\"col-md-4\">
\t\t\t\t\t\t<div id=\"BuiltInGatewayOption\" style=\"";
        // line 41
        echo twig_safe_filter((isset($context['HideBuiltInGateway']) ? $context['HideBuiltInGateway'] : null));
        echo "\">
\t\t\t\t\t\t\t<div>
\t\t\t\t\t\t\t\t<label><input type=\"radio\" id=\"CheckoutMethodBuiltIn\" name=\"builtInGateway\" value=\"1\" ";
        // line 43
        echo twig_safe_filter((isset($context['UseBuiltInGatewayChecked']) ? $context['UseBuiltInGatewayChecked'] : null));
        echo " /> ";
        echo twig_safe_filter((isset($context['UseBuiltInGateway']) ? $context['UseBuiltInGateway'] : null));
        echo "</label>
\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t<div class=\"builtInGateway builtInGateway_1\">
\t\t\t\t\t\t\t\t<div class=\"BuiltInGatewayForm\">
\t\t\t\t\t\t\t\t\t";
        // line 48
        echo twig_safe_filter((isset($context['BuiltInGatewayErrors']) ? $context['BuiltInGatewayErrors'] : null));
        echo "
\t\t\t\t\t\t\t\t\t<div class=\"BuiltInCheckoutIntro\">
\t\t\t\t\t\t\t\t\t\t";
        // line 50
        echo twig_safe_filter((isset($context['BuiltInGatewayIntro']) ? $context['BuiltInGatewayIntro'] : null));
        echo "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
        // line 52
        echo twig_safe_filter((isset($context['BuiltInGatewayProperties']) ? $context['BuiltInGatewayProperties'] : null));
        echo "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t<div>
\t\t\t\t\t\t\t\t<label><input type=\"radio\" id=\"CheckoutMethodCustom\" name=\"builtInGateway\" value=\"0\" ";
        // line 57
        echo twig_safe_filter((isset($context['UseCustomGatewayChecked']) ? $context['UseCustomGatewayChecked'] : null));
        echo " /> ";
        echo getLang("UseCustomGateway");
        echo "</label>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t
\t\t\t\t\t\t<div class=\"builtInGateway builtInGateway_0\">
\t\t\t\t\t\t\t<select size=\"20\" multiple=\"multiple\" name=\"checkoutproviders[]\" id=\"checkoutproviders\" class=\"form-control ISSelectReplacement ";
        // line 62
        echo twig_safe_filter((isset($context['CheckoutProviderClass']) ? $context['CheckoutProviderClass'] : null));
        echo "\">
\t\t\t\t\t\t\t\t";
        // line 63
        echo twig_safe_filter((isset($context['CheckoutProviders']) ? $context['CheckoutProviders'] : null));
        echo "
\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t<label class=\"col-md-2 control-label\">";
        // line 69
        echo getLang("EnableOrderComments");
        echo "</label>
\t\t\t\t\t<div class=\"col-md-4\">
\t\t\t\t\t\t<div class=\"checkbox checkbox-primary\">
\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"EnableOrderComments\" id=\"EnableOrderComments\" value=\"1\" ";
        // line 72
        echo twig_safe_filter((isset($context['IsEnableOrderComments']) ? $context['IsEnableOrderComments'] : null));
        echo " />
\t                        <label for=\"EnableOrderComments\">";
        // line 73
        echo getLang("YesEnableOrderComments");
        echo "</label>
\t                    </div>
\t\t\t\t\t</div>
\t\t\t\t</div>

\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t<label class=\"col-md-2 control-label\">";
        // line 79
        echo getLang("EnableOrderTermsAndConditions");
        echo "</label>
\t\t\t\t\t<div class=\"col-md-4\">
\t\t\t\t\t\t<div class=\"checkbox checkbox-primary\">
\t\t\t\t\t\t\t<input onclick=\"\$('.OrderTermsAndConditions').toggle();\" type=\"checkbox\" name=\"EnableOrderTermsAndConditions\" id=\"EnableOrderTermsAndConditions\" value=\"1\" ";
        // line 82
        echo twig_safe_filter((isset($context['IsEnableOrderTermsAndConditions']) ? $context['IsEnableOrderTermsAndConditions'] : null));
        echo " />
\t                        <label for=\"EnableOrderTermsAndConditions\">";
        // line 83
        echo getLang("YesEnableOrderTermsAndConditions");
        echo "</label>
\t                    </div>

\t                    <div style=\"";
        // line 86
        echo twig_safe_filter((isset($context['HideOrderTermsAndConditions']) ? $context['HideOrderTermsAndConditions'] : null));
        echo "\" class=\"OrderTermsAndConditions\">


\t                    \t<div class=\"form-group\">
\t\t\t\t\t\t\t\t<label class=\"col-md-1 control-label\">
\t\t\t\t\t\t\t\t\t<input onclick=\"ToggleTermsAndConditions('link');\" type=\"radio\" name=\"OrderTermsAndConditionsType\" id=\"TNCLink\" class=\"OrderTermsAndConditionsType\" value=\"link\"  ";
        // line 91
        echo twig_safe_filter((isset($context['IsEnableOrderTermsAndConditionsLink']) ? $context['IsEnableOrderTermsAndConditionsLink'] : null));
        echo " />
\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t<div class=\"col-md-11\">
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t<label for=\"TNCLink\">";
        // line 95
        echo getLang("LinkToMyTermsAndConditions");
        echo ":</label>
\t\t\t\t\t\t\t\t\t<input style=\"";
        // line 96
        echo twig_safe_filter((isset($context['HideOrderTermsAndConditionsLink']) ? $context['HideOrderTermsAndConditionsLink'] : null));
        echo "\" class=\"form-control OrderTermsAndConditionsLink\" name=\"OrderTermsAndConditionsLink\" value=\"";
        echo twig_safe_filter((isset($context['OrderTermsAndConditionsLink']) ? $context['OrderTermsAndConditionsLink'] : null));
        echo "\">
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t<label class=\"col-md-1 control-label\">
\t\t\t\t\t\t\t\t\t<input onclick=\"ToggleTermsAndConditions('textarea');\" type=\"radio\" name=\"OrderTermsAndConditionsType\" id=\"TNCText\" class=\"OrderTermsAndConditionsType\" value=\"textarea\"  ";
        // line 103
        echo twig_safe_filter((isset($context['IsEnableOrderTermsAndConditionsTextarea']) ? $context['IsEnableOrderTermsAndConditionsTextarea'] : null));
        echo " />
\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t<div class=\"col-md-11\">
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"TNCText\">";
        // line 107
        echo getLang("LetMeTypeTermsAndConditions");
        echo ":</label>
\t\t\t\t\t\t\t\t\t\t\t\t<textarea  style=\"";
        // line 108
        echo twig_safe_filter((isset($context['HideOrderTermsAndConditionsTextarea']) ? $context['HideOrderTermsAndConditionsTextarea'] : null));
        echo "\" class=\"form-control OrderTermsAndConditionsTextarea\" name=\"OrderTermsAndConditionsTextarea\" rows=\"5\">";
        echo twig_safe_filter((isset($context['OrderTermsAndConditions']) ? $context['OrderTermsAndConditions'] : null));
        echo "</textarea>
\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>



\t                    \t<!-- <input class=\"form-control OrderTermsAndConditionsLink\" name=\"OrderTermsAndConditionsLink\" value=\"";
        // line 115
        echo twig_safe_filter((isset($context['OrderTermsAndConditionsLink']) ? $context['OrderTermsAndConditionsLink'] : null));
        echo "\">
\t                    \t<small>Informe o link para a página com os termos</small> -->


\t                    \t<!-- <input onclick=\"ToggleTermsAndConditions('link');\" type=\"radio\" name=\"OrderTermsAndConditionsType\" id=\"TNCLink\" class=\"form-control OrderTermsAndConditionsType\" value=\"link\"  ";
        // line 119
        echo twig_safe_filter((isset($context['IsEnableOrderTermsAndConditionsLink']) ? $context['IsEnableOrderTermsAndConditionsLink'] : null));
        echo " />
\t\t\t\t\t\t\t<label for=\"TNCLink\">";
        // line 120
        echo getLang("LinkToMyTermsAndConditions");
        echo ":</label>
\t\t\t\t\t\t\t<input style=\"";
        // line 121
        echo twig_safe_filter((isset($context['HideOrderTermsAndConditionsLink']) ? $context['HideOrderTermsAndConditionsLink'] : null));
        echo "\" class=\"form-control OrderTermsAndConditionsLink\" name=\"OrderTermsAndConditionsLink\" value=\"";
        echo twig_safe_filter((isset($context['OrderTermsAndConditionsLink']) ? $context['OrderTermsAndConditionsLink'] : null));
        echo "\">
\t\t\t\t\t\t\t<small>Informe o link para a página com os termos</small>


\t\t\t\t\t\t\t<input onclick=\"ToggleTermsAndConditions('textarea');\" type=\"radio\" name=\"OrderTermsAndConditionsType\" id=\"TNCText\" class=\"OrderTermsAndConditionsType\" value=\"textarea\"  ";
        // line 125
        echo twig_safe_filter((isset($context['IsEnableOrderTermsAndConditionsTextarea']) ? $context['IsEnableOrderTermsAndConditionsTextarea'] : null));
        echo " />
\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"TNCText\">";
        // line 126
        echo getLang("LetMeTypeTermsAndConditions");
        echo ":</label>
\t\t\t\t\t\t\t\t\t\t\t\t<textarea  style=\"";
        // line 127
        echo twig_safe_filter((isset($context['HideOrderTermsAndConditionsTextarea']) ? $context['HideOrderTermsAndConditionsTextarea'] : null));
        echo "\" class=\"form-control OrderTermsAndConditionsTextarea\" name=\"OrderTermsAndConditionsTextarea\" rows=\"5\">";
        echo twig_safe_filter((isset($context['OrderTermsAndConditions']) ? $context['OrderTermsAndConditions'] : null));
        echo "</textarea>
\t\t\t\t\t\t\t\t\t\t\t\t<small>ggggggggggg</small> -->
















\t                    </div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div> 
\t\t</div>

\t\t<div class=\"panel panel-default\">
\t\t\t<div class=\"panel-heading\"> 
\t\t\t\t<h3 class=\"panel-title\">";
        // line 153
        echo getLang("OrderSettings");
        echo "</h3> 
\t\t\t</div> 

\t\t\t<div class=\"panel-body\">
\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t<label class=\"col-md-2 control-label\">";
        // line 158
        echo getLang("UpdateProductInventoryWhen");
        echo "</label>
\t\t\t\t\t<div class=\"col-md-4\">
\t\t\t\t\t\t<select name=\"updateinventory\" id=\"updateinventory\" class=\"form-control\">
\t\t\t\t\t\t\t<option value=\"1\" ";
        // line 161
        echo twig_safe_filter((isset($context['UpdateInventorySuccessfulSelected']) ? $context['UpdateInventorySuccessfulSelected'] : null));
        echo ">";
        echo getLang("UpdateInventorySuccessfulOrder");
        echo "</option>
\t\t\t\t\t\t\t<option value=\"2\" ";
        // line 162
        echo twig_safe_filter((isset($context['UpdateInventoryCompletedSelected']) ? $context['UpdateInventoryCompletedSelected'] : null));
        echo ">";
        echo getLang("UpdateInventoryOrderCompleted");
        echo "</option>
\t\t\t\t\t\t</select>
\t\t\t\t\t</div>
\t\t\t\t</div>

\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t<label class=\"col-md-2 control-label\">";
        // line 168
        echo getLang("UpdateInventoryOnOrderEdit");
        echo "</label>
\t\t\t\t\t<div class=\"col-md-4\">
\t\t\t\t\t\t<div class=\"checkbox checkbox-primary\">
\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"UpdateInventoryOnOrderEdit\" id=\"UpdateInventoryOnOrderEdit\" value=\"1\" ";
        // line 171
        if ($this->getAttribute((isset($context['config']) ? $context['config'] : null), "UpdateInventoryOnOrderEdit", array(), "any")) {
            echo "checked=\"checked\"";
        }
        echo " />
\t                        <label for=\"UpdateInventoryOnOrderEdit\">";
        // line 172
        echo getLang("YesUpdateInventoryOnOrderEdit");
        echo "</label>
\t                    </div>
\t\t\t\t\t</div>
\t\t\t\t</div>

\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t<label class=\"col-md-2 control-label\">";
        // line 178
        echo getLang("UpdateInventoryOnOrderDelete");
        echo "</label>
\t\t\t\t\t<div class=\"col-md-4\">
\t\t\t\t\t\t<div class=\"checkbox checkbox-primary\">
\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"UpdateInventoryOnOrderDelete\" id=\"UpdateInventoryOnOrderDelete\" value=\"1\" ";
        // line 181
        if ($this->getAttribute((isset($context['config']) ? $context['config'] : null), "UpdateInventoryOnOrderDelete", array(), "any")) {
            echo "checked=\"checked\"";
        }
        echo " />
\t                        <label for=\"UpdateInventoryOnOrderDelete\">";
        // line 182
        echo getLang("YesUpdateInventoryOnOrderDelete");
        echo "</label>
\t                    </div>
\t\t\t\t\t</div>
\t\t\t\t</div>

\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t<label class=\"col-md-2 control-label\">";
        // line 188
        echo getLang("EmailOnOrderStatusChange");
        echo "</label>
\t\t\t\t\t<div class=\"col-md-4\">
\t\t\t\t\t\t<select name=\"orderstatusemails[]\" id=\"orderstatusemails\" class=\"form-control ISSelectReplacement\" size=\"11\" multiple=\"multiple\">
\t\t\t\t\t\t\t";
        // line 191
        echo twig_safe_filter((isset($context['OrderStatusEmailList']) ? $context['OrderStatusEmailList'] : null));
        echo "
\t\t\t\t\t\t</select>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>

\t";
        // line 199
        echo twig_safe_filter((isset($context['CheckoutDivs']) ? $context['CheckoutDivs'] : null));
        echo "

\t<input type=\"submit\" value=\"";
        // line 201
        echo getLang("Save");
        echo "\" class=\"FormButton SaveButton btn btn-success\" />
\t<input type=\"reset\" value=\"";
        // line 202
        echo getLang("Cancel");
        echo "\" class=\"FormButton CancelButton btn btn-danger\" onclick=\"ConfirmCancel()\" />
</form>

<div id=\"ViewsMenu\" class=\"DropShadow DropDownMenu\" style=\"display: none; width:200px\">
\t<ul>
\t\t";
        // line 207
        echo twig_safe_filter((isset($context['CheckoutFieldsOptions']) ? $context['CheckoutFieldsOptions'] : null));
        echo "
\t</ul>
</div>

\t<script type=\"text/javascript\">

\t\tfunction ToggleTermsAndConditions(type)
\t\t{
\t\t\tif(type == 'link') {
\t\t\t\t\$('.OrderTermsAndConditionsLink').css({display: ''});
\t\t\t\t\$('.OrderTermsAndConditionsTextarea').css({display: 'none'});
\t\t\t} else {
\t\t\t\t\$('.OrderTermsAndConditionsTextarea').css({display: ''});
\t\t\t\t\$('.OrderTermsAndConditionsLink').css({display: 'none'});
\t\t\t}
\t\t}

\t\tfunction checkout_selected(checkout_id) {
\t\t\tif(checkout_id == 'builtin') {
\t\t\t\tif(\$('input[name=builtInGateway]:checked').val() == 1) {
\t\t\t\t\treturn true;
\t\t\t\t}
\t\t\t\telse {
\t\t\t\t\treturn false;
\t\t\t\t}
\t\t\t}

\t\t\tif(g('checkoutproviders_old')) {
\t\t\t\tvar cp = g('checkoutproviders_old');
\t\t\t}
\t\t\telse {
\t\t\t\tvar cp = document.getElementById(\"checkoutproviders\");
\t\t\t}
\t\t\tfor(i = 0; i < cp.options.length; i++) {
\t\t\t\tif(cp.options[i].value == checkout_id && cp.options[i].selected) {
\t\t\t\t\treturn true;
\t\t\t\t}
\t\t\t}
\t\t\treturn false;
\t\t}

\t\tfunction ShowTab(T)
\t\t{
\t\t\ti = 0;
\t\t\twhile (document.getElementById(\"tab\" + i) != null) {
\t\t\t\tdocument.getElementById(\"div\" + i).style.display = \"none\";
\t\t\t\tdocument.getElementById(\"tab\" + i).className = \"\";
\t\t\t\ti++;
\t\t\t}

\t\t\tdocument.getElementById(\"div\" + T).style.display = \"\";
\t\t\tdocument.getElementById(\"tab\" + T).className = \"active\";
\t\t\tdocument.getElementById(\"currentTab\").value = T;
\t\t}

\t\tfunction CheckCheckoutSettingsForm()
\t\t{
\t\t\tif(\$('input[name=builtInGateway]:checked').val() == 1 && \$('.BuiltInGatewayForm .MessageBoxError').length > 0) {
\t\t\t\talert('";
        // line 265
        echo getLang("CannotEnableBuiltInModuleErrors");
        echo "');
\t\t\t\treturn false;
\t\t\t}

\t\t\tif(\$('#EnableDigitalOrderHandlingFee').attr('checked')) {
\t\t\t\tif(\$('#DigitalOrderHandlingFee').val() == '' || isNaN(priceFormat(\$('#DigitalOrderHandlingFee').val()))) {
\t\t\t\t\talert('";
        // line 271
        echo getLang("EnterDigitalOrderHandlingFee");
        echo "');
\t\t\t\t\t\$('#DigitalOrderHandlingFee').select();
\t\t\t\t\treturn false;
\t\t\t\t}
\t\t\t}

\t\t\tif(\$('#EnableOrderTermsAndConditions').attr('checked')) {
\t\t\t\tif(\$('.OrderTermsAndConditionsType:checked').val() == 'link') {
\t\t\t\t\tif(\$('.OrderTermsAndConditionsLink').val() == '' || \$('.OrderTermsAndConditionsLink').val() == 'http://') {
\t\t\t\t\t\talert(\"";
        // line 280
        echo getLang("EnterTermsAndConditionsLink");
        echo "\");
\t\t\t\t\t\treturn false;
\t\t\t\t\t}
\t\t\t\t} else if(\$('.OrderTermsAndConditionsType:checked').val() == 'textarea') {
\t\t\t\t\tif(\$('.OrderTermsAndConditionsTextarea').val() == '') {
\t\t\t\t\t\talert(\"";
        // line 285
        echo getLang("EnterTermsAndConditions");
        echo "\");
\t\t\t\t\t\treturn false;
\t\t\t\t\t}
\t\t\t\t} else {
\t\t\t\t\talert(\"";
        // line 289
        echo getLang("SelectTermsAndConditionsType");
        echo "\");
\t\t\t\t\treturn false;
\t\t\t\t}
\t\t\t}

\t\t\t";
        // line 294
        echo twig_safe_filter((isset($context['CheckoutJavaScript']) ? $context['CheckoutJavaScript'] : null));
        echo "
\t\t}

\t\tfunction ConfirmCancel() {
\t\t\tif(confirm('";
        // line 298
        echo getLang("CancelCheckoutMessage");
        echo "')) {
\t\t\t\tdocument.location.href='index.php?ToDo=viewCheckoutSettings';
\t\t\t}
\t\t\telse {
\t\t\t\treturn false;
\t\t\t}
\t\t}

\t\tfunction ToggleBuiltInGateway()
\t\t{
\t\t\t// Built in gateway is disabled
\t\t\tif(\$('#BuiltInGatewayOption').css('display') == 'none') {
\t\t\t\treturn;
\t\t\t}
\t\t\tselected = \$('input[name=builtInGateway]:checked').val();
\t\t\t\$('.builtInGateway').hide();
\t\t\t\$('.builtInGateway_'+selected).show();
\t\t}

\t\t\$(document).ready(function() {
\t\t\t\$('input[name=builtInGateway]').click(function() {
\t\t\t\tToggleBuiltInGateway();
\t\t\t});
\t\t\tToggleBuiltInGateway();

\t\t\tShowTab(";
        // line 323
        echo twig_safe_filter((isset($context['CurrentTab']) ? $context['CurrentTab'] : null));
        echo ");

\t\t});

\t</script>";
    }

}
