Файловый менеджер - Редактировать - /home/lmsyaran/public_html/j3/cache/gantry5/g5_hydrogen/twig/29/29d4555bc75a12f05c040d0fcb4fdde5551d9a77370c9e8c31060a0d4c1894f5.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; /* @particles/copyright.html.twig */ class __TwigTemplate_a127e290364697c3faf8e585aec37b3916638c303ac98806ec47b924aa1cbd6d extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->blocks = [ 'particle' => [$this, 'block_particle'], ]; } protected function doGetParent(array $context) { // line 1 return "@nucleus/partials/particle.html.twig"; } protected function doDisplay(array $context, array $blocks = []) { // line 3 $context["start_date"] = ((twig_in_filter(twig_trim_filter($this->getAttribute($this->getAttribute(($context["particle"] ?? null), "date", []), "start", [])), [0 => "now", 1 => ""])) ? (call_user_func_array($this->env->getFilter('date')->getCallable(), [$this->env, "now", "Y"])) : (twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["particle"] ?? null), "date", []), "start", [])))); // line 4 $context["end_date"] = ((twig_in_filter(twig_trim_filter($this->getAttribute($this->getAttribute(($context["particle"] ?? null), "date", []), "end", [])), [0 => "now", 1 => ""])) ? (call_user_func_array($this->env->getFilter('date')->getCallable(), [$this->env, "now", "Y"])) : (twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["particle"] ?? null), "date", []), "end", [])))); // line 1 $this->parent = $this->loadTemplate("@nucleus/partials/particle.html.twig", "@particles/copyright.html.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 6 public function block_particle($context, array $blocks = []) { // line 7 echo " © "; // line 8 if ((($context["start_date"] ?? null) != ($context["end_date"] ?? null))) { echo twig_escape_filter($this->env, ($context["start_date"] ?? null)); echo " - "; } // line 9 echo " "; echo twig_escape_filter($this->env, ($context["end_date"] ?? null)); echo " "; // line 10 echo $this->getAttribute(($context["particle"] ?? null), "owner", []); echo " "; } public function getTemplateName() { return "@particles/copyright.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 60 => 10, 55 => 9, 50 => 8, 47 => 7, 44 => 6, 39 => 1, 37 => 4, 35 => 3, 29 => 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("{% extends '@nucleus/partials/particle.html.twig' %} {% set start_date = particle.date.start|trim in ['now', ''] ? 'now'|date('Y') : particle.date.start|e %} {% set end_date = particle.date.end|trim in ['now', ''] ? 'now'|date('Y') : particle.date.end|e %} {% block particle %} © {% if (start_date != end_date) %}{{ start_date|e }} - {% endif %} {{ end_date|e }} {{ particle.owner|raw }} {% endblock %} ", "@particles/copyright.html.twig", "/home/lmsyaran/public_html/media/gantry5/engines/nucleus/particles/copyright.html.twig"); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка