var/cache/dev/twig/eb/ebe3019b5f1671ff5a4465acda6615513cdf55a646e31191f2866a48f9ef3c71.php line 39

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. /* common/base.html.twig */
  14. class __TwigTemplate_353e84aff190109aaa901b417283d031110229b7f90bf7fe439ca8379ca3e27e 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.             'pageid' => [$this'block_pageid'],
  25.             'bodyClass' => [$this'block_bodyClass'],
  26.             'pageheadercontent' => [$this'block_pageheadercontent'],
  27.             'breadcrumbs' => [$this'block_breadcrumbs'],
  28.             'content' => [$this'block_content'],
  29.             'javascripts' => [$this'block_javascripts'],
  30.         ];
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""common/base.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""common/base.html.twig"));
  39.         // line 1
  40.         echo "<!DOCTYPE html>
  41. <html>
  42. <head>
  43.     ";
  44.         // line 4
  45.         echo twig_include($this->env$context"common/head.html.twig");
  46.         echo "
  47. </head>
  48.     ";
  49.         // line 6
  50.         if (((null === 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.'6$this->source); })()), "user", [], "any"falsefalsefalse6), "sidebar", [], "any"falsefalsefalse6)) || (=== twig_compare(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.'6$this->source); })()), "user", [], "any"falsefalsefalse6), "sidebar", [], "any"falsefalsefalse6), false)))) {
  51.             // line 7
  52.             echo "        ";
  53.             $context["sidebar"] = "";
  54.             // line 8
  55.             echo "    ";
  56.         } else {
  57.             // line 9
  58.             echo "        ";
  59.             $context["sidebar"] = "sidebar-xs";
  60.             // line 10
  61.             echo "    ";
  62.         }
  63.         // line 11
  64.         echo "<body id=\"";
  65.         $this->displayBlock('pageid'$context$blocks);
  66.         echo "\" class=\"";
  67.         echo twig_escape_filter($this->env, (isset($context["sidebar"]) || array_key_exists("sidebar"$context) ? $context["sidebar"] : (function () { throw new RuntimeError('Variable "sidebar" does not exist.'11$this->source); })()), "html"nulltrue);
  68.         echo " ";
  69.         $this->displayBlock('bodyClass'$context$blocks);
  70.         echo "\" >
  71. ";
  72.         // line 13
  73.         echo twig_include($this->env$context"common/navbar.html.twig");
  74.         echo "
  75. <!-- Page container -->
  76. <div class=\"page-container\">
  77.     <!-- Page content -->
  78.     <div class=\"page-content\">
  79.         ";
  80.         // line 21
  81.         echo twig_include($this->env$context"common/sidebar.html.twig");
  82.         echo "
  83.         <!-- Main content -->
  84.         <div class=\"content-wrapper\">
  85.             ";
  86.         // line 26
  87.         echo "
  88.             <!-- Page header -->
  89.             <div class=\"page-header page-header-default\">
  90.                 <div class=\"page-header-content\">
  91.                     ";
  92.         // line 30
  93.         $this->displayBlock('pageheadercontent'$context$blocks);
  94.         // line 31
  95.         echo "                </div>
  96.                 <div class=\"breadcrumb-line\">
  97.                     ";
  98.         // line 34
  99.         $this->displayBlock('breadcrumbs'$context$blocks);
  100.         // line 35
  101.         echo "                </div>
  102.             </div>
  103.             <!-- /page header -->
  104.             <!-- Content area -->
  105.             <div class=\"content\">
  106.                 ";
  107.         // line 41
  108.         $this->displayBlock('content'$context$blocks);
  109.         // line 42
  110.         echo "
  111.                 ";
  112.         // line 43
  113.         echo twig_include($this->env$context"common/footer.html.twig");
  114.         echo "
  115.             </div>
  116.             <!-- /content area -->
  117.         </div>
  118.         <!-- /main content -->
  119.     </div>
  120.     <!-- /page content -->
  121. </div>
  122. <!-- /page container -->
  123. ";
  124.         // line 52
  125.         $this->displayBlock('javascripts'$context$blocks);
  126.         // line 53
  127.         echo "
  128. ";
  129.         // line 55
  130.         echo "<script type=\"text/javascript\" src=\"";
  131.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/notifications/noty.min.js"), "html"nulltrue);
  132.         echo "\"></script>
  133. <script type=\"text/javascript\" src=\"";
  134.         // line 56
  135.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/base-scripts.js"), "html"nulltrue);
  136.         echo "\"></script>
  137. <script type=\"text/javascript\" src=\"";
  138.         // line 57
  139.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/base-ssupdate.js"), "html"nulltrue);
  140.         echo "\"></script>
  141. </body>";
  142.         
  143.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  144.         
  145.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  146.     }
  147.     // line 11
  148.     public function block_pageid($context, array $blocks = [])
  149.     {
  150.         $macros $this->macros;
  151.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  152.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageid"));
  153.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  154.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageid"));
  155.         
  156.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  157.         
  158.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  159.     }
  160.     public function block_bodyClass($context, array $blocks = [])
  161.     {
  162.         $macros $this->macros;
  163.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  164.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyClass"));
  165.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  166.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyClass"));
  167.         
  168.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  169.         
  170.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  171.     }
  172.     // line 30
  173.     public function block_pageheadercontent($context, array $blocks = [])
  174.     {
  175.         $macros $this->macros;
  176.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  177.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageheadercontent"));
  178.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  179.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageheadercontent"));
  180.         
  181.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  182.         
  183.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  184.     }
  185.     // line 34
  186.     public function block_breadcrumbs($context, array $blocks = [])
  187.     {
  188.         $macros $this->macros;
  189.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  190.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumbs"));
  191.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  192.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumbs"));
  193.         
  194.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  195.         
  196.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  197.     }
  198.     // line 41
  199.     public function block_content($context, array $blocks = [])
  200.     {
  201.         $macros $this->macros;
  202.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  203.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  204.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  205.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  206.         
  207.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  208.         
  209.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  210.     }
  211.     // line 52
  212.     public function block_javascripts($context, array $blocks = [])
  213.     {
  214.         $macros $this->macros;
  215.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  216.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  217.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  218.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  219.         
  220.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  221.         
  222.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  223.     }
  224.     /**
  225.      * @codeCoverageIgnore
  226.      */
  227.     public function getTemplateName()
  228.     {
  229.         return "common/base.html.twig";
  230.     }
  231.     /**
  232.      * @codeCoverageIgnore
  233.      */
  234.     public function isTraitable()
  235.     {
  236.         return false;
  237.     }
  238.     /**
  239.      * @codeCoverageIgnore
  240.      */
  241.     public function getDebugInfo()
  242.     {
  243.         return array (  256 => 52,  238 => 41,  220 => 34,  202 => 30,  167 => 11,  154 => 57,  150 => 56,  145 => 55,  142 => 53,  140 => 52,  128 => 43,  125 => 42,  123 => 41,  115 => 35,  113 => 34,  108 => 31,  106 => 30,  100 => 26,  93 => 21,  82 => 13,  73 => 11,  70 => 10,  67 => 9,  64 => 8,  61 => 7,  59 => 6,  54 => 4,  49 => 1,);
  244.     }
  245.     public function getSourceContext()
  246.     {
  247.         return new Source("<!DOCTYPE html>
  248. <html>
  249. <head>
  250.     {{ include('common/head.html.twig') }}
  251. </head>
  252.     {% if app.user.sidebar is null or app.user.sidebar == false %}
  253.         {% set sidebar = \"\" %}
  254.     {% else %}
  255.         {% set sidebar = \"sidebar-xs\" %}
  256.     {% endif %}
  257. <body id=\"{% block pageid %}{# ID único para la página#}{% endblock %}\" class=\"{{ sidebar }} {% block bodyClass %}{# Class para la página#}{% endblock %}\" >
  258. {#{{ dump(app.user.sidebar) }}#}
  259. {{ include('common/navbar.html.twig') }}
  260. <!-- Page container -->
  261. <div class=\"page-container\">
  262.     <!-- Page content -->
  263.     <div class=\"page-content\">
  264.         {{ include('common/sidebar.html.twig') }}
  265.         <!-- Main content -->
  266.         <div class=\"content-wrapper\">
  267.             {#{{ include('common/header.html.twig') }}#}
  268.             <!-- Page header -->
  269.             <div class=\"page-header page-header-default\">
  270.                 <div class=\"page-header-content\">
  271.                     {% block pageheadercontent %}{% endblock %}
  272.                 </div>
  273.                 <div class=\"breadcrumb-line\">
  274.                     {% block breadcrumbs %}{% endblock %}
  275.                 </div>
  276.             </div>
  277.             <!-- /page header -->
  278.             <!-- Content area -->
  279.             <div class=\"content\">
  280.                 {% block content %}{% endblock %}
  281.                 {{ include('common/footer.html.twig') }}
  282.             </div>
  283.             <!-- /content area -->
  284.         </div>
  285.         <!-- /main content -->
  286.     </div>
  287.     <!-- /page content -->
  288. </div>
  289. <!-- /page container -->
  290. {% block javascripts %}{% endblock %}
  291. {# Platform Scrypt Default File #}
  292. <script type=\"text/javascript\" src=\"{{ asset( 'assets/js/plugins/notifications/noty.min.js') }}\"></script>
  293. <script type=\"text/javascript\" src=\"{{ asset( 'assets/js/base-scripts.js') }}\"></script>
  294. <script type=\"text/javascript\" src=\"{{ asset( 'assets/js/base-ssupdate.js') }}\"></script>
  295. </body>""common/base.html.twig""/var/www/vhosts/inout.mante.solutions/httpdocs/templates/common/base.html.twig");
  296.     }
  297. }