var/cache/dev/twig/39/39fe24924685cc06c02fccb86d589fad421f2701e2b7dba7ea1bcd1479decbc7.php line 91

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/Layout/Header/_content.html.twig */
  14. class __TwigTemplate_bde75eec28045aa1bb8b10b7917df0d36cfa50177804e819470236b1eac32998 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/Layout/Header/_content.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/Layout/Header/_content.html.twig"));
  33.         // line 1
  34.         echo "
  35. ";
  36.         // line 2
  37.         $context["block"] = $this->extensions['App\Twig\Extensions\Cms\BlockExtension']->getBlock("num_telephone"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.         // line 3
  39.         $context["page_route"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'3$this->source); })()), "request", [], "any"falsefalsefalse3), "attributes", [], "any"falsefalsefalse3), "get", [=> "_route"], "method"falsefalsefalse3);
  40.         // line 4
  41.         echo "
  42. <div class=\"col-sm-4  pi-no-padding  right-bloc-head\">
  43.     <div class=\"other-link-top\">
  44.         <ul class=\"clear-float\">
  45.             ";
  46.         // line 9
  47.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.header.content");
  48.         echo "
  49.             <li class=\"d-none d-sm-block\"><a href=\"#\" class=\"rech-link link-other\" title=\"\"></a></li>
  50.             ";
  51.         // line 12
  52.         echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.before_security_widget");
  53.         echo "
  54.             ";
  55.         // line 14
  56.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("sylius.controller.shop.security_widget:renderAction"));
  57.         echo "
  58.             ";
  59.         // line 16
  60.         echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.after_security_widget");
  61.         echo "
  62.             <li class=\"li-panier ";
  63.         // line 18
  64.         if (((isset($context["page_route"]) || array_key_exists("page_route"$context) ? $context["page_route"] : (function () { throw new RuntimeError('Variable "page_route" does not exist.'18$this->source); })()) != "sylius_shop_cart_summary")) {
  65.             echo " click-link ";
  66.         }
  67.         echo "\" id=\"contenuPanierCommun\">
  68.                 <div id=\"contenuPanierCommunWidget\">
  69.                     ";
  70.         // line 20
  71.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("sylius_shop_partial_cart_summary", ["template" => "@SyliusShop/Cart/_widget.html.twig"]));
  72.         echo "
  73.                 </div>
  74.                 <div id=\"contenuPanierCommunPopup\">
  75.                     ";
  76.         // line 23
  77.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("sylius_shop_partial_cart_summary", ["template" => "@SyliusShop/Cart/Widget/_popup.html.twig"]));
  78.         echo "
  79.                 </div>
  80.             </li>
  81.             ";
  82.         // line 29
  83.         echo "
  84.         </ul>
  85.     </div>
  86. </div>
  87. ";
  88.         
  89.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  90.         
  91.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  92.     }
  93.     public function getTemplateName()
  94.     {
  95.         return "@SyliusShop/Layout/Header/_content.html.twig";
  96.     }
  97.     public function isTraitable()
  98.     {
  99.         return false;
  100.     }
  101.     public function getDebugInfo()
  102.     {
  103.         return array (  97 => 29,  91 => 23,  85 => 20,  78 => 18,  73 => 16,  68 => 14,  63 => 12,  57 => 9,  50 => 4,  48 => 3,  46 => 2,  43 => 1,);
  104.     }
  105.     public function getSourceContext()
  106.     {
  107.         return new Source("
  108. {% set block = app_get_blocks('num_telephone', sylius.channel.code )  %}
  109. {% set page_route = app.request.attributes.get('_route') %}
  110. <div class=\"col-sm-4  pi-no-padding  right-bloc-head\">
  111.     <div class=\"other-link-top\">
  112.         <ul class=\"clear-float\">
  113.             {{ sylius_template_event('sylius.shop.layout.header.content') }}
  114.             <li class=\"d-none d-sm-block\"><a href=\"#\" class=\"rech-link link-other\" title=\"\"></a></li>
  115.             {{ sonata_block_render_event('sylius.shop.layout.before_security_widget') }}
  116.             {{ render(controller('sylius.controller.shop.security_widget:renderAction')) }}
  117.             {{ sonata_block_render_event('sylius.shop.layout.after_security_widget') }}
  118.             <li class=\"li-panier {% if page_route != \"sylius_shop_cart_summary\" %} click-link {% endif %}\" id=\"contenuPanierCommun\">
  119.                 <div id=\"contenuPanierCommunWidget\">
  120.                     {{ render(url('sylius_shop_partial_cart_summary', {'template': '@SyliusShop/Cart/_widget.html.twig'})) }}
  121.                 </div>
  122.                 <div id=\"contenuPanierCommunPopup\">
  123.                     {{ render(url('sylius_shop_partial_cart_summary', {'template': '@SyliusShop/Cart/Widget/_popup.html.twig'})) }}
  124.                 </div>
  125.             </li>
  126.             {#<li><a href=\"{{ path('app_shop_brand_index') }}\">{{ 'app.ui.brands'|trans }}</a> </li>
  127.             {% include '@BitBagSyliusWishlistPlugin/Header/_wishlistHeader.html.twig' %}#}
  128.         </ul>
  129.     </div>
  130. </div>
  131. ""@SyliusShop/Layout/Header/_content.html.twig""/home/6nergiesboutique/www_preprod/themes/BootstrapTheme/templates/bundles/SyliusShopBundle/Layout/Header/_content.html.twig");
  132.     }
  133. }