Файловый менеджер - Редактировать - /var/www/xthruster/html/wp-content/uploads/cache/wpml/twig/3e/3eb849c1a3f18c20d60f2b441b7dbe291fd20a981a0428251ef95b5a3be2f145.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; /* flag.twig */ class __TwigTemplate_91d59b65218edd7b0f94251e03da56a02c033563b3853805bded08e870487c5e 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["language"] ?? null), "flag_url", [])) { // line 2 echo " "; if (($this->getAttribute(($context["language"] ?? null), "flag_width", []) > 0)) { // line 3 echo " "; $context["flag_width"] = sprintf("width=%s", $this->getAttribute(($context["language"] ?? null), "flag_width", [])); // line 4 echo " "; } // line 5 echo " "; if (($this->getAttribute(($context["language"] ?? null), "flag_height", []) > 0)) { // line 6 echo " "; $context["flag_height"] = sprintf("height=%s", $this->getAttribute(($context["language"] ?? null), "flag_height", [])); // line 7 echo " "; } // line 8 echo " <img class=\""; // line 9 echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_flag"] ?? null), "html", null, true); echo "\" src=\""; // line 10 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["language"] ?? null), "flag_url", []), "html", null, true); echo "\" alt=\""; // line 11 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["language"] ?? null), "flag_alt", []), "html", null, true); echo "\" "; // line 12 echo \WPML\Core\twig_escape_filter($this->env, ($context["flag_width"] ?? null), "html", null, true); echo " "; // line 13 echo \WPML\Core\twig_escape_filter($this->env, ($context["flag_height"] ?? null), "html", null, true); echo " />"; } } public function getTemplateName() { return "flag.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 71 => 13, 67 => 12, 63 => 11, 59 => 10, 55 => 9, 52 => 8, 49 => 7, 46 => 6, 43 => 5, 40 => 4, 37 => 3, 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 language.flag_url %} {% if language.flag_width > 0 %} {% set flag_width = 'width=%s'|format(language.flag_width) %} {% endif %} {% if language.flag_height > 0 %} {% set flag_height = 'height=%s'|format(language.flag_height) %} {% endif %} <img class=\"{{ css_classes_flag }}\" src=\"{{ language.flag_url }}\" alt=\"{{ language.flag_alt }}\" {{ flag_width }} {{ flag_height }} /> {%- endif -%}", "flag.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/flag.twig"); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.3-4ubuntu2.24 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка