var/cache/dev/twig/b4/b410ab75b67128aa6e1e2ed53365b92c.php line 35

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. /* areas/article/view.html.twig */
  14. class __TwigTemplate_46add52bbf71427ba8a9aa5783d4a8ff extends 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.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/article/view.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/article/view.html.twig"));
  35.         // line 1
  36.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'1$this->source); })())) {
  37.             // line 2
  38.             echo "    <style>
  39.         .article-edit-box,
  40.         .editor-checkbox label {
  41.             color: #fff;
  42.         }
  43.     </style>
  44.     <div class=\"main-article-area\">
  45.         ";
  46.             // line 9
  47.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""title", ["placeholder" => "Cím""class" => "article-edit-title"]);
  48.             // line 12
  49.             echo "
  50.         <div style=\"display: flex; align-items: center; margin-bottom: 25px\">
  51.             <label class=\"pimcore-edit-label\">Cím igazítása: </label>
  52.             ";
  53.             // line 15
  54.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""title_align", ["store" => [["left""Balra"], ["center""Középre"]], "defaultValue" => "left"]);
  55.             // line 21
  56.             echo "
  57.         </div>
  58.         <div style=\"display: flex; align-items: center; margin-bottom: 25px\">
  59.             <label class=\"pimcore-edit-label\">Cím utáni távolság: </label>
  60.             ";
  61.             // line 25
  62.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""title_padding", ["store" => [["small""Kicsi"], ["medium""Közepes"], ["big""Nagy"]], "defaultValue" => "small"]);
  63.             // line 32
  64.             echo "
  65.         </div>
  66.         <div class=\"article-area-checkbox-container\">
  67.             ";
  68.             // line 36
  69.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"checkbox""contentEmbed", ["reload" => true"class" => "editor-checkbox""label" => "Beágyazott tartalom "]);
  70.             // line 40
  71.             echo "
  72.             <span title=\"A jelölőnégyzet használatával a szerkesztő tartalma elveszik.\">ℹ️</span>
  73.         </div>
  74.         ";
  75.             // line 43
  76.             if (twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"checkbox""contentEmbed"), "isChecked", [], "method"falsefalsetrue43)) {
  77.                 // line 44
  78.                 echo "            <div class=\"article-area-embed-container\">
  79.                 ";
  80.                 // line 45
  81.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""embedContent", ["height" => "200""placeholder" => "Beágyazott tartalom""class" => "article-edit-box"]);
  82.                 // line 49
  83.                 echo "
  84.             </div>
  85.         ";
  86.             } else {
  87.                 // line 52
  88.                 echo "            ";
  89.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""content", ["height" => 200"placeholder" => "Szöveg""class" => "article-edit-box"]);
  90.                 // line 56
  91.                 echo "
  92.         ";
  93.             }
  94.             // line 58
  95.             echo "
  96.         <div class=\"article-images-container\">
  97.             <h3>Képek</h3>
  98.             ";
  99.             // line 61
  100.             $context['_parent'] = $context;
  101.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""article-images-top"), "iterator", [], "any"falsefalsetrue61));
  102.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  103.                 // line 62
  104.                 echo "                ";
  105.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""article-image-top", ["class" => "w-max-100-percent"]);
  106.                 echo "
  107.             ";
  108.             }
  109.             $_parent $context['_parent'];
  110.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  111.             $context array_intersect_key($context$_parent) + $_parent;
  112.             // line 64
  113.             echo "
  114.         </div>
  115.         <div>
  116.             <h3>Apple link</h3>
  117.             ";
  118.             // line 69
  119.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""dld_apple");
  120.             echo "
  121.             <h3>Google link</h3>
  122.             ";
  123.             // line 72
  124.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""dld_google");
  125.             echo "
  126.         </div>
  127.         ";
  128.             // line 75
  129.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""contentFooter", ["height" => 200"placeholder" => "Szöveg""class" => "article-edit-box"]);
  130.             // line 79
  131.             echo "
  132.     </div>
  133.     <div class=\"article-images\" style=\"background-color: #fff !important;\">
  134.         <h3>KÉPEK</h3>
  135.         ";
  136.             // line 85
  137.             $context['_parent'] = $context;
  138.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""article-images"), "iterator", [], "any"falsefalsetrue85));
  139.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  140.                 // line 86
  141.                 echo "            <p>Link:<br>";
  142.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""link", ["required" => "linkonly"]);
  143.                 echo "</p>
  144.             <p>Kép:<br>";
  145.                 // line 87
  146.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""image", ["required" => true]);
  147.                 echo "</p>
  148.             <hr>
  149.         ";
  150.             }
  151.             $_parent $context['_parent'];
  152.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  153.             $context array_intersect_key($context$_parent) + $_parent;
  154.             // line 90
  155.             echo "    </div>
  156. ";
  157.         } else {
  158.             // line 92
  159.             echo "    ";
  160.             $context["title"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""title");
  161.             // line 93
  162.             echo "    ";
  163.             $context["content"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""content");
  164.             // line 94
  165.             echo "    ";
  166.             $context["contentFooter"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""contentFooter");
  167.             // line 95
  168.             echo "    ";
  169.             $context["titleAlign"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""title_align");
  170.             // line 96
  171.             echo "    ";
  172.             $context["titlePadding"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""title_padding");
  173.             // line 97
  174.             echo "
  175.     <div class=\"main-article-area\">
  176.         ";
  177.             // line 99
  178.             if (((isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'99$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'99$this->source); })()), "getText", [], "method"falsefalsetrue99))) {
  179.                 // line 100
  180.                 echo "            ";
  181.                 $context["align"] = "left";
  182.                 // line 101
  183.                 echo "            ";
  184.                 $context["padding"] = "small";
  185.                 // line 102
  186.                 echo "
  187.             ";
  188.                 // line 103
  189.                 if (((isset($context["titleAlign"]) || array_key_exists("titleAlign"$context) ? $context["titleAlign"] : (function () { throw new RuntimeError('Variable "titleAlign" does not exist.'103$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["titleAlign"]) || array_key_exists("titleAlign"$context) ? $context["titleAlign"] : (function () { throw new RuntimeError('Variable "titleAlign" does not exist.'103$this->source); })()), "getData", [], "method"falsefalsetrue103))) {
  190.                     // line 104
  191.                     echo "                ";
  192.                     $context["align"] = twig_get_attribute($this->env$this->source, (isset($context["titleAlign"]) || array_key_exists("titleAlign"$context) ? $context["titleAlign"] : (function () { throw new RuntimeError('Variable "titleAlign" does not exist.'104$this->source); })()), "getData", [], "method"falsefalsetrue104);
  193.                     // line 105
  194.                     echo "            ";
  195.                 }
  196.                 // line 106
  197.                 echo "
  198.             ";
  199.                 // line 107
  200.                 if (((isset($context["titlePadding"]) || array_key_exists("titlePadding"$context) ? $context["titlePadding"] : (function () { throw new RuntimeError('Variable "titlePadding" does not exist.'107$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["titlePadding"]) || array_key_exists("titlePadding"$context) ? $context["titlePadding"] : (function () { throw new RuntimeError('Variable "titlePadding" does not exist.'107$this->source); })()), "getData", [], "method"falsefalsetrue107))) {
  201.                     // line 108
  202.                     echo "                ";
  203.                     $context["padding"] = twig_get_attribute($this->env$this->source, (isset($context["titlePadding"]) || array_key_exists("titlePadding"$context) ? $context["titlePadding"] : (function () { throw new RuntimeError('Variable "titlePadding" does not exist.'108$this->source); })()), "getData", [], "method"falsefalsetrue108);
  204.                     // line 109
  205.                     echo "            ";
  206.                 }
  207.                 // line 110
  208.                 echo "
  209.             <h1 class=\"title-padding-";
  210.                 // line 111
  211.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["padding"]) || array_key_exists("padding"$context) ? $context["padding"] : (function () { throw new RuntimeError('Variable "padding" does not exist.'111$this->source); })()), 111$this->source), "html"nulltrue);
  212.                 echo "\" style=\"text-align: ";
  213.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["align"]) || array_key_exists("align"$context) ? $context["align"] : (function () { throw new RuntimeError('Variable "align" does not exist.'111$this->source); })()), 111$this->source), "html"nulltrue);
  214.                 echo "\">";
  215.                 echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'111$this->source); })()), "render", [], "method"falsefalsetrue111), 111$this->source);
  216.                 echo "</h1>
  217.         ";
  218.             }
  219.             // line 113
  220.             echo "        
  221.         ";
  222.             // line 114
  223.             if (twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"checkbox""contentEmbed"), "isChecked", [], "method"falsefalsetrue114)) {
  224.                 // line 115
  225.                 echo "            ";
  226.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""embedContent", ["htmlspecialchars" => false]);
  227.                 // line 117
  228.                 echo "
  229.         ";
  230.             } else {
  231.                 // line 119
  232.                 echo "            ";
  233.                 if (((isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'119$this->source); })()) &&  !twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'119$this->source); })()), "isEmpty", [], "method"falsefalsetrue119))) {
  234.                     // line 120
  235.                     echo "                ";
  236.                     echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'120$this->source); })()), "render", [], "method"falsefalsetrue120), 120$this->source);
  237.                     echo "
  238.             ";
  239.                 }
  240.                 // line 122
  241.                 echo "        ";
  242.             }
  243.             // line 123
  244.             echo "
  245.         ";
  246.             // line 124
  247.             $context["articleImagesTop"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""article-images-top");
  248.             // line 125
  249.             echo "        ";
  250.             if (((isset($context["articleImagesTop"]) || array_key_exists("articleImagesTop"$context) ? $context["articleImagesTop"] : (function () { throw new RuntimeError('Variable "articleImagesTop" does not exist.'125$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["articleImagesTop"]) || array_key_exists("articleImagesTop"$context) ? $context["articleImagesTop"] : (function () { throw new RuntimeError('Variable "articleImagesTop" does not exist.'125$this->source); })()), "getCount", [], "method"falsefalsetrue125))) {
  251.                 // line 126
  252.                 echo "            <div class=\"justify-content-center\">
  253.                 ";
  254.                 // line 127
  255.                 $context['_parent'] = $context;
  256.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["articleImagesTop"]) || array_key_exists("articleImagesTop"$context) ? $context["articleImagesTop"] : (function () { throw new RuntimeError('Variable "articleImagesTop" does not exist.'127$this->source); })()), "iterator", [], "any"falsefalsetrue127));
  257.                 foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  258.                     // line 128
  259.                     echo "                    ";
  260.                     $context["image"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""article-image-top");
  261.                     // line 129
  262.                     echo "                    ";
  263.                     if (((isset($context["image"]) || array_key_exists("image"$context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.'129$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["image"]) || array_key_exists("image"$context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.'129$this->source); })()), "getImage", [], "method"falsefalsetrue129))) {
  264.                         // line 130
  265.                         echo "                        <div class=\"col d-flex justify-content-center m-3\">
  266.                             ";
  267.                         // line 131
  268.                         echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["image"]) || array_key_exists("image"$context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.'131$this->source); })()), "getImage", [], "method"falsefalsetrue131), "getThumbnail", ["seiko_srticle_top"], "method"falsefalsetrue131), "getHtml", [], "method"falsefalsetrue131), 131$this->source);
  269.                         echo "
  270.                         </div>
  271.                     ";
  272.                     }
  273.                     // line 134
  274.                     echo "                ";
  275.                 }
  276.                 $_parent $context['_parent'];
  277.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  278.                 $context array_intersect_key($context$_parent) + $_parent;
  279.                 // line 135
  280.                 echo "            </div>
  281.         ";
  282.             }
  283.             // line 137
  284.             echo "
  285.         ";
  286.             // line 138
  287.             if (( !twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""dld_apple"), "isEmpty", [], "method"falsefalsetrue138) &&  !twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""dld_google"), "isEmpty", [], "method"falsefalsetrue138))) {
  288.                 // line 139
  289.                 echo "
  290.             <div class=\"store-button-container\">
  291.                 <div class=\"store-button-wrapper\">
  292.                     <div class=\"store-button\">
  293.                         ";
  294.                 // line 143
  295.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""dld_apple", ["textPrefix" => "<img src=\"/themes/frontend/images/apple-logo.png\" alt=\"\">"]);
  296.                 // line 145
  297.                 echo "
  298.                     </div>
  299.                     <div class=\"store-button\">
  300.                         ";
  301.                 // line 148
  302.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""dld_google", ["textPrefix" => "<img src=\"/themes/frontend/images/google-play.png\" alt=\"\">"]);
  303.                 // line 150
  304.                 echo "
  305.                     </div>
  306.                 </div>
  307.             </div>
  308.         ";
  309.             }
  310.             // line 156
  311.             echo "
  312.         ";
  313.             // line 157
  314.             if (((isset($context["contentFooter"]) || array_key_exists("contentFooter"$context) ? $context["contentFooter"] : (function () { throw new RuntimeError('Variable "contentFooter" does not exist.'157$this->source); })()) &&  !twig_get_attribute($this->env$this->source, (isset($context["contentFooter"]) || array_key_exists("contentFooter"$context) ? $context["contentFooter"] : (function () { throw new RuntimeError('Variable "contentFooter" does not exist.'157$this->source); })()), "isEmpty", [], "method"falsefalsetrue157))) {
  315.                 // line 158
  316.                 echo "            ";
  317.                 echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["contentFooter"]) || array_key_exists("contentFooter"$context) ? $context["contentFooter"] : (function () { throw new RuntimeError('Variable "contentFooter" does not exist.'158$this->source); })()), "render", [], "method"falsefalsetrue158), 158$this->source);
  318.                 echo "
  319.         ";
  320.             }
  321.             // line 160
  322.             echo "
  323.     </div>
  324.     ";
  325.             // line 163
  326.             $context["articleImages"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""article-images");
  327.             // line 164
  328.             echo "
  329.     ";
  330.             // line 165
  331.             if (((isset($context["articleImages"]) || array_key_exists("articleImages"$context) ? $context["articleImages"] : (function () { throw new RuntimeError('Variable "articleImages" does not exist.'165$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["articleImages"]) || array_key_exists("articleImages"$context) ? $context["articleImages"] : (function () { throw new RuntimeError('Variable "articleImages" does not exist.'165$this->source); })()), "getCount", [], "method"falsefalsetrue165))) {
  332.                 // line 166
  333.                 echo "        <div class=\"row article-images justify-content-center\">
  334.             ";
  335.                 // line 167
  336.                 $context['_parent'] = $context;
  337.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["articleImages"]) || array_key_exists("articleImages"$context) ? $context["articleImages"] : (function () { throw new RuntimeError('Variable "articleImages" does not exist.'167$this->source); })()), "iterator", [], "any"falsefalsetrue167));
  338.                 foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  339.                     // line 168
  340.                     echo "                ";
  341.                     $context["image"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""image");
  342.                     // line 169
  343.                     echo "                ";
  344.                     if (((isset($context["image"]) || array_key_exists("image"$context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.'169$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["image"]) || array_key_exists("image"$context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.'169$this->source); })()), "getImage", [], "method"falsefalsetrue169))) {
  345.                         // line 170
  346.                         echo "                    <div class=\"col d-flex justify-content-center m-3\">
  347.                         ";
  348.                         // line 171
  349.                         if (twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""link"), "isEmpty", [], "method"falsefalsetrue171)) {
  350.                             // line 172
  351.                             echo "                            ";
  352.                             echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["image"]) || array_key_exists("image"$context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.'172$this->source); })()), "getImage", [], "method"falsefalsetrue172), "getThumbnail", ["seiko_article"], "method"falsefalsetrue172), "getHtml", [], "method"falsefalsetrue172), 172$this->source);
  353.                             echo "
  354.                         ";
  355.                         } else {
  356.                             // line 174
  357.                             echo "                            ";
  358.                             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""link", ["noText" => true"textPrefix" => $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                             // line 176
  359. (isset($context["image"]) || array_key_exists("image"$context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.'176$this->source); })()), "getImage", [], "method"falsefalsetrue176), "getThumbnail", ["seiko_article"], "method"falsefalsetrue176), "getHtml", [], "method"falsefalsetrue176), 176$this->source)]);
  360.                             // line 177
  361.                             echo "
  362.                         ";
  363.                         }
  364.                         // line 179
  365.                         echo "                    </div>
  366.                 ";
  367.                     }
  368.                     // line 181
  369.                     echo "            ";
  370.                 }
  371.                 $_parent $context['_parent'];
  372.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  373.                 $context array_intersect_key($context$_parent) + $_parent;
  374.                 // line 182
  375.                 echo "        </div>
  376.     ";
  377.             }
  378.         }
  379.         
  380.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  381.         
  382.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  383.     }
  384.     public function getTemplateName()
  385.     {
  386.         return "areas/article/view.html.twig";
  387.     }
  388.     public function isTraitable()
  389.     {
  390.         return false;
  391.     }
  392.     public function getDebugInfo()
  393.     {
  394.         return array (  392 => 182,  386 => 181,  382 => 179,  378 => 177,  376 => 176,  374 => 174,  368 => 172,  366 => 171,  363 => 170,  360 => 169,  357 => 168,  353 => 167,  350 => 166,  348 => 165,  345 => 164,  343 => 163,  338 => 160,  332 => 158,  330 => 157,  327 => 156,  319 => 150,  317 => 148,  312 => 145,  310 => 143,  304 => 139,  302 => 138,  299 => 137,  295 => 135,  289 => 134,  283 => 131,  280 => 130,  277 => 129,  274 => 128,  270 => 127,  267 => 126,  264 => 125,  262 => 124,  259 => 123,  256 => 122,  250 => 120,  247 => 119,  243 => 117,  240 => 115,  238 => 114,  235 => 113,  226 => 111,  223 => 110,  220 => 109,  217 => 108,  215 => 107,  212 => 106,  209 => 105,  206 => 104,  204 => 103,  201 => 102,  198 => 101,  195 => 100,  193 => 99,  189 => 97,  186 => 96,  183 => 95,  180 => 94,  177 => 93,  174 => 92,  170 => 90,  161 => 87,  156 => 86,  152 => 85,  144 => 79,  142 => 75,  136 => 72,  130 => 69,  123 => 64,  114 => 62,  110 => 61,  105 => 58,  101 => 56,  98 => 52,  93 => 49,  91 => 45,  88 => 44,  86 => 43,  81 => 40,  79 => 36,  73 => 32,  71 => 25,  65 => 21,  63 => 15,  58 => 12,  56 => 9,  47 => 2,  45 => 1,);
  395.     }
  396.     public function getSourceContext()
  397.     {
  398.         return new Source("{% if editmode %}
  399.     <style>
  400.         .article-edit-box,
  401.         .editor-checkbox label {
  402.             color: #fff;
  403.         }
  404.     </style>
  405.     <div class=\"main-article-area\">
  406.         {{ pimcore_input(\"title\", {
  407.             \"placeholder\": 'Cím',
  408.             \"class\": \"article-edit-title\"
  409.         }) }}
  410.         <div style=\"display: flex; align-items: center; margin-bottom: 25px\">
  411.             <label class=\"pimcore-edit-label\">Cím igazítása: </label>
  412.             {{ pimcore_select(\"title_align\", {
  413.                 \"store\": [
  414.                     [\"left\", \"Balra\"],
  415.                     [\"center\", \"Középre\"],
  416.                 ],
  417.                 \"defaultValue\" : \"left\"
  418.             }) }}
  419.         </div>
  420.         <div style=\"display: flex; align-items: center; margin-bottom: 25px\">
  421.             <label class=\"pimcore-edit-label\">Cím utáni távolság: </label>
  422.             {{ pimcore_select(\"title_padding\", {
  423.                 \"store\": [
  424.                     [\"small\", \"Kicsi\"],
  425.                     [\"medium\", \"Közepes\"],
  426.                     [\"big\", \"Nagy\"],
  427.                 ],
  428.                 \"defaultValue\" : \"small\"
  429.             }) }}
  430.         </div>
  431.         <div class=\"article-area-checkbox-container\">
  432.             {{ pimcore_checkbox('contentEmbed', {
  433.                 'reload': true,
  434.                 'class': 'editor-checkbox',
  435.                 'label': 'Beágyazott tartalom '
  436.             }) }}
  437.             <span title=\"A jelölőnégyzet használatával a szerkesztő tartalma elveszik.\">ℹ️</span>
  438.         </div>
  439.         {% if pimcore_checkbox('contentEmbed').isChecked() %}
  440.             <div class=\"article-area-embed-container\">
  441.                 {{ pimcore_textarea('embedContent', {
  442.                     \"height\": \"200\",
  443.                     \"placeholder\": \"Beágyazott tartalom\",
  444.                     \"class\": \"article-edit-box\"
  445.                 }) }}
  446.             </div>
  447.         {% else %}
  448.             {{ pimcore_wysiwyg(\"content\", {
  449.                 \"height\": 200,
  450.                 \"placeholder\": \"Szöveg\",
  451.                 \"class\": \"article-edit-box\"
  452.             }) }}
  453.         {% endif %}
  454.         <div class=\"article-images-container\">
  455.             <h3>Képek</h3>
  456.             {% for i in pimcore_block('article-images-top').iterator %}
  457.                 {{ pimcore_image(\"article-image-top\", { \"class\": \"w-max-100-percent\" }) }}
  458.             {% endfor %}
  459.         </div>
  460.         <div>
  461.             <h3>Apple link</h3>
  462.             {{ pimcore_link('dld_apple') }}
  463.             <h3>Google link</h3>
  464.             {{ pimcore_link('dld_google') }}
  465.         </div>
  466.         {{ pimcore_wysiwyg(\"contentFooter\", {
  467.             \"height\": 200,
  468.             \"placeholder\": \"Szöveg\",
  469.             \"class\": \"article-edit-box\"
  470.         }) }}
  471.     </div>
  472.     <div class=\"article-images\" style=\"background-color: #fff !important;\">
  473.         <h3>KÉPEK</h3>
  474.         {% for i in pimcore_block('article-images').iterator %}
  475.             <p>Link:<br>{{ pimcore_link('link', {'required': 'linkonly'}) }}</p>
  476.             <p>Kép:<br>{{ pimcore_image('image', {'required': true}) }}</p>
  477.             <hr>
  478.         {% endfor %}
  479.     </div>
  480. {% else %}
  481.     {% set title = pimcore_input(\"title\") %}
  482.     {% set content = pimcore_wysiwyg(\"content\") %}
  483.     {% set contentFooter = pimcore_wysiwyg(\"contentFooter\") %}
  484.     {% set titleAlign = pimcore_select('title_align') %}
  485.     {% set titlePadding = pimcore_select('title_padding') %}
  486.     <div class=\"main-article-area\">
  487.         {% if title and title.getText() %}
  488.             {% set align = 'left' %}
  489.             {% set padding = 'small' %}
  490.             {% if titleAlign and titleAlign.getData() %}
  491.                 {% set align = titleAlign.getData() %}
  492.             {% endif %}
  493.             {% if titlePadding and titlePadding.getData() %}
  494.                 {% set padding = titlePadding.getData() %}
  495.             {% endif %}
  496.             <h1 class=\"title-padding-{{ padding }}\" style=\"text-align: {{ align }}\">{{ title.render() | raw }}</h1>
  497.         {% endif %}
  498.         
  499.         {% if pimcore_checkbox('contentEmbed').isChecked() %}
  500.             {{ pimcore_textarea('embedContent', {
  501.                 \"htmlspecialchars\": false
  502.             }) }}
  503.         {% else %}
  504.             {% if content and not content.isEmpty() %}
  505.                 {{ content.render() | raw }}
  506.             {% endif %}
  507.         {% endif %}
  508.         {% set articleImagesTop = pimcore_block('article-images-top') %}
  509.         {% if articleImagesTop and articleImagesTop.getCount() %}
  510.             <div class=\"justify-content-center\">
  511.                 {% for i in articleImagesTop.iterator %}
  512.                     {% set image = pimcore_image('article-image-top') %}
  513.                     {% if image and image.getImage() %}
  514.                         <div class=\"col d-flex justify-content-center m-3\">
  515.                             {{ image.getImage().getThumbnail('seiko_srticle_top').getHtml() | raw }}
  516.                         </div>
  517.                     {% endif %}
  518.                 {% endfor %}
  519.             </div>
  520.         {% endif %}
  521.         {% if not pimcore_link('dld_apple').isEmpty() and not pimcore_link('dld_google').isEmpty() %}
  522.             <div class=\"store-button-container\">
  523.                 <div class=\"store-button-wrapper\">
  524.                     <div class=\"store-button\">
  525.                         {{ pimcore_link('dld_apple', {
  526.                             'textPrefix': '<img src=\"/themes/frontend/images/apple-logo.png\" alt=\"\">'
  527.                         }) }}
  528.                     </div>
  529.                     <div class=\"store-button\">
  530.                         {{ pimcore_link('dld_google', {
  531.                             'textPrefix': '<img src=\"/themes/frontend/images/google-play.png\" alt=\"\">'
  532.                         }) }}
  533.                     </div>
  534.                 </div>
  535.             </div>
  536.         {% endif %}
  537.         {% if contentFooter and not contentFooter.isEmpty() %}
  538.             {{ contentFooter.render() | raw }}
  539.         {% endif %}
  540.     </div>
  541.     {% set articleImages = pimcore_block('article-images') %}
  542.     {% if articleImages and articleImages.getCount() %}
  543.         <div class=\"row article-images justify-content-center\">
  544.             {% for i in articleImages.iterator %}
  545.                 {% set image = pimcore_image('image') %}
  546.                 {% if image and image.getImage() %}
  547.                     <div class=\"col d-flex justify-content-center m-3\">
  548.                         {% if pimcore_link('link').isEmpty() %}
  549.                             {{ image.getImage().getThumbnail('seiko_article').getHtml() | raw }}
  550.                         {% else %}
  551.                             {{ pimcore_link('link', {
  552.                                 'noText': true,
  553.                                 'textPrefix': image.getImage().getThumbnail('seiko_article').getHtml() | raw
  554.                             }) }}
  555.                         {% endif %}
  556.                     </div>
  557.                 {% endif %}
  558.             {% endfor %}
  559.         </div>
  560.     {% endif %}
  561. {% endif %}""areas/article/view.html.twig""/home/zoltan/public_html/boutique-v2/templates/areas/article/view.html.twig");
  562.     }
  563.     
  564.     public function checkSecurity()
  565.     {
  566.         static $tags = array("if" => 1"for" => 61"set" => 92);
  567.         static $filters = array("escape" => 111"raw" => 111);
  568.         static $functions = array("pimcore_input" => 9"pimcore_select" => 15"pimcore_checkbox" => 36"pimcore_textarea" => 45"pimcore_wysiwyg" => 52"pimcore_block" => 61"pimcore_image" => 62"pimcore_link" => 69);
  569.         try {
  570.             $this->sandbox->checkSecurity(
  571.                 ['if''for''set'],
  572.                 ['escape''raw'],
  573.                 ['pimcore_input''pimcore_select''pimcore_checkbox''pimcore_textarea''pimcore_wysiwyg''pimcore_block''pimcore_image''pimcore_link']
  574.             );
  575.         } catch (SecurityError $e) {
  576.             $e->setSourceContext($this->source);
  577.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  578.                 $e->setTemplateLine($tags[$e->getTagName()]);
  579.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  580.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  581.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  582.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  583.             }
  584.             throw $e;
  585.         }
  586.     }
  587. }