Файловый менеджер - Редактировать - /var/www/xthruster/html/wp-content/uploads/cache/wpml/twig/5c/5ccb9a02acb5fbcfa331640e55c6d140a8394a5c2410a3fe1311950836d098d5.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; /* dropdown-sidebars.twig */ class __TwigTemplate_d1402097a99fc6afdb85c0b1c230ecda40c54b00253f988219b5764f46e15e88 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 echo "<h4><label for=\"wpml-ls-available-sidebars\">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "sidebars", []), "select_label", []), "html", null, true); echo ":</label> "; $this->loadTemplate("tooltip.twig", "dropdown-sidebars.twig", 1)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "available_sidebars", [])])); echo "</h4> <select name=\"wpml_ls_available_sidebars\" class=\"js-wpml-ls-available-slots js-wpml-ls-available-sidebars\"> <option disabled=\"disabled\">-- "; // line 3 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "sidebars", []), "select_option_choose", []), "html", null, true); echo " --</option> "; // line 4 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["sidebars"] ?? null)); foreach ($context['_seq'] as $context["sidebar_key"] => $context["sidebar"]) { // line 5 echo " "; if (($context["sidebar_key"] == ($context["slug"] ?? null))) { // line 6 echo " "; $context["attr"] = " selected=\"selected\""; // line 7 echo " "; } elseif (twig_in_filter($this->getAttribute($context["sidebar"], "id", []), \WPML\Core\twig_get_array_keys_filter($this->getAttribute(($context["settings"] ?? null), "sidebar", [])))) { // line 8 echo " "; $context["attr"] = " disabled=\"disabled\""; // line 9 echo " "; } else { // line 10 echo " "; $context["attr"] = ""; // line 11 echo " "; } // line 12 echo " <option value=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["sidebar"], "id", []), "html", null, true); echo "\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["attr"] ?? null), "html", null, true); echo ">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["sidebar"], "name", []), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['sidebar_key'], $context['sidebar'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 14 echo "</select> "; } public function getTemplateName() { return "dropdown-sidebars.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 82 => 14, 69 => 12, 66 => 11, 63 => 10, 60 => 9, 57 => 8, 54 => 7, 51 => 6, 48 => 5, 44 => 4, 40 => 3, 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("<h4><label for=\"wpml-ls-available-sidebars\">{{ strings.sidebars.select_label }}:</label> {% include 'tooltip.twig' with { \"content\": strings.tooltips.available_sidebars } %}</h4> <select name=\"wpml_ls_available_sidebars\" class=\"js-wpml-ls-available-slots js-wpml-ls-available-sidebars\"> <option disabled=\"disabled\">-- {{ strings.sidebars.select_option_choose }} --</option> {% for sidebar_key, sidebar in sidebars %} {% if sidebar_key == slug %} {% set attr = ' selected=\"selected\"' %} {% elseif sidebar.id in settings.sidebar|keys %} {% set attr = ' disabled=\"disabled\"' %} {% else %} {% set attr = '' %} {% endif %} <option value=\"{{ sidebar.id }}\"{{ attr }}>{{ sidebar.name }}</option> {% endfor %} </select> ", "dropdown-sidebars.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/dropdown-sidebars.twig"); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.3-4ubuntu2.24 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка