var/cache/dev/twig/55/556ac574f9aa7b172d9f75485be6ce720eba17dd07dc85d2b311282a6f462dbc.php line 96

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. /* :includes:footer.html.twig */
  14. class __TwigTemplate_f9c6faa81f4b67f6a7c09bcfe705ee0e016680427c78bfc5a4a2847495a63d07 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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template"":includes:footer.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template"":includes:footer.html.twig"));
  33.         // line 1
  34.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'1$this->source); })())) {
  35.             // line 2
  36.             echo "    ";
  37.             twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/editmode.css")], "method"falsefalsefalse2);
  38.             // line 3
  39.             echo "    ";
  40.             echo call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []);
  41.             echo "
  42. ";
  43.         }
  44.         // line 6
  45.         echo "<footer class=\"container py-5\">
  46.     <div class=\"row\">
  47.         <div class=\"col-12 col-md\">
  48.             <a class=\"text-dark text-decoration-none\" href=\"/\" >
  49.                 <img id=\"logo-footer\" src=\"";
  50.         // line 10
  51.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/images/logo-dark.svg"), "html"nulltrue);
  52.         echo "\" >
  53.                 <small class=\"d-block mb-3  p-3\">&copy; ";
  54.         // line 11
  55.         echo twig_escape_filter($this->envtwig_date_format_filter($this->env"now""Y"), "html"nulltrue);
  56.         echo " pimcore GmbH</small>
  57.             </a>
  58.         </div>
  59.         ";
  60.         // line 14
  61.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'14$this->source); })())) {
  62.             // line 15
  63.             echo "            <h3 class=\"float-left\">";
  64.             echo "Footer Column(s):";
  65.             echo "</h3>
  66.         ";
  67.         }
  68.         // line 17
  69.         echo "        ";
  70.         $context['_parent'] = $context;
  71.         $context['_seq'] = twig_ensure_traversable($this->extensions['Pimcore\Twig\Extension\DocumentTagExtension']->getBlockIterator($this->extensions['Pimcore\Twig\Extension\DocumentTagExtension']->renderTag($context"block""mainlinkblock")));
  72.         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  73.             // line 18
  74.             echo "            <div class=\"col-6 col-md\">
  75.                 <h5>";
  76.             // line 19
  77.             echo $this->extensions['Pimcore\Twig\Extension\DocumentTagExtension']->renderTag($context"input""mainBlockTitle", ["placeholder" => "Footer Title"]);
  78.             echo "</h5>
  79.                 <ul class=\"list-unstyled text-small\">
  80.                     ";
  81.             // line 21
  82.             $context['_parent'] = $context;
  83.             $context['_seq'] = twig_ensure_traversable($this->extensions['Pimcore\Twig\Extension\DocumentTagExtension']->getBlockIterator($this->extensions['Pimcore\Twig\Extension\DocumentTagExtension']->renderTag($context"block""linkblock")));
  84.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  85.                 // line 22
  86.                 echo "                        <li>";
  87.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentTagExtension']->renderTag($context"link""myLink", ["class" => "text-muted"]);
  88.                 echo "</li>
  89.                     ";
  90.             }
  91.             $_parent $context['_parent'];
  92.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  93.             $context array_intersect_key($context$_parent) + $_parent;
  94.             // line 24
  95.             echo "                </ul>
  96.             </div>
  97.             ";
  98.             // line 26
  99.             if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'26$this->source); })())) {
  100.                 // line 27
  101.                 echo "                <hr />
  102.             ";
  103.             }
  104.             // line 29
  105.             echo "        ";
  106.         }
  107.         $_parent $context['_parent'];
  108.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  109.         $context array_intersect_key($context$_parent) + $_parent;
  110.         // line 30
  111.         echo "    </div>
  112. </footer>";
  113.         
  114.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  115.         
  116.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  117.     }
  118.     public function getTemplateName()
  119.     {
  120.         return ":includes:footer.html.twig";
  121.     }
  122.     public function isTraitable()
  123.     {
  124.         return false;
  125.     }
  126.     public function getDebugInfo()
  127.     {
  128.         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,);
  129.     }
  130.     public function getSourceContext()
  131.     {
  132.         return new Source("{% if editmode %}
  133.     {% do pimcore_head_link().appendStylesheet(asset('static/css/editmode.css')) %}
  134.     {{ pimcore_head_link() }}
  135. {% endif %}
  136. {#footer#}
  137. <footer class=\"container py-5\">
  138.     <div class=\"row\">
  139.         <div class=\"col-12 col-md\">
  140.             <a class=\"text-dark text-decoration-none\" href=\"/\" >
  141.                 <img id=\"logo-footer\" src=\"{{ asset('/static/images/logo-dark.svg') }}\" >
  142.                 <small class=\"d-block mb-3  p-3\">&copy; {{ \"now\"|date('Y') }} pimcore GmbH</small>
  143.             </a>
  144.         </div>
  145.         {% if editmode %}
  146.             <h3 class=\"float-left\">{{ 'Footer Column(s):' }}</h3>
  147.         {% endif %}
  148.         {% for i in pimcore_iterate_block(pimcore_block('mainlinkblock')) %}
  149.             <div class=\"col-6 col-md\">
  150.                 <h5>{{ pimcore_input('mainBlockTitle', {'placeholder': 'Footer Title'}) }}</h5>
  151.                 <ul class=\"list-unstyled text-small\">
  152.                     {% for i in pimcore_iterate_block(pimcore_block('linkblock')) %}
  153.                         <li>{{ pimcore_link('myLink', {'class': \"text-muted\"}) }}</li>
  154.                     {% endfor %}
  155.                 </ul>
  156.             </div>
  157.             {% if editmode %}
  158.                 <hr />
  159.             {% endif %}
  160.         {% endfor %}
  161.     </div>
  162. </footer>"":includes:footer.html.twig""/var/www/html/pimcore/app/Resources/views/includes/footer.html.twig");
  163.     }
  164. }