var/cache/dev/twig/09/0940cfb7e3e562058ad23361c2dcefe3.php line 34

  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. /* Default/parameters.html.twig */
  14. class __TwigTemplate_ae444efac84bb93e0ef2f6451fdee6be 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.             'html' => [$this'block_html'],
  25.         ];
  26.     }
  27.     protected function doDisplay(array $context, array $blocks = [])
  28.     {
  29.         $macros $this->macros;
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Default/parameters.html.twig"));
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Default/parameters.html.twig"));
  34.         // line 1
  35.         ob_start();
  36.         // line 2
  37.         $context["sitename"] = $this->env->getFunction('os_param')->getCallable()("sitename");
  38.         // line 3
  39.         $context["l"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->env->getFunction('os_param')->getCallable()("logo"));
  40.         // line 4
  41.         $context["t"] = (isset($context["sitename"]) || array_key_exists("sitename"$context) ? $context["sitename"] : (function () { throw new RuntimeError('Variable "sitename" does not exist.'4$this->source); })());
  42.         // line 5
  43.         $context["d"] = $this->env->getFunction('os_param')->getCallable()("description");
  44.         // line 6
  45.         $context["b"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->env->getFunction('os_param')->getCallable()("banner"));
  46.         // line 7
  47.         $context["w"] = 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.'7$this->source); })()), "request", [], "any"falsefalsefalse7), "schemeAndHttpHost", [], "method"falsefalsefalse7);
  48.         // line 8
  49.         if ( !array_key_exists("alt"$context)) {
  50.             echo " ";
  51.             $context["alt"] = false;
  52.             echo " ";
  53.         }
  54.         // line 9
  55.         if (array_key_exists("title"$context)) {
  56.             $context["t"] = (((isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'9$this->source); })()) . " | ") . (isset($context["t"]) || array_key_exists("t"$context) ? $context["t"] : (function () { throw new RuntimeError('Variable "t" does not exist.'9$this->source); })()));
  57.         }
  58.         // line 10
  59.         if (array_key_exists("desc"$context)) {
  60.             $context["d"] = (isset($context["desc"]) || array_key_exists("desc"$context) ? $context["desc"] : (function () { throw new RuntimeError('Variable "desc" does not exist.'10$this->source); })());
  61.         }
  62.         // line 11
  63.         if (array_key_exists("logo"$context)) {
  64.             $context["l"] = (isset($context["logo"]) || array_key_exists("logo"$context) ? $context["logo"] : (function () { throw new RuntimeError('Variable "logo" does not exist.'11$this->source); })());
  65.         }
  66.         // line 12
  67.         if (array_key_exists("banner"$context)) {
  68.             $context["b"] = (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'12$this->source); })());
  69.         }
  70.         // line 13
  71.         if ( !array_key_exists("thumbnail"$context)) {
  72.             $context["thumbnail"] = $this->env->getFunction('os_param')->getCallable()("thumbnail");
  73.         }
  74.         // line 14
  75.         $context["thumbnailSize"] = $this->env->getFilter('imagesize')->getCallable()((isset($context["thumbnail"]) || array_key_exists("thumbnail"$context) ? $context["thumbnail"] : (function () { throw new RuntimeError('Variable "thumbnail" does not exist.'14$this->source); })()));
  76.         // line 15
  77.         $context["thumb"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["thumbnail"]) || array_key_exists("thumbnail"$context) ? $context["thumbnail"] : (function () { throw new RuntimeError('Variable "thumbnail" does not exist.'15$this->source); })()));
  78.         // line 16
  79.         $context["home"] = ((array_key_exists("home"$context)) ? ((isset($context["home"]) || array_key_exists("home"$context) ? $context["home"] : (function () { throw new RuntimeError('Variable "home" does not exist.'16$this->source); })())) : (false));
  80.         // line 17
  81.         echo "
  82. ";
  83.         // line 18
  84.         $this->displayBlock('html'$context$blocks);
  85.         $___internal_parse_0_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  86.         // line 1
  87.         echo twig_spaceless($___internal_parse_0_);
  88.         
  89.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  90.         
  91.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  92.     }
  93.     // line 18
  94.     public function block_html($context, array $blocks = [])
  95.     {
  96.         $macros $this->macros;
  97.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  98.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""html"));
  99.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  100.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""html"));
  101.         
  102.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  103.         
  104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  105.     }
  106.     public function getTemplateName()
  107.     {
  108.         return "Default/parameters.html.twig";
  109.     }
  110.     public function isTraitable()
  111.     {
  112.         return false;
  113.     }
  114.     public function getDebugInfo()
  115.     {
  116.         return array (  106 => 18,  96 => 1,  93 => 18,  90 => 17,  88 => 16,  86 => 15,  84 => 14,  80 => 13,  76 => 12,  72 => 11,  68 => 10,  64 => 9,  58 => 8,  56 => 7,  54 => 6,  52 => 5,  50 => 4,  48 => 3,  46 => 2,  44 => 1,);
  117.     }
  118.     public function getSourceContext()
  119.     {
  120.         return new Source("{% apply spaceless %}
  121. {% set sitename = os_param(\"sitename\") %}
  122. {% set l = asset(os_param(\"logo\")) %}
  123. {% set t = sitename %}
  124. {% set d = os_param(\"description\") %}
  125. {% set b = asset(os_param(\"banner\")) %}
  126. {% set w = app.request.schemeAndHttpHost() %}
  127. {% if alt is not defined %} {% set alt = false %} {% endif %}
  128. {% if title is defined %}{% set t = title~' | '~t %}{% endif %}
  129. {% if desc is defined %}{% set d = desc %}{% endif %}
  130. {% if logo is defined %}{% set l = logo %}{% endif %}
  131. {% if banner is defined %}{% set b = banner %}{% endif %}
  132. {% if thumbnail is not defined %}{% set thumbnail = os_param(\"thumbnail\") %}{% endif %}
  133. {% set thumbnailSize = (thumbnail)|imagesize %}
  134. {% set thumb = asset(thumbnail) %}
  135. {% set home = home is defined ? home : false %}
  136. {% block html %}
  137. {% endblock html %}
  138. {% endapply %}
  139. ""Default/parameters.html.twig""/home/olasoftnka/asin/templates/Default/parameters.html.twig");
  140.     }
  141. }