var/cache/dev/twig/cc/cc28ae5c15dfcaf1b6cd6e3572ba75ac.php line 48

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. /* content/default.html.twig */
  14. class __TwigTemplate_8fee15d1d07196fe377ee805fc79379c 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.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "layouts/layout.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/default.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/default.html.twig"));
  38.         $this->parent $this->loadTemplate("layouts/layout.html.twig""content/default.html.twig"1);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  42.         
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  44.     }
  45.     // line 3
  46.     public function block_content($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         // line 4
  54.         echo "    <div id=\"main-content\" class=\"main-content\" >
  55.         ";
  56.         // line 5
  57.         if (twig_test_empty(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.'5$this->source); })()), "getTitle", [], "method"falsefalsefalse5))) {
  58.             // line 6
  59.             echo "            ";
  60.             $this->env->getFunction('pimcore_head_title')->getCallable()(twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""headline"), "getData", [], "method"falsefalsefalse6), "PREPEND");
  61.             // line 7
  62.             echo "        ";
  63.         }
  64.         // line 8
  65.         echo "
  66.         <div class=\"page-header\">
  67.             <h1>";
  68.         // line 10
  69.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""headline", ["placeholder" => "Headline"]);
  70.         echo "</h1>
  71.         </div>
  72.         ";
  73.         // line 13
  74.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""content", ["allowed" => [=> "blockquote"=> "embed"=> "featurette"=> "gallery-carousel"=> "gallery-folder"=> "gallery-single-images"=> "headlines"=> "horizontal-line"=> "icon-teaser-row"=> "image"10 => "image-hotspot-marker"11 => "image-metadata"12 => "pdf"13 => "product-grid"14 => "product-teaser"15 => "standard-teaser"16 => "text-accordion"17 => "time-slider-featurette"18 => "video"19 => "wysiwyg"20 => "wysiwyg-with-images"21 => "personalized-product-teaser"]]);
  75.         // line 18
  76.         echo "
  77.     </div>
  78. ";
  79.         
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  81.         
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  83.     }
  84.     public function getTemplateName()
  85.     {
  86.         return "content/default.html.twig";
  87.     }
  88.     public function isTraitable()
  89.     {
  90.         return false;
  91.     }
  92.     public function getDebugInfo()
  93.     {
  94.         return array (  91 => 18,  89 => 13,  83 => 10,  79 => 8,  76 => 7,  73 => 6,  71 => 5,  68 => 4,  58 => 3,  35 => 1,);
  95.     }
  96.     public function getSourceContext()
  97.     {
  98.         return new Source("{% extends 'layouts/layout.html.twig' %}
  99. {% block content %}
  100.     <div id=\"main-content\" class=\"main-content\" >
  101.         {% if document.getTitle() is empty %}
  102.             {% do pimcore_head_title(pimcore_input('headline').getData(), 'PREPEND') %}
  103.         {% endif %}
  104.         <div class=\"page-header\">
  105.             <h1>{{ pimcore_input('headline', {'placeholder':'Headline'}) }}</h1>
  106.         </div>
  107.         {{ pimcore_areablock('content', {
  108.             'allowed': ['blockquote', 'embed', 'featurette', 'gallery-carousel', 'gallery-folder',
  109.                 'gallery-single-images', 'headlines', 'horizontal-line', 'icon-teaser-row', 'image',
  110.                 'image-hotspot-marker', 'image-metadata', 'pdf', 'product-grid', 'product-teaser', 'standard-teaser', 'text-accordion',
  111.                 'time-slider-featurette', 'video', 'wysiwyg', 'wysiwyg-with-images', 'personalized-product-teaser']
  112.         }) }}
  113.     </div>
  114. {% endblock %}""content/default.html.twig""/www/htdocs/w0189996/pimcore-demo/templates/content/default.html.twig");
  115.     }
  116. }