var/cache/dev/twig/8f/8f9393e5de43a29e523d8bf8fa975674.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/support/default.html.twig */
  15. class __TwigTemplate_1341d67d9887e5e845d062e24b1288e6 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/support/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/support/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/support/default.html.twig"));
  43.         $this->parent $this->loadTemplate("layout/default.html.twig""document/support/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("Support.pages.title"), "html"nulltrue);
  70.         yield "</h4>
  71.                 ";
  72.         // line 9
  73.         yield from         $this->loadTemplate("document/static_page/sidebar/sidebar.html.twig""document/support/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.         // line 12
  79.         yield ((( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'12$this->source); })()) && CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""heading"), "isEmpty", [], "method"falsefalsetrue12))) ? ("d-none") : (""));
  80.         yield "\">
  81.                     <h1 class=\"font-italic font-weight-bold\">
  82.                         ";
  83.         // line 14
  84.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""heading", ["height" => 150"placeholder" => "Heading"]);
  85.         // line 18
  86.         yield "
  87.                     </h1>
  88.                 </div>
  89.                 <div class=\"list-bullet ";
  90.         // line 22
  91.         yield ((( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'22$this->source); })()) && CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""content"), "isEmpty", [], "method"falsefalsetrue22))) ? ("d-none") : (""));
  92.         yield "\">
  93.                     ";
  94.         // line 23
  95.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""content", ["height" => 600"placeholder" => "Content""class" => "list-bullet"]);
  96.         // line 28
  97.         yield "
  98.                 </div>
  99.                 ";
  100.         // line 31
  101.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""myAreaBlock");
  102.         yield "
  103.             </div>
  104.         </div>
  105.     </div>
  106. </div>
  107. ";
  108.         
  109.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  110.         
  111.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  112.         
  113.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  114.         return; yield '';
  115.     }
  116.     /**
  117.      * @codeCoverageIgnore
  118.      */
  119.     public function getTemplateName()
  120.     {
  121.         return "document/support/default.html.twig";
  122.     }
  123.     /**
  124.      * @codeCoverageIgnore
  125.      */
  126.     public function isTraitable()
  127.     {
  128.         return false;
  129.     }
  130.     /**
  131.      * @codeCoverageIgnore
  132.      */
  133.     public function getDebugInfo()
  134.     {
  135.         return array (  120 => 31,  115 => 28,  113 => 23,  109 => 22,  103 => 18,  101 => 14,  96 => 12,  92 => 10,  90 => 9,  86 => 8,  80 => 4,  67 => 3,  38 => 1,);
  136.     }
  137.     public function getSourceContext()
  138.     {
  139.         return new Source("{% extends 'layout/default.html.twig' %}
  140. {% block contentBlock %}
  141. <div class=\"staticPage\">
  142.     <div class=\"container my-5 my-lg-5 my-md-5\">
  143.         <div class=\"row\">
  144.             <div class=\"col-lg-3\">
  145.                 <h4 class=\"font-weight-bold text-uppercase\">{{ 'Support.pages.title' | trans }}</h4>
  146.                 {% include 'document/static_page/sidebar/sidebar.html.twig' %}
  147.             </div>
  148.             <div class=\"col-lg-8\">
  149.                 <div class=\"mb-4 mb-lg-4 mb-md-4 {{ not editmode and pimcore_input('heading').isEmpty() ? 'd-none' }}\">
  150.                     <h1 class=\"font-italic font-weight-bold\">
  151.                         {{ pimcore_input('heading',{
  152.                                 \"height\": 150,
  153.                                 \"placeholder\": \"Heading\"
  154.                             })
  155.                         }}
  156.                     </h1>
  157.                 </div>
  158.                 <div class=\"list-bullet {{ not editmode and pimcore_wysiwyg('content').isEmpty() ? 'd-none' }}\">
  159.                     {{  pimcore_wysiwyg(\"content\", {
  160.                             \"height\": 600,
  161.                             \"placeholder\": \"Content\",
  162.                             \"class\": 'list-bullet'
  163.                         })
  164.                     }}
  165.                 </div>
  166.                 {{ pimcore_areablock('myAreaBlock') }}
  167.             </div>
  168.         </div>
  169.     </div>
  170. </div>
  171. {% endblock %}""document/support/default.html.twig""/var/www/webovi/stoelting/pimcore/templates/document/support/default.html.twig");
  172.     }
  173.     
  174.     public function checkSecurity()
  175.     {
  176.         static $tags = array("include" => 9);
  177.         static $filters = array("escape" => 8"trans" => 8);
  178.         static $functions = array("pimcore_input" => 12"pimcore_wysiwyg" => 22"pimcore_areablock" => 31);
  179.         try {
  180.             $this->sandbox->checkSecurity(
  181.                 ['include'],
  182.                 ['escape''trans'],
  183.                 ['pimcore_input''pimcore_wysiwyg''pimcore_areablock'],
  184.                 $this->source
  185.             );
  186.         } catch (SecurityError $e) {
  187.             $e->setSourceContext($this->source);
  188.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  189.                 $e->setTemplateLine($tags[$e->getTagName()]);
  190.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  191.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  192.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  193.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  194.             }
  195.             throw $e;
  196.         }
  197.     }
  198. }