var/cache/dev/twig/09/0940cfb7e3e562058ad23361c2dcefe3.php line 93
<?phpuse Twig\Environment;use Twig\Error\LoaderError;use Twig\Error\RuntimeError;use Twig\Extension\SandboxExtension;use Twig\Markup;use Twig\Sandbox\SecurityError;use Twig\Sandbox\SecurityNotAllowedTagError;use Twig\Sandbox\SecurityNotAllowedFilterError;use Twig\Sandbox\SecurityNotAllowedFunctionError;use Twig\Source;use Twig\Template;/* Default/parameters.html.twig */class __TwigTemplate_ae444efac84bb93e0ef2f6451fdee6be extends Template{private $source;private $macros = [];public function __construct(Environment $env){parent::__construct($env);$this->source = $this->getSourceContext();$this->parent = false;$this->blocks = ['html' => [$this, 'block_html'],];}protected function doDisplay(array $context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Default/parameters.html.twig"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Default/parameters.html.twig"));// line 1ob_start();// line 2$context["sitename"] = $this->env->getFunction('os_param')->getCallable()("sitename");// line 3$context["l"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->env->getFunction('os_param')->getCallable()("logo"));// line 4$context["t"] = (isset($context["sitename"]) || array_key_exists("sitename", $context) ? $context["sitename"] : (function () { throw new RuntimeError('Variable "sitename" does not exist.', 4, $this->source); })());// line 5$context["d"] = $this->env->getFunction('os_param')->getCallable()("description");// line 6$context["b"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->env->getFunction('os_param')->getCallable()("banner"));// line 7$context["w"] = twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 7), "schemeAndHttpHost", [], "method", false, false, false, 7);// line 8if ( !array_key_exists("alt", $context)) {echo " ";$context["alt"] = false;echo " ";}// line 9if (array_key_exists("title", $context)) {$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); })()));}// line 10if (array_key_exists("desc", $context)) {$context["d"] = (isset($context["desc"]) || array_key_exists("desc", $context) ? $context["desc"] : (function () { throw new RuntimeError('Variable "desc" does not exist.', 10, $this->source); })());}// line 11if (array_key_exists("logo", $context)) {$context["l"] = (isset($context["logo"]) || array_key_exists("logo", $context) ? $context["logo"] : (function () { throw new RuntimeError('Variable "logo" does not exist.', 11, $this->source); })());}// line 12if (array_key_exists("banner", $context)) {$context["b"] = (isset($context["banner"]) || array_key_exists("banner", $context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.', 12, $this->source); })());}// line 13if ( !array_key_exists("thumbnail", $context)) {$context["thumbnail"] = $this->env->getFunction('os_param')->getCallable()("thumbnail");}// line 14$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); })()));// line 15$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); })()));// line 16$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));// line 17echo "";// line 18$this->displayBlock('html', $context, $blocks);$___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());// line 1echo twig_spaceless($___internal_parse_0_);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);}// line 18public function block_html($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "html"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "html"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}public function getTemplateName(){return "Default/parameters.html.twig";}public function isTraitable(){return false;}public function getDebugInfo(){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,);}public function getSourceContext(){return new Source("{% apply spaceless %}{% set sitename = os_param(\"sitename\") %}{% set l = asset(os_param(\"logo\")) %}{% set t = sitename %}{% set d = os_param(\"description\") %}{% set b = asset(os_param(\"banner\")) %}{% set w = app.request.schemeAndHttpHost() %}{% if alt is not defined %} {% set alt = false %} {% endif %}{% if title is defined %}{% set t = title~' | '~t %}{% endif %}{% if desc is defined %}{% set d = desc %}{% endif %}{% if logo is defined %}{% set l = logo %}{% endif %}{% if banner is defined %}{% set b = banner %}{% endif %}{% if thumbnail is not defined %}{% set thumbnail = os_param(\"thumbnail\") %}{% endif %}{% set thumbnailSize = (thumbnail)|imagesize %}{% set thumb = asset(thumbnail) %}{% set home = home is defined ? home : false %}{% block html %}{% endblock html %}{% endapply %}", "Default/parameters.html.twig", "/home/olasoftnka/asin/templates/Default/parameters.html.twig");}}