108 lines
3.8 KiB
PHP
Executable File
108 lines
3.8 KiB
PHP
Executable File
<?php
|
|
|
|
use Twig\Environment;
|
|
use Twig\Error\LoaderError;
|
|
use Twig\Error\RuntimeError;
|
|
use Twig\Extension\CoreExtension;
|
|
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;
|
|
use Twig\TemplateWrapper;
|
|
|
|
/* partials/footer.twig */
|
|
class __TwigTemplate_74ec71c0c13395ea5e86234aad4caca3 extends Template
|
|
{
|
|
private Source $source;
|
|
/**
|
|
* @var array<string, Template>
|
|
*/
|
|
private array $macros = [];
|
|
|
|
public function __construct(Environment $env)
|
|
{
|
|
parent::__construct($env);
|
|
|
|
$this->source = $this->getSourceContext();
|
|
|
|
$this->parent = false;
|
|
|
|
$this->blocks = [
|
|
];
|
|
}
|
|
|
|
protected function doDisplay(array $context, array $blocks = []): iterable
|
|
{
|
|
$macros = $this->macros;
|
|
// line 1
|
|
yield "<!-- Footer-->
|
|
<footer class=\"py-5 bg-dark\">
|
|
<div class=\"container px-4 px-lg-5\">
|
|
<p class=\"m-0 text-center text-white\">
|
|
";
|
|
// line 5
|
|
if ((($tmp = ((CoreExtension::getAttribute($this->env, $this->source, ($context["theme_settings"] ?? null), "show_footer_credits", [], "any", true, true, false, 5)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["theme_settings"] ?? null), "show_footer_credits", [], "any", false, false, false, 5), true)) : (true))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
|
// line 6
|
|
yield " ";
|
|
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("layout.footer.powered_by"), "html", null, true);
|
|
yield " <a href=\"https://syscms.syspanel.com.br\" class=\"text-white text-decoration-none\" target=\"_blank\">SysCMS</a> ";
|
|
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "Y"), "html", null, true);
|
|
yield ".
|
|
";
|
|
} else {
|
|
// line 8
|
|
yield " © ";
|
|
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "Y"), "html", null, true);
|
|
yield "
|
|
";
|
|
}
|
|
// line 10
|
|
yield " <br>
|
|
<a href=\"/user_terms.html\" class=\"text-white text-decoration-none small\" target=\"_blank\">";
|
|
// line 11
|
|
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("layout.footer.terms"), "html", null, true);
|
|
yield "</a> |
|
|
<a href=\"/eula.html\" class=\"text-white text-decoration-none small\" target=\"_blank\">";
|
|
// line 12
|
|
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("layout.footer.eula"), "html", null, true);
|
|
yield "</a>
|
|
</p>
|
|
</div>
|
|
</footer>";
|
|
yield from [];
|
|
}
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function getTemplateName(): string
|
|
{
|
|
return "partials/footer.twig";
|
|
}
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function isTraitable(): bool
|
|
{
|
|
return false;
|
|
}
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function getDebugInfo(): array
|
|
{
|
|
return array ( 71 => 12, 67 => 11, 64 => 10, 58 => 8, 50 => 6, 48 => 5, 42 => 1,);
|
|
}
|
|
|
|
public function getSourceContext(): Source
|
|
{
|
|
return new Source("", "partials/footer.twig", "/app/templates/partials/footer.twig");
|
|
}
|
|
}
|