var/cache/dev_h00fd8923ecf393ec0b25403e00167bec/twig/40/40de7869306dbccb08d908157e4a2836cd70e61ce380484cb6f5f816169e833b.php line 67

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_ca6645980125816e7ee2766e6b7b1634 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.             adminEsEnable: ";
  172.         // line 85
  173.         echo ((($context["adminEsEnable"] ?? null)) ? ("true") : ("false"));
  174.         echo "
  175.         }
  176.     });
  177. </script>
  178. </body>
  179. </html>
  180. ";
  181.         
  182.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  183.         
  184.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  185.     }
  186.     // line 10
  187.     public function block_administration_favicons($context, array $blocks = [])
  188.     {
  189.         $macros $this->macros;
  190.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  191.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""administration_favicons"));
  192.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  193.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""administration_favicons"));
  194.         // line 11
  195.         echo "        <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"";
  196.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/img/favicon/apple-touch-icon.png""@Administration"), "html"nulltrue);
  197.         echo "\">
  198.         <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"";
  199.         // line 12
  200.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/img/favicon/favicon-16x16.png""@Administration"), "html"nulltrue);
  201.         echo "\">
  202.         <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
  203.         // line 13
  204.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/img/favicon/favicon-32x32.png""@Administration"), "html"nulltrue);
  205.         echo "\" id=\"dynamic-favicon\">
  206.         <link rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"";
  207.         // line 14
  208.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/img/favicon/android-chrome-192x192.png""@Administration"), "html"nulltrue);
  209.         echo "\">
  210.         <link rel=\"icon\" type=\"image/png\" sizes=\"256x256\" href=\"";
  211.         // line 15
  212.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/img/favicon/android-chrome-256x256.png""@Administration"), "html"nulltrue);
  213.         echo "\">
  214.         <meta name=\"msapplication-TileImage\" content=\"";
  215.         // line 16
  216.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/img/favicon/mstile-150x150.png""@Administration"), "html"nulltrue);
  217.         echo "\">
  218.         <meta name=\"msapplication-TileColor\" content=\"#189eff\">
  219.         <meta name=\"theme-color\" content=\"#189eff\">
  220.         <meta name=\"referrer\" content=\"always\">
  221.     ";
  222.         
  223.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  224.         
  225.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  226.     }
  227.     // line 34
  228.     public function block_administration_templates($context, array $blocks = [])
  229.     {
  230.         $macros $this->macros;
  231.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  232.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""administration_templates"));
  233.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  234.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""administration_templates"));
  235.         
  236.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  237.         
  238.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  239.     }
  240.     public function getTemplateName()
  241.     {
  242.         return "@Administration/administration/index.html.twig";
  243.     }
  244.     public function isTraitable()
  245.     {
  246.         return false;
  247.     }
  248.     public function getDebugInfo()
  249.     {
  250.         return array (  250 => 34,  235 => 16,  231 => 15,  227 => 14,  223 => 13,  219 => 12,  214 => 11,  204 => 10,  186 => 85,  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,);
  251.     }
  252.     public function getSourceContext()
  253.     {
  254.         return new Source("<!DOCTYPE html>
  255. <html>
  256. <head>
  257.     <meta charset=\"utf-8\">
  258.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  259.     <title>
  260.         Shopware Administration (c) shopware AG
  261.     </title>
  262.     {% block administration_favicons %}
  263.         <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"{{ asset('static/img/favicon/apple-touch-icon.png', '@Administration') }}\">
  264.         <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{ asset('static/img/favicon/favicon-16x16.png', '@Administration') }}\">
  265.         <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ asset('static/img/favicon/favicon-32x32.png', '@Administration') }}\" id=\"dynamic-favicon\">
  266.         <link rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"{{ asset('static/img/favicon/android-chrome-192x192.png', '@Administration') }}\">
  267.         <link rel=\"icon\" type=\"image/png\" sizes=\"256x256\" href=\"{{ asset('static/img/favicon/android-chrome-256x256.png', '@Administration') }}\">
  268.         <meta name=\"msapplication-TileImage\" content=\"{{ asset('static/img/favicon/mstile-150x150.png', '@Administration') }}\">
  269.         <meta name=\"msapplication-TileColor\" content=\"#189eff\">
  270.         <meta name=\"theme-color\" content=\"#189eff\">
  271.         <meta name=\"referrer\" content=\"always\">
  272.     {% endblock %}
  273.     <script nonce=\"{{ cspNonce }}\" type=\"text/javascript\">
  274.         window._features_ = {{ features|json_encode|raw }};
  275.     </script>
  276.     <link rel=\"stylesheet\" href=\"{{ asset('static/css/vendors-node.css', '@Administration') }}\">
  277.     <link rel=\"stylesheet\" href=\"{{ asset('static/css/app.css', '@Administration') }}\">
  278. </head>
  279. <body>
  280. <div id=\"app\"></div>
  281. {% block administration_templates %}{% endblock %}
  282. <script nonce=\"{{ cspNonce }}\" src=\"{{ asset('static/js/runtime.js', '@Administration') }}\"></script>
  283. <script nonce=\"{{ cspNonce }}\" src=\"{{ asset('static/js/vendors-node.js', '@Administration') }}\"></script>
  284. <script nonce=\"{{ cspNonce }}\" src=\"{{ asset('static/js/commons.js', '@Administration') }}\"></script>
  285. <script nonce=\"{{ cspNonce }}\" src=\"{{ asset('static/js/app.js', '@Administration') }}\"></script>
  286. <script nonce=\"{{ cspNonce }}\">
  287.     {#
  288.         root-level domain configuration
  289.         host:               shopware.next
  290.         port:               80
  291.         scheme:             http
  292.         schemeAndHttpHost:  http://shopware.next
  293.         uri:                http://shopware.next/admin
  294.         basePath:
  295.         pathInfo:           /admin
  296.         -----------------------------------------------
  297.         sub-folder domain configuration
  298.         host:               localhost
  299.         port:               80
  300.         scheme:             http
  301.         schemeAndHttpHost:  http://localhost
  302.         uri:                http://localhost/next/web/admin
  303.         basePath:           /next/web
  304.         pathInfo:           /admin
  305.     #}
  306.     Shopware.Application.start({
  307.         apiContext: {
  308.             host: '{{ app.request.host }}',
  309.             port: {{ app.request.port }},
  310.             scheme: '{{ app.request.scheme }}',
  311.             schemeAndHttpHost: '{{ app.request.schemeAndHttpHost }}',
  312.             uri: '{{ app.request.uri }}',
  313.             basePath: '{{ app.request.basePath }}',
  314.             pathInfo: '{{ app.request.pathInfo }}',
  315.             liveVersionId: '{{ liveVersionId }}',
  316.             systemLanguageId: '{{ systemLanguageId }}',
  317.             apiVersion: {{ apiVersion }},
  318.             assetPath: '{{ asset('', 'asset') }}'
  319.         },
  320.         appContext: {
  321.             features: window._features_,
  322.             firstRunWizard: {{ firstRunWizard ? 'true' : 'false' }},
  323.             systemCurrencyId: '{{ systemCurrencyId }}',
  324.             systemCurrencyISOCode: '{{ systemCurrencyISOCode }}',
  325.             disableExtensions: {{ disableExtensions ? 'true' : 'false' }},
  326.             adminEsEnable: {{ adminEsEnable ? 'true' : 'false' }}
  327.         }
  328.     });
  329. </script>
  330. </body>
  331. </html>
  332. ""@Administration/administration/index.html.twig""/var/www/shopware6/vendor/shopware/administration/Resources/views/administration/index.html.twig");
  333.     }
  334. }