parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
echo "
";
// line 129
$this->loadTemplate("table/structure/move_columns_dialog.twig", "table/structure/display_structure.twig", 129)->display(array("db" => // line 130
($context["db"] ?? null), "table" => // line 131
($context["table"] ?? null)));
// line 134
echo "
";
// line 135
if ((($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) {
// line 136
echo " ";
echo PhpMyAdmin\Util::linkOrButton( // line 137
($context["edit_view_url"] ?? null), PhpMyAdmin\Util::getIcon("b_edit", _gettext("Edit view"), true));
// line 139
echo "
";
}
// line 141
echo " ";
$this->loadTemplate("table/structure/optional_action_links.twig", "table/structure/display_structure.twig", 141)->display(array("url_query" => // line 142
($context["url_query"] ?? null), "tbl_is_view" => // line 143
($context["tbl_is_view"] ?? null), "db_is_system_schema" => // line 144
($context["db_is_system_schema"] ?? null), "table" => // line 145
($context["table"] ?? null), "is_active" => // line 146
($context["is_active"] ?? null)));
// line 148
echo "
";
// line 149
if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) {
// line 150
echo " ";
$this->loadTemplate("table/structure/add_column.twig", "table/structure/display_structure.twig", 150)->display(array("columns_list" => // line 151
($context["columns_list"] ?? null), "db" => // line 152
($context["db"] ?? null), "table" => // line 153
($context["table"] ?? null)));
}
// line 156
echo "
";
// line 158
if ((( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null)) && ("ARCHIVE" != // line 159
($context["tbl_storage_engine"] ?? null)))) {
// line 160
echo " ";
echo PhpMyAdmin\Index::getHtmlForDisplayIndexes();
echo "
";
}
// line 162
echo "
";
// line 164
if (($context["have_partitioning"] ?? null)) {
// line 165
echo " ";
// line 166
echo " ";
if (( !twig_test_empty(($context["partition_names"] ?? null)) && !(null === $this->getAttribute(($context["partition_names"] ?? null), 0, array(), "array")))) {
// line 167
echo " ";
$context["partitions"] = PhpMyAdmin\Partition::getPartitions(($context["db"] ?? null), ($context["table"] ?? null));
// line 168
echo " ";
$context["first_partition"] = $this->getAttribute(($context["partitions"] ?? null), 0, array(), "array");
// line 169
echo " ";
$context["range_or_list"] = (((($this->getAttribute(($context["first_partition"] ?? null), "getMethod", array(), "method") == "RANGE") || ($this->getAttribute( // line 170
($context["first_partition"] ?? null), "getMethod", array(), "method") == "RANGE COLUMNS")) || ($this->getAttribute( // line 171
($context["first_partition"] ?? null), "getMethod", array(), "method") == "LIST")) || ($this->getAttribute( // line 172
($context["first_partition"] ?? null), "getMethod", array(), "method") == "LIST COLUMNS"));
// line 173
echo " ";
$context["sub_partitions"] = $this->getAttribute(($context["first_partition"] ?? null), "getSubPartitions", array(), "method");
// line 174
echo " ";
$context["has_sub_partitions"] = $this->getAttribute(($context["first_partition"] ?? null), "hasSubPartitions", array(), "method");
// line 175
echo " ";
if (($context["has_sub_partitions"] ?? null)) {
// line 176
echo " ";
$context["first_sub_partition"] = $this->getAttribute(($context["sub_partitions"] ?? null), 0, array(), "array");
// line 177
echo " ";
}
// line 178
echo "
";
// line 179
$context["action_icons"] = array("ANALYZE" => PhpMyAdmin\Util::getIcon("b_search", _gettext("Analyze")), "CHECK" => PhpMyAdmin\Util::getIcon("eye", _gettext("Check")), "OPTIMIZE" => PhpMyAdmin\Util::getIcon("normalize", _gettext("Optimize")), "REBUILD" => PhpMyAdmin\Util::getIcon("s_tbl", _gettext("Rebuild")), "REPAIR" => PhpMyAdmin\Util::getIcon("b_tblops", _gettext("Repair")), "TRUNCATE" => PhpMyAdmin\Util::getIcon("b_empty", _gettext("Truncate")));
// line 187
echo " ";
if (($context["range_or_list"] ?? null)) {
// line 188
echo " ";
$context["action_icons"] = twig_array_merge(($context["action_icons"] ?? null), array("DROP" => PhpMyAdmin\Util::getIcon("b_drop", _gettext("Drop"))));
// line 189
echo " ";
}
// line 190
echo "
";
// line 191
echo PhpMyAdmin\Util::getDivForSliderEffect("partitions", _gettext("Partitions"));
echo "
";
// line 193
$context["remove_sql"] = (("ALTER TABLE " . PhpMyAdmin\Util::backquote(($context["table"] ?? null))) . " REMOVE PARTITIONING");
// line 194
echo " ";
$context["remove_url"] = ((("sql.php" . ($context["url_query"] ?? null)) . "&sql_query=") . twig_urlencode_filter(($context["remove_sql"] ?? null)));
// line 195
echo "
";
// line 196
$this->loadTemplate("table/structure/display_partitions.twig", "table/structure/display_structure.twig", 196)->display(array("db" => // line 197
($context["db"] ?? null), "table" => // line 198
($context["table"] ?? null), "url_query" => // line 199
($context["url_query"] ?? null), "partitions" => // line 200
($context["partitions"] ?? null), "partition_method" => $this->getAttribute( // line 201
($context["first_partition"] ?? null), "getMethod", array(), "method"), "partition_expression" => $this->getAttribute( // line 202
($context["first_partition"] ?? null), "getExpression", array(), "method"), "has_description" => !twig_test_empty($this->getAttribute( // line 203
($context["first_partition"] ?? null), "getDescription", array(), "method")), "has_sub_partitions" => // line 204
($context["has_sub_partitions"] ?? null), "sub_partition_method" => (( // line 205
($context["has_sub_partitions"] ?? null)) ? ($this->getAttribute(($context["first_sub_partition"] ?? null), "getMethod", array(), "method")) : ("")), "sub_partition_expression" => (( // line 206
($context["has_sub_partitions"] ?? null)) ? ($this->getAttribute(($context["first_sub_partition"] ?? null), "getExpression", array(), "method")) : ("")), "action_icons" => // line 207
($context["action_icons"] ?? null), "range_or_list" => // line 208
($context["range_or_list"] ?? null), "remove_url" => // line 209
($context["remove_url"] ?? null)));
// line 211
echo " ";
} else {
// line 212
echo " ";
$this->loadTemplate("table/structure/display_partitions.twig", "table/structure/display_structure.twig", 212)->display(array("db" => // line 213
($context["db"] ?? null), "table" => // line 214
($context["table"] ?? null)));
// line 216
echo " ";
}
// line 217
echo " ";
// line 218
echo "
";
}
// line 220
echo "
";
// line 222
if (($context["show_stats"] ?? null)) {
// line 223
echo " ";
echo ($context["table_stats"] ?? null);
echo "
";
}
// line 225
echo "
";
}
public function getTemplateName()
{
return "table/structure/display_structure.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 405 => 225, 399 => 223, 397 => 222, 394 => 220, 390 => 218, 388 => 217, 385 => 216, 383 => 214, 382 => 213, 380 => 212, 377 => 211, 375 => 209, 374 => 208, 373 => 207, 372 => 206, 371 => 205, 370 => 204, 369 => 203, 368 => 202, 367 => 201, 366 => 200, 365 => 199, 364 => 198, 363 => 197, 362 => 196, 359 => 195, 356 => 194, 354 => 193, 349 => 191, 346 => 190, 343 => 189, 340 => 188, 337 => 187, 335 => 179, 332 => 178, 329 => 177, 326 => 176, 323 => 175, 320 => 174, 317 => 173, 315 => 172, 314 => 171, 313 => 170, 311 => 169, 308 => 168, 305 => 167, 302 => 166, 300 => 165, 298 => 164, 295 => 162, 289 => 160, 287 => 159, 286 => 158, 283 => 156, 280 => 153, 279 => 152, 278 => 151, 276 => 150, 274 => 149, 271 => 148, 269 => 146, 268 => 145, 267 => 144, 266 => 143, 265 => 142, 263 => 141, 259 => 139, 257 => 137, 255 => 136, 253 => 135, 250 => 134, 248 => 131, 247 => 130, 246 => 129, 242 => 127, 240 => 125, 239 => 124, 238 => 123, 237 => 122, 236 => 121, 235 => 120, 234 => 119, 229 => 116, 222 => 114, 219 => 113, 217 => 111, 216 => 110, 215 => 109, 214 => 108, 213 => 107, 212 => 106, 211 => 105, 210 => 104, 209 => 103, 208 => 102, 207 => 101, 206 => 100, 205 => 99, 204 => 98, 203 => 97, 201 => 96, 198 => 95, 196 => 93, 195 => 92, 194 => 91, 193 => 90, 192 => 89, 191 => 88, 190 => 87, 189 => 86, 188 => 85, 187 => 84, 186 => 83, 185 => 82, 184 => 81, 183 => 80, 182 => 79, 181 => 77, 180 => 73, 179 => 72, 178 => 71, 175 => 70, 172 => 69, 169 => 66, 166 => 65, 163 => 64, 160 => 61, 158 => 60, 155 => 59, 152 => 58, 149 => 57, 146 => 55, 144 => 54, 141 => 53, 139 => 52, 136 => 51, 134 => 50, 131 => 49, 129 => 48, 126 => 47, 124 => 46, 121 => 45, 119 => 44, 116 => 43, 113 => 42, 110 => 41, 107 => 40, 104 => 39, 101 => 38, 98 => 37, 96 => 36, 93 => 35, 90 => 34, 87 => 33, 84 => 31, 81 => 30, 79 => 29, 76 => 28, 73 => 27, 70 => 26, 67 => 25, 62 => 24, 59 => 23, 56 => 22, 53 => 20, 51 => 18, 50 => 17, 49 => 16, 47 => 15, 42 => 11, 39 => 10, 36 => 8, 34 => 7, 32 => 6, 30 => 5, 26 => 3, 22 => 2, 19 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("", "table/structure/display_structure.twig", "/var/www/html/phpMyAdmin/templates/table/structure/display_structure.twig");
}
}