env, ($context["columns_count"] ?? null), "html", null, true);
echo "\" class=\"edit_index d-print-none ajax\">
twig_get_attribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 33)]), "", false);
echo "\">
";
// line 34
echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit"));
echo "
|
env, ($context["columns_count"] ?? null), "html", null, true);
echo "\" class=\"rename_index d-print-none ajax\" >
twig_get_attribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 38)]), "", false);
echo "\">
";
// line 39
echo PhpMyAdmin\Html\Generator::getIcon("b_rename", _gettext("Rename"));
echo "
|
env, ($context["columns_count"] ?? null), "html", null, true);
echo "\" class=\"d-print-none\">
";
// line 43
if ((twig_get_attribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 43) == "PRIMARY")) {
// line 44
echo " ";
$context["index_params"] = ["sql_query" => (("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 45
($context["table"] ?? null))) . " DROP PRIMARY KEY;"), "message_to_show" => _gettext("The primary key has been dropped.")];
// line 48
echo " ";
} else {
// line 49
echo " ";
$context["index_params"] = ["sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 50
($context["table"] ?? null))) . " DROP INDEX ") . PhpMyAdmin\Util::backquote(twig_get_attribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 50))) . ";"), "message_to_show" => twig_sprintf(_gettext("Index %s has been dropped."), twig_get_attribute($this->env, $this->source, // line 51
$context["index"], "getName", [], "method", false, false, false, 51))];
// line 53
echo " ";
}
// line 54
echo "
env, twig_get_attribute($this->env, $this->source, ($context["index_params"] ?? null), "sql_query", [], "any", false, false, false, 55), "html", null, true);
echo "\">
";
// line 56
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), twig_array_merge( // line 58
($context["url_params"] ?? null), ($context["index_params"] ?? null)), PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")), ["class" => "drop_primary_key_index_anchor ajax"]);
// line 61
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, 63), "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, 64)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["index"], "getType", [], "method", false, false, false, 64), twig_get_attribute($this->env, $this->source, $context["index"], "getChoice", [], "method", false, false, false, 64))) : (twig_get_attribute($this->env, $this->source, $context["index"], "getChoice", [], "method", false, false, false, 64))), "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, 65)) ? (_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, 66);
echo " |
";
// line 68
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["index"], "getColumns", [], "method", false, false, false, 68));
foreach ($context['_seq'] as $context["_key"] => $context["column"]) {
// line 69
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["column"], "getSeqInIndex", [], "method", false, false, false, 69) > 1)) {
// line 70
echo "
";
}
// line 72
echo "
";
// line 73
if (twig_get_attribute($this->env, $this->source, $context["column"], "hasExpression", [], "method", false, false, false, 73)) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getExpression", [], "method", false, false, false, 73), "html", null, true);
} else {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getName", [], "method", false, false, false, 73), "html", null, true);
}
// line 74
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["column"], "getSubPart", [], "method", false, false, false, 74))) {
// line 75
echo " (";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getSubPart", [], "method", false, false, false, 75), "html", null, true);
echo ")
";
}
// line 77
echo " |
";
// line 78
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getCardinality", [], "method", false, false, false, 78), "html", null, true);
echo " |
";
// line 79
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getCollation", [], "method", false, false, false, 79), "html", null, true);
echo " |
";
// line 80
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getNull", [0 => true], "method", false, false, false, 80), "html", null, true);
echo " |
";
// line 82
if ((twig_get_attribute($this->env, $this->source, $context["column"], "getSeqInIndex", [], "method", false, false, false, 82) == 1)) {
// line 83
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, 83), "html", null, true);
echo " |
";
}
// line 85
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 87
echo "