parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "
";
// line 129
$this->loadTemplate("table/structure/move_columns_dialog.twig", "table/structure/display_structure.twig", 129)->display(["db" => // line 130
(isset($context["db"]) ? $context["db"] : null), "table" => // line 131
(isset($context["table"]) ? $context["table"] : null)]);
// line 134
echo "
";
// line 135
if (((isset($context["tbl_is_view"]) ? $context["tbl_is_view"] : null) && !(isset($context["db_is_system_schema"]) ? $context["db_is_system_schema"] : null))) {
// line 136
echo " ";
echo PhpMyAdmin\Util::linkOrButton( // line 137
(isset($context["edit_view_url"]) ? $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(["url_query" => // line 142
(isset($context["url_query"]) ? $context["url_query"] : null), "tbl_is_view" => // line 143
(isset($context["tbl_is_view"]) ? $context["tbl_is_view"] : null), "db_is_system_schema" => // line 144
(isset($context["db_is_system_schema"]) ? $context["db_is_system_schema"] : null), "table" => // line 145
(isset($context["table"]) ? $context["table"] : null), "is_active" => // line 146
(isset($context["is_active"]) ? $context["is_active"] : null)]);
// line 148
echo "
";
// line 149
if (( !(isset($context["tbl_is_view"]) ? $context["tbl_is_view"] : null) && !(isset($context["db_is_system_schema"]) ? $context["db_is_system_schema"] : null))) {
// line 150
echo " ";
$this->loadTemplate("table/structure/add_column.twig", "table/structure/display_structure.twig", 150)->display(["columns_list" => // line 151
(isset($context["columns_list"]) ? $context["columns_list"] : null), "db" => // line 152
(isset($context["db"]) ? $context["db"] : null), "table" => // line 153
(isset($context["table"]) ? $context["table"] : null)]);
}
// line 156
echo "
";
// line 158
if ((( !(isset($context["tbl_is_view"]) ? $context["tbl_is_view"] : null) && !(isset($context["db_is_system_schema"]) ? $context["db_is_system_schema"] : null)) && ("ARCHIVE" != // line 159
(isset($context["tbl_storage_engine"]) ? $context["tbl_storage_engine"] : null)))) {
// line 160
echo " ";
echo PhpMyAdmin\Index::getHtmlForDisplayIndexes();
echo "
";
}
// line 162
echo "
";
// line 164
if ((isset($context["have_partitioning"]) ? $context["have_partitioning"] : null)) {
// line 165
echo " ";
// line 166
echo " ";
if (( !twig_test_empty((isset($context["partition_names"]) ? $context["partition_names"] : null)) && !(null === $this->getAttribute((isset($context["partition_names"]) ? $context["partition_names"] : null), 0, [], "array")))) {
// line 167
echo " ";
$context["partitions"] = PhpMyAdmin\Partition::getPartitions((isset($context["db"]) ? $context["db"] : null), (isset($context["table"]) ? $context["table"] : null));
// line 168
echo " ";
$context["first_partition"] = $this->getAttribute((isset($context["partitions"]) ? $context["partitions"] : null), 0, [], "array");
// line 169
echo " ";
$context["range_or_list"] = (((($this->getAttribute((isset($context["first_partition"]) ? $context["first_partition"] : null), "getMethod", [], "method") == "RANGE") || ($this->getAttribute( // line 170
(isset($context["first_partition"]) ? $context["first_partition"] : null), "getMethod", [], "method") == "RANGE COLUMNS")) || ($this->getAttribute( // line 171
(isset($context["first_partition"]) ? $context["first_partition"] : null), "getMethod", [], "method") == "LIST")) || ($this->getAttribute( // line 172
(isset($context["first_partition"]) ? $context["first_partition"] : null), "getMethod", [], "method") == "LIST COLUMNS"));
// line 173
echo " ";
$context["sub_partitions"] = $this->getAttribute((isset($context["first_partition"]) ? $context["first_partition"] : null), "getSubPartitions", [], "method");
// line 174
echo " ";
$context["has_sub_partitions"] = $this->getAttribute((isset($context["first_partition"]) ? $context["first_partition"] : null), "hasSubPartitions", [], "method");
// line 175
echo " ";
if ((isset($context["has_sub_partitions"]) ? $context["has_sub_partitions"] : null)) {
// line 176
echo " ";
$context["first_sub_partition"] = $this->getAttribute((isset($context["sub_partitions"]) ? $context["sub_partitions"] : null), 0, [], "array");
// line 177
echo " ";
}
// line 178
echo "
";
// line 179
$context["action_icons"] = ["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 ((isset($context["range_or_list"]) ? $context["range_or_list"] : null)) {
// line 188
echo " ";
$context["action_icons"] = twig_array_merge((isset($context["action_icons"]) ? $context["action_icons"] : null), ["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((isset($context["table"]) ? $context["table"] : null))) . " REMOVE PARTITIONING");
// line 194
echo " ";
$context["remove_url"] = ((("sql.php" . (isset($context["url_query"]) ? $context["url_query"] : null)) . "&sql_query=") . twig_urlencode_filter((isset($context["remove_sql"]) ? $context["remove_sql"] : null)));
// line 195
echo "
";
// line 196
$this->loadTemplate("table/structure/display_partitions.twig", "table/structure/display_structure.twig", 196)->display(["db" => // line 197
(isset($context["db"]) ? $context["db"] : null), "table" => // line 198
(isset($context["table"]) ? $context["table"] : null), "url_query" => // line 199
(isset($context["url_query"]) ? $context["url_query"] : null), "partitions" => // line 200
(isset($context["partitions"]) ? $context["partitions"] : null), "partition_method" => $this->getAttribute( // line 201
(isset($context["first_partition"]) ? $context["first_partition"] : null), "getMethod", [], "method"), "partition_expression" => $this->getAttribute( // line 202
(isset($context["first_partition"]) ? $context["first_partition"] : null), "getExpression", [], "method"), "has_description" => !twig_test_empty($this->getAttribute( // line 203
(isset($context["first_partition"]) ? $context["first_partition"] : null), "getDescription", [], "method")), "has_sub_partitions" => // line 204
(isset($context["has_sub_partitions"]) ? $context["has_sub_partitions"] : null), "sub_partition_method" => (( // line 205
(isset($context["has_sub_partitions"]) ? $context["has_sub_partitions"] : null)) ? ($this->getAttribute((isset($context["first_sub_partition"]) ? $context["first_sub_partition"] : null), "getMethod", [], "method")) : ("")), "sub_partition_expression" => (( // line 206
(isset($context["has_sub_partitions"]) ? $context["has_sub_partitions"] : null)) ? ($this->getAttribute((isset($context["first_sub_partition"]) ? $context["first_sub_partition"] : null), "getExpression", [], "method")) : ("")), "action_icons" => // line 207
(isset($context["action_icons"]) ? $context["action_icons"] : null), "range_or_list" => // line 208
(isset($context["range_or_list"]) ? $context["range_or_list"] : null), "remove_url" => // line 209
(isset($context["remove_url"]) ? $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(["db" => // line 213
(isset($context["db"]) ? $context["db"] : null), "table" => // line 214
(isset($context["table"]) ? $context["table"] : null)]);
// line 216
echo " ";
}
// line 217
echo " ";
// line 218
echo "
";
}
// line 220
echo "
";
// line 222
if ((isset($context["show_stats"]) ? $context["show_stats"] : null)) {
// line 223
echo " ";
echo (isset($context["table_stats"]) ? $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/localhost/htdocs/phpmyadmin/templates/table/structure/display_structure.twig");
}
}