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