var/cache/dev_h00a6008ac8d83daed65bb1b250bc45b1/twig/14/141bc85c72fac5654b98c21068481bcca8a4d97adc2ebbfb0b913728eb3ec7b2.php line 37

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @Administration/administration/index.html.twig */
  16. class __TwigTemplate_64b56381e75ea87f3a85aeac7f2923db extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->parent false;
  25.         $this->blocks = [
  26.             'administration_favicons' => [$this'block_administration_favicons'],
  27.             'administration_templates' => [$this'block_administration_templates'],
  28.         ];
  29.     }
  30.     protected function doDisplay(array $context, array $blocks = [])
  31.     {
  32.         $macros $this->macros;
  33.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Administration/administration/index.html.twig"));
  35.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Administration/administration/index.html.twig"));
  37.         // line 1
  38.         echo "<!DOCTYPE html>
  39. <html>
  40. <head>
  41.     <meta charset=\"utf-8\">
  42.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  43.     <title>
  44.         Shopware Administration (c) shopware AG
  45.     </title>
  46.     ";
  47.         // line 10
  48.         $this->displayBlock('administration_favicons'$context$blocks);
  49.         // line 21
  50.         echo "
  51.     <script nonce=\"";
  52.         // line 22
  53.         echo sw_escape_filter($this->env, ($context["cspNonce"] ?? null), "html"nulltrue);
  54.         echo "\" type=\"text/javascript\">
  55.         window._features_ = ";
  56.         // line 23
  57.         echo $this->env->getFilter('json_encode')->getCallable()(($context["features"] ?? null));
  58.         echo ";
  59.     </script>
  60.     <link rel=\"stylesheet\" href=\"";
  61.         // line 26
  62.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/vendors-node.css""@Administration"), "html"nulltrue);
  63.         echo "\">
  64.     <link rel=\"stylesheet\" href=\"";
  65.         // line 27
  66.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/app.css""@Administration"), "html"nulltrue);
  67.         echo "\">
  68. </head>
  69. <body>
  70. <div id=\"app\"></div>
  71. ";
  72.         // line 34
  73.         $this->displayBlock('administration_templates'$context$blocks);
  74.         // line 35
  75.         echo "
  76. <script nonce=\"";
  77.         // line 36
  78.         echo sw_escape_filter($this->env, ($context["cspNonce"] ?? null), "html"nulltrue);
  79.         echo "\" src=\"";
  80.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/runtime.js""@Administration"), "html"nulltrue);
  81.         echo "\"></script>
  82. <script nonce=\"";
  83.         // line 37
  84.         echo sw_escape_filter($this->env, ($context["cspNonce"] ?? null), "html"nulltrue);
  85.         echo "\" src=\"";
  86.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/vendors-node.js""@Administration"), "html"nulltrue);
  87.         echo "\"></script>
  88. <script nonce=\"";
  89.         // line 38
  90.         echo sw_escape_filter($this->env, ($context["cspNonce"] ?? null), "html"nulltrue);
  91.         echo "\" src=\"";
  92.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/commons.js""@Administration"), "html"nulltrue);
  93.         echo "\"></script>
  94. <script nonce=\"";
  95.         // line 39
  96.         echo sw_escape_filter($this->env, ($context["cspNonce"] ?? null), "html"nulltrue);
  97.         echo "\" src=\"";
  98.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/app.js""@Administration"), "html"nulltrue);
  99.         echo "\"></script>
  100. <script nonce=\"";
  101.         // line 41
  102.         echo sw_escape_filter($this->env, ($context["cspNonce"] ?? null), "html"nulltrue);
  103.         echo "\">
  104.     ";
  105.         // line 65
  106.         echo "    Shopware.Application.start({
  107.         apiContext: {
  108.             host: '";
  109.         // line 67
  110.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse67), "host", [], "any"falsefalsefalse67), "html"nulltrue);
  111.         echo "',
  112.             port: ";
  113.         // line 68
  114.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse68), "port", [], "any"falsefalsefalse68), "html"nulltrue);
  115.         echo ",
  116.             scheme: '";
  117.         // line 69
  118.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse69), "scheme", [], "any"falsefalsefalse69), "html"nulltrue);
  119.         echo "',
  120.             schemeAndHttpHost: '";
  121.         // line 70
  122.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse70), "schemeAndHttpHost", [], "any"falsefalsefalse70), "html"nulltrue);
  123.         echo "',
  124.             uri: '";
  125.         // line 71
  126.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse71), "uri", [], "any"falsefalsefalse71), "html"nulltrue);
  127.         echo "',
  128.             basePath: '";
  129.         // line 72
  130.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse72), "basePath", [], "any"falsefalsefalse72), "html"nulltrue);
  131.         echo "',
  132.             pathInfo: '";
  133.         // line 73
  134.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse73), "pathInfo", [], "any"falsefalsefalse73), "html"nulltrue);
  135.         echo "',
  136.             liveVersionId: '";
  137.         // line 74
  138.         echo sw_escape_filter($this->env, ($context["liveVersionId"] ?? null), "html"nulltrue);
  139.         echo "',
  140.             systemLanguageId: '";
  141.         // line 75
  142.         echo sw_escape_filter($this->env, ($context["systemLanguageId"] ?? null), "html"nulltrue);
  143.         echo "',
  144.             apiVersion: ";
  145.         // line 76
  146.         echo sw_escape_filter($this->env, ($context["apiVersion"] ?? null), "html"nulltrue);
  147.         echo ",
  148.             assetPath: '";
  149.         // line 77
  150.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("""asset"), "html"nulltrue);
  151.         echo "'
  152.         },
  153.         appContext: {
  154.             features: window._features_,
  155.             firstRunWizard: ";
  156.         // line 81
  157.         echo ((($context["firstRunWizard"] ?? null)) ? ("true") : ("false"));
  158.         echo ",
  159.             systemCurrencyId: '";
  160.         // line 82
  161.         echo sw_escape_filter($this->env, ($context["systemCurrencyId"] ?? null), "html"nulltrue);
  162.         echo "',
  163.             systemCurrencyISOCode: '";
  164.         // line 83
  165.         echo sw_escape_filter($this->env, ($context["systemCurrencyISOCode"] ?? null), "html"nulltrue);
  166.         echo "',
  167.             disableExtensions: ";
  168.         // line 84
  169.         echo ((($context["disableExtensions"] ?? null)) ? ("true") : ("false"));
  170.         echo "
  171.         }
  172.     });
  173. </script>
  174. </body>
  175. </html>
  176. ";
  177.         
  178.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  179.         
  180.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  181.     }
  182.     // line 10
  183.     public function block_administration_favicons($context, array $blocks = [])
  184.     {
  185.         $macros $this->macros;
  186.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  187.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""administration_favicons"));
  188.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  189.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""administration_favicons"));
  190.         // line 11
  191.         echo "        <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"";
  192.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/img/favicon/apple-touch-icon.png""@Administration"), "html"nulltrue);
  193.         echo "\">
  194.         <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"";
  195.         // line 12
  196.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/img/favicon/favicon-16x16.png""@Administration"), "html"nulltrue);
  197.         echo "\">
  198.         <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
  199.         // line 13
  200.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/img/favicon/favicon-32x32.png""@Administration"), "html"nulltrue);
  201.         echo "\" id=\"dynamic-favicon\">
  202.         <link rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"";
  203.         // line 14
  204.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/img/favicon/android-chrome-192x192.png""@Administration"), "html"nulltrue);
  205.         echo "\">
  206.         <link rel=\"icon\" type=\"image/png\" sizes=\"256x256\" href=\"";
  207.         // line 15
  208.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/img/favicon/android-chrome-256x256.png""@Administration"), "html"nulltrue);
  209.         echo "\">
  210.         <meta name=\"msapplication-TileImage\" content=\"";
  211.         // line 16
  212.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/img/favicon/mstile-150x150.png""@Administration"), "html"nulltrue);
  213.         echo "\">
  214.         <meta name=\"msapplication-TileColor\" content=\"#189eff\">
  215.         <meta name=\"theme-color\" content=\"#189eff\">
  216.         <meta name=\"referrer\" content=\"always\">
  217.     ";
  218.         
  219.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  220.         
  221.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  222.     }
  223.     // line 34
  224.     public function block_administration_templates($context, array $blocks = [])
  225.     {
  226.         $macros $this->macros;
  227.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  228.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""administration_templates"));
  229.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  230.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""administration_templates"));
  231.         
  232.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  233.         
  234.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  235.     }
  236.     public function getTemplateName()
  237.     {
  238.         return "@Administration/administration/index.html.twig";
  239.     }
  240.     public function isTraitable()
  241.     {
  242.         return false;
  243.     }
  244.     public function getDebugInfo()
  245.     {
  246.         return array (  246 => 34,  231 => 16,  227 => 15,  223 => 14,  219 => 13,  215 => 12,  210 => 11,  200 => 10,  182 => 84,  178 => 83,  174 => 82,  170 => 81,  163 => 77,  159 => 76,  155 => 75,  151 => 74,  147 => 73,  143 => 72,  139 => 71,  135 => 70,  131 => 69,  127 => 68,  123 => 67,  119 => 65,  115 => 41,  108 => 39,  102 => 38,  96 => 37,  90 => 36,  87 => 35,  85 => 34,  75 => 27,  71 => 26,  65 => 23,  61 => 22,  58 => 21,  56 => 10,  45 => 1,);
  247.     }
  248.     public function getSourceContext()
  249.     {
  250.         return new Source("<!DOCTYPE html>
  251. <html>
  252. <head>
  253.     <meta charset=\"utf-8\">
  254.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  255.     <title>
  256.         Shopware Administration (c) shopware AG
  257.     </title>
  258.     {% block administration_favicons %}
  259.         <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"{{ asset('static/img/favicon/apple-touch-icon.png', '@Administration') }}\">
  260.         <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{ asset('static/img/favicon/favicon-16x16.png', '@Administration') }}\">
  261.         <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ asset('static/img/favicon/favicon-32x32.png', '@Administration') }}\" id=\"dynamic-favicon\">
  262.         <link rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"{{ asset('static/img/favicon/android-chrome-192x192.png', '@Administration') }}\">
  263.         <link rel=\"icon\" type=\"image/png\" sizes=\"256x256\" href=\"{{ asset('static/img/favicon/android-chrome-256x256.png', '@Administration') }}\">
  264.         <meta name=\"msapplication-TileImage\" content=\"{{ asset('static/img/favicon/mstile-150x150.png', '@Administration') }}\">
  265.         <meta name=\"msapplication-TileColor\" content=\"#189eff\">
  266.         <meta name=\"theme-color\" content=\"#189eff\">
  267.         <meta name=\"referrer\" content=\"always\">
  268.     {% endblock %}
  269.     <script nonce=\"{{ cspNonce }}\" type=\"text/javascript\">
  270.         window._features_ = {{ features|json_encode|raw }};
  271.     </script>
  272.     <link rel=\"stylesheet\" href=\"{{ asset('static/css/vendors-node.css', '@Administration') }}\">
  273.     <link rel=\"stylesheet\" href=\"{{ asset('static/css/app.css', '@Administration') }}\">
  274. </head>
  275. <body>
  276. <div id=\"app\"></div>
  277. {% block administration_templates %}{% endblock %}
  278. <script nonce=\"{{ cspNonce }}\" src=\"{{ asset('static/js/runtime.js', '@Administration') }}\"></script>
  279. <script nonce=\"{{ cspNonce }}\" src=\"{{ asset('static/js/vendors-node.js', '@Administration') }}\"></script>
  280. <script nonce=\"{{ cspNonce }}\" src=\"{{ asset('static/js/commons.js', '@Administration') }}\"></script>
  281. <script nonce=\"{{ cspNonce }}\" src=\"{{ asset('static/js/app.js', '@Administration') }}\"></script>
  282. <script nonce=\"{{ cspNonce }}\">
  283.     {#
  284.         root-level domain configuration
  285.         host:               shopware.next
  286.         port:               80
  287.         scheme:             http
  288.         schemeAndHttpHost:  http://shopware.next
  289.         uri:                http://shopware.next/admin
  290.         basePath:
  291.         pathInfo:           /admin
  292.         -----------------------------------------------
  293.         sub-folder domain configuration
  294.         host:               localhost
  295.         port:               80
  296.         scheme:             http
  297.         schemeAndHttpHost:  http://localhost
  298.         uri:                http://localhost/next/web/admin
  299.         basePath:           /next/web
  300.         pathInfo:           /admin
  301.     #}
  302.     Shopware.Application.start({
  303.         apiContext: {
  304.             host: '{{ app.request.host }}',
  305.             port: {{ app.request.port }},
  306.             scheme: '{{ app.request.scheme }}',
  307.             schemeAndHttpHost: '{{ app.request.schemeAndHttpHost }}',
  308.             uri: '{{ app.request.uri }}',
  309.             basePath: '{{ app.request.basePath }}',
  310.             pathInfo: '{{ app.request.pathInfo }}',
  311.             liveVersionId: '{{ liveVersionId }}',
  312.             systemLanguageId: '{{ systemLanguageId }}',
  313.             apiVersion: {{ apiVersion }},
  314.             assetPath: '{{ asset('', 'asset') }}'
  315.         },
  316.         appContext: {
  317.             features: window._features_,
  318.             firstRunWizard: {{ firstRunWizard ? 'true' : 'false' }},
  319.             systemCurrencyId: '{{ systemCurrencyId }}',
  320.             systemCurrencyISOCode: '{{ systemCurrencyISOCode }}',
  321.             disableExtensions: {{ disableExtensions ? 'true' : 'false' }}
  322.         }
  323.     });
  324. </script>
  325. </body>
  326. </html>
  327. ""@Administration/administration/index.html.twig""/var/www/dev.artecon.426.agency/vendor/shopware/administration/Resources/views/administration/index.html.twig");
  328.     }
  329. }