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