source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 2 echo " "; // line 7 if ( !($context["has_query"] ?? null)) { // line 8 echo "
"; // line 10 echo twig_escape_filter($this->env, (((0 === twig_compare(($context["selected_page"] ?? null), null))) ? (_gettext("Untitled")) : (($context["selected_page"] ?? null))), "html", null, true); echo " "; // line 13 echo (((0 === twig_compare(($context["selected_page"] ?? null), null))) ? ("*") : ("")); echo "
"; } // line 17 echo "
\"v\"env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/downarrow2_m.png"], "method", false, false, false, 21), "html", null, true); echo "\" data-down=\""; // line 22 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/downarrow2_m.png"], "method", false, false, false, 22), "html", null, true); echo "\" data-up=\""; // line 23 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/uparrow2_m.png"], "method", false, false, false, 23), "html", null, true); echo "\"> "; // line 25 echo _gettext("Show/Hide tables list"); // line 26 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/viewInFullscreen.png"], "method", false, false, false, 30), "html", null, true); echo "\" data-enter=\""; // line 31 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/viewInFullscreen.png"], "method", false, false, false, 31), "html", null, true); echo "\" data-exit=\""; // line 32 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/exitFullscreen.png"], "method", false, false, false, 32), "html", null, true); echo "\"> "; // line 36 echo _gettext("View in fullscreen"); // line 37 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/other_table.png"], "method", false, false, false, 41), "html", null, true); echo "\"> "; // line 43 echo _gettext("Add tables from other databases"); // line 44 echo " "; // line 46 if ( !($context["has_query"] ?? null)) { // line 47 echo " \"\"env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/page_add.png"], "method", false, false, false, 50), "html", null, true); echo "\"> "; // line 52 echo _gettext("New page"); // line 53 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/page_edit.png"], "method", false, false, false, 57), "html", null, true); echo "\"> "; // line 59 echo _gettext("Open page"); // line 60 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/save.png"], "method", false, false, false, 64), "html", null, true); echo "\"> "; // line 66 echo _gettext("Save page"); // line 67 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/save_as.png"], "method", false, false, false, 71), "html", null, true); echo "\"> "; // line 73 echo _gettext("Save page as"); // line 74 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/page_delete.png"], "method", false, false, false, 78), "html", null, true); echo "\"> "; // line 80 echo _gettext("Delete pages"); // line 81 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/table.png"], "method", false, false, false, 85), "html", null, true); echo "\"> "; // line 87 echo _gettext("Create table"); // line 88 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/relation.png"], "method", false, false, false, 92), "html", null, true); echo "\"> "; // line 94 echo _gettext("Create relationship"); // line 95 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/display_field.png"], "method", false, false, false, 99), "html", null, true); echo "\"> "; // line 101 echo _gettext("Choose column to display"); // line 102 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/reload.png"], "method", false, false, false, 106), "html", null, true); echo "\"> "; // line 108 echo _gettext("Reload"); // line 109 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/help.png"], "method", false, false, false, 115), "html", null, true); echo "\"> "; // line 117 echo _gettext("Help"); // line 118 echo " "; } // line 121 echo " env, (($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = ($context["params_array"] ?? null)) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4["angular_direct"] ?? null) : null), "html", null, true); echo "\" id=\"angular_direct_button\"> env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/ang_direct.png"], "method", false, false, false, 123), "html", null, true); echo "\"> "; // line 125 echo _gettext("Angular links"); echo " / "; echo _gettext("Direct links"); // line 126 echo " env, (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = ($context["params_array"] ?? null)) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144["snap_to_grid"] ?? null) : null), "html", null, true); echo "\" id=\"grid_button\"> env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/grid.png"], "method", false, false, false, 129), "html", null, true); echo "\"> "; // line 131 echo _gettext("Snap to grid"); // line 132 echo " env, (($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = ($context["params_array"] ?? null)) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b["small_big_all"] ?? null) : null), "html", null, true); echo "\" id=\"key_SB_all\"> \"v\"env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/downarrow1.png"], "method", false, false, false, 137), "html", null, true); echo "\" data-down=\""; // line 138 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/downarrow1.png"], "method", false, false, false, 138), "html", null, true); echo "\" data-right=\""; // line 139 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/rightarrow1.png"], "method", false, false, false, 139), "html", null, true); echo "\"> "; // line 141 echo _gettext("Small/Big All"); // line 142 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/bottom.png"], "method", false, false, false, 146), "html", null, true); echo "\"> "; // line 148 echo _gettext("Toggle small/big"); // line 149 echo " env, (($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = ($context["params_array"] ?? null)) && is_array($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002) || $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 instanceof ArrayAccess ? ($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002["relation_lines"] ?? null) : null), "html", null, true); echo "\" > env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/toggle_lines.png"], "method", false, false, false, 153), "html", null, true); echo "\"> "; // line 155 echo _gettext("Toggle relationship lines"); // line 156 echo " "; // line 158 if ( !($context["visual_builder"] ?? null)) { // line 159 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/export.png"], "method", false, false, false, 161), "html", null, true); echo "\"> "; // line 163 echo _gettext("Export schema"); // line 164 echo " "; } else { // line 167 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/query_builder.png"], "method", false, false, false, 172), "html", null, true); echo "\"> "; // line 174 echo _gettext("Build Query"); // line 175 echo " "; } // line 178 echo " env, (($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 = ($context["params_array"] ?? null)) && is_array($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4) || $__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 instanceof ArrayAccess ? ($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4["side_menu"] ?? null) : null), "html", null, true); echo "\" id=\"key_Left_Right\"> \"\" data-right=\""; // line 180 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/2leftarrow_m.png"], "method", false, false, false, 180), "html", null, true); echo "\" src=\""; // line 181 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/2rightarrow_m.png"], "method", false, false, false, 181), "html", null, true); echo "\"> "; // line 183 echo _gettext("Move Menu"); // line 184 echo " env, (($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 = ($context["params_array"] ?? null)) && is_array($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666) || $__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 instanceof ArrayAccess ? ($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666["pin_text"] ?? null) : null), "html", null, true); echo "\" id=\"pin_Text\"> \"\" data-right=\""; // line 189 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/anchor.png"], "method", false, false, false, 189), "html", null, true); echo "\" src=\""; // line 190 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/anchor.png"], "method", false, false, false, 190), "html", null, true); echo "\"> "; // line 192 echo _gettext("Pin text"); // line 193 echo "
"; // line 224 echo "
"; // line 225 echo _gettext("Number of tables:"); echo " 0
env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/resizeright.png"], "method", false, false, false, 230), "html", null, true); echo "\" src=\""; // line 231 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/resize.png"], "method", false, false, false, 231), "html", null, true); echo "\">
"; // line 235 echo " "; $this->loadTemplate("database/designer/database_tables.twig", "database/designer/main.twig", 235)->display(twig_to_array(["db" => // line 236 ($context["db"] ?? null), "get_db" => // line 237 ($context["get_db"] ?? null), "has_query" => // line 238 ($context["has_query"] ?? null), "tab_pos" => // line 239 ($context["tab_pos"] ?? null), "display_page" => // line 240 ($context["display_page"] ?? null), "tab_column" => // line 241 ($context["tab_column"] ?? null), "tables_all_keys" => // line 242 ($context["tables_all_keys"] ?? null), "tables_pk_or_unique_keys" => // line 243 ($context["tables_pk_or_unique_keys"] ?? null), "columns_type" => // line 244 ($context["columns_type"] ?? null), "tables" => // line 245 ($context["designerTables"] ?? null), "theme" => // line 246 ($context["theme"] ?? null)])); // line 248 echo "
"; // line 252 echo "
"; // line 273 echo _gettext("Create relationship"); // line 274 echo "
FOREIGN KEY
on delete
on update
"; // line 363 echo "
"; // line 383 echo _gettext("Delete relationship"); // line 384 echo "
"; // line 412 if (($context["has_query"] ?? null)) { // line 413 echo " "; // line 414 echo "
WHERE
"; // line 447 echo _gettext("Relationship operator"); // line 448 echo "
"; // line 486 echo _gettext("Value"); // line 487 echo "
"; // line 488 echo _gettext("subquery"); // line 489 echo "
"; // line 497 echo _gettext("Rename to"); // line 498 echo "
"; // line 503 echo _gettext("New name"); // line 504 echo "
"; // line 512 echo _gettext("Aggregate"); // line 513 echo "
"; // line 518 echo _gettext("Operator"); // line 519 echo "
GROUP BY
ORDER BY
HAVING
"; // line 582 echo _gettext("Operator"); // line 583 echo "
"; // line 612 echo _gettext("Relationship operator"); // line 613 echo "
"; // line 651 echo _gettext("Value"); // line 652 echo "
"; // line 653 echo _gettext("subquery"); // line 654 echo "
"; // line 692 echo "
"; // line 713 echo _gettext("Rename to"); // line 714 echo "
"; // line 721 echo _gettext("New name"); // line 722 echo "
"; // line 758 echo "
HAVING
"; // line 787 echo _gettext("Operator"); // line 788 echo "
"; // line 818 echo _gettext("Operator"); // line 819 echo "
"; // line 857 echo _gettext("Value"); // line 858 echo "
"; // line 859 echo _gettext("subquery"); // line 860 echo "
"; // line 897 echo "
"; // line 918 echo _gettext("Aggregate"); // line 919 echo "
"; // line 926 echo _gettext("Operator"); // line 927 echo "
"; // line 982 echo "
WHERE
"; // line 1011 echo _gettext("Operator"); // line 1012 echo "
"; // line 1050 echo _gettext("Value"); // line 1051 echo "
"; // line 1052 echo _gettext("subquery"); // line 1053 echo "
"; // line 1088 echo "
"; // line 1093 echo _gettext("Active options"); echo "
"; // line 1098 echo PhpMyAdmin\Url::getHiddenInputs(($context["get_db"] ?? null)); echo "
"; } // line 1102 echo "
"; } public function getTemplateName() { return "database/designer/main.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 1596 => 1102, 1589 => 1098, 1581 => 1093, 1574 => 1088, 1550 => 1066, 1545 => 1064, 1532 => 1053, 1530 => 1052, 1527 => 1051, 1525 => 1050, 1514 => 1041, 1512 => 1040, 1482 => 1012, 1480 => 1011, 1449 => 982, 1425 => 960, 1418 => 956, 1387 => 927, 1385 => 926, 1376 => 919, 1374 => 918, 1351 => 897, 1327 => 875, 1320 => 871, 1307 => 860, 1305 => 859, 1302 => 858, 1300 => 857, 1289 => 848, 1287 => 847, 1257 => 819, 1255 => 818, 1223 => 788, 1221 => 787, 1190 => 758, 1166 => 736, 1159 => 732, 1147 => 722, 1145 => 721, 1136 => 714, 1134 => 713, 1111 => 692, 1087 => 670, 1082 => 668, 1066 => 654, 1064 => 653, 1061 => 652, 1059 => 651, 1048 => 642, 1046 => 641, 1016 => 613, 1014 => 612, 991 => 591, 989 => 590, 980 => 583, 978 => 582, 913 => 519, 911 => 518, 904 => 513, 902 => 512, 892 => 504, 890 => 503, 883 => 498, 881 => 497, 871 => 489, 869 => 488, 866 => 487, 864 => 486, 853 => 477, 851 => 476, 821 => 448, 819 => 447, 784 => 414, 782 => 413, 780 => 412, 757 => 392, 752 => 390, 744 => 384, 742 => 383, 720 => 363, 696 => 341, 691 => 339, 624 => 274, 622 => 273, 599 => 252, 594 => 248, 592 => 246, 591 => 245, 590 => 244, 589 => 243, 588 => 242, 587 => 241, 586 => 240, 585 => 239, 584 => 238, 583 => 237, 582 => 236, 580 => 235, 574 => 231, 570 => 230, 562 => 225, 559 => 224, 550 => 217, 546 => 216, 542 => 215, 538 => 214, 530 => 209, 526 => 208, 522 => 207, 516 => 204, 503 => 193, 501 => 192, 496 => 190, 492 => 189, 487 => 187, 483 => 186, 479 => 184, 477 => 183, 472 => 181, 468 => 180, 464 => 179, 459 => 178, 454 => 175, 452 => 174, 447 => 172, 443 => 171, 437 => 167, 432 => 164, 430 => 163, 425 => 161, 421 => 160, 418 => 159, 416 => 158, 412 => 156, 410 => 155, 405 => 153, 401 => 152, 397 => 151, 393 => 149, 391 => 148, 386 => 146, 382 => 145, 377 => 142, 375 => 141, 370 => 139, 366 => 138, 362 => 137, 357 => 135, 353 => 134, 349 => 132, 347 => 131, 340 => 129, 336 => 128, 332 => 126, 328 => 125, 323 => 123, 317 => 122, 312 => 121, 307 => 118, 305 => 117, 300 => 115, 296 => 114, 290 => 111, 286 => 109, 284 => 108, 279 => 106, 275 => 105, 270 => 102, 268 => 101, 263 => 99, 259 => 98, 254 => 95, 252 => 94, 247 => 92, 243 => 91, 238 => 88, 236 => 87, 231 => 85, 227 => 84, 222 => 81, 220 => 80, 215 => 78, 211 => 77, 206 => 74, 204 => 73, 199 => 71, 195 => 70, 190 => 67, 188 => 66, 183 => 64, 179 => 63, 174 => 60, 172 => 59, 167 => 57, 163 => 56, 158 => 53, 156 => 52, 151 => 50, 146 => 48, 143 => 47, 141 => 46, 137 => 44, 135 => 43, 130 => 41, 126 => 40, 121 => 37, 119 => 36, 115 => 35, 111 => 34, 106 => 32, 102 => 31, 98 => 30, 94 => 29, 89 => 26, 87 => 25, 82 => 23, 78 => 22, 74 => 21, 69 => 19, 65 => 17, 58 => 13, 52 => 10, 48 => 8, 46 => 7, 40 => 3, 37 => 2,); } public function getSourceContext() { return new Source("", "database/designer/main.twig", "/var/www/localhost/htdocs/phpmyadmin/templates/database/designer/main.twig"); } }