Файловый менеджер - Редактировать - /var/www/xthruster/html/wp-content/uploads/cache/wpml/twig/a1/a161746f7b7c1a31bd4ecc0cd5e6681fde39725556f590a716fa16ab4e67a2e1.php
Назад
<?php namespace WPML\Core; use \WPML\Core\Twig\Environment; use \WPML\Core\Twig\Error\LoaderError; use \WPML\Core\Twig\Error\RuntimeError; use \WPML\Core\Twig\Markup; use \WPML\Core\Twig\Sandbox\SecurityError; use \WPML\Core\Twig\Sandbox\SecurityNotAllowedTagError; use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFilterError; use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFunctionError; use \WPML\Core\Twig\Source; use \WPML\Core\Twig\Template; /* radio-hierarchical-menu.twig */ class __TwigTemplate_6fd4aecdcc21336a69fb8696e6f27a891ae3fa5461eaf55e81126dcef08048e5 extends \WPML\Core\Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { // line 1 if ( !$this->getAttribute(($context["slot_settings"] ?? null), "is_hierarchical", [], "any", true, true)) { // line 2 echo " "; $context["is_hierarchical"] = 1; } else { // line 4 echo " "; $context["is_hierarchical"] = $this->getAttribute(($context["slot_settings"] ?? null), "is_hierarchical", []); } // line 6 echo " <h4><label>"; // line 7 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "menus", []), "is_hierarchical_label", []), "html", null, true); echo "</label> "; $this->loadTemplate("tooltip.twig", "radio-hierarchical-menu.twig", 7)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "menu_style_type", [])])); echo "</h4> <ul> <li> <label> <input type=\"radio\" class=\"js-wpml-ls-trigger-update js-wpml-ls-menu-is-hierarchical\" name=\""; // line 12 if (($context["name_base"] ?? null)) { echo \WPML\Core\twig_escape_filter($this->env, ($context["name_base"] ?? null), "html", null, true); echo "[is_hierarchical]"; } else { echo "is_hierarchical"; } echo "\" value=\"1\""; // line 13 if ((($context["is_hierarchical"] ?? null) == 1)) { echo " checked=\"checked\""; } echo "><b>"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "menus", []), "hierarchical", []), "html", null, true); echo "</b> - "; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "menus", []), "hierarchical_desc", []), "html", null, true); echo " </label> </li> <li> <label> <input type=\"radio\" class=\"js-wpml-ls-trigger-update js-wpml-ls-menu-is-hierarchical\" name=\""; // line 19 if (($context["name_base"] ?? null)) { echo \WPML\Core\twig_escape_filter($this->env, ($context["name_base"] ?? null), "html", null, true); echo "[is_hierarchical]"; } else { echo "is_hierarchical"; } echo "\" value=\"0\""; // line 20 if ((($context["is_hierarchical"] ?? null) == 0)) { echo " checked=\"checked\""; } echo "><b>"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "menus", []), "flat", []), "html", null, true); echo "</b> - "; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "menus", []), "flat_desc", []), "html", null, true); echo " </label> </li> </ul>"; } public function getTemplateName() { return "radio-hierarchical-menu.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 88 => 20, 79 => 19, 64 => 13, 55 => 12, 45 => 7, 42 => 6, 38 => 4, 34 => 2, 32 => 1,); } /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */ public function getSource() { @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED); return $this->getSourceContext()->getCode(); } public function getSourceContext() { return new Source("{% if not slot_settings.is_hierarchical is defined %} {% set is_hierarchical = 1 %} {% else %} {% set is_hierarchical = slot_settings.is_hierarchical %} {% endif %} <h4><label>{{ strings.menus.is_hierarchical_label }}</label> {% include 'tooltip.twig' with { \"content\": strings.tooltips.menu_style_type } %}</h4> <ul> <li> <label> <input type=\"radio\" class=\"js-wpml-ls-trigger-update js-wpml-ls-menu-is-hierarchical\" name=\"{% if name_base %}{{ name_base }}[is_hierarchical]{% else %}is_hierarchical{% endif %}\" value=\"1\"{% if is_hierarchical == 1 %} checked=\"checked\"{% endif %}><b>{{ strings.menus.hierarchical }}</b> - {{ strings.menus.hierarchical_desc }} </label> </li> <li> <label> <input type=\"radio\" class=\"js-wpml-ls-trigger-update js-wpml-ls-menu-is-hierarchical\" name=\"{% if name_base %}{{ name_base }}[is_hierarchical]{% else %}is_hierarchical{% endif %}\" value=\"0\"{% if is_hierarchical == 0 %} checked=\"checked\"{% endif %}><b>{{ strings.menus.flat }}</b> - {{ strings.menus.flat_desc }} </label> </li> </ul>", "radio-hierarchical-menu.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/radio-hierarchical-menu.twig"); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.3-4ubuntu2.24 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка