var/cache/dev/twig/74/746231a84ac6e74626eb144201edb61186a05859f94ed86d8e192f877ef1397a.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_62624a750f7b8e7d03ff76f7bbf9adfbaaf2a5f2f00c8f52e8a6f40fe11556f7 extends \Twig\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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template"":content:default.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  42.         
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  44.     }
  45.     // line 3
  46.     public function block_content($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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.             call_user_func_array($this->env->getFunction('pimcore_head_title')->getCallable(), [twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentTagExtension']->renderTag($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\DocumentTagExtension']->renderTag($context"input""headline", ["placeholder" => "Headline"]);
  70.         echo "</h1>
  71.         </div>
  72.         ";
  73.         // line 13
  74.         echo $this->extensions['Pimcore\Twig\Extension\DocumentTagExtension']->renderTag($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 => "pdf"12 => "product-grid"13 => "product-teaser"14 => "standard-teaser"15 => "text-accordion"16 => "time-slider-featurette"17 => "video"18 => "wysiwyg"19 => "wysiwyg-with-images"20 => "personalized-product-teaser"]]);
  75.         // line 18
  76.         echo "
  77.     </div>
  78. ";
  79.         
  80.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  81.         
  82.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_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', '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""/var/www/html/pimcore/app/Resources/views/content/default.html.twig");
  115.     }
  116. }