Файловый менеджер - Редактировать - /home/lmsyaran/public_html/cache/gantry5/g5_hydrogen/twig/61/6144baffe3b459d119d06d467e8dc709a5e7c0d5ffdff7d71435fe23480212e8.php
Назад
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; 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; /* @nucleus/content/position.html.twig */ class __TwigTemplate_0be66d26706921a21fc24e50c98fc6613163db5bb31e30d706547d11fab9e1cb extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { // line 1 try { // line 2 echo " "; if ( !($context["particle"] ?? null)) { // line 3 echo " "; $context["enabled"] = $this->getAttribute($this->getAttribute(($context["gantry"] ?? null), "config", []), "get", [0 => (("particles." . $this->getAttribute(($context["segment"] ?? null), "type", [])) . ".enabled"), 1 => 1], "method"); // line 4 echo " "; $context["particle"] = $this->getAttribute($this->getAttribute(($context["gantry"] ?? null), "config", []), "getJoined", [0 => ("particles." . $this->getAttribute(($context["segment"] ?? null), "type", [])), 1 => $this->getAttribute(($context["segment"] ?? null), "attributes", [])], "method"); // line 5 echo " "; } // line 6 echo " "; // line 7 ob_start(function () { return ''; }); // line 8 echo " "; if ((($context["enabled"] ?? null) && ((null === $this->getAttribute($this->getAttribute(($context["segment"] ?? null), "attributes", []), "enabled", [])) || $this->getAttribute($this->getAttribute(($context["segment"] ?? null), "attributes", []), "enabled", [])))) { // line 9 echo " "; $this->loadTemplate([0 => (("particles/" . (($this->getAttribute(($context["segment"] ?? null), "subtype", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["segment"] ?? null), "subtype", []), "position")) : ("position"))) . ".html.twig"), 1 => (("@particles/" . (($this->getAttribute( // line 10 ($context["segment"] ?? null), "subtype", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["segment"] ?? null), "subtype", []), "position")) : ("position"))) . ".html.twig")], "@nucleus/content/position.html.twig", 9)->display($context); // line 11 echo " "; } // line 12 echo " "; $context["html"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 14 if (twig_trim_filter(($context["html"] ?? null))) { // line 15 echo " "; if (($this->getAttribute(($context["gantry"] ?? null), "debug", []) && $this->getAttribute($this->getAttribute(($context["segment"] ?? null), "attributes", []), "key", []))) { echo "<!-- START POSITION "; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["segment"] ?? null), "attributes", []), "key", []), "html", null, true); echo " -->"; } // line 16 echo " <div class=\"g-content"; // line 17 (($this->getAttribute(($context["segment"] ?? null), "classes", [])) ? (print (twig_escape_filter($this->env, (" " . twig_escape_filter($this->env, twig_join_filter($this->getAttribute(($context["segment"] ?? null), "classes", []), " "))), "html", null, true))) : (print (""))); echo "\"> "; // line 18 echo ($context["html"] ?? null); echo " </div> "; // line 20 if (($this->getAttribute(($context["gantry"] ?? null), "debug", []) && $this->getAttribute($this->getAttribute(($context["segment"] ?? null), "attributes", []), "key", []))) { echo "<!-- END POSITION "; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["segment"] ?? null), "attributes", []), "key", []), "html", null, true); echo " -->"; } // line 21 echo " "; } // line 22 echo " "; } catch (\Exception $e) { if ($context['gantry']->debug()) throw $e; GANTRY_DEBUGGER && method_exists('Gantry\Debugger', 'addException') && \Gantry\Debugger::addException($e); $context['e'] = $e; // line 24 echo " <div class=\"alert alert-error\"><strong>Error</strong> while rendering "; echo twig_escape_filter($this->env, (($this->getAttribute(($context["segment"] ?? null), "subtype", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["segment"] ?? null), "subtype", []), "position")) : ("position")), "html", null, true); echo ".</div> "; } } public function getTemplateName() { return "@nucleus/content/position.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 98 => 24, 91 => 22, 88 => 21, 82 => 20, 77 => 18, 73 => 17, 70 => 16, 63 => 15, 61 => 14, 58 => 12, 55 => 11, 53 => 10, 51 => 9, 48 => 8, 46 => 7, 43 => 6, 40 => 5, 37 => 4, 34 => 3, 31 => 2, 30 => 1,); } /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */ public function getSource() { @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED); return $this->getSourceContext()->getCode(); } public function getSourceContext() { return new Source("", "@nucleus/content/position.html.twig", "/home/lmsyaran/public_html/media/gantry5/engines/nucleus/templates/content/position.html.twig"); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка