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, (((($context["selected_page"] ?? null) == null)) ? (_gettext("Untitled")) : (($context["selected_page"] ?? null))), "html", null, true); echo " "; // line 13 echo (((($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, 113), "html", null, true); echo "\"> "; // line 115 echo _gettext("Help"); // line 116 echo " "; } // line 119 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, 121), "html", null, true); echo "\"> "; // line 123 echo _gettext("Angular links"); echo " / "; echo _gettext("Direct links"); // line 124 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, 127), "html", null, true); echo "\"> "; // line 129 echo _gettext("Snap to grid"); // line 130 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, 135), "html", null, true); echo "\" data-down=\""; // line 136 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, 136), "html", null, true); echo "\" data-right=\""; // line 137 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, 137), "html", null, true); echo "\"> "; // line 139 echo _gettext("Small/Big All"); // line 140 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/bottom.png"], "method", false, false, false, 144), "html", null, true); echo "\"> "; // line 146 echo _gettext("Toggle small/big"); // line 147 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, 151), "html", null, true); echo "\"> "; // line 153 echo _gettext("Toggle relationship lines"); // line 154 echo " "; // line 156 if ( !($context["visual_builder"] ?? null)) { // line 157 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/export.png"], "method", false, false, false, 159), "html", null, true); echo "\"> "; // line 161 echo _gettext("Export schema"); // line 162 echo " "; } else { // line 165 echo " env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/query_builder.png"], "method", false, false, false, 170), "html", null, true); echo "\"> "; // line 172 echo _gettext("Build Query"); // line 173 echo " "; } // line 176 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 178 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, 178), "html", null, true); echo "\" src=\""; // line 179 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, 179), "html", null, true); echo "\"> "; // line 181 echo _gettext("Move Menu"); // line 182 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 187 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, 187), "html", null, true); echo "\" src=\""; // line 188 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, 188), "html", null, true); echo "\"> "; // line 190 echo _gettext("Pin text"); // line 191 echo "
"; // line 222 echo "
"; // line 223 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, 228), "html", null, true); echo "\" src=\""; // line 229 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, 229), "html", null, true); echo "\">
"; // line 233 echo " "; $this->loadTemplate("database/designer/database_tables.twig", "database/designer/main.twig", 233)->display(twig_to_array(["db" => // line 234 ($context["db"] ?? null), "text_dir" => // line 235 ($context["text_dir"] ?? null), "get_db" => // line 236 ($context["get_db"] ?? null), "has_query" => // line 237 ($context["has_query"] ?? null), "tab_pos" => // line 238 ($context["tab_pos"] ?? null), "display_page" => // line 239 ($context["display_page"] ?? null), "tab_column" => // line 240 ($context["tab_column"] ?? null), "tables_all_keys" => // line 241 ($context["tables_all_keys"] ?? null), "tables_pk_or_unique_keys" => // line 242 ($context["tables_pk_or_unique_keys"] ?? null), "columns_type" => // line 243 ($context["columns_type"] ?? null), "tables" => // line 244 ($context["designerTables"] ?? null), "theme" => // line 245 ($context["theme"] ?? null)])); // line 247 echo "
"; // line 251 echo "
"; // line 272 echo _gettext("Create relationship"); // line 273 echo "
FOREIGN KEY
on delete
on update
"; // line 362 echo "
"; // line 382 echo _gettext("Delete relationship"); // line 383 echo "
"; // line 411 if (($context["has_query"] ?? null)) { // line 412 echo " "; // line 413 echo "
WHERE
"; // line 446 echo _gettext("Relationship operator"); // line 447 echo "
"; // line 485 echo _gettext("Value"); // line 486 echo "
"; // line 487 echo _gettext("subquery"); // line 488 echo "
"; // line 496 echo _gettext("Rename to"); // line 497 echo "
"; // line 502 echo _gettext("New name"); // line 503 echo "
"; // line 511 echo _gettext("Aggregate"); // line 512 echo "
"; // line 517 echo _gettext("Operator"); // line 518 echo "
GROUP BY
ORDER BY
HAVING
"; // line 581 echo _gettext("Operator"); // line 582 echo "
"; // line 611 echo _gettext("Relationship operator"); // line 612 echo "
"; // line 650 echo _gettext("Value"); // line 651 echo "
"; // line 652 echo _gettext("subquery"); // line 653 echo "
"; // line 691 echo "
"; // line 712 echo _gettext("Rename to"); // line 713 echo "
"; // line 720 echo _gettext("New name"); // line 721 echo "
"; // line 757 echo "
HAVING
"; // line 786 echo _gettext("Operator"); // line 787 echo "
"; // line 817 echo _gettext("Operator"); // line 818 echo "
"; // line 856 echo _gettext("Value"); // line 857 echo "
"; // line 858 echo _gettext("subquery"); // line 859 echo "
"; // line 896 echo "
"; // line 917 echo _gettext("Aggregate"); // line 918 echo "
"; // line 925 echo _gettext("Operator"); // line 926 echo "
"; // line 981 echo "
WHERE
"; // line 1010 echo _gettext("Operator"); // line 1011 echo "
"; // line 1049 echo _gettext("Value"); // line 1050 echo "
"; // line 1051 echo _gettext("subquery"); // line 1052 echo "
"; // line 1086 echo "
"; // line 1091 echo _gettext("Active options"); echo "
"; // line 1096 echo PhpMyAdmin\Url::getHiddenInputs(($context["get_db"] ?? null)); echo "
"; } // line 1100 echo "
"; } public function getTemplateName() { return "database/designer/main.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 1597 => 1100, 1590 => 1096, 1584 => 1093, 1579 => 1091, 1572 => 1086, 1548 => 1064, 1543 => 1062, 1531 => 1052, 1529 => 1051, 1526 => 1050, 1524 => 1049, 1513 => 1040, 1511 => 1039, 1481 => 1011, 1479 => 1010, 1448 => 981, 1424 => 959, 1417 => 955, 1386 => 926, 1384 => 925, 1375 => 918, 1373 => 917, 1350 => 896, 1326 => 874, 1319 => 870, 1306 => 859, 1304 => 858, 1301 => 857, 1299 => 856, 1288 => 847, 1286 => 846, 1256 => 818, 1254 => 817, 1222 => 787, 1220 => 786, 1189 => 757, 1165 => 735, 1158 => 731, 1146 => 721, 1144 => 720, 1135 => 713, 1133 => 712, 1110 => 691, 1086 => 669, 1081 => 667, 1065 => 653, 1063 => 652, 1060 => 651, 1058 => 650, 1047 => 641, 1045 => 640, 1015 => 612, 1013 => 611, 990 => 590, 988 => 589, 979 => 582, 977 => 581, 912 => 518, 910 => 517, 903 => 512, 901 => 511, 891 => 503, 889 => 502, 882 => 497, 880 => 496, 870 => 488, 868 => 487, 865 => 486, 863 => 485, 852 => 476, 850 => 475, 820 => 447, 818 => 446, 783 => 413, 781 => 412, 779 => 411, 756 => 391, 751 => 389, 743 => 383, 741 => 382, 719 => 362, 695 => 340, 690 => 338, 623 => 273, 621 => 272, 598 => 251, 593 => 247, 591 => 245, 590 => 244, 589 => 243, 588 => 242, 587 => 241, 586 => 240, 585 => 239, 584 => 238, 583 => 237, 582 => 236, 581 => 235, 580 => 234, 578 => 233, 572 => 229, 568 => 228, 560 => 223, 557 => 222, 548 => 215, 544 => 214, 540 => 213, 536 => 212, 528 => 207, 524 => 206, 520 => 205, 514 => 202, 501 => 191, 499 => 190, 494 => 188, 490 => 187, 485 => 185, 481 => 184, 477 => 182, 475 => 181, 470 => 179, 466 => 178, 462 => 177, 457 => 176, 452 => 173, 450 => 172, 445 => 170, 441 => 169, 435 => 165, 430 => 162, 428 => 161, 423 => 159, 419 => 158, 416 => 157, 414 => 156, 410 => 154, 408 => 153, 403 => 151, 399 => 150, 395 => 149, 391 => 147, 389 => 146, 384 => 144, 380 => 143, 375 => 140, 373 => 139, 368 => 137, 364 => 136, 360 => 135, 355 => 133, 351 => 132, 347 => 130, 345 => 129, 338 => 127, 334 => 126, 330 => 124, 326 => 123, 321 => 121, 315 => 120, 310 => 119, 305 => 116, 303 => 115, 298 => 113, 294 => 112, 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"); } }