var/cache/dev/twig/73/733ec5e3eb9931109ae9d9aa38f32147.php line 54

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/education/default.html.twig */
  15. class __TwigTemplate_6f5ef1b91fff1abc6c848f31e925702e 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/education/default.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/education/default.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/education/default.html.twig"));
  43.         $this->parent $this->loadTemplate("layout/default.html.twig""document/education/default.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("Education.pages.title"), "html"nulltrue);
  70.         yield "</h4>
  71.                 ";
  72.         // line 9
  73.         yield from         $this->loadTemplate("document/static_page/sidebar/sidebar.html.twig""document/education/default.html.twig"9)->unwrap()->yield($context);
  74.         // line 10
  75.         yield "            </div>
  76.             <div class=\"col-lg-8\">
  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 class=\"list-bullet\">
  87.                     ";
  88.         // line 22
  89.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""content", ["height" => 600"placeholder" => "Content""class" => "list-bullet"]);
  90.         // line 27
  91.         yield "
  92.                 </div>
  93.                 ";
  94.         // line 30
  95.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""myAreaBlock");
  96.         yield "
  97.             </div>
  98.         </div>
  99.     </div>
  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/education/default.html.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 (  113 => 30,  108 => 27,  106 => 22,  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\">
  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\">{{ 'Education.pages.title' | trans }}</h4>
  140.                 {% include 'document/static_page/sidebar/sidebar.html.twig' %}
  141.             </div>
  142.             <div class=\"col-lg-8\">
  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 class=\"list-bullet\">
  153.                     {{  pimcore_wysiwyg(\"content\", {
  154.                             \"height\": 600,
  155.                             \"placeholder\": \"Content\",
  156.                             \"class\": 'list-bullet'
  157.                         })
  158.                     }}
  159.                 </div>
  160.                 {{ pimcore_areablock('myAreaBlock') }}
  161.             </div>
  162.         </div>
  163.     </div>
  164. </div>
  165. {% endblock %}""document/education/default.html.twig""/var/www/webovi/stoelting/pimcore/templates/document/education/default.html.twig");
  166.     }
  167.     
  168.     public function checkSecurity()
  169.     {
  170.         static $tags = array("include" => 9);
  171.         static $filters = array("escape" => 8"trans" => 8);
  172.         static $functions = array("pimcore_input" => 14"pimcore_wysiwyg" => 22"pimcore_areablock" => 30);
  173.         try {
  174.             $this->sandbox->checkSecurity(
  175.                 ['include'],
  176.                 ['escape''trans'],
  177.                 ['pimcore_input''pimcore_wysiwyg''pimcore_areablock'],
  178.                 $this->source
  179.             );
  180.         } catch (SecurityError $e) {
  181.             $e->setSourceContext($this->source);
  182.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  183.                 $e->setTemplateLine($tags[$e->getTagName()]);
  184.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  185.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  186.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  187.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  188.             }
  189.             throw $e;
  190.         }
  191.     }
  192. }