var/cache/dev/twig/4e/4e6b3b6084617b7766e80216947d5140.php line 51

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* default/home.html.twig */
  14. class __TwigTemplate_d9b8137c4b170ea547e205e9b38e846f extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'content' => [$this'block_content'],
  24.             'inlinescripts' => [$this'block_inlinescripts'],
  25.         ];
  26.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 3
  32.         return "layout.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/home.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/home.html.twig"));
  41.         $this->parent $this->loadTemplate("layout.html.twig""default/home.html.twig"3);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 9
  49.     public function block_content($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  56.         // line 10
  57.         echo "
  58. <!-- #main -->
  59. <main id=\"main\" role=\"main\">
  60.   ";
  61.         // line 13
  62.         if ((array_key_exists("document"$context) && twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'13$this->source); })()), "getTitle", [], "method"falsefalsetrue13))) {
  63.             // line 14
  64.             echo "    <h1 class=\"uk-hidden\">";
  65.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'14$this->source); })()), "getTitle", [], "method"falsefalsetrue14), 14$this->source), "html"nulltrue);
  66.             echo "</h1>
  67.   ";
  68.         }
  69.         // line 16
  70.         echo "    
  71.   ";
  72.         // line 17
  73.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""contentTop");
  74.         echo "
  75.     
  76.   
  77.   ";
  78.         // line 22
  79.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""contentBottom");
  80.         echo "
  81. </main><!-- end #main -->
  82. ";
  83.         
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  85.         
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  87.     }
  88.     // line 29
  89.     public function block_inlinescripts($context, array $blocks = [])
  90.     {
  91.         $macros $this->macros;
  92.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  94.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  96.         // line 30
  97.         echo "        
  98. ";
  99.         
  100.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  101.         
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  103.     }
  104.     public function getTemplateName()
  105.     {
  106.         return "default/home.html.twig";
  107.     }
  108.     public function isTraitable()
  109.     {
  110.         return false;
  111.     }
  112.     public function getDebugInfo()
  113.     {
  114.         return array (  121 => 30,  111 => 29,  95 => 22,  87 => 17,  84 => 16,  78 => 14,  76 => 13,  71 => 10,  61 => 9,  38 => 3,);
  115.     }
  116.     public function getSourceContext()
  117.     {
  118.         return new Source("
  119. {% extends \"layout.html.twig\" %}
  120. {#
  121.     {% use AppBundle/Helper/Apik %}
  122. #}
  123. {% block content %}
  124. <!-- #main -->
  125. <main id=\"main\" role=\"main\">
  126.   {% if document is defined and document.getTitle() %}
  127.     <h1 class=\"uk-hidden\">{{ document.getTitle() }}</h1>
  128.   {% endif %}
  129.     
  130.   {{ pimcore_areablock('contentTop') }}
  131.     
  132.   
  133.   {{ pimcore_areablock('contentBottom') }}
  134. </main><!-- end #main -->
  135. {% endblock %}
  136. {% block inlinescripts %}
  137.         
  138. {% endblock inlinescripts %}""default/home.html.twig""/var/www/www.mangogem.com/www/templates/default/home.html.twig");
  139.     }
  140.     
  141.     public function checkSecurity()
  142.     {
  143.         static $tags = array("if" => 13);
  144.         static $filters = array("escape" => 14);
  145.         static $functions = array("pimcore_areablock" => 17);
  146.         try {
  147.             $this->sandbox->checkSecurity(
  148.                 ['if'],
  149.                 ['escape'],
  150.                 ['pimcore_areablock']
  151.             );
  152.         } catch (SecurityError $e) {
  153.             $e->setSourceContext($this->source);
  154.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  155.                 $e->setTemplateLine($tags[$e->getTagName()]);
  156.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  157.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  158.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  159.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  160.             }
  161.             throw $e;
  162.         }
  163.     }
  164. }