var/cache/dev/twig/5e/5e36b977d13634d2c288995b08f730e76186cac7333e0e6fe71143230d503b4a.php line 33

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. /* bonuswelten.html.twig */
  14. class __TwigTemplate_7762cb033e6c9a2f7fee4c2172077f9e48e257ecc563064f2ce60c81bf9783ef 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.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""bonuswelten.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""bonuswelten.html.twig"));
  33.         // line 1
  34.         echo "<!DOCTYPE html>
  35. <html xmlns=\"//www.w3.org/1999/xhtml\" lang=\"";
  36.         // line 2
  37.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse2), "locale", [], "any"falsefalsefalse2), "html"nulltrue);
  38.         echo "\" xml:lang=\"";
  39.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse2), "locale", [], "any"falsefalsefalse2), "html"nulltrue);
  40.         echo "\">
  41. <head>
  42.     <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>
  43.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>
  44.     <!-- Font Awesome lokalisiert WBR 06.10.2022 -->
  45.     <link rel=\"stylesheet\" href=\"";
  46.         // line 8
  47.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/fonts/fontawesome-pro-6.3.0-web/css/all.min.css"), "html"nulltrue);
  48.         echo "\"/>
  49.     ";
  50.         // line 10
  51.         ob_start();
  52.         // line 11
  53.         echo "        ";
  54.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/dist/style.css"), => "screen"], "method"falsefalsefalse11);
  55.         // line 12
  56.         echo "
  57.         ";
  58.         // line 13
  59.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/dist/index.js")], "method"falsefalsefalse13);
  60.         // line 14
  61.         echo "        ";
  62.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'14$this->source); })())) {
  63.             // line 15
  64.             echo "            ";
  65.             // line 16
  66.             echo "        ";
  67.         }
  68.         // line 17
  69.         echo "
  70.         ";
  71.         // line 18
  72.         if (( !array_key_exists("document"$context) ||  !(isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'18$this->source); })()))) {
  73.             // line 19
  74.             echo "            ";
  75.             $context["document"] = Pimcore\Model\Document::getById(1);
  76.             // line 20
  77.             echo "        ";
  78.         }
  79.         // line 21
  80.         echo "
  81.         ";
  82.         // line 22
  83.         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.'22$this->source); })()), "\\Pimcore\\Model\\Document\\Link")) {
  84.             // line 23
  85.             echo "            ";
  86.             $context["document"] = 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.'23$this->source); })()), "getObject", [], "method"falsefalsefalse23);
  87.             // line 24
  88.             echo "        ";
  89.         }
  90.         // line 25
  91.         echo "
  92.         ";
  93.         // line 26
  94.         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.'26$this->source); })()), "getTitle", [], "method"falsefalsefalse26))) {
  95.             // line 27
  96.             echo "            ";
  97.             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.'27$this->source); })()), "getTitle", [], "method"falsefalsefalse27)], "method"falsefalsefalse27);
  98.             // line 28
  99.             echo "        ";
  100.         }
  101.         // line 29
  102.         echo "
  103.         ";
  104.         // line 30
  105.         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.'30$this->source); })()), "getDescription", [], "method"falsefalsefalse30))) {
  106.             // line 31
  107.             echo "            ";
  108.             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.'31$this->source); })()), "getDescription", [], "method"falsefalsefalse31)], "method"falsefalsefalse31);
  109.             // line 32
  110.             echo "        ";
  111.         }
  112.         // line 33
  113.         echo "
  114.         ";
  115.         // line 34
  116.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_title')->getCallable()(), "prepend", [=> "Stadtwerke Herne"], "method"falsefalsefalse34);
  117.         // line 35
  118.         echo "        ";
  119.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_title')->getCallable()(), "setSeparator", [=> " :: "], "method"falsefalsefalse35);
  120.         // line 36
  121.         echo "
  122.         ";
  123.         // line 38
  124.         echo "        ";
  125.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", [=> "og:title"=> $this->env->getFunction('pimcore_head_title')->getCallable()()], "method"falsefalsefalse38);
  126.         // line 39
  127.         echo "        ";
  128.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", [=> "og:type"=> "document"], "method"falsefalsefalse39);
  129.         // line 40
  130.         echo "    ";
  131.         $___internal_parse_0_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  132.         // line 10
  133.         echo twig_spaceless($___internal_parse_0_);
  134.         // line 41
  135.         echo "
  136.     ";
  137.         // line 42
  138.         echo $this->env->getFunction('pimcore_head_meta')->getCallable()();
  139.         echo "
  140.     <meta name=\"msapplication-TileColor\" content=\"#e3000f\"/>
  141.     <meta name=\"theme-color\" content=\"#ffffff\"/>
  142.     ";
  143.         // line 47
  144.         echo $this->env->getFunction('pimcore_head_title')->getCallable()();
  145.         echo "
  146.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/favicons/apple-touch-icon.png\"/>
  147.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicons/favicon-32x32.png\"/>
  148.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicons/favicon-16x16.png\"/>
  149.     <link rel=\"manifest\" href=\"/favicons/site.webmanifest\"/>
  150.     <link rel=\"mask-icon\" href=\"/favicons/safari-pinned-tab.svg\" color=\"#e3000f\"/>
  151.     <link rel=\"stylesheet\" href=\"";
  152.         // line 54
  153.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/dist/style.css"), "html"nulltrue);
  154.         echo "\"/>
  155.     <link rel=\"stylesheet\" href=\"";
  156.         // line 55
  157.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/css/stwh_icons.css"), "html"nulltrue);
  158.         echo "\"/>
  159.     ";
  160.         // line 56
  161.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'56$this->source); })())) {
  162.             // line 57
  163.             echo "        <link rel=\"stylesheet\" href=\"";
  164.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/css/editmode.css"), "html"nulltrue);
  165.             echo "\"/>
  166.     ";
  167.         }
  168.         // line 59
  169.         echo "
  170.     <script type=\"text/javascript\" defer src=\"";
  171.         // line 60
  172.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/dist/index.js"), "html"nulltrue);
  173.         echo "\"></script>
  174.     <script type=\"text/javascript\" defer src=\"";
  175.         // line 61
  176.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/dist/bonuswelten.js"), "html"nulltrue);
  177.         echo "\"></script>
  178.     <style>[x-cloak] {
  179.             display: none !important;
  180.         }</style>
  181. </head>
  182. <body>
  183. <div class=\"relative\">
  184.     <!-- START Hauptmenü -->
  185.     ";
  186.         // line 72
  187.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'72$this->source); })())) {
  188.             // line 73
  189.             echo "        ";
  190.             $this->loadTemplate("includes/header.html.twig""bonuswelten.html.twig"73)->display($context);
  191.             // line 74
  192.             echo "    ";
  193.         }
  194.         // line 75
  195.         echo "    <!-- ENDE Hauptmenü -->
  196.     <!-- START Areas -->
  197.     <main role=\"main\" class=\"bg-gray-100\">
  198.         <div class=\"container mx-auto\">
  199.             <div id=\"bonuswelten-component\"></div>
  200.         </div>
  201.     </main>
  202.     <!-- ENDE Areas -->
  203.     <!-- START Footer -->
  204.     ";
  205.         // line 88
  206.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'88$this->source); })())) {
  207.             // line 89
  208.             echo "        ";
  209.             echo $this->env->getFunction('pimcore_inc')->getCallable()("/includes/footer");
  210.             echo "
  211.     ";
  212.         }
  213.         // line 91
  214.         echo "    <!-- ENDE Footer -->
  215.     <!-- START Modals -->
  216.     ";
  217.         // line 94
  218.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'94$this->source); })())) {
  219.             // line 95
  220.             echo "        ";
  221.             echo $this->env->getFunction('pimcore_inc')->getCallable()("/includes/modals");
  222.             echo "
  223.     ";
  224.         }
  225.         // line 97
  226.         echo "    <!-- ENDE Modals -->
  227. </div>
  228. </body>
  229. </html>
  230. ";
  231.         
  232.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  233.         
  234.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  235.     }
  236.     public function getTemplateName()
  237.     {
  238.         return "bonuswelten.html.twig";
  239.     }
  240.     public function isTraitable()
  241.     {
  242.         return false;
  243.     }
  244.     public function getDebugInfo()
  245.     {
  246.         return array (  248 => 97,  242 => 95,  240 => 94,  235 => 91,  229 => 89,  227 => 88,  212 => 75,  209 => 74,  206 => 73,  204 => 72,  190 => 61,  186 => 60,  183 => 59,  177 => 57,  175 => 56,  171 => 55,  167 => 54,  157 => 47,  149 => 42,  146 => 41,  144 => 10,  141 => 40,  138 => 39,  135 => 38,  132 => 36,  129 => 35,  127 => 34,  124 => 33,  121 => 32,  118 => 31,  116 => 30,  113 => 29,  110 => 28,  107 => 27,  105 => 26,  102 => 25,  99 => 24,  96 => 23,  94 => 22,  91 => 21,  88 => 20,  85 => 19,  83 => 18,  80 => 17,  77 => 16,  75 => 15,  72 => 14,  70 => 13,  67 => 12,  64 => 11,  62 => 10,  57 => 8,  46 => 2,  43 => 1,);
  247.     }
  248.     public function getSourceContext()
  249.     {
  250.         return new Source("<!DOCTYPE html>
  251. <html xmlns=\"//www.w3.org/1999/xhtml\" lang=\"{{ app.request.locale }}\" xml:lang=\"{{ app.request.locale }}\">
  252. <head>
  253.     <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>
  254.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>
  255.     <!-- Font Awesome lokalisiert WBR 06.10.2022 -->
  256.     <link rel=\"stylesheet\" href=\"{{ asset('/static/fonts/fontawesome-pro-6.3.0-web/css/all.min.css') }}\"/>
  257.     {% apply spaceless %}
  258.         {% do pimcore_head_link().appendStylesheet(asset('/dist/style.css'), 'screen') %}
  259.         {% do pimcore_head_script().appendFile(asset('/dist/index.js')) %}
  260.         {% if not editmode %}
  261.             {# % do pimcore_head_script().appendFile(asset('static/js/frontend.js')) % #}
  262.         {% endif %}
  263.         {% if not document is defined or not document %}
  264.             {% set document = pimcore_document(1) %}
  265.         {% endif %}
  266.         {% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Link') %}
  267.             {% set document = document.getObject() %}
  268.         {% endif %}
  269.         {% if document.getTitle() is not empty %}
  270.             {% do pimcore_head_title().set(document.getTitle()) %}
  271.         {% endif %}
  272.         {% if document.getDescription() is not empty %}
  273.             {% do pimcore_head_meta().setDescription(document.getDescription()) %}
  274.         {% endif %}
  275.         {% do pimcore_head_title().prepend('Stadtwerke Herne') %}
  276.         {% do pimcore_head_title().setSeparator(' :: ') %}
  277.         {# setting open graph tags #}
  278.         {% do pimcore_head_meta().setProperty('og:title', pimcore_head_title()) %}
  279.         {% do pimcore_head_meta().setProperty('og:type', 'document') %}
  280.     {% endapply %}
  281.     {{ pimcore_head_meta() }}
  282.     <meta name=\"msapplication-TileColor\" content=\"#e3000f\"/>
  283.     <meta name=\"theme-color\" content=\"#ffffff\"/>
  284.     {{ pimcore_head_title() }}
  285.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/favicons/apple-touch-icon.png\"/>
  286.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicons/favicon-32x32.png\"/>
  287.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicons/favicon-16x16.png\"/>
  288.     <link rel=\"manifest\" href=\"/favicons/site.webmanifest\"/>
  289.     <link rel=\"mask-icon\" href=\"/favicons/safari-pinned-tab.svg\" color=\"#e3000f\"/>
  290.     <link rel=\"stylesheet\" href=\"{{ asset('/dist/style.css') }}\"/>
  291.     <link rel=\"stylesheet\" href=\"{{ asset('/static/css/stwh_icons.css') }}\"/>
  292.     {% if editmode %}
  293.         <link rel=\"stylesheet\" href=\"{{ asset('/static/css/editmode.css') }}\"/>
  294.     {% endif %}
  295.     <script type=\"text/javascript\" defer src=\"{{ asset('/dist/index.js') }}\"></script>
  296.     <script type=\"text/javascript\" defer src=\"{{ asset('/dist/bonuswelten.js') }}\"></script>
  297.     <style>[x-cloak] {
  298.             display: none !important;
  299.         }</style>
  300. </head>
  301. <body>
  302. <div class=\"relative\">
  303.     <!-- START Hauptmenü -->
  304.     {% if not editmode %}
  305.         {% include 'includes/header.html.twig' %}
  306.     {% endif %}
  307.     <!-- ENDE Hauptmenü -->
  308.     <!-- START Areas -->
  309.     <main role=\"main\" class=\"bg-gray-100\">
  310.         <div class=\"container mx-auto\">
  311.             <div id=\"bonuswelten-component\"></div>
  312.         </div>
  313.     </main>
  314.     <!-- ENDE Areas -->
  315.     <!-- START Footer -->
  316.     {% if not editmode %}
  317.         {{ pimcore_inc('/includes/footer') }}
  318.     {% endif %}
  319.     <!-- ENDE Footer -->
  320.     <!-- START Modals -->
  321.     {% if not editmode %}
  322.         {{ pimcore_inc('/includes/modals') }}
  323.     {% endif %}
  324.     <!-- ENDE Modals -->
  325. </div>
  326. </body>
  327. </html>
  328. ""bonuswelten.html.twig""/home/forge/staging.stadtwerke-herne.standpunkt-hosting.de/templates/bonuswelten.html.twig");
  329.     }
  330. }