var/cache/dev_h90dfaab4b9218db9f54295f5d696836f/twig/f4/f40a9b1bdbe16a810d351cef3b2cad285c833b2f3a34d53bd85526a3d1d4fe8a.php line 44

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @Storefront/storefront/page/product-detail/review/review-login.html.twig */
  16. class __TwigTemplate_f1241ae92ff8cb0bbe4ad822829a62ff3d594461aabfc2aab64696eef4c9ba24 extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->blocks = [
  25.             'component_account_login_header' => [$this'block_component_account_login_header'],
  26.             'component_account_login_form_description' => [$this'block_component_account_login_form_description'],
  27.             'component_account_login_form_redirect' => [$this'block_component_account_login_form_redirect'],
  28.             'component_account_login_submit' => [$this'block_component_account_login_submit'],
  29.             'page_product_detail_review_form_cancel' => [$this'block_page_product_detail_review_form_cancel'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 2
  35.         return "@Storefront/storefront/component/account/login.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/page/product-detail/review/review-login.html.twig"));
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/page/product-detail/review/review-login.html.twig"));
  44.         $this->parent $this->loadTemplate("@Storefront/storefront/component/account/login.html.twig""@Storefront/storefront/page/product-detail/review/review-login.html.twig"2);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  48.         
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  50.     }
  51.     // line 3
  52.     public function block_component_account_login_header($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_account_login_header"));
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_account_login_header"));
  59.         // line 4
  60.         echo "\t<h2 class=\"card-title\">
  61. \t\t";
  62.         // line 5
  63.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("detail.reviewLoginHeader"));
  64.         echo "
  65. \t</h2>
  66. ";
  67.         
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  69.         
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  71.     }
  72.     // line 9
  73.     public function block_component_account_login_form_description($context, array $blocks = [])
  74.     {
  75.         $macros $this->macros;
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  77.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_account_login_form_description"));
  78.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  79.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_account_login_form_description"));
  80.         // line 10
  81.         echo "\t<p class=\"login-form-description\">
  82. \t\t";
  83.         // line 11
  84.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("detail.reviewLoginDescription"));
  85.         echo "
  86. \t\t<a href=\"";
  87.         // line 12
  88.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.account.login.page");
  89.         echo "\"
  90. \t\t   title=\"";
  91.         // line 13
  92.         echo sw_escape_filter($this->envtwig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("detail.reviewRegisterLink")), "html"nulltrue);
  93.         echo "\">
  94.             ";
  95.         // line 14
  96.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("detail.reviewRegisterLink"));
  97.         echo "
  98. \t\t</a>
  99. \t</p>
  100. ";
  101.         
  102.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  103.         
  104.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  105.     }
  106.     // line 19
  107.     public function block_component_account_login_form_redirect($context, array $blocks = [])
  108.     {
  109.         $macros $this->macros;
  110.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  111.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_account_login_form_redirect"));
  112.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  113.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_account_login_form_redirect"));
  114.         // line 20
  115.         echo "\t<input type=\"hidden\"
  116.            name=\"redirectTo\"
  117.            value=\"frontend.detail.page\">
  118. \t<input type=\"hidden\"
  119. \t\t   name=\"redirectParameters\"
  120. \t\t   value='{\"productId\": \"";
  121.         // line 26
  122.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["reviews"] ?? null), "productId", [], "any"falsefalsefalse26), "html"nulltrue);
  123.         echo "\"}'>
  124. ";
  125.         
  126.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  127.         
  128.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  129.     }
  130.     // line 29
  131.     public function block_component_account_login_submit($context, array $blocks = [])
  132.     {
  133.         $macros $this->macros;
  134.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  135.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_account_login_submit"));
  136.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  137.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_account_login_submit"));
  138.         // line 30
  139.         echo "\t<div class=\"";
  140.         echo sw_escape_filter($this->env, ($context["floatStartClass"] ?? null), "html"nulltrue);
  141.         echo "\">
  142. \t\t";
  143.         // line 31
  144.         $this->displayParentBlock("component_account_login_submit"$context$blocks);
  145.         echo "
  146. \t</div>
  147. \t<div class=\"login-cancel\">
  148. \t\t";
  149.         // line 34
  150.         $this->displayBlock('page_product_detail_review_form_cancel'$context$blocks);
  151.         // line 44
  152.         echo "\t</div>
  153. ";
  154.         
  155.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  156.         
  157.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  158.     }
  159.     // line 34
  160.     public function block_page_product_detail_review_form_cancel($context, array $blocks = [])
  161.     {
  162.         $macros $this->macros;
  163.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  164.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_review_form_cancel"));
  165.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  166.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_review_form_cancel"));
  167.         // line 35
  168.         echo "\t\t\t<a href=\"#\"
  169. \t\t\t   class=\"btn btn-outline-secondary ";
  170.         // line 36
  171.         echo sw_escape_filter($this->env, ($context["marginStartClass"] ?? null), "html"nulltrue);
  172.         echo "-1\"
  173. \t\t\t   ";
  174.         // line 37
  175.         echo sw_escape_filter($this->env, ($context["dataBsToggleAttr"] ?? null), "html"nulltrue);
  176.         echo "=\"collapse\"
  177. \t\t\t   ";
  178.         // line 38
  179.         echo sw_escape_filter($this->env, ($context["dataBsTargetAttr"] ?? null), "html"nulltrue);
  180.         echo "=\".multi-collapse\"
  181. \t\t\t   aria-expanded=\"false\"
  182. \t\t\t   aria-controls=\"review-form review-list\">
  183. \t\t\t\t";
  184.         // line 41
  185.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("detail.reviewLoginCancelButton"));
  186.         echo "
  187. \t\t\t</a>
  188. \t\t";
  189.         
  190.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  191.         
  192.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  193.     }
  194.     public function getTemplateName()
  195.     {
  196.         return "@Storefront/storefront/page/product-detail/review/review-login.html.twig";
  197.     }
  198.     public function isTraitable()
  199.     {
  200.         return false;
  201.     }
  202.     public function getDebugInfo()
  203.     {
  204.         return array (  218 => 41,  212 => 38,  208 => 37,  204 => 36,  201 => 35,  191 => 34,  180 => 44,  178 => 34,  172 => 31,  167 => 30,  157 => 29,  145 => 26,  137 => 20,  127 => 19,  113 => 14,  109 => 13,  105 => 12,  101 => 11,  98 => 10,  88 => 9,  75 => 5,  72 => 4,  62 => 3,  39 => 2,);
  205.     }
  206.     public function getSourceContext()
  207.     {
  208.         return new Source("{% sw_extends '@Storefront/storefront/component/account/login.html.twig' %}
  209. {% block component_account_login_header %}
  210. \t<h2 class=\"card-title\">
  211. \t\t{{ \"detail.reviewLoginHeader\"|trans|sw_sanitize }}
  212. \t</h2>
  213. {% endblock %}
  214. {% block component_account_login_form_description %}
  215. \t<p class=\"login-form-description\">
  216. \t\t{{ \"detail.reviewLoginDescription\"|trans|sw_sanitize }}
  217. \t\t<a href=\"{{ path('frontend.account.login.page') }}\"
  218. \t\t   title=\"{{ \"detail.reviewRegisterLink\"|trans|striptags }}\">
  219.             {{ \"detail.reviewRegisterLink\"|trans|sw_sanitize }}
  220. \t\t</a>
  221. \t</p>
  222. {% endblock %}
  223. {% block component_account_login_form_redirect %}
  224. \t<input type=\"hidden\"
  225.            name=\"redirectTo\"
  226.            value=\"frontend.detail.page\">
  227. \t<input type=\"hidden\"
  228. \t\t   name=\"redirectParameters\"
  229. \t\t   value='{\"productId\": \"{{ reviews.productId }}\"}'>
  230. {% endblock %}
  231. {% block component_account_login_submit %}
  232. \t<div class=\"{{ floatStartClass }}\">
  233. \t\t{{ parent() }}
  234. \t</div>
  235. \t<div class=\"login-cancel\">
  236. \t\t{% block page_product_detail_review_form_cancel %}
  237. \t\t\t<a href=\"#\"
  238. \t\t\t   class=\"btn btn-outline-secondary {{ marginStartClass }}-1\"
  239. \t\t\t   {{ dataBsToggleAttr }}=\"collapse\"
  240. \t\t\t   {{ dataBsTargetAttr }}=\".multi-collapse\"
  241. \t\t\t   aria-expanded=\"false\"
  242. \t\t\t   aria-controls=\"review-form review-list\">
  243. \t\t\t\t{{ \"detail.reviewLoginCancelButton\"|trans|sw_sanitize }}
  244. \t\t\t</a>
  245. \t\t{% endblock %}
  246. \t</div>
  247. {% endblock %}
  248. ""@Storefront/storefront/page/product-detail/review/review-login.html.twig""/home/fasflpog/shopware/vendor/shopware/storefront/Resources/views/storefront/page/product-detail/review/review-login.html.twig");
  249.     }
  250. }