Current File : //var/www/prestashop/var/cache/prod/twig/fc/fc234944582f9538e5f500b6580b6f87.php |
<?php
use 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;
/* @PrestaShop/Admin/Security/compromised.html.twig */
class __TwigTemplate_a74b8adfeedcda5bde8b96f27dd0edcd extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'title' => [$this, 'block_title'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 25
return "@PrestaShop/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$this->parent = $this->loadTemplate("@PrestaShop/base.html.twig", "@PrestaShop/Admin/Security/compromised.html.twig", 25);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 27
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
// line 28
echo " <link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("themes/new-theme/public/theme" . ($context["rtl_suffix"] ?? null)) . ".css")), "html", null, true);
echo "\" />
";
}
// line 31
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
// line 32
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Invalid token", [], "Admin.Catalog.Help"), "html", null, true);
echo "
";
}
// line 34
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
// line 35
echo " <div class=\"fluid-container\" id=\"security-compromised-page\" >
<div id=\"csrf-white-container\" class=\"row justify-content-md-center\">
<div class=\"col-md-8\">
<div class=\"alert alert-danger\" role=\"alert\">
<p class=\"alert-text\">
";
// line 40
echo twig_replace_filter($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("[1]Invalid token[/1]: direct access to this link may lead to a potential security breach.", [], "Admin.Catalog.Help"), ["[1]" => "<b>", "[/1]" => "</b>"]);
echo "
</p>
</div>
<h1 class=\"text-md-center\">";
// line 44
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Do you want to display this page?", [], "Admin.Catalog.Help"), "html", null, true);
echo "</h1>
<div class=\"text-md-center\">
<a class=\"btn btn-lg btn-outline-danger mr-3\" href=\"";
// line 46
echo twig_escape_filter($this->env, ($context["requestUri"] ?? null), "html", null, true);
echo "\">
";
// line 47
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Yes, I understand the risks", [], "Admin.Catalog.Help"), "html", null, true);
echo "
</a>
<a class=\"btn btn-lg btn-primary ml-3\" href=\"";
// line 49
echo twig_escape_filter($this->env, $this->extensions['PrestaShopBundle\Twig\LayoutExtension']->getAdminLink("AdminDashboard"), "html", null, true);
echo "\">
";
// line 50
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Take me out of there!", [], "Admin.Catalog.Help"), "html", null, true);
echo "
</a>
</div>
</div>
</div>
</div>
";
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Security/compromised.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 106 => 50, 102 => 49, 97 => 47, 93 => 46, 88 => 44, 81 => 40, 74 => 35, 70 => 34, 63 => 32, 59 => 31, 52 => 28, 48 => 27, 37 => 25,);
}
public function getSourceContext()
{
return new Source("", "@PrestaShop/Admin/Security/compromised.html.twig", "/var/www/prestashop/src/PrestaShopBundle/Resources/views/Admin/Security/compromised.html.twig");
}
}