var/cache/dev_hb3717a76ebc1566204522dabc772a7b6/twig/a7/a782312b883170d2d5d67a3d861bb71fd5715bd15423bc0c67672841d04fbc67.php line 54

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. /* @ThemeOkeOnline/storefront/page/account/register/index.html.twig */
  16. class __TwigTemplate_e81db06bdb67c9aac946a49160ccc531 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.             'page_account_register_inner' => [$this'block_page_account_register_inner'],
  26.             'page_account_register_login_container' => [$this'block_page_account_register_login_container'],
  27.             'page_account_register_advantages' => [$this'block_page_account_register_advantages'],
  28.             'page_account_register_container' => [$this'block_page_account_register_container'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 2
  34.         return "@Storefront/storefront/page/account/register/index.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ThemeOkeOnline/storefront/page/account/register/index.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ThemeOkeOnline/storefront/page/account/register/index.html.twig"));
  43.         $context["seperateLoginAndRegister"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"accountSettingsLayoutSeperateLoginAndSignup");
  44.         $this->parent $this->loadTemplate("@Storefront/storefront/page/account/register/index.html.twig""@ThemeOkeOnline/storefront/page/account/register/index.html.twig"2);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 4
  52.     public function block_page_account_register_inner($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_register_inner"));
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_register_inner"));
  59.         // line 5
  60.         echo "    <div class=\"row justify-content-center mt-4\">
  61.         ";
  62.         // line 6
  63.         if (((($context["seperateLoginAndRegister"] ?? null) == false) || ((($context["seperateLoginAndRegister"] ?? null) == true) && (($context["activeRoute"] ?? null) == "frontend.account.login.page")))) {
  64.             // line 7
  65.             echo "            ";
  66.             $this->displayBlock('page_account_register_login_container'$context$blocks);
  67.             // line 18
  68.             echo "        ";
  69.         }
  70.         // line 19
  71.         echo "
  72.         ";
  73.         // line 20
  74.         if (((($context["seperateLoginAndRegister"] ?? null) == false) || ((($context["seperateLoginAndRegister"] ?? null) == true) && (($context["activeRoute"] ?? null) == "frontend.account.register.page")))) {
  75.             // line 21
  76.             echo "            ";
  77.             $this->displayBlock('page_account_register_container'$context$blocks);
  78.             // line 29
  79.             echo "        ";
  80.         }
  81.         // line 30
  82.         echo "    </div>
  83. ";
  84.         
  85.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  86.         
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  88.     }
  89.     // line 7
  90.     public function block_page_account_register_login_container($context, array $blocks = [])
  91.     {
  92.         $macros $this->macros;
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  94.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_register_login_container"));
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  96.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_register_login_container"));
  97.         // line 8
  98.         echo "                <div class=\"";
  99.         echo ((($context["seperateLoginAndRegister"] ?? null)) ? ("col-lg-6") : ("col-lg-4"));
  100.         echo "\">
  101.                     ";
  102.         // line 9
  103.         $this->loadTemplate("@ThemeOkeOnline/storefront/component/account/login.html.twig""@ThemeOkeOnline/storefront/page/account/register/index.html.twig"9)->display(twig_array_merge($context, ["cardTitle" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("account.loginHeader"))]));
  104.         // line 12
  105.         echo "
  106.                     ";
  107.         // line 13
  108.         $this->displayBlock('page_account_register_advantages'$context$blocks);
  109.         // line 16
  110.         echo "                </div>
  111.             ";
  112.         
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  114.         
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  116.     }
  117.     // line 13
  118.     public function block_page_account_register_advantages($context, array $blocks = [])
  119.     {
  120.         $macros $this->macros;
  121.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  122.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_register_advantages"));
  123.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  124.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_register_advantages"));
  125.         // line 14
  126.         echo "                        ";
  127.         $this->displayParentBlock("page_account_register_advantages"$context$blocks);
  128.         echo "
  129.                     ";
  130.         
  131.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  132.         
  133.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  134.     }
  135.     // line 21
  136.     public function block_page_account_register_container($context, array $blocks = [])
  137.     {
  138.         $macros $this->macros;
  139.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  140.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_register_container"));
  141.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  142.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_register_container"));
  143.         // line 22
  144.         echo "                ";
  145.         if (($context["seperateLoginAndRegister"] ?? null)) {
  146.             echo "<div class=\"h2\">Registreren</div>";
  147.         }
  148.         // line 23
  149.         echo "                <div class=\"";
  150.         echo ((($context["seperateLoginAndRegister"] ?? null)) ? ("col-lg-12") : ("col-lg-8"));
  151.         echo "\">
  152.                     ";
  153.         // line 24
  154.         $this->loadTemplate("@OkeonlineAtcCustom/storefront/component/account/register.html.twig""@ThemeOkeOnline/storefront/page/account/register/index.html.twig"24)->display(twig_array_merge($context, ["cardTitle" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("account.registerPersonalHeader"))]));
  155.         // line 27
  156.         echo "                </div>
  157.             ";
  158.         
  159.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  160.         
  161.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  162.     }
  163.     public function getTemplateName()
  164.     {
  165.         return "@ThemeOkeOnline/storefront/page/account/register/index.html.twig";
  166.     }
  167.     public function isTraitable()
  168.     {
  169.         return false;
  170.     }
  171.     public function getDebugInfo()
  172.     {
  173.         return array (  183 => 27,  181 => 24,  176 => 23,  171 => 22,  161 => 21,  148 => 14,  138 => 13,  127 => 16,  125 => 13,  122 => 12,  120 => 9,  115 => 8,  105 => 7,  94 => 30,  91 => 29,  88 => 21,  86 => 20,  83 => 19,  80 => 18,  77 => 7,  75 => 6,  72 => 5,  62 => 4,  38 => 2,);
  174.     }
  175.     public function getSourceContext()
  176.     {
  177.         return new Source("{% sw_extends '@parent/storefront/page/account/register/index.html.twig' %}
  178. {% set seperateLoginAndRegister = theme_config('accountSettingsLayoutSeperateLoginAndSignup') %}
  179. {% block page_account_register_inner %}
  180.     <div class=\"row justify-content-center mt-4\">
  181.         {% if seperateLoginAndRegister == false or ( seperateLoginAndRegister == true and activeRoute == 'frontend.account.login.page' ) %}
  182.             {% block page_account_register_login_container %}
  183.                 <div class=\"{{ seperateLoginAndRegister ? 'col-lg-6' : 'col-lg-4' }}\">
  184.                     {% sw_include '@Storefront/storefront/component/account/login.html.twig' with {
  185.                         'cardTitle': \"account.loginHeader\"|trans|sw_sanitize
  186.                     } %}
  187.                     {% block page_account_register_advantages %}
  188.                         {{ parent() }}
  189.                     {% endblock %}
  190.                 </div>
  191.             {% endblock %}
  192.         {% endif %}
  193.         {% if seperateLoginAndRegister == false or ( seperateLoginAndRegister == true and activeRoute == 'frontend.account.register.page' ) %}
  194.             {% block page_account_register_container %}
  195.                 {% if seperateLoginAndRegister %}<div class=\"h2\">Registreren</div>{% endif %}
  196.                 <div class=\"{{ seperateLoginAndRegister ? 'col-lg-12' : 'col-lg-8' }}\">
  197.                     {% sw_include '@Storefront/storefront/component/account/register.html.twig' with {
  198.                         'cardTitle': \"account.registerPersonalHeader\"|trans|sw_sanitize
  199.                     } %}
  200.                 </div>
  201.             {% endblock %}
  202.         {% endif %}
  203.     </div>
  204. {% endblock %}""@ThemeOkeOnline/storefront/page/account/register/index.html.twig""/home/atc/shopware/custom/plugins/ThemeOkeonline/src/Resources/views/storefront/page/account/register/index.html.twig");
  205.     }
  206. }