var/cache/dev/twig/75/75abed0a9c66e5fa16fc360ddfd39fcc.php line 50

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/datacitation.frontpage.html.twig */
  14. class __TwigTemplate_448f5aa63dabc9b9aae3ef550dc96f0c 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.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "layouts/datacitation.layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/datacitation.frontpage.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/datacitation.frontpage.html.twig"));
  40.         $this->parent $this->loadTemplate("layouts/datacitation.layout.html.twig""content/datacitation.frontpage.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 2
  48.     public function block_content($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  55.         // line 3
  56.         echo "\t<main class=\"pullc\">
  57. \t\t<div class=\"container-xl\">
  58. \t\t\t<div class=\"row\">
  59. \t\t\t\t<div class=\"col-lg-3 leftpull section-pillar d-none d-lg-block\">
  60. \t\t\t\t\t<div class=\"section-title px-3 px-lg-3 ps-lg-0 d-flex flex-column\">
  61. \t\t\t\t
  62. \t\t\t\t\t";
  63.         // line 12
  64.         if ((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.'12$this->source); })()), "getProperty", [=> "citation_start_doc"], "method"falsefalsetrue12) &&  !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'12$this->source); })()))) {
  65.             // line 13
  66.             echo "\t\t\t\t\t\t";
  67.             $context["submaxDepth"] = 2;
  68.             // line 14
  69.             echo "\t\t\t\t\t\t";
  70.             if ((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); })()), "getProperty", [=> "maxdepth"], "method"falsefalsetrue14) == 1)) {
  71.                 // line 15
  72.                 echo "\t\t\t\t\t\t\t";
  73.                 $context["submaxDepth"] = 1;
  74.                 // line 16
  75.                 echo "\t\t\t\t\t\t";
  76.             }
  77.             // line 17
  78.             echo "\t\t\t\t\t\t<div class=\"d-flex justify-content-end\">
  79. \t\t\t\t\t\t\t";
  80.             // line 18
  81.             $context["nav"] = $this->env->getFunction('pimcore_build_nav')->getCallable()(["active" => (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'18$this->source); })()), "root" => 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.'18$this->source); })()), "getProperty", [=> "citation_start_doc"], "method"falsefalsetrue18)]);
  82.             // line 19
  83.             echo "\t\t\t\t\t\t\t";
  84.             echo $this->env->getFunction('pimcore_render_nav')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["nav"]) || array_key_exists("nav"$context) ? $context["nav"] : (function () { throw new RuntimeError('Variable "nav" does not exist.'19$this->source); })()), 19$this->source), "menu""renderMenu", ["maxDepth" =>             // line 20
  85. (isset($context["submaxDepth"]) || array_key_exists("submaxDepth"$context) ? $context["submaxDepth"] : (function () { throw new RuntimeError('Variable "submaxDepth" does not exist.'20$this->source); })()), "ulClass" => [=> "sidenav list-unstyled justify-content-end align-self-end"=> "list-unstyled subnav"=> "list-unstyled subnav"], "expandSiblingNodesOfActiveBranch" => true]);
  86.             // line 27
  87.             echo "
  88. \t\t\t\t\t\t</div>
  89. \t\t\t\t\t";
  90.         }
  91.         // line 31
  92.         echo "\t
  93. \t\t\t\t\t</div>
  94. \t\t\t\t\t";
  95.         // line 34
  96.         if ((( !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.'34$this->source); })()), "getProperty", [=> "hide_subnav"], "method"falsefalsetrue34) && 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.'34$this->source); })()), "getProperty", [=> "subnav_doc"], "method"falsefalsetrue34)) &&  !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'34$this->source); })()))) {
  97.             // line 35
  98.             echo "\t\t\t\t\t\t";
  99.             $context["submaxDepth"] = 2;
  100.             // line 36
  101.             echo "\t\t\t\t\t\t";
  102.             if ((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.'36$this->source); })()), "getProperty", [=> "maxdepth"], "method"falsefalsetrue36) == 1)) {
  103.                 // line 37
  104.                 echo "\t\t\t\t\t\t\t";
  105.                 $context["submaxDepth"] = 1;
  106.                 // line 38
  107.                 echo "\t\t\t\t\t\t";
  108.             }
  109.             // line 39
  110.             echo "\t\t\t\t\t\t<div class=\"d-flex justify-content-end\">
  111. \t\t\t\t\t\t\t";
  112.             // line 40
  113.             $context["nav"] = $this->env->getFunction('pimcore_build_nav')->getCallable()(["active" => (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'40$this->source); })()), "root" => 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.'40$this->source); })()), "getProperty", [=> "subnav_doc"], "method"falsefalsetrue40)]);
  114.             // line 41
  115.             echo "\t\t\t\t\t\t\t";
  116.             echo $this->env->getFunction('pimcore_render_nav')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["nav"]) || array_key_exists("nav"$context) ? $context["nav"] : (function () { throw new RuntimeError('Variable "nav" does not exist.'41$this->source); })()), 41$this->source), "menu""renderMenu", ["maxDepth" =>             // line 42
  117. (isset($context["submaxDepth"]) || array_key_exists("submaxDepth"$context) ? $context["submaxDepth"] : (function () { throw new RuntimeError('Variable "submaxDepth" does not exist.'42$this->source); })()), "ulClass" => [=> "sidenav list-unstyled justify-content-end align-self-end"=> "list-unstyled subnav"=> "list-unstyled subnav"], "expandSiblingNodesOfActiveBranch" => true]);
  118.             // line 49
  119.             echo "
  120. \t\t\t\t\t\t</div>
  121. \t\t\t\t\t";
  122.         }
  123.         // line 54
  124.         echo "
  125. \t\t\t\t\t";
  126.         // line 55
  127.         if (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.'55$this->source); })()), "getProperty", [=> "pillar_background"], "method"falsefalsetrue55)) {
  128.             // line 56
  129.             echo "\t\t\t\t\t\t";
  130.             if (twig_get_attribute($this->env$this->sourcetwig_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.'56$this->source); })()), "getProperty", [=> "pillar_background"], "method"falsefalsetrue56), "getMetadata", [=> "Credit"], "method"falsefalsetrue56)) {
  131.                 // line 57
  132.                 echo "\t\t\t\t\t\t\t<div class=\"pillar-credit\">
  133. \t\t\t\t\t\t\t\tImage:
  134. \t\t\t\t\t\t\t\t";
  135.                 // line 59
  136.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'59$this->source); })()), "getProperty", [=> "pillar_background"], "method"falsefalsetrue59), "getMetadata", [=> "Credit"], "method"falsefalsetrue59), 59$this->source), "html"nulltrue);
  137.                 echo "
  138. \t\t\t\t\t\t\t</div>
  139. \t\t\t\t\t\t";
  140.             }
  141.             // line 62
  142.             echo "\t\t\t\t\t";
  143.         }
  144.         // line 63
  145.         echo "\t\t\t\t</div>
  146. \t\t\t\t<div class=\"col-lg-9 ps-lg-5 pe-lg-5 pb-4 mt-lg-4\">
  147. \t\t\t\t
  148. \t\t\t\t
  149. \t\t\t\t\t<h1 class=\"my-3\">";
  150.         // line 68
  151.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""headline", ["placeholder" => "Headline""width" => 600]);
  152.         echo "</h1>
  153. \t\t\t\t\t";
  154.         // line 69
  155.         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.'69$this->source); })()), "id", [], "any"falsefalsetrue69) == 1) || (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.'69$this->source); })()), "id", [], "any"falsefalsetrue69) == 50)))) {
  156.             // line 70
  157.             echo "
  158. \t\t\t\t\t\t<button onclick=\"ml_account('webforms', '5494673', 'r7a5s3', 'show')\" class=\"subscribe-wt d-block mt-auto\">Subscribe to the CESSDA newsletter
  159. \t\t\t\t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewbox=\"0 0 16 16\">
  160. \t\t\t\t\t\t\t\t<path d=\"M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z\"/>
  161. \t\t\t\t\t\t\t</svg>
  162. \t\t\t\t\t\t</button>
  163. \t\t\t\t\t";
  164.         }
  165.         // line 78
  166.         echo "\t\t\t\t\t<div class=\"content-body\">
  167. \t\t\t\t\t\t";
  168.         // line 79
  169.         $context['_parent'] = $context;
  170.         $context['_seq'] = twig_ensure_traversable($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->getBlockIterator($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""contentblock")));
  171.         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  172.             // line 80
  173.             echo "
  174. \t\t\t\t\t\t\t";
  175.             // line 81
  176.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""content");
  177.             echo "
  178. \t\t\t\t\t\t";
  179.         }
  180.         $_parent $context['_parent'];
  181.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  182.         $context array_intersect_key($context$_parent) + $_parent;
  183.         // line 83
  184.         echo "
  185. \t\t\t\t\t\t";
  186.         // line 84
  187.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""main_content", ["allowed" => [=> "video"=> "wysiwyg"=> "resource-collection"=> "map"=> "staff"=> "text-accordion"=> "organigramme"], "sorting" => [=> "wysiwyg"=> "text-accordion"=> "video"=> "resource-collection"=> "map"=> "staff"=> "organigramme"]]);
  188.         // line 87
  189.         echo "
  190. \t\t\t\t\t\t
  191. \t\t\t\t\t</div>
  192. \t\t\t\t\t";
  193.         // line 92
  194.         if ((( !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.'92$this->source); })()), "getProperty", [=> "hide_subnav"], "method"falsefalsetrue92) && 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.'92$this->source); })()), "getProperty", [=> "subnav_doc"], "method"falsefalsetrue92)) &&  !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'92$this->source); })()))) {
  195.             // line 93
  196.             echo "
  197. \t\t\t\t\t\t<div class=\"d-block d-lg-none mt-3\">
  198. \t\t\t\t\t\t\t<hr>
  199. \t\t\t\t\t\t\t<h3>";
  200.             // line 97
  201.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["section_title"]) || array_key_exists("section_title"$context) ? $context["section_title"] : (function () { throw new RuntimeError('Variable "section_title" does not exist.'97$this->source); })()), 97$this->source), "html"nulltrue);
  202.             echo "</h3>
  203. \t\t\t\t\t\t\t";
  204.             // line 100
  205.             echo twig_replace_filter($this->env->getFunction('pimcore_render_nav')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["nav"]) || array_key_exists("nav"$context) ? $context["nav"] : (function () { throw new RuntimeError('Variable "nav" does not exist.'100$this->source); })()), 100$this->source), "menu""renderMenu", ["maxDepth" => 2"ulClass" => [=> "bottomnav list-unstyled"=> "list-unstyled subnav"=> "list-unstyled subnav"], "expandSiblingNodesOfActiveBranch" => true]), ["pimcore-navigation-renderer-menu" => "mobilemenu"]);
  206.             // line 109
  207.             echo "
  208. \t\t\t\t\t\t</div>
  209. \t\t\t\t\t";
  210.         }
  211.         // line 114
  212.         echo "
  213. \t\t\t\t</div>
  214. \t\t\t</div>
  215. \t\t</div>
  216. \t</main>
  217. ";
  218.         
  219.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  220.         
  221.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  222.     }
  223.     public function getTemplateName()
  224.     {
  225.         return "content/datacitation.frontpage.html.twig";
  226.     }
  227.     public function isTraitable()
  228.     {
  229.         return false;
  230.     }
  231.     public function getDebugInfo()
  232.     {
  233.         return array (  243 => 114,  236 => 109,  234 => 100,  228 => 97,  222 => 93,  220 => 92,  213 => 87,  211 => 84,  208 => 83,  200 => 81,  197 => 80,  193 => 79,  190 => 78,  180 => 70,  178 => 69,  174 => 68,  167 => 63,  164 => 62,  158 => 59,  154 => 57,  151 => 56,  149 => 55,  146 => 54,  139 => 49,  137 => 42,  135 => 41,  133 => 40,  130 => 39,  127 => 38,  124 => 37,  121 => 36,  118 => 35,  116 => 34,  111 => 31,  104 => 27,  102 => 20,  100 => 19,  98 => 18,  95 => 17,  92 => 16,  89 => 15,  86 => 14,  83 => 13,  81 => 12,  70 => 3,  60 => 2,  37 => 1,);
  234.     }
  235.     public function getSourceContext()
  236.     {
  237.         return new Source("{% extends 'layouts/datacitation.layout.html.twig' %}
  238. {% block content %}
  239. \t<main class=\"pullc\">
  240. \t\t<div class=\"container-xl\">
  241. \t\t\t<div class=\"row\">
  242. \t\t\t\t<div class=\"col-lg-3 leftpull section-pillar d-none d-lg-block\">
  243. \t\t\t\t\t<div class=\"section-title px-3 px-lg-3 ps-lg-0 d-flex flex-column\">
  244. \t\t\t\t
  245. \t\t\t\t\t{% if document.getProperty('citation_start_doc') and not editmode %}
  246. \t\t\t\t\t\t{% set submaxDepth = 2 %}
  247. \t\t\t\t\t\t{% if document.getProperty('maxdepth') == 1 %}
  248. \t\t\t\t\t\t\t{% set submaxDepth = 1 %}
  249. \t\t\t\t\t\t{% endif %}
  250. \t\t\t\t\t\t<div class=\"d-flex justify-content-end\">
  251. \t\t\t\t\t\t\t{% set nav = pimcore_build_nav({active: document, root: document.getProperty('citation_start_doc')}) %}
  252. \t\t\t\t\t\t\t{{ pimcore_render_nav(nav, 'menu', 'renderMenu', {
  253.        \t\t\t\t\t     maxDepth: submaxDepth,
  254.           \t\t\t\t\t  ulClass: {
  255.         \t\t\t\t\t        0: 'sidenav list-unstyled justify-content-end align-self-end',
  256. \t\t\t\t\t\t\t\t\t 1: 'list-unstyled subnav',
  257. \t\t\t\t\t\t\t\t\t 2: 'list-unstyled subnav',
  258.      \t\t\t\t\t       },
  259. \t\t\t\t\t\t\t\texpandSiblingNodesOfActiveBranch: true
  260.    \t\t\t\t\t     }) }}
  261. \t\t\t\t\t\t</div>
  262. \t\t\t\t\t{% endif %}\t
  263. \t\t\t\t\t</div>
  264. \t\t\t\t\t{% if not document.getProperty('hide_subnav') and document.getProperty('subnav_doc') and not editmode %}
  265. \t\t\t\t\t\t{% set submaxDepth = 2 %}
  266. \t\t\t\t\t\t{% if document.getProperty('maxdepth') == 1 %}
  267. \t\t\t\t\t\t\t{% set submaxDepth = 1 %}
  268. \t\t\t\t\t\t{% endif %}
  269. \t\t\t\t\t\t<div class=\"d-flex justify-content-end\">
  270. \t\t\t\t\t\t\t{% set nav = pimcore_build_nav({active: document, root: document.getProperty('subnav_doc')}) %}
  271. \t\t\t\t\t\t\t{{ pimcore_render_nav(nav, 'menu', 'renderMenu', {
  272.        \t\t\t\t\t     maxDepth: submaxDepth,
  273.           \t\t\t\t\t  ulClass: {
  274.         \t\t\t\t\t        0: 'sidenav list-unstyled justify-content-end align-self-end',
  275. \t\t\t\t\t\t\t\t\t 1: 'list-unstyled subnav',
  276. \t\t\t\t\t\t\t\t\t 2: 'list-unstyled subnav',
  277.      \t\t\t\t\t       },
  278. \t\t\t\t\t\t\t\texpandSiblingNodesOfActiveBranch: true
  279.    \t\t\t\t\t     }) }}
  280. \t\t\t\t\t\t</div>
  281. \t\t\t\t\t{% endif %}
  282. \t\t\t\t\t{% if document.getProperty('pillar_background') %}
  283. \t\t\t\t\t\t{% if document.getProperty('pillar_background').getMetadata('Credit') %}
  284. \t\t\t\t\t\t\t<div class=\"pillar-credit\">
  285. \t\t\t\t\t\t\t\tImage:
  286. \t\t\t\t\t\t\t\t{{ document.getProperty('pillar_background').getMetadata('Credit') }}
  287. \t\t\t\t\t\t\t</div>
  288. \t\t\t\t\t\t{% endif %}
  289. \t\t\t\t\t{% endif %}
  290. \t\t\t\t</div>
  291. \t\t\t\t<div class=\"col-lg-9 ps-lg-5 pe-lg-5 pb-4 mt-lg-4\">
  292. \t\t\t\t
  293. \t\t\t\t
  294. \t\t\t\t\t<h1 class=\"my-3\">{{ pimcore_input(\"headline\", {\"placeholder\":\"Headline\", \"width\": 600}) }}</h1>
  295. \t\t\t\t\t{% if document is defined and (document.id == 1 or document.id == 50) %}
  296. \t\t\t\t\t\t<button onclick=\"ml_account('webforms', '5494673', 'r7a5s3', 'show')\" class=\"subscribe-wt d-block mt-auto\">Subscribe to the CESSDA newsletter
  297. \t\t\t\t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewbox=\"0 0 16 16\">
  298. \t\t\t\t\t\t\t\t<path d=\"M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z\"/>
  299. \t\t\t\t\t\t\t</svg>
  300. \t\t\t\t\t\t</button>
  301. \t\t\t\t\t{% endif %}
  302. \t\t\t\t\t<div class=\"content-body\">
  303. \t\t\t\t\t\t{% for i in pimcore_iterate_block(pimcore_block('contentblock')) %}
  304. \t\t\t\t\t\t\t{{ pimcore_wysiwyg('content') }}
  305. \t\t\t\t\t\t{% endfor %}
  306. \t\t\t\t\t\t{{ pimcore_areablock(\"main_content\", {
  307.                            \"allowed\": [\"video\",\"wysiwyg\",\"resource-collection\", \"map\", \"staff\", \"text-accordion\",\"organigramme\"],
  308.                               \"sorting\": [\"wysiwyg\",\"text-accordion\",\"video\",\"resource-collection\",\"map\", \"staff\",\"organigramme\"],
  309.                             }) }}
  310. \t\t\t\t\t\t
  311. \t\t\t\t\t</div>
  312. \t\t\t\t\t{% if not document.getProperty('hide_subnav') and document.getProperty('subnav_doc') and not editmode %}
  313. \t\t\t\t\t\t<div class=\"d-block d-lg-none mt-3\">
  314. \t\t\t\t\t\t\t<hr>
  315. \t\t\t\t\t\t\t<h3>{{ section_title }}</h3>
  316. \t\t\t\t\t\t\t{{ pimcore_render_nav(nav, 'menu', 'renderMenu', {
  317.             maxDepth: 2,
  318.             ulClass: {
  319.                 0: 'bottomnav list-unstyled',
  320. \t\t\t\t 1: 'list-unstyled subnav',
  321. \t\t\t\t 2: 'list-unstyled subnav',
  322.             },
  323. \t\t\texpandSiblingNodesOfActiveBranch: true
  324.         }) | replace({'pimcore-navigation-renderer-menu': \"mobilemenu\"}) | raw}}
  325. \t\t\t\t\t\t</div>
  326. \t\t\t\t\t{% endif %}
  327. \t\t\t\t</div>
  328. \t\t\t</div>
  329. \t\t</div>
  330. \t</main>
  331. {% endblock %}
  332. ""content/datacitation.frontpage.html.twig""/sites/pimcore/cessda-dev/templates/content/datacitation.frontpage.html.twig");
  333.     }
  334.     
  335.     public function checkSecurity()
  336.     {
  337.         static $tags = array("if" => 12"set" => 13"for" => 79);
  338.         static $filters = array("escape" => 59"raw" => 109"replace" => 109);
  339.         static $functions = array("pimcore_build_nav" => 18"pimcore_render_nav" => 19"pimcore_input" => 68"pimcore_iterate_block" => 79"pimcore_block" => 79"pimcore_wysiwyg" => 81"pimcore_areablock" => 84);
  340.         try {
  341.             $this->sandbox->checkSecurity(
  342.                 ['if''set''for'],
  343.                 ['escape''raw''replace'],
  344.                 ['pimcore_build_nav''pimcore_render_nav''pimcore_input''pimcore_iterate_block''pimcore_block''pimcore_wysiwyg''pimcore_areablock']
  345.             );
  346.         } catch (SecurityError $e) {
  347.             $e->setSourceContext($this->source);
  348.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  349.                 $e->setTemplateLine($tags[$e->getTagName()]);
  350.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  351.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  352.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  353.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  354.             }
  355.             throw $e;
  356.         }
  357.     }
  358. }