<?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;
/* table/delete/confirm.twig */
class __TwigTemplate_3f01350dd1629524dab0595778efe5c5 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 "<form action=\"";
yield PhpMyAdmin\Url::getFromRoute("/table/delete/rows");
yield "\" method=\"post\">
";
// line 2
yield PhpMyAdmin\Url::getHiddenInputs(["db" => // line 3
($context["db"] ?? null), "table" => // line 4
($context["table"] ?? null), "selected" => // line 5
($context["selected"] ?? null), "original_sql_query" => // line 6
($context["sql_query"] ?? null), "fk_checks" => "0"]);
// line 8
yield "
<fieldset class=\"pma-fieldset confirmation\">
<legend>
";
yield _gettext("Do you really want to execute the following query?");
// line 13
yield " </legend>
<ul>
";
// line 16
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["selected"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
// line 17
yield " <li><code>DELETE FROM ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::backquote(($context["table"] ?? null)), "html", null, true);
yield " WHERE ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["row"], "html", null, true);
yield ";</code></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['row'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 19
yield " </ul>
</fieldset>
<fieldset class=\"pma-fieldset tblFooters\">
<div id=\"foreignkeychk\" class=\"float-start\">
<input type=\"checkbox\" name=\"fk_checks\" id=\"fk_checks\" value=\"1\"";
// line 24
yield ((($context["is_foreign_key_check"] ?? null)) ? (" checked") : (""));
yield ">
<label for=\"fk_checks\">";
yield _gettext("Enable foreign key checks");
// line 25
yield "</label>
</div>
<div class=\"float-end\">
<input id=\"buttonYes\" class=\"btn btn-secondary\" type=\"submit\" name=\"mult_btn\" value=\"";
yield _gettext("Yes");
// line 28
yield "\">
<input id=\"buttonNo\" class=\"btn btn-secondary\" type=\"submit\" name=\"mult_btn\" value=\"";
yield _gettext("No");
// line 29
yield "\">
</div>
</fieldset>
</form>
";
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "table/delete/confirm.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 102 => 29, 98 => 28, 92 => 25, 87 => 24, 80 => 19, 69 => 17, 65 => 16, 60 => 13, 53 => 8, 51 => 6, 50 => 5, 49 => 4, 48 => 3, 47 => 2, 42 => 1,);
}
public function getSourceContext(): Source
{
return new Source("", "table/delete/confirm.twig", "/usr/share/phpmyadmin/templates/table/delete/confirm.twig");
}
}