%PDF- %PDF-
| Direktori : /home/vacivi36/tmp/pma_template_compiles_vacivi36/twig/32/ |
| Current File : /home/vacivi36/tmp/pma_template_compiles_vacivi36/twig/32/3278673939c67bef874f2c7f392ba349.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;
/* table/structure/drop_confirm.twig */
class __TwigTemplate_972abfde7e4b337d5e827360c1302ffe extends Template
{
private $source;
private $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 = [])
{
$macros = $this->macros;
// line 1
echo "<form action=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/structure/drop");
echo "\" method=\"post\" class=\"disableAjax\">
";
// line 2
echo PhpMyAdmin\Url::getHiddenInputs(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "selected" => ($context["fields"] ?? null)]);
echo "
<fieldset class=\"pma-fieldset confirmation\">
<legend>
";
echo _gettext("Do you really want to execute the following query?");
// line 7
echo " </legend>
<code>
ALTER TABLE ";
// line 10
echo twig_escape_filter($this->env, PhpMyAdmin\Util::backquote(($context["table"] ?? null)), "html", null, true);
echo "<br>
";
// line 11
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["fields"] ?? null));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["field"]) {
// line 12
echo " DROP ";
echo twig_escape_filter($this->env, PhpMyAdmin\Util::backquote($context["field"]), "html", null, true);
// line 13
if (twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 13)) {
echo ";";
} else {
echo ",<br>";
}
// line 14
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 15
echo " </code>
</fieldset>
<fieldset class=\"pma-fieldset tblFooters\">
<input id=\"buttonYes\" class=\"btn btn-secondary\" type=\"submit\" name=\"mult_btn\" value=\"";
echo _gettext("Yes");
// line 19
echo "\">
<input id=\"buttonNo\" class=\"btn btn-secondary\" type=\"submit\" name=\"mult_btn\" value=\"";
echo _gettext("No");
// line 20
echo "\">
</fieldset>
</form>
";
}
public function getTemplateName()
{
return "table/structure/drop_confirm.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 110 => 20, 106 => 19, 99 => 15, 85 => 14, 79 => 13, 76 => 12, 59 => 11, 55 => 10, 50 => 7, 42 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/structure/drop_confirm.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/structure/drop_confirm.twig");
}
}