parent = false; $this->blocks = array( ); } protected function doDisplay(array $context, array $blocks = array()) { // line 1 $context["wrapper_options"] = array(0 => array("label" => $this->getAttribute($this->getAttribute( // line 2 (isset($context["strings"]) ? $context["strings"] : null), "color_picker", array()), "background", array()), "name" => "background", "schemes" => array(0 => "normal"), "default" => ""), 1 => array("label" => $this->getAttribute($this->getAttribute( // line 3 (isset($context["strings"]) ? $context["strings"] : null), "color_picker", array()), "border", array()), "name" => "border", "schemes" => array(0 => "normal"), "default" => "")); // line 6 echo " "; // line 7 $context["options"] = array(0 => array("label" => $this->getAttribute($this->getAttribute( // line 8 (isset($context["strings"]) ? $context["strings"] : null), "color_picker", array()), "font_current", array()), "name" => "font_current", "schemes" => array(0 => "normal", 1 => "hover"), "default" => ""), 1 => array("label" => $this->getAttribute($this->getAttribute( // line 9 (isset($context["strings"]) ? $context["strings"] : null), "color_picker", array()), "background_current", array()), "name" => "background_current", "schemes" => array(0 => "normal", 1 => "hover"), "default" => ""), 2 => array("label" => $this->getAttribute($this->getAttribute( // line 10 (isset($context["strings"]) ? $context["strings"] : null), "color_picker", array()), "font_other", array()), "name" => "font_other", "schemes" => array(0 => "normal", 1 => "hover"), "default" => ""), 3 => array("label" => $this->getAttribute($this->getAttribute( // line 11 (isset($context["strings"]) ? $context["strings"] : null), "color_picker", array()), "background_other", array()), "name" => "background_other", "schemes" => array(0 => "normal", 1 => "hover"), "default" => "")); // line 14 echo " "; // line 15 if (((isset($context["slot_type"]) ? $context["slot_type"] : null) != "menus")) { // line 16 echo " "; $context["options"] = twig_array_merge((isset($context["wrapper_options"]) ? $context["wrapper_options"] : null), (isset($context["options"]) ? $context["options"] : null)); } // line 18 echo " "; // line 19 $context["css_class"] = ((array_key_exists("css_class", $context)) ? (_twig_default_filter((isset($context["css_class"]) ? $context["css_class"] : null), "js-wpml-ls-colorpicker")) : ("js-wpml-ls-colorpicker")); // line 20 echo "
| "; // line 37 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["strings"]) ? $context["strings"] : null), "color_picker", array()), "label_normal_scheme", array()), "html", null, true); echo " | "; // line 38 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["strings"]) ? $context["strings"] : null), "color_picker", array()), "label_hover_scheme", array()), "html", null, true); echo " | |
|---|---|---|
| "; // line 42 echo twig_escape_filter($this->env, $this->getAttribute($context["option"], "label", array()), "html", null, true); echo " | "; // line 44 if (twig_in_filter("normal", $this->getAttribute($context["option"], "schemes", array()))) { // line 45 echo " "; if ((isset($context["name_base"]) ? $context["name_base"] : null)) { // line 46 echo " "; $context["input_name"] = ((((isset($context["name_base"]) ? $context["name_base"] : null) . "[") . $this->getAttribute($context["option"], "name", array())) . "_normal]"); // line 47 echo " "; } else { // line 48 echo " "; $context["input_name"] = ($this->getAttribute($context["option"], "name", array()) . "_normal"); // line 49 echo " "; } // line 50 echo " env, (isset($context["css_class"]) ? $context["css_class"] : null), "html", null, true); echo " js-wpml-ls-color-"; echo twig_escape_filter($this->env, $this->getAttribute($context["option"], "name", array()), "html", null, true); echo "_normal\" type=\"text\" size=\"7\" id=\"wpml-ls-"; // line 51 echo twig_escape_filter($this->env, (isset($context["id"]) ? $context["id"] : null), "html", null, true); echo "-"; echo twig_escape_filter($this->env, $this->getAttribute($context["option"], "name", array()), "html", null, true); echo "-normal\" name=\""; echo twig_escape_filter($this->env, (isset($context["input_name"]) ? $context["input_name"] : null), "html", null, true); echo "\" value=\""; // line 52 echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["slot_settings"]) ? $context["slot_settings"] : null), ($this->getAttribute($context["option"], "name", array()) . "_normal"), array(), "array", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["slot_settings"]) ? $context["slot_settings"] : null), ($this->getAttribute($context["option"], "name", array()) . "_normal"), array(), "array"), $this->getAttribute($context["option"], "default", array()))) : ($this->getAttribute($context["option"], "default", array()))), "html", null, true); echo "\" data-default-color=\""; echo twig_escape_filter($this->env, $this->getAttribute($context["option"], "default", array()), "html", null, true); echo "\" style=\"display: none;\"> "; } // line 54 echo " | "; // line 56 if (twig_in_filter("hover", $this->getAttribute($context["option"], "schemes", array()))) { // line 57 echo " "; if ((isset($context["name_base"]) ? $context["name_base"] : null)) { // line 58 echo " "; $context["input_name"] = ((((isset($context["name_base"]) ? $context["name_base"] : null) . "[") . $this->getAttribute($context["option"], "name", array())) . "_hover]"); // line 59 echo " "; } else { // line 60 echo " "; $context["input_name"] = ($this->getAttribute($context["option"], "name", array()) . "_hover"); // line 61 echo " "; } // line 62 echo " env, (isset($context["css_class"]) ? $context["css_class"] : null), "html", null, true); echo " js-wpml-ls-color-"; echo twig_escape_filter($this->env, $this->getAttribute($context["option"], "name", array()), "html", null, true); echo "_hover\" type=\"text\" size=\"7\" id=\"wpml-ls-"; // line 63 echo twig_escape_filter($this->env, (isset($context["id"]) ? $context["id"] : null), "html", null, true); echo "-"; echo twig_escape_filter($this->env, $this->getAttribute($context["option"], "name", array()), "html", null, true); echo "-hover\" name=\""; echo twig_escape_filter($this->env, (isset($context["input_name"]) ? $context["input_name"] : null), "html", null, true); echo "\" value=\""; // line 64 echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["slot_settings"]) ? $context["slot_settings"] : null), ($this->getAttribute($context["option"], "name", array()) . "_hover"), array(), "array", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["slot_settings"]) ? $context["slot_settings"] : null), ($this->getAttribute($context["option"], "name", array()) . "_hover"), array(), "array"), $this->getAttribute($context["option"], "default", array()))) : ($this->getAttribute($context["option"], "default", array()))), "html", null, true); echo "\" data-default-color=\""; echo twig_escape_filter($this->env, $this->getAttribute($context["option"], "default", array()), "html", null, true); echo "\" style=\"display: none;\"> "; } // line 66 echo " |