env, ($context["columns_count"] ?? null), "html", null, true);
echo "\" class=\"edit_index print_ignore ajax\">
twig_get_attribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 32)]), "");
echo "\">
";
// line 33
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\" >
twig_get_attribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 37)]), "");
echo "\">
";
// line 38
echo \PhpMyAdmin\Html\Generator::getIcon("b_rename", _gettext("Rename"));
echo "
|
env, ($context["columns_count"] ?? null), "html", null, true);
echo "\" class=\"print_ignore\">
";
// line 42
if ((twig_get_attribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 42) == "PRIMARY")) {
// line 43
echo " ";
$context["index_params"] = ["sql_query" => (("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 44
($context["table"] ?? null))) . " DROP PRIMARY KEY;"), "message_to_show" => _gettext("The primary key has been dropped.")];
// line 47
echo " ";
} else {
// line 48
echo " ";
$context["index_params"] = ["sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 49
($context["table"] ?? null))) . " DROP INDEX ") . PhpMyAdmin\Util::backquote(twig_get_attribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 49))) . ";"), "message_to_show" => sprintf(_gettext("Index %s has been dropped."), twig_get_attribute($this->env, $this->source, // line 50
$context["index"], "getName", [], "method", false, false, false, 50))];
// line 52
echo " ";
}
// line 53
echo "
env, $this->source, ($context["index_params"] ?? null), "sql_query", [], "any", false, false, false, 54), false);
echo "\">
";
// line 55
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql", twig_array_merge( // line 56
($context["url_params"] ?? null), ($context["index_params"] ?? null))), \PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")), ["class" => "drop_primary_key_index_anchor ajax"]);
// line 59
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, 61), "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, 62)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["index"], "getType", [], "method", false, false, false, 62), twig_get_attribute($this->env, $this->source, $context["index"], "getChoice", [], "method", false, false, false, 62))) : (twig_get_attribute($this->env, $this->source, $context["index"], "getChoice", [], "method", false, false, false, 62))), "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, 63)) ? (_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, 64);
echo " |
";
// line 66
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["index"], "getColumns", [], "method", false, false, false, 66));
foreach ($context['_seq'] as $context["_key"] => $context["column"]) {
// line 67
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["column"], "getSeqInIndex", [], "method", false, false, false, 67) > 1)) {
// line 68
echo "
";
}
// line 70
echo "
";
// line 71
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getName", [], "method", false, false, false, 71), "html", null, true);
echo "
";
// line 72
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["column"], "getSubPart", [], "method", false, false, false, 72))) {
// line 73
echo " (";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getSubPart", [], "method", false, false, false, 73), "html", null, true);
echo ")
";
}
// line 75
echo " |
";
// line 76
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getCardinality", [], "method", false, false, false, 76), "html", null, true);
echo " |
";
// line 77
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getCollation", [], "method", false, false, false, 77), "html", null, true);
echo " |
";
// line 78
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getNull", [0 => true], "method", false, false, false, 78), "html", null, true);
echo " |
";
// line 80
if ((twig_get_attribute($this->env, $this->source, $context["column"], "getSeqInIndex", [], "method", false, false, false, 80) == 1)) {
// line 81
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, 81), "html", null, true);
echo " |
";
}
// line 83
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 85
echo "