env, ($context["columns_count"] ?? null), "html", null, true);
echo "\" class=\"edit_index print_ignore ajax\">
// line 432
($context["db"] ?? null), "table" => // line 433
($context["table"] ?? null), "index" => twig_get_attribute($this->env, $this->source, // line 434
$context["index"], "getName", [], "method", false, false, false, 434)], "");
// line 435
echo "\">
";
// line 436
echo \PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit"));
echo "
|
env, ($context["columns_count"] ?? null), "html", null, true);
echo "\" class=\"rename_index print_ignore ajax\" >
// line 441
($context["db"] ?? null), "table" => // line 442
($context["table"] ?? null), "index" => twig_get_attribute($this->env, $this->source, // line 443
$context["index"], "getName", [], "method", false, false, false, 443)], "");
// line 444
echo "\">
";
// line 445
echo \PhpMyAdmin\Html\Generator::getIcon("b_rename", _gettext("Rename"));
echo "
|
env, ($context["columns_count"] ?? null), "html", null, true);
echo "\" class=\"print_ignore\">
";
// line 449
if ((twig_get_attribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 449) == "PRIMARY")) {
// line 450
echo " ";
$context["index_params"] = ["sql_query" => (("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 451
($context["table"] ?? null))) . " DROP PRIMARY KEY;"), "message_to_show" => _gettext("The primary key has been dropped.")];
// line 454
echo " ";
} else {
// line 455
echo " ";
$context["index_params"] = ["sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 456
($context["table"] ?? null))) . " DROP INDEX ") . PhpMyAdmin\Util::backquote(twig_get_attribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 456))) . ";"), "message_to_show" => sprintf(_gettext("Index %s has been dropped."), twig_get_attribute($this->env, $this->source, // line 457
$context["index"], "getName", [], "method", false, false, false, 457))];
// line 459
echo " ";
}
// line 460
echo "
env, $this->source, ($context["index_params"] ?? null), "sql_query", [], "any", false, false, false, 461), false);
echo "\">
";
// line 462
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql", twig_array_merge( // line 463
($context["index_params"] ?? null), ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)])), \PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")), ["class" => "drop_primary_key_index_anchor ajax"]);
// line 466
echo "
|
env, ($context["columns_count"] ?? null), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 468), "html", null, true);
echo " |
env, ($context["columns_count"] ?? null), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["index"], "getType", [], "method", true, true, false, 469)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["index"], "getType", [], "method", false, false, false, 469), twig_get_attribute($this->env, $this->source, $context["index"], "getChoice", [], "method", false, false, false, 469))) : (twig_get_attribute($this->env, $this->source, $context["index"], "getChoice", [], "method", false, false, false, 469))), "html", null, true);
echo " |
env, ($context["columns_count"] ?? null), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["index"], "isUnique", [], "method", false, false, false, 470)) ? (_gettext("Yes")) : (_gettext("No"))), "html", null, true);
echo " |
env, ($context["columns_count"] ?? null), "html", null, true);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["index"], "isPacked", [], "method", false, false, false, 471);
echo " |
";
// line 473
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["index"], "getColumns", [], "method", false, false, false, 473));
foreach ($context['_seq'] as $context["_key"] => $context["column"]) {
// line 474
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["column"], "getSeqInIndex", [], "method", false, false, false, 474) > 1)) {
// line 475
echo "
";
}
// line 477
echo "
";
// line 478
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getName", [], "method", false, false, false, 478), "html", null, true);
echo "
";
// line 479
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["column"], "getSubPart", [], "method", false, false, false, 479))) {
// line 480
echo " (";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getSubPart", [], "method", false, false, false, 480), "html", null, true);
echo ")
";
}
// line 482
echo " |
";
// line 483
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getCardinality", [], "method", false, false, false, 483), "html", null, true);
echo " |
";
// line 484
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getCollation", [], "method", false, false, false, 484), "html", null, true);
echo " |
";
// line 485
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getNull", [0 => true], "method", false, false, false, 485), "html", null, true);
echo " |
";
// line 487
if ((twig_get_attribute($this->env, $this->source, $context["column"], "getSeqInIndex", [], "method", false, false, false, 487) == 1)) {
// line 488
echo " env, ($context["columns_count"] ?? null), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["index"], "getComments", [], "method", false, false, false, 488), "html", null, true);
echo " |
";
}
// line 490
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 492
echo "