var/cache/dev/twig/e7/e7597eadf5444ff268647c7ea2678538768b2f69b390e3a9acf26a369d637ec3.php line 33

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @SyliusShop/_header.html.twig */
  14. class __TwigTemplate_32d6efa83821af07a133905507c7ee42ebc4139e96dce5467a6980a730f1e643 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/_header.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/_header.html.twig"));
  33.         // line 1
  34.         $macros["money"] = $this->macros["money"] = $this->loadTemplate("@SyliusShop/Common/Macro/money.html.twig""@SyliusShop/_header.html.twig"1)->unwrap();
  35.         // line 2
  36.         echo "  ";
  37.         $context["block_txt"] = $this->extensions['App\Twig\Extensions\Cms\BlockExtension']->getBlock("texteperso_header"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["sylius"]) || array_key_exists("sylius"$context) ? $context["sylius"] : (function () { throw new RuntimeError('Variable "sylius" does not exist.'2$this->source); })()), "channel", [], "any"falsefalsefalse2), "code", [], "any"falsefalsefalse2));
  38.         echo "      
  39.     
  40. <div id=\"header\" class=\"\">
  41.     <div class=\"max-container-2 px-0 py-xl-1 noscrolling-header\">
  42.         <div class=\"row align-items-center justify-content-center position-relative no-gutters\">
  43.             <div class=\"admin-fixed-header phrase-admin col-12\">
  44.                 ";
  45.         // line 9
  46.         if (twig_get_attribute($this->env$this->source, ($context["block_txt"] ?? null), "content", [], "any"truetruefalse9)) {
  47.             // line 10
  48.             echo "                    ";
  49.             echo twig_get_attribute($this->env$this->source, (isset($context["block_txt"]) || array_key_exists("block_txt"$context) ? $context["block_txt"] : (function () { throw new RuntimeError('Variable "block_txt" does not exist.'10$this->source); })()), "content", [], "any"falsefalsefalse10);
  50.             echo "
  51.                 ";
  52.         }
  53.         // line 12
  54.         echo "            </div>
  55.             <div class=\"menu-mobile-bloc\"><a href=\"#\" class=\"toggle-menu\" title=\"MENU\"><img src=\"";
  56.         // line 13
  57.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/ico_menu_m.svg"), "html"nulltrue);
  58.         echo "\" alt=\"\" class=\"\"><span>";
  59.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.header.menu"), "html"nulltrue);
  60.         echo "</span></a></div>
  61.             ";
  62.         // line 14
  63.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.header.grid");
  64.         echo "
  65.         </div>
  66.     </div>
  67. </div>
  68.     
  69. ";
  70.         
  71.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  72.         
  73.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  74.     }
  75.     public function getTemplateName()
  76.     {
  77.         return "@SyliusShop/_header.html.twig";
  78.     }
  79.     public function isTraitable()
  80.     {
  81.         return false;
  82.     }
  83.     public function getDebugInfo()
  84.     {
  85.         return array (  73 => 14,  67 => 13,  64 => 12,  58 => 10,  56 => 9,  45 => 2,  43 => 1,);
  86.     }
  87.     public function getSourceContext()
  88.     {
  89.         return new Source("{% import \"@SyliusShop/Common/Macro/money.html.twig\" as money %}
  90.   {% set block_txt = app_get_blocks('texteperso_header', sylius.channel.code )  %}      
  91.     
  92. <div id=\"header\" class=\"\">
  93.     <div class=\"max-container-2 px-0 py-xl-1 noscrolling-header\">
  94.         <div class=\"row align-items-center justify-content-center position-relative no-gutters\">
  95.             <div class=\"admin-fixed-header phrase-admin col-12\">
  96.                 {%  if block_txt.content is defined %}
  97.                     {{ block_txt.content|raw }}
  98.                 {%  endif  %}
  99.             </div>
  100.             <div class=\"menu-mobile-bloc\"><a href=\"#\" class=\"toggle-menu\" title=\"MENU\"><img src=\"{{ asset('images/ico_menu_m.svg') }}\" alt=\"\" class=\"\"><span>{{'app.header.menu' |trans}}</span></a></div>
  101.             {{ sylius_template_event('sylius.shop.layout.header.grid') }}
  102.         </div>
  103.     </div>
  104. </div>
  105.     
  106. ""@SyliusShop/_header.html.twig""/home/chouettemauve/preprod/sylius/themes/BootstrapTheme/templates/bundles/SyliusShopBundle/_header.html.twig");
  107.     }
  108. }