var/cache/dev/twig/cc/cceabf5f8815feadda461a8da4369019.php line 41

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* document/about/distributors.html.twig */
  15. class __TwigTemplate_532f282466a11b0fdf0ee615fcc8be1d extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'contentBlock' => [$this'block_contentBlock'],
  25.         ];
  26.         $this->sandbox $this->env->getExtension(SandboxExtension::class);
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "layout/default.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  38.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""document/about/distributors.html.twig"));
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""document/about/distributors.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""document/about/distributors.html.twig"));
  43.         $this->parent $this->loadTemplate("layout/default.html.twig""document/about/distributors.html.twig"1);
  44.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 3
  53.     public function block_contentBlock($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  57.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contentBlock"));
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contentBlock"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contentBlock"));
  62.         // line 4
  63.         yield "<div class=\"staticPage\">
  64.     <div class=\"container my-5 my-lg-5 my-md-5\">
  65.         <div class=\"row\">
  66.             <div class=\"col-lg-3\">
  67.                 <h4 class=\"font-weight-bold text-uppercase\">";
  68.         // line 8
  69.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("About.pages.title"), "html"nulltrue);
  70.         yield "</h4>
  71.                 ";
  72.         // line 9
  73.         yield from         $this->loadTemplate("document/static_page/sidebar/sidebar.html.twig""document/about/distributors.html.twig"9)->unwrap()->yield($context);
  74.         // line 10
  75.         yield "            </div>
  76.             <div class=\"col-lg-9\">
  77.                 <div class=\"mb-3 mb-lg-3 mb-md-3\">
  78.                     <h1 class=\"font-italic font-weight-bold mb-0\">
  79.                         ";
  80.         // line 14
  81.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""heading", ["height" => 150"placeholder" => "Heading"]);
  82.         // line 18
  83.         yield "
  84.                     </h1>
  85.                 </div>
  86.                 <p class=\"font-weight-light font-italic big\">
  87.                     ";
  88.         // line 22
  89.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""subHeading", ["placeholder" => "Content...""class" => "font-weight-light font-italic big"]);
  90.         // line 26
  91.         yield "
  92.                 </p>
  93.                 <div class=\"row\" style=\"word-break: break-word;\">
  94.                     ";
  95.         // line 30
  96.         $context['_parent'] = $context;
  97.         $context['_seq'] = CoreExtension::ensureTraversable($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->getBlockIterator($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""contentblock", ["class" => "w-100 d-flex justify-content-between"])));
  98.         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  99.             // line 31
  100.             yield "                        <div class=\"";
  101.             yield (( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'31$this->source); })())) ? ("col-lg-4 col-md-4 col-sm-12 mt-3 mt-lg-3 mt-md-3") : (""));
  102.             yield "\">
  103.                             ";
  104.             // line 32
  105.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg", ("content-" $this->sandbox->ensureToStringAllowed($context["i"], 32$this->source)), ["height" => 600"placeholder" => "Content"]);
  106.             // line 36
  107.             yield "
  108.                         </div>
  109.                     ";
  110.         }
  111.         $_parent $context['_parent'];
  112.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  113.         $context array_intersect_key($context$_parent) + $_parent;
  114.         // line 39
  115.         yield "                </div>
  116.             </div>
  117.         </div>
  118.     </div>
  119. </div>
  120. ";
  121.         
  122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  123.         
  124.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  125.         
  126.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  127.         return; yield '';
  128.     }
  129.     /**
  130.      * @codeCoverageIgnore
  131.      */
  132.     public function getTemplateName()
  133.     {
  134.         return "document/about/distributors.html.twig";
  135.     }
  136.     /**
  137.      * @codeCoverageIgnore
  138.      */
  139.     public function isTraitable()
  140.     {
  141.         return false;
  142.     }
  143.     /**
  144.      * @codeCoverageIgnore
  145.      */
  146.     public function getDebugInfo()
  147.     {
  148.         return array (  133 => 39,  125 => 36,  123 => 32,  118 => 31,  114 => 30,  108 => 26,  106 => 22,  100 => 18,  98 => 14,  92 => 10,  90 => 9,  86 => 8,  80 => 4,  67 => 3,  38 => 1,);
  149.     }
  150.     public function getSourceContext()
  151.     {
  152.         return new Source("{% extends 'layout/default.html.twig' %}
  153. {% block contentBlock %}
  154. <div class=\"staticPage\">
  155.     <div class=\"container my-5 my-lg-5 my-md-5\">
  156.         <div class=\"row\">
  157.             <div class=\"col-lg-3\">
  158.                 <h4 class=\"font-weight-bold text-uppercase\">{{ 'About.pages.title' | trans }}</h4>
  159.                 {% include 'document/static_page/sidebar/sidebar.html.twig' %}
  160.             </div>
  161.             <div class=\"col-lg-9\">
  162.                 <div class=\"mb-3 mb-lg-3 mb-md-3\">
  163.                     <h1 class=\"font-italic font-weight-bold mb-0\">
  164.                         {{ pimcore_input('heading',{
  165.                                 \"height\": 150,
  166.                                 \"placeholder\": \"Heading\"
  167.                             })
  168.                         }}
  169.                     </h1>
  170.                 </div>
  171.                 <p class=\"font-weight-light font-italic big\">
  172.                     {{  pimcore_input(\"subHeading\", {
  173.                             \"placeholder\": \"Content...\",
  174.                             \"class\": \"font-weight-light font-italic big\"
  175.                         })
  176.                     }}
  177.                 </p>
  178.                 <div class=\"row\" style=\"word-break: break-word;\">
  179.                     {% for i in pimcore_iterate_block(pimcore_block('contentblock', { class: 'w-100 d-flex justify-content-between' })) %}
  180.                         <div class=\"{{ not editmode ? 'col-lg-4 col-md-4 col-sm-12 mt-3 mt-lg-3 mt-md-3' }}\">
  181.                             {{  pimcore_wysiwyg(\"content-\" ~ i, {
  182.                                 \"height\": 600,
  183.                                 \"placeholder\": \"Content\"
  184.                             })
  185.                         }}
  186.                         </div>
  187.                     {% endfor %}
  188.                 </div>
  189.             </div>
  190.         </div>
  191.     </div>
  192. </div>
  193. {% endblock %}""document/about/distributors.html.twig""/var/www/webovi/stoelting/pimcore/templates/document/about/distributors.html.twig");
  194.     }
  195.     
  196.     public function checkSecurity()
  197.     {
  198.         static $tags = array("include" => 9"for" => 30);
  199.         static $filters = array("escape" => 8"trans" => 8);
  200.         static $functions = array("pimcore_input" => 14"pimcore_iterate_block" => 30"pimcore_block" => 30"pimcore_wysiwyg" => 32);
  201.         try {
  202.             $this->sandbox->checkSecurity(
  203.                 ['include''for'],
  204.                 ['escape''trans'],
  205.                 ['pimcore_input''pimcore_iterate_block''pimcore_block''pimcore_wysiwyg'],
  206.                 $this->source
  207.             );
  208.         } catch (SecurityError $e) {
  209.             $e->setSourceContext($this->source);
  210.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  211.                 $e->setTemplateLine($tags[$e->getTagName()]);
  212.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  213.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  214.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  215.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  216.             }
  217.             throw $e;
  218.         }
  219.     }
  220. }