var/cache/dev/twig/81/816b0a12f14506ed814e9e016df87776.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/static_page/static-with-bricks.twig */
  15. class __TwigTemplate_ee1845c12e302636bb38ac18b0f247bb 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/static_page/static-with-bricks.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/static_page/static-with-bricks.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/static_page/static-with-bricks.twig"));
  43.         $this->parent $this->loadTemplate("layout/default.html.twig""document/static_page/static-with-bricks.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\" style=\"background-image: unset;\">
  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->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""staticPage--heading", ["placeholder" => "Heading..."]);
  70.         yield "</h4>
  71.                 ";
  72.         // line 9
  73.         yield from         $this->loadTemplate("document/static_page/sidebar/sidebar.html.twig""document/static_page/static-with-bricks.twig"9)->unwrap()->yield($context);
  74.         // line 10
  75.         yield "            </div>
  76.             <div class=\"col-lg-6\">
  77.                 <div class=\"mb-4 mb-lg-4 mb-md-4\">
  78.                     <h1 class=\"font-italic font-weight-bold\">
  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.                 <div>
  87.                     ";
  88.         // line 23
  89.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""content", ["height" => 600"placeholder" => "Content"]);
  90.         // line 27
  91.         yield "
  92.                 </div>
  93.             </div>
  94.         </div>
  95.     </div>
  96.     ";
  97.         // line 33
  98.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""myAreabrick");
  99.         yield "
  100. </div>
  101. ";
  102.         
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  104.         
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  106.         
  107.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  108.         return; yield '';
  109.     }
  110.     /**
  111.      * @codeCoverageIgnore
  112.      */
  113.     public function getTemplateName()
  114.     {
  115.         return "document/static_page/static-with-bricks.twig";
  116.     }
  117.     /**
  118.      * @codeCoverageIgnore
  119.      */
  120.     public function isTraitable()
  121.     {
  122.         return false;
  123.     }
  124.     /**
  125.      * @codeCoverageIgnore
  126.      */
  127.     public function getDebugInfo()
  128.     {
  129.         return array (  117 => 33,  109 => 27,  107 => 23,  100 => 18,  98 => 14,  92 => 10,  90 => 9,  86 => 8,  80 => 4,  67 => 3,  38 => 1,);
  130.     }
  131.     public function getSourceContext()
  132.     {
  133.         return new Source("{% extends 'layout/default.html.twig' %}
  134. {% block contentBlock %}
  135. <div class=\"staticPage\" style=\"background-image: unset;\">
  136.     <div class=\"container my-5 my-lg-5 my-md-5\">
  137.         <div class=\"row\">
  138.             <div class=\"col-lg-3\">
  139.                 <h4 class=\"font-weight-bold text-uppercase\">{{ pimcore_input('staticPage--heading',{placeholder: 'Heading...'}) }}</h4>
  140.                 {% include 'document/static_page/sidebar/sidebar.html.twig' %}
  141.             </div>
  142.             <div class=\"col-lg-6\">
  143.                 <div class=\"mb-4 mb-lg-4 mb-md-4\">
  144.                     <h1 class=\"font-italic font-weight-bold\">
  145.                         {{ pimcore_input('heading',{
  146.                                 \"height\": 150,
  147.                                 \"placeholder\": \"Heading\"
  148.                             })
  149.                         }}
  150.                     </h1>
  151.                 </div>
  152.                 <div>
  153.                     {{  pimcore_wysiwyg(\"content\", {
  154.                             \"height\": 600,
  155.                             \"placeholder\": \"Content\"
  156.                         })
  157.                     }}
  158.                 </div>
  159.             </div>
  160.         </div>
  161.     </div>
  162.     {{ pimcore_areablock(\"myAreabrick\") }}
  163. </div>
  164. {% endblock %}""document/static_page/static-with-bricks.twig""/var/www/webovi/stoelting/pimcore/templates/document/static_page/static-with-bricks.twig");
  165.     }
  166.     
  167.     public function checkSecurity()
  168.     {
  169.         static $tags = array("include" => 9);
  170.         static $filters = array();
  171.         static $functions = array("pimcore_input" => 8"pimcore_wysiwyg" => 23"pimcore_areablock" => 33);
  172.         try {
  173.             $this->sandbox->checkSecurity(
  174.                 ['include'],
  175.                 [],
  176.                 ['pimcore_input''pimcore_wysiwyg''pimcore_areablock'],
  177.                 $this->source
  178.             );
  179.         } catch (SecurityError $e) {
  180.             $e->setSourceContext($this->source);
  181.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  182.                 $e->setTemplateLine($tags[$e->getTagName()]);
  183.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  184.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  185.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  186.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  187.             }
  188.             throw $e;
  189.         }
  190.     }
  191. }