var/cache/dev/twig/d5/d5c39249d182d703a451576bd52df8cc.php line 53

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. /* partials/variants/explore-watchtv.html.twig */
  14. class __TwigTemplate_6607de5a8c215a62f80890ee7d459c9d 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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""partials/variants/explore-watchtv.html.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""partials/variants/explore-watchtv.html.twig"));
  33.         // line 1
  34.         echo "<div class=\"explore\">          
  35.     <button class=\"trigger-explore js-explore-bt\">
  36.         <span>";
  37.         // line 3
  38.         echo html_entity_decode($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("explore", [], "custom"));
  39.         echo "</span>
  40.     </button>         
  41.     <ul class=\"navbar-nav\">
  42.         ";
  43.         // line 6
  44.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\PageContentController::RenderMenu", [], ["menu" => "menutop"]));
  45.         echo "
  46.     </ul>
  47. </div>      
  48. ";
  49.         // line 9
  50.         if (_twig_default_filter($this->extensions['App\Twig\AppExtension']->getConfig("watchtv_pages"""))) {
  51.             // line 10
  52.             echo "    ";
  53.             $context["watchtvpage"] = $this->extensions['App\Twig\AppExtension']->getPageInfo(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.'10$this->source); })()), "request", [], "any"falsefalsefalse10), "locale", [], "any"falsefalsefalse10), $this->extensions['App\Twig\AppExtension']->getConfig("watchtv_pages"""));
  54.             // line 11
  55.             echo "    <div class=\"watchtv\">
  56.         <a href=\"";
  57.             // line 12
  58.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["watchtvpage"]) || array_key_exists("watchtvpage"$context) ? $context["watchtvpage"] : (function () { throw new RuntimeError('Variable "watchtvpage" does not exist.'12$this->source); })()), "url", [], "any"falsefalsefalse12), "html"nulltrue);
  59.             echo "\">
  60.             <span>";
  61.             // line 13
  62.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["watchtvpage"]) || array_key_exists("watchtvpage"$context) ? $context["watchtvpage"] : (function () { throw new RuntimeError('Variable "watchtvpage" does not exist.'13$this->source); })()), "title", [], "any"falsefalsefalse13), "html"nulltrue);
  63.             echo "</span>
  64.         </a>
  65.     </div>      
  66. ";
  67.         }
  68.         
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  70.         
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  72.     }
  73.     public function getTemplateName()
  74.     {
  75.         return "partials/variants/explore-watchtv.html.twig";
  76.     }
  77.     public function isTraitable()
  78.     {
  79.         return false;
  80.     }
  81.     public function getDebugInfo()
  82.     {
  83.         return array (  71 => 13,  67 => 12,  64 => 11,  61 => 10,  59 => 9,  53 => 6,  47 => 3,  43 => 1,);
  84.     }
  85.     public function getSourceContext()
  86.     {
  87.         return new Source("<div class=\"explore\">          
  88.     <button class=\"trigger-explore js-explore-bt\">
  89.         <span>{{ 'explore'|trans ({},'custom' )|html_entity_decode|raw }}</span>
  90.     </button>         
  91.     <ul class=\"navbar-nav\">
  92.         {{ render(controller('App\\\\Controller\\\\PageContentController::RenderMenu',[], {'menu': \"menutop\"}) ) }}
  93.     </ul>
  94. </div>      
  95. {% if get_config('watchtv_pages',\"\")|default %}
  96.     {% set watchtvpage = get_page_info(app.request.locale,get_config('watchtv_pages',\"\")) %}
  97.     <div class=\"watchtv\">
  98.         <a href=\"{{watchtvpage.url}}\">
  99.             <span>{{watchtvpage.title}}</span>
  100.         </a>
  101.     </div>      
  102. {% endif %}""partials/variants/explore-watchtv.html.twig""/var/www/html/theme/templates/partials/variants/explore-watchtv.html.twig");
  103.     }
  104. }