• File: bed750eede8fcbdd99c59f9823be2d57e7e017714823266396889cda2368473b.php
  • Full Path: /home/lef/public_html/wp-content/uploads/cache/wpml/twig/be/bed750eede8fcbdd99c59f9823be2d57e7e017714823266396889cda2368473b.php
  • File size: 5.23 KB
  • MIME-type: text/x-php
  • Charset: utf-8
<?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;

/* template.twig */
class __TwigTemplate_902dae94be2fa969d102e61897399a61acc732e2f19e5bf32c19f9ef59a38d91 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
        $context["css_classes_flag"] = \WPML\Core\twig_trim_filter(("wpml-ls-flag " . $this->getAttribute((isset($context["backward_compatibility"]) ? $context["backward_compatibility"] : null), "css_classes_flag", [])));
        // line 2
        $context["css_classes_native"] = \WPML\Core\twig_trim_filter(("wpml-ls-native " . $this->getAttribute((isset($context["backward_compatibility"]) ? $context["backward_compatibility"] : null), "css_classes_native", [])));
        // line 3
        $context["css_classes_display"] = \WPML\Core\twig_trim_filter(("wpml-ls-display " . $this->getAttribute((isset($context["backward_compatibility"]) ? $context["backward_compatibility"] : null), "css_classes_display", [])));
        // line 4
        $context["css_classes_bracket"] = \WPML\Core\twig_trim_filter(("wpml-ls-bracket " . $this->getAttribute((isset($context["backward_compatibility"]) ? $context["backward_compatibility"] : null), "css_classes_bracket", [])));
        // line 5
        echo "
";
        // line 6
        $this->loadTemplate("flag.twig", "template.twig", 6)->display(twig_array_merge($context, ["language" => ["flag_url" => (isset($context["flag_url"]) ? $context["flag_url"] : null), "flag_alt" => (isset($context["flag_alt"]) ? $context["flag_alt"] : null), "flag_width" => (isset($context["flag_width"]) ? $context["flag_width"] : null), "flag_height" => (isset($context["flag_height"]) ? $context["flag_height"] : null)], "css_classes_flag" => (isset($context["css_classes_flag"]) ? $context["css_classes_flag"] : null)]));
        // line 9
        if ((isset($context["native_name"]) ? $context["native_name"] : null)) {
            // line 10
            echo "<span class=\"";
            echo \WPML\Core\twig_escape_filter($this->env, (isset($context["css_classes_native"]) ? $context["css_classes_native"] : null), "html", null, true);
            echo "\" lang=\"";
            echo \WPML\Core\twig_escape_filter($this->env, (isset($context["code"]) ? $context["code"] : null), "html", null, true);
            echo "\">";
            echo \WPML\Core\twig_escape_filter($this->env, (isset($context["native_name"]) ? $context["native_name"] : null), "html", null, true);
            echo "</span>";
        }
        // line 13
        if ((isset($context["display_name"]) ? $context["display_name"] : null)) {
            // line 14
            echo "<span class=\"";
            echo \WPML\Core\twig_escape_filter($this->env, (isset($context["css_classes_display"]) ? $context["css_classes_display"] : null), "html", null, true);
            echo "\">";
            // line 15
            if ((isset($context["native_name"]) ? $context["native_name"] : null)) {
                echo "<span class=\"";
                echo \WPML\Core\twig_escape_filter($this->env, (isset($context["css_classes_bracket"]) ? $context["css_classes_bracket"] : null), "html", null, true);
                echo "\"> (</span>";
            }
            // line 16
            echo \WPML\Core\twig_escape_filter($this->env, (isset($context["display_name"]) ? $context["display_name"] : null), "html", null, true);
            // line 17
            if ((isset($context["native_name"]) ? $context["native_name"] : null)) {
                echo "<span class=\"";
                echo \WPML\Core\twig_escape_filter($this->env, (isset($context["css_classes_bracket"]) ? $context["css_classes_bracket"] : null), "html", null, true);
                echo "\">)</span>";
            }
            // line 18
            echo "</span>";
        }
    }

    public function getTemplateName()
    {
        return "template.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  76 => 18,  70 => 17,  68 => 16,  62 => 15,  58 => 14,  56 => 13,  47 => 10,  45 => 9,  43 => 6,  40 => 5,  38 => 4,  36 => 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("", "template.twig", "/home/lef/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/menu-item/template.twig");
    }
}