<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/partnerprogram_page.html.twig */
class __TwigTemplate_b41be7d64e339b5f39ba2f65f6158993 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 6
return $this->loadTemplate((isset($context["_layout"]) || array_key_exists("_layout", $context) ? $context["_layout"] : (function () { throw new RuntimeError('Variable "_layout" does not exist.', 6, $this->source); })()), "default/partnerprogram_page.html.twig", 6);
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/partnerprogram_page.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/partnerprogram_page.html.twig"));
// line 1
if (((isset($context["clubsite"]) || array_key_exists("clubsite", $context) ? $context["clubsite"] : (function () { throw new RuntimeError('Variable "clubsite" does not exist.', 1, $this->source); })()) || (((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 1, $this->source); })()) && twig_get_attribute($this->env, $this->source, ($context["document"] ?? null), "path", [], "any", true, true, true, 1)) && twig_in_filter("/SeikoClub/", 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.', 1, $this->source); })()), "path", [], "any", false, false, true, 1))))) {
// line 2
$context["_layout"] = "seikoclub/layout.html.twig";
} else {
// line 4
$context["_layout"] = "@CoreShopFrontend/layout.html.twig";
}
// line 6
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 8
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 9
echo " <div class=\"container\">
<div class=\"magazine-landing-placeholder\"></div>
";
// line 11
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "areablock", "partnerprogram-block", ["allowed" => ["snippet"], "limits" => ["snippet" => 1]]);
// line 16
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "default/partnerprogram_page.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 84 => 16, 82 => 11, 78 => 9, 68 => 8, 58 => 6, 55 => 4, 52 => 2, 50 => 1, 37 => 6,);
}
public function getSourceContext()
{
return new Source("{% if clubsite or (editmode and document.path is defined and '/SeikoClub/' in document.path) %}
{% set _layout = 'seikoclub/layout.html.twig' %}
{% else %}
{% set _layout = '@CoreShopFrontend/layout.html.twig' %}
{% endif %}
{% extends _layout %}
{% block content %}
<div class=\"container\">
<div class=\"magazine-landing-placeholder\"></div>
{{ pimcore_areablock('partnerprogram-block', {
'allowed' : ['snippet'],
'limits' : {
'snippet': 1,
},
}) }}
</div>
{% endblock %}
", "default/partnerprogram_page.html.twig", "/home/zoltan/public_html/boutique-v2/templates/default/partnerprogram_page.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 1, "set" => 2);
static $filters = array();
static $functions = array("pimcore_areablock" => 11);
try {
$this->sandbox->checkSecurity(
['if', 'set'],
[],
['pimcore_areablock']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}