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, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/downarrow2_m.png"), "html", null, true); echo "\" data-down=\""; // line 22 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/downarrow2_m.png"), "html", null, true); echo "\" data-up=\""; // line 23 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/uparrow2_m.png"), "html", null, true); echo "\"> "; echo _gettext("Show/Hide tables list"); // line 26 echo " env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/viewInFullscreen.png"), "html", null, true); echo "\" data-enter=\""; // line 31 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/viewInFullscreen.png"), "html", null, true); echo "\" data-exit=\""; // line 32 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/exitFullscreen.png"), "html", null, true); echo "\"> "; echo _gettext("View in fullscreen"); // line 37 echo " env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/other_table.png"), "html", null, true); echo "\"> "; echo _gettext("Add tables from other databases"); // line 44 echo " "; // line 46 if ( !($context["has_query"] ?? null)) { // line 47 echo " \"\"env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/page_add.png"), "html", null, true); echo "\"> "; echo _gettext("New page"); // line 53 echo " env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/page_edit.png"), "html", null, true); echo "\"> "; echo _gettext("Open page"); // line 60 echo " env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/save.png"), "html", null, true); echo "\"> "; echo _gettext("Save page"); // line 67 echo " env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/save_as.png"), "html", null, true); echo "\"> "; echo _gettext("Save page as"); // line 74 echo " env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/page_delete.png"), "html", null, true); echo "\"> "; echo _gettext("Delete pages"); // line 81 echo " env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/table.png"), "html", null, true); echo "\"> "; echo _gettext("Create table"); // line 88 echo " env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/relation.png"), "html", null, true); echo "\"> "; echo _gettext("Create relationship"); // line 95 echo " env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/display_field.png"), "html", null, true); echo "\"> "; echo _gettext("Choose column to display"); // line 102 echo " env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/reload.png"), "html", null, true); echo "\"> "; echo _gettext("Reload"); // line 109 echo " env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/help.png"), "html", null, true); echo "\"> "; echo _gettext("Help"); // line 116 echo " "; } // line 119 echo " env, (($__internal_compile_0 = ($context["params_array"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["angular_direct"] ?? null) : null), "html", null, true); echo "\" id=\"angular_direct_button\"> env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/ang_direct.png"), "html", null, true); echo "\"> "; echo _gettext("Angular links"); // line 123 echo " / "; echo _gettext("Direct links"); // line 124 echo " env, (($__internal_compile_1 = ($context["params_array"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["snap_to_grid"] ?? null) : null), "html", null, true); echo "\" id=\"grid_button\"> env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/grid.png"), "html", null, true); echo "\"> "; echo _gettext("Snap to grid"); // line 130 echo " env, (($__internal_compile_2 = ($context["params_array"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["small_big_all"] ?? null) : null), "html", null, true); echo "\" id=\"key_SB_all\"> \"v\"env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/downarrow1.png"), "html", null, true); echo "\" data-down=\""; // line 136 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/downarrow1.png"), "html", null, true); echo "\" data-right=\""; // line 137 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/rightarrow1.png"), "html", null, true); echo "\"> "; echo _gettext("Small/Big All"); // line 140 echo " env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/bottom.png"), "html", null, true); echo "\"> "; echo _gettext("Toggle small/big"); // line 147 echo " env, (($__internal_compile_3 = ($context["params_array"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["relation_lines"] ?? null) : null), "html", null, true); echo "\" > env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/toggle_lines.png"), "html", null, true); echo "\"> "; echo _gettext("Toggle relationship lines"); // line 154 echo " "; // line 156 if ( !($context["visual_builder"] ?? null)) { // line 157 echo " env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/export.png"), "html", null, true); echo "\"> "; echo _gettext("Export schema"); // line 162 echo " "; } else { // line 165 echo " env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/query_builder.png"), "html", null, true); echo "\"> "; echo _gettext("Build Query"); // line 173 echo " "; } // line 176 echo " env, (($__internal_compile_4 = ($context["params_array"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["side_menu"] ?? null) : null), "html", null, true); echo "\" id=\"key_Left_Right\"> \"\" data-right=\""; // line 178 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/2leftarrow_m.png"), "html", null, true); echo "\" src=\""; // line 179 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/2rightarrow_m.png"), "html", null, true); echo "\"> "; echo _gettext("Move Menu"); // line 182 echo " env, (($__internal_compile_5 = ($context["params_array"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["pin_text"] ?? null) : null), "html", null, true); echo "\" id=\"pin_Text\"> \"\" data-right=\""; // line 187 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/anchor.png"), "html", null, true); echo "\" src=\""; // line 188 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("designer/anchor.png"), "html", null, true); echo "\"> "; echo _gettext("Pin text"); // line 191 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)])); // line 246 echo "
"; // line 250 echo "
"; echo _gettext("Create relationship"); // line 272 echo "
FOREIGN KEY
on delete
on update
"; // line 361 echo "
"; echo _gettext("Delete relationship"); // line 382 echo "
"; // line 410 if (($context["has_query"] ?? null)) { // line 411 echo " "; // line 412 echo "
WHERE
"; echo _gettext("Relationship operator"); // line 446 echo "
"; echo _gettext("Value"); // line 485 echo "
"; echo _gettext("subquery"); // line 487 echo "
"; echo _gettext("Rename to"); // line 496 echo "
"; echo _gettext("New name"); // line 502 echo "
"; echo _gettext("Aggregate"); // line 511 echo "
"; echo _gettext("Operator"); // line 517 echo "
GROUP BY
ORDER BY
HAVING
"; echo _gettext("Operator"); // line 581 echo "
"; echo _gettext("Relationship operator"); // line 611 echo "
"; echo _gettext("Value"); // line 650 echo "
"; echo _gettext("subquery"); // line 652 echo "
"; // line 690 echo "
"; echo _gettext("Rename to"); // line 712 echo "
"; echo _gettext("New name"); // line 720 echo "
"; // line 756 echo "
HAVING
"; echo _gettext("Operator"); // line 786 echo "
"; echo _gettext("Operator"); // line 817 echo "
"; echo _gettext("Value"); // line 856 echo "
"; echo _gettext("subquery"); // line 858 echo "
"; // line 895 echo "
"; echo _gettext("Aggregate"); // line 917 echo "
"; echo _gettext("Operator"); // line 925 echo "
"; // line 980 echo "
WHERE
"; echo _gettext("Operator"); // line 1010 echo "
"; echo _gettext("Value"); // line 1049 echo "
"; echo _gettext("subquery"); // line 1051 echo "
"; // line 1085 echo "
"; echo _gettext("Active options"); // line 1090 echo " "; } // line 1092 echo "
"; echo _gettext("Loading"); // line 1097 echo "
"; echo _gettext("Loading"); // line 1112 echo "
"; // line 1124 if (($context["visual_builder"] ?? null)) { // line 1125 echo " "; echo twig_include($this->env, $context, "modals/build_query.twig", ["get_db" => ($context["get_db"] ?? null)]); echo " "; } } public function getTemplateName() { return "database/designer/main.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 1596 => 1125, 1594 => 1124, 1587 => 1119, 1583 => 1118, 1579 => 1117, 1572 => 1113, 1568 => 1112, 1556 => 1103, 1552 => 1102, 1545 => 1098, 1541 => 1097, 1533 => 1092, 1529 => 1090, 1521 => 1085, 1498 => 1063, 1493 => 1061, 1480 => 1051, 1476 => 1049, 1464 => 1039, 1433 => 1010, 1401 => 980, 1378 => 958, 1371 => 954, 1339 => 925, 1329 => 917, 1305 => 895, 1282 => 873, 1275 => 869, 1261 => 858, 1257 => 856, 1245 => 846, 1214 => 817, 1181 => 786, 1149 => 756, 1126 => 734, 1119 => 730, 1106 => 720, 1096 => 712, 1072 => 690, 1049 => 668, 1044 => 666, 1027 => 652, 1023 => 650, 1011 => 640, 980 => 611, 956 => 589, 946 => 581, 880 => 517, 872 => 511, 861 => 502, 853 => 496, 842 => 487, 838 => 485, 826 => 475, 795 => 446, 759 => 412, 757 => 411, 755 => 410, 733 => 390, 728 => 388, 719 => 382, 696 => 361, 673 => 339, 668 => 337, 600 => 272, 576 => 250, 571 => 246, 569 => 244, 568 => 243, 567 => 242, 566 => 241, 565 => 240, 564 => 239, 563 => 238, 562 => 237, 561 => 236, 560 => 235, 559 => 234, 557 => 233, 551 => 229, 547 => 228, 540 => 223, 536 => 222, 527 => 215, 523 => 214, 519 => 213, 516 => 212, 507 => 207, 503 => 206, 499 => 205, 494 => 202, 480 => 191, 474 => 188, 470 => 187, 466 => 185, 461 => 184, 457 => 182, 451 => 179, 447 => 178, 444 => 177, 438 => 176, 433 => 173, 427 => 170, 424 => 169, 417 => 165, 412 => 162, 406 => 159, 403 => 158, 399 => 157, 397 => 156, 393 => 154, 387 => 151, 384 => 150, 379 => 149, 375 => 147, 369 => 144, 366 => 143, 360 => 140, 354 => 137, 350 => 136, 346 => 135, 342 => 133, 337 => 132, 333 => 130, 326 => 127, 321 => 126, 317 => 124, 314 => 123, 308 => 121, 303 => 120, 297 => 119, 292 => 116, 286 => 113, 283 => 112, 278 => 111, 274 => 109, 268 => 106, 265 => 105, 259 => 102, 253 => 99, 250 => 98, 244 => 95, 238 => 92, 235 => 91, 229 => 88, 223 => 85, 220 => 84, 214 => 81, 208 => 78, 205 => 77, 199 => 74, 193 => 71, 190 => 70, 184 => 67, 178 => 64, 175 => 63, 169 => 60, 163 => 57, 160 => 56, 154 => 53, 148 => 50, 144 => 48, 140 => 47, 138 => 46, 134 => 44, 128 => 41, 125 => 40, 119 => 37, 115 => 35, 111 => 34, 105 => 32, 101 => 31, 97 => 30, 94 => 29, 88 => 26, 82 => 23, 78 => 22, 74 => 21, 70 => 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", "D:\\laragon\\www\\mysqladmin\\templates\\database\\designer\\main.twig"); } }