source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 2 ob_start(function () { return ''; }); // line 3 echo " "; $___internal_3fa1e800072cdcead317d53b67919a85f9c042a6284f853009937b8c54e1be6e_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 2 echo twig_spaceless($___internal_3fa1e800072cdcead317d53b67919a85f9c042a6284f853009937b8c54e1be6e_); // line 7 echo " "; // line 9 if ( !($context["has_query"] ?? null)) { // line 10 echo "
"; // line 12 echo twig_escape_filter($this->env, (((($context["selected_page"] ?? null) == null)) ? (_gettext("Untitled")) : (($context["selected_page"] ?? null))), "html", null, true); echo " "; // line 15 echo (((($context["selected_page"] ?? null) == null)) ? ("*") : ("")); echo "
"; } // line 19 echo "
\"v\"env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/downarrow2_m.png"], "method", false, false, false, 23), "html", null, true); echo "\" data-down=\""; // line 24 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, 24), "html", null, true); echo "\" data-up=\""; // line 25 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, 25), "html", null, true); echo "\"> "; // line 27 echo _gettext("Show/Hide tables list"); // line 28 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/viewInFullscreen.png"], "method", false, false, false, 32), "html", null, true); echo "\" data-enter=\""; // line 33 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, 33), "html", null, true); echo "\" data-exit=\""; // line 34 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, 34), "html", null, true); echo "\"> "; // line 38 echo _gettext("View in fullscreen"); // line 39 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/other_table.png"], "method", false, false, false, 43), "html", null, true); echo "\"> "; // line 45 echo _gettext("Add tables from other databases"); // line 46 echo " "; // line 48 if ( !($context["has_query"] ?? null)) { // line 49 echo " \"\"env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/page_add.png"], "method", false, false, false, 52), "html", null, true); echo "\"> "; // line 54 echo _gettext("New page"); // line 55 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/page_edit.png"], "method", false, false, false, 59), "html", null, true); echo "\"> "; // line 61 echo _gettext("Open page"); // line 62 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/save.png"], "method", false, false, false, 66), "html", null, true); echo "\"> "; // line 68 echo _gettext("Save page"); // line 69 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/save_as.png"], "method", false, false, false, 73), "html", null, true); echo "\"> "; // line 75 echo _gettext("Save page as"); // line 76 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/page_delete.png"], "method", false, false, false, 80), "html", null, true); echo "\"> "; // line 82 echo _gettext("Delete pages"); // line 83 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/table.png"], "method", false, false, false, 87), "html", null, true); echo "\"> "; // line 89 echo _gettext("Create table"); // line 90 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/relation.png"], "method", false, false, false, 94), "html", null, true); echo "\"> "; // line 96 echo _gettext("Create relationship"); // line 97 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/display_field.png"], "method", false, false, false, 101), "html", null, true); echo "\"> "; // line 103 echo _gettext("Choose column to display"); // line 104 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/reload.png"], "method", false, false, false, 108), "html", null, true); echo "\"> "; // line 110 echo _gettext("Reload"); // line 111 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/help.png"], "method", false, false, false, 117), "html", null, true); echo "\"> "; // line 119 echo _gettext("Help"); // line 120 echo " "; } // line 123 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, 125), "html", null, true); echo "\"> "; // line 127 echo _gettext("Angular links"); echo " / "; echo _gettext("Direct links"); // line 128 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, 131), "html", null, true); echo "\"> "; // line 133 echo _gettext("Snap to grid"); // line 134 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, 139), "html", null, true); echo "\" data-down=\""; // line 140 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, 140), "html", null, true); echo "\" data-right=\""; // line 141 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, 141), "html", null, true); echo "\"> "; // line 143 echo _gettext("Small/Big All"); // line 144 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/bottom.png"], "method", false, false, false, 148), "html", null, true); echo "\"> "; // line 150 echo _gettext("Toggle small/big"); // line 151 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, 155), "html", null, true); echo "\"> "; // line 157 echo _gettext("Toggle relationship lines"); // line 158 echo " "; // line 160 if ( !($context["visual_builder"] ?? null)) { // line 161 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/export.png"], "method", false, false, false, 163), "html", null, true); echo "\"> "; // line 165 echo _gettext("Export schema"); // line 166 echo " "; } else { // line 169 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/query_builder.png"], "method", false, false, false, 174), "html", null, true); echo "\"> "; // line 176 echo _gettext("Build Query"); // line 177 echo " "; } // line 180 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 182 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, 182), "html", null, true); echo "\" src=\""; // line 183 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, 183), "html", null, true); echo "\"> "; // line 185 echo _gettext("Move Menu"); // line 186 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 191 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, 191), "html", null, true); echo "\" src=\""; // line 192 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, 192), "html", null, true); echo "\"> "; // line 194 echo _gettext("Pin text"); // line 195 echo "
"; // line 226 echo "
"; // line 227 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, 232), "html", null, true); echo "\" src=\""; // line 233 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, 233), "html", null, true); echo "\">
"; // line 238 echo " "; $this->loadTemplate("database/designer/database_tables.twig", "database/designer/main.twig", 238)->display(twig_to_array(["db" => // line 239 ($context["db"] ?? null), "get_db" => // line 240 ($context["get_db"] ?? null), "has_query" => // line 241 ($context["has_query"] ?? null), "tab_pos" => // line 242 ($context["tab_pos"] ?? null), "display_page" => // line 243 ($context["display_page"] ?? null), "tab_column" => // line 244 ($context["tab_column"] ?? null), "tables_all_keys" => // line 245 ($context["tables_all_keys"] ?? null), "tables_pk_or_unique_keys" => // line 246 ($context["tables_pk_or_unique_keys"] ?? null), "columns_type" => // line 247 ($context["columns_type"] ?? null), "tables" => // line 248 ($context["designerTables"] ?? null), "theme" => // line 249 ($context["theme"] ?? null)])); // line 251 echo "
"; // line 255 echo "
"; // line 276 echo _gettext("Create relationship"); // line 277 echo "
FOREIGN KEY
on delete
on update
"; // line 366 echo "
"; // line 386 echo _gettext("Delete relationship"); // line 387 echo "
"; // line 415 if (($context["has_query"] ?? null)) { // line 416 echo " "; // line 417 echo "
WHERE
"; // line 450 echo _gettext("Relationship operator"); // line 451 echo "
"; // line 489 echo _gettext("Value"); // line 490 echo "
"; // line 491 echo _gettext("subquery"); // line 492 echo "
"; // line 500 echo _gettext("Rename to"); // line 501 echo "
"; // line 506 echo _gettext("New name"); // line 507 echo "
"; // line 515 echo _gettext("Aggregate"); // line 516 echo "
"; // line 521 echo _gettext("Operator"); // line 522 echo "
GROUP BY
ORDER BY
HAVING
"; // line 585 echo _gettext("Operator"); // line 586 echo "
"; // line 615 echo _gettext("Relationship operator"); // line 616 echo "
"; // line 654 echo _gettext("Value"); // line 655 echo "
"; // line 656 echo _gettext("subquery"); // line 657 echo "
"; // line 695 echo "
"; // line 716 echo _gettext("Rename to"); // line 717 echo "
"; // line 724 echo _gettext("New name"); // line 725 echo "
"; // line 761 echo "
HAVING
"; // line 790 echo _gettext("Operator"); // line 791 echo "
"; // line 821 echo _gettext("Operator"); // line 822 echo "
"; // line 860 echo _gettext("Value"); // line 861 echo "
"; // line 862 echo _gettext("subquery"); // line 863 echo "
"; // line 900 echo "
"; // line 921 echo _gettext("Aggregate"); // line 922 echo "
"; // line 929 echo _gettext("Operator"); // line 930 echo "
"; // line 985 echo "
WHERE
"; // line 1014 echo _gettext("Operator"); // line 1015 echo "
"; // line 1053 echo _gettext("Value"); // line 1054 echo "
"; // line 1055 echo _gettext("subquery"); // line 1056 echo "
"; // line 1091 echo "
"; // line 1096 echo _gettext("Active options"); echo "
"; // line 1101 echo PhpMyAdmin\Url::getHiddenInputs(($context["get_db"] ?? null)); echo "
"; } // line 1105 echo "
"; } public function getTemplateName() { return "database/designer/main.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 1604 => 1105, 1597 => 1101, 1589 => 1096, 1582 => 1091, 1558 => 1069, 1553 => 1067, 1540 => 1056, 1538 => 1055, 1535 => 1054, 1533 => 1053, 1522 => 1044, 1520 => 1043, 1490 => 1015, 1488 => 1014, 1457 => 985, 1433 => 963, 1426 => 959, 1395 => 930, 1393 => 929, 1384 => 922, 1382 => 921, 1359 => 900, 1335 => 878, 1328 => 874, 1315 => 863, 1313 => 862, 1310 => 861, 1308 => 860, 1297 => 851, 1295 => 850, 1265 => 822, 1263 => 821, 1231 => 791, 1229 => 790, 1198 => 761, 1174 => 739, 1167 => 735, 1155 => 725, 1153 => 724, 1144 => 717, 1142 => 716, 1119 => 695, 1095 => 673, 1090 => 671, 1074 => 657, 1072 => 656, 1069 => 655, 1067 => 654, 1056 => 645, 1054 => 644, 1024 => 616, 1022 => 615, 999 => 594, 997 => 593, 988 => 586, 986 => 585, 921 => 522, 919 => 521, 912 => 516, 910 => 515, 900 => 507, 898 => 506, 891 => 501, 889 => 500, 879 => 492, 877 => 491, 874 => 490, 872 => 489, 861 => 480, 859 => 479, 829 => 451, 827 => 450, 792 => 417, 790 => 416, 788 => 415, 765 => 395, 760 => 393, 752 => 387, 750 => 386, 728 => 366, 704 => 344, 699 => 342, 632 => 277, 630 => 276, 607 => 255, 602 => 251, 600 => 249, 599 => 248, 598 => 247, 597 => 246, 596 => 245, 595 => 244, 594 => 243, 593 => 242, 592 => 241, 591 => 240, 590 => 239, 588 => 238, 581 => 233, 577 => 232, 569 => 227, 566 => 226, 557 => 219, 553 => 218, 549 => 217, 545 => 216, 537 => 211, 533 => 210, 529 => 209, 523 => 206, 510 => 195, 508 => 194, 503 => 192, 499 => 191, 494 => 189, 490 => 188, 486 => 186, 484 => 185, 479 => 183, 475 => 182, 471 => 181, 466 => 180, 461 => 177, 459 => 176, 454 => 174, 450 => 173, 444 => 169, 439 => 166, 437 => 165, 432 => 163, 428 => 162, 425 => 161, 423 => 160, 419 => 158, 417 => 157, 412 => 155, 408 => 154, 404 => 153, 400 => 151, 398 => 150, 393 => 148, 389 => 147, 384 => 144, 382 => 143, 377 => 141, 373 => 140, 369 => 139, 364 => 137, 360 => 136, 356 => 134, 354 => 133, 347 => 131, 343 => 130, 339 => 128, 335 => 127, 330 => 125, 324 => 124, 319 => 123, 314 => 120, 312 => 119, 307 => 117, 303 => 116, 297 => 113, 293 => 111, 291 => 110, 286 => 108, 282 => 107, 277 => 104, 275 => 103, 270 => 101, 266 => 100, 261 => 97, 259 => 96, 254 => 94, 250 => 93, 245 => 90, 243 => 89, 238 => 87, 234 => 86, 229 => 83, 227 => 82, 222 => 80, 218 => 79, 213 => 76, 211 => 75, 206 => 73, 202 => 72, 197 => 69, 195 => 68, 190 => 66, 186 => 65, 181 => 62, 179 => 61, 174 => 59, 170 => 58, 165 => 55, 163 => 54, 158 => 52, 153 => 50, 150 => 49, 148 => 48, 144 => 46, 142 => 45, 137 => 43, 133 => 42, 128 => 39, 126 => 38, 122 => 37, 118 => 36, 113 => 34, 109 => 33, 105 => 32, 101 => 31, 96 => 28, 94 => 27, 89 => 25, 85 => 24, 81 => 23, 76 => 21, 72 => 19, 65 => 15, 59 => 12, 55 => 10, 53 => 9, 50 => 7, 48 => 2, 42 => 4, 39 => 3, 37 => 2,); } public function getSourceContext() { return new Source("", "database/designer/main.twig", "/var/www/localhost/htdocs/phpmyadmin/templates/database/designer/main.twig"); } }