Viewing file: bc1f7869ccb86447fac7c070ab26c3a7c8fb854649919b413d1c5e9ca32c6c5b.php (23.65 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template;
/* database/designer/side_menu.twig */ class __TwigTemplate_1db8f982d12f14477c938447a288020aae2a6baa17939392f3228f0da7b6fcf0 extends \Twig\Template { private $source; private $macros = [];
public function __construct(Environment $env) { parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [ ]; }
protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 if ( !($context["visual_builder"] ?? null)) { // line 2 echo " <div id=\"name-panel\"> <span id=\"page_name\"> "; // line 4 echo twig_escape_filter($this->env, (((($context["selected_page"] ?? null) == null)) ? (_gettext("Untitled")) : (($context["selected_page"] ?? null))), "html", null, true); echo " </span> <span id=\"saved_state\"> "; // line 7 echo (((($context["selected_page"] ?? null) == null)) ? ("*") : ("")); echo " </span> </div> "; } // line 11 echo "<div class=\"designer_header side-menu\" id=\"side_menu\"> <a class=\"M_butt\" id=\"key_Show_left_menu\" href=\"#\"> <img title=\""; // line 13 echo _gettext("Show/Hide tables list"); echo "\" alt=\"v\" src=\""; // line 15 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, 15), "html", null, true); echo "\" data-down=\""; // line 16 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, 16), "html", null, true); echo "\" data-up=\""; // line 17 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, 17), "html", null, true); echo "\" /> <span class=\"hide hidable\"> "; // line 19 echo _gettext("Show/Hide tables list"); // line 20 echo " </span> </a> <a href=\"#\" id=\"toggleFullscreen\" class=\"M_butt\"> <img title=\""; // line 23 echo _gettext("View in fullscreen"); echo "\" src=\""; // line 24 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, 24), "html", null, true); echo "\" data-enter=\""; // line 25 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, 25), "html", null, true); echo "\" data-exit=\""; // line 26 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, 26), "html", null, true); echo "\" /> <span class=\"hide hidable\" data-exit=\""; // line 28 echo _gettext("Exit fullscreen"); echo "\" data-enter=\""; // line 29 echo _gettext("View in fullscreen"); echo "\"> "; // line 30 echo _gettext("View in fullscreen"); // line 31 echo " </span> </a> <a href=\"#\" id=\"addOtherDbTables\" class=\"M_butt\"> <img title=\""; // line 34 echo _gettext("Add tables from other databases"); echo "\" src=\""; // line 35 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/other_table.png"], "method", false, false, false, 35), "html", null, true); echo "\"/> <span class=\"hide hidable\"> "; // line 37 echo _gettext("Add tables from other databases"); // line 38 echo " </span> </a> "; // line 40 if ( !($context["visual_builder"] ?? null)) { // line 41 echo " <a id=\"newPage\" href=\"#\" class=\"M_butt\"> <img title=\""; // line 42 echo _gettext("New page"); echo "\" alt=\"\" src=\""; // line 44 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/page_add.png"], "method", false, false, false, 44), "html", null, true); echo "\" /> <span class=\"hide hidable\"> "; // line 46 echo _gettext("New page"); // line 47 echo " </span> </a> <a href=\"#\" id=\"editPage\" class=\"M_butt ajax\"> <img title=\""; // line 50 echo _gettext("Open page"); echo "\" src=\""; // line 51 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/page_edit.png"], "method", false, false, false, 51), "html", null, true); echo "\" /> <span class=\"hide hidable\"> "; // line 53 echo _gettext("Open page"); // line 54 echo " </span> </a> <a href=\"#\" id=\"savePos\" class=\"M_butt\"> <img title=\""; // line 57 echo _gettext("Save page"); echo "\" src=\""; // line 58 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/save.png"], "method", false, false, false, 58), "html", null, true); echo "\" /> <span class=\"hide hidable\"> "; // line 60 echo _gettext("Save page"); // line 61 echo " </span> </a> <a href=\"#\" id=\"SaveAs\" class=\"M_butt ajax\"> <img title=\""; // line 64 echo _gettext("Save page as"); echo "\" src=\""; // line 65 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/save_as.png"], "method", false, false, false, 65), "html", null, true); echo "\" /> <span class=\"hide hidable\"> "; // line 67 echo _gettext("Save page as"); // line 68 echo " </span> </a> <a href=\"#\" id=\"delPages\" class=\"M_butt ajax\"> <img title=\""; // line 71 echo _gettext("Delete pages"); echo "\" src=\""; // line 72 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/page_delete.png"], "method", false, false, false, 72), "html", null, true); echo "\" /> <span class=\"hide hidable\"> "; // line 74 echo _gettext("Delete pages"); // line 75 echo " </span> </a> <a href=\"#\" id=\"StartTableNew\" class=\"M_butt\"> <img title=\""; // line 78 echo _gettext("Create table"); echo "\" src=\""; // line 79 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/table.png"], "method", false, false, false, 79), "html", null, true); echo "\" /> <span class=\"hide hidable\"> "; // line 81 echo _gettext("Create table"); // line 82 echo " </span> </a> <a href=\"#\" class=\"M_butt\" id=\"rel_button\"> <img title=\""; // line 85 echo _gettext("Create relationship"); echo "\" src=\""; // line 86 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/relation.png"], "method", false, false, false, 86), "html", null, true); echo "\" /> <span class=\"hide hidable\"> "; // line 88 echo _gettext("Create relationship"); // line 89 echo " </span> </a> <a href=\"#\" class=\"M_butt\" id=\"display_field_button\"> <img title=\""; // line 92 echo _gettext("Choose column to display"); echo "\" src=\""; // line 93 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/display_field.png"], "method", false, false, false, 93), "html", null, true); echo "\" /> <span class=\"hide hidable\"> "; // line 95 echo _gettext("Choose column to display"); // line 96 echo " </span> </a> <a href=\"#\" id=\"reloadPage\" class=\"M_butt\"> <img title=\""; // line 99 echo _gettext("Reload"); echo "\" src=\""; // line 100 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/reload.png"], "method", false, false, false, 100), "html", null, true); echo "\" /> <span class=\"hide hidable\"> "; // line 102 echo _gettext("Reload"); // line 103 echo " </span> </a> <a href=\""; // line 105 echo PhpMyAdmin\Util::getDocuLink("faq", "faq6-31"); echo "\" target=\"documentation\" class=\"M_butt\"> <img title=\""; // line 108 echo _gettext("Help"); echo "\" src=\""; // line 109 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/help.png"], "method", false, false, false, 109), "html", null, true); echo "\" /> <span class=\"hide hidable\"> "; // line 111 echo _gettext("Help"); // line 112 echo " </span> </a> "; } // line 115 echo " <a href=\"#\" class=\""; echo twig_escape_filter($this->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\"> <img title=\""; // line 116 echo _gettext("Angular links"); echo " / "; echo _gettext("Direct links"); echo "\" src=\""; // line 117 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/ang_direct.png"], "method", false, false, false, 117), "html", null, true); echo "\" /> <span class=\"hide hidable\"> "; // line 119 echo _gettext("Angular links"); echo " / "; echo _gettext("Direct links"); // line 120 echo " </span> </a> <a href=\"#\" class=\""; // line 122 echo twig_escape_filter($this->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\"> <img title=\""; // line 123 echo _gettext("Snap to grid"); echo "\" src=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/grid.png"], "method", false, false, false, 123), "html", null, true); echo "\" /> <span class=\"hide hidable\"> "; // line 125 echo _gettext("Snap to grid"); // line 126 echo " </span> </a> <a href=\"#\" class=\""; // line 128 echo twig_escape_filter($this->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\"> <img title=\""; // line 129 echo _gettext("Small/Big All"); echo "\" alt=\"v\" src=\""; // line 131 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, 131), "html", null, true); echo "\" data-down=\""; // line 132 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, 132), "html", null, true); echo "\" data-right=\""; // line 133 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, 133), "html", null, true); echo "\" /> <span class=\"hide hidable\"> "; // line 135 echo _gettext("Small/Big All"); // line 136 echo " </span> </a> <a href=\"#\" id=\"SmallTabInvert\" class=\"M_butt\"> <img title=\""; // line 139 echo _gettext("Toggle small/big"); echo "\" src=\""; // line 140 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/bottom.png"], "method", false, false, false, 140), "html", null, true); echo "\" /> <span class=\"hide hidable\"> "; // line 142 echo _gettext("Toggle small/big"); // line 143 echo " </span> </a> <a href=\"#\" id=\"relLineInvert\" class=\""; // line 145 echo twig_escape_filter($this->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 "\" > <img title=\""; // line 146 echo _gettext("Toggle relationship lines"); echo "\" src=\""; // line 147 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/toggle_lines.png"], "method", false, false, false, 147), "html", null, true); echo "\" /> <span class=\"hide hidable\"> "; // line 149 echo _gettext("Toggle relationship lines"); // line 150 echo " </span> </a> "; // line 152 if ( !($context["visual_builder"] ?? null)) { // line 153 echo " <a href=\"#\" id=\"exportPages\" class=\"M_butt\" > <img title=\""; // line 154 echo _gettext("Export schema"); echo "\" src=\""; // line 155 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/export.png"], "method", false, false, false, 155), "html", null, true); echo "\" /> <span class=\"hide hidable\"> "; // line 157 echo _gettext("Export schema"); // line 158 echo " </span> </a> "; } else { // line 161 echo " <a id=\"build_query_button\" class=\"M_butt\" href=\"#\" class=\"M_butt\"> <img title=\""; // line 165 echo _gettext("Build Query"); echo "\" src=\""; // line 166 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/query_builder.png"], "method", false, false, false, 166), "html", null, true); echo "\" /> <span class=\"hide hidable\"> "; // line 168 echo _gettext("Build Query"); // line 169 echo " </span> </a> "; } // line 172 echo " <a href=\"#\" class=\""; echo twig_escape_filter($this->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\"> <img title=\""; // line 173 echo _gettext("Move Menu"); echo "\" alt=\">\" data-right=\""; // line 174 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, 174), "html", null, true); echo "\" src=\""; // line 175 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, 175), "html", null, true); echo "\" /> <span class=\"hide hidable\"> "; // line 177 echo _gettext("Move Menu"); // line 178 echo " </span> </a> <a href=\"#\" class=\""; // line 180 echo twig_escape_filter($this->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\"> <img title=\""; // line 181 echo _gettext("Pin text"); echo "\" alt=\">\" data-right=\""; // line 183 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, 183), "html", null, true); echo "\" src=\""; // line 184 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, 184), "html", null, true); echo "\" /> <span class=\"hide hidable\"> "; // line 186 echo _gettext("Pin text"); // line 187 echo " </span> </a> </div> "; }
public function getTemplateName() { return "database/designer/side_menu.twig"; }
public function isTraitable() { return false; }
public function getDebugInfo() { return array ( 494 => 187, 492 => 186, 487 => 184, 483 => 183, 478 => 181, 474 => 180, 470 => 178, 468 => 177, 463 => 175, 459 => 174, 455 => 173, 450 => 172, 445 => 169, 443 => 168, 438 => 166, 434 => 165, 428 => 161, 423 => 158, 421 => 157, 416 => 155, 412 => 154, 409 => 153, 407 => 152, 403 => 150, 401 => 149, 396 => 147, 392 => 146, 388 => 145, 384 => 143, 382 => 142, 377 => 140, 373 => 139, 368 => 136, 366 => 135, 361 => 133, 357 => 132, 353 => 131, 348 => 129, 344 => 128, 340 => 126, 338 => 125, 331 => 123, 327 => 122, 323 => 120, 319 => 119, 314 => 117, 308 => 116, 303 => 115, 298 => 112, 296 => 111, 291 => 109, 287 => 108, 281 => 105, 277 => 103, 275 => 102, 270 => 100, 266 => 99, 261 => 96, 259 => 95, 254 => 93, 250 => 92, 245 => 89, 243 => 88, 238 => 86, 234 => 85, 229 => 82, 227 => 81, 222 => 79, 218 => 78, 213 => 75, 211 => 74, 206 => 72, 202 => 71, 197 => 68, 195 => 67, 190 => 65, 186 => 64, 181 => 61, 179 => 60, 174 => 58, 170 => 57, 165 => 54, 163 => 53, 158 => 51, 154 => 50, 149 => 47, 147 => 46, 142 => 44, 137 => 42, 134 => 41, 132 => 40, 128 => 38, 126 => 37, 121 => 35, 117 => 34, 112 => 31, 110 => 30, 106 => 29, 102 => 28, 97 => 26, 93 => 25, 89 => 24, 85 => 23, 80 => 20, 78 => 19, 73 => 17, 69 => 16, 65 => 15, 60 => 13, 56 => 11, 49 => 7, 43 => 4, 39 => 2, 37 => 1,); }
public function getSourceContext() { return new Source("", "database/designer/side_menu.twig", "/usr/share/phpmyadmin/templates/database/designer/side_menu.twig"); } }
|