var/cache/dev/twig/a3/a3d91652a6d0f58f09a8b3ca06fa38d3.php line 35

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. /* default/footer.html.twig */
  14. class __TwigTemplate_dd7f2664315856b52637ad423dde7964 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->parent = false;
  23.         $this->blocks = [
  24.         ];
  25.         $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros = $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/footer.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/footer.html.twig"));
  35.         // line 1
  36.         if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 1, $this->source); })())) {
  37.             // line 2
  38.             echo "    <link href=\"/static/css/styles.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />
  39.     <link href=\"/static/css/styles.data.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />
  40.     <link href=\"/static/css/editmode.css?t=";
  41.             // line 4
  42.             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_date_converter($this->env), "timestamp", [], "any", false, false, true, 4), 4, $this->source), "html", null, true);
  43.             echo "\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />
  44.     <div class=\"backend-settings\">
  45.         <div class=\"sub-setting\">
  46.             <label>Footer-Variante</label>
  47.             <div class=\"setting\">
  48.                 ";
  49.             // line 9
  50.             if (twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "footer-variant"), "isEmpty", [], "method", false, false, true, 9)) {
  51.                 // line 10
  52.                 echo "                    ";
  53.                 twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "footer-variant"), "setDataFromResource", [0 => "gallery"], "method", false, false, true, 10);
  54.                 // line 11
  55.                 echo "                ";
  56.             }
  57.             // line 12
  58.             echo "                ";
  59.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "footer-variant", ["store" => [0 => [0 => "gallery", 1 => "Galerie"], 1 => [0 => "newsletter", 1 => "Newsletter-Anmeldung"], 2 => [0 => "empty", 1 => "Nur Menüs"]], "reload" => "true"]);
  60.             // line 20
  61.             echo "
  62.             </div>
  63.             <label>Sticky Footer</label>
  64.             <div class=\"setting\">
  65.                 ";
  66.             // line 25
  67.             if (twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "sticky-footer"), "isEmpty", [], "method", false, false, true, 25)) {
  68.                 // line 26
  69.                 echo "                    ";
  70.                 twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "sticky-footer"), "setDataFromResource", [0 => "no"], "method", false, false, true, 26);
  71.                 // line 27
  72.                 echo "                ";
  73.             }
  74.             // line 28
  75.             echo "                ";
  76.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "sticky-footer", ["store" => [0 => [0 => "yes", 1 => "Ja"], 1 => [0 => "no", 1 => "Nein"]], "reload" => "true"]);
  77.             // line 35
  78.             echo "
  79.             </div>
  80.         </div>
  81.     </div>
  82. ";
  83.         }
  84.         // line 40
  85.         echo "
  86. ";
  87.         // line 41
  88.         $context["footerVariant"] = twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "footer-variant"), "getData", [], "method", false, false, true, 41);
  89.         // line 42
  90.         echo "
  91. ";
  92.         // line 43
  93.         $context["stickyFooter"] = twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "sticky-footer"), "getData", [], "method", false, false, true, 43);
  94.         // line 44
  95.         echo "
  96. <footer class=\"page-footer\">
  97.     ";
  98.         // line 46
  99.         if (((isset($context["stickyFooter"]) || array_key_exists("stickyFooter", $context) ? $context["stickyFooter"] : (function () { throw new RuntimeError('Variable "stickyFooter" does not exist.', 46, $this->source); })()) == "yes")) {
  100.             // line 47
  101.             echo "
  102.         ";
  103.             // line 48
  104.             if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 48, $this->source); })())) {
  105.                 // line 49
  106.                 echo "        <div class=\"alert\">
  107.             <div class=\"text-center\">
  108.                 <i>Sticky Footer Buttons nur in mobile Version sichtbar</i>
  109.             </div>
  110.         </div>
  111.         <div class=\"footer-backend\">
  112.         ";
  113.             }
  114.             // line 56
  115.             echo "
  116.             <div class=\"mobile-footer\">
  117.                 ";
  118.             // line 58
  119.             $context['_parent'] = $context;
  120.             $context['_seq'] = twig_ensure_traversable($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->getBlockIterator($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "footerlink")));
  121.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  122.                 // line 59
  123.                 echo "                    ";
  124.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "button", ["class" => "btn btn--flat"]);
  125.                 echo "
  126.                 ";
  127.             }
  128.             $_parent = $context['_parent'];
  129.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  130.             $context = array_intersect_key($context, $_parent) + $_parent;
  131.             // line 61
  132.             echo "            </div>
  133.         ";
  134.             // line 63
  135.             if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 63, $this->source); })())) {
  136.                 // line 64
  137.                 echo "        </div>
  138.         <hr>
  139.         ";
  140.             }
  141.             // line 67
  142.             echo "    ";
  143.         }
  144.         // line 68
  145.         echo "
  146.     <div class=\"container\">
  147.         <div class=\"footer--grid";
  148.         // line 71
  149.         if (((isset($context["footerVariant"]) || array_key_exists("footerVariant", $context) ? $context["footerVariant"] : (function () { throw new RuntimeError('Variable "footerVariant" does not exist.', 71, $this->source); })()) == "empty")) {
  150.             echo " is-empty";
  151.         }
  152.         echo "\">
  153.             <div class=\"footer--address\">
  154.                 <address class=\"page-footer--address box-shadow\">
  155.                     <div class=\"page-footer--address-logo\">
  156.                         ";
  157.         // line 76
  158.         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.', 76, $this->source); })()), "getProperty", [0 => "logo"], "method", false, false, true, 76)) {
  159.             // line 77
  160.             echo "                            <a href=\"";
  161.             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(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.', 77, $this->source); })()), "getProperty", [0 => "mainnavStartNode"], "method", false, false, true, 77), 77, $this->source), "html", null, true);
  162.             echo "\" class=\"logo logo--black logo--color\"></a>
  163.                         ";
  164.         } else {
  165.             // line 79
  166.             echo "                            <a href=\"/";
  167.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("mainnavStartNode"), "html", null, true);
  168.             echo "\">
  169.                                 <img src=\"";
  170.             // line 80
  171.             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(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.', 80, $this->source); })()), "getProperty", [0 => "logo"], "method", false, false, true, 80), 80, $this->source), "html", null, true);
  172.             echo "\" alt=\"logo\">
  173.                             </a>
  174.                         ";
  175.         }
  176.         // line 83
  177.         echo "                    </div>
  178.                     <div>";
  179.         // line 84
  180.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "adresse");
  181.         echo "</div>
  182.                     <div>
  183.                         ";
  184.         // line 86
  185.         if ($this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("phone")) {
  186.             // line 87
  187.             echo "                            <div>";
  188.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("footer.Tel"), "html", null, true);
  189.             echo ": <a href=\"tel:";
  190.             echo twig_escape_filter($this->env, twig_replace_filter($this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("phone"), [" " => ""]), "html", null, true);
  191.             echo "\">
  192.                                     <span>";
  193.             // line 88
  194.             echo twig_escape_filter($this->env, $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("phone"), "html", null, true);
  195.             echo "</span>
  196.                                 </a>
  197.                             </div>
  198.                         ";
  199.         }
  200.         // line 92
  201.         echo "                        ";
  202.         if ($this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("email")) {
  203.             // line 93
  204.             echo "                            <div>";
  205.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("footer.E-Mail"), "html", null, true);
  206.             echo ": <a href=\"mailto:";
  207.             echo twig_escape_filter($this->env, $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("email"), "html", null, true);
  208.             echo "\">
  209.                                     <span>";
  210.             // line 94
  211.             echo twig_escape_filter($this->env, $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("email"), "html", null, true);
  212.             echo "</span>
  213.                                 </a>
  214.                             </div>
  215.                         ";
  216.         }
  217.         // line 98
  218.         echo "                    </div>
  219.                     <a href=\"";
  220.         // line 99
  221.         echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(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.', 99, $this->source); })()), "getProperty", [0 => "inquiry"], "method", false, false, true, 99), 99, $this->source), "html", null, true);
  222.         echo "\" class=\"btn btn--flat\">";
  223.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("footer.Jetzt anfragen"), "html", null, true);
  224.         echo "</a>
  225.                 </address>
  226.             </div>
  227.             <div class=\"footer--menus\">
  228.                 <div class=\"footer-menu footer-menu--left\">
  229.                     <h5>";
  230.         // line 105
  231.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "footer-menu--left-title");
  232.         echo "</h5>
  233.                     <ul>
  234.                         ";
  235.         // line 107
  236.         $context['_parent'] = $context;
  237.         $context['_seq'] = twig_ensure_traversable($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->getBlockIterator($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "footer-menu--left")));
  238.         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  239.             // line 108
  240.             echo "                            <li>
  241.                                 ";
  242.             // line 109
  243.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "footer-menu--left-link", ["class" => "arrow-link", "textPrefix" => "<i class=\"iconfont-arrow-right\"></i>"]);
  244.             // line 112
  245.             echo "
  246.                             </li>
  247.                         ";
  248.         }
  249.         $_parent = $context['_parent'];
  250.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  251.         $context = array_intersect_key($context, $_parent) + $_parent;
  252.         // line 115
  253.         echo "                    </ul>
  254.                 </div>
  255.                 <div class=\"footer-menu footer-menu--right\">
  256.                     <h5>";
  257.         // line 118
  258.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "footer-menu--right-title");
  259.         echo "</h5>
  260.                     <ul>
  261.                         ";
  262.         // line 120
  263.         $context['_parent'] = $context;
  264.         $context['_seq'] = twig_ensure_traversable($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->getBlockIterator($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "footer-menu--right")));
  265.         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  266.             // line 121
  267.             echo "                            <li>
  268.                                 ";
  269.             // line 122
  270.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "footer-menu--right-link", ["class" => "arrow-link", "textPrefix" => "<i class=\"iconfont-arrow-right\"></i>"]);
  271.             // line 125
  272.             echo "
  273.                             </li>
  274.                         ";
  275.         }
  276.         $_parent = $context['_parent'];
  277.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  278.         $context = array_intersect_key($context, $_parent) + $_parent;
  279.         // line 128
  280.         echo "                    </ul>
  281.                 </div>
  282.             </div>
  283.             <div class=\"footer--widgets\">
  284.                 ";
  285.         // line 133
  286.         if (((isset($context["footerVariant"]) || array_key_exists("footerVariant", $context) ? $context["footerVariant"] : (function () { throw new RuntimeError('Variable "footerVariant" does not exist.', 133, $this->source); })()) == "gallery")) {
  287.             // line 134
  288.             echo "                    <div class=\"footer--gallery\">
  289.                         <h5>";
  290.             // line 135
  291.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("footer.Galerie"), "html", null, true);
  292.             echo "</h5>
  293.                         ";
  294.             // line 136
  295.             if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 136, $this->source); })())) {
  296.                 // line 137
  297.                 echo "                            <label><strong>Galerie-Link:</strong></label>
  298.                             ";
  299.                 // line 138
  300.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "footer--gallery-link");
  301.                 echo "
  302.                         ";
  303.             }
  304.             // line 140
  305.             echo "                        ";
  306.             $context["footerGalleryLink"] = twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "footer--gallery-link"), "getHref", [], "method", false, false, true, 140);
  307.             // line 141
  308.             echo "                        <div class=\"footer--gallery-grid\">
  309.                             ";
  310.             // line 142
  311.             $context['_parent'] = $context;
  312.             $context['_seq'] = twig_ensure_traversable($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->getBlockIterator($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "footer--gallery")));
  313.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  314.                 // line 143
  315.                 echo "                                ";
  316.                 if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 143, $this->source); })())) {
  317.                     echo "<a href=\"";
  318.                     echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["footerGalleryLink"]) || array_key_exists("footerGalleryLink", $context) ? $context["footerGalleryLink"] : (function () { throw new RuntimeError('Variable "footerGalleryLink" does not exist.', 143, $this->source); })()), 143, $this->source), "html", null, true);
  319.                     echo "\">";
  320.                 }
  321.                 // line 144
  322.                 echo "                                    ";
  323.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "footer--gallery-image", ["title" => "Bild hierher ziehen", "width" => 160, "height" => 160, "thumbnail" => "footer-gallery"]);
  324.                 // line 149
  325.                 echo "
  326.                                     ";
  327.                 // line 150
  328.                 if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 150, $this->source); })())) {
  329.                     // line 151
  330.                     echo "                                        <span class=\"overlay\"><i class=\"iconfont-arrow-right\"></i></span>
  331.                                     ";
  332.                 }
  333.                 // line 153
  334.                 echo "                                ";
  335.                 if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 153, $this->source); })())) {
  336.                     echo "</a>";
  337.                 }
  338.                 // line 154
  339.                 echo "                            ";
  340.             }
  341.             $_parent = $context['_parent'];
  342.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  343.             $context = array_intersect_key($context, $_parent) + $_parent;
  344.             // line 155
  345.             echo "                        </div>
  346.                     </div>
  347.                 ";
  348.         }
  349.         // line 158
  350.         echo "
  351.                 ";
  352.         // line 159
  353.         if (((isset($context["footerVariant"]) || array_key_exists("footerVariant", $context) ? $context["footerVariant"] : (function () { throw new RuntimeError('Variable "footerVariant" does not exist.', 159, $this->source); })()) == "newsletter")) {
  354.             // line 160
  355.             echo "                    <div class=\"footer--newsletter\">
  356.                         <h5>";
  357.             // line 161
  358.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("footer.Newsletter"), "html", null, true);
  359.             echo "</h5>
  360.                         <form action=\"http://newsletter.conecto.at/f/80567-198609/wcs/\" method=\"post\" role=\"form\">
  361.                             <div class=\"newsletter--input\">
  362.                                 <input id=\"4181468\" rel=\"email\" type=\"email\" name=\"email\" placeholder=\"";
  363.             // line 164
  364.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("footer.Ihre E-Mail-Adresse"), "html", null, true);
  365.             echo " *\" />
  366.                             </div>
  367.                             <div class=\"newsletter--label\" id=\"4181503\" rel=\"checkbox\">
  368.                                 <label>
  369.                                     <input id=\"ja4181503\" type=\"checkbox\" name=\"1128057[]\" required />
  370.                                     <span>";
  371.             // line 169
  372.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("footer.Hiermit bestätige ich, dass ich die Datenschutzbestimmungen gelesen und akzeptiert habe."), "html", null, true);
  373.             echo "</span>
  374.                                 </label>
  375.                             </div>
  376.                             <div class=\"newsletter--button\">
  377.                                 <button type=\"submit\" class=\"btn btn--flat\">";
  378.             // line 173
  379.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("footer.Anmelden"), "html", null, true);
  380.             echo "</button>
  381.                             </div>
  382.                         </form>
  383.                     </div>
  384.                 ";
  385.         }
  386.         // line 178
  387.         echo "
  388.             </div>
  389.             <div class=\"footer--info\">
  390.                 <div class=\"footer--bottom\">
  391.                     <a href=\"//www.conecto.at\" target=\"_blank\" class=\"logo--flat\"></a>
  392.                 </div>
  393.             </div>
  394.         </div>
  395.     </div>
  396. </footer>";
  397.         
  398.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  399.         
  400.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  401.     }
  402.     public function getTemplateName()
  403.     {
  404.         return "default/footer.html.twig";
  405.     }
  406.     public function isTraitable()
  407.     {
  408.         return false;
  409.     }
  410.     public function getDebugInfo()
  411.     {
  412.         return array (  402 => 178,  394 => 173,  387 => 169,  379 => 164,  373 => 161,  370 => 160,  368 => 159,  365 => 158,  360 => 155,  354 => 154,  349 => 153,  345 => 151,  343 => 150,  340 => 149,  337 => 144,  330 => 143,  326 => 142,  323 => 141,  320 => 140,  315 => 138,  312 => 137,  310 => 136,  306 => 135,  303 => 134,  301 => 133,  294 => 128,  286 => 125,  284 => 122,  281 => 121,  277 => 120,  272 => 118,  267 => 115,  259 => 112,  257 => 109,  254 => 108,  250 => 107,  245 => 105,  234 => 99,  231 => 98,  224 => 94,  217 => 93,  214 => 92,  207 => 88,  200 => 87,  198 => 86,  193 => 84,  190 => 83,  184 => 80,  179 => 79,  173 => 77,  171 => 76,  161 => 71,  156 => 68,  153 => 67,  148 => 64,  146 => 63,  142 => 61,  133 => 59,  129 => 58,  125 => 56,  116 => 49,  114 => 48,  111 => 47,  109 => 46,  105 => 44,  103 => 43,  100 => 42,  98 => 41,  95 => 40,  88 => 35,  85 => 28,  82 => 27,  79 => 26,  77 => 25,  70 => 20,  67 => 12,  64 => 11,  61 => 10,  59 => 9,  51 => 4,  47 => 2,  45 => 1,);
  413.     }
  414.     public function getSourceContext()
  415.     {
  416.         return new Source("{% if editmode %}
  417.     <link href=\"/static/css/styles.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />
  418.     <link href=\"/static/css/styles.data.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />
  419.     <link href=\"/static/css/editmode.css?t={{ date().timestamp }}\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />
  420.     <div class=\"backend-settings\">
  421.         <div class=\"sub-setting\">
  422.             <label>Footer-Variante</label>
  423.             <div class=\"setting\">
  424.                 {% if pimcore_select(\"footer-variant\").isEmpty() %}
  425.                     {% do pimcore_select(\"footer-variant\").setDataFromResource(\"gallery\") %}
  426.                 {% endif %}
  427.                 {{ pimcore_select(\"footer-variant\", {
  428.                     \"store\": [
  429.                         ['gallery', 'Galerie'],
  430.                         ['newsletter', 'Newsletter-Anmeldung'],
  431.                         ['empty', 'Nur Menüs']
  432.                     ],
  433.                     \"reload\": \"true\"
  434.                 })
  435.                 }}
  436.             </div>
  437.             <label>Sticky Footer</label>
  438.             <div class=\"setting\">
  439.                 {% if pimcore_select(\"sticky-footer\").isEmpty() %}
  440.                     {% do pimcore_select(\"sticky-footer\").setDataFromResource(\"no\") %}
  441.                 {% endif %}
  442.                 {{ pimcore_select(\"sticky-footer\", {
  443.                     \"store\": [
  444.                         ['yes', 'Ja'],
  445.                         ['no', 'Nein']
  446.                     ],
  447.                     \"reload\": \"true\"
  448.                 })
  449.                 }}
  450.             </div>
  451.         </div>
  452.     </div>
  453. {% endif %}
  454. {% set footerVariant = pimcore_select('footer-variant').getData() %}
  455. {% set stickyFooter = pimcore_select('sticky-footer').getData() %}
  456. <footer class=\"page-footer\">
  457.     {% if stickyFooter == 'yes' %}
  458.         {% if editmode %}
  459.         <div class=\"alert\">
  460.             <div class=\"text-center\">
  461.                 <i>Sticky Footer Buttons nur in mobile Version sichtbar</i>
  462.             </div>
  463.         </div>
  464.         <div class=\"footer-backend\">
  465.         {% endif %}
  466.             <div class=\"mobile-footer\">
  467.                 {% for i in pimcore_iterate_block(pimcore_block('footerlink')) %}
  468.                     {{ pimcore_link('button', {'class': 'btn btn--flat'}) }}
  469.                 {% endfor %}
  470.             </div>
  471.         {% if editmode %}
  472.         </div>
  473.         <hr>
  474.         {% endif %}
  475.     {% endif %}
  476.     <div class=\"container\">
  477.         <div class=\"footer--grid{% if footerVariant == 'empty' %} is-empty{% endif %}\">
  478.             <div class=\"footer--address\">
  479.                 <address class=\"page-footer--address box-shadow\">
  480.                     <div class=\"page-footer--address-logo\">
  481.                         {% if not document.getProperty('logo') %}
  482.                             <a href=\"{{ document.getProperty('mainnavStartNode') }}\" class=\"logo logo--black logo--color\"></a>
  483.                         {% else %}
  484.                             <a href=\"/{{ 'mainnavStartNode'|trans }}\">
  485.                                 <img src=\"{{ document.getProperty('logo') }}\" alt=\"logo\">
  486.                             </a>
  487.                         {% endif %}
  488.                     </div>
  489.                     <div>{{ pimcore_wysiwyg('adresse') }}</div>
  490.                     <div>
  491.                         {% if pimcore_website_config('phone') %}
  492.                             <div>{{ 'footer.Tel'|trans }}: <a href=\"tel:{{ pimcore_website_config('phone')|replace({' ': ''}) }}\">
  493.                                     <span>{{ pimcore_website_config('phone') }}</span>
  494.                                 </a>
  495.                             </div>
  496.                         {% endif %}
  497.                         {% if pimcore_website_config('email') %}
  498.                             <div>{{ 'footer.E-Mail'|trans }}: <a href=\"mailto:{{ pimcore_website_config('email') }}\">
  499.                                     <span>{{ pimcore_website_config('email') }}</span>
  500.                                 </a>
  501.                             </div>
  502.                         {% endif %}
  503.                     </div>
  504.                     <a href=\"{{ document.getProperty('inquiry') }}\" class=\"btn btn--flat\">{{ 'footer.Jetzt anfragen'|trans }}</a>
  505.                 </address>
  506.             </div>
  507.             <div class=\"footer--menus\">
  508.                 <div class=\"footer-menu footer-menu--left\">
  509.                     <h5>{{ pimcore_input('footer-menu--left-title') }}</h5>
  510.                     <ul>
  511.                         {% for i in pimcore_iterate_block(pimcore_block('footer-menu--left')) %}
  512.                             <li>
  513.                                 {{ pimcore_link('footer-menu--left-link', {
  514.                                     'class': 'arrow-link',
  515.                                     'textPrefix': '<i class=\"iconfont-arrow-right\"></i>'
  516.                                 }) }}
  517.                             </li>
  518.                         {% endfor %}
  519.                     </ul>
  520.                 </div>
  521.                 <div class=\"footer-menu footer-menu--right\">
  522.                     <h5>{{ pimcore_input('footer-menu--right-title') }}</h5>
  523.                     <ul>
  524.                         {% for i in pimcore_iterate_block(pimcore_block('footer-menu--right')) %}
  525.                             <li>
  526.                                 {{ pimcore_link('footer-menu--right-link', {
  527.                                     'class': 'arrow-link',
  528.                                     'textPrefix': '<i class=\"iconfont-arrow-right\"></i>'
  529.                                 }) }}
  530.                             </li>
  531.                         {% endfor %}
  532.                     </ul>
  533.                 </div>
  534.             </div>
  535.             <div class=\"footer--widgets\">
  536.                 {% if footerVariant == 'gallery' %}
  537.                     <div class=\"footer--gallery\">
  538.                         <h5>{{ 'footer.Galerie'|trans }}</h5>
  539.                         {% if editmode %}
  540.                             <label><strong>Galerie-Link:</strong></label>
  541.                             {{ pimcore_link('footer--gallery-link') }}
  542.                         {% endif %}
  543.                         {% set footerGalleryLink = pimcore_link('footer--gallery-link').getHref() %}
  544.                         <div class=\"footer--gallery-grid\">
  545.                             {% for i in pimcore_iterate_block(pimcore_block('footer--gallery')) %}
  546.                                 {% if not editmode %}<a href=\"{{ footerGalleryLink }}\">{% endif %}
  547.                                     {{ pimcore_image(\"footer--gallery-image\", {
  548.                                         \"title\": \"Bild hierher ziehen\",
  549.                                         \"width\": 160,
  550.                                         \"height\": 160,
  551.                                         \"thumbnail\": \"footer-gallery\"
  552.                                     }) }}
  553.                                     {% if not editmode %}
  554.                                         <span class=\"overlay\"><i class=\"iconfont-arrow-right\"></i></span>
  555.                                     {% endif %}
  556.                                 {% if not editmode %}</a>{% endif %}
  557.                             {% endfor %}
  558.                         </div>
  559.                     </div>
  560.                 {% endif %}
  561.                 {% if footerVariant == 'newsletter' %}
  562.                     <div class=\"footer--newsletter\">
  563.                         <h5>{{ 'footer.Newsletter'|trans }}</h5>
  564.                         <form action=\"http://newsletter.conecto.at/f/80567-198609/wcs/\" method=\"post\" role=\"form\">
  565.                             <div class=\"newsletter--input\">
  566.                                 <input id=\"4181468\" rel=\"email\" type=\"email\" name=\"email\" placeholder=\"{{ 'footer.Ihre E-Mail-Adresse'|trans }} *\" />
  567.                             </div>
  568.                             <div class=\"newsletter--label\" id=\"4181503\" rel=\"checkbox\">
  569.                                 <label>
  570.                                     <input id=\"ja4181503\" type=\"checkbox\" name=\"1128057[]\" required />
  571.                                     <span>{{ 'footer.Hiermit bestätige ich, dass ich die Datenschutzbestimmungen gelesen und akzeptiert habe.'|trans }}</span>
  572.                                 </label>
  573.                             </div>
  574.                             <div class=\"newsletter--button\">
  575.                                 <button type=\"submit\" class=\"btn btn--flat\">{{ 'footer.Anmelden'|trans }}</button>
  576.                             </div>
  577.                         </form>
  578.                     </div>
  579.                 {% endif %}
  580.             </div>
  581.             <div class=\"footer--info\">
  582.                 <div class=\"footer--bottom\">
  583.                     <a href=\"//www.conecto.at\" target=\"_blank\" class=\"logo--flat\"></a>
  584.                 </div>
  585.             </div>
  586.         </div>
  587.     </div>
  588. </footer>", "default/footer.html.twig", "/html/pimcore/templates/default/footer.html.twig");
  589.     }
  590.     
  591.     public function checkSecurity()
  592.     {
  593.         static $tags = array("if" => 1, "do" => 10, "set" => 41, "for" => 58);
  594.         static $filters = array("escape" => 4, "trans" => 79, "replace" => 87);
  595.         static $functions = array("date" => 4, "pimcore_select" => 9, "pimcore_iterate_block" => 58, "pimcore_block" => 58, "pimcore_link" => 59, "pimcore_wysiwyg" => 84, "pimcore_website_config" => 86, "pimcore_input" => 105, "pimcore_image" => 144);
  596.         try {
  597.             $this->sandbox->checkSecurity(
  598.                 ['if', 'do', 'set', 'for'],
  599.                 ['escape', 'trans', 'replace'],
  600.                 ['date', 'pimcore_select', 'pimcore_iterate_block', 'pimcore_block', 'pimcore_link', 'pimcore_wysiwyg', 'pimcore_website_config', 'pimcore_input', 'pimcore_image']
  601.             );
  602.         } catch (SecurityError $e) {
  603.             $e->setSourceContext($this->source);
  604.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  605.                 $e->setTemplateLine($tags[$e->getTagName()]);
  606.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  607.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  608.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  609.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  610.             }
  611.             throw $e;
  612.         }
  613.     }
  614. }