<?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;
/* includes/footer.html.twig */
class __TwigTemplate_c29a226963c86921e1fb441458dfe7c03fd1c244db35d2e9ee3d885a01e88b25 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "includes/footer.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "includes/footer.html.twig"));
// line 1
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 1, $this->source); })())) {
// line 2
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/editmode.css")], "method", false, false, false, 2);
// line 3
echo " ";
echo call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []);
echo "
";
}
// line 6
echo "<footer class=\"container py-5\">
<div class=\"row\">
<div class=\"col-12 col-md\">
<a class=\"text-dark text-decoration-none\" href=\"/\" >
<img id=\"logo-footer\" src=\"";
// line 10
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/images/logo-dark.svg"), "html", null, true);
echo "\" >
<small class=\"d-block mb-3 p-3\">© ";
// line 11
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
echo " pimcore GmbH</small>
</a>
</div>
";
// line 14
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 14, $this->source); })())) {
// line 15
echo " <h3 class=\"float-left\">";
echo "Footer Column(s):";
echo "</h3>
";
}
// line 17
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->getBlockIterator($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "mainlinkblock")));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 18
echo " <div class=\"col-6 col-md\">
<h5>";
// line 19
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "mainBlockTitle", ["placeholder" => "Footer Title"]);
echo "</h5>
<ul class=\"list-unstyled text-small\">
";
// line 21
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->getBlockIterator($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "linkblock")));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 22
echo " <li>";
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "myLink", ["class" => "text-muted"]);
echo "</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 24
echo " </ul>
</div>
";
// line 26
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 26, $this->source); })())) {
// line 27
echo " <hr />
";
}
// line 29
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 30
echo " </div>
</footer>";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "includes/footer.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 120 => 30, 114 => 29, 110 => 27, 108 => 26, 104 => 24, 95 => 22, 91 => 21, 86 => 19, 83 => 18, 78 => 17, 72 => 15, 70 => 14, 64 => 11, 60 => 10, 54 => 6, 48 => 3, 45 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("{% if editmode %}
{% do pimcore_head_link().appendStylesheet(asset('static/css/editmode.css')) %}
{{ pimcore_head_link() }}
{% endif %}
{#footer#}
<footer class=\"container py-5\">
<div class=\"row\">
<div class=\"col-12 col-md\">
<a class=\"text-dark text-decoration-none\" href=\"/\" >
<img id=\"logo-footer\" src=\"{{ asset('/static/images/logo-dark.svg') }}\" >
<small class=\"d-block mb-3 p-3\">© {{ \"now\"|date('Y') }} pimcore GmbH</small>
</a>
</div>
{% if editmode %}
<h3 class=\"float-left\">{{ 'Footer Column(s):' }}</h3>
{% endif %}
{% for i in pimcore_iterate_block(pimcore_block('mainlinkblock')) %}
<div class=\"col-6 col-md\">
<h5>{{ pimcore_input('mainBlockTitle', {'placeholder': 'Footer Title'}) }}</h5>
<ul class=\"list-unstyled text-small\">
{% for i in pimcore_iterate_block(pimcore_block('linkblock')) %}
<li>{{ pimcore_link('myLink', {'class': \"text-muted\"}) }}</li>
{% endfor %}
</ul>
</div>
{% if editmode %}
<hr />
{% endif %}
{% endfor %}
</div>
</footer>", "includes/footer.html.twig", "/home/forge/pimcore-demo.code14.dev/app/Resources/views/includes/footer.html.twig");
}
}