var/cache/dev/twig/ed/eddecc92a7741d44d97e4f3f5c565860e5b4181b2b884ec1094b3795a448914a.php line 40

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. /* JamelCmsBundle:bundles/KunstmaanAdminBundle/Default:layout.html.twig */
  14. class __TwigTemplate_424924ab7f1fe9940f188b4d5d01ae3dabacb4bd92ee2df9e4b5f70408c9480b extends \Twig\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->blocks = [
  23.             'footer' => [$this'block_footer'],
  24.             'extracss' => [$this'block_extracss'],
  25.             'extrajavascript' => [$this'block_extrajavascript'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "@!KunstmaanAdmin/Default/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""JamelCmsBundle:bundles/KunstmaanAdminBundle/Default:layout.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""JamelCmsBundle:bundles/KunstmaanAdminBundle/Default:layout.html.twig"));
  40.         $this->parent $this->loadTemplate("@!KunstmaanAdmin/Default/layout.html.twig""JamelCmsBundle:bundles/KunstmaanAdminBundle/Default:layout.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 2
  48.     public function block_footer($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  55.         // line 3
  56.         echo "    <footer role=\"contentinfo\" class=\"app__footer container-fluid\">
  57.         <a target=\"_blank\" rel=\"noopener\" href=\"https://jamel.pl\" class=\"pull-right\">
  58.             <img src=\"";
  59.         // line 5
  60.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/jamelcms/img/jamel_logo.svg"), "html"nulltrue);
  61.         echo "\" alt=\"Logo Jamel\" />
  62.         </a>
  63.     </footer>
  64. ";
  65.         
  66.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  67.         
  68.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  69.     }
  70.     // line 10
  71.     public function block_extracss($context, array $blocks = [])
  72.     {
  73.         $macros $this->macros;
  74.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  75.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""extracss"));
  76.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  77.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""extracss"));
  78.         // line 11
  79.         echo "    ";
  80.         $this->displayParentBlock("extracss"$context$blocks);
  81.         echo "
  82.     ";
  83.         // line 12
  84.         $this->loadTemplate("JamelCmsBundle::extraCss.html.twig""JamelCmsBundle:bundles/KunstmaanAdminBundle/Default:layout.html.twig"12)->display($context);
  85.         
  86.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  87.         
  88.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  89.     }
  90.     // line 15
  91.     public function block_extrajavascript($context, array $blocks = [])
  92.     {
  93.         $macros $this->macros;
  94.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  95.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""extrajavascript"));
  96.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  97.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""extrajavascript"));
  98.         // line 16
  99.         echo "    ";
  100.         $context["cmsAdminPath"] = "bundles/jamelcms/js/cms-bundle.min.js";
  101.         // line 17
  102.         echo "    ";
  103.         $context["cropperAdminPath"] = "bundles/jamelcropper/js/cropper-bundle.min.js";
  104.         // line 18
  105.         echo "
  106.     <script>
  107.         var scripts = [
  108.             ";
  109.         // line 21
  110.         if ($this->extensions['Kunstmaan\NodeBundle\Twig\NodeTwigExtension']->fileExists((isset($context["cmsAdminPath"]) || array_key_exists("cmsAdminPath"$context) ? $context["cmsAdminPath"] : (function () { throw new RuntimeError('Variable "cmsAdminPath" does not exist.'21$this->source); })()))) {
  111.             echo "'";
  112.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["cmsAdminPath"]) || array_key_exists("cmsAdminPath"$context) ? $context["cmsAdminPath"] : (function () { throw new RuntimeError('Variable "cmsAdminPath" does not exist.'21$this->source); })())), "html"nulltrue);
  113.             echo "',";
  114.         }
  115.         // line 22
  116.         echo "            ";
  117.         if ($this->extensions['Kunstmaan\NodeBundle\Twig\NodeTwigExtension']->fileExists((isset($context["cropperAdminPath"]) || array_key_exists("cropperAdminPath"$context) ? $context["cropperAdminPath"] : (function () { throw new RuntimeError('Variable "cropperAdminPath" does not exist.'22$this->source); })()))) {
  118.             echo "'";
  119.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["cropperAdminPath"]) || array_key_exists("cropperAdminPath"$context) ? $context["cropperAdminPath"] : (function () { throw new RuntimeError('Variable "cropperAdminPath" does not exist.'22$this->source); })())), "html"nulltrue);
  120.             echo "',";
  121.         }
  122.         // line 23
  123.         echo "        ];
  124.         scripts.forEach(function(src) {
  125.             var scriptEl = document.createElement('script');
  126.             scriptEl.src = src;
  127.             scriptEl.async = false;
  128.             document.head.appendChild(scriptEl);
  129.         });
  130.     </script>
  131. ";
  132.         
  133.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  134.         
  135.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  136.     }
  137.     public function getTemplateName()
  138.     {
  139.         return "JamelCmsBundle:bundles/KunstmaanAdminBundle/Default:layout.html.twig";
  140.     }
  141.     public function isTraitable()
  142.     {
  143.         return false;
  144.     }
  145.     public function getDebugInfo()
  146.     {
  147.         return array (  147 => 23,  140 => 22,  134 => 21,  129 => 18,  126 => 17,  123 => 16,  113 => 15,  103 => 12,  98 => 11,  88 => 10,  74 => 5,  70 => 3,  60 => 2,  37 => 1,);
  148.     }
  149.     public function getSourceContext()
  150.     {
  151.         return new Source("{% extends \"@!KunstmaanAdmin/Default/layout.html.twig\" %}
  152. {% block footer %}
  153.     <footer role=\"contentinfo\" class=\"app__footer container-fluid\">
  154.         <a target=\"_blank\" rel=\"noopener\" href=\"https://jamel.pl\" class=\"pull-right\">
  155.             <img src=\"{{ asset('/bundles/jamelcms/img/jamel_logo.svg') }}\" alt=\"Logo Jamel\" />
  156.         </a>
  157.     </footer>
  158. {% endblock %}
  159. {% block extracss %}
  160.     {{ parent() }}
  161.     {% include 'JamelCmsBundle::extraCss.html.twig' %}
  162. {% endblock %}
  163. {% block extrajavascript %}
  164.     {% set cmsAdminPath = 'bundles/jamelcms/js/cms-bundle.min.js' %}
  165.     {% set cropperAdminPath = 'bundles/jamelcropper/js/cropper-bundle.min.js' %}
  166.     <script>
  167.         var scripts = [
  168.             {% if file_exists(cmsAdminPath) %}'{{ asset(cmsAdminPath) }}',{% endif %}
  169.             {% if file_exists(cropperAdminPath) %}'{{ asset(cropperAdminPath) }}',{% endif %}
  170.         ];
  171.         scripts.forEach(function(src) {
  172.             var scriptEl = document.createElement('script');
  173.             scriptEl.src = src;
  174.             scriptEl.async = false;
  175.             document.head.appendChild(scriptEl);
  176.         });
  177.     </script>
  178. {% endblock %}
  179. ""JamelCmsBundle:bundles/KunstmaanAdminBundle/Default:layout.html.twig""/var/www/gcs/html/dev/vendor/jamel/cms-bundle/Resources/views/bundles/KunstmaanAdminBundle/Default/layout.html.twig");
  180.     }
  181. }