var/cache/dev/twig/4f/4f56c412b866b2d8a734809e5d086985.php line 526

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. /* layout.html.twig */
  14. class __TwigTemplate_3ae0bd0ab04cfadb1a5feff6f502e775 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.             'layout_head_meta' => [$this'block_layout_head_meta'],
  25.             'head_stylesheets' => [$this'block_head_stylesheets'],
  26.         ];
  27.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  28.         $this->checkSecurity();
  29.         $this->deferred $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout.html.twig"));
  38.         // line 1
  39.         echo "<!DOCTYPE html>
  40. <html lang=\"";
  41.         // line 2
  42.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'2$this->source); })()), "request", [], "any"falsefalsetrue2), "locale", [], "any"falsefalsetrue2), 2$this->source), "html"nulltrue);
  43.         echo "\" data-language=\"";
  44.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'2$this->source); })()), "request", [], "any"falsefalsetrue2), "locale", [], "any"falsefalsetrue2), 2$this->source), "html"nulltrue);
  45.         echo "\" data-device=\"";
  46.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'2$this->source); })()), "request", [], "any"falsefalsetrue2), "locale", [], "any"falsefalsetrue2), 2$this->source), "html"nulltrue);
  47.         echo "\">
  48. <head>
  49. \t<meta charset=\"UTF-8\">
  50. \t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  51.     ";
  52.         // line 7
  53.         if ($this->env->getTest('instanceof')->getCallable()((isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'7$this->source); })()), "\\Pimcore\\Model\\Document\\Page")) {
  54.             // line 8
  55.             echo "        ";
  56.             if ( !twig_test_empty(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.'8$this->source); })()), "getTitle", [], "method"falsefalsetrue8))) {
  57.                 // line 9
  58.                 echo "            ";
  59.                 twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_title')->getCallable()(), "set", [=> 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.'9$this->source); })()), "getTitle", [], "method"falsefalsetrue9)], "method"falsefalsetrue9);
  60.                 // line 10
  61.                 echo "        ";
  62.             }
  63.             // line 11
  64.             echo "
  65.         ";
  66.             // line 12
  67.             if ( !twig_test_empty(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); })()), "getDescription", [], "method"falsefalsetrue12))) {
  68.                 // line 13
  69.                 echo "            ";
  70.                 twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "setDescription", [=> 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.'13$this->source); })()), "getDescription", [], "method"falsefalsetrue13)], "method"falsefalsetrue13);
  71.                 // line 14
  72.                 echo "        ";
  73.             }
  74.             // line 15
  75.             echo "    ";
  76.         }
  77.         // line 16
  78.         echo "
  79.     ";
  80.         // line 17
  81.         $this->displayBlock('layout_head_meta'$context$blocks);
  82.         // line 26
  83.         echo "
  84.     ";
  85.         // line 27
  86.         $this->displayBlock('head_stylesheets'$context$blocks);
  87.         // line 30
  88.         echo "\t
  89. \t";
  90.         // line 31
  91.         $context["alternateLanguagePath"] = 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.'31$this->source); })()), "getProperty", [=> "alternateLanguagePath"], "method"falsefalsetrue31);
  92.         // line 32
  93.         echo "    ";
  94.         if ((isset($context["alternateLanguagePath"]) || array_key_exists("alternateLanguagePath"$context) ? $context["alternateLanguagePath"] : (function () { throw new RuntimeError('Variable "alternateLanguagePath" does not exist.'32$this->source); })())) {
  95.             // line 33
  96.             echo "        ";
  97.             $context["lang"] = 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.'33$this->source); })()), "getProperty", [=> "language"], "method"falsefalsetrue33);
  98.             // line 34
  99.             echo "        ";
  100.             if (((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'34$this->source); })()) == "en")) {
  101.                 // line 35
  102.                 echo "            <link rel=\"alternate\" hreflang=\"en\" href=\"";
  103.                 echo twig_escape_filter($this->env, ($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'35$this->source); })()), "request", [], "any"falsefalsetrue35), "getSchemeAndHttpHost", [], "method"falsefalsetrue35), 35$this->source) . $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'35$this->source); })()), "request", [], "any"falsefalsetrue35), "requestUri", [], "method"falsefalsetrue35), 35$this->source)), "html"nulltrue);
  104.                 echo "\" />
  105.             <link rel=\"alternate\" hreflang=\"de\" href=\"";
  106.                 // line 36
  107.                 echo twig_escape_filter($this->env, ($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'36$this->source); })()), "request", [], "any"falsefalsetrue36), "getSchemeAndHttpHost", [], "method"falsefalsetrue36), 36$this->source) . $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["alternateLanguagePath"]) || array_key_exists("alternateLanguagePath"$context) ? $context["alternateLanguagePath"] : (function () { throw new RuntimeError('Variable "alternateLanguagePath" does not exist.'36$this->source); })()), "getFullPath", [], "method"falsefalsetrue36), 36$this->source)), "html"nulltrue);
  108.                 echo "\" />
  109.         ";
  110.             } else {
  111.                 // line 38
  112.                 echo "            <link rel=\"alternate\" hreflang=\"en\" href=\"";
  113.                 echo twig_escape_filter($this->env, ($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'38$this->source); })()), "request", [], "any"falsefalsetrue38), "getSchemeAndHttpHost", [], "method"falsefalsetrue38), 38$this->source) . $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["alternateLanguagePath"]) || array_key_exists("alternateLanguagePath"$context) ? $context["alternateLanguagePath"] : (function () { throw new RuntimeError('Variable "alternateLanguagePath" does not exist.'38$this->source); })()), "getFullPath", [], "method"falsefalsetrue38), 38$this->source)), "html"nulltrue);
  114.                 echo "\" />
  115.             <link rel=\"alternate\" hreflang=\"de\" href=\"";
  116.                 // line 39
  117.                 echo twig_escape_filter($this->env, ($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'39$this->source); })()), "request", [], "any"falsefalsetrue39), "getSchemeAndHttpHost", [], "method"falsefalsetrue39), 39$this->source) . $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'39$this->source); })()), "request", [], "any"falsefalsetrue39), "requestUri", [], "method"falsefalsetrue39), 39$this->source)), "html"nulltrue);
  118.                 echo "\" />
  119.         ";
  120.             }
  121.             // line 41
  122.             echo "    ";
  123.         }
  124.         // line 42
  125.         echo "
  126.     ";
  127.         // line 44
  128.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'44$this->source); })())) {
  129.             // line 45
  130.             echo "        <link href=\"/bundles/app/static/backend/css/basic/normalize.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\" />
  131.         <link href=\"/bundles/app/static/backend/css/basic/editmode.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\" />
  132.         <link href=\"/bundles/app/static/backend/css/tabnavigation/tabs.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\" />
  133.         <link href=\"/bundles/app/static/backend/css/multiselect/simple-multiselect.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\" /><!-- selectBox Peter -->
  134.         <link href=\"/bundles/app/static/backend/css/schemaorg/jquery.timepicker.css\" rel=\"stylesheet\" type=\"text/css\" />
  135.         <link href=\"/bundles/app/static/backend/css/schemaorg/schemaorgmap.css\" rel=\"stylesheet\" type=\"text/css\" />
  136.         <script type=\"text/javascript\">
  137.             window.parent.\$(window.parent.document).find('.pimcore_icon_cleanup').parent().parent().parent().parent().hide();
  138.         </script>
  139.         <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" /><?php echo \"\\r\\n\";?>
  140.         <style>
  141.             .pimcore_editable{
  142.                 min-height:16px!IMPORTANT;
  143.             }
  144.             .pimcore_editable input.x-form-text{
  145.                 height:31px!IMPORTANT;
  146.             }
  147.         </style>
  148.         ";
  149.             // line 66
  150.             echo "    ";
  151.         } else {
  152.             // line 67
  153.             echo "
  154.     <link rel=\"stylesheet\" media=\"screen\" href=\"/bundles/app/static/frontend/css/compress.css\" />
  155.         <!-- Kopf include -->
  156.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/bundles/app/static/frontend/images/favicon/apple-touch-icon.png\">
  157.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/bundles/app/static/frontend/images/favicon/favicon-32x32.png\">
  158.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/bundles/app/static/frontend/images/favicon/favicon-16x16.png\">
  159.     <link rel=\"manifest\" href=\"/bundles/app/static/frontend/images/favicon/site.webmanifest\">
  160.     <link rel=\"mask-icon\" href=\"/bundles/app/static/frontend/images/favicon/safari-pinned-tab.svg\" color=\"#e50000\">
  161.     <link rel=\"shortcut icon\" href=\"/bundles/app/static/frontend/images/favicon/favicon.ico\">
  162.     <meta name=\"msapplication-TileColor\" content=\"#e50000\">
  163.     <meta name=\"msapplication-config\" content=\"/bundles/app/static/frontend/images/favicon/browserconfig.xml\">
  164.     <meta name=\"theme-color\" content=\"#ffffff\">
  165.         ";
  166.             // line 87
  167.             echo "
  168. \t <link rel=\"stylesheet\" media=\"screen\" href=\"/bundles/app/static/frontend/css/front-page.css\" />
  169.     ";
  170.             // line 89
  171.             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.'89$this->source); })()), "getProperty", [=> "page_startseite"], "method"falsefalsetrue89)) {
  172.                 // line 90
  173.                 echo "    <link rel=\"stylesheet\" media=\"screen\" href=\"/bundles/app/static/frontend/css/front-page.css\" />
  174.     ";
  175.             }
  176.             // line 92
  177.             echo "
  178.         ";
  179.             // line 94
  180.             echo "        ";
  181.             echo $this->extensions['App\Twig\Extension\GlanzerExtension']->getMetaVerifictionText();
  182.             echo "
  183.     ";
  184.         }
  185.         // line 96
  186.         echo "</head>
  187. ";
  188.         // line 98
  189.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'98$this->source); })())) {
  190.             // line 99
  191.             echo "<body style=\"background-image:url(/bundles/app/static/backend/image/edm-style/tab-nav-bg.png) repeat-x bottom;\">
  192. ";
  193.             // line 101
  194.             $this->displayBlock("content"$context$blocks);
  195.             echo "
  196. ";
  197.             // line 103
  198.             if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'103$this->source); })())) {
  199.                 // line 104
  200.                 echo "    <script src=\"/bundles/app/static/backend/js/jquery/jquery-3.2.1.min.js\"></script>
  201.     <script type=\"text/javascript\" src=\"/bundles/app/static/backend/js/schemaorg/jquery.timepicker.js\"></script>
  202.     <script type =\"text/javascript\" src=\"/bundles/app/static/backend/js/jquery/multiselect/simple-multiselect.js\"></script>
  203.     <script type=\"text/javascript\">
  204.         window.parent.\$(window.parent.document).find('.pimcore_icon_cleanup').parent().parent().parent().parent().hide();
  205.     </script>
  206.     <script>
  207.         function ReadCookie(cookieName) {
  208.             var theCookie=\" \"+document.cookie;
  209.             var ind=theCookie.indexOf(\" \"+cookieName+\"=\");
  210.             if (ind==-1) ind=theCookie.indexOf(\";\"+cookieName+\"=\");
  211.             if (ind==-1 || cookieName==\"\") return \"\";
  212.             var ind1=theCookie.indexOf(\";\",ind+1);
  213.             if (ind1==-1) ind1=theCookie.length;
  214.             return unescape(theCookie.substring(ind+cookieName.length+2,ind1));
  215.         }
  216.         \$( document ).ready(function() {
  217.             var cookieName = \"edmtab\" + '<?=\$this->document->getId()?>';
  218.             var CookieVal = ReadCookie(cookieName);
  219.             if(CookieVal.length > 0){
  220.                 \$('#' + CookieVal).attr('checked','checked');
  221.             }
  222.             \$('input.tabContent').on('change', function(e) {
  223.                 var tabnr = \$(this).attr('id');
  224.                 console.log(e);
  225.                 document.cookie = cookieName + \"=\" + tabnr;
  226.             });
  227.         });
  228.     </script>
  229. ";
  230.             }
  231.             // line 136
  232.             echo "
  233. ";
  234.         } else {
  235.             // line 138
  236.             echo "<body class=\"standard\"  data-status=\"\" itemscope=\"\" itemtype=\"http://schema.org/WebPage\">
  237. ";
  238.             // line 139
  239.             echo $this->extensions['App\Twig\Extension\GlanzerExtension']->getFooterText();
  240.             echo "
  241. ";
  242.             // line 143
  243.             $context["bgImageSrc"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""BackgroundImagePage"), "getSrc", [], "method"falsefalsetrue143);
  244.             // line 144
  245.             echo "
  246. ";
  247.             // line 145
  248.             if (( !array_key_exists("theme"$context) || twig_test_empty((isset($context["theme"]) || array_key_exists("theme"$context) ? $context["theme"] : (function () { throw new RuntimeError('Variable "theme" does not exist.'145$this->source); })())))) {
  249.                 // line 146
  250.                 echo "    ";
  251.                 $context["theme"] = ((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.'146$this->source); })()), "getProperty", [=> "theme_doc"], "method"falsefalsetrue146)) ? (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.'146$this->source); })()), "getProperty", [=> "theme_doc"], "method"falsefalsetrue146)) : ("neutral"));
  252.             }
  253.             // line 148
  254.             echo "
  255. <div data-theme=\"";
  256.             // line 149
  257.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["theme"]) || array_key_exists("theme"$context) ? $context["theme"] : (function () { throw new RuntimeError('Variable "theme" does not exist.'149$this->source); })()), 149$this->source), "html"nulltrue);
  258.             echo "\" data-page=\"";
  259.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'149$this->source); })()), 149$this->source), "html"nulltrue);
  260.             echo "\">
  261.     <div class=\"layout-page gradient-page ";
  262.             // line 150
  263.             echo ((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.'150$this->source); })()), "getProperty", [=> "page_startseite"], "method"falsefalsetrue150)) ? ("frontpage") : (""));
  264.             echo "\">
  265.         <aside class=\"side-bar gradient-page\">
  266.             <figure class=\"logo ";
  267.             // line 152
  268.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["theme"]) || array_key_exists("theme"$context) ? $context["theme"] : (function () { throw new RuntimeError('Variable "theme" does not exist.'152$this->source); })()), 152$this->source), "html"nulltrue);
  269.             echo " ";
  270.             echo ((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.'152$this->source); })()), "getProperty", [=> "page_startseite"], "method"falsefalsetrue152)) ? ("side-bar-logo--frontpage") : (""));
  271.             echo "\">
  272.                 <a href=\"";
  273.             // line 153
  274.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["logo_link"]) || array_key_exists("logo_link"$context) ? $context["logo_link"] : (function () { throw new RuntimeError('Variable "logo_link" does not exist.'153$this->source); })()), 153$this->source), "html"nulltrue);
  275.             echo "\">
  276.                     <img width=\"123\" height=\"101\" src=\"";
  277.             // line 154
  278.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["glanzerLogo"]) || array_key_exists("glanzerLogo"$context) ? $context["glanzerLogo"] : (function () { throw new RuntimeError('Variable "glanzerLogo" does not exist.'154$this->source); })()), 154$this->source), "html"nulltrue);
  279.             echo "\" alt=\"";
  280.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["glanzerLogoAlt"]) || array_key_exists("glanzerLogoAlt"$context) ? $context["glanzerLogoAlt"] : (function () { throw new RuntimeError('Variable "glanzerLogoAlt" does not exist.'154$this->source); })()), 154$this->source), "html"nulltrue);
  281.             echo "\"/>
  282.                 </a>
  283.             </figure>
  284.             <nav class=\"navigation\">
  285.                 <ul class=\"no-bullet font-light theme-indicator-wrp\" data-menu=\"sidebar\">
  286.                     <li class=\"theme-indicator theme-indicator--mobile shops\">
  287.                         <a class=\"theme-title theme-title--mobile\" href=\"";
  288.             // line 161
  289.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["url_shops"]) || array_key_exists("url_shops"$context) ? $context["url_shops"] : (function () { throw new RuntimeError('Variable "url_shops" does not exist.'161$this->source); })()), 161$this->source), "html"nulltrue);
  290.             echo "\">
  291.                             <div class=\"label centered-flex\">
  292.                                 <span class=\"uppercase font-bold\">";
  293.             // line 163
  294.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["text_shops"]) || array_key_exists("text_shops"$context) ? $context["text_shops"] : (function () { throw new RuntimeError('Variable "text_shops" does not exist.'163$this->source); })()), 163$this->source), "html"nulltrue);
  295.             echo "</span>
  296.                                 <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 300\" width=\"50\" height=\"300\"
  297.                                      preserveAspectRatio=\"xMaxYMax meet\">
  298.                                     <text class=\"tab-text\"
  299.                                           transform=\"matrix(6.123234e-17 -1 1 6.123234e-17 42.7734 258)\">";
  300.             // line 167
  301.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["text_shops"]) || array_key_exists("text_shops"$context) ? $context["text_shops"] : (function () { throw new RuntimeError('Variable "text_shops" does not exist.'167$this->source); })()), 167$this->source), "html"nulltrue);
  302.             echo "</text>
  303.                                 </svg>
  304.                             </div>
  305.                         </a>
  306.                     </li>
  307.                     <li class=\"theme-indicator theme-indicator--mobile rent\">
  308.                         <a class=\"theme-title theme-title--mobile\" href=\"";
  309.             // line 173
  310.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["url_rent"]) || array_key_exists("url_rent"$context) ? $context["url_rent"] : (function () { throw new RuntimeError('Variable "url_rent" does not exist.'173$this->source); })()), 173$this->source), "html"nulltrue);
  311.             echo "\">
  312.                             <div class=\"label centered-flex\">
  313.                                 <span class=\"uppercase font-bold\">";
  314.             // line 175
  315.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["text_rent"]) || array_key_exists("text_rent"$context) ? $context["text_rent"] : (function () { throw new RuntimeError('Variable "text_rent" does not exist.'175$this->source); })()), 175$this->source), "html"nulltrue);
  316.             echo "</span>
  317.                                 <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 300\" width=\"50\" height=\"300\"
  318.                                      preserveAspectRatio=\"xMaxYMax meet\">
  319.                                     <text class=\"tab-text\" transform=\"matrix(6.123234e-17 -1 1 6.123234e-17 42.7734 280)\">";
  320.             // line 178
  321.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["text_rent"]) || array_key_exists("text_rent"$context) ? $context["text_rent"] : (function () { throw new RuntimeError('Variable "text_rent" does not exist.'178$this->source); })()), 178$this->source), "html"nulltrue);
  322.             echo "</text>
  323.                                 </svg>
  324.                             </div>
  325.                         </a>
  326.                     </li>
  327.                     <li class=\"theme-indicator theme-indicator--mobile homes\">
  328.                         <a class=\"theme-title theme-title--mobile\" href=\"";
  329.             // line 184
  330.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["url_homes"]) || array_key_exists("url_homes"$context) ? $context["url_homes"] : (function () { throw new RuntimeError('Variable "url_homes" does not exist.'184$this->source); })()), 184$this->source), "html"nulltrue);
  331.             echo "\">
  332.                             <div class=\"label centered-flex\">
  333.                                 <span class=\"uppercase font-bold\">";
  334.             // line 186
  335.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["text_homes"]) || array_key_exists("text_homes"$context) ? $context["text_homes"] : (function () { throw new RuntimeError('Variable "text_homes" does not exist.'186$this->source); })()), 186$this->source), "html"nulltrue);
  336.             echo "</span>
  337.                                 <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 300\" width=\"50\" height=\"300\"
  338.                                      preserveAspectRatio=\"xMaxYMax meet\">
  339.                                     <text class=\"tab-text\"
  340.                                           transform=\"matrix(6.123234e-17 -1 1 6.123234e-17 42.7734 300)\">";
  341.             // line 190
  342.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["text_homes"]) || array_key_exists("text_homes"$context) ? $context["text_homes"] : (function () { throw new RuntimeError('Variable "text_homes" does not exist.'190$this->source); })()), 190$this->source), "html"nulltrue);
  343.             echo "</text>
  344.                                 </svg>
  345.                             </div>
  346.                         </a>
  347.                     </li>
  348.                 </ul>
  349.                 <header class=\"header constrainer-maxsize edgepadding ";
  350.             // line 196
  351.             echo ((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.'196$this->source); })()), "getProperty", [=> "page_startseite"], "method"falsefalsetrue196)) ? ("header-front-page") : (""));
  352.             echo "\">
  353.                     ";
  354.             // line 200
  355.             echo "                    ";
  356.             echo twig_include($this->env$context"includes/side-navigation/menue.html.twig");
  357.             echo "
  358.                 </header>
  359.                 ";
  360.             // line 203
  361.             echo twig_include($this->env$context"includes/side-navigation/navigation.html.twig");
  362.             echo "
  363.             </nav>
  364.             <script type=\"text/javascript\">
  365.                 var _skd = window._skd || {};
  366.                 _skd.callbacks = _skd.callbacks || {};
  367.                 _skd.callbacks.dsr = _skd.callbacks.dsr || {};
  368.                 _skd.callbacks.dsr.viewConfirmation = function(data){
  369.                     window.location.href = window.location.href.split(\"#\")[0]+'/booking-success?total='+data.total;
  370.                 }
  371.             </script>
  372.             <script>
  373.                 (function () {\t\t
  374. \t\t\t\t
  375.                     if (typeof window.selt === 'undefined') {
  376.                         window.selt = {
  377.                             modules: {}
  378.                         };
  379.                     } else if (!window.selt.modules) {
  380.                         window.selt.modules = {};
  381.                     }
  382.                     var moduleName = 'sidebar_module'; // naming convention XXX_module
  383.                     selt.modules[moduleName] = {
  384.                         name: moduleName,
  385.                         init: function () {
  386.                             if (selt.debug) console.log('initialize', this.name);
  387.                             var navigation = document.querySelectorAll('[data-menu=\"sidebar\"] li'),
  388.                                 navigationLinks = document.querySelectorAll('[data-menu=\"sidebar\"] li a'),
  389.                                 hoverClass = 'peek',
  390.                                 timeOutID;
  391.                             // uses touchend event to add special class for touch devices
  392.                             function setHoverState(e) {
  393.                                 if (Modernizr.mq('(min-width: 480px)')) {
  394.                                     var hasHoverState = this.classList.contains(hoverClass),
  395.                                         me = this;
  396.                                     [].forEach.call(navigation, function (el) {
  397.                                         el.classList.remove(hoverClass);
  398.                                     });
  399.                                     switch (e.type) {
  400.                                         case 'touchend':
  401.                                             if (!hasHoverState) {
  402.                                                 clearTimeout(timeOutID);
  403.                                                 setTimeout(function () {
  404.                                                     me.classList.remove(hoverClass);
  405.                                                 }, 2000)
  406.                                                 // e.preventDefault();
  407.                                             }
  408.                                             break;
  409.                                         case 'mouseleave':
  410.                                             return false;
  411.                                             break;
  412.                                     }
  413.                                     me.classList.add(hoverClass);
  414.                                 }
  415.                             }
  416.                             [].forEach.call(navigation, function (el) {
  417.                                 // touch device handling to open dropdown
  418.                                 el.addEventListener('touchend', function (e) {
  419.                                     setHoverState.call(this, e);
  420.                                 }, false);
  421.                                 // mouse handling of off canvas menu items to mimic touch handling
  422.                                 el.addEventListener('mouseenter', function (e) {
  423.                                     setHoverState.call(this, e);
  424.                                 }, false);
  425.                                 el.addEventListener('mouseleave', function (e) {
  426.                                     setHoverState.call(this, e);
  427.                                 }, false);
  428.                             });
  429.                         }
  430.                     }
  431.                 }());
  432.             </script>
  433.         </aside>
  434.         <main class=\"sidebar-offset gradient-page ";
  435.             // line 308
  436.             echo ((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.'308$this->source); })()), "getProperty", [=> "home"], "method"falsefalsetrue308)) ? ("home") : (""));
  437.             echo "\">
  438.             ";
  439.             // line 309
  440.             echo twig_include($this->env$context"includes/side-navigation/menue.html.twig");
  441.             echo "
  442.             ";
  443.             // line 310
  444.             echo twig_include($this->env$context"includes/side-navigation/navigation.html.twig");
  445.             echo "
  446.             <div class=\"main-wrapper-js\">
  447.                 ";
  448.             // line 312
  449.             if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'312$this->source); })())) {
  450.                 // line 313
  451.                 echo "                    ";
  452.                 $this->displayBlock("content"$context$blocks);
  453.                 echo "
  454.                 ";
  455.             }
  456.             // line 315
  457.             echo "            </div>
  458.             <div class=\"footer-wrapper-js\">
  459.                 ";
  460.             // line 323
  461.             echo "
  462.                 ";
  463.             // line 325
  464.             echo "                ";
  465.             echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\FooterController::footerAction", ["max" => 3]));
  466.             // line 327
  467.             echo "
  468.             </div>
  469.         </main>
  470.     </div>
  471.     <!-- Page Tab element  -->
  472.     ";
  473.             // line 335
  474.             if ((twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"checkbox""buttonSeitenrandRechts"), "isChecked", [], "method"falsefalsetrue335) && (twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""buttonSeitenrandRechts_link"), "isEmpty", [], "method"falsefalsetrue335) == false))) {
  475.                 // line 336
  476.                 echo "
  477.         ";
  478.                 // line 337
  479.                 $context["button_target"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""buttonSeitenrandRechts_link"), "getTarget", [], "method"falsefalsetrue337);
  480.                 // line 338
  481.                 echo "        ";
  482.                 $context["target"] = ((((isset($context["button_target"]) || array_key_exists("button_target"$context) ? $context["button_target"] : (function () { throw new RuntimeError('Variable "button_target" does not exist.'338$this->source); })()) != "")) ? ((isset($context["button_target"]) || array_key_exists("button_target"$context) ? $context["button_target"] : (function () { throw new RuntimeError('Variable "button_target" does not exist.'338$this->source); })())) : ("_self"));
  483.                 // line 339
  484.                 echo "        ";
  485.                 $context["buttonclass"] = (((Pimcore\Tool\DeviceDetector::getInstance("phone") == "phone")) ? ("onlinebuchen-p") : ("onlinebuchen-d"));
  486.                 // line 340
  487.                 echo "        <div class=\"sidetab centered-flex font-light theme-color-bg ";
  488.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["buttonclass"]) || array_key_exists("buttonclass"$context) ? $context["buttonclass"] : (function () { throw new RuntimeError('Variable "buttonclass" does not exist.'340$this->source); })()), 340$this->source), "html"nulltrue);
  489.                 echo "\">
  490.             <a class=\"no-underline\" href=\"";
  491.                 // line 341
  492.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""buttonSeitenrandRechts_link"), "getHref", [], "method"falsefalsetrue341), 341$this->source), "html"nulltrue);
  493.                 echo "\" target=\"";
  494.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["target"]) || array_key_exists("target"$context) ? $context["target"] : (function () { throw new RuntimeError('Variable "target" does not exist.'341$this->source); })()), 341$this->source), "html"nulltrue);
  495.                 echo "\">
  496.                 ";
  497.                 // line 342
  498.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""buttonSeitenrandRechts_text", ["nl2br" => true]);
  499.                 echo "
  500.             </a>
  501.         </div>
  502.         ";
  503.                 // line 345
  504.                 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.'345$this->source); })()), "getProperty", [=> "sidetab_shop"], "method"falsefalsetrue345)) {
  505.                     // line 346
  506.                     echo "            <div class=\"sidetab shops centered-flex font-light ";
  507.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["buttonclass"]) || array_key_exists("buttonclass"$context) ? $context["buttonclass"] : (function () { throw new RuntimeError('Variable "buttonclass" does not exist.'346$this->source); })()), 346$this->source), "html"nulltrue);
  508.                     echo "\" data-theme=\"shops\">
  509.                 <a class=\"no-underline\" href=\"";
  510.                     // line 347
  511.                     echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""href_shop");
  512.                     echo "\" target=\"_blank\" >
  513.                     ";
  514.                     // line 348
  515.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label_shop"), "html"nulltrue);
  516.                     echo "
  517.                 </a>
  518.             </div>
  519.         ";
  520.                 }
  521.                 // line 352
  522.                 echo "    ";
  523.             }
  524.             // line 353
  525.             echo "
  526. </div> <!-- ende data-theme -->
  527. ";
  528.             // line 356
  529.             echo twig_include($this->env$context"includes/frontend-fuss.html.twig");
  530.             echo "
  531. ";
  532.             // line 359
  533.             $context["incTemplates"] = $this->extensions['App\Twig\Extension\GlanzerExtension']->showIncludes();
  534.             // line 360
  535.             echo "
  536. ";
  537.         }
  538.         // line 363
  539.         echo "</body>
  540. </html>
  541. ";
  542.         
  543.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  544.         
  545.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  546.         $this->deferred->resolve($this$context$blocks);
  547.     }
  548.     public function block_layout_head_meta($context, array $blocks = [])
  549.     {
  550.         $this->deferred->defer($this'layout_head_meta');
  551.     }
  552.     // line 17
  553.     public function block_layout_head_meta_deferred($context, array $blocks = [])
  554.     {
  555.         $macros $this->macros;
  556.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  557.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  558.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  559.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  560.         // line 18
  561.         echo "    ";
  562.         echo $this->env->getFunction('pimcore_head_title')->getCallable()();
  563.         echo "
  564.     ";
  565.         // line 19
  566.         echo $this->env->getFunction('pimcore_head_meta')->getCallable()();
  567.         echo "
  568.     ";
  569.         // line 21
  570.         if (twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_placeholder')->getCallable()("canonical"), "count", [], "method"falsefalsetrue21)) {
  571.             // line 22
  572.             echo "        <link rel=\"canonical\" href=\"";
  573.             echo $this->env->getFunction('pimcore_placeholder')->getCallable()("canonical");
  574.             echo "\"/>
  575.     ";
  576.         }
  577.         // line 24
  578.         echo "
  579.     ";
  580.         
  581.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  582.         
  583.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  584.         $this->deferred->resolve($this$context$blocks);
  585.     }
  586.     public function block_head_stylesheets($context, array $blocks = [])
  587.     {
  588.         $this->deferred->defer($this'head_stylesheets');
  589.     }
  590.     // line 27
  591.     public function block_head_stylesheets_deferred($context, array $blocks = [])
  592.     {
  593.         $macros $this->macros;
  594.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  595.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  596.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  597.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  598.         // line 28
  599.         echo "    ";
  600.         echo $this->env->getFunction('pimcore_head_link')->getCallable()();
  601.         echo "
  602.     ";
  603.         
  604.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  605.         
  606.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  607.         $this->deferred->resolve($this$context$blocks);
  608.     }
  609.     public function getTemplateName()
  610.     {
  611.         return "layout.html.twig";
  612.     }
  613.     public function isTraitable()
  614.     {
  615.         return false;
  616.     }
  617.     public function getDebugInfo()
  618.     {
  619.         return array (  680 => 28,  670 => 27,  653 => 24,  647 => 22,  645 => 21,  640 => 19,  635 => 18,  625 => 17,  607 => 363,  602 => 360,  600 => 359,  594 => 356,  589 => 353,  586 => 352,  579 => 348,  575 => 347,  570 => 346,  568 => 345,  562 => 342,  556 => 341,  551 => 340,  548 => 339,  545 => 338,  543 => 337,  540 => 336,  538 => 335,  528 => 327,  525 => 325,  522 => 323,  517 => 315,  511 => 313,  509 => 312,  504 => 310,  500 => 309,  496 => 308,  388 => 203,  381 => 200,  376 => 196,  367 => 190,  360 => 186,  355 => 184,  346 => 178,  340 => 175,  335 => 173,  326 => 167,  319 => 163,  314 => 161,  302 => 154,  298 => 153,  292 => 152,  287 => 150,  281 => 149,  278 => 148,  274 => 146,  272 => 145,  269 => 144,  267 => 143,  260 => 139,  257 => 138,  253 => 136,  219 => 104,  217 => 103,  212 => 101,  208 => 99,  206 => 98,  202 => 96,  196 => 94,  193 => 92,  189 => 90,  187 => 89,  183 => 87,  166 => 67,  163 => 66,  141 => 45,  139 => 44,  135 => 42,  132 => 41,  127 => 39,  122 => 38,  117 => 36,  112 => 35,  109 => 34,  106 => 33,  103 => 32,  101 => 31,  98 => 30,  96 => 27,  93 => 26,  91 => 17,  88 => 16,  85 => 15,  82 => 14,  79 => 13,  77 => 12,  74 => 11,  71 => 10,  68 => 9,  65 => 8,  63 => 7,  51 => 2,  48 => 1,);
  620.     }
  621.     public function getSourceContext()
  622.     {
  623.         return new Source("<!DOCTYPE html>
  624. <html lang=\"{{ app.request.locale }}\" data-language=\"{{ app.request.locale }}\" data-device=\"{{ app.request.locale }}\">
  625. <head>
  626. \t<meta charset=\"UTF-8\">
  627. \t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  628.     {% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Page') %}
  629.         {% if document.getTitle() is not empty %}
  630.             {% do pimcore_head_title().set(document.getTitle()) %}
  631.         {% endif %}
  632.         {% if document.getDescription() is not empty %}
  633.             {% do pimcore_head_meta().setDescription(document.getDescription()) %}
  634.         {% endif %}
  635.     {% endif %}
  636.     {% block layout_head_meta deferred %}
  637.     {{ pimcore_head_title() }}
  638.     {{ pimcore_head_meta() }}
  639.     {% if pimcore_placeholder('canonical').count() %}
  640.         <link rel=\"canonical\" href=\"{{ pimcore_placeholder('canonical') }}\"/>
  641.     {% endif %}
  642.     {% endblock %}
  643.     {% block head_stylesheets deferred %}
  644.     {{ pimcore_head_link() }}
  645.     {% endblock %}
  646. \t
  647. \t{% set alternateLanguagePath = document.getProperty('alternateLanguagePath') %}
  648.     {% if alternateLanguagePath %}
  649.         {% set lang = document.getProperty('language') %}
  650.         {% if lang == 'en' %}
  651.             <link rel=\"alternate\" hreflang=\"en\" href=\"{{ app.request.getSchemeAndHttpHost() ~ app.request.requestUri() }}\" />
  652.             <link rel=\"alternate\" hreflang=\"de\" href=\"{{ app.request.getSchemeAndHttpHost() ~ alternateLanguagePath.getFullPath() }}\" />
  653.         {% else %}
  654.             <link rel=\"alternate\" hreflang=\"en\" href=\"{{ app.request.getSchemeAndHttpHost() ~ alternateLanguagePath.getFullPath() }}\" />
  655.             <link rel=\"alternate\" hreflang=\"de\" href=\"{{ app.request.getSchemeAndHttpHost() ~ app.request.requestUri() }}\" />
  656.         {% endif %}
  657.     {% endif %}
  658.     {% if editmode %}
  659.         <link href=\"/bundles/app/static/backend/css/basic/normalize.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\" />
  660.         <link href=\"/bundles/app/static/backend/css/basic/editmode.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\" />
  661.         <link href=\"/bundles/app/static/backend/css/tabnavigation/tabs.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\" />
  662.         <link href=\"/bundles/app/static/backend/css/multiselect/simple-multiselect.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\" /><!-- selectBox Peter -->
  663.         <link href=\"/bundles/app/static/backend/css/schemaorg/jquery.timepicker.css\" rel=\"stylesheet\" type=\"text/css\" />
  664.         <link href=\"/bundles/app/static/backend/css/schemaorg/schemaorgmap.css\" rel=\"stylesheet\" type=\"text/css\" />
  665.         <script type=\"text/javascript\">
  666.             window.parent.\$(window.parent.document).find('.pimcore_icon_cleanup').parent().parent().parent().parent().hide();
  667.         </script>
  668.         <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" /><?php echo \"\\r\\n\";?>
  669.         <style>
  670.             .pimcore_editable{
  671.                 min-height:16px!IMPORTANT;
  672.             }
  673.             .pimcore_editable input.x-form-text{
  674.                 height:31px!IMPORTANT;
  675.             }
  676.         </style>
  677.         {# Frontend Part #}
  678.     {% else %}
  679.     <link rel=\"stylesheet\" media=\"screen\" href=\"/bundles/app/static/frontend/css/compress.css\" />
  680.         <!-- Kopf include -->
  681.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/bundles/app/static/frontend/images/favicon/apple-touch-icon.png\">
  682.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/bundles/app/static/frontend/images/favicon/favicon-32x32.png\">
  683.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/bundles/app/static/frontend/images/favicon/favicon-16x16.png\">
  684.     <link rel=\"manifest\" href=\"/bundles/app/static/frontend/images/favicon/site.webmanifest\">
  685.     <link rel=\"mask-icon\" href=\"/bundles/app/static/frontend/images/favicon/safari-pinned-tab.svg\" color=\"#e50000\">
  686.     <link rel=\"shortcut icon\" href=\"/bundles/app/static/frontend/images/favicon/favicon.ico\">
  687.     <meta name=\"msapplication-TileColor\" content=\"#e50000\">
  688.     <meta name=\"msapplication-config\" content=\"/bundles/app/static/frontend/images/favicon/browserconfig.xml\">
  689.     <meta name=\"theme-color\" content=\"#ffffff\">
  690.         {#
  691.         {% if pimcore_link('strukturierteDaten').isEmpty() is not empty %}
  692.             {% set strukturierteDatenId = pimcore_link('strukturierteDaten').getId()  %}
  693.             {{ show_snippet(strukturierteDatenId, []) }}
  694.         {% endif %} #}
  695. \t <link rel=\"stylesheet\" media=\"screen\" href=\"/bundles/app/static/frontend/css/front-page.css\" />
  696.     {% if document.getProperty('page_startseite') %}
  697.     <link rel=\"stylesheet\" media=\"screen\" href=\"/bundles/app/static/frontend/css/front-page.css\" />
  698.     {% endif %}
  699.         {# gibt aus den Objekten  Meta-Tags / etc. vor Ende Head aus #}
  700.         {{ codevorendehead_allgemein() | raw }}
  701.     {% endif %}
  702. </head>
  703. {% if editmode %}
  704. <body style=\"background-image:url(/bundles/app/static/backend/image/edm-style/tab-nav-bg.png) repeat-x bottom;\">
  705. {{ block('content') }}
  706. {% if editmode %}
  707.     <script src=\"/bundles/app/static/backend/js/jquery/jquery-3.2.1.min.js\"></script>
  708.     <script type=\"text/javascript\" src=\"/bundles/app/static/backend/js/schemaorg/jquery.timepicker.js\"></script>
  709.     <script type =\"text/javascript\" src=\"/bundles/app/static/backend/js/jquery/multiselect/simple-multiselect.js\"></script>
  710.     <script type=\"text/javascript\">
  711.         window.parent.\$(window.parent.document).find('.pimcore_icon_cleanup').parent().parent().parent().parent().hide();
  712.     </script>
  713.     <script>
  714.         function ReadCookie(cookieName) {
  715.             var theCookie=\" \"+document.cookie;
  716.             var ind=theCookie.indexOf(\" \"+cookieName+\"=\");
  717.             if (ind==-1) ind=theCookie.indexOf(\";\"+cookieName+\"=\");
  718.             if (ind==-1 || cookieName==\"\") return \"\";
  719.             var ind1=theCookie.indexOf(\";\",ind+1);
  720.             if (ind1==-1) ind1=theCookie.length;
  721.             return unescape(theCookie.substring(ind+cookieName.length+2,ind1));
  722.         }
  723.         \$( document ).ready(function() {
  724.             var cookieName = \"edmtab\" + '<?=\$this->document->getId()?>';
  725.             var CookieVal = ReadCookie(cookieName);
  726.             if(CookieVal.length > 0){
  727.                 \$('#' + CookieVal).attr('checked','checked');
  728.             }
  729.             \$('input.tabContent').on('change', function(e) {
  730.                 var tabnr = \$(this).attr('id');
  731.                 console.log(e);
  732.                 document.cookie = cookieName + \"=\" + tabnr;
  733.             });
  734.         });
  735.     </script>
  736. {% endif %}
  737. {% else %}
  738. <body class=\"standard\"  data-status=\"\" itemscope=\"\" itemtype=\"http://schema.org/WebPage\">
  739. {{ codenachanfangbody_allgemein() | raw }}
  740. {% set bgImageSrc = pimcore_image(\"BackgroundImagePage\").getSrc() %}
  741. {% if theme is not defined or theme is empty %}
  742.     {% set theme = document.getProperty('theme_doc') ? document.getProperty('theme_doc') : \"neutral\" %}
  743. {% endif %}
  744. <div data-theme=\"{{ theme }}\" data-page=\"{{ page }}\">
  745.     <div class=\"layout-page gradient-page {{ document.getProperty('page_startseite') ? 'frontpage' : '' }}\">
  746.         <aside class=\"side-bar gradient-page\">
  747.             <figure class=\"logo {{ theme }} {{ document.getProperty('page_startseite') ? 'side-bar-logo--frontpage' : '' }}\">
  748.                 <a href=\"{{ logo_link }}\">
  749.                     <img width=\"123\" height=\"101\" src=\"{{ glanzerLogo }}\" alt=\"{{ glanzerLogoAlt }}\"/>
  750.                 </a>
  751.             </figure>
  752.             <nav class=\"navigation\">
  753.                 <ul class=\"no-bullet font-light theme-indicator-wrp\" data-menu=\"sidebar\">
  754.                     <li class=\"theme-indicator theme-indicator--mobile shops\">
  755.                         <a class=\"theme-title theme-title--mobile\" href=\"{{ url_shops }}\">
  756.                             <div class=\"label centered-flex\">
  757.                                 <span class=\"uppercase font-bold\">{{ text_shops }}</span>
  758.                                 <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 300\" width=\"50\" height=\"300\"
  759.                                      preserveAspectRatio=\"xMaxYMax meet\">
  760.                                     <text class=\"tab-text\"
  761.                                           transform=\"matrix(6.123234e-17 -1 1 6.123234e-17 42.7734 258)\">{{ text_shops }}</text>
  762.                                 </svg>
  763.                             </div>
  764.                         </a>
  765.                     </li>
  766.                     <li class=\"theme-indicator theme-indicator--mobile rent\">
  767.                         <a class=\"theme-title theme-title--mobile\" href=\"{{ url_rent }}\">
  768.                             <div class=\"label centered-flex\">
  769.                                 <span class=\"uppercase font-bold\">{{ text_rent }}</span>
  770.                                 <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 300\" width=\"50\" height=\"300\"
  771.                                      preserveAspectRatio=\"xMaxYMax meet\">
  772.                                     <text class=\"tab-text\" transform=\"matrix(6.123234e-17 -1 1 6.123234e-17 42.7734 280)\">{{ text_rent }}</text>
  773.                                 </svg>
  774.                             </div>
  775.                         </a>
  776.                     </li>
  777.                     <li class=\"theme-indicator theme-indicator--mobile homes\">
  778.                         <a class=\"theme-title theme-title--mobile\" href=\"{{ url_homes }}\">
  779.                             <div class=\"label centered-flex\">
  780.                                 <span class=\"uppercase font-bold\">{{ text_homes }}</span>
  781.                                 <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 300\" width=\"50\" height=\"300\"
  782.                                      preserveAspectRatio=\"xMaxYMax meet\">
  783.                                     <text class=\"tab-text\"
  784.                                           transform=\"matrix(6.123234e-17 -1 1 6.123234e-17 42.7734 300)\">{{ text_homes }}</text>
  785.                                 </svg>
  786.                             </div>
  787.                         </a>
  788.                     </li>
  789.                 </ul>
  790.                 <header class=\"header constrainer-maxsize edgepadding {{ document.getProperty('page_startseite') ? 'header-front-page' : '' }}\">
  791.                     {#  <?php echo \$this->render('AppBundle:Includes:menue.html.php', ['contacts' => \$contacts]); ?>
  792.                     #}
  793.                     {{ include('includes/side-navigation/menue.html.twig') }}
  794.                 </header>
  795.                 {{ include('includes/side-navigation/navigation.html.twig') }}
  796.             </nav>
  797.             <script type=\"text/javascript\">
  798.                 var _skd = window._skd || {};
  799.                 _skd.callbacks = _skd.callbacks || {};
  800.                 _skd.callbacks.dsr = _skd.callbacks.dsr || {};
  801.                 _skd.callbacks.dsr.viewConfirmation = function(data){
  802.                     window.location.href = window.location.href.split(\"#\")[0]+'/booking-success?total='+data.total;
  803.                 }
  804.             </script>
  805.             <script>
  806.                 (function () {\t\t
  807. \t\t\t\t
  808.                     if (typeof window.selt === 'undefined') {
  809.                         window.selt = {
  810.                             modules: {}
  811.                         };
  812.                     } else if (!window.selt.modules) {
  813.                         window.selt.modules = {};
  814.                     }
  815.                     var moduleName = 'sidebar_module'; // naming convention XXX_module
  816.                     selt.modules[moduleName] = {
  817.                         name: moduleName,
  818.                         init: function () {
  819.                             if (selt.debug) console.log('initialize', this.name);
  820.                             var navigation = document.querySelectorAll('[data-menu=\"sidebar\"] li'),
  821.                                 navigationLinks = document.querySelectorAll('[data-menu=\"sidebar\"] li a'),
  822.                                 hoverClass = 'peek',
  823.                                 timeOutID;
  824.                             // uses touchend event to add special class for touch devices
  825.                             function setHoverState(e) {
  826.                                 if (Modernizr.mq('(min-width: 480px)')) {
  827.                                     var hasHoverState = this.classList.contains(hoverClass),
  828.                                         me = this;
  829.                                     [].forEach.call(navigation, function (el) {
  830.                                         el.classList.remove(hoverClass);
  831.                                     });
  832.                                     switch (e.type) {
  833.                                         case 'touchend':
  834.                                             if (!hasHoverState) {
  835.                                                 clearTimeout(timeOutID);
  836.                                                 setTimeout(function () {
  837.                                                     me.classList.remove(hoverClass);
  838.                                                 }, 2000)
  839.                                                 // e.preventDefault();
  840.                                             }
  841.                                             break;
  842.                                         case 'mouseleave':
  843.                                             return false;
  844.                                             break;
  845.                                     }
  846.                                     me.classList.add(hoverClass);
  847.                                 }
  848.                             }
  849.                             [].forEach.call(navigation, function (el) {
  850.                                 // touch device handling to open dropdown
  851.                                 el.addEventListener('touchend', function (e) {
  852.                                     setHoverState.call(this, e);
  853.                                 }, false);
  854.                                 // mouse handling of off canvas menu items to mimic touch handling
  855.                                 el.addEventListener('mouseenter', function (e) {
  856.                                     setHoverState.call(this, e);
  857.                                 }, false);
  858.                                 el.addEventListener('mouseleave', function (e) {
  859.                                     setHoverState.call(this, e);
  860.                                 }, false);
  861.                             });
  862.                         }
  863.                     }
  864.                 }());
  865.             </script>
  866.         </aside>
  867.         <main class=\"sidebar-offset gradient-page {{ document.getProperty('home') ? 'home' : '' }}\">
  868.             {{ include('includes/side-navigation/menue.html.twig') }}
  869.             {{ include('includes/side-navigation/navigation.html.twig') }}
  870.             <div class=\"main-wrapper-js\">
  871.                 {% if not editmode %}
  872.                     {{ block('content') }}
  873.                 {% endif %}
  874.             </div>
  875.             <div class=\"footer-wrapper-js\">
  876.                 {# <?php
  877.                 /* Footer-Snippets +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
  878.                 echo \$this->action(\"footer\", \"Footer\", \"AppBundle\", []);
  879.                 echo PHP_EOL;
  880.                 ?> #}
  881.                 {#{ include('footer/footer.html.twig') } #}
  882.                 {{ render(controller(
  883.                     'App\\\\Controller\\\\FooterController::footerAction', {max: 3}
  884.                 )) }}
  885.             </div>
  886.         </main>
  887.     </div>
  888.     <!-- Page Tab element  -->
  889.     {% if pimcore_checkbox('buttonSeitenrandRechts').isChecked() and pimcore_link('buttonSeitenrandRechts_link').isEmpty() == false %}
  890.         {% set button_target = pimcore_link('buttonSeitenrandRechts_link').getTarget() %}
  891.         {%  set target = (button_target != '') ? button_target : '_self' %}
  892.         {%  set buttonclass = (pimcore_device(\"phone\") == 'phone') ? 'onlinebuchen-p' : 'onlinebuchen-d' %}
  893.         <div class=\"sidetab centered-flex font-light theme-color-bg {{ buttonclass }}\">
  894.             <a class=\"no-underline\" href=\"{{pimcore_link('buttonSeitenrandRechts_link').getHref() }}\" target=\"{{ target }}\">
  895.                 {{ pimcore_textarea(\"buttonSeitenrandRechts_text\",{\"nl2br\": true,}) }}
  896.             </a>
  897.         </div>
  898.         {% if document.getProperty('sidetab_shop') %}
  899.             <div class=\"sidetab shops centered-flex font-light {{ buttonclass }}\" data-theme=\"shops\">
  900.                 <a class=\"no-underline\" href=\"{{ pimcore_input(\"href_shop\") }}\" target=\"_blank\" >
  901.                     {{ 'label_shop'|trans }}
  902.                 </a>
  903.             </div>
  904.         {% endif %}
  905.     {% endif %}
  906. </div> <!-- ende data-theme -->
  907. {{ include('includes/frontend-fuss.html.twig') }}
  908. {% set incTemplates = show_includes() %}
  909. {% endif %}
  910. </body>
  911. </html>
  912. ""layout.html.twig""/var/www/vhosts/jumpalionenbabaloo.at/httpdocs/templates/layout.html.twig");
  913.     }
  914.     
  915.     public function checkSecurity()
  916.     {
  917.         static $tags = array("if" => 7"do" => 9"block" => 17"set" => 31);
  918.         static $filters = array("escape" => 2"raw" => 94"trans" => 348);
  919.         static $functions = array("pimcore_head_title" => 9"pimcore_head_meta" => 13"codevorendehead_allgemein" => 94"codenachanfangbody_allgemein" => 139"pimcore_image" => 143"include" => 200"render" => 325"controller" => 325"pimcore_checkbox" => 335"pimcore_link" => 335"pimcore_device" => 339"pimcore_textarea" => 342"pimcore_input" => 347"show_includes" => 359"pimcore_placeholder" => 21"pimcore_head_link" => 28);
  920.         try {
  921.             $this->sandbox->checkSecurity(
  922.                 ['if''do''block''set'],
  923.                 ['escape''raw''trans'],
  924.                 ['pimcore_head_title''pimcore_head_meta''codevorendehead_allgemein''codenachanfangbody_allgemein''pimcore_image''include''render''controller''pimcore_checkbox''pimcore_link''pimcore_device''pimcore_textarea''pimcore_input''show_includes''pimcore_placeholder''pimcore_head_link']
  925.             );
  926.         } catch (SecurityError $e) {
  927.             $e->setSourceContext($this->source);
  928.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  929.                 $e->setTemplateLine($tags[$e->getTagName()]);
  930.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  931.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  932.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  933.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  934.             }
  935.             throw $e;
  936.         }
  937.     }
  938.     private $deferred;
  939. }