<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* acp_style_settings_body.html */
class __TwigTemplate_7276bc17b3f60e13ff6b0d78474f1731 extends \Twig\Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 1
        $this->loadTemplate("overall_header.html", "acp_style_settings_body.html", 1)->display($context);
        // line 2
        echo "<div class=\"flightdeck\">
<div class=\"flightdeck-wrapper\">
<img src=\"";
        // line 4
        echo ($context["ROOT_PATH"] ?? null);
        echo "/ext/planetstyles/flightdeck/adm/style/acp-logo.png\" width=\"500\" />
<br /><br /><p>Milk Theme Control Panel. Please refer to the documentation for help.</p>
<!-- <div class=\"ps_docs_button\">
\t<a href=\"https://docs.planetstyles.net/\" target=\"_blank\">Documention home</a>
\t<a href=\"https://docs.planetstyles.net/category/17-milk\" target=\"_blank\">Milk: Feature guides</a>
\t<a href=\"#\" onclick=\"myFunction()\">Milk: Theme Support</a>
</div> -->
</div>

<div class=\"errorbox purgewarning\">
<p><strong>Important:</strong> Purge Cache in: \"ACP &rarr; General &raquo; Purge Cache &rarr; Run Now\" to remove this message and enable flightdeck.</p>
</div>


<form id=\"acp_board\" method=\"post\" action=\"";
        // line 18
        echo ($context["U_ACTION"] ?? null);
        echo "\" enctype=\"multipart/form-data\">

\t<fieldset>
\t\t<legend>";
        // line 21
        echo $this->extensions['phpbb\template\twig\extension']->lang("STYLE_SETTINGS_LOGO");
        echo "</legend>
\t\t<p>";
        // line 22
        echo $this->extensions['phpbb\template\twig\extension']->lang("STYLE_SETTINGS_LOGO_EXPLAIN");
        echo "</p>
\t\t<dl>
\t\t\t<dt><label for=\"style_settings_logo_upload\">";
        // line 24
        echo $this->extensions['phpbb\template\twig\extension']->lang("STYLE_SETTINGS_LOGO_UPLOAD");
        echo $this->extensions['phpbb\template\twig\extension']->lang("COLON");
        echo "</label><br /><span>";
        echo $this->extensions['phpbb\template\twig\extension']->lang("STYLE_SETTINGS_LOGO_UPLOAD_EXPLAIN");
        echo "</span></dt>
\t\t\t<dd><input type=\"file\" name=\"style_settings_logo_upload\" id=\"style_settings_logo_upload\"></dd>
\t\t</dl>
\t\t<dl>
\t\t\t<dt><label for=\"style_settings_logo_path\">";
        // line 28
        echo $this->extensions['phpbb\template\twig\extension']->lang("STYLE_SETTINGS_LOGO_PATH");
        echo $this->extensions['phpbb\template\twig\extension']->lang("COLON");
        echo "</label><br /><span>";
        echo $this->extensions['phpbb\template\twig\extension']->lang("STYLE_SETTINGS_LOGO_PATH_EXPLAIN");
        echo "</span></dt>
\t\t\t<dd><input type=\"text\" id=\"style_settings_logo_path\" name=\"style_settings_logo_path\" value=\"";
        // line 29
        echo ($context["STYLE_SETTINGS_LOGO_PATH"] ?? null);
        echo "\" size=\"40\" maxlength=\"255\" /></dd>
\t\t</dl>
\t\t<dl>
\t\t\t<dt><label for=\"style_settings_logo_width\">";
        // line 32
        echo $this->extensions['phpbb\template\twig\extension']->lang("STYLE_SETTINGS_LOGO_WIDTH");
        echo $this->extensions['phpbb\template\twig\extension']->lang("COLON");
        echo "</label><br /><span>";
        echo $this->extensions['phpbb\template\twig\extension']->lang("STYLE_SETTINGS_LOGO_WIDTH_EXPLAIN");
        echo "</span></dt>
\t\t\t<dd><input type=\"number\" id=\"style_settings_logo_width\" name=\"style_settings_logo_width\" value=\"";
        // line 33
        echo ($context["STYLE_SETTINGS_LOGO_WIDTH"] ?? null);
        echo "\" size=\"3\" maxlength=\"3\" min=\"0\" /> ";
        echo $this->extensions['phpbb\template\twig\extension']->lang("PIXEL");
        echo "</dd>
\t\t</dl>
\t\t<dl>
\t\t\t<dt><label for=\"style_settings_logo_height\">";
        // line 36
        echo $this->extensions['phpbb\template\twig\extension']->lang("STYLE_SETTINGS_LOGO_HEIGHT");
        echo $this->extensions['phpbb\template\twig\extension']->lang("COLON");
        echo "</label><br /><span>";
        echo $this->extensions['phpbb\template\twig\extension']->lang("STYLE_SETTINGS_LOGO_HEIGHT_EXPLAIN");
        echo "</span></dt>
\t\t\t<dd><input type=\"number\" id=\"style_settings_logo_height\" name=\"style_settings_logo_height\" value=\"";
        // line 37
        echo ($context["STYLE_SETTINGS_LOGO_HEIGHT"] ?? null);
        echo "\" size=\"3\" maxlength=\"3\" min=\"0\" max=\"999\" /> ";
        echo $this->extensions['phpbb\template\twig\extension']->lang("PIXEL");
        echo "</dd>
\t\t</dl>
        <hr />
\t\t<dl>
\t\t\t<dt><label for=\"style_settings_header_upload\">";
        // line 41
        echo $this->extensions['phpbb\template\twig\extension']->lang("STYLE_SETTINGS_FAVICON_UPLOAD");
        echo $this->extensions['phpbb\template\twig\extension']->lang("COLON");
        echo "</label><br /><span>";
        echo $this->extensions['phpbb\template\twig\extension']->lang("STYLE_SETTINGS_FAVICON_EXPLAIN");
        echo "</span></dt>
\t\t\t<dd><input type=\"file\" name=\"style_settings_favicon_upload\" id=\"style_settings_favicon_upload\"></dd>
\t\t</dl>
\t\t<dl>
\t\t\t<dt><label for=\"style_settings_favicon_path\">";
        // line 45
        echo $this->extensions['phpbb\template\twig\extension']->lang("STYLE_SETTINGS_FAVICON_PATH");
        echo $this->extensions['phpbb\template\twig\extension']->lang("COLON");
        echo "</label><br /><span>";
        echo $this->extensions['phpbb\template\twig\extension']->lang("STYLE_SETTINGS_FAVICON_PATH_EXPLAIN");
        echo "</span></dt>
\t\t\t<dd><input type=\"text\" id=\"style_settings_favicon_path\" name=\"style_settings_favicon_path\" value=\"";
        // line 46
        echo ($context["STYLE_SETTINGS_FAVICON_PATH"] ?? null);
        echo "\" size=\"40\" maxlength=\"255\" /></dd>
\t\t</dl>
        <hr />
\t\t<dl>
\t\t\t<dt><label for=\"style_settings_header_upload\">";
        // line 50
        echo $this->extensions['phpbb\template\twig\extension']->lang("STYLE_SETTINGS_HEADER_UPLOAD");
        echo $this->extensions['phpbb\template\twig\extension']->lang("COLON");
        echo "</label><br /><span>";
        echo $this->extensions['phpbb\template\twig\extension']->lang("STYLE_SETTINGS_HEADER_UPLOAD_EXPLAIN");
        echo "</span></dt>
\t\t\t<dd><input type=\"file\" name=\"style_settings_header_upload\" id=\"style_settings_header_upload\"></dd>
\t\t</dl>
\t\t<dl>
\t\t\t<dt><label for=\"style_settings_header_path\">";
        // line 54
        echo $this->extensions['phpbb\template\twig\extension']->lang("STYLE_SETTINGS_HEADER_PATH");
        echo $this->extensions['phpbb\template\twig\extension']->lang("COLON");
        echo "</label><br /><span>";
        echo $this->extensions['phpbb\template\twig\extension']->lang("STYLE_SETTINGS_HEADER_PATH_EXPLAIN");
        echo "</span></dt>
\t\t\t<dd><input type=\"text\" id=\"style_settings_header_path\" name=\"style_settings_header_path\" value=\"";
        // line 55
        echo ($context["STYLE_SETTINGS_HEADER_PATH"] ?? null);
        echo "\" size=\"40\" maxlength=\"255\" /></dd>
\t\t</dl>
\t</fieldset>

\t<fieldset>
\t\t<legend>";
        // line 60
        echo $this->extensions['phpbb\template\twig\extension']->lang("STYLE_SETTINGS_CONFIG");
        echo "</legend>
\t\t";
        // line 61
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["loops"] ?? null), "style_settings_config", [], "any", false, false, false, 61));
        foreach ($context['_seq'] as $context["_key"] => $context["style_settings_config"]) {
            // line 62
            echo "\t\t\t<dl>
\t\t\t\t<dt><label for=\"";
            // line 63
            echo twig_get_attribute($this->env, $this->source, $context["style_settings_config"], "CONFIG_NAME", [], "any", false, false, false, 63);
            echo "\">";
            echo twig_get_attribute($this->env, $this->source, $context["style_settings_config"], "LABEL", [], "any", false, false, false, 63);
            echo $this->extensions['phpbb\template\twig\extension']->lang("COLON");
            echo "</label><br /><span>";
            echo twig_get_attribute($this->env, $this->source, $context["style_settings_config"], "LABEL_HELP", [], "any", false, false, false, 63);
            echo "</span>
                <!-- <br /><span>";
            // line 64
            echo twig_get_attribute($this->env, $this->source, $context["style_settings_config"], "LABEL_EXPLAIN", [], "any", false, false, false, 64);
            echo "</span></dt> -->
\t\t\t\t<dd>
\t\t\t\t\t";
            // line 66
            if (twig_get_attribute($this->env, $this->source, $context["style_settings_config"], "S_BOOL", [], "any", false, false, false, 66)) {
                // line 67
                echo "\t\t\t\t\t\t<label><input type=\"radio\" class=\"radio\" id=\"";
                echo twig_get_attribute($this->env, $this->source, $context["style_settings_config"], "CONFIG_NAME", [], "any", false, false, false, 67);
                echo "\" name=\"";
                echo twig_get_attribute($this->env, $this->source, $context["style_settings_config"], "CONFIG_NAME", [], "any", false, false, false, 67);
                echo "\" value=\"1\"";
                if (twig_get_attribute($this->env, $this->source, $context["style_settings_config"], "VALUE", [], "any", false, false, false, 67)) {
                    echo " checked=\"checked\"";
                }
                echo " /> ";
                echo $this->extensions['phpbb\template\twig\extension']->lang("YES");
                echo "</label>
\t\t\t\t\t\t<label><input type=\"radio\" class=\"radio\" name=\"";
                // line 68
                echo twig_get_attribute($this->env, $this->source, $context["style_settings_config"], "CONFIG_NAME", [], "any", false, false, false, 68);
                echo "\" value=\"0\"";
                if ( !twig_get_attribute($this->env, $this->source, $context["style_settings_config"], "VALUE", [], "any", false, false, false, 68)) {
                    echo " checked=\"checked\"";
                }
                echo " /> ";
                echo $this->extensions['phpbb\template\twig\extension']->lang("NO");
                echo "</label>
\t\t\t\t\t";
            } elseif (twig_get_attribute($this->env, $this->source,             // line 69
$context["style_settings_config"], "S_LIST", [], "any", false, false, false, 69)) {
                // line 70
                echo "\t\t\t\t\t\t";
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["style_settings_config"], "OPTIONS", [], "any", false, false, false, 70));
                $context['loop'] = [
                  'parent' => $context['_parent'],
                  'index0' => 0,
                  'index'  => 1,
                  'first'  => true,
                ];
                if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
                    $length = count($context['_seq']);
                    $context['loop']['revindex0'] = $length - 1;
                    $context['loop']['revindex'] = $length;
                    $context['loop']['length'] = $length;
                    $context['loop']['last'] = 1 === $length;
                }
                foreach ($context['_seq'] as $context["_key"] => $context["OPTION"]) {
                    // line 71
                    echo "\t\t\t\t\t\t\t<label><input type=\"radio\" class=\"radio\" ";
                    if (twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 71)) {
                        echo "id=\"";
                        echo twig_get_attribute($this->env, $this->source, $context["style_settings_config"], "CONFIG_NAME", [], "any", false, false, false, 71);
                        echo "\" ";
                    }
                    echo "name=\"";
                    echo twig_get_attribute($this->env, $this->source, $context["style_settings_config"], "CONFIG_NAME", [], "any", false, false, false, 71);
                    echo "\" value=\"";
                    echo $context["OPTION"];
                    echo "\"";
                    if ((twig_get_attribute($this->env, $this->source, $context["style_settings_config"], "VALUE", [], "any", false, false, false, 71) === $context["OPTION"])) {
                        echo " checked=\"checked\"";
                    }
                    echo " /> ";
                    echo $context["OPTION"];
                    echo "</label>
\t\t\t\t\t\t";
                    ++$context['loop']['index0'];
                    ++$context['loop']['index'];
                    $context['loop']['first'] = false;
                    if (isset($context['loop']['length'])) {
                        --$context['loop']['revindex0'];
                        --$context['loop']['revindex'];
                        $context['loop']['last'] = 0 === $context['loop']['revindex0'];
                    }
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['OPTION'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 73
                echo "\t\t\t\t\t";
            } elseif (twig_get_attribute($this->env, $this->source, $context["style_settings_config"], "S_STRING", [], "any", false, false, false, 73)) {
                // line 74
                echo "\t\t\t\t\t\t<input type=\"text\" id=\"";
                echo twig_get_attribute($this->env, $this->source, $context["style_settings_config"], "CONFIG_NAME", [], "any", false, false, false, 74);
                echo "\" name=\"";
                echo twig_get_attribute($this->env, $this->source, $context["style_settings_config"], "CONFIG_NAME", [], "any", false, false, false, 74);
                echo "\" value=\"";
                echo twig_get_attribute($this->env, $this->source, $context["style_settings_config"], "VALUE", [], "any", false, false, false, 74);
                echo "\" size=\"40\" maxlength=\"255\" />
\t\t\t\t\t";
            }
            // line 76
            echo "\t\t\t\t</dd>
\t\t\t</dl>
\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['style_settings_config'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 79
        echo "\t</fieldset>

\t<fieldset>
\t\t<legend>";
        // line 82
        echo $this->extensions['phpbb\template\twig\extension']->lang("STYLE_SETTINGS_HTML_CODE");
        echo "</legend>
\t\t";
        // line 83
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["loops"] ?? null), "style_settings_html", [], "any", false, false, false, 83));
        foreach ($context['_seq'] as $context["_key"] => $context["style_settings_html"]) {
            // line 84
            echo "\t\t\t<dl>
\t\t\t\t<dt><label for=\"";
            // line 85
            echo twig_get_attribute($this->env, $this->source, $context["style_settings_html"], "NAME", [], "any", false, false, false, 85);
            echo "\">";
            echo twig_get_attribute($this->env, $this->source, $context["style_settings_html"], "LABEL", [], "any", false, false, false, 85);
            echo "</label><br /><span>";
            if (twig_get_attribute($this->env, $this->source, $context["style_settings_html"], "LABEL_HELP", [], "any", false, false, false, 85)) {
                echo twig_get_attribute($this->env, $this->source, $context["style_settings_html"], "LABEL_HELP", [], "any", false, false, false, 85);
            }
            echo " <!-- ";
            echo twig_get_attribute($this->env, $this->source, $context["style_settings_html"], "LABEL_EXPLAIN", [], "any", false, false, false, 85);
            echo " --></span></dt>
\t\t\t\t<dd><textarea id=\"";
            // line 86
            echo twig_get_attribute($this->env, $this->source, $context["style_settings_html"], "NAME", [], "any", false, false, false, 86);
            echo "\" name=\"";
            echo twig_get_attribute($this->env, $this->source, $context["style_settings_html"], "NAME", [], "any", false, false, false, 86);
            echo "\" rows=\"10\" cols=\"500\" >";
            echo twig_get_attribute($this->env, $this->source, $context["style_settings_html"], "VALUE", [], "any", false, false, false, 86);
            echo "</textarea></dd>
\t\t\t</dl>
\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['style_settings_html'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 89
        echo "\t</fieldset>

\t<fieldset>
\t\t<p class=\"submit-buttons\">
\t\t\t<input class=\"button1\" type=\"submit\" id=\"submit\" name=\"submit\" value=\"";
        // line 93
        echo $this->extensions['phpbb\template\twig\extension']->lang("SUBMIT");
        echo "\" />&nbsp;
\t\t</p>
\t\t";
        // line 95
        echo ($context["S_FORM_TOKEN"] ?? null);
        echo "
\t</fieldset>
</form>
</div>
<script type=\"text/javascript\">!function(e,t,n){function a(){var e=t.getElementsByTagName(\"script\")[0],n=t.createElement(\"script\");n.type=\"text/javascript\",n.async=!0,n.src=\"https://beacon-v2.helpscout.net\",e.parentNode.insertBefore(n,e)}if(e.Beacon=n=function(t,n,a){e.Beacon.readyQueue.push({method:t,options:n,data:a})},n.readyQueue=[],\"complete\"===t.readyState)return a();e.attachEvent?e.attachEvent(\"onload\",a):e.addEventListener(\"load\",a,!1)}(window,document,window.Beacon||function(){});
</script>
<script type=\"text/javascript\">
window.Beacon('init', '10185f86-9974-43da-867e-a0ef3d1024db');
function psSupport() {
  alert(\"hi\");
}
</script>
";
        // line 107
        $this->loadTemplate("overall_footer.html", "acp_style_settings_body.html", 107)->display($context);
    }

    public function getTemplateName()
    {
        return "acp_style_settings_body.html";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  367 => 107,  352 => 95,  347 => 93,  341 => 89,  328 => 86,  316 => 85,  313 => 84,  309 => 83,  305 => 82,  300 => 79,  292 => 76,  282 => 74,  279 => 73,  248 => 71,  230 => 70,  228 => 69,  218 => 68,  205 => 67,  203 => 66,  198 => 64,  189 => 63,  186 => 62,  182 => 61,  178 => 60,  170 => 55,  163 => 54,  153 => 50,  146 => 46,  139 => 45,  129 => 41,  120 => 37,  113 => 36,  105 => 33,  98 => 32,  92 => 29,  85 => 28,  75 => 24,  70 => 22,  66 => 21,  60 => 18,  43 => 4,  39 => 2,  37 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "acp_style_settings_body.html", "");
    }
}
