first real comit

This commit is contained in:
2021-06-12 09:42:49 +02:00
parent ef55c4940c
commit e578e30897
3215 changed files with 583167 additions and 0 deletions

View File

@@ -0,0 +1,79 @@
<?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;
/* config/form_display/tabs_top.twig */
class __TwigTemplate_e589d393eb66b504613b55493c2e70ed50527bfab367ebfab52e56ab4f7e6cf7 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
echo "<ul class=\"tabs responsivetable row\">
";
// line 2
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["tabs"] ?? null));
foreach ($context['_seq'] as $context["id"] => $context["name"]) {
// line 3
echo " <li><a href=\"#";
echo twig_escape_filter($this->env, $context["id"], "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $context["name"], "html", null, true);
echo "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['id'], $context['name'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 5
echo "</ul>
<div class=\"tabs_contents col\">
";
}
public function getTemplateName()
{
return "config/form_display/tabs_top.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 5, 44 => 3, 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "config/form_display/tabs_top.twig", "/app/admin/templates/config/form_display/tabs_top.twig");
}
}

View File

@@ -0,0 +1,113 @@
<?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/structure/index.twig */
class __TwigTemplate_c07efc681c0d975c08a807e14d9b4db2f32b913a51b74d5d0b9895beb678ed6e 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["has_tables"] ?? null)) {
// line 2
echo " <div id=\"tableslistcontainer\">
";
// line 3
echo ($context["list_navigator_html"] ?? null);
echo "
";
// line 5
echo ($context["table_list_html"] ?? null);
echo "
";
// line 7
echo ($context["list_navigator_html"] ?? null);
echo "
</div>
<hr>
<p class=\"print_ignore\">
<a href=\"#\" id=\"printView\">
";
// line 12
echo \PhpMyAdmin\Html\Generator::getIcon("b_print", _gettext("Print"), true);
echo "
</a>
<a href=\"";
// line 14
echo PhpMyAdmin\Url::getFromRoute("/database/data-dictionary", ["db" => ($context["database"] ?? null), "goto" => PhpMyAdmin\Url::getFromRoute("/database/structure")]);
echo "\" target=\"print_view\">
";
// line 15
echo \PhpMyAdmin\Html\Generator::getIcon("b_tblanalyse", _gettext("Data dictionary"), true);
echo "
</a>
</p>
";
} else {
// line 19
echo " ";
echo call_user_func_array($this->env->getFilter('notice')->getCallable(), [_gettext("No tables found in database.")]);
echo "
";
}
// line 21
echo "
";
// line 22
if ( !($context["is_system_schema"] ?? null)) {
// line 23
echo " ";
echo ($context["create_table_html"] ?? null);
echo "
";
}
}
public function getTemplateName()
{
return "database/structure/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 87 => 23, 85 => 22, 82 => 21, 76 => 19, 69 => 15, 65 => 14, 60 => 12, 52 => 7, 47 => 5, 42 => 3, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/index.twig", "/app/admin/templates/database/structure/index.twig");
}
}

View File

@@ -0,0 +1,587 @@
<?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;
/* home/index.twig */
class __TwigTemplate_801b0bac6a91b6b8865692ae34f1c677a01913850624bfc28dff7255439f32ab 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["is_git_revision"] ?? null)) {
// line 2
echo " <div id=\"is_git_revision\"></div>
";
}
// line 4
echo "
";
// line 5
echo ($context["message"] ?? null);
echo "
";
// line 7
echo ($context["partial_logout"] ?? null);
echo "
<div id=\"maincontainer\">
";
// line 10
echo ($context["sync_favorite_tables"] ?? null);
echo "
<div class=\"container-fluid\">
<div class=\"row\">
<div class=\"col-lg-7 col-12\">
";
// line 14
if (($context["has_server"] ?? null)) {
// line 15
echo " ";
if (($context["is_demo"] ?? null)) {
// line 16
echo " <div class=\"card mt-4\">
<div class=\"card-header\">
";
// line 18
echo _gettext("phpMyAdmin Demo Server");
// line 19
echo " </div>
<div class=\"card-body\">
";
// line 21
ob_start(function () { return ''; });
// line 22
echo " ";
echo _gettext("You are using the demo server. You can do anything here, but please do not change root, debian-sys-maint and pma users. More information is available at %s.");
// line 25
echo " ";
$___internal_f99ac14381e0d9770a9538d2e717be3f76823c5cfe5334222c4bcaf3730a3246_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 21
echo sprintf($___internal_f99ac14381e0d9770a9538d2e717be3f76823c5cfe5334222c4bcaf3730a3246_, "<a href=\"url.php?url=https://demo.phpmyadmin.net/\" target=\"_blank\" rel=\"noopener noreferrer\">demo.phpmyadmin.net</a>");
// line 26
echo " </div>
</div>
";
}
// line 29
echo "
<div class=\"card mt-4\">
<div class=\"card-header\">
";
// line 32
echo _gettext("General settings");
// line 33
echo " </div>
<ul class=\"list-group list-group-flush\">
";
// line 35
if (($context["has_server_selection"] ?? null)) {
// line 36
echo " <li id=\"li_select_server\" class=\"list-group-item\">
";
// line 37
echo \PhpMyAdmin\Html\Generator::getImage("s_host");
echo "
";
// line 38
echo ($context["server_selection"] ?? null);
echo "
</li>
";
}
// line 41
echo "
";
// line 42
if ((($context["server"] ?? null) > 0)) {
// line 43
echo " ";
if (($context["has_change_password_link"] ?? null)) {
// line 44
echo " <li id=\"li_change_password\" class=\"list-group-item\">
<a href=\"";
// line 45
echo PhpMyAdmin\Url::getFromRoute("/user-password");
echo "\" id=\"change_password_anchor\" class=\"ajax\">
";
// line 46
echo \PhpMyAdmin\Html\Generator::getIcon("s_passwd", _gettext("Change password"), true);
echo "
</a>
</li>
";
}
// line 50
echo "
<li id=\"li_select_mysql_collation\" class=\"list-group-item\">
<form class=\"disableAjax\" method=\"post\" action=\"";
// line 52
echo PhpMyAdmin\Url::getFromRoute("/collation-connection");
echo "\">
";
// line 53
echo PhpMyAdmin\Url::getHiddenInputs(null, null, 4, "collation_connection");
echo "
<label for=\"select_collation_connection\">
";
// line 55
echo \PhpMyAdmin\Html\Generator::getImage("s_asci");
echo "
";
// line 56
echo _gettext("Server connection collation:");
// line 57
echo " ";
echo \PhpMyAdmin\Html\MySQLDocumentation::show("charset-connection");
echo "
</label>
";
// line 59
if ( !twig_test_empty(($context["charsets"] ?? null))) {
// line 60
echo " <select lang=\"en\" dir=\"ltr\" name=\"collation_connection\" id=\"select_collation_connection\" class=\"autosubmit\">
<option value=\"\">";
// line 61
echo _gettext("Collation");
echo "</option>
<option value=\"\"></option>
";
// line 63
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["charset"]) {
// line 64
echo " <optgroup label=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 64), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 64), "html", null, true);
echo "\">
";
// line 65
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 65));
foreach ($context['_seq'] as $context["_key"] => $context["collation"]) {
// line 66
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 66), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "description", [], "any", false, false, false, 66), "html", null, true);
echo "\"";
echo ((twig_get_attribute($this->env, $this->source, $context["collation"], "is_selected", [], "any", false, false, false, 66)) ? (" selected") : (""));
echo ">";
// line 67
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 67), "html", null, true);
// line 68
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 70
echo " </optgroup>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 72
echo " </select>
";
}
// line 74
echo " </form>
</li>
<li id=\"li_user_preferences\" class=\"list-group-item\">
<a href=\"";
// line 78
echo PhpMyAdmin\Url::getFromRoute("/preferences/manage");
echo "\">
";
// line 79
echo \PhpMyAdmin\Html\Generator::getIcon("b_tblops", _gettext("More settings"), true);
echo "
</a>
</li>
";
}
// line 83
echo " </ul>
</div>
";
}
// line 86
echo "
<div class=\"card mt-4\">
<div class=\"card-header\">
";
// line 89
echo _gettext("Appearance settings");
// line 90
echo " </div>
<ul class=\"list-group list-group-flush\">
";
// line 92
if ( !twig_test_empty(($context["language_selector"] ?? null))) {
// line 93
echo " <li id=\"li_select_lang\" class=\"list-group-item\">
";
// line 94
echo \PhpMyAdmin\Html\Generator::getImage("s_lang");
echo "
";
// line 95
echo ($context["language_selector"] ?? null);
echo "
</li>
";
}
// line 98
echo "
";
// line 99
if ( !twig_test_empty(($context["theme_selection"] ?? null))) {
// line 100
echo " <li id=\"li_select_theme\" class=\"list-group-item\">
";
// line 101
echo \PhpMyAdmin\Html\Generator::getImage("s_theme");
echo "
";
// line 102
echo ($context["theme_selection"] ?? null);
echo "
</li>
";
}
// line 105
echo " </ul>
</div>
</div>
<div class=\"col-lg-5 col-12\">
";
// line 110
if ( !twig_test_empty(($context["database_server"] ?? null))) {
// line 111
echo " <div class=\"card mt-4\">
<div class=\"card-header\">
";
// line 113
echo _gettext("Database server");
// line 114
echo " </div>
<ul class=\"list-group list-group-flush\">
<li class=\"list-group-item\">
";
// line 117
echo _gettext("Server:");
// line 118
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "host", [], "any", false, false, false, 118), "html", null, true);
echo "
</li>
<li class=\"list-group-item\">
";
// line 121
echo _gettext("Server type:");
// line 122
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "type", [], "any", false, false, false, 122), "html", null, true);
echo "
</li>
<li class=\"list-group-item\">
";
// line 125
echo _gettext("Server connection:");
// line 126
echo " ";
echo twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "connection", [], "any", false, false, false, 126);
echo "
</li>
<li class=\"list-group-item\">
";
// line 129
echo _gettext("Server version:");
// line 130
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "version", [], "any", false, false, false, 130), "html", null, true);
echo "
</li>
<li class=\"list-group-item\">
";
// line 133
echo _gettext("Protocol version:");
// line 134
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "protocol", [], "any", false, false, false, 134), "html", null, true);
echo "
</li>
<li class=\"list-group-item\">
";
// line 137
echo _gettext("User:");
// line 138
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "user", [], "any", false, false, false, 138), "html", null, true);
echo "
</li>
<li class=\"list-group-item\">
";
// line 141
echo _gettext("Server charset:");
// line 142
echo " <span lang=\"en\" dir=\"ltr\">
";
// line 143
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "charset", [], "any", false, false, false, 143), "html", null, true);
echo "
</span>
</li>
</ul>
</div>
";
}
// line 149
echo "
";
// line 150
if (( !twig_test_empty(($context["web_server"] ?? null)) || ($context["show_php_info"] ?? null))) {
// line 151
echo " <div class=\"card mt-4\">
<div class=\"card-header\">
";
// line 153
echo _gettext("Web server");
// line 154
echo " </div>
<ul class=\"list-group list-group-flush\">
";
// line 156
if ( !twig_test_empty(($context["web_server"] ?? null))) {
// line 157
echo " ";
if ( !(null === twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "software", [], "any", false, false, false, 157))) {
// line 158
echo " <li class=\"list-group-item\">
";
// line 159
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "software", [], "any", false, false, false, 159), "html", null, true);
echo "
</li>
";
}
// line 162
echo " <li class=\"list-group-item\" id=\"li_mysql_client_version\">
";
// line 163
echo _gettext("Database client version:");
// line 164
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "database", [], "any", false, false, false, 164), "html", null, true);
echo "
</li>
<li class=\"list-group-item\">
";
// line 167
echo _gettext("PHP extension:");
// line 168
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "php_extensions", [], "any", false, false, false, 168));
foreach ($context['_seq'] as $context["_key"] => $context["extension"]) {
// line 169
echo " ";
echo twig_escape_filter($this->env, $context["extension"], "html", null, true);
echo "
";
// line 170
echo \PhpMyAdmin\Html\Generator::showPHPDocumentation((("book." . $context["extension"]) . ".php"));
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['extension'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 172
echo " </li>
<li class=\"list-group-item\">
";
// line 174
echo _gettext("PHP version:");
// line 175
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "php_version", [], "any", false, false, false, 175), "html", null, true);
echo "
</li>
";
}
// line 178
echo " ";
if (($context["show_php_info"] ?? null)) {
// line 179
echo " <li class=\"list-group-item\">
<a href=\"";
// line 180
echo PhpMyAdmin\Url::getFromRoute("/phpinfo");
echo "\" target=\"_blank\" rel=\"noopener noreferrer\">
";
// line 181
echo _gettext("Show PHP information");
// line 182
echo " </a>
</li>
";
}
// line 185
echo " </ul>
</div>
";
}
// line 188
echo "
<div class=\"card mt-4\">
<div class=\"card-header\">
phpMyAdmin
</div>
<ul class=\"list-group list-group-flush\">
<li id=\"li_pma_version\" class=\"list-group-item";
// line 194
echo ((($context["is_version_checked"] ?? null)) ? (" jsversioncheck") : (""));
echo "\">
";
// line 195
echo _gettext("Version information:");
// line 196
echo " <span class=\"version\">";
echo twig_escape_filter($this->env, ($context["phpmyadmin_version"] ?? null), "html", null, true);
echo "</span>
</li>
<li class=\"list-group-item\">
<a href=\"";
// line 199
echo \PhpMyAdmin\Html\MySQLDocumentation::getDocumentationLink("index");
echo "\" target=\"_blank\" rel=\"noopener noreferrer\">
";
// line 200
echo _gettext("Documentation");
// line 201
echo " </a>
</li>
<li class=\"list-group-item\">
<a href=\"";
// line 204
echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/"), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener noreferrer\">
";
// line 205
echo _gettext("Official Homepage");
// line 206
echo " </a>
</li>
<li class=\"list-group-item\">
<a href=\"";
// line 209
echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/contribute/"), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener noreferrer\">
";
// line 210
echo _gettext("Contribute");
// line 211
echo " </a>
</li>
<li class=\"list-group-item\">
<a href=\"";
// line 214
echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/support/"), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener noreferrer\">
";
// line 215
echo _gettext("Get support");
// line 216
echo " </a>
</li>
<li class=\"list-group-item\">
<a href=\"";
// line 219
echo PhpMyAdmin\Url::getFromRoute("/changelog");
echo "\" target=\"_blank\">
";
// line 220
echo _gettext("List of changes");
// line 221
echo " </a>
</li>
<li class=\"list-group-item\">
<a href=\"";
// line 224
echo PhpMyAdmin\Url::getFromRoute("/license");
echo "\" target=\"_blank\">
";
// line 225
echo _gettext("License");
// line 226
echo " </a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
";
// line 235
echo ($context["config_storage_message"] ?? null);
echo "
";
}
public function getTemplateName()
{
return "home/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 563 => 235, 552 => 226, 550 => 225, 546 => 224, 541 => 221, 539 => 220, 535 => 219, 530 => 216, 528 => 215, 524 => 214, 519 => 211, 517 => 210, 513 => 209, 508 => 206, 506 => 205, 502 => 204, 497 => 201, 495 => 200, 491 => 199, 484 => 196, 482 => 195, 478 => 194, 470 => 188, 465 => 185, 460 => 182, 458 => 181, 454 => 180, 451 => 179, 448 => 178, 441 => 175, 439 => 174, 435 => 172, 427 => 170, 422 => 169, 417 => 168, 415 => 167, 408 => 164, 406 => 163, 403 => 162, 397 => 159, 394 => 158, 391 => 157, 389 => 156, 385 => 154, 383 => 153, 379 => 151, 377 => 150, 374 => 149, 365 => 143, 362 => 142, 360 => 141, 353 => 138, 351 => 137, 344 => 134, 342 => 133, 335 => 130, 333 => 129, 326 => 126, 324 => 125, 317 => 122, 315 => 121, 308 => 118, 306 => 117, 301 => 114, 299 => 113, 295 => 111, 293 => 110, 286 => 105, 280 => 102, 276 => 101, 273 => 100, 271 => 99, 268 => 98, 262 => 95, 258 => 94, 255 => 93, 253 => 92, 249 => 90, 247 => 89, 242 => 86, 237 => 83, 230 => 79, 226 => 78, 220 => 74, 216 => 72, 209 => 70, 202 => 68, 200 => 67, 192 => 66, 188 => 65, 181 => 64, 177 => 63, 172 => 61, 169 => 60, 167 => 59, 161 => 57, 159 => 56, 155 => 55, 150 => 53, 146 => 52, 142 => 50, 135 => 46, 131 => 45, 128 => 44, 125 => 43, 123 => 42, 120 => 41, 114 => 38, 110 => 37, 107 => 36, 105 => 35, 101 => 33, 99 => 32, 94 => 29, 89 => 26, 87 => 21, 84 => 25, 81 => 22, 79 => 21, 75 => 19, 73 => 18, 69 => 16, 66 => 15, 64 => 14, 57 => 10, 51 => 7, 46 => 5, 43 => 4, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "home/index.twig", "/app/admin/templates/home/index.twig");
}
}

View File

@@ -0,0 +1,80 @@
<?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;
/* config/form_display/form_top.twig */
class __TwigTemplate_b49b39099d647a8ff16803a96c6a368866a042edb4bbbd8ccb58f259bcc2265e 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
echo "<form method=\"";
echo twig_escape_filter($this->env, ($context["method"] ?? null), "html", null, true);
echo "\" action=\"";
echo ($context["action"] ?? null);
echo "\" class=\"config-form disableAjax\">
<input type=\"hidden\" name=\"tab_hash\" value=\"\">
";
// line 3
if (($context["has_check_page_refresh"] ?? null)) {
// line 4
echo " <input type=\"hidden\" name=\"check_page_refresh\" id=\"check_page_refresh\" value=\"\">
";
}
// line 6
echo " ";
echo PhpMyAdmin\Url::getHiddenInputs("", "", 0, "server");
echo "
";
// line 7
echo PhpMyAdmin\Url::getHiddenFields(($context["hidden_fields"] ?? null), "", true);
echo "
";
}
public function getTemplateName()
{
return "config/form_display/form_top.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 56 => 7, 51 => 6, 47 => 4, 45 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "config/form_display/form_top.twig", "/app/admin/templates/config/form_display/form_top.twig");
}
}

View File

@@ -0,0 +1,110 @@
<?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;
/* top_menu.twig */
class __TwigTemplate_642cf01231f251bb82e8a5f51dce3d8b8451f1d327f5413dd8db4f951384d503 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
echo "<div id=\"topmenucontainer\" class=\"menucontainer\">
<nav class=\"navbar navbar-expand-lg navbar-light bg-light\">
<button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarNav\" aria-label=\"";
// line 4
// l10n: Show or hide the menu using the hamburger style button
echo _gettext("Toggle navigation");
echo "\" aria-controls=\"navbarNav\" aria-expanded=\"false\">
<span class=\"navbar-toggler-icon\"></span>
</button>
<div class=\"collapse navbar-collapse\" id=\"navbarNav\">
<ul id=\"topmenu\" class=\"navbar-nav\">
";
// line 9
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["tabs"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["tab"]) {
// line 10
echo " <li class=\"nav-item";
echo ((twig_get_attribute($this->env, $this->source, $context["tab"], "active", [], "any", false, false, false, 10)) ? (" active") : (""));
echo "\">
<a class=\"nav-link text-nowrap\" href=\"";
// line 11
echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, $context["tab"], "route", [], "any", false, false, false, 11), twig_array_merge(($context["url_params"] ?? null), (((twig_get_attribute($this->env, $this->source, $context["tab"], "args", [], "any", true, true, false, 11) && !(null === twig_get_attribute($this->env, $this->source, $context["tab"], "args", [], "any", false, false, false, 11)))) ? (twig_get_attribute($this->env, $this->source, $context["tab"], "args", [], "any", false, false, false, 11)) : ([]))));
echo "\">
";
// line 12
echo \PhpMyAdmin\Html\Generator::getIcon(twig_get_attribute($this->env, $this->source, $context["tab"], "icon", [], "any", false, false, false, 12), twig_get_attribute($this->env, $this->source, $context["tab"], "text", [], "any", false, false, false, 12), false, true, "TabsMode");
echo "
";
// line 13
if (twig_get_attribute($this->env, $this->source, $context["tab"], "active", [], "any", false, false, false, 13)) {
// line 14
echo " <span class=\"sr-only\">";
// l10n: Current page
echo _gettext("(current)");
echo "</span>
";
}
// line 16
echo " </a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tab'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 19
echo " </ul>
</div>
</nav>
</div>
";
}
public function getTemplateName()
{
return "top_menu.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 84 => 19, 76 => 16, 69 => 14, 67 => 13, 63 => 12, 59 => 11, 54 => 10, 50 => 9, 41 => 4, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "top_menu.twig", "/app/admin/templates/top_menu.twig");
}
}

View File

@@ -0,0 +1,817 @@
<?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;
/* server/databases/index.twig */
class __TwigTemplate_088a59a545884d0ad7943fc11c76777e3995714faf9f8d218c5a81c3230a4d77 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
echo "<div class=\"container-fluid\">
<div class=\"row\">
<h2>
";
// line 4
echo \PhpMyAdmin\Html\Generator::getImage("s_db");
echo "
";
// line 5
if (($context["has_statistics"] ?? null)) {
// line 6
echo " ";
echo _gettext("Databases statistics");
// line 7
echo " ";
} else {
// line 8
echo " ";
echo _gettext("Databases");
// line 9
echo " ";
}
// line 10
echo " </h2>
</div>
";
// line 13
if (($context["is_create_database_shown"] ?? null)) {
// line 14
echo "<div class=\"row\">
<ul>
<li id=\"li_create_database\" class=\"no_bullets\">
";
// line 17
if (($context["has_create_database_privileges"] ?? null)) {
// line 18
echo " <form method=\"post\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/server/databases/create");
echo "\" id=\"create_database_form\" class=\"ajax\">
<p>
<strong>
<label for=\"text_create_db\">
";
// line 22
echo \PhpMyAdmin\Html\Generator::getImage("b_newdb");
echo "
";
// line 23
echo _gettext("Create database");
// line 24
echo " </label>
";
// line 25
echo \PhpMyAdmin\Html\MySQLDocumentation::show("CREATE_DATABASE");
echo "
</strong>
</p>
";
// line 29
echo PhpMyAdmin\Url::getHiddenInputs("", "", 5);
echo "
<input type=\"hidden\" name=\"reload\" value=\"1\">
";
// line 31
if (($context["has_statistics"] ?? null)) {
// line 32
echo " <input type=\"hidden\" name=\"statistics\" value=\"1\">
";
}
// line 34
echo "
<input type=\"text\" name=\"new_db\" maxlength=\"64\" class=\"textfield\" value=\"";
// line 36
echo twig_escape_filter($this->env, ($context["database_to_create"] ?? null), "html", null, true);
echo "\" id=\"text_create_db\" placeholder=\"";
// line 37
echo _gettext("Database name");
echo "\" required>
";
// line 39
if ( !twig_test_empty(($context["charsets"] ?? null))) {
// line 40
echo " <select lang=\"en\" dir=\"ltr\" name=\"db_collation\">
<option value=\"\">";
// line 41
echo _gettext("Collation");
echo "</option>
<option value=\"\"></option>
";
// line 43
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["charset"]) {
// line 44
echo " <optgroup label=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 44), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 44), "html", null, true);
echo "\">
";
// line 45
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 45));
foreach ($context['_seq'] as $context["_key"] => $context["collation"]) {
// line 46
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 46), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "description", [], "any", false, false, false, 46), "html", null, true);
echo "\"";
echo ((twig_get_attribute($this->env, $this->source, $context["collation"], "is_selected", [], "any", false, false, false, 46)) ? (" selected") : (""));
echo ">";
// line 47
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 47), "html", null, true);
// line 48
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 50
echo " </optgroup>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 52
echo " </select>
";
}
// line 54
echo "
<input id=\"buttonGo\" class=\"btn btn-primary\" type=\"submit\" value=\"";
// line 55
echo _gettext("Create");
echo "\">
</form>
";
} else {
// line 58
echo " <p>
<strong>
";
// line 60
echo \PhpMyAdmin\Html\Generator::getImage("b_newdb");
echo "
";
// line 61
echo _gettext("Create database");
// line 62
echo " ";
echo \PhpMyAdmin\Html\MySQLDocumentation::show("CREATE_DATABASE");
echo "
</strong>
</p>
<span class=\"noPrivileges\">
";
// line 67
echo \PhpMyAdmin\Html\Generator::getImage("s_error", "", ["hspace" => 2, "border" => 0, "align" => "middle"]);
// line 71
echo "
";
// line 72
echo _gettext("No privileges to create databases");
// line 73
echo " </span>
";
}
// line 75
echo " </li>
</ul>
</div>
";
}
// line 79
echo "
";
// line 80
if ((($context["database_count"] ?? null) > 0)) {
// line 81
echo " ";
$this->loadTemplate("filter.twig", "server/databases/index.twig", 81)->display(twig_to_array(["filter_value" => ""]));
// line 82
echo "
<div id=\"tableslistcontainer row\">
<div class=\"container-fluid\">
";
// line 85
echo \PhpMyAdmin\Html\Generator::getListNavigator( // line 86
($context["database_count"] ?? null), // line 87
($context["pos"] ?? null), // line 88
($context["url_params"] ?? null), PhpMyAdmin\Url::getFromRoute("/server/databases"), "frame_content", // line 91
($context["max_db_list"] ?? null));
// line 92
echo "
<form class=\"ajax\" action=\"";
// line 94
echo PhpMyAdmin\Url::getFromRoute("/server/databases");
echo "\" method=\"post\" name=\"dbStatsForm\" id=\"dbStatsForm\">
";
// line 95
echo PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null));
echo "
<div class=\"table-responsive row\">
<table class=\"table table-striped table-hover w-auto\">
<thead class=\"thead-light\">
<tr>
";
// line 100
if (($context["is_drop_allowed"] ?? null)) {
// line 101
echo " <th></th>
";
}
// line 103
echo " <th>
<a href=\"";
// line 104
echo PhpMyAdmin\Url::getFromRoute("/server/databases", twig_array_merge(($context["url_params"] ?? null), ["sort_by" => "SCHEMA_NAME", "sort_order" => ((((twig_get_attribute($this->env, $this->source, // line 106
($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 106) == "SCHEMA_NAME") && (twig_get_attribute($this->env, $this->source, // line 107
($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 107) == "asc"))) ? ("desc") : ("asc"))]));
// line 108
echo "\">
";
// line 109
echo _gettext("Database");
// line 110
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 110) == "SCHEMA_NAME")) {
// line 111
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 111) == "asc")) {
// line 112
echo " ";
echo \PhpMyAdmin\Html\Generator::getImage("s_asc", _gettext("Ascending"));
echo "
";
} else {
// line 114
echo " ";
echo \PhpMyAdmin\Html\Generator::getImage("s_desc", _gettext("Descending"));
echo "
";
}
// line 116
echo " ";
}
// line 117
echo " </a>
</th>
<th>
<a href=\"";
// line 121
echo PhpMyAdmin\Url::getFromRoute("/server/databases", twig_array_merge(($context["url_params"] ?? null), ["sort_by" => "DEFAULT_COLLATION_NAME", "sort_order" => ((((twig_get_attribute($this->env, $this->source, // line 123
($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 123) == "DEFAULT_COLLATION_NAME") && (twig_get_attribute($this->env, $this->source, // line 124
($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 124) == "asc"))) ? ("desc") : ("asc"))]));
// line 125
echo "\">
";
// line 126
echo _gettext("Collation");
// line 127
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 127) == "DEFAULT_COLLATION_NAME")) {
// line 128
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 128) == "asc")) {
// line 129
echo " ";
echo \PhpMyAdmin\Html\Generator::getImage("s_asc", _gettext("Ascending"));
echo "
";
} else {
// line 131
echo " ";
echo \PhpMyAdmin\Html\Generator::getImage("s_desc", _gettext("Descending"));
echo "
";
}
// line 133
echo " ";
}
// line 134
echo " </a>
</th>
";
// line 137
if (($context["has_statistics"] ?? null)) {
// line 138
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["header_statistics"] ?? null));
foreach ($context['_seq'] as $context["name"] => $context["statistic"]) {
// line 139
echo " <th";
echo (((twig_get_attribute($this->env, $this->source, $context["statistic"], "format", [], "any", false, false, false, 139) == "byte")) ? (" colspan=\"2\"") : (""));
echo ">
<a href=\"";
// line 140
echo PhpMyAdmin\Url::getFromRoute("/server/databases", twig_array_merge(($context["url_params"] ?? null), ["sort_by" => // line 141
$context["name"], "sort_order" => ((((twig_get_attribute($this->env, $this->source, // line 142
($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 142) == $context["name"]) && (twig_get_attribute($this->env, $this->source, // line 143
($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 143) == "asc"))) ? ("desc") : ("asc"))]));
// line 144
echo "\">
";
// line 145
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "title", [], "any", false, false, false, 145), "html", null, true);
echo "
";
// line 146
if ((twig_get_attribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 146) == $context["name"])) {
// line 147
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 147) == "asc")) {
// line 148
echo " ";
echo \PhpMyAdmin\Html\Generator::getImage("s_asc", _gettext("Ascending"));
echo "
";
} else {
// line 150
echo " ";
echo \PhpMyAdmin\Html\Generator::getImage("s_desc", _gettext("Descending"));
echo "
";
}
// line 152
echo " ";
}
// line 153
echo " </a>
</th>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['name'], $context['statistic'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 156
echo " ";
}
// line 157
echo "
";
// line 158
if (($context["has_master_replication"] ?? null)) {
// line 159
echo " <th>";
echo _gettext("Master replication");
echo "</th>
";
}
// line 161
echo "
";
// line 162
if (($context["has_slave_replication"] ?? null)) {
// line 163
echo " <th>";
echo _gettext("Slave replication");
echo "</th>
";
}
// line 165
echo "
<th>";
// line 166
echo _gettext("Action");
echo "</th>
</tr>
</thead>
<tbody>
";
// line 171
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["databases"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["database"]) {
// line 172
echo " <tr class=\"db-row";
echo (((twig_get_attribute($this->env, $this->source, $context["database"], "is_system_schema", [], "any", false, false, false, 172) || twig_get_attribute($this->env, $this->source, $context["database"], "is_pmadb", [], "any", false, false, false, 172))) ? (" noclick") : (""));
echo "\" data-filter-row=\"";
echo twig_escape_filter($this->env, twig_upper_filter($this->env, twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 172)), "html", null, true);
echo "\">
";
// line 173
if (($context["is_drop_allowed"] ?? null)) {
// line 174
echo " <td class=\"tool\">
<input type=\"checkbox\" name=\"selected_dbs[]\" class=\"checkall\" title=\"";
// line 176
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 176), "html", null, true);
echo "\" value=\"";
// line 177
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 177), "html", null, true);
echo "\"";
// line 178
echo (((twig_get_attribute($this->env, $this->source, $context["database"], "is_system_schema", [], "any", false, false, false, 178) || twig_get_attribute($this->env, $this->source, $context["database"], "is_pmadb", [], "any", false, false, false, 178))) ? (" disabled") : (""));
echo ">
</td>
";
}
// line 181
echo "
<td class=\"name\">
<a href=\"";
// line 183
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["database"], "url", [], "any", false, false, false, 183), "html", null, true);
echo "\" title=\"";
// line 184
echo twig_escape_filter($this->env, sprintf(_gettext("Jump to database '%s'"), twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 184)), "html", null, true);
echo "\">
";
// line 185
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 185), "html", null, true);
echo "
</a>
</td>
<td class=\"value\">
<dfn title=\"";
// line 190
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "collation", [], "any", false, false, false, 190), "description", [], "any", false, false, false, 190), "html", null, true);
echo "\">
";
// line 191
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "collation", [], "any", false, false, false, 191), "name", [], "any", false, false, false, 191), "html", null, true);
echo "
</dfn>
</td>
";
// line 195
if (($context["has_statistics"] ?? null)) {
// line 196
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["database"], "statistics", [], "any", false, false, false, 196));
foreach ($context['_seq'] as $context["_key"] => $context["statistic"]) {
// line 197
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["statistic"], "format", [], "any", false, false, false, 197) === "byte")) {
// line 198
echo " ";
$context["value"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 198), 3, 1);
// line 199
echo " <td class=\"value\">
<data value=\"";
// line 200
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 200), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 200), "html", null, true);
echo "\">
";
// line 201
echo twig_escape_filter($this->env, (($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = ($context["value"] ?? null)) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4[0] ?? null) : null), "html", null, true);
echo "
</data>
</td>
<td class=\"unit\">";
// line 204
echo twig_escape_filter($this->env, (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = ($context["value"] ?? null)) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144[1] ?? null) : null), "html", null, true);
echo "</td>
";
} else {
// line 206
echo " <td class=\"value\">
<data value=\"";
// line 207
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 207), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 207), "html", null, true);
echo "\">
";
// line 208
echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber(twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 208), 0), "html", null, true);
echo "
</data>
</td>
";
}
// line 212
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['statistic'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 213
echo " ";
}
// line 214
echo "
";
// line 215
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 215), "master", [], "any", false, false, false, 215), "status", [], "any", false, false, false, 215)) {
// line 216
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 216), "master", [], "any", false, false, false, 216), "is_replicated", [], "any", false, false, false, 216)) {
// line 217
echo " <td class=\"tool text-center\">
";
// line 218
echo \PhpMyAdmin\Html\Generator::getIcon("s_success", _gettext("Replicated"));
echo "
</td>
";
} else {
// line 221
echo " <td class=\"tool text-center\">
";
// line 222
echo \PhpMyAdmin\Html\Generator::getIcon("s_cancel", _gettext("Not replicated"));
echo "
</td>
";
}
// line 225
echo " ";
}
// line 226
echo "
";
// line 227
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 227), "slave", [], "any", false, false, false, 227), "status", [], "any", false, false, false, 227)) {
// line 228
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 228), "slave", [], "any", false, false, false, 228), "is_replicated", [], "any", false, false, false, 228)) {
// line 229
echo " <td class=\"tool text-center\">
";
// line 230
echo \PhpMyAdmin\Html\Generator::getIcon("s_success", _gettext("Replicated"));
echo "
</td>
";
} else {
// line 233
echo " <td class=\"tool text-center\">
";
// line 234
echo \PhpMyAdmin\Html\Generator::getIcon("s_cancel", _gettext("Not replicated"));
echo "
</td>
";
}
// line 237
echo " ";
}
// line 238
echo "
<td class=\"tool\">
<a class=\"server_databases\" data=\"";
// line 241
echo PhpMyAdmin\Sanitize::jsFormat(twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 241));
echo "\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/server/privileges", ["db" => twig_get_attribute($this->env, $this->source, // line 242
$context["database"], "name", [], "any", false, false, false, 242), "checkprivsdb" => twig_get_attribute($this->env, $this->source, // line 243
$context["database"], "name", [], "any", false, false, false, 243)]);
// line 244
echo "\" title=\"";
// line 245
echo twig_escape_filter($this->env, sprintf(_gettext("Check privileges for database \"%s\"."), twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 245)), "html", null, true);
echo "\">
";
// line 246
echo \PhpMyAdmin\Html\Generator::getIcon("s_rights", _gettext("Check privileges"));
echo "
</a>
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['database'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 251
echo " </tbody>
<tfoot class=\"thead-light\">
<tr>
<th colspan=\"";
// line 255
echo ((($context["is_drop_allowed"] ?? null)) ? ("3") : ("2"));
echo "\">
";
// line 256
echo _gettext("Total:");
// line 257
echo " <span id=\"filter-rows-count\">";
// line 258
echo twig_escape_filter($this->env, ($context["database_count"] ?? null), "html", null, true);
// line 259
echo "</span>
</th>
";
// line 262
if (($context["has_statistics"] ?? null)) {
// line 263
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["total_statistics"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["statistic"]) {
// line 264
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["statistic"], "format", [], "any", false, false, false, 264) === "byte")) {
// line 265
echo " ";
$context["value"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 265), 3, 1);
// line 266
echo " <th class=\"value\">
<data value=\"";
// line 267
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 267), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 267), "html", null, true);
echo "\">
";
// line 268
echo twig_escape_filter($this->env, (($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = ($context["value"] ?? null)) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b[0] ?? null) : null), "html", null, true);
echo "
</data>
</th>
<th class=\"unit\">";
// line 271
echo twig_escape_filter($this->env, (($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = ($context["value"] ?? null)) && is_array($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002) || $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 instanceof ArrayAccess ? ($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002[1] ?? null) : null), "html", null, true);
echo "</th>
";
} else {
// line 273
echo " <th class=\"value\">
<data value=\"";
// line 274
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 274), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 274), "html", null, true);
echo "\">
";
// line 275
echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber(twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 275), 0), "html", null, true);
echo "
</data>
</th>
";
}
// line 279
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['statistic'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 280
echo " ";
}
// line 281
echo "
";
// line 282
if (($context["has_master_replication"] ?? null)) {
// line 283
echo " <th></th>
";
}
// line 285
echo "
";
// line 286
if (($context["has_slave_replication"] ?? null)) {
// line 287
echo " <th></th>
";
}
// line 289
echo "
<th></th>
</tr>
</tfoot>
</table>
</div>
";
// line 297
echo " ";
if (($context["is_drop_allowed"] ?? null)) {
// line 298
echo " ";
$this->loadTemplate("select_all.twig", "server/databases/index.twig", 298)->display(twig_to_array(["theme_image_path" => // line 299
($context["theme_image_path"] ?? null), "text_dir" => // line 300
($context["text_dir"] ?? null), "form_name" => "dbStatsForm"]));
// line 303
echo "
<button class=\"btn btn-link mult_submit ajax\" type=\"submit\" name=\"\" value=\"Drop\" title=\"";
// line 304
echo _gettext("Drop");
echo "\">
";
// line 305
echo \PhpMyAdmin\Html\Generator::getIcon("b_deltbl", _gettext("Drop"));
echo "
</button>
";
}
// line 308
echo "
";
// line 310
echo " ";
if ( !($context["has_statistics"] ?? null)) {
// line 311
echo " <div class=\"row\">
";
// line 312
echo call_user_func_array($this->env->getFilter('notice')->getCallable(), [_gettext("Note: Enabling the database statistics here might cause heavy traffic between the web server and the MySQL server.")]);
echo "
</div>
<div class=\"row\">
<ul>
<li class=\"li_switch_dbstats\">
<a href=\"";
// line 318
echo PhpMyAdmin\Url::getFromRoute("/server/databases");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["statistics" => "1"], "");
echo "\" title=\"";
echo _gettext("Enable statistics");
echo "\">
<strong>";
// line 319
echo _gettext("Enable statistics");
echo "</strong>
</a>
</li>
</ul>
</div>
";
}
// line 325
echo " </form>
</div>
</div>
</div>
";
} else {
// line 330
echo " <p>";
echo call_user_func_array($this->env->getFilter('notice')->getCallable(), [_gettext("No databases")]);
echo "</p>
";
}
}
public function getTemplateName()
{
return "server/databases/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 791 => 330, 784 => 325, 775 => 319, 767 => 318, 758 => 312, 755 => 311, 752 => 310, 749 => 308, 743 => 305, 739 => 304, 736 => 303, 734 => 300, 733 => 299, 731 => 298, 728 => 297, 719 => 289, 715 => 287, 713 => 286, 710 => 285, 706 => 283, 704 => 282, 701 => 281, 698 => 280, 692 => 279, 685 => 275, 679 => 274, 676 => 273, 671 => 271, 665 => 268, 659 => 267, 656 => 266, 653 => 265, 650 => 264, 645 => 263, 643 => 262, 638 => 259, 636 => 258, 634 => 257, 632 => 256, 628 => 255, 622 => 251, 611 => 246, 607 => 245, 605 => 244, 603 => 243, 602 => 242, 599 => 241, 595 => 238, 592 => 237, 586 => 234, 583 => 233, 577 => 230, 574 => 229, 571 => 228, 569 => 227, 566 => 226, 563 => 225, 557 => 222, 554 => 221, 548 => 218, 545 => 217, 542 => 216, 540 => 215, 537 => 214, 534 => 213, 528 => 212, 521 => 208, 515 => 207, 512 => 206, 507 => 204, 501 => 201, 495 => 200, 492 => 199, 489 => 198, 486 => 197, 481 => 196, 479 => 195, 472 => 191, 468 => 190, 460 => 185, 456 => 184, 453 => 183, 449 => 181, 443 => 178, 440 => 177, 437 => 176, 434 => 174, 432 => 173, 425 => 172, 421 => 171, 413 => 166, 410 => 165, 404 => 163, 402 => 162, 399 => 161, 393 => 159, 391 => 158, 388 => 157, 385 => 156, 377 => 153, 374 => 152, 368 => 150, 362 => 148, 359 => 147, 357 => 146, 353 => 145, 350 => 144, 348 => 143, 347 => 142, 346 => 141, 345 => 140, 340 => 139, 335 => 138, 333 => 137, 328 => 134, 325 => 133, 319 => 131, 313 => 129, 310 => 128, 307 => 127, 305 => 126, 302 => 125, 300 => 124, 299 => 123, 298 => 121, 292 => 117, 289 => 116, 283 => 114, 277 => 112, 274 => 111, 271 => 110, 269 => 109, 266 => 108, 264 => 107, 263 => 106, 262 => 104, 259 => 103, 255 => 101, 253 => 100, 245 => 95, 241 => 94, 237 => 92, 235 => 91, 234 => 88, 233 => 87, 232 => 86, 231 => 85, 226 => 82, 223 => 81, 221 => 80, 218 => 79, 212 => 75, 208 => 73, 206 => 72, 203 => 71, 201 => 67, 192 => 62, 190 => 61, 186 => 60, 182 => 58, 176 => 55, 173 => 54, 169 => 52, 162 => 50, 155 => 48, 153 => 47, 145 => 46, 141 => 45, 134 => 44, 130 => 43, 125 => 41, 122 => 40, 120 => 39, 115 => 37, 112 => 36, 109 => 34, 105 => 32, 103 => 31, 98 => 29, 91 => 25, 88 => 24, 86 => 23, 82 => 22, 74 => 18, 72 => 17, 67 => 14, 65 => 13, 60 => 10, 57 => 9, 54 => 8, 51 => 7, 48 => 6, 46 => 5, 42 => 4, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "server/databases/index.twig", "/app/admin/templates/server/databases/index.twig");
}
}

View File

@@ -0,0 +1,454 @@
<?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;
/* sql/query.twig */
class __TwigTemplate_62b6d798f0155384d25020cc65f131b7fa6de27df9a11e1b4ffdf3ebfb088a04 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
echo "<form method=\"post\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/import");
echo "\" class=\"ajax lock-page\" id=\"sqlqueryform\" name=\"sqlform\"";
// line 2
echo ((($context["is_upload"] ?? null)) ? (" enctype=\"multipart/form-data\"") : (""));
echo ">
";
// line 3
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
echo "
<input type=\"hidden\" name=\"is_js_confirmed\" value=\"0\">
<input type=\"hidden\" name=\"pos\" value=\"0\">
<input type=\"hidden\" name=\"goto\" value=\"";
// line 6
echo twig_escape_filter($this->env, ($context["goto"] ?? null), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"message_to_show\" value=\"";
// line 7
echo _gettext("Your SQL query has been executed successfully.");
echo "\">
<input type=\"hidden\" name=\"prev_sql_query\" value=\"";
// line 8
echo twig_escape_filter($this->env, ($context["query"] ?? null), "html", null, true);
echo "\">
";
// line 10
if (((($context["display_tab"] ?? null) == "full") || (($context["display_tab"] ?? null) == "sql"))) {
// line 11
echo " <a id=\"querybox\"></a>
<div class=\"card mb-3\">
<div class=\"card-header\">";
// line 14
echo ($context["legend"] ?? null);
echo "</div>
<div class=\"card-body\">
<div id=\"queryfieldscontainer\">
<div class=\"row\">
<div class=\"col\">
<div class=\"form-group\">
<textarea class=\"form-control\" tabindex=\"100\" name=\"sql_query\" id=\"sqlquery\" cols=\"";
// line 20
echo twig_escape_filter($this->env, ($context["textarea_cols"] ?? null), "html", null, true);
echo "\" rows=\"";
echo twig_escape_filter($this->env, ($context["textarea_rows"] ?? null), "html", null, true);
echo "\"";
// line 21
echo ((($context["textarea_auto_select"] ?? null)) ? (" onclick=\"Functions.selectContent(this, sqlBoxLocked, true);\"") : (""));
echo " aria-label=\"";
echo _gettext("SQL query");
echo "\">";
// line 22
echo twig_escape_filter($this->env, ($context["query"] ?? null), "html", null, true);
// line 23
echo "</textarea>
</div>
<div id=\"querymessage\"></div>
<div class=\"btn-toolbar\" role=\"toolbar\">
";
// line 28
if ( !twig_test_empty(($context["columns_list"] ?? null))) {
// line 29
echo " <div class=\"btn-group mr-2\" role=\"group\">
<input type=\"button\" value=\"SELECT *\" id=\"selectall\" class=\"btn btn-secondary button sqlbutton\">
<input type=\"button\" value=\"SELECT\" id=\"select\" class=\"btn btn-secondary button sqlbutton\">
<input type=\"button\" value=\"INSERT\" id=\"insert\" class=\"btn btn-secondary button sqlbutton\">
<input type=\"button\" value=\"UPDATE\" id=\"update\" class=\"btn btn-secondary button sqlbutton\">
<input type=\"button\" value=\"DELETE\" id=\"delete\" class=\"btn btn-secondary button sqlbutton\">
</div>
";
}
// line 37
echo "
<div class=\"btn-group mr-2\" role=\"group\">
<input type=\"button\" value=\"";
// line 39
echo _gettext("Clear");
echo "\" id=\"clear\" class=\"btn btn-secondary button sqlbutton\">
";
// line 40
if (($context["codemirror_enable"] ?? null)) {
// line 41
echo " <input type=\"button\" value=\"";
echo _gettext("Format");
echo "\" id=\"format\" class=\"btn btn-secondary button sqlbutton\">
";
}
// line 43
echo " </div>
<input type=\"button\" value=\"";
// line 45
echo _gettext("Get auto-saved query");
echo "\" id=\"saved\" class=\"btn btn-secondary button sqlbutton\">
</div>
<div class=\"form-group mt-3\">
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"parameterized\" id=\"parameterized\">
<label class=\"form-check-label\" for=\"parameterized\">
";
// line 52
// l10n: Bind parameters in the SQL query using :parameterName format
echo _gettext("Bind parameters");
// line 53
echo " ";
echo \PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-40");
echo "
</label>
</div>
</div>
<div class=\"form-group\" id=\"parametersDiv\"></div>
</div>
";
// line 60
if ( !twig_test_empty(($context["columns_list"] ?? null))) {
// line 61
echo " <div class=\"col-xl-2 col-lg-3\">
<div class=\"form-group\">
<label class=\"sr-only\" for=\"fieldsSelect\">";
// line 63
echo _gettext("Columns");
echo "</label>
<select class=\"form-control\" id=\"fieldsSelect\" name=\"dummy\" size=\"";
// line 64
echo twig_escape_filter($this->env, ($context["textarea_rows"] ?? null), "html", null, true);
echo "\" ondblclick=\"Functions.insertValueQuery()\" multiple>
";
// line 65
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["columns_list"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["field"]) {
// line 66
echo " <option value=\"";
echo twig_escape_filter($this->env, PhpMyAdmin\Util::backquote((($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = $context["field"]) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4["Field"] ?? null) : null)), "html", null, true);
echo "\"";
// line 67
(((( !(null === (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = $context["field"]) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144["Field"] ?? null) : null)) && !(null === (($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = $context["field"]) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b["Comment"] ?? null) : null))) && (twig_length_filter($this->env, (($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = $context["field"]) && is_array($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002) || $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 instanceof ArrayAccess ? ($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002["Field"] ?? null) : null)) > 0))) ? (print (twig_escape_filter($this->env, ((" title=\"" . (($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 = $context["field"]) && is_array($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4) || $__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 instanceof ArrayAccess ? ($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4["Comment"] ?? null) : null)) . "\""), "html", null, true))) : (print ("")));
echo ">
";
// line 68
echo twig_escape_filter($this->env, (($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 = $context["field"]) && is_array($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666) || $__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 instanceof ArrayAccess ? ($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666["Field"] ?? null) : null), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 71
echo " </select>
</div>
<input type=\"button\" class=\"btn btn-secondary button\" id=\"insertBtn\" name=\"insert\" value=\"";
// line 75
if (PhpMyAdmin\Util::showIcons("ActionLinksMode")) {
echo "<<";
echo "\" title=\"";
}
// line 76
echo _gettext("Insert");
echo "\">
</div>
";
}
// line 79
echo " </div>
</div>
";
// line 82
if (($context["has_bookmark"] ?? null)) {
// line 83
echo " <div class=\"form-inline\">
<div class=\"form-group\">
<label for=\"bkm_label\">";
// line 85
echo _gettext("Bookmark this SQL query:");
echo "</label>
<input class=\"form-control\" type=\"text\" name=\"bkm_label\" id=\"bkm_label\" tabindex=\"110\" value=\"\">
</div>
<div class=\"form-check form-check-inline\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"bkm_all_users\" tabindex=\"111\" id=\"id_bkm_all_users\" value=\"true\">
<label class=\"form-check-label\" for=\"id_bkm_all_users\">";
// line 91
echo _gettext("Let every user access this bookmark");
echo "</label>
</div>
<div class=\"form-check form-check-inline\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"bkm_replace\" tabindex=\"112\" id=\"id_bkm_replace\" value=\"true\">
<label class=\"form-check-label\" for=\"id_bkm_replace\">";
// line 96
echo _gettext("Replace existing bookmark of same name");
echo "</label>
</div>
</div>
";
}
// line 100
echo " </div>
<div class=\"card-footer\">
<div class=\"row\">
<div class=\"form-inline col\">
<div class=\"input-group mr-2\">
<div class=\"input-group-prepend\">
<span class=\"input-group-text\">";
// line 106
echo _gettext("Delimiter");
echo "</span>
</div>
<label class=\"sr-only\" for=\"id_sql_delimiter\">";
// line 108
echo _gettext("Delimiter");
echo "</label>
<input class=\"form-control\" type=\"text\" name=\"sql_delimiter\" tabindex=\"131\" size=\"3\" value=\"";
// line 109
echo twig_escape_filter($this->env, ($context["delimiter"] ?? null), "html", null, true);
echo "\" id=\"id_sql_delimiter\">
</div>
<div class=\"form-check form-check-inline\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"show_query\" value=\"1\" id=\"checkbox_show_query\" tabindex=\"132\">
<label class=\"form-check-label\" for=\"checkbox_show_query\">";
// line 114
echo _gettext("Show this query here again");
echo "</label>
</div>
<div class=\"form-check form-check-inline\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"retain_query_box\" value=\"1\" id=\"retain_query_box\" tabindex=\"133\"";
// line 119
echo ((($context["retain_query_box"] ?? null)) ? (" checked") : (""));
echo ">
<label class=\"form-check-label\" for=\"retain_query_box\">";
// line 120
echo _gettext("Retain query box");
echo "</label>
</div>
<div class=\"form-check form-check-inline\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"rollback_query\" value=\"1\" id=\"rollback_query\" tabindex=\"134\">
<label class=\"form-check-label\" for=\"rollback_query\">";
// line 125
echo _gettext("Rollback when finished");
echo "</label>
</div>
<div class=\"form-check\">
<input type=\"hidden\" name=\"fk_checks\" value=\"0\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"fk_checks\" id=\"fk_checks\" value=\"1\"";
// line 130
echo ((($context["is_foreign_key_check"] ?? null)) ? (" checked") : (""));
echo ">
<label class=\"form-check-label\" for=\"fk_checks\">";
// line 131
echo _gettext("Enable foreign key checks");
echo "</label>
</div>
</div>
<div class=\"form-inline col-auto\">
<input class=\"btn btn-primary ml-1\" type=\"submit\" id=\"button_submit_query\" name=\"SQL\" tabindex=\"200\" value=\"";
// line 136
echo _gettext("Go");
echo "\">
</div>
</div>
</div>
</div>
";
}
// line 142
echo "
";
// line 143
if (((($context["display_tab"] ?? null) == "full") && !twig_test_empty(($context["bookmarks"] ?? null)))) {
// line 144
echo " <div class=\"card mb-3\">
<div class=\"card-header\">";
// line 145
echo _gettext("Bookmarked SQL query");
echo "</div>
<div class=\"card-body\">
<div class=\"form-inline\">
<div class=\"form-group\">
<label for=\"id_bookmark\">";
// line 149
echo _gettext("Bookmark:");
echo "</label>
<select class=\"form-control\" name=\"id_bookmark\" id=\"id_bookmark\">
<option value=\"\">&nbsp;</option>
";
// line 152
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["bookmarks"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["bookmark"]) {
// line 153
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["bookmark"], "id", [], "any", false, false, false, 153), "html", null, true);
echo "\" data-varcount=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["bookmark"], "variable_count", [], "any", false, false, false, 153), "html", null, true);
echo "\">
";
// line 154
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["bookmark"], "label", [], "any", false, false, false, 154), "html", null, true);
echo "
";
// line 155
if (twig_get_attribute($this->env, $this->source, $context["bookmark"], "is_shared", [], "any", false, false, false, 155)) {
// line 156
echo " (";
echo _gettext("shared");
echo ")
";
}
// line 158
echo " </option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bookmark'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 160
echo " </select>
</div>
<div class=\"form-check form-check-inline\">
<input class=\"form-check-input\" type=\"radio\" name=\"action_bookmark\" value=\"0\" id=\"radio_bookmark_exe\" checked>
<label class=\"form-check-label\" for=\"radio_bookmark_exe\">";
// line 165
echo _gettext("Submit");
echo "</label>
</div>
<div class=\"form-check form-check-inline\">
<input class=\"form-check-input\" type=\"radio\" name=\"action_bookmark\" value=\"1\" id=\"radio_bookmark_view\">
<label class=\"form-check-label\" for=\"radio_bookmark_view\">";
// line 169
echo _gettext("View only");
echo "</label>
</div>
<div class=\"form-check form-check-inline\">
<input class=\"form-check-input\" type=\"radio\" name=\"action_bookmark\" value=\"2\" id=\"radio_bookmark_del\">
<label class=\"form-check-label\" for=\"radio_bookmark_del\">";
// line 173
echo _gettext("Delete");
echo "</label>
</div>
</div>
<div class=\"hide\">
";
// line 178
echo _gettext("Variables");
// line 179
echo " ";
echo \PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faqbookmark");
echo "
<div class=\"form-inline\" id=\"bookmarkVariables\"></div>
</div>
</div>
<div class=\"card-footer text-right\">
<input class=\"btn btn-secondary\" type=\"submit\" name=\"SQL\" id=\"button_submit_bookmark\" value=\"";
// line 185
echo _gettext("Go");
echo "\">
</div>
</div>
";
}
// line 189
echo "
";
// line 190
if (($context["can_convert_kanji"] ?? null)) {
// line 191
echo " <div class=\"card mb-3\">
<div class=\"card-body\">
";
// line 193
$this->loadTemplate("encoding/kanji_encoding_form.twig", "sql/query.twig", 193)->display($context);
// line 194
echo " </div>
</div>
";
}
// line 197
echo "</form>
<div id=\"sqlqueryresultsouter\"></div>
";
}
public function getTemplateName()
{
return "sql/query.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 429 => 197, 424 => 194, 422 => 193, 418 => 191, 416 => 190, 413 => 189, 406 => 185, 396 => 179, 394 => 178, 386 => 173, 379 => 169, 372 => 165, 365 => 160, 358 => 158, 352 => 156, 350 => 155, 346 => 154, 339 => 153, 335 => 152, 329 => 149, 322 => 145, 319 => 144, 317 => 143, 314 => 142, 305 => 136, 297 => 131, 293 => 130, 285 => 125, 277 => 120, 273 => 119, 266 => 114, 258 => 109, 254 => 108, 249 => 106, 241 => 100, 234 => 96, 226 => 91, 217 => 85, 213 => 83, 211 => 82, 206 => 79, 200 => 76, 195 => 75, 190 => 71, 181 => 68, 177 => 67, 173 => 66, 169 => 65, 165 => 64, 161 => 63, 157 => 61, 155 => 60, 144 => 53, 141 => 52, 131 => 45, 127 => 43, 121 => 41, 119 => 40, 115 => 39, 111 => 37, 101 => 29, 99 => 28, 92 => 23, 90 => 22, 85 => 21, 80 => 20, 71 => 14, 66 => 11, 64 => 10, 59 => 8, 55 => 7, 51 => 6, 45 => 3, 41 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "sql/query.twig", "/app/admin/templates/sql/query.twig");
}
}

View File

@@ -0,0 +1,294 @@
<?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/structure/body_for_table_summary.twig */
class __TwigTemplate_a44d79c71f6753e98feaea4923ef39896c9f5db96f840d8fd16c14336b6ed6ff 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
echo "<tfoot id=\"tbl_summary_row\" class=\"thead-light\">
<tr>
<th class=\"d-print-none\"></th>
<th class=\"tbl_num text-nowrap\">
";
// line 5
ob_start(function () { return ''; });
// line 6
echo _ngettext("%s table", "%s tables", abs(($context["num_tables"] ?? null)));
$context["num_tables_trans"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 8
echo " ";
echo twig_escape_filter($this->env, sprintf(($context["num_tables_trans"] ?? null), PhpMyAdmin\Util::formatNumber(($context["num_tables"] ?? null), 0)), "html", null, true);
echo "
</th>
";
// line 10
if (($context["server_slave_status"] ?? null)) {
// line 11
echo " <th>";
echo _gettext("Replication");
echo "</th>
";
}
// line 13
echo " ";
$context["sum_colspan"] = ((($context["db_is_system_schema"] ?? null)) ? (4) : (7));
// line 14
echo " ";
if ((($context["num_favorite_tables"] ?? null) == 0)) {
// line 15
echo " ";
$context["sum_colspan"] = (($context["sum_colspan"] ?? null) - 1);
// line 16
echo " ";
}
// line 17
echo " <th colspan=\"";
echo twig_escape_filter($this->env, ($context["sum_colspan"] ?? null), "html", null, true);
echo "\" class=\"d-print-none\">";
echo _gettext("Sum");
echo "</th>
";
// line 18
$context["row_count_sum"] = PhpMyAdmin\Util::formatNumber(($context["sum_entries"] ?? null), 0);
// line 19
echo " ";
// line 20
echo " ";
$context["row_sum_url"] = [];
// line 21
echo " ";
if (array_key_exists("approx_rows", $context)) {
// line 22
echo " ";
$context["row_sum_url"] = ["ajax_request" => true, "db" => // line 24
($context["db"] ?? null), "real_row_count_all" => "true"];
// line 27
echo " ";
}
// line 28
echo " ";
if (($context["approx_rows"] ?? null)) {
// line 29
echo " ";
ob_start(function () { return ''; });
// line 30
echo "<a href=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/structure/real-row-count", ($context["row_sum_url"] ?? null));
echo "\" class=\"ajax row_count_sum\">~";
// line 31
echo twig_escape_filter($this->env, ($context["row_count_sum"] ?? null), "html", null, true);
// line 32
echo "</a>";
$context["cell_text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 34
echo " ";
} else {
// line 35
echo " ";
$context["cell_text"] = ($context["row_count_sum"] ?? null);
// line 36
echo " ";
}
// line 37
echo " <th class=\"value tbl_rows text-monospace text-right\">";
echo twig_escape_filter($this->env, ($context["cell_text"] ?? null), "html", null, true);
echo "</th>
";
// line 38
if ( !(($context["properties_num_columns"] ?? null) > 1)) {
// line 39
echo " ";
// line 40
echo " ";
$context["default_engine"] = twig_get_attribute($this->env, $this->source, ($context["dbi"] ?? null), "fetchValue", [0 => "SELECT @@storage_engine;"], "method", false, false, false, 40);
// line 41
echo " ";
if (twig_test_empty(($context["default_engine"] ?? null))) {
// line 42
echo " ";
// line 43
echo " ";
$context["default_engine"] = twig_get_attribute($this->env, $this->source, ($context["dbi"] ?? null), "fetchValue", [0 => "SELECT @@default_storage_engine;"], "method", false, false, false, 43);
// line 44
echo " ";
}
// line 45
echo " <th class=\"text-center\">
<dfn title=\"";
// line 46
echo twig_escape_filter($this->env, sprintf(_gettext("%s is the default storage engine on this MySQL server."), ($context["default_engine"] ?? null)), "html", null, true);
echo "\">
";
// line 47
echo twig_escape_filter($this->env, ($context["default_engine"] ?? null), "html", null, true);
echo "
</dfn>
</th>
<th>
";
// line 51
if ( !twig_test_empty(($context["database_collation"] ?? null))) {
// line 52
echo " <dfn title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_collation"] ?? null), "description", [], "any", false, false, false, 52), "html", null, true);
echo " (";
echo _gettext("Default");
echo ")\">
";
// line 53
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_collation"] ?? null), "name", [], "any", false, false, false, 53), "html", null, true);
echo "
</dfn>
";
}
// line 56
echo " </th>
";
}
// line 58
echo "
";
// line 59
if (($context["is_show_stats"] ?? null)) {
// line 60
echo " ";
$context["sum"] = PhpMyAdmin\Util::formatByteDown(($context["sum_size"] ?? null), 3, 1);
// line 61
echo " ";
$context["sum_formatted"] = (($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = ($context["sum"] ?? null)) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4[0] ?? null) : null);
// line 62
echo " ";
$context["sum_unit"] = (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = ($context["sum"] ?? null)) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144[1] ?? null) : null);
// line 63
echo " <th class=\"value tbl_size text-monospace text-right\">";
echo twig_escape_filter($this->env, ($context["sum_formatted"] ?? null), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, ($context["sum_unit"] ?? null), "html", null, true);
echo "</th>
";
// line 65
$context["overhead"] = PhpMyAdmin\Util::formatByteDown(($context["overhead_size"] ?? null), 3, 1);
// line 66
echo " ";
$context["overhead_formatted"] = (($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = ($context["overhead"] ?? null)) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b[0] ?? null) : null);
// line 67
echo " ";
$context["overhead_unit"] = (($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = ($context["overhead"] ?? null)) && is_array($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002) || $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 instanceof ArrayAccess ? ($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002[1] ?? null) : null);
// line 68
echo " <th class=\"value tbl_overhead text-monospace text-right\">";
echo twig_escape_filter($this->env, ($context["overhead_formatted"] ?? null), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, ($context["overhead_unit"] ?? null), "html", null, true);
echo "</th>
";
}
// line 70
echo "
";
// line 71
if (($context["show_charset"] ?? null)) {
// line 72
echo " <th>";
echo twig_escape_filter($this->env, ($context["database_charset"] ?? null), "html", null, true);
echo "</th>
";
}
// line 74
echo " ";
if (($context["show_comment"] ?? null)) {
// line 75
echo " <th></th>
";
}
// line 77
echo " ";
if (($context["show_creation"] ?? null)) {
// line 78
echo " <th class=\"value tbl_creation text-monospace text-right\">
";
// line 79
echo twig_escape_filter($this->env, ($context["create_time_all"] ?? null), "html", null, true);
echo "
</th>
";
}
// line 82
echo " ";
if (($context["show_last_update"] ?? null)) {
// line 83
echo " <th class=\"value tbl_last_update text-monospace text-right\">
";
// line 84
echo twig_escape_filter($this->env, ($context["update_time_all"] ?? null), "html", null, true);
echo "
</th>
";
}
// line 87
echo " ";
if (($context["show_last_check"] ?? null)) {
// line 88
echo " <th class=\"value tbl_last_check text-monospace text-right\">
";
// line 89
echo twig_escape_filter($this->env, ($context["check_time_all"] ?? null), "html", null, true);
echo "
</th>
";
}
// line 92
echo "</tr>
</tfoot>
";
}
public function getTemplateName()
{
return "database/structure/body_for_table_summary.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 270 => 92, 264 => 89, 261 => 88, 258 => 87, 252 => 84, 249 => 83, 246 => 82, 240 => 79, 237 => 78, 234 => 77, 230 => 75, 227 => 74, 221 => 72, 219 => 71, 216 => 70, 208 => 68, 205 => 67, 202 => 66, 200 => 65, 192 => 63, 189 => 62, 186 => 61, 183 => 60, 181 => 59, 178 => 58, 174 => 56, 168 => 53, 161 => 52, 159 => 51, 152 => 47, 148 => 46, 145 => 45, 142 => 44, 139 => 43, 137 => 42, 134 => 41, 131 => 40, 129 => 39, 127 => 38, 122 => 37, 119 => 36, 116 => 35, 113 => 34, 110 => 32, 108 => 31, 104 => 30, 101 => 29, 98 => 28, 95 => 27, 93 => 24, 91 => 22, 88 => 21, 85 => 20, 83 => 19, 81 => 18, 74 => 17, 71 => 16, 68 => 15, 65 => 14, 62 => 13, 56 => 11, 54 => 10, 48 => 8, 45 => 6, 43 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/body_for_table_summary.twig", "/app/admin/templates/database/structure/body_for_table_summary.twig");
}
}

View File

@@ -0,0 +1,79 @@
<?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;
/* file_select_options.twig */
class __TwigTemplate_ef6d7d9879fb7d74083ae8cbc5371e995dec7f4043ef3a15a41ba680dbbf53da 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
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["filesList"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
// line 2
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["file"], "html", null, true);
echo "\"";
if (($context["file"] == ($context["active"] ?? null))) {
echo " selected=\"selected\"";
}
echo ">
";
// line 3
echo twig_escape_filter($this->env, $context["file"], "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
public function getTemplateName()
{
return "file_select_options.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 50 => 3, 41 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "file_select_options.twig", "/app/admin/templates/file_select_options.twig");
}
}

View File

@@ -0,0 +1,97 @@
<?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;
/* login/header.twig */
class __TwigTemplate_9b4f5b2b32ae780681262d24a8a67c7cebd2906325aab14fdd504724d824114e 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["session_expired"] ?? null) == true)) {
// line 2
echo " <div id=\"modalOverlay\">
";
}
// line 4
echo "<div class=\"container";
echo twig_escape_filter($this->env, ($context["add_class"] ?? null), "html", null, true);
echo "\">
<div class=\"row\">
<div class=\"col-12\">
<a href=\"";
// line 7
echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/"), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"logo\">
<img src=\"";
// line 8
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "logo_right.png", 1 => "pma_logo.png"], "method", false, false, false, 8), "html", null, true);
echo "\" id=\"imLogo\" name=\"imLogo\" alt=\"phpMyAdmin\" border=\"0\">
</a>
<h1>";
// line 10
echo sprintf(_gettext("Welcome to %s"), "<bdo dir=\"ltr\" lang=\"en\">phpMyAdmin</bdo>");
echo "</h1>
<noscript>
";
// line 13
echo call_user_func_array($this->env->getFilter('error')->getCallable(), [_gettext("Javascript must be enabled past this point!")]);
echo "
</noscript>
<div class=\"hide\" id=\"js-https-mismatch\">
";
// line 17
echo call_user_func_array($this->env->getFilter('error')->getCallable(), [_gettext("There is a mismatch between HTTPS indicated on the server and client. This can lead to a non working phpMyAdmin or a security risk. Please fix your server configuration to indicate HTTPS properly.")]);
echo "
</div>
";
}
public function getTemplateName()
{
return "login/header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 72 => 17, 65 => 13, 59 => 10, 54 => 8, 50 => 7, 43 => 4, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "login/header.twig", "/app/admin/templates/login/header.twig");
}
}

View File

@@ -0,0 +1,64 @@
<?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/structure/collation_definition.twig */
class __TwigTemplate_3924451fdb2b0d1e3f36cb8c40ecfad5b55b6870f48c7c4115eb995fa7f710ec 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
echo "<dfn title=\"";
echo twig_escape_filter($this->env, ($context["valueTitle"] ?? null), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true);
echo "</dfn>
";
}
public function getTemplateName()
{
return "database/structure/collation_definition.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/collation_definition.twig", "/app/admin/templates/database/structure/collation_definition.twig");
}
}

View File

@@ -0,0 +1,66 @@
<?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;
/* login/footer.twig */
class __TwigTemplate_b8bc486c93b68196413f0de7ee1b5f1895983b00fb18cc637525e96f845a0ce5 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
echo "</div>
";
// line 2
if ((($context["check_timeout"] ?? null) == true)) {
// line 3
echo " </div>
";
}
}
public function getTemplateName()
{
return "login/footer.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 42 => 3, 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "login/footer.twig", "/app/admin/templates/login/footer.twig");
}
}

View File

@@ -0,0 +1,190 @@
<?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/triggers/list.twig */
class __TwigTemplate_60a32b1e91e85d83eea522d65fb728f11888f7516e5fd1b9a810df7bf5488cc7 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
echo "<form id=\"rteListForm\" class=\"ajax\" action=\"";
echo PhpMyAdmin\Url::getFromRoute((( !twig_test_empty(($context["table"] ?? null))) ? ("/table/triggers") : ("/database/triggers")));
echo "\">
";
// line 2
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
echo "
<fieldset>
<legend>
";
// line 6
echo _gettext("Triggers");
// line 7
echo " ";
echo \PhpMyAdmin\Html\MySQLDocumentation::show("TRIGGERS");
echo "
</legend>
<div id=\"nothing2display\"";
// line 10
echo (( !twig_test_empty(($context["items"] ?? null))) ? (" class=\"hide\"") : (""));
echo ">
";
// line 11
echo _gettext("There are no triggers to display.");
// line 12
echo " </div>
<table id=\"triggersTable\" class=\"table table-light table-striped table-hover";
// line 14
echo ((twig_test_empty(($context["items"] ?? null))) ? (" hide") : (""));
echo " w-auto data\">
<thead class=\"thead-light\">
<tr>
<th></th>
<th>";
// line 18
echo _gettext("Name");
echo "</th>
";
// line 19
if (twig_test_empty(($context["table"] ?? null))) {
// line 20
echo " <th>";
echo _gettext("Table");
echo "</th>
";
}
// line 22
echo " <th colspan=\"3\">";
echo _gettext("Action");
echo "</th>
<th>";
// line 23
echo _gettext("Time");
echo "</th>
<th>";
// line 24
echo _gettext("Event");
echo "</th>
</tr>
</thead>
<tbody>
<tr class=\"hide\">";
// line 28
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, ((twig_test_empty(($context["table"] ?? null))) ? (7) : (6))));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
echo "<td></td>";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
echo "</tr>
";
// line 30
echo ($context["rows"] ?? null);
echo "
</tbody>
</table>
";
// line 34
if ( !twig_test_empty(($context["items"] ?? null))) {
// line 35
echo " <div class=\"withSelected\">
<img class=\"selectallarrow\" src=\"";
// line 36
echo twig_escape_filter($this->env, ($context["select_all_arrow_src"] ?? null), "html", null, true);
echo "\" width=\"38\" height=\"22\" alt=\"";
echo _gettext("With selected:");
echo "\">
<input type=\"checkbox\" id=\"rteListForm_checkall\" class=\"checkall_box\" title=\"";
// line 37
echo _gettext("Check all");
echo "\">
<label for=\"rteListForm_checkall\">";
// line 38
echo _gettext("Check all");
echo "</label>
<em class=\"with-selected\">";
// line 39
echo _gettext("With selected:");
echo "</em>
<button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"export\" title=\"";
// line 41
echo _gettext("Export");
echo "\">
";
// line 42
echo \PhpMyAdmin\Html\Generator::getIcon("b_export", _gettext("Export"));
echo "
</button>
<button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"drop\" title=\"";
// line 44
echo _gettext("Drop");
echo "\">
";
// line 45
echo \PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop"));
echo "
</button>
</div>
";
}
// line 49
echo " </fieldset>
</form>
";
}
public function getTemplateName()
{
return "database/triggers/list.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 166 => 49, 159 => 45, 155 => 44, 150 => 42, 146 => 41, 141 => 39, 137 => 38, 133 => 37, 127 => 36, 124 => 35, 122 => 34, 115 => 30, 103 => 28, 96 => 24, 92 => 23, 87 => 22, 81 => 20, 79 => 19, 75 => 18, 68 => 14, 64 => 12, 62 => 11, 58 => 10, 51 => 7, 49 => 6, 42 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/triggers/list.twig", "/app/admin/templates/database/triggers/list.twig");
}
}

View File

@@ -0,0 +1,93 @@
<?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;
/* console/toolbar.twig */
class __TwigTemplate_c9ddc712efb27e8853f3cfde791f5bd89893c00b84d82caf9ce611744f7f1484 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
echo "<div class=\"toolbar ";
echo twig_escape_filter($this->env, ($context["parent_div_classes"] ?? null), "html", null, true);
echo "\">
";
// line 2
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["content_array"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["content"]) {
// line 3
echo " ";
if (array_key_exists("content", $context)) {
// line 4
echo " <div class=\"";
echo twig_escape_filter($this->env, (($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = $context["content"]) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4[0] ?? null) : null), "html", null, true);
echo "\">
";
// line 5
echo ((twig_get_attribute($this->env, $this->source, $context["content"], "image", [], "array", true, true, false, 5)) ? ((($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = $context["content"]) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144["image"] ?? null) : null)) : (""));
echo "
<span>";
// line 6
echo twig_escape_filter($this->env, (($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = $context["content"]) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b[1] ?? null) : null), "html", null, true);
echo "</span>
</div>
";
}
// line 9
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 10
echo "</div>
";
}
public function getTemplateName()
{
return "console/toolbar.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 70 => 10, 64 => 9, 58 => 6, 54 => 5, 49 => 4, 46 => 3, 42 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "console/toolbar.twig", "/app/admin/templates/console/toolbar.twig");
}
}

View File

@@ -0,0 +1,113 @@
<?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;
/* config/form_display/fieldset_top.twig */
class __TwigTemplate_1faecd954d72a6845d9ee02a56b469961aa7081e2ed41e88c7b8930837691b65 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
echo "<fieldset";
// line 2
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["attributes"] ?? null));
foreach ($context['_seq'] as $context["key"] => $context["value"]) {
// line 3
echo " ";
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "=\"";
echo twig_escape_filter($this->env, $context["value"], "html", null, true);
echo "\"";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 4
echo ">
<legend>";
// line 5
echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true);
echo "</legend>
";
// line 6
if ( !twig_test_empty(($context["description"] ?? null))) {
// line 7
echo " <p>";
echo ($context["description"] ?? null);
echo "</p>
";
}
// line 10
if ((twig_test_iterable(($context["errors"] ?? null)) && (twig_length_filter($this->env, ($context["errors"] ?? null)) > 0))) {
// line 11
echo " <dl class=\"errors\">
";
// line 12
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["errors"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
// line 13
echo " <dd>";
echo twig_escape_filter($this->env, $context["error"], "html", null, true);
echo "</dd>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 15
echo " </dl>
";
}
// line 17
echo "<table class=\"pma-table\" width=\"100%\" cellspacing=\"0\">
";
}
public function getTemplateName()
{
return "config/form_display/fieldset_top.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 90 => 17, 86 => 15, 77 => 13, 73 => 12, 70 => 11, 68 => 10, 62 => 7, 60 => 6, 56 => 5, 53 => 4, 43 => 3, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "config/form_display/fieldset_top.twig", "/app/admin/templates/config/form_display/fieldset_top.twig");
}
}

View File

@@ -0,0 +1,80 @@
<?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/structure/favorite_anchor.twig */
class __TwigTemplate_44cb38d085f3f1e0823c86a785588b913cbd4267438e98ac475ebda3d39c8bfd 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
echo "<a id=\"";
echo twig_escape_filter($this->env, ($context["table_name_hash"] ?? null), "html", null, true);
echo "_favorite_anchor\"
class=\"ajax favorite_table_anchor\"
href=\"";
// line 3
echo PhpMyAdmin\Url::getFromRoute("/database/structure/favorite-table", ($context["fav_params"] ?? null));
echo "\"
title=\"";
// line 4
echo twig_escape_filter($this->env, ((($context["already_favorite"] ?? null)) ? (_gettext("Remove from Favorites")) : (_gettext("Add to Favorites"))), "html", null, true);
echo "\"
data-favtargets=\"";
// line 5
echo twig_escape_filter($this->env, ($context["db_table_name_hash"] ?? null), "html", null, true);
echo "\">
";
// line 6
echo ((($context["already_favorite"] ?? null)) ? (\PhpMyAdmin\Html\Generator::getIcon("b_favorite")) : (\PhpMyAdmin\Html\Generator::getIcon("b_no_favorite")));
echo "
</a>
";
}
public function getTemplateName()
{
return "database/structure/favorite_anchor.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 6, 51 => 5, 47 => 4, 43 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/favorite_anchor.twig", "/app/admin/templates/database/structure/favorite_anchor.twig");
}
}

View File

@@ -0,0 +1,55 @@
<?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;
/* config/form_display/form_bottom.twig */
class __TwigTemplate_02bb24bc13624fc40dd4b563c96cb9d0eb22c5495da9ba1e44221d0523a29a0b 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
echo "</form>
";
}
public function getTemplateName()
{
return "config/form_display/form_bottom.twig";
}
public function getDebugInfo()
{
return array ( 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "config/form_display/form_bottom.twig", "/app/admin/templates/config/form_display/form_bottom.twig");
}
}

View File

@@ -0,0 +1,71 @@
<?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/import/index.twig */
class __TwigTemplate_def95f6dcf84913c38abb637ede78bed0383e4dfc1c84384594d6f684f298807 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "import.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$this->parent = $this->loadTemplate("import.twig", "database/import/index.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
echo twig_escape_filter($this->env, sprintf(_gettext("Importing into the database \"%s\""), ($context["db"] ?? null)), "html", null, true);
}
public function getTemplateName()
{
return "database/import/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 46 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/import/index.twig", "/app/admin/templates/database/import/index.twig");
}
}

View File

@@ -0,0 +1,99 @@
<?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;
/* console/query_action.twig */
class __TwigTemplate_ae0e00b9b8f7747ab7e0f44cc3f8550319e7c65f361e427b4e13d70e8846658a 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
echo "<div class=\"";
echo twig_escape_filter($this->env, ($context["parent_div_classes"] ?? null), "html", null, true);
echo "\">
";
// line 2
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["content_array"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["content"]) {
// line 3
echo " ";
if (array_key_exists("content", $context)) {
// line 4
echo " <span class=\"";
echo twig_escape_filter($this->env, (($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = $context["content"]) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4[0] ?? null) : null), "html", null, true);
echo "\">
";
// line 5
echo twig_escape_filter($this->env, (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = $context["content"]) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144[1] ?? null) : null), "html", null, true);
echo "
";
// line 6
if (twig_get_attribute($this->env, $this->source, $context["content"], "extraSpan", [], "array", true, true, false, 6)) {
// line 7
echo " : <span>";
echo twig_escape_filter($this->env, (($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = $context["content"]) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b["extraSpan"] ?? null) : null), "html", null, true);
echo "</span>
";
}
// line 9
echo " </span>
";
}
// line 11
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 12
echo "</div>
";
}
public function getTemplateName()
{
return "console/query_action.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 76 => 12, 70 => 11, 66 => 9, 60 => 7, 58 => 6, 54 => 5, 49 => 4, 46 => 3, 42 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "console/query_action.twig", "/app/admin/templates/console/query_action.twig");
}
}

View File

@@ -0,0 +1,441 @@
<?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/database_tables.twig */
class __TwigTemplate_5ccffd497eddabca6c0824a0d6a3f8754f8b9fcaf563947e3083734f945df0a6 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
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["tables"] ?? null));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["designerTable"]) {
// line 2
echo " ";
$context["i"] = twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 2);
// line 3
echo " ";
$context["t_n_url"] = twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["designerTable"], "getDbTableString", [], "method", false, false, false, 3), "url");
// line 4
echo " ";
$context["db"] = twig_get_attribute($this->env, $this->source, $context["designerTable"], "getDatabaseName", [], "method", false, false, false, 4);
// line 5
echo " ";
$context["db_url"] = twig_escape_filter($this->env, ($context["db"] ?? null), "url");
// line 6
echo " ";
$context["t_n"] = twig_get_attribute($this->env, $this->source, $context["designerTable"], "getDbTableString", [], "method", false, false, false, 6);
// line 7
echo " ";
$context["table_name"] = twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["designerTable"], "getTableName", [], "method", false, false, false, 7), "html");
// line 8
echo " <input name=\"t_x[";
echo twig_escape_filter($this->env, ($context["t_n_url"] ?? null), "html", null, true);
echo "]\" type=\"hidden\" id=\"t_x_";
echo twig_escape_filter($this->env, ($context["t_n_url"] ?? null), "html", null, true);
echo "_\" />
<input name=\"t_y[";
// line 9
echo twig_escape_filter($this->env, ($context["t_n_url"] ?? null), "html", null, true);
echo "]\" type=\"hidden\" id=\"t_y_";
echo twig_escape_filter($this->env, ($context["t_n_url"] ?? null), "html", null, true);
echo "_\" />
<input name=\"t_v[";
// line 10
echo twig_escape_filter($this->env, ($context["t_n_url"] ?? null), "html", null, true);
echo "]\" type=\"hidden\" id=\"t_v_";
echo twig_escape_filter($this->env, ($context["t_n_url"] ?? null), "html", null, true);
echo "_\" />
<input name=\"t_h[";
// line 11
echo twig_escape_filter($this->env, ($context["t_n_url"] ?? null), "html", null, true);
echo "]\" type=\"hidden\" id=\"t_h_";
echo twig_escape_filter($this->env, ($context["t_n_url"] ?? null), "html", null, true);
echo "_\" />
<table id=\"";
// line 12
echo twig_escape_filter($this->env, ($context["t_n_url"] ?? null), "html", null, true);
echo "\"
db_url=\"";
// line 13
echo twig_escape_filter($this->env, twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["designerTable"], "getDatabaseName", [], "method", false, false, false, 13), "url"), "html", null, true);
echo "\"
table_name_url=\"";
// line 14
echo twig_escape_filter($this->env, twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["designerTable"], "getTableName", [], "method", false, false, false, 14), "url"), "html", null, true);
echo "\"
cellpadding=\"0\"
cellspacing=\"0\"
class=\"pma-table designer_tab\"
style=\"position:absolute; ";
// line 18
echo (((($context["text_dir"] ?? null) == "rtl")) ? ("right") : ("left"));
echo ":";
// line 19
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["tab_pos"] ?? null), ($context["t_n"] ?? null), [], "array", true, true, false, 19)) ? ((($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = ($context["tab_pos"] ?? null)) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144[($context["t_n"] ?? null)] ?? null) : null)) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4["X"] ?? null) : null)) : (twig_random($this->env, range(20, 700)))), "html", null, true);
echo "px; top:";
// line 20
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["tab_pos"] ?? null), ($context["t_n"] ?? null), [], "array", true, true, false, 20)) ? ((($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = (($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = ($context["tab_pos"] ?? null)) && is_array($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002) || $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 instanceof ArrayAccess ? ($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002[($context["t_n"] ?? null)] ?? null) : null)) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b["Y"] ?? null) : null)) : (twig_random($this->env, range(20, 550)))), "html", null, true);
echo "px; display:";
// line 21
echo (((twig_get_attribute($this->env, $this->source, ($context["tab_pos"] ?? null), ($context["t_n"] ?? null), [], "array", true, true, false, 21) || (($context["display_page"] ?? null) == -1))) ? ("block") : ("none"));
echo "; z-index: 1;\"> <!--\"-->
<thead>
<tr class=\"header\">
";
// line 24
if (($context["has_query"] ?? null)) {
// line 25
echo " <td class=\"select_all\">
<input class=\"select_all_1\"
type=\"checkbox\"
style=\"margin: 0;\"
value=\"select_all_";
// line 29
echo twig_escape_filter($this->env, ($context["t_n_url"] ?? null), "html", null, true);
echo "\"
id=\"select_all_";
// line 30
echo twig_escape_filter($this->env, ($context["i"] ?? null), "html", null, true);
echo "\"
title=\"";
// line 31
echo _gettext("Select all");
echo "\"
table_name=\"";
// line 32
echo twig_escape_filter($this->env, ($context["table_name"] ?? null), "html", null, true);
echo "\"
db_name=\"";
// line 33
echo twig_escape_filter($this->env, ($context["db"] ?? null), "html", null, true);
echo "\">
</td>
";
}
// line 36
echo " <td class=\"small_tab\"
title=\"";
// line 37
echo _gettext("Show/hide columns");
echo "\"
id=\"id_hide_tbody_";
// line 38
echo twig_escape_filter($this->env, ($context["t_n_url"] ?? null), "html", null, true);
echo "\"
table_name=\"";
// line 39
echo twig_escape_filter($this->env, ($context["t_n_url"] ?? null), "html", null, true);
echo "\">";
echo ((( !twig_get_attribute($this->env, $this->source, ($context["tab_pos"] ?? null), ($context["t_n"] ?? null), [], "array", true, true, false, 39) || !twig_test_empty((($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 = (($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 = ($context["tab_pos"] ?? null)) && is_array($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666) || $__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 instanceof ArrayAccess ? ($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666[($context["t_n"] ?? null)] ?? null) : null)) && is_array($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4) || $__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 instanceof ArrayAccess ? ($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4["V"] ?? null) : null)))) ? ("v") : ("&gt;"));
echo "</td>
<td class=\"small_tab_pref small_tab_pref_1\"
db=\"";
// line 41
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["designerTable"], "getDatabaseName", [], "method", false, false, false, 41), "html", null, true);
echo "\"
db_url=\"";
// line 42
echo twig_escape_filter($this->env, twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["designerTable"], "getDatabaseName", [], "method", false, false, false, 42), "url"), "html", null, true);
echo "\"
table_name=\"";
// line 43
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["designerTable"], "getTableName", [], "method", false, false, false, 43), "html", null, true);
echo "\"
table_name_url=\"";
// line 44
echo twig_escape_filter($this->env, twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["designerTable"], "getTableName", [], "method", false, false, false, 44), "url"), "html", null, true);
echo "\">
<img src=\"";
// line 45
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/exec_small.png"], "method", false, false, false, 45), "html", null, true);
echo "\"
title=\"";
// line 46
echo _gettext("See table structure");
echo "\">
</td>
<td id=\"id_zag_";
// line 48
echo twig_escape_filter($this->env, ($context["t_n_url"] ?? null), "html", null, true);
echo "\"
class=\"tab_zag nowrap tab_zag_noquery\"
table_name=\"";
// line 50
echo twig_escape_filter($this->env, ($context["t_n_url"] ?? null), "html", null, true);
echo "\"
query_set=\"";
// line 51
echo ((($context["has_query"] ?? null)) ? (1) : (0));
echo "\">
<span class=\"owner\">";
// line 52
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["designerTable"], "getDatabaseName", [], "method", false, false, false, 52), "html", null, true);
echo "</span>
";
// line 53
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["designerTable"], "getTableName", [], "method", false, false, false, 53), "html", null, true);
echo "
</td>
";
// line 55
if (($context["has_query"] ?? null)) {
// line 56
echo " <td class=\"tab_zag tab_zag_query\"
id=\"id_zag_";
// line 57
echo twig_escape_filter($this->env, ($context["t_n_url"] ?? null), "html", null, true);
echo "_2\"
table_name=\"";
// line 58
echo twig_escape_filter($this->env, ($context["t_n_url"] ?? null), "html", null, true);
echo "\">
</td>
";
}
// line 61
echo " </tr>
</thead>
<tbody id=\"id_tbody_";
// line 63
echo twig_escape_filter($this->env, ($context["t_n_url"] ?? null), "html", null, true);
echo "\"";
// line 64
echo (((twig_get_attribute($this->env, $this->source, ($context["tab_pos"] ?? null), ($context["t_n"] ?? null), [], "array", true, true, false, 64) && twig_test_empty((($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e = (($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 = ($context["tab_pos"] ?? null)) && is_array($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52) || $__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 instanceof ArrayAccess ? ($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52[($context["t_n"] ?? null)] ?? null) : null)) && is_array($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e) || $__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e instanceof ArrayAccess ? ($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e["V"] ?? null) : null)))) ? (" style=\"display: none\"") : (""));
echo ">
";
// line 65
$context["display_field"] = twig_get_attribute($this->env, $this->source, $context["designerTable"], "getDisplayField", [], "method", false, false, false, 65);
// line 66
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, (twig_length_filter($this->env, (($__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136 = (($__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386 = ($context["tab_column"] ?? null)) && is_array($__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386) || $__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386 instanceof ArrayAccess ? ($__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386[($context["t_n"] ?? null)] ?? null) : null)) && is_array($__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136) || $__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136 instanceof ArrayAccess ? ($__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136["COLUMN_ID"] ?? null) : null)) - 1)));
foreach ($context['_seq'] as $context["_key"] => $context["j"]) {
// line 67
echo " ";
$context["col_name"] = (($__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9 = (($__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae = (($__internal_25c0fab8152b8dd6b90603159c0f2e8a936a09ab76edb5e4d7bc95d9a8d2dc8f = ($context["tab_column"] ?? null)) && is_array($__internal_25c0fab8152b8dd6b90603159c0f2e8a936a09ab76edb5e4d7bc95d9a8d2dc8f) || $__internal_25c0fab8152b8dd6b90603159c0f2e8a936a09ab76edb5e4d7bc95d9a8d2dc8f instanceof ArrayAccess ? ($__internal_25c0fab8152b8dd6b90603159c0f2e8a936a09ab76edb5e4d7bc95d9a8d2dc8f[($context["t_n"] ?? null)] ?? null) : null)) && is_array($__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae) || $__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae instanceof ArrayAccess ? ($__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae["COLUMN_NAME"] ?? null) : null)) && is_array($__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9) || $__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9 instanceof ArrayAccess ? ($__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9[$context["j"]] ?? null) : null);
// line 68
echo " ";
$context["tmp_column"] = ((($context["t_n"] ?? null) . ".") . (($__internal_f769f712f3484f00110c86425acea59f5af2752239e2e8596bcb6effeb425b40 = (($__internal_98e944456c0f58b2585e4aa36e3a7e43f4b7c9038088f0f056004af41f4a007f = (($__internal_a06a70691a7ca361709a372174fa669f5ee1c1e4ed302b3a5b61c10c80c02760 = ($context["tab_column"] ?? null)) && is_array($__internal_a06a70691a7ca361709a372174fa669f5ee1c1e4ed302b3a5b61c10c80c02760) || $__internal_a06a70691a7ca361709a372174fa669f5ee1c1e4ed302b3a5b61c10c80c02760 instanceof ArrayAccess ? ($__internal_a06a70691a7ca361709a372174fa669f5ee1c1e4ed302b3a5b61c10c80c02760[($context["t_n"] ?? null)] ?? null) : null)) && is_array($__internal_98e944456c0f58b2585e4aa36e3a7e43f4b7c9038088f0f056004af41f4a007f) || $__internal_98e944456c0f58b2585e4aa36e3a7e43f4b7c9038088f0f056004af41f4a007f instanceof ArrayAccess ? ($__internal_98e944456c0f58b2585e4aa36e3a7e43f4b7c9038088f0f056004af41f4a007f["COLUMN_NAME"] ?? null) : null)) && is_array($__internal_f769f712f3484f00110c86425acea59f5af2752239e2e8596bcb6effeb425b40) || $__internal_f769f712f3484f00110c86425acea59f5af2752239e2e8596bcb6effeb425b40 instanceof ArrayAccess ? ($__internal_f769f712f3484f00110c86425acea59f5af2752239e2e8596bcb6effeb425b40[$context["j"]] ?? null) : null));
// line 69
echo " ";
$context["click_field_param"] = [0 => twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, // line 70
$context["designerTable"], "getTableName", [], "method", false, false, false, 70), "url"), 1 => twig_urlencode_filter((($__internal_653499042eb14fd8415489ba6fa87c1e85cff03392e9f57b26d0da09b9be82ce = (($__internal_ba9f0a3bb95c082f61c9fbf892a05514d732703d52edc77b51f2e6284135900b = (($__internal_73db8eef4d2582468dab79a6b09c77ce3b48675a610afd65a1f325b68804a60c = // line 71
($context["tab_column"] ?? null)) && is_array($__internal_73db8eef4d2582468dab79a6b09c77ce3b48675a610afd65a1f325b68804a60c) || $__internal_73db8eef4d2582468dab79a6b09c77ce3b48675a610afd65a1f325b68804a60c instanceof ArrayAccess ? ($__internal_73db8eef4d2582468dab79a6b09c77ce3b48675a610afd65a1f325b68804a60c[($context["t_n"] ?? null)] ?? null) : null)) && is_array($__internal_ba9f0a3bb95c082f61c9fbf892a05514d732703d52edc77b51f2e6284135900b) || $__internal_ba9f0a3bb95c082f61c9fbf892a05514d732703d52edc77b51f2e6284135900b instanceof ArrayAccess ? ($__internal_ba9f0a3bb95c082f61c9fbf892a05514d732703d52edc77b51f2e6284135900b["COLUMN_NAME"] ?? null) : null)) && is_array($__internal_653499042eb14fd8415489ba6fa87c1e85cff03392e9f57b26d0da09b9be82ce) || $__internal_653499042eb14fd8415489ba6fa87c1e85cff03392e9f57b26d0da09b9be82ce instanceof ArrayAccess ? ($__internal_653499042eb14fd8415489ba6fa87c1e85cff03392e9f57b26d0da09b9be82ce[$context["j"]] ?? null) : null))];
// line 73
echo " ";
if ( !twig_get_attribute($this->env, $this->source, $context["designerTable"], "supportsForeignkeys", [], "method", false, false, false, 73)) {
// line 74
echo " ";
$context["click_field_param"] = twig_array_merge(($context["click_field_param"] ?? null), [0 => ((twig_get_attribute($this->env, $this->source, ($context["tables_pk_or_unique_keys"] ?? null), ($context["tmp_column"] ?? null), [], "array", true, true, false, 74)) ? (1) : (0))]);
// line 75
echo " ";
} else {
// line 76
echo " ";
// line 78
echo " ";
$context["click_field_param"] = twig_array_merge(($context["click_field_param"] ?? null), [0 => ((twig_get_attribute($this->env, $this->source, ($context["tables_all_keys"] ?? null), ($context["tmp_column"] ?? null), [], "array", true, true, false, 78)) ? (1) : (0))]);
// line 79
echo " ";
}
// line 80
echo " ";
$context["click_field_param"] = twig_array_merge(($context["click_field_param"] ?? null), [0 => ($context["db"] ?? null)]);
// line 81
echo " <tr id=\"id_tr_";
echo twig_escape_filter($this->env, twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["designerTable"], "getTableName", [], "method", false, false, false, 81), "url"), "html", null, true);
echo ".";
echo twig_escape_filter($this->env, (($__internal_d8ad5934f1874c52fa2ac9a4dfae52038b39b8b03cfc82eeb53de6151d883972 = (($__internal_df39c71428eaf37baa1ea2198679e0077f3699bdd31bb5ba10d084710b9da216 = (($__internal_bf0e189d688dc2ad611b50a437a32d3692fb6b8be90d2228617cfa6db44e75c0 = ($context["tab_column"] ?? null)) && is_array($__internal_bf0e189d688dc2ad611b50a437a32d3692fb6b8be90d2228617cfa6db44e75c0) || $__internal_bf0e189d688dc2ad611b50a437a32d3692fb6b8be90d2228617cfa6db44e75c0 instanceof ArrayAccess ? ($__internal_bf0e189d688dc2ad611b50a437a32d3692fb6b8be90d2228617cfa6db44e75c0[($context["t_n"] ?? null)] ?? null) : null)) && is_array($__internal_df39c71428eaf37baa1ea2198679e0077f3699bdd31bb5ba10d084710b9da216) || $__internal_df39c71428eaf37baa1ea2198679e0077f3699bdd31bb5ba10d084710b9da216 instanceof ArrayAccess ? ($__internal_df39c71428eaf37baa1ea2198679e0077f3699bdd31bb5ba10d084710b9da216["COLUMN_NAME"] ?? null) : null)) && is_array($__internal_d8ad5934f1874c52fa2ac9a4dfae52038b39b8b03cfc82eeb53de6151d883972) || $__internal_d8ad5934f1874c52fa2ac9a4dfae52038b39b8b03cfc82eeb53de6151d883972 instanceof ArrayAccess ? ($__internal_d8ad5934f1874c52fa2ac9a4dfae52038b39b8b03cfc82eeb53de6151d883972[$context["j"]] ?? null) : null), "html", null, true);
echo "\" class=\"tab_field";
// line 82
echo (((($context["display_field"] ?? null) == (($__internal_674c0abf302105af78b0a38907d86c5dd0028bdc3ee5f24bf52771a16487760c = (($__internal_dd839fbfcab68823c49af471c7df7659a500fe72e71b58d6b80d896bdb55e75f = (($__internal_a7ed47878554bdc32b70e1ba5ccc67d2302196876fbf62b4c853b20cb9e029fc = ($context["tab_column"] ?? null)) && is_array($__internal_a7ed47878554bdc32b70e1ba5ccc67d2302196876fbf62b4c853b20cb9e029fc) || $__internal_a7ed47878554bdc32b70e1ba5ccc67d2302196876fbf62b4c853b20cb9e029fc instanceof ArrayAccess ? ($__internal_a7ed47878554bdc32b70e1ba5ccc67d2302196876fbf62b4c853b20cb9e029fc[($context["t_n"] ?? null)] ?? null) : null)) && is_array($__internal_dd839fbfcab68823c49af471c7df7659a500fe72e71b58d6b80d896bdb55e75f) || $__internal_dd839fbfcab68823c49af471c7df7659a500fe72e71b58d6b80d896bdb55e75f instanceof ArrayAccess ? ($__internal_dd839fbfcab68823c49af471c7df7659a500fe72e71b58d6b80d896bdb55e75f["COLUMN_NAME"] ?? null) : null)) && is_array($__internal_674c0abf302105af78b0a38907d86c5dd0028bdc3ee5f24bf52771a16487760c) || $__internal_674c0abf302105af78b0a38907d86c5dd0028bdc3ee5f24bf52771a16487760c instanceof ArrayAccess ? ($__internal_674c0abf302105af78b0a38907d86c5dd0028bdc3ee5f24bf52771a16487760c[$context["j"]] ?? null) : null))) ? ("_3") : (""));
echo "\" click_field_param=\"";
// line 83
echo twig_escape_filter($this->env, twig_join_filter(($context["click_field_param"] ?? null), ","), "html", null, true);
echo "\">
";
// line 84
if (($context["has_query"] ?? null)) {
// line 85
echo " <td class=\"select_all\">
<input class=\"select_all_store_col\"
value=\"";
// line 87
echo twig_escape_filter($this->env, ($context["t_n_url"] ?? null), "html", null, true);
echo twig_escape_filter($this->env, twig_urlencode_filter((($__internal_e5d7b41e16b744b68da1e9bb49047b8028ced86c782900009b4b4029b83d4b55 = (($__internal_9e93f398968fa0576dce82fd00f280e95c734ad3f84e7816ff09158ae224f5ba = (($__internal_0795e3de58b6454b051261c0c2b5be48852e17f25b59d4aeef29fb07c614bd78 = ($context["tab_column"] ?? null)) && is_array($__internal_0795e3de58b6454b051261c0c2b5be48852e17f25b59d4aeef29fb07c614bd78) || $__internal_0795e3de58b6454b051261c0c2b5be48852e17f25b59d4aeef29fb07c614bd78 instanceof ArrayAccess ? ($__internal_0795e3de58b6454b051261c0c2b5be48852e17f25b59d4aeef29fb07c614bd78[($context["t_n"] ?? null)] ?? null) : null)) && is_array($__internal_9e93f398968fa0576dce82fd00f280e95c734ad3f84e7816ff09158ae224f5ba) || $__internal_9e93f398968fa0576dce82fd00f280e95c734ad3f84e7816ff09158ae224f5ba instanceof ArrayAccess ? ($__internal_9e93f398968fa0576dce82fd00f280e95c734ad3f84e7816ff09158ae224f5ba["COLUMN_NAME"] ?? null) : null)) && is_array($__internal_e5d7b41e16b744b68da1e9bb49047b8028ced86c782900009b4b4029b83d4b55) || $__internal_e5d7b41e16b744b68da1e9bb49047b8028ced86c782900009b4b4029b83d4b55 instanceof ArrayAccess ? ($__internal_e5d7b41e16b744b68da1e9bb49047b8028ced86c782900009b4b4029b83d4b55[$context["j"]] ?? null) : null)), "html", null, true);
echo "\"
type=\"checkbox\"
id=\"select_";
// line 89
echo twig_escape_filter($this->env, ($context["t_n_url"] ?? null), "html", null, true);
echo "._";
echo twig_escape_filter($this->env, twig_urlencode_filter((($__internal_fecb0565c93d0b979a95c352ff76e401e0ae0c73bb8d3b443c8c6133e1c190de = (($__internal_87570a635eac7f6e150744bd218085d17aff15d92d9c80a66d3b911e3355b828 = (($__internal_17b5b5f9aaeec4b528bfeed02b71f624021d6a52d927f441de2f2204d0e527cd = ($context["tab_column"] ?? null)) && is_array($__internal_17b5b5f9aaeec4b528bfeed02b71f624021d6a52d927f441de2f2204d0e527cd) || $__internal_17b5b5f9aaeec4b528bfeed02b71f624021d6a52d927f441de2f2204d0e527cd instanceof ArrayAccess ? ($__internal_17b5b5f9aaeec4b528bfeed02b71f624021d6a52d927f441de2f2204d0e527cd[($context["t_n"] ?? null)] ?? null) : null)) && is_array($__internal_87570a635eac7f6e150744bd218085d17aff15d92d9c80a66d3b911e3355b828) || $__internal_87570a635eac7f6e150744bd218085d17aff15d92d9c80a66d3b911e3355b828 instanceof ArrayAccess ? ($__internal_87570a635eac7f6e150744bd218085d17aff15d92d9c80a66d3b911e3355b828["COLUMN_NAME"] ?? null) : null)) && is_array($__internal_fecb0565c93d0b979a95c352ff76e401e0ae0c73bb8d3b443c8c6133e1c190de) || $__internal_fecb0565c93d0b979a95c352ff76e401e0ae0c73bb8d3b443c8c6133e1c190de instanceof ArrayAccess ? ($__internal_fecb0565c93d0b979a95c352ff76e401e0ae0c73bb8d3b443c8c6133e1c190de[$context["j"]] ?? null) : null)), "html", null, true);
echo "\"
style=\"margin: 0;\"
title=\"";
// line 91
echo twig_escape_filter($this->env, sprintf(_gettext("Select \"%s\""), ($context["col_name"] ?? null)), "html", null, true);
echo "\"
id_check_all=\"select_all_";
// line 92
echo twig_escape_filter($this->env, ($context["i"] ?? null), "html", null, true);
echo "\"
db_name=\"";
// line 93
echo twig_escape_filter($this->env, ($context["db"] ?? null), "html", null, true);
echo "\"
table_name=\"";
// line 94
echo twig_escape_filter($this->env, ($context["table_name"] ?? null), "html", null, true);
echo "\"
col_name=\"";
// line 95
echo twig_escape_filter($this->env, ($context["col_name"] ?? null), "html", null, true);
echo "\">
</td>
";
}
// line 98
echo " <td width=\"10px\" colspan=\"3\" id=\"";
echo twig_escape_filter($this->env, ($context["t_n_url"] ?? null), "html", null, true);
echo ".";
// line 99
echo twig_escape_filter($this->env, twig_urlencode_filter((($__internal_0db9a23306660395861a0528381e0668025e56a8a99f399e9ec23a4b392422d6 = (($__internal_0a23ad2f11a348e49c87410947e20d5a4e711234ce49927662da5dddac687855 = (($__internal_0228c5445a74540c89ea8a758478d405796357800f8af831a7f7e1e2c0159d9b = ($context["tab_column"] ?? null)) && is_array($__internal_0228c5445a74540c89ea8a758478d405796357800f8af831a7f7e1e2c0159d9b) || $__internal_0228c5445a74540c89ea8a758478d405796357800f8af831a7f7e1e2c0159d9b instanceof ArrayAccess ? ($__internal_0228c5445a74540c89ea8a758478d405796357800f8af831a7f7e1e2c0159d9b[($context["t_n"] ?? null)] ?? null) : null)) && is_array($__internal_0a23ad2f11a348e49c87410947e20d5a4e711234ce49927662da5dddac687855) || $__internal_0a23ad2f11a348e49c87410947e20d5a4e711234ce49927662da5dddac687855 instanceof ArrayAccess ? ($__internal_0a23ad2f11a348e49c87410947e20d5a4e711234ce49927662da5dddac687855["COLUMN_NAME"] ?? null) : null)) && is_array($__internal_0db9a23306660395861a0528381e0668025e56a8a99f399e9ec23a4b392422d6) || $__internal_0db9a23306660395861a0528381e0668025e56a8a99f399e9ec23a4b392422d6 instanceof ArrayAccess ? ($__internal_0db9a23306660395861a0528381e0668025e56a8a99f399e9ec23a4b392422d6[$context["j"]] ?? null) : null)), "html", null, true);
echo "\">
<div class=\"nowrap\">
";
// line 101
$context["type"] = (($__internal_6fb04c4457ec9ffa7dd6fd2300542be8b961b6e5f7858a80a282f47b43ddae5f = ($context["columns_type"] ?? null)) && is_array($__internal_6fb04c4457ec9ffa7dd6fd2300542be8b961b6e5f7858a80a282f47b43ddae5f) || $__internal_6fb04c4457ec9ffa7dd6fd2300542be8b961b6e5f7858a80a282f47b43ddae5f instanceof ArrayAccess ? ($__internal_6fb04c4457ec9ffa7dd6fd2300542be8b961b6e5f7858a80a282f47b43ddae5f[((($context["t_n"] ?? null) . ".") . (($__internal_417a1a95b289c75779f33186a6dc0b71d01f257b68beae7dcb9d2d769acca0e0 = (($__internal_af3439635eb343262861f05093b3dcce5d4dae1e20a47bc25a2eef28135b0d55 = (($__internal_b16f7904bcaaa7a87404cbf85addc7a8645dff94eef4e8ae7182b86e3638e76a = ($context["tab_column"] ?? null)) && is_array($__internal_b16f7904bcaaa7a87404cbf85addc7a8645dff94eef4e8ae7182b86e3638e76a) || $__internal_b16f7904bcaaa7a87404cbf85addc7a8645dff94eef4e8ae7182b86e3638e76a instanceof ArrayAccess ? ($__internal_b16f7904bcaaa7a87404cbf85addc7a8645dff94eef4e8ae7182b86e3638e76a[($context["t_n"] ?? null)] ?? null) : null)) && is_array($__internal_af3439635eb343262861f05093b3dcce5d4dae1e20a47bc25a2eef28135b0d55) || $__internal_af3439635eb343262861f05093b3dcce5d4dae1e20a47bc25a2eef28135b0d55 instanceof ArrayAccess ? ($__internal_af3439635eb343262861f05093b3dcce5d4dae1e20a47bc25a2eef28135b0d55["COLUMN_NAME"] ?? null) : null)) && is_array($__internal_417a1a95b289c75779f33186a6dc0b71d01f257b68beae7dcb9d2d769acca0e0) || $__internal_417a1a95b289c75779f33186a6dc0b71d01f257b68beae7dcb9d2d769acca0e0 instanceof ArrayAccess ? ($__internal_417a1a95b289c75779f33186a6dc0b71d01f257b68beae7dcb9d2d769acca0e0[$context["j"]] ?? null) : null))] ?? null) : null);
// line 102
echo " <img src=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => ($context["type"] ?? null)], "method", false, false, false, 102), "html", null, true);
echo ".png\" alt=\"*\">
";
// line 103
echo twig_escape_filter($this->env, (($__internal_462377748602ccf3a44a10ced4240983cec8df1ad86ab53e582fcddddb98fc88 = (($__internal_be1db6a1ea9fa5c04c40f99df0ec5af053ca391863fc6256c5c4ee249724f758 = (($__internal_6e6eda1691934a8f5855a3221f5a9f036391304a5cda73a3a2009f2961a84c35 = ($context["tab_column"] ?? null)) && is_array($__internal_6e6eda1691934a8f5855a3221f5a9f036391304a5cda73a3a2009f2961a84c35) || $__internal_6e6eda1691934a8f5855a3221f5a9f036391304a5cda73a3a2009f2961a84c35 instanceof ArrayAccess ? ($__internal_6e6eda1691934a8f5855a3221f5a9f036391304a5cda73a3a2009f2961a84c35[($context["t_n"] ?? null)] ?? null) : null)) && is_array($__internal_be1db6a1ea9fa5c04c40f99df0ec5af053ca391863fc6256c5c4ee249724f758) || $__internal_be1db6a1ea9fa5c04c40f99df0ec5af053ca391863fc6256c5c4ee249724f758 instanceof ArrayAccess ? ($__internal_be1db6a1ea9fa5c04c40f99df0ec5af053ca391863fc6256c5c4ee249724f758["COLUMN_NAME"] ?? null) : null)) && is_array($__internal_462377748602ccf3a44a10ced4240983cec8df1ad86ab53e582fcddddb98fc88) || $__internal_462377748602ccf3a44a10ced4240983cec8df1ad86ab53e582fcddddb98fc88 instanceof ArrayAccess ? ($__internal_462377748602ccf3a44a10ced4240983cec8df1ad86ab53e582fcddddb98fc88[$context["j"]] ?? null) : null), "html", null, true);
echo " : ";
echo twig_escape_filter($this->env, (($__internal_51c633083c79004f3cb5e9e2b2f3504f650f1561800582801028bcbcf733a06b = (($__internal_064553f1273f2ea50405f85092d06733f3f2fe5d0fc42fda135e1fdc91ff26ae = (($__internal_7bef02f75e2984f8c7fcd4fd7871e286c87c0fdcb248271a136b01ac6dd5dd54 = ($context["tab_column"] ?? null)) && is_array($__internal_7bef02f75e2984f8c7fcd4fd7871e286c87c0fdcb248271a136b01ac6dd5dd54) || $__internal_7bef02f75e2984f8c7fcd4fd7871e286c87c0fdcb248271a136b01ac6dd5dd54 instanceof ArrayAccess ? ($__internal_7bef02f75e2984f8c7fcd4fd7871e286c87c0fdcb248271a136b01ac6dd5dd54[($context["t_n"] ?? null)] ?? null) : null)) && is_array($__internal_064553f1273f2ea50405f85092d06733f3f2fe5d0fc42fda135e1fdc91ff26ae) || $__internal_064553f1273f2ea50405f85092d06733f3f2fe5d0fc42fda135e1fdc91ff26ae instanceof ArrayAccess ? ($__internal_064553f1273f2ea50405f85092d06733f3f2fe5d0fc42fda135e1fdc91ff26ae["TYPE"] ?? null) : null)) && is_array($__internal_51c633083c79004f3cb5e9e2b2f3504f650f1561800582801028bcbcf733a06b) || $__internal_51c633083c79004f3cb5e9e2b2f3504f650f1561800582801028bcbcf733a06b instanceof ArrayAccess ? ($__internal_51c633083c79004f3cb5e9e2b2f3504f650f1561800582801028bcbcf733a06b[$context["j"]] ?? null) : null), "html", null, true);
echo "
</div>
</td>
";
// line 106
if (($context["has_query"] ?? null)) {
// line 107
echo " <td class=\"small_tab_pref small_tab_pref_click_opt\"
";
// line 109
echo " option_col_name_modal=\"<strong>";
echo twig_escape_filter($this->env, twig_escape_filter($this->env, sprintf(_gettext("Add an option for column \"%s\"."), ($context["col_name"] ?? null)), "html"), "html");
echo "</strong>\"
db_name=\"";
// line 110
echo twig_escape_filter($this->env, ($context["db"] ?? null), "html", null, true);
echo "\"
table_name=\"";
// line 111
echo twig_escape_filter($this->env, ($context["table_name"] ?? null), "html", null, true);
echo "\"
col_name=\"";
// line 112
echo twig_escape_filter($this->env, ($context["col_name"] ?? null), "html", null, true);
echo "\"
db_table_name_url=\"";
// line 113
echo twig_escape_filter($this->env, ($context["t_n_url"] ?? null), "html", null, true);
echo "\">
<img src=\"";
// line 114
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getImgPath", [0 => "designer/exec_small.png"], "method", false, false, false, 114), "html", null, true);
echo "\" title=\"";
echo _gettext("Options");
echo "\" />
</td>
";
}
// line 117
echo " </tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['j'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 119
echo " </tbody>
</table>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['designerTable'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
public function getTemplateName()
{
return "database/designer/database_tables.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 405 => 119, 398 => 117, 390 => 114, 386 => 113, 382 => 112, 378 => 111, 374 => 110, 369 => 109, 366 => 107, 364 => 106, 356 => 103, 351 => 102, 349 => 101, 344 => 99, 340 => 98, 334 => 95, 330 => 94, 326 => 93, 322 => 92, 318 => 91, 311 => 89, 305 => 87, 301 => 85, 299 => 84, 295 => 83, 292 => 82, 286 => 81, 283 => 80, 280 => 79, 277 => 78, 275 => 76, 272 => 75, 269 => 74, 266 => 73, 264 => 71, 263 => 70, 261 => 69, 258 => 68, 255 => 67, 250 => 66, 248 => 65, 244 => 64, 241 => 63, 237 => 61, 231 => 58, 227 => 57, 224 => 56, 222 => 55, 217 => 53, 213 => 52, 209 => 51, 205 => 50, 200 => 48, 195 => 46, 191 => 45, 187 => 44, 183 => 43, 179 => 42, 175 => 41, 168 => 39, 164 => 38, 160 => 37, 157 => 36, 151 => 33, 147 => 32, 143 => 31, 139 => 30, 135 => 29, 129 => 25, 127 => 24, 121 => 21, 118 => 20, 115 => 19, 112 => 18, 105 => 14, 101 => 13, 97 => 12, 91 => 11, 85 => 10, 79 => 9, 72 => 8, 69 => 7, 66 => 6, 63 => 5, 60 => 4, 57 => 3, 54 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/designer/database_tables.twig", "/app/admin/templates/database/designer/database_tables.twig");
}
}

View File

@@ -0,0 +1,263 @@
<?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;
/* console/display.twig */
class __TwigTemplate_0863f4ffb57e94441a3ffc96709f7947e910daa2937f6a4fd04151b52d0304ad 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
echo "<div id=\"pma_console_container\">
<div id=\"pma_console\">
";
// line 4
echo " ";
$this->loadTemplate("console/toolbar.twig", "console/display.twig", 4)->display(twig_to_array(["parent_div_classes" => "collapsed", "content_array" => [0 => [0 => "switch_button console_switch", 1 => _gettext("Console"), "image" => // line 7
($context["image"] ?? null)], 1 => [0 => "button clear", 1 => _gettext("Clear")], 2 => [0 => "button history", 1 => _gettext("History")], 3 => [0 => "button options", 1 => _gettext("Options")], 4 => (( // line 11
array_key_exists("cfg_bookmark", $context)) ? ([0 => "button bookmarks", 1 => _gettext("Bookmarks")]) : (null)), 5 => [0 => "button debug hide", 1 => _gettext("Debug SQL")]]]));
// line 15
echo " ";
// line 16
echo " <div class=\"content\">
<div class=\"console_message_container\">
<div class=\"message welcome\">
<span id=\"instructions-0\">
";
// line 20
echo _gettext("Press Ctrl+Enter to execute query");
// line 21
echo " </span>
<span class=\"hide\" id=\"instructions-1\">
";
// line 23
echo _gettext("Press Enter to execute query");
// line 24
echo " </span>
</div>
";
// line 26
if ( !twig_test_empty(($context["sql_history"] ?? null))) {
// line 27
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_reverse_filter($this->env, ($context["sql_history"] ?? null)));
foreach ($context['_seq'] as $context["_key"] => $context["record"]) {
// line 28
echo " <div class=\"message history collapsed hide";
// line 29
echo ((preg_match("@^SELECT[[:space:]]+@i", (($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = $context["record"]) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4["sqlquery"] ?? null) : null))) ? (" select") : (""));
echo "\"
targetdb=\"";
// line 30
echo twig_escape_filter($this->env, (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = $context["record"]) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144["db"] ?? null) : null), "html", null, true);
echo "\" targettable=\"";
echo twig_escape_filter($this->env, (($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = $context["record"]) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b["table"] ?? null) : null), "html", null, true);
echo "\">
";
// line 31
$this->loadTemplate("console/query_action.twig", "console/display.twig", 31)->display(twig_to_array(["parent_div_classes" => "action_content", "content_array" => [0 => [0 => "action collapse", 1 => _gettext("Collapse")], 1 => [0 => "action expand", 1 => _gettext("Expand")], 2 => [0 => "action requery", 1 => _gettext("Requery")], 3 => [0 => "action edit", 1 => _gettext("Edit")], 4 => [0 => "action explain", 1 => _gettext("Explain")], 5 => [0 => "action profiling", 1 => _gettext("Profiling")], 6 => (( // line 40
array_key_exists("cfg_bookmark", $context)) ? ([0 => "action bookmark", 1 => _gettext("Bookmark")]) : (null)), 7 => [0 => "text failed", 1 => _gettext("Query failed")], 8 => [0 => "text targetdb", 1 => _gettext("Database"), "extraSpan" => (($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = // line 42
$context["record"]) && is_array($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002) || $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 instanceof ArrayAccess ? ($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002["db"] ?? null) : null)], 9 => [0 => "text query_time", 1 => _gettext("Queried time"), "extraSpan" => ((twig_get_attribute($this->env, $this->source, // line 46
$context["record"], "timevalue", [], "array", true, true, false, 46)) ? ((($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 = // line 47
$context["record"]) && is_array($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4) || $__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 instanceof ArrayAccess ? ($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4["timevalue"] ?? null) : null)) : (_gettext("During current session")))]]]));
// line 51
echo " <span class=\"query\">";
echo twig_escape_filter($this->env, (($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 = $context["record"]) && is_array($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666) || $__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 instanceof ArrayAccess ? ($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666["sqlquery"] ?? null) : null), "html", null, true);
echo "</span>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['record'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 54
echo " ";
}
// line 55
echo " </div><!-- console_message_container -->
<div class=\"query_input\">
<span class=\"console_query_input\"></span>
</div>
</div><!-- message end -->
";
// line 61
echo " <div class=\"mid_layer\"></div>
";
// line 63
echo " <div class=\"card\" id=\"debug_console\">
";
// line 64
$this->loadTemplate("console/toolbar.twig", "console/display.twig", 64)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "button order order_asc", 1 => _gettext("ascending")], 1 => [0 => "button order order_desc", 1 => _gettext("descending")], 2 => [0 => "text", 1 => _gettext("Order:")], 3 => [0 => "switch_button", 1 => _gettext("Debug SQL")], 4 => [0 => "button order_by sort_count", 1 => _gettext("Count")], 5 => [0 => "button order_by sort_exec", 1 => _gettext("Execution order")], 6 => [0 => "button order_by sort_time", 1 => _gettext("Time taken")], 7 => [0 => "text", 1 => _gettext("Order by:")], 8 => [0 => "button group_queries", 1 => _gettext("Group queries")], 9 => [0 => "button ungroup_queries", 1 => _gettext("Ungroup queries")]]]));
// line 79
echo " <div class=\"content debug\">
<div class=\"message welcome\"></div>
<div class=\"debugLog\"></div>
</div> <!-- Content -->
<div class=\"templates\">
";
// line 84
$this->loadTemplate("console/query_action.twig", "console/display.twig", 84)->display(twig_to_array(["parent_div_classes" => "debug_query action_content", "content_array" => [0 => [0 => "action collapse", 1 => _gettext("Collapse")], 1 => [0 => "action expand", 1 => _gettext("Expand")], 2 => [0 => "action dbg_show_trace", 1 => _gettext("Show trace")], 3 => [0 => "action dbg_hide_trace", 1 => _gettext("Hide trace")], 4 => [0 => "text count hide", 1 => _gettext("Count")], 5 => [0 => "text time", 1 => _gettext("Time taken")]]]));
// line 95
echo " </div> <!-- Template -->
</div> <!-- Debug SQL card -->
";
// line 97
if (($context["cfg_bookmark"] ?? null)) {
// line 98
echo " <div class=\"card\" id=\"pma_bookmarks\">
";
// line 99
$this->loadTemplate("console/toolbar.twig", "console/display.twig", 99)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "switch_button", 1 => _gettext("Bookmarks")], 1 => [0 => "button refresh", 1 => _gettext("Refresh")], 2 => [0 => "button add", 1 => _gettext("Add")]]]));
// line 107
echo " <div class=\"content bookmark\">
";
// line 108
echo ($context["bookmark_content"] ?? null);
echo "
</div>
<div class=\"mid_layer\"></div>
<div class=\"card add\">
";
// line 112
$this->loadTemplate("console/toolbar.twig", "console/display.twig", 112)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "switch_button", 1 => _gettext("Add bookmark")]]]));
// line 118
echo " <div class=\"content add_bookmark\">
<div class=\"options\">
<label>
";
// line 121
echo _gettext("Label");
echo ": <input type=\"text\" name=\"label\">
</label>
<label>
";
// line 124
echo _gettext("Target database");
echo ": <input type=\"text\" name=\"targetdb\">
</label>
<label>
<input type=\"checkbox\" name=\"shared\">";
// line 127
echo _gettext("Share this bookmark");
// line 128
echo " </label>
<button class=\"btn btn-primary\" type=\"submit\" name=\"submit\">";
// line 129
echo _gettext("OK");
echo "</button>
</div> <!-- options -->
<div class=\"query_input\">
<span class=\"bookmark_add_input\"></span>
</div>
</div>
</div> <!-- Add bookmark card -->
</div> <!-- Bookmarks card -->
";
}
// line 138
echo " ";
// line 139
echo " <div class=\"card\" id=\"pma_console_options\">
";
// line 140
$this->loadTemplate("console/toolbar.twig", "console/display.twig", 140)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "switch_button", 1 => _gettext("Options")], 1 => [0 => "button default", 1 => _gettext("Set default")]]]));
// line 147
echo " <div class=\"content\">
<label>
<input type=\"checkbox\" name=\"always_expand\">";
// line 149
echo _gettext("Always expand query messages");
// line 150
echo " </label>
<br>
<label>
<input type=\"checkbox\" name=\"start_history\">";
// line 153
echo _gettext("Show query history at start");
// line 154
echo " </label>
<br>
<label>
<input type=\"checkbox\" name=\"current_query\">";
// line 157
echo _gettext("Show current browsing query");
// line 158
echo " </label>
<br>
<label>
<input type=\"checkbox\" name=\"enter_executes\">
";
// line 162
echo _gettext("Execute queries on Enter and insert new line with Shift + Enter. To make this permanent, view settings.");
// line 165
echo " </label>
<br>
<label>
<input type=\"checkbox\" name=\"dark_theme\">";
// line 168
echo _gettext("Switch to dark theme");
// line 169
echo " </label>
<br>
</div>
</div> <!-- Options card -->
<div class=\"templates\">
";
// line 175
echo " ";
$this->loadTemplate("console/query_action.twig", "console/display.twig", 175)->display(twig_to_array(["parent_div_classes" => "query_actions", "content_array" => [0 => [0 => "action collapse", 1 => _gettext("Collapse")], 1 => [0 => "action expand", 1 => _gettext("Expand")], 2 => [0 => "action requery", 1 => _gettext("Requery")], 3 => [0 => "action edit", 1 => _gettext("Edit")], 4 => [0 => "action explain", 1 => _gettext("Explain")], 5 => [0 => "action profiling", 1 => _gettext("Profiling")], 6 => (( // line 184
array_key_exists("cfg_bookmark", $context)) ? ([0 => "action bookmark", 1 => _gettext("Bookmark")]) : (null)), 7 => [0 => "text failed", 1 => _gettext("Query failed")], 8 => [0 => "text targetdb", 1 => _gettext("Database"), "extraSpan" => ""], 9 => [0 => "text query_time", 1 => _gettext("Queried time"), "extraSpan" => ""]]]));
// line 190
echo " </div>
</div> <!-- #console end -->
</div> <!-- #console_container end -->
";
}
public function getTemplateName()
{
return "console/display.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 238 => 190, 236 => 184, 234 => 175, 227 => 169, 225 => 168, 220 => 165, 218 => 162, 212 => 158, 210 => 157, 205 => 154, 203 => 153, 198 => 150, 196 => 149, 192 => 147, 190 => 140, 187 => 139, 185 => 138, 173 => 129, 170 => 128, 168 => 127, 162 => 124, 156 => 121, 151 => 118, 149 => 112, 142 => 108, 139 => 107, 137 => 99, 134 => 98, 132 => 97, 128 => 95, 126 => 84, 119 => 79, 117 => 64, 114 => 63, 111 => 61, 104 => 55, 101 => 54, 91 => 51, 89 => 47, 88 => 46, 87 => 42, 86 => 40, 85 => 31, 79 => 30, 75 => 29, 73 => 28, 68 => 27, 66 => 26, 62 => 24, 60 => 23, 56 => 21, 54 => 20, 48 => 16, 46 => 15, 44 => 11, 43 => 7, 41 => 4, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "console/display.twig", "/app/admin/templates/console/display.twig");
}
}

View File

@@ -0,0 +1,498 @@
<?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;
/* table/structure/display_partitions.twig */
class __TwigTemplate_363c6b7751d875c66e31d7989e61e4fd923862db22d3f2ab62294f9a146feb01 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
echo "<div id=\"partitions\">
<fieldset>
<legend>
";
// line 4
echo _gettext("Partitions");
// line 5
echo " ";
echo \PhpMyAdmin\Html\MySQLDocumentation::show("partitioning");
echo "
</legend>
";
// line 7
if (twig_test_empty(($context["partitions"] ?? null))) {
// line 8
echo " ";
echo call_user_func_array($this->env->getFilter('notice')->getCallable(), [_gettext("No partitioning defined!")]);
echo "
";
} else {
// line 10
echo " <p>
";
// line 11
echo _gettext("Partitioned by:");
// line 12
echo " <code>";
echo twig_escape_filter($this->env, ($context["partition_method"] ?? null), "html", null, true);
echo "(";
echo twig_escape_filter($this->env, ($context["partition_expression"] ?? null), "html", null, true);
echo ")</code>
</p>
";
// line 14
if (($context["has_sub_partitions"] ?? null)) {
// line 15
echo " <p>
";
// line 16
echo _gettext("Sub partitioned by:");
// line 17
echo " <code>";
echo twig_escape_filter($this->env, ($context["sub_partition_method"] ?? null), "html", null, true);
echo "(";
echo twig_escape_filter($this->env, ($context["sub_partition_expression"] ?? null), "html", null, true);
echo ")</code>
<p>
";
}
// line 20
echo " <table class=\"table table-light table-striped table-hover table-sm\">
<thead class=\"thead-light\">
<tr>
<th colspan=\"2\">#</th>
<th>";
// line 24
echo _gettext("Partition");
echo "</th>
";
// line 25
if (($context["has_description"] ?? null)) {
// line 26
echo " <th>";
echo _gettext("Expression");
echo "</th>
";
}
// line 28
echo " <th>";
echo _gettext("Rows");
echo "</th>
<th>";
// line 29
echo _gettext("Data length");
echo "</th>
<th>";
// line 30
echo _gettext("Index length");
echo "</th>
<th>";
// line 31
echo _gettext("Comment");
echo "</th>
<th colspan=\"";
// line 32
echo ((($context["range_or_list"] ?? null)) ? ("7") : ("6"));
echo "\">
";
// line 33
echo _gettext("Action");
// line 34
echo " </th>
</tr>
</thead>
<tbody>
";
// line 38
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["partitions"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["partition"]) {
// line 39
echo " <tr class=\"noclick";
echo ((($context["has_sub_partitions"] ?? null)) ? (" table-active") : (""));
echo "\">
";
// line 40
if (($context["has_sub_partitions"] ?? null)) {
// line 41
echo " <td>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getOrdinal", [], "method", false, false, false, 41), "html", null, true);
echo "</td>
<td></td>
";
} else {
// line 44
echo " <td colspan=\"2\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getOrdinal", [], "method", false, false, false, 44), "html", null, true);
echo "</td>
";
}
// line 46
echo " <th>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getName", [], "method", false, false, false, 46), "html", null, true);
echo "</th>
";
// line 47
if (($context["has_description"] ?? null)) {
// line 48
echo " <td>
<code>";
// line 50
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getExpression", [], "method", false, false, false, 50), "html", null, true);
// line 51
echo (((twig_get_attribute($this->env, $this->source, $context["partition"], "getMethod", [], "method", false, false, false, 51) == "LIST")) ? (" IN (") : (" < "));
// line 52
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getDescription", [], "method", false, false, false, 52), "html", null, true);
// line 53
echo (((twig_get_attribute($this->env, $this->source, $context["partition"], "getMethod", [], "method", false, false, false, 53) == "LIST")) ? (")") : (""));
// line 54
echo "</code>
</td>
";
}
// line 57
echo " <td class=\"value\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getRows", [], "method", false, false, false, 57), "html", null, true);
echo "</td>
<td class=\"value\">
";
// line 59
$context["data_length"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, // line 60
$context["partition"], "getDataLength", [], "method", false, false, false, 60), 3, 1);
// line 64
echo " <span>";
echo twig_escape_filter($this->env, (($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = ($context["data_length"] ?? null)) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4[0] ?? null) : null), "html", null, true);
echo "</span>
<span class=\"unit\">";
// line 65
echo twig_escape_filter($this->env, (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = ($context["data_length"] ?? null)) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144[1] ?? null) : null), "html", null, true);
echo "</span>
</td>
<td class=\"value\">
";
// line 68
$context["index_length"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, // line 69
$context["partition"], "getIndexLength", [], "method", false, false, false, 69), 3, 1);
// line 73
echo " <span>";
echo twig_escape_filter($this->env, (($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = ($context["index_length"] ?? null)) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b[0] ?? null) : null), "html", null, true);
echo "</span>
<span class=\"unit\">";
// line 74
echo twig_escape_filter($this->env, (($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = ($context["index_length"] ?? null)) && is_array($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002) || $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 instanceof ArrayAccess ? ($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002[1] ?? null) : null), "html", null, true);
echo "</span>
</td>
<td>";
// line 76
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getComment", [], "method", false, false, false, 76), "html", null, true);
echo "</td>
<td>
<a id=\"partition_action_ANALYZE\" class=\"ajax\" href=\"";
// line 79
echo PhpMyAdmin\Url::getFromRoute("/table/partition/analyze");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 80
($context["db"] ?? null), "table" => // line 81
($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 82
$context["partition"], "getName", [], "method", false, false, false, 82)]);
// line 83
echo "\">
";
// line 84
echo \PhpMyAdmin\Html\Generator::getIcon("b_search", _gettext("Analyze"));
echo "
</a>
</td>
<td>
<a id=\"partition_action_CHECK\" class=\"ajax\" href=\"";
// line 89
echo PhpMyAdmin\Url::getFromRoute("/table/partition/check");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 90
($context["db"] ?? null), "table" => // line 91
($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 92
$context["partition"], "getName", [], "method", false, false, false, 92)]);
// line 93
echo "\">
";
// line 94
echo \PhpMyAdmin\Html\Generator::getIcon("eye", _gettext("Check"));
echo "
</a>
</td>
<td>
<a id=\"partition_action_OPTIMIZE\" class=\"ajax\" href=\"";
// line 99
echo PhpMyAdmin\Url::getFromRoute("/table/partition/optimize");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 100
($context["db"] ?? null), "table" => // line 101
($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 102
$context["partition"], "getName", [], "method", false, false, false, 102)]);
// line 103
echo "\">
";
// line 104
echo \PhpMyAdmin\Html\Generator::getIcon("normalize", _gettext("Optimize"));
echo "
</a>
</td>
<td>
<a id=\"partition_action_REBUILD\" class=\"ajax\" href=\"";
// line 109
echo PhpMyAdmin\Url::getFromRoute("/table/partition/rebuild");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 110
($context["db"] ?? null), "table" => // line 111
($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 112
$context["partition"], "getName", [], "method", false, false, false, 112)]);
// line 113
echo "\">
";
// line 114
echo \PhpMyAdmin\Html\Generator::getIcon("s_tbl", _gettext("Rebuild"));
echo "
</a>
</td>
<td>
<a id=\"partition_action_REPAIR\" class=\"ajax\" href=\"";
// line 119
echo PhpMyAdmin\Url::getFromRoute("/table/partition/repair");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 120
($context["db"] ?? null), "table" => // line 121
($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 122
$context["partition"], "getName", [], "method", false, false, false, 122)]);
// line 123
echo "\">
";
// line 124
echo \PhpMyAdmin\Html\Generator::getIcon("b_tblops", _gettext("Repair"));
echo "
</a>
</td>
<td>
<a id=\"partition_action_TRUNCATE\" class=\"ajax\" href=\"";
// line 129
echo PhpMyAdmin\Url::getFromRoute("/table/partition/truncate");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 130
($context["db"] ?? null), "table" => // line 131
($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 132
$context["partition"], "getName", [], "method", false, false, false, 132)]);
// line 133
echo "\">
";
// line 134
echo \PhpMyAdmin\Html\Generator::getIcon("b_empty", _gettext("Truncate"));
echo "
</a>
</td>
";
// line 138
if (($context["range_or_list"] ?? null)) {
// line 139
echo " <td>
<a id=\"partition_action_DROP\" class=\"ajax\" href=\"";
// line 140
echo PhpMyAdmin\Url::getFromRoute("/table/partition/drop");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 141
($context["db"] ?? null), "table" => // line 142
($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 143
$context["partition"], "getName", [], "method", false, false, false, 143)]);
// line 144
echo "\">
";
// line 145
echo \PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop"));
echo "
</a>
</td>
";
}
// line 149
echo "
";
// line 150
if (($context["has_sub_partitions"] ?? null)) {
// line 151
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["partition"], "getSubPartitions", [], "method", false, false, false, 151));
foreach ($context['_seq'] as $context["_key"] => $context["sub_partition"]) {
// line 152
echo " <tr class=\"noclick\">
<td></td>
<td>";
// line 154
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sub_partition"], "getOrdinal", [], "method", false, false, false, 154), "html", null, true);
echo "</td>
<td>";
// line 155
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sub_partition"], "getName", [], "method", false, false, false, 155), "html", null, true);
echo "</td>
";
// line 156
if (($context["has_description"] ?? null)) {
// line 157
echo " <td></td>
";
}
// line 159
echo " <td class=\"value\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sub_partition"], "getRows", [], "method", false, false, false, 159), "html", null, true);
echo "</td>
<td class=\"value\">
";
// line 161
$context["data_length"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, // line 162
$context["sub_partition"], "getDataLength", [], "method", false, false, false, 162), 3, 1);
// line 166
echo " <span>";
echo twig_escape_filter($this->env, (($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 = ($context["data_length"] ?? null)) && is_array($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4) || $__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 instanceof ArrayAccess ? ($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4[0] ?? null) : null), "html", null, true);
echo "</span>
<span class=\"unit\">";
// line 167
echo twig_escape_filter($this->env, (($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 = ($context["data_length"] ?? null)) && is_array($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666) || $__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 instanceof ArrayAccess ? ($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666[1] ?? null) : null), "html", null, true);
echo "</span>
</td>
<td class=\"value\">
";
// line 170
$context["index_length"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, // line 171
$context["sub_partition"], "getIndexLength", [], "method", false, false, false, 171), 3, 1);
// line 175
echo " <span>";
echo twig_escape_filter($this->env, (($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e = ($context["index_length"] ?? null)) && is_array($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e) || $__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e instanceof ArrayAccess ? ($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e[0] ?? null) : null), "html", null, true);
echo "</span>
<span class=\"unit\">";
// line 176
echo twig_escape_filter($this->env, (($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 = ($context["index_length"] ?? null)) && is_array($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52) || $__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 instanceof ArrayAccess ? ($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52[1] ?? null) : null), "html", null, true);
echo "</span>
</td>
<td>";
// line 178
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sub_partition"], "getComment", [], "method", false, false, false, 178), "html", null, true);
echo "</td>
<td colspan=\"";
// line 179
echo ((($context["range_or_list"] ?? null)) ? ("7") : ("6"));
echo "\"></td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sub_partition'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 182
echo " ";
}
// line 183
echo " </tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['partition'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 185
echo " </tbody>
</table>
";
}
// line 188
echo " </fieldset>
<fieldset class=\"tblFooters print_ignore\">
<form action=\"";
// line 190
echo PhpMyAdmin\Url::getFromRoute("/table/structure/partitioning");
echo "\" method=\"post\">
";
// line 191
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
echo "
";
// line 193
if (twig_test_empty(($context["partitions"] ?? null))) {
// line 194
echo " <input class=\"btn btn-secondary\" type=\"submit\" value=\"";
echo _gettext("Partition table");
echo "\">
";
} else {
// line 196
echo " ";
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql", ["db" => // line 198
($context["db"] ?? null), "table" => // line 199
($context["table"] ?? null), "sql_query" => (("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 200
($context["table"] ?? null))) . " REMOVE PARTITIONING")]), _gettext("Remove partitioning"), ["class" => "btn btn-secondary ajax", "id" => "remove_partitioning"]);
// line 205
echo "
<input class=\"btn btn-secondary\" type=\"submit\" value=\"";
// line 206
echo _gettext("Edit partitioning");
echo "\">
";
}
// line 208
echo " </form>
</fieldset>
</div>
";
}
public function getTemplateName()
{
return "table/structure/display_partitions.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 473 => 208, 468 => 206, 465 => 205, 463 => 200, 462 => 199, 461 => 198, 459 => 196, 453 => 194, 451 => 193, 446 => 191, 442 => 190, 438 => 188, 433 => 185, 426 => 183, 423 => 182, 414 => 179, 410 => 178, 405 => 176, 400 => 175, 398 => 171, 397 => 170, 391 => 167, 386 => 166, 384 => 162, 383 => 161, 377 => 159, 373 => 157, 371 => 156, 367 => 155, 363 => 154, 359 => 152, 354 => 151, 352 => 150, 349 => 149, 342 => 145, 339 => 144, 337 => 143, 336 => 142, 335 => 141, 332 => 140, 329 => 139, 327 => 138, 320 => 134, 317 => 133, 315 => 132, 314 => 131, 313 => 130, 310 => 129, 302 => 124, 299 => 123, 297 => 122, 296 => 121, 295 => 120, 292 => 119, 284 => 114, 281 => 113, 279 => 112, 278 => 111, 277 => 110, 274 => 109, 266 => 104, 263 => 103, 261 => 102, 260 => 101, 259 => 100, 256 => 99, 248 => 94, 245 => 93, 243 => 92, 242 => 91, 241 => 90, 238 => 89, 230 => 84, 227 => 83, 225 => 82, 224 => 81, 223 => 80, 220 => 79, 214 => 76, 209 => 74, 204 => 73, 202 => 69, 201 => 68, 195 => 65, 190 => 64, 188 => 60, 187 => 59, 181 => 57, 176 => 54, 174 => 53, 172 => 52, 170 => 51, 168 => 50, 165 => 48, 163 => 47, 158 => 46, 152 => 44, 145 => 41, 143 => 40, 138 => 39, 134 => 38, 128 => 34, 126 => 33, 122 => 32, 118 => 31, 114 => 30, 110 => 29, 105 => 28, 99 => 26, 97 => 25, 93 => 24, 87 => 20, 78 => 17, 76 => 16, 73 => 15, 71 => 14, 63 => 12, 61 => 11, 58 => 10, 52 => 8, 50 => 7, 44 => 5, 42 => 4, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/structure/display_partitions.twig", "/app/admin/templates/table/structure/display_partitions.twig");
}
}

View File

@@ -0,0 +1,305 @@
<?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;
/* columns_definitions/table_fields_definitions.twig */
class __TwigTemplate_953f4d3e7e4b161fc2f9ae83fa8544650a73e8ecc0e2ccecb61368606bb94cd0 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
echo "<div class=\"responsivetable\">
<table id=\"table_columns\" class=\"pma-table noclick\">
<caption class=\"tblHeaders\">
";
// line 4
echo _gettext("Structure");
// line 5
echo " ";
echo \PhpMyAdmin\Html\MySQLDocumentation::show("CREATE_TABLE");
echo "
</caption>
<tr>
<th>
";
// line 9
echo _gettext("Name");
// line 10
echo " </th>
<th>
";
// line 12
echo _gettext("Type");
// line 13
echo " ";
echo \PhpMyAdmin\Html\MySQLDocumentation::show("data-types");
echo "
</th>
<th>
";
// line 16
echo _gettext("Length/Values");
// line 17
echo " ";
echo \PhpMyAdmin\Html\Generator::showHint(_gettext("If column type is \"enum\" or \"set\", please enter the values using this format: 'a','b','c'…<br>If you ever need to put a backslash (\"\\\") or a single quote (\"'\") amongst those values, precede it with a backslash (for example '\\\\xyz' or 'a\\'b')."));
echo "
</th>
<th>
";
// line 20
echo _gettext("Default");
// line 21
echo " ";
echo \PhpMyAdmin\Html\Generator::showHint(_gettext("For default values, please enter just a single value, without backslash escaping or quotes, using this format: a"));
echo "
</th>
<th>
";
// line 24
echo _gettext("Collation");
// line 25
echo " </th>
<th>
";
// line 27
echo _gettext("Attributes");
// line 28
echo " </th>
<th>
";
// line 30
echo _gettext("Null");
// line 31
echo " </th>
";
// line 34
echo " ";
if ((array_key_exists("change_column", $context) && !twig_test_empty(($context["change_column"] ?? null)))) {
// line 35
echo " <th>
";
// line 36
echo _gettext("Adjust privileges");
// line 37
echo " ";
echo \PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39");
echo "
</th>
";
}
// line 40
echo "
";
// line 44
echo " ";
if ( !($context["is_backup"] ?? null)) {
// line 45
echo " <th>
";
// line 46
echo _gettext("Index");
// line 47
echo " </th>
";
}
// line 49
echo "
<th>
<abbr title=\"AUTO_INCREMENT\">A_I</abbr>
</th>
<th>
";
// line 54
echo _gettext("Comments");
// line 55
echo " </th>
";
// line 57
if (($context["is_virtual_columns_supported"] ?? null)) {
// line 58
echo " <th>
";
// line 59
echo _gettext("Virtuality");
// line 60
echo " </th>
";
}
// line 62
echo "
";
// line 63
if (array_key_exists("fields_meta", $context)) {
// line 64
echo " <th>
";
// line 65
echo _gettext("Move column");
// line 66
echo " </th>
";
}
// line 68
echo "
";
// line 69
if ((($context["mimework"] ?? null) && ($context["browse_mime"] ?? null))) {
// line 70
echo " <th>
";
// line 71
echo _gettext("Media type");
// line 72
echo " </th>
<th>
<a href=\"";
// line 74
echo PhpMyAdmin\Url::getFromRoute("/transformation/overview");
echo "#transformation\" title=\"";
// line 75
echo _gettext("List of available transformations and their options");
// line 76
echo "\" target=\"_blank\">
";
// line 77
echo _gettext("Browser display transformation");
// line 78
echo " </a>
</th>
<th>
";
// line 81
echo _gettext("Browser display transformation options");
// line 82
echo " ";
echo \PhpMyAdmin\Html\Generator::showHint(_gettext("Please enter the values for transformation options using this format: 'a', 100, b,'c'…<br>If you ever need to put a backslash (\"\\\") or a single quote (\"'\") amongst those values, precede it with a backslash (for example '\\\\xyz' or 'a\\'b')."));
echo "
</th>
<th>
<a href=\"";
// line 85
echo PhpMyAdmin\Url::getFromRoute("/transformation/overview");
echo "#input_transformation\"
title=\"";
// line 86
echo _gettext("List of available transformations and their options");
echo "\"
target=\"_blank\">
";
// line 88
echo _gettext("Input transformation");
// line 89
echo " </a>
</th>
<th>
";
// line 92
echo _gettext("Input transformation options");
// line 93
echo " ";
echo \PhpMyAdmin\Html\Generator::showHint(_gettext("Please enter the values for transformation options using this format: 'a', 100, b,'c'…<br>If you ever need to put a backslash (\"\\\") or a single quote (\"'\") amongst those values, precede it with a backslash (for example '\\\\xyz' or 'a\\'b')."));
echo "
</th>
";
}
// line 96
echo " </tr>
";
// line 97
$context["options"] = ["" => "", "VIRTUAL" => "VIRTUAL"];
// line 98
echo " ";
if (((($context["server_type"] ?? null) == "MariaDB") && (($context["server_version"] ?? null) <= 100200))) {
// line 99
echo " ";
$context["options"] = twig_array_merge(($context["options"] ?? null), ["PERSISTENT" => "PERSISTENT"]);
// line 100
echo " ";
} else {
// line 101
echo " ";
$context["options"] = twig_array_merge(($context["options"] ?? null), ["STORED" => "STORED"]);
// line 102
echo " ";
}
// line 103
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["content_cells"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["content_row"]) {
// line 104
echo " <tr>
";
// line 105
$this->loadTemplate("columns_definitions/column_attributes.twig", "columns_definitions/table_fields_definitions.twig", 105)->display(twig_to_array(twig_array_merge($context["content_row"], ["options" => // line 106
($context["options"] ?? null), "change_column" => // line 107
($context["change_column"] ?? null), "is_virtual_columns_supported" => // line 108
($context["is_virtual_columns_supported"] ?? null), "browse_mime" => // line 109
($context["browse_mime"] ?? null), "max_rows" => // line 110
($context["max_rows"] ?? null), "char_editing" => // line 111
($context["char_editing"] ?? null), "attribute_types" => // line 112
($context["attribute_types"] ?? null), "privs_available" => // line 113
($context["privs_available"] ?? null), "max_length" => // line 114
($context["max_length"] ?? null), "charsets" => // line 115
($context["charsets"] ?? null)])));
// line 117
echo " </tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content_row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 119
echo "</table>
</div>
";
}
public function getTemplateName()
{
return "columns_definitions/table_fields_definitions.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 281 => 119, 274 => 117, 272 => 115, 271 => 114, 270 => 113, 269 => 112, 268 => 111, 267 => 110, 266 => 109, 265 => 108, 264 => 107, 263 => 106, 262 => 105, 259 => 104, 254 => 103, 251 => 102, 248 => 101, 245 => 100, 242 => 99, 239 => 98, 237 => 97, 234 => 96, 227 => 93, 225 => 92, 220 => 89, 218 => 88, 213 => 86, 209 => 85, 202 => 82, 200 => 81, 195 => 78, 193 => 77, 190 => 76, 188 => 75, 185 => 74, 181 => 72, 179 => 71, 176 => 70, 174 => 69, 171 => 68, 167 => 66, 165 => 65, 162 => 64, 160 => 63, 157 => 62, 153 => 60, 151 => 59, 148 => 58, 146 => 57, 142 => 55, 140 => 54, 133 => 49, 129 => 47, 127 => 46, 124 => 45, 121 => 44, 118 => 40, 111 => 37, 109 => 36, 106 => 35, 103 => 34, 99 => 31, 97 => 30, 93 => 28, 91 => 27, 87 => 25, 85 => 24, 78 => 21, 76 => 20, 69 => 17, 67 => 16, 60 => 13, 58 => 12, 54 => 10, 52 => 9, 44 => 5, 42 => 4, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "columns_definitions/table_fields_definitions.twig", "/app/admin/templates/columns_definitions/table_fields_definitions.twig");
}
}

View File

@@ -0,0 +1,133 @@
<?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;
/* select_lang.twig */
class __TwigTemplate_39ea829947eff86879d065c2de5e399c927b1da8098ffc8ac47574da93d592df 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
echo " <form method=\"get\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/");
echo "\" class=\"disableAjax\">
";
// line 2
echo PhpMyAdmin\Url::getHiddenInputs(($context["_form_params"] ?? null));
echo "
";
// line 4
if (($context["use_fieldset"] ?? null)) {
// line 5
echo " <fieldset>
<legend class=\"col-form-label\" lang=\"en\" dir=\"ltr\">";
// line 6
echo ($context["language_title"] ?? null);
echo "</legend>
";
} else {
// line 8
echo " <bdo lang=\"en\" dir=\"ltr\">
<label for=\"sel-lang\">";
// line 9
echo ($context["language_title"] ?? null);
echo "</label>
</bdo>
";
}
// line 12
echo "
<select name=\"lang\" class=\"autosubmit\" lang=\"en\" dir=\"ltr\" id=\"sel-lang\">
";
// line 15
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["available_languages"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
// line 16
echo " ";
// line 17
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["language"], "getCode", [], "method", false, false, false, 17)), "html", null, true);
echo "\"";
// line 18
if (twig_get_attribute($this->env, $this->source, $context["language"], "isActive", [], "method", false, false, false, 18)) {
// line 19
echo " selected=\"selected\"";
}
// line 21
echo ">
";
// line 22
echo twig_get_attribute($this->env, $this->source, $context["language"], "getName", [], "method", false, false, false, 22);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 25
echo "
</select>
";
// line 28
if (($context["use_fieldset"] ?? null)) {
// line 29
echo " </fieldset>
";
}
// line 31
echo "
</form>
";
}
public function getTemplateName()
{
return "select_lang.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 109 => 31, 105 => 29, 103 => 28, 98 => 25, 89 => 22, 86 => 21, 83 => 19, 81 => 18, 77 => 17, 75 => 16, 71 => 15, 66 => 12, 60 => 9, 57 => 8, 52 => 6, 49 => 5, 47 => 4, 42 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "select_lang.twig", "/app/admin/templates/select_lang.twig");
}
}

View File

@@ -0,0 +1,91 @@
<?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;
/* navigation/tree/path.twig */
class __TwigTemplate_fb660b53a3f031b783dabe5ca5a78efe33cfa774bccd3d3f22e3a01606dc80b1 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
echo "<div class='list_container hide'>
<ul";
// line 2
echo ((($context["has_search_results"] ?? null)) ? (" class=\"search_results\"") : (""));
echo ">
";
// line 3
echo ($context["list_content"] ?? null);
echo "
</ul>
";
// line 6
if ( !($context["is_tree"] ?? null)) {
// line 7
echo " <span class='hide loaded_db'>";
echo twig_escape_filter($this->env, twig_urlencode_filter(($context["parent_name"] ?? null)), "html", null, true);
echo "</span>
";
// line 8
if (twig_test_empty(($context["list_content"] ?? null))) {
// line 9
echo " <div>";
echo _gettext("No tables found in database.");
echo "</div>
";
}
// line 11
echo " ";
}
// line 12
echo "</div>
";
}
public function getTemplateName()
{
return "navigation/tree/path.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 68 => 12, 65 => 11, 59 => 9, 57 => 8, 52 => 7, 50 => 6, 44 => 3, 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "navigation/tree/path.twig", "/app/admin/templates/navigation/tree/path.twig");
}
}

View File

@@ -0,0 +1,83 @@
<?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;
/* display/results/comment_for_row.twig */
class __TwigTemplate_363e9d8d2f5f024c28eaffee6523af07a8bc478df6d2fe1e8e940cf0df05b996 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 ((twig_get_attribute($this->env, $this->source, ($context["comments_map"] ?? null), twig_get_attribute($this->env, $this->source, ($context["fields_meta"] ?? null), "table", [], "any", false, false, false, 1), [], "array", true, true, false, 1) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 2
($context["comments_map"] ?? null), twig_get_attribute($this->env, $this->source, ($context["fields_meta"] ?? null), "table", [], "any", false, false, false, 2), [], "array", false, true, false, 2), twig_get_attribute($this->env, $this->source, ($context["fields_meta"] ?? null), "name", [], "any", false, false, false, 2), [], "array", true, true, false, 2))) {
// line 3
echo " <br><span class=\"tblcomment\" title=\"";
echo twig_escape_filter($this->env, (($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = ($context["comments_map"] ?? null)) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144[twig_get_attribute($this->env, $this->source, ($context["fields_meta"] ?? null), "table", [], "any", false, false, false, 3)] ?? null) : null)) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4[twig_get_attribute($this->env, $this->source, ($context["fields_meta"] ?? null), "name", [], "any", false, false, false, 3)] ?? null) : null), "html", null, true);
echo "\">
";
// line 4
if ((twig_length_filter($this->env, (($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = (($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = ($context["comments_map"] ?? null)) && is_array($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002) || $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 instanceof ArrayAccess ? ($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002[twig_get_attribute($this->env, $this->source, ($context["fields_meta"] ?? null), "table", [], "any", false, false, false, 4)] ?? null) : null)) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b[twig_get_attribute($this->env, $this->source, ($context["fields_meta"] ?? null), "name", [], "any", false, false, false, 4)] ?? null) : null)) > ($context["limit_chars"] ?? null))) {
// line 5
echo " ";
echo twig_escape_filter($this->env, twig_slice($this->env, (($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 = (($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 = ($context["comments_map"] ?? null)) && is_array($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666) || $__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 instanceof ArrayAccess ? ($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666[twig_get_attribute($this->env, $this->source, ($context["fields_meta"] ?? null), "table", [], "any", false, false, false, 5)] ?? null) : null)) && is_array($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4) || $__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 instanceof ArrayAccess ? ($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4[twig_get_attribute($this->env, $this->source, ($context["fields_meta"] ?? null), "name", [], "any", false, false, false, 5)] ?? null) : null), 0, ($context["limit_chars"] ?? null)), "html", null, true);
echo "
";
} else {
// line 7
echo " ";
echo twig_escape_filter($this->env, (($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e = (($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 = ($context["comments_map"] ?? null)) && is_array($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52) || $__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 instanceof ArrayAccess ? ($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52[twig_get_attribute($this->env, $this->source, ($context["fields_meta"] ?? null), "table", [], "any", false, false, false, 7)] ?? null) : null)) && is_array($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e) || $__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e instanceof ArrayAccess ? ($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e[twig_get_attribute($this->env, $this->source, ($context["fields_meta"] ?? null), "name", [], "any", false, false, false, 7)] ?? null) : null), "html", null, true);
echo "
";
}
// line 9
echo " </span>
";
}
}
public function getTemplateName()
{
return "display/results/comment_for_row.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 59 => 9, 53 => 7, 47 => 5, 45 => 4, 40 => 3, 38 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "display/results/comment_for_row.twig", "/app/admin/templates/display/results/comment_for_row.twig");
}
}

View File

@@ -0,0 +1,89 @@
<?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;
/* config/form_display/fieldset_bottom.twig */
class __TwigTemplate_1aa4dbb87ac709efc744af3a35b6a22d6f35fed28fec8a069ba211a3b667938a 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
$context["colspan"] = 2;
// line 2
if (($context["is_setup"] ?? null)) {
// line 3
echo " ";
$context["colspan"] = (($context["colspan"] ?? null) + 1);
}
// line 5
if (($context["show_buttons"] ?? null)) {
// line 6
echo " <tr>
<td colspan=\"";
// line 7
echo twig_escape_filter($this->env, ($context["colspan"] ?? null), "html", null, true);
echo "\" class=\"lastrow\">
<input class=\"btn btn-primary green\" type=\"submit\" name=\"submit_save\" value=\"";
// line 8
echo _gettext("Apply");
echo "\">
<input class=\"btn btn-secondary\" type=\"button\" name=\"submit_reset\" value=\"";
// line 9
echo _gettext("Reset");
echo "\">
</td>
</tr>
";
}
// line 13
echo "</table>
</fieldset>
";
}
public function getTemplateName()
{
return "config/form_display/fieldset_bottom.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 65 => 13, 58 => 9, 54 => 8, 50 => 7, 47 => 6, 45 => 5, 41 => 3, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "config/form_display/fieldset_bottom.twig", "/app/admin/templates/config/form_display/fieldset_bottom.twig");
}
}

View File

@@ -0,0 +1,375 @@
<?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;
/* columns_definitions/column_definitions_form.twig */
class __TwigTemplate_36585396c63d949eecd49f6750cb93385a8e448d71ca525043b6fa6b54fae1be 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
echo "<form method=\"post\" action=\"";
echo twig_escape_filter($this->env, ($context["action"] ?? null), "html", null, true);
echo "\" class=\"";
// line 2
echo (((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/create"))) ? ("create_table") : ("append_fields"));
// line 3
echo "_form ajax lock-page\">
";
// line 4
echo PhpMyAdmin\Url::getHiddenInputs(($context["form_params"] ?? null));
echo "
";
// line 6
echo " ";
// line 7
echo " ";
// line 8
echo " <input type=\"hidden\" name=\"primary_indexes\" value=\"";
// line 9
(( !twig_test_empty(($context["primary_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["primary_indexes"] ?? null), "html", null, true))) : (print ("[]")));
echo "\">
<input type=\"hidden\" name=\"unique_indexes\" value=\"";
// line 11
(( !twig_test_empty(($context["unique_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["unique_indexes"] ?? null), "html", null, true))) : (print ("[]")));
echo "\">
<input type=\"hidden\" name=\"indexes\" value=\"";
// line 13
(( !twig_test_empty(($context["indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["indexes"] ?? null), "html", null, true))) : (print ("[]")));
echo "\">
<input type=\"hidden\" name=\"fulltext_indexes\" value=\"";
// line 15
(( !twig_test_empty(($context["fulltext_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["fulltext_indexes"] ?? null), "html", null, true))) : (print ("[]")));
echo "\">
<input type=\"hidden\" name=\"spatial_indexes\" value=\"";
// line 17
(( !twig_test_empty(($context["spatial_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["spatial_indexes"] ?? null), "html", null, true))) : (print ("[]")));
echo "\">
";
// line 19
if ((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/create"))) {
// line 20
echo " <div id=\"table_name_col_no_outer\">
<table id=\"table_name_col_no\" class=\"pma-table tdblock\">
<tr class=\"vmiddle floatleft\">
<td>";
// line 23
echo _gettext("Table name");
echo ":
<input type=\"text\"
name=\"table\"
size=\"40\"
maxlength=\"64\"
value=\"";
// line 28
((array_key_exists("table", $context)) ? (print (twig_escape_filter($this->env, ($context["table"] ?? null), "html", null, true))) : (print ("")));
echo "\"
class=\"textfield\" autofocus required>
</td>
<td>
";
// line 32
echo _gettext("Add");
// line 33
echo " <input type=\"number\"
id=\"added_fields\"
name=\"added_fields\"
size=\"2\"
value=\"1\"
min=\"1\"
onfocus=\"this.select()\">
";
// line 40
echo _gettext("column(s)");
// line 41
echo " <input class=\"btn btn-secondary\" type=\"button\"
name=\"submit_num_fields\"
value=\"";
// line 43
echo _gettext("Go");
echo "\">
</td>
</tr>
</table>
</div>
";
}
// line 49
echo " ";
if (twig_test_iterable(($context["content_cells"] ?? null))) {
// line 50
echo " ";
$this->loadTemplate("columns_definitions/table_fields_definitions.twig", "columns_definitions/column_definitions_form.twig", 50)->display(twig_to_array(["is_backup" => // line 51
($context["is_backup"] ?? null), "fields_meta" => // line 52
($context["fields_meta"] ?? null), "mimework" => // line 53
($context["mimework"] ?? null), "content_cells" => // line 54
($context["content_cells"] ?? null), "change_column" => // line 55
($context["change_column"] ?? null), "is_virtual_columns_supported" => // line 56
($context["is_virtual_columns_supported"] ?? null), "server_version" => // line 57
($context["server_version"] ?? null), "browse_mime" => // line 58
($context["browse_mime"] ?? null), "server_type" => // line 59
($context["server_type"] ?? null), "max_rows" => // line 60
($context["max_rows"] ?? null), "char_editing" => // line 61
($context["char_editing"] ?? null), "attribute_types" => // line 62
($context["attribute_types"] ?? null), "privs_available" => // line 63
($context["privs_available"] ?? null), "max_length" => // line 64
($context["max_length"] ?? null), "charsets" => // line 65
($context["charsets"] ?? null)]));
// line 67
echo " ";
}
// line 68
echo " ";
if ((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/create"))) {
// line 69
echo " <div class=\"responsivetable\">
<table class=\"pma-table\">
<tr class=\"vtop\">
<th>";
// line 72
echo _gettext("Table comments:");
echo "</th>
<td width=\"25\">&nbsp;</td>
<th>";
// line 74
echo _gettext("Collation:");
echo "</th>
<td width=\"25\">&nbsp;</td>
<th>
";
// line 77
echo _gettext("Storage Engine:");
// line 78
echo " ";
echo \PhpMyAdmin\Html\MySQLDocumentation::show("Storage_engines");
echo "
</th>
<td width=\"25\">&nbsp;</td>
<th id=\"storage-engine-connection\">
";
// line 82
echo _gettext("Connection:");
// line 83
echo " ";
echo \PhpMyAdmin\Html\MySQLDocumentation::show("federated-create-connection");
echo "
</th>
</tr>
<tr>
<td>
<input type=\"text\"
name=\"comment\"
size=\"40\"
maxlength=\"60\"
value=\"";
// line 92
((array_key_exists("comment", $context)) ? (print (twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true))) : (print ("")));
echo "\"
class=\"textfield\">
</td>
<td width=\"25\">&nbsp;</td>
<td>
<select lang=\"en\" dir=\"ltr\" name=\"tbl_collation\">
<option value=\"\"></option>
";
// line 99
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["charset"]) {
// line 100
echo " <optgroup label=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 100), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 100), "html", null, true);
echo "\">
";
// line 101
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 101));
foreach ($context['_seq'] as $context["_key"] => $context["collation"]) {
// line 102
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 102), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "description", [], "any", false, false, false, 102), "html", null, true);
echo "\"";
// line 103
echo (((twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 103) == ($context["tbl_collation"] ?? null))) ? (" selected") : (""));
echo ">";
// line 104
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 104), "html", null, true);
// line 105
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 107
echo " </optgroup>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 109
echo " </select>
</td>
<td width=\"25\">&nbsp;</td>
<td>
<select class=\"form-control\" name=\"tbl_storage_engine\" aria-label=\"";
// line 113
echo _gettext("Storage engine");
echo "\">
";
// line 114
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["storage_engines"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["engine"]) {
// line 115
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 115), "html", null, true);
echo "\"";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 115))) {
echo " title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 115), "html", null, true);
echo "\"";
}
// line 116
echo ((((twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 116)) == twig_lower_filter($this->env, ($context["tbl_storage_engine"] ?? null))) || (twig_test_empty(($context["tbl_storage_engine"] ?? null)) && twig_get_attribute($this->env, $this->source, $context["engine"], "is_default", [], "any", false, false, false, 116)))) ? (" selected") : (""));
echo ">";
// line 117
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 117), "html", null, true);
// line 118
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['engine'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 120
echo " </select>
</td>
<td width=\"25\">&nbsp;</td>
<td>
<input type=\"text\"
name=\"connection\"
size=\"40\"
value=\"";
// line 127
((array_key_exists("connection", $context)) ? (print (twig_escape_filter($this->env, ($context["connection"] ?? null), "html", null, true))) : (print ("")));
echo "\"
placeholder=\"scheme://user_name[:password]@host_name[:port_num]/db_name/tbl_name\"
class=\"textfield\"
required=\"required\">
</td>
</tr>
";
// line 133
if (($context["have_partitioning"] ?? null)) {
// line 134
echo " <tr class=\"vtop\">
<th colspan=\"5\">
";
// line 136
echo _gettext("PARTITION definition:");
// line 137
echo " ";
echo \PhpMyAdmin\Html\MySQLDocumentation::show("Partitioning");
echo "
</th>
</tr>
<tr>
<td colspan=\"5\">
";
// line 142
$this->loadTemplate("columns_definitions/partitions.twig", "columns_definitions/column_definitions_form.twig", 142)->display(twig_to_array(["partition_details" => // line 143
($context["partition_details"] ?? null), "storage_engines" => // line 144
($context["storage_engines"] ?? null)]));
// line 146
echo " </td>
</tr>
";
}
// line 149
echo " </table>
</div>
";
}
// line 152
echo " <fieldset class=\"tblFooters\">
";
// line 153
if (((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/add-field")) || (($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/structure/save")))) {
// line 154
echo " <input type=\"checkbox\" name=\"online_transaction\" value=\"ONLINE_TRANSACTION_ENABLED\" />";
echo _pgettext( "Online transaction part of the SQL DDL for InnoDB", "Online transaction");
echo \PhpMyAdmin\Html\MySQLDocumentation::show("innodb-online-ddl");
echo "
";
}
// line 156
echo " <input class=\"btn btn-secondary preview_sql\" type=\"button\"
value=\"";
// line 157
echo _gettext("Preview SQL");
echo "\">
<input class=\"btn btn-primary\" type=\"submit\"
name=\"do_save_data\"
value=\"";
// line 160
echo _gettext("Save");
echo "\">
</fieldset>
<div id=\"properties_message\"></div>
</form>
";
}
public function getTemplateName()
{
return "columns_definitions/column_definitions_form.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 348 => 160, 342 => 157, 339 => 156, 332 => 154, 330 => 153, 327 => 152, 322 => 149, 317 => 146, 315 => 144, 314 => 143, 313 => 142, 304 => 137, 302 => 136, 298 => 134, 296 => 133, 287 => 127, 278 => 120, 271 => 118, 269 => 117, 266 => 116, 257 => 115, 253 => 114, 249 => 113, 243 => 109, 236 => 107, 229 => 105, 227 => 104, 224 => 103, 218 => 102, 214 => 101, 207 => 100, 203 => 99, 193 => 92, 180 => 83, 178 => 82, 170 => 78, 168 => 77, 162 => 74, 157 => 72, 152 => 69, 149 => 68, 146 => 67, 144 => 65, 143 => 64, 142 => 63, 141 => 62, 140 => 61, 139 => 60, 138 => 59, 137 => 58, 136 => 57, 135 => 56, 134 => 55, 133 => 54, 132 => 53, 131 => 52, 130 => 51, 128 => 50, 125 => 49, 116 => 43, 112 => 41, 110 => 40, 101 => 33, 99 => 32, 92 => 28, 84 => 23, 79 => 20, 77 => 19, 72 => 17, 68 => 15, 64 => 13, 60 => 11, 56 => 9, 54 => 8, 52 => 7, 50 => 6, 46 => 4, 43 => 3, 41 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "columns_definitions/column_definitions_form.twig", "/app/admin/templates/columns_definitions/column_definitions_form.twig");
}
}

View File

@@ -0,0 +1,482 @@
<?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;
/* table/index_form.twig */
class __TwigTemplate_5473204ee77d0c8304ac36641cdd0117496a49611fbaadae95ebaa3b3b7a59dc 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
echo "<form action=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/indexes");
echo "\"
method=\"post\"
name=\"index_frm\"
id=\"index_frm\"
class=\"ajax\">
";
// line 7
echo PhpMyAdmin\Url::getHiddenInputs(($context["form_params"] ?? null));
echo "
<fieldset id=\"index_edit_fields\">
<div class=\"index_info\">
<div>
<div class=\"label\">
<strong>
<label for=\"input_index_name\">
";
// line 15
echo _gettext("Index name:");
// line 16
echo " ";
echo \PhpMyAdmin\Html\Generator::showHint(_gettext("\"PRIMARY\" <b>must</b> be the name of and <b>only of</b> a primary key!"));
echo "
</label>
</strong>
</div>
<input type=\"text\"
name=\"index[Key_name]\"
id=\"input_index_name\"
size=\"25\"
maxlength=\"64\"
value=\"";
// line 26
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getName", [], "method", false, false, false, 26), "html", null, true);
echo "\"
onfocus=\"this.select()\">
</div>
<div>
<div class=\"label\">
<strong>
<label for=\"select_index_choice\">
";
// line 34
echo _gettext("Index choice:");
// line 35
echo " ";
echo \PhpMyAdmin\Html\MySQLDocumentation::show("ALTER_TABLE");
echo "
</label>
</strong>
</div>
<select name=\"index[Index_choice]\" id=\"select_index_choice\"";
// line 40
echo ((($context["create_edit_table"] ?? null)) ? (" disabled") : (""));
echo ">
";
// line 41
if (((twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getChoice", [], "method", false, false, false, 41) == "PRIMARY") || !twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "hasPrimary", [], "method", false, false, false, 41))) {
// line 42
echo " <option value=\"PRIMARY\"";
echo (((twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getChoice", [], "method", false, false, false, 42) == "PRIMARY")) ? (" selected") : (""));
echo ">PRIMARY</option>
";
}
// line 44
echo " <option value=\"INDEX\"";
echo (((twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getChoice", [], "method", false, false, false, 44) == "INDEX")) ? (" selected") : (""));
echo ">INDEX</option>
<option value=\"UNIQUE\"";
// line 45
echo (((twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getChoice", [], "method", false, false, false, 45) == "UNIQUE")) ? (" selected") : (""));
echo ">UNIQUE</option>
<option value=\"SPATIAL\"";
// line 46
echo (((twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getChoice", [], "method", false, false, false, 46) == "SPATIAL")) ? (" selected") : (""));
echo ">SPATIAL</option>
<option value=\"FULLTEXT\"";
// line 47
echo (((twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getChoice", [], "method", false, false, false, 47) == "FULLTEXT")) ? (" selected") : (""));
echo ">FULLTEXT</option>
</select>
</div>
<div id=\"indexoptions\"";
// line 51
if ((($context["default_sliders_state"] ?? null) != "disabled")) {
// line 52
echo (((($context["default_sliders_state"] ?? null) == "closed")) ? (" style=\"display: none; overflow:auto;\"") : (""));
echo " class=\"pma_auto_slider\" title=\"";
echo _gettext("Advanced options");
echo "\"";
}
// line 53
echo ">
<div>
<div class=\"label\">
<strong>
<label for=\"input_key_block_size\">
";
// line 59
echo _gettext("Key block size:");
// line 60
echo " </label>
</strong>
</div>
<input type=\"text\"
name=\"index[Key_block_size]\"
id=\"input_key_block_size\"
size=\"30\"
value=\"";
// line 68
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getKeyBlockSize", [], "method", false, false, false, 68), "html", null, true);
echo "\">
</div>
<div>
<div class=\"label\">
<strong>
<label for=\"select_index_type\">
";
// line 76
echo _gettext("Index type:");
// line 77
echo " ";
echo \PhpMyAdmin\Html\MySQLDocumentation::show("ALTER_TABLE");
echo "
</label>
</strong>
</div>
<select name=\"index[Index_type]\" id=\"select_index_type\">
";
// line 83
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable([0 => "", 1 => "BTREE", 2 => "HASH"]);
foreach ($context['_seq'] as $context["_key"] => $context["index_type"]) {
// line 84
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["index_type"], "html", null, true);
echo "\"";
echo (((twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getType", [], "method", false, false, false, 84) == $context["index_type"])) ? (" selected") : (""));
echo ">";
echo twig_escape_filter($this->env, $context["index_type"], "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['index_type'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 86
echo " </select>
</div>
<div>
<div class=\"label\">
<strong>
<label for=\"input_parser\">
";
// line 93
echo _gettext("Parser:");
// line 94
echo " </label>
</strong>
</div>
<input type=\"text\"
name=\"index[Parser]\"
id=\"input_parse\"
size=\"30\"
value=\"";
// line 102
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getParser", [], "method", false, false, false, 102), "html", null, true);
echo "\">
</div>
<div>
<div class=\"label\">
<strong>
<label for=\"input_index_comment\">
";
// line 109
echo _gettext("Comment:");
// line 110
echo " </label>
</strong>
</div>
<input type=\"text\"
name=\"index[Index_comment]\"
id=\"input_index_comment\"
size=\"30\"
maxlength=\"1024\"
value=\"";
// line 119
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getComment", [], "method", false, false, false, 119), "html", null, true);
echo "\">
</div>
</div>
<!-- end of indexoptions div -->
<div class=\"clearfloat\"></div>
<table class=\"pma-table\" id=\"index_columns\">
<thead>
<tr>
<th></th>
<th>
";
// line 131
echo _gettext("Column");
// line 132
echo " </th>
<th>
";
// line 134
echo _gettext("Size");
// line 135
echo " </th>
</tr>
</thead>
";
// line 138
$context["spatial_types"] = [0 => "geometry", 1 => "point", 2 => "linestring", 3 => "polygon", 4 => "multipoint", 5 => "multilinestring", 6 => "multipolygon", 7 => "geomtrycollection"];
// line 148
echo " <tbody>
";
// line 149
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getColumns", [], "method", false, false, false, 149));
foreach ($context['_seq'] as $context["_key"] => $context["column"]) {
// line 150
echo " <tr class=\"noclick\">
<td>
<span class=\"drag_icon\" title=\"";
// line 152
echo _gettext("Drag to reorder");
echo "\"></span>
</td>
<td>
<select name=\"index[columns][names][]\">
<option value=\"\">
-- ";
// line 157
echo _gettext("Ignore");
echo " --
</option>
";
// line 159
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["fields"] ?? null));
foreach ($context['_seq'] as $context["field_name"] => $context["field_type"]) {
// line 160
echo " ";
if ((((twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getChoice", [], "method", false, false, false, 160) != "FULLTEXT") || preg_match("/(char|text)/i", // line 161
$context["field_type"])) && ((twig_get_attribute($this->env, $this->source, // line 162
($context["index"] ?? null), "getChoice", [], "method", false, false, false, 162) != "SPATIAL") || twig_in_filter( // line 163
$context["field_type"], ($context["spatial_types"] ?? null))))) {
// line 164
echo "
<option value=\"";
// line 165
echo twig_escape_filter($this->env, $context["field_name"], "html", null, true);
echo "\"";
// line 166
if (($context["field_name"] == twig_get_attribute($this->env, $this->source, $context["column"], "getName", [], "method", false, false, false, 166))) {
// line 167
echo " selected=\"selected\"";
}
// line 168
echo ">
";
// line 169
echo twig_escape_filter($this->env, $context["field_name"], "html", null, true);
echo " [";
echo twig_escape_filter($this->env, $context["field_type"], "html", null, true);
echo "]
</option>
";
}
// line 172
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['field_name'], $context['field_type'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 173
echo " </select>
</td>
<td>
<input type=\"text\"
size=\"5\"
onfocus=\"this.select()\"
name=\"index[columns][sub_parts][]\"
value=\"";
// line 181
(((twig_get_attribute($this->env, $this->source, // line 180
($context["index"] ?? null), "getChoice", [], "method", false, false, false, 180) != "SPATIAL")) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, // line 181
$context["column"], "getSubPart", [], "method", false, false, false, 181), "html", null, true))) : (print ("")));
echo "\">
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 185
echo " ";
if ((($context["add_fields"] ?? null) > 0)) {
// line 186
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, ($context["add_fields"] ?? null)));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 187
echo " <tr class=\"noclick\">
<td>
<span class=\"drag_icon\" title=\"";
// line 189
echo _gettext("Drag to reorder");
echo "\"></span>
</td>
<td>
<select name=\"index[columns][names][]\">
<option value=\"\">-- ";
// line 193
echo _gettext("Ignore");
echo " --</option>
";
// line 194
$context["j"] = 0;
// line 195
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["fields"] ?? null));
foreach ($context['_seq'] as $context["field_name"] => $context["field_type"]) {
// line 196
echo " ";
if (($context["create_edit_table"] ?? null)) {
// line 197
echo " ";
$context["col_index"] = (($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = $context["field_type"]) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4[1] ?? null) : null);
// line 198
echo " ";
$context["field_type"] = (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = $context["field_type"]) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144[0] ?? null) : null);
// line 199
echo " ";
}
// line 200
echo " ";
$context["j"] = (($context["j"] ?? null) + 1);
// line 201
echo " <option value=\"";
echo twig_escape_filter($this->env, ((array_key_exists("col_index", $context)) ? ( // line 202
($context["col_index"] ?? null)) : ($context["field_name"])), "html", null, true);
echo "\"";
// line 203
echo (((($context["j"] ?? null) == $context["i"])) ? (" selected=\"selected\"") : (""));
echo ">
";
// line 204
echo twig_escape_filter($this->env, $context["field_name"], "html", null, true);
echo " [";
echo twig_escape_filter($this->env, $context["field_type"], "html", null, true);
echo "]
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['field_name'], $context['field_type'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 207
echo " </select>
</td>
<td>
<input type=\"text\"
size=\"5\"
onfocus=\"this.select()\"
name=\"index[columns][sub_parts][]\"
value=\"\">
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 218
echo " ";
}
// line 219
echo " </tbody>
</table>
<div class=\"add_more\">
<div class=\"slider\"></div>
<div class=\"add_fields hide\">
<input class=\"btn btn-secondary\" type=\"submit\"
id=\"add_fields\"
value=\"";
// line 227
echo twig_escape_filter($this->env, sprintf(_gettext("Add %s column(s) to index"), 1), "html", null, true);
echo "\">
</div>
</div>
</div>
</fieldset>
<fieldset class=\"tblFooters\">
<button class=\"btn btn-secondary\" type=\"submit\" id=\"preview_index_frm\">";
// line 233
echo _gettext("Preview SQL");
echo "</button>
</fieldset>
</form>
";
}
public function getTemplateName()
{
return "table/index_form.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 456 => 233, 447 => 227, 437 => 219, 434 => 218, 418 => 207, 407 => 204, 403 => 203, 400 => 202, 398 => 201, 395 => 200, 392 => 199, 389 => 198, 386 => 197, 383 => 196, 378 => 195, 376 => 194, 372 => 193, 365 => 189, 361 => 187, 356 => 186, 353 => 185, 343 => 181, 342 => 180, 341 => 181, 332 => 173, 326 => 172, 318 => 169, 315 => 168, 312 => 167, 310 => 166, 307 => 165, 304 => 164, 302 => 163, 301 => 162, 300 => 161, 298 => 160, 294 => 159, 289 => 157, 281 => 152, 277 => 150, 273 => 149, 270 => 148, 268 => 138, 263 => 135, 261 => 134, 257 => 132, 255 => 131, 240 => 119, 229 => 110, 227 => 109, 217 => 102, 207 => 94, 205 => 93, 196 => 86, 183 => 84, 179 => 83, 169 => 77, 167 => 76, 156 => 68, 146 => 60, 144 => 59, 136 => 53, 130 => 52, 128 => 51, 121 => 47, 117 => 46, 113 => 45, 108 => 44, 102 => 42, 100 => 41, 96 => 40, 87 => 35, 85 => 34, 74 => 26, 60 => 16, 58 => 15, 47 => 7, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/index_form.twig", "/app/admin/templates/table/index_form.twig");
}
}

View File

@@ -0,0 +1,179 @@
<?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;
/* menu/breadcrumbs.twig */
class __TwigTemplate_de1a4717b7266f2893973eb2baa311566d05fd169bdc104bc11a5bbfa911ae15 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
echo "<div id=\"floating_menubar\"></div>
<nav id=\"server-breadcrumb\" aria-label=\"breadcrumb\">
<ol class=\"breadcrumb\">
<li class=\"breadcrumb-item\">
";
// line 5
echo ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (\PhpMyAdmin\Html\Generator::getImage("s_host")) : (""));
echo "
<a href=\"";
// line 6
echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["server"] ?? null), "url", [], "any", false, false, false, 6));
echo "\" data-raw-text=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["server"] ?? null), "name", [], "any", false, false, false, 6), "html", null, true);
echo "\">
";
// line 7
if (PhpMyAdmin\Util::showText("TabsMode")) {
echo _gettext("Server:");
}
// line 8
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["server"] ?? null), "name", [], "any", false, false, false, 8), "html", null, true);
echo "
</a>
</li>
";
// line 12
if ( !twig_test_empty(($context["database"] ?? null))) {
// line 13
echo " <li class=\"breadcrumb-item\">
";
// line 14
echo ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (\PhpMyAdmin\Html\Generator::getImage("s_db")) : (""));
echo "
<a href=\"";
// line 15
echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "url", [], "any", false, false, false, 15), ["db" => twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 15)]);
echo "\" data-raw-text=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 15), "html", null, true);
echo "\">
";
// line 16
if (PhpMyAdmin\Util::showText("TabsMode")) {
echo _gettext("Database:");
}
// line 17
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 17), "html", null, true);
echo "
</a>
</li>
";
// line 21
if ( !twig_test_empty(($context["table"] ?? null))) {
// line 22
echo " <li class=\"breadcrumb-item\">
";
// line 23
echo ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (\PhpMyAdmin\Html\Generator::getImage(((twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "is_view", [], "any", false, false, false, 23)) ? ("b_views") : ("s_tbl")))) : (""));
echo "
<a href=\"";
// line 24
echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "url", [], "any", false, false, false, 24), ["db" => twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 24), "table" => twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 24)]);
echo "\" data-raw-text=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 24), "html", null, true);
echo "\">
";
// line 25
if (PhpMyAdmin\Util::showText("TabsMode")) {
// line 26
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "is_view", [], "any", false, false, false, 26)) {
// line 27
echo " ";
echo _gettext("View:");
// line 28
echo " ";
} else {
// line 29
echo " ";
echo _gettext("Table:");
// line 30
echo " ";
}
// line 31
echo " ";
}
// line 32
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 32), "html", null, true);
echo "
</a>
</li>
";
// line 36
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "comment", [], "any", false, false, false, 36))) {
// line 37
echo " <span class=\"breadcrumb-comment\">“";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "comment", [], "any", false, false, false, 37), "html", null, true);
echo "”</span>
";
}
// line 39
echo " ";
} elseif ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "comment", [], "any", false, false, false, 39))) {
// line 40
echo " <span class=\"breadcrumb-comment\">“";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "comment", [], "any", false, false, false, 40), "html", null, true);
echo "”</span>
";
}
// line 42
echo " ";
}
// line 43
echo " </ol>
</nav>
";
}
public function getTemplateName()
{
return "menu/breadcrumbs.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 155 => 43, 152 => 42, 146 => 40, 143 => 39, 137 => 37, 135 => 36, 127 => 32, 124 => 31, 121 => 30, 118 => 29, 115 => 28, 112 => 27, 109 => 26, 107 => 25, 101 => 24, 97 => 23, 94 => 22, 92 => 21, 84 => 17, 80 => 16, 74 => 15, 70 => 14, 67 => 13, 65 => 12, 57 => 8, 53 => 7, 47 => 6, 43 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "menu/breadcrumbs.twig", "/app/admin/templates/menu/breadcrumbs.twig");
}
}

View File

@@ -0,0 +1,302 @@
<?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;
/* login/form.twig */
class __TwigTemplate_305b1cf79147ceb7659666f3f042c18f2085106dabf9edd60604c4c818801989 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
echo ($context["login_header"] ?? null);
echo "
";
// line 3
if (($context["is_demo"] ?? null)) {
// line 4
echo " <fieldset class=\"mb-4\">
<legend>";
// line 5
echo _gettext("phpMyAdmin Demo Server");
echo "</legend>
";
// line 6
ob_start(function () { return ''; });
// line 7
echo " ";
echo _gettext("You are using the demo server. You can do anything here, but please do not change root, debian-sys-maint and pma users. More information is available at %s.");
// line 10
echo " ";
$___internal_56727a0cf8ae5f274bd1c1a2e97b5a7aa316290c1d6ef538ac6d72b664e5eda5_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 6
echo sprintf($___internal_56727a0cf8ae5f274bd1c1a2e97b5a7aa316290c1d6ef538ac6d72b664e5eda5_, "<a href=\"url.php?url=https://demo.phpmyadmin.net/\" target=\"_blank\" rel=\"noopener noreferrer\">demo.phpmyadmin.net</a>");
// line 11
echo " </fieldset>
";
}
// line 13
echo "
";
// line 14
echo ($context["error_messages"] ?? null);
echo "
";
// line 16
if (($context["has_languages"] ?? null)) {
// line 17
echo " <div class='hide js-show'>
";
// line 18
echo ($context["language_selector"] ?? null);
echo "
</div>
";
}
// line 21
echo "
<form method=\"post\" id=\"login_form\" action=\"index.php?route=/\" name=\"login_form\" class=\"";
// line 23
echo (( !($context["is_session_expired"] ?? null)) ? ("disableAjax hide ") : (""));
echo "login js-show form-horizontal\"";
echo (( !($context["has_autocomplete"] ?? null)) ? (" autocomplete=\"off\"") : (""));
echo ">
<fieldset>
<legend class=\"col-form-label\">
<input type=\"hidden\" name=\"set_session\" value=\"";
// line 26
echo twig_escape_filter($this->env, ($context["session_id"] ?? null), "html", null, true);
echo "\">
";
// line 27
if (($context["is_session_expired"] ?? null)) {
// line 28
echo " <input type=\"hidden\" name=\"session_timedout\" value=\"1\">
";
}
// line 30
echo " ";
echo _gettext("Log in");
// line 31
echo " ";
echo \PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("index");
echo "
</legend>
";
// line 34
if (($context["is_arbitrary_server_allowed"] ?? null)) {
// line 35
echo " <div class=\"item form-row\">
<label for=\"input_servername\" class=\"col-4 d-flex align-items-center\" title=\"";
// line 36
echo _gettext("You can enter hostname/IP address and port separated by space.");
echo "\">
";
// line 37
echo _gettext("Server:");
// line 38
echo " </label>
<div class=\"col-8\">
<input type=\"text\" name=\"pma_servername\" id=\"input_servername\" value=\"";
// line 40
echo twig_escape_filter($this->env, ($context["default_server"] ?? null), "html", null, true);
echo "\" size=\"24\" class=\"textfield\" title=\"";
// line 41
echo _gettext("You can enter hostname/IP address and port separated by space.");
echo "\">
</div>
</div>
";
}
// line 45
echo "
<div class=\"item form-row\">
<label for=\"input_username\" class=\"col-4 d-flex align-items-center\">
";
// line 48
echo _gettext("Username:");
// line 49
echo " </label>
<div class=\"col-8\">
<input type=\"text\" name=\"pma_username\" id=\"input_username\" value=\"";
// line 51
echo twig_escape_filter($this->env, ($context["default_user"] ?? null), "html", null, true);
echo "\" size=\"24\" class=\"textfield\" autocomplete=\"username\">
</div>
</div>
<div class=\"item form-row\">
<label for=\"input_password\" class=\"col-4 d-flex align-items-center\">
";
// line 57
echo _gettext("Password:");
// line 58
echo " </label>
<div class=\"col-8\">
<input type=\"password\" name=\"pma_password\" id=\"input_password\" value=\"\" size=\"24\" class=\"textfield\" autocomplete=\"current-password\">
</div>
</div>
";
// line 64
if (($context["has_servers"] ?? null)) {
// line 65
echo " <div class=\"item form-row\">
<label for=\"select_server\" class=\"col-4 d-flex align-items-center\">
";
// line 67
echo _gettext("Server choice:");
// line 68
echo " </label>
<div class=\"col-8\">
<select name=\"server\" id=\"select_server\"";
// line 70
echo ((($context["is_arbitrary_server_allowed"] ?? null)) ? (" onchange=\"document.forms['login_form'].elements['pma_servername'].value = ''\"") : (""));
echo ">
";
// line 71
echo ($context["server_options"] ?? null);
echo "
</select>
</div>
</div>
";
} else {
// line 76
echo " <input type=\"hidden\" name=\"server\" value=\"";
echo twig_escape_filter($this->env, ($context["server"] ?? null), "html", null, true);
echo "\">
";
}
// line 78
echo " </fieldset>
<fieldset class=\"tblFooters\">
";
// line 81
if (($context["has_captcha"] ?? null)) {
// line 82
echo " <script src=\"";
echo twig_escape_filter($this->env, ($context["captcha_api"] ?? null), "html", null, true);
echo "?hl=";
echo twig_escape_filter($this->env, ($context["lang"] ?? null), "html", null, true);
echo "\" async defer></script>
";
// line 83
if (($context["use_captcha_checkbox"] ?? null)) {
// line 84
echo " <div class=\"";
echo twig_escape_filter($this->env, ($context["captcha_req"] ?? null), "html", null, true);
echo "\" data-sitekey=\"";
echo twig_escape_filter($this->env, ($context["captcha_key"] ?? null), "html", null, true);
echo "\"></div>
<input class=\"btn btn-primary\" value=\"";
// line 85
echo _gettext("Go");
echo "\" type=\"submit\" id=\"input_go\">
";
} else {
// line 87
echo " <input class=\"btn btn-primary ";
echo twig_escape_filter($this->env, ($context["captcha_req"] ?? null), "html", null, true);
echo "\" data-sitekey=\"";
echo twig_escape_filter($this->env, ($context["captcha_key"] ?? null), "html", null, true);
echo "\" data-callback=\"Functions_recaptchaCallback\" value=\"";
echo _gettext("Go");
echo "\" type=\"submit\" id=\"input_go\">
";
}
// line 89
echo " ";
} else {
// line 90
echo " <input class=\"btn btn-primary\" value=\"";
echo _gettext("Go");
echo "\" type=\"submit\" id=\"input_go\">
";
}
// line 92
echo " ";
// line 93
echo " ";
echo PhpMyAdmin\Url::getHiddenInputs(($context["form_params"] ?? null), "", 0, "server");
echo "
</fieldset>
</form>
";
// line 97
if ( !twig_test_empty(($context["errors"] ?? null))) {
// line 98
echo " <div id=\"pma_errors\">
";
// line 99
echo ($context["errors"] ?? null);
echo "
</div>
</div>
</div>
";
}
// line 104
echo "
";
// line 105
echo ($context["login_footer"] ?? null);
echo "
";
// line 107
echo ($context["config_footer"] ?? null);
echo "
";
}
public function getTemplateName()
{
return "login/form.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 278 => 107, 273 => 105, 270 => 104, 262 => 99, 259 => 98, 257 => 97, 249 => 93, 247 => 92, 241 => 90, 238 => 89, 228 => 87, 223 => 85, 216 => 84, 214 => 83, 207 => 82, 205 => 81, 200 => 78, 194 => 76, 186 => 71, 182 => 70, 178 => 68, 176 => 67, 172 => 65, 170 => 64, 162 => 58, 160 => 57, 151 => 51, 147 => 49, 145 => 48, 140 => 45, 133 => 41, 130 => 40, 126 => 38, 124 => 37, 120 => 36, 117 => 35, 115 => 34, 108 => 31, 105 => 30, 101 => 28, 99 => 27, 95 => 26, 87 => 23, 84 => 21, 78 => 18, 75 => 17, 73 => 16, 68 => 14, 65 => 13, 61 => 11, 59 => 6, 56 => 10, 53 => 7, 51 => 6, 47 => 5, 44 => 4, 42 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "login/form.twig", "/app/admin/templates/login/form.twig");
}
}

View File

@@ -0,0 +1,788 @@
<?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;
/* columns_definitions/column_attributes.twig */
class __TwigTemplate_caf4c11e2a664babd5e13ad89f7603cce4bb5b8d0f74a9effef5da7cb6504c42 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 2
$context["ci"] = 0;
// line 3
echo "
";
// line 6
$context["ci_offset"] = -1;
// line 7
echo "
<td class=\"text-center\">
";
// line 10
echo " ";
$this->loadTemplate("columns_definitions/column_name.twig", "columns_definitions/column_attributes.twig", 10)->display(twig_to_array(["column_number" => // line 11
($context["column_number"] ?? null), "ci" => // line 12
($context["ci"] ?? null), "ci_offset" => // line 13
($context["ci_offset"] ?? null), "column_meta" => // line 14
($context["column_meta"] ?? null), "cfg_relation" => // line 15
($context["cfg_relation"] ?? null), "max_rows" => // line 16
($context["max_rows"] ?? null)]));
// line 18
echo " ";
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 19
echo "</td>
<td class=\"text-center\">
<select class=\"column_type\" name=\"field_type[";
// line 21
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" id=\"field_";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\"";
// line 22
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "column_status", [], "array", true, true, false, 22) && !(($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = ($context["column_meta"] ?? null)) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144["column_status"] ?? null) : null)) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4["isEditable"] ?? null) : null))) ? (" disabled") : (""));
echo ">
";
// line 23
echo PhpMyAdmin\Util::getSupportedDatatypes(true, ($context["type_upper"] ?? null));
echo "
</select>
";
// line 25
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 26
echo "</td>
<td class=\"text-center\">
<input id=\"field_";
// line 28
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" type=\"text\" name=\"field_length[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" size=\"";
// line 29
echo twig_escape_filter($this->env, ($context["length_values_input_size"] ?? null), "html", null, true);
echo "\" value=\"";
echo twig_escape_filter($this->env, ($context["length"] ?? null), "html", null, true);
echo "\" class=\"textfield\">
<p class=\"enum_notice\" id=\"enum_notice_";
// line 30
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\">
<a href=\"#\" class=\"open_enum_editor\">";
// line 31
echo _gettext("Edit ENUM/SET values");
echo "</a>
</p>
";
// line 33
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 34
echo "</td>
<td class=\"text-center\">
<select name=\"field_default_type[";
// line 36
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" id=\"field_";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" class=\"default_type\">
<option value=\"NONE\"";
// line 37
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "DefaultType", [], "array", true, true, false, 37) && ((($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = ($context["column_meta"] ?? null)) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b["DefaultType"] ?? null) : null) == "NONE"))) ? (" selected") : (""));
echo ">
";
// line 38
echo _pgettext( "for default", "None");
// line 39
echo " </option>
<option value=\"USER_DEFINED\"";
// line 40
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "DefaultType", [], "array", true, true, false, 40) && ((($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = ($context["column_meta"] ?? null)) && is_array($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002) || $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 instanceof ArrayAccess ? ($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002["DefaultType"] ?? null) : null) == "USER_DEFINED"))) ? (" selected") : (""));
echo ">
";
// line 41
echo _gettext("As defined:");
// line 42
echo " </option>
<option value=\"NULL\"";
// line 43
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "DefaultType", [], "array", true, true, false, 43) && ((($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 = ($context["column_meta"] ?? null)) && is_array($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4) || $__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 instanceof ArrayAccess ? ($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4["DefaultType"] ?? null) : null) == "NULL"))) ? (" selected") : (""));
echo ">
NULL
</option>
<option value=\"CURRENT_TIMESTAMP\"";
// line 46
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "DefaultType", [], "array", true, true, false, 46) && ((($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 = ($context["column_meta"] ?? null)) && is_array($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666) || $__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 instanceof ArrayAccess ? ($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666["DefaultType"] ?? null) : null) == "CURRENT_TIMESTAMP"))) ? (" selected") : (""));
echo ">
CURRENT_TIMESTAMP
</option>
</select>
";
// line 50
if ((($context["char_editing"] ?? null) == "textarea")) {
// line 51
echo " <textarea name=\"field_default_value[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" cols=\"15\" class=\"textfield default_value\">";
echo twig_escape_filter($this->env, ($context["default_value"] ?? null), "html", null, true);
echo "</textarea>
";
} else {
// line 53
echo " <input type=\"text\" name=\"field_default_value[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" size=\"12\" value=\"";
echo twig_escape_filter($this->env, ($context["default_value"] ?? null), "html", null, true);
echo "\" class=\"textfield default_value\">
";
}
// line 55
echo " ";
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 56
echo "</td>
<td class=\"text-center\">
";
// line 59
echo " <select lang=\"en\" dir=\"ltr\" name=\"field_collation[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" id=\"field_";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\">
<option value=\"\"></option>
";
// line 61
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["charset"]) {
// line 62
echo " <optgroup label=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 62), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 62), "html", null, true);
echo "\">
";
// line 63
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 63));
foreach ($context['_seq'] as $context["_key"] => $context["collation"]) {
// line 64
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 64), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "description", [], "any", false, false, false, 64), "html", null, true);
echo "\"";
// line 65
echo (((twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 65) == (($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e = ($context["column_meta"] ?? null)) && is_array($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e) || $__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e instanceof ArrayAccess ? ($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e["Collation"] ?? null) : null))) ? (" selected") : (""));
echo ">";
// line 66
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 66), "html", null, true);
// line 67
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 69
echo " </optgroup>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 71
echo " </select>
";
// line 72
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 73
echo "</td>
<td class=\"text-center\">
";
// line 76
echo " ";
$this->loadTemplate("columns_definitions/column_attribute.twig", "columns_definitions/column_attributes.twig", 76)->display(twig_to_array(["column_number" => // line 77
($context["column_number"] ?? null), "ci" => // line 78
($context["ci"] ?? null), "ci_offset" => // line 79
($context["ci_offset"] ?? null), "column_meta" => // line 80
($context["column_meta"] ?? null), "extracted_columnspec" => // line 81
($context["extracted_columnspec"] ?? null), "submit_attribute" => // line 82
($context["submit_attribute"] ?? null), "attribute_types" => // line 83
($context["attribute_types"] ?? null)]));
// line 85
echo " ";
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 86
echo "</td>
<td class=\"text-center\">
<input name=\"field_null[";
// line 88
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" id=\"field_";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" type=\"checkbox\" value=\"YES\" class=\"allow_null\"";
// line 89
echo (((( !twig_test_empty((($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 = ($context["column_meta"] ?? null)) && is_array($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52) || $__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 instanceof ArrayAccess ? ($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52["Null"] ?? null) : null)) && ((($__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136 = ($context["column_meta"] ?? null)) && is_array($__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136) || $__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136 instanceof ArrayAccess ? ($__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136["Null"] ?? null) : null) != "NO")) && ((($__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386 = ($context["column_meta"] ?? null)) && is_array($__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386) || $__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386 instanceof ArrayAccess ? ($__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386["Null"] ?? null) : null) != "NOT NULL"))) ? (" checked") : (""));
echo ">
";
// line 90
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 91
echo "</td>
";
// line 92
if ((array_key_exists("change_column", $context) && !twig_test_empty(($context["change_column"] ?? null)))) {
// line 93
echo " ";
// line 94
echo " <td class=\"text-center\">
<input name=\"field_adjust_privileges[";
// line 95
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" id=\"field_";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" type=\"checkbox\" value=\"NULL\" class=\"allow_null\"";
// line 96
if (($context["privs_available"] ?? null)) {
echo " checked>";
} else {
// line 97
echo " title=\"";
echo _gettext("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details");
echo "\" disabled>";
}
// line 99
echo " ";
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 100
echo " </td>
";
}
// line 102
if ( !($context["is_backup"] ?? null)) {
// line 103
echo " ";
// line 104
echo " <td class=\"text-center\">
<select name=\"field_key[";
// line 105
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" id=\"field_";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" data-index=\"\">
<option value=\"none_";
// line 106
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "\">---</option>
<option value=\"primary_";
// line 107
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "\" title=\"";
echo _gettext("Primary");
echo "\"";
// line 108
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Key", [], "array", true, true, false, 108) && ((($__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9 = ($context["column_meta"] ?? null)) && is_array($__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9) || $__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9 instanceof ArrayAccess ? ($__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9["Key"] ?? null) : null) == "PRI"))) ? (" selected") : (""));
echo ">
PRIMARY
</option>
<option value=\"unique_";
// line 111
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "\" title=\"";
echo _gettext("Unique");
echo "\"";
// line 112
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Key", [], "array", true, true, false, 112) && ((($__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae = ($context["column_meta"] ?? null)) && is_array($__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae) || $__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae instanceof ArrayAccess ? ($__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae["Key"] ?? null) : null) == "UNI"))) ? (" selected") : (""));
echo ">
UNIQUE
</option>
<option value=\"index_";
// line 115
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "\" title=\"";
echo _gettext("Index");
echo "\"";
// line 116
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Key", [], "array", true, true, false, 116) && ((($__internal_25c0fab8152b8dd6b90603159c0f2e8a936a09ab76edb5e4d7bc95d9a8d2dc8f = ($context["column_meta"] ?? null)) && is_array($__internal_25c0fab8152b8dd6b90603159c0f2e8a936a09ab76edb5e4d7bc95d9a8d2dc8f) || $__internal_25c0fab8152b8dd6b90603159c0f2e8a936a09ab76edb5e4d7bc95d9a8d2dc8f instanceof ArrayAccess ? ($__internal_25c0fab8152b8dd6b90603159c0f2e8a936a09ab76edb5e4d7bc95d9a8d2dc8f["Key"] ?? null) : null) == "MUL"))) ? (" selected") : (""));
echo ">
INDEX
</option>
<option value=\"fulltext_";
// line 119
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "\" title=\"";
echo _gettext("Fulltext");
echo "\"";
// line 120
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Key", [], "array", true, true, false, 120) && ((($__internal_f769f712f3484f00110c86425acea59f5af2752239e2e8596bcb6effeb425b40 = ($context["column_meta"] ?? null)) && is_array($__internal_f769f712f3484f00110c86425acea59f5af2752239e2e8596bcb6effeb425b40) || $__internal_f769f712f3484f00110c86425acea59f5af2752239e2e8596bcb6effeb425b40 instanceof ArrayAccess ? ($__internal_f769f712f3484f00110c86425acea59f5af2752239e2e8596bcb6effeb425b40["Key"] ?? null) : null) == "FULLTEXT"))) ? (" selected") : (""));
echo ">
FULLTEXT
</option>
<option value=\"spatial_";
// line 123
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "\" title=\"";
echo _gettext("Spatial");
echo "\"";
// line 124
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Key", [], "array", true, true, false, 124) && ((($__internal_98e944456c0f58b2585e4aa36e3a7e43f4b7c9038088f0f056004af41f4a007f = ($context["column_meta"] ?? null)) && is_array($__internal_98e944456c0f58b2585e4aa36e3a7e43f4b7c9038088f0f056004af41f4a007f) || $__internal_98e944456c0f58b2585e4aa36e3a7e43f4b7c9038088f0f056004af41f4a007f instanceof ArrayAccess ? ($__internal_98e944456c0f58b2585e4aa36e3a7e43f4b7c9038088f0f056004af41f4a007f["Key"] ?? null) : null) == "SPATIAL"))) ? (" selected") : (""));
echo ">
SPATIAL
</option>
</select>
";
// line 128
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 129
echo " </td>
";
}
// line 131
echo "<td class=\"text-center\">
<input name=\"field_extra[";
// line 132
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" id=\"field_";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" type=\"checkbox\" value=\"AUTO_INCREMENT\"";
// line 133
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Extra", [], "array", true, true, false, 133) && (twig_lower_filter($this->env, (($__internal_a06a70691a7ca361709a372174fa669f5ee1c1e4ed302b3a5b61c10c80c02760 = ($context["column_meta"] ?? null)) && is_array($__internal_a06a70691a7ca361709a372174fa669f5ee1c1e4ed302b3a5b61c10c80c02760) || $__internal_a06a70691a7ca361709a372174fa669f5ee1c1e4ed302b3a5b61c10c80c02760 instanceof ArrayAccess ? ($__internal_a06a70691a7ca361709a372174fa669f5ee1c1e4ed302b3a5b61c10c80c02760["Extra"] ?? null) : null)) == "auto_increment"))) ? (" checked") : (""));
echo ">
";
// line 134
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 135
echo "</td>
<td class=\"text-center\">
<textarea id=\"field_";
// line 137
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" rows=\"1\" name=\"field_comments[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" maxlength=\"";
echo twig_escape_filter($this->env, ($context["max_length"] ?? null), "html", null, true);
echo "\">";
// line 138
((((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 138) && twig_test_iterable(($context["comments_map"] ?? null))) && twig_get_attribute($this->env, $this->source, ($context["comments_map"] ?? null), (($__internal_653499042eb14fd8415489ba6fa87c1e85cff03392e9f57b26d0da09b9be82ce = ($context["column_meta"] ?? null)) && is_array($__internal_653499042eb14fd8415489ba6fa87c1e85cff03392e9f57b26d0da09b9be82ce) || $__internal_653499042eb14fd8415489ba6fa87c1e85cff03392e9f57b26d0da09b9be82ce instanceof ArrayAccess ? ($__internal_653499042eb14fd8415489ba6fa87c1e85cff03392e9f57b26d0da09b9be82ce["Field"] ?? null) : null), [], "array", true, true, false, 138))) ? (print (twig_escape_filter($this->env, (($__internal_ba9f0a3bb95c082f61c9fbf892a05514d732703d52edc77b51f2e6284135900b = ($context["comments_map"] ?? null)) && is_array($__internal_ba9f0a3bb95c082f61c9fbf892a05514d732703d52edc77b51f2e6284135900b) || $__internal_ba9f0a3bb95c082f61c9fbf892a05514d732703d52edc77b51f2e6284135900b instanceof ArrayAccess ? ($__internal_ba9f0a3bb95c082f61c9fbf892a05514d732703d52edc77b51f2e6284135900b[(($__internal_73db8eef4d2582468dab79a6b09c77ce3b48675a610afd65a1f325b68804a60c = ($context["column_meta"] ?? null)) && is_array($__internal_73db8eef4d2582468dab79a6b09c77ce3b48675a610afd65a1f325b68804a60c) || $__internal_73db8eef4d2582468dab79a6b09c77ce3b48675a610afd65a1f325b68804a60c instanceof ArrayAccess ? ($__internal_73db8eef4d2582468dab79a6b09c77ce3b48675a610afd65a1f325b68804a60c["Field"] ?? null) : null)] ?? null) : null), "html", null, true))) : (print ("")));
// line 139
echo "</textarea>
";
// line 140
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 141
echo "</td>
";
// line 143
if (($context["is_virtual_columns_supported"] ?? null)) {
// line 144
echo " <td class=\"text-center\">
<select name=\"field_virtuality[";
// line 145
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" id=\"field_";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" class=\"virtuality\">
";
// line 146
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["options"] ?? null));
foreach ($context['_seq'] as $context["key"] => $context["value"]) {
// line 147
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\"";
echo ((((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Extra", [], "array", true, true, false, 147) && ($context["key"] != "")) && (twig_slice($this->env, (($__internal_d8ad5934f1874c52fa2ac9a4dfae52038b39b8b03cfc82eeb53de6151d883972 = ($context["column_meta"] ?? null)) && is_array($__internal_d8ad5934f1874c52fa2ac9a4dfae52038b39b8b03cfc82eeb53de6151d883972) || $__internal_d8ad5934f1874c52fa2ac9a4dfae52038b39b8b03cfc82eeb53de6151d883972 instanceof ArrayAccess ? ($__internal_d8ad5934f1874c52fa2ac9a4dfae52038b39b8b03cfc82eeb53de6151d883972["Extra"] ?? null) : null), 0, twig_length_filter($this->env, $context["key"])) === $context["key"]))) ? (" selected") : (""));
echo ">
";
// line 148
echo twig_escape_filter($this->env, $context["value"], "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 151
echo " </select>
";
// line 153
if ((($context["char_editing"] ?? null) == "textarea")) {
// line 154
echo " <textarea name=\"field_expression[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" cols=\"15\" class=\"textfield expression\">";
((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Expression", [], "array", true, true, false, 154)) ? (print (twig_escape_filter($this->env, (($__internal_df39c71428eaf37baa1ea2198679e0077f3699bdd31bb5ba10d084710b9da216 = ($context["column_meta"] ?? null)) && is_array($__internal_df39c71428eaf37baa1ea2198679e0077f3699bdd31bb5ba10d084710b9da216) || $__internal_df39c71428eaf37baa1ea2198679e0077f3699bdd31bb5ba10d084710b9da216 instanceof ArrayAccess ? ($__internal_df39c71428eaf37baa1ea2198679e0077f3699bdd31bb5ba10d084710b9da216["Expression"] ?? null) : null), "html", null, true))) : (print ("")));
echo "</textarea>
";
} else {
// line 156
echo " <input type=\"text\" name=\"field_expression[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" size=\"12\" value=\"";
((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Expression", [], "array", true, true, false, 156)) ? (print (twig_escape_filter($this->env, (($__internal_bf0e189d688dc2ad611b50a437a32d3692fb6b8be90d2228617cfa6db44e75c0 = ($context["column_meta"] ?? null)) && is_array($__internal_bf0e189d688dc2ad611b50a437a32d3692fb6b8be90d2228617cfa6db44e75c0) || $__internal_bf0e189d688dc2ad611b50a437a32d3692fb6b8be90d2228617cfa6db44e75c0 instanceof ArrayAccess ? ($__internal_bf0e189d688dc2ad611b50a437a32d3692fb6b8be90d2228617cfa6db44e75c0["Expression"] ?? null) : null), "html", null, true))) : (print ("")));
echo "\" placeholder=\"";
echo _gettext("Expression");
echo "\" class=\"textfield expression\">
";
}
// line 158
echo " ";
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 159
echo " </td>
";
}
// line 162
if (array_key_exists("fields_meta", $context)) {
// line 163
echo " ";
$context["current_index"] = 0;
// line 164
echo " ";
$context["cols"] = (twig_length_filter($this->env, ($context["move_columns"] ?? null)) - 1);
// line 165
echo " ";
$context["break"] = false;
// line 166
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, ($context["cols"] ?? null)));
foreach ($context['_seq'] as $context["_key"] => $context["mi"]) {
// line 167
echo " ";
if (((twig_get_attribute($this->env, $this->source, (($__internal_674c0abf302105af78b0a38907d86c5dd0028bdc3ee5f24bf52771a16487760c = ($context["move_columns"] ?? null)) && is_array($__internal_674c0abf302105af78b0a38907d86c5dd0028bdc3ee5f24bf52771a16487760c) || $__internal_674c0abf302105af78b0a38907d86c5dd0028bdc3ee5f24bf52771a16487760c instanceof ArrayAccess ? ($__internal_674c0abf302105af78b0a38907d86c5dd0028bdc3ee5f24bf52771a16487760c[$context["mi"]] ?? null) : null), "name", [], "any", false, false, false, 167) == (($__internal_dd839fbfcab68823c49af471c7df7659a500fe72e71b58d6b80d896bdb55e75f = ($context["column_meta"] ?? null)) && is_array($__internal_dd839fbfcab68823c49af471c7df7659a500fe72e71b58d6b80d896bdb55e75f) || $__internal_dd839fbfcab68823c49af471c7df7659a500fe72e71b58d6b80d896bdb55e75f instanceof ArrayAccess ? ($__internal_dd839fbfcab68823c49af471c7df7659a500fe72e71b58d6b80d896bdb55e75f["Field"] ?? null) : null)) && !($context["break"] ?? null))) {
// line 168
echo " ";
$context["current_index"] = $context["mi"];
// line 169
echo " ";
$context["break"] = true;
// line 170
echo " ";
}
// line 171
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['mi'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 172
echo "
<td class=\"text-center\">
<select id=\"field_";
// line 174
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" name=\"field_move_to[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" size=\"1\" width=\"5em\">
<option value=\"\" selected=\"selected\">&nbsp;</option>
<option value=\"-first\"";
// line 176
echo (((($context["current_index"] ?? null) == 0)) ? (" disabled=\"disabled\"") : (""));
echo ">
";
// line 177
echo _gettext("first");
// line 178
echo " </option>
";
// line 179
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, (twig_length_filter($this->env, ($context["move_columns"] ?? null)) - 1)));
foreach ($context['_seq'] as $context["_key"] => $context["mi"]) {
// line 180
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_a7ed47878554bdc32b70e1ba5ccc67d2302196876fbf62b4c853b20cb9e029fc = ($context["move_columns"] ?? null)) && is_array($__internal_a7ed47878554bdc32b70e1ba5ccc67d2302196876fbf62b4c853b20cb9e029fc) || $__internal_a7ed47878554bdc32b70e1ba5ccc67d2302196876fbf62b4c853b20cb9e029fc instanceof ArrayAccess ? ($__internal_a7ed47878554bdc32b70e1ba5ccc67d2302196876fbf62b4c853b20cb9e029fc[$context["mi"]] ?? null) : null), "name", [], "any", false, false, false, 180), "html", null, true);
echo "\"";
// line 181
echo ((((($context["current_index"] ?? null) == $context["mi"]) || (($context["current_index"] ?? null) == ($context["mi"] + 1)))) ? (" disabled") : (""));
echo ">
";
// line 182
echo twig_escape_filter($this->env, sprintf(_gettext("after %s"), PhpMyAdmin\Util::backquote(twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_e5d7b41e16b744b68da1e9bb49047b8028ced86c782900009b4b4029b83d4b55 = ($context["move_columns"] ?? null)) && is_array($__internal_e5d7b41e16b744b68da1e9bb49047b8028ced86c782900009b4b4029b83d4b55) || $__internal_e5d7b41e16b744b68da1e9bb49047b8028ced86c782900009b4b4029b83d4b55 instanceof ArrayAccess ? ($__internal_e5d7b41e16b744b68da1e9bb49047b8028ced86c782900009b4b4029b83d4b55[$context["mi"]] ?? null) : null), "name", [], "any", false, false, false, 182)))), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['mi'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 185
echo " </select>
";
// line 186
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 187
echo " </td>
";
}
// line 189
echo "
";
// line 190
if ((((($__internal_9e93f398968fa0576dce82fd00f280e95c734ad3f84e7816ff09158ae224f5ba = ($context["cfg_relation"] ?? null)) && is_array($__internal_9e93f398968fa0576dce82fd00f280e95c734ad3f84e7816ff09158ae224f5ba) || $__internal_9e93f398968fa0576dce82fd00f280e95c734ad3f84e7816ff09158ae224f5ba instanceof ArrayAccess ? ($__internal_9e93f398968fa0576dce82fd00f280e95c734ad3f84e7816ff09158ae224f5ba["mimework"] ?? null) : null) && ($context["browse_mime"] ?? null)) && (($__internal_0795e3de58b6454b051261c0c2b5be48852e17f25b59d4aeef29fb07c614bd78 = ($context["cfg_relation"] ?? null)) && is_array($__internal_0795e3de58b6454b051261c0c2b5be48852e17f25b59d4aeef29fb07c614bd78) || $__internal_0795e3de58b6454b051261c0c2b5be48852e17f25b59d4aeef29fb07c614bd78 instanceof ArrayAccess ? ($__internal_0795e3de58b6454b051261c0c2b5be48852e17f25b59d4aeef29fb07c614bd78["commwork"] ?? null) : null))) {
// line 191
echo " <td class=\"text-center\">
<select id=\"field_";
// line 192
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" size=\"1\" name=\"field_mimetype[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\">
<option value=\"\">&nbsp;</option>
";
// line 194
if ((twig_get_attribute($this->env, $this->source, ($context["available_mime"] ?? null), "mimetype", [], "array", true, true, false, 194) && twig_test_iterable((($__internal_fecb0565c93d0b979a95c352ff76e401e0ae0c73bb8d3b443c8c6133e1c190de = ($context["available_mime"] ?? null)) && is_array($__internal_fecb0565c93d0b979a95c352ff76e401e0ae0c73bb8d3b443c8c6133e1c190de) || $__internal_fecb0565c93d0b979a95c352ff76e401e0ae0c73bb8d3b443c8c6133e1c190de instanceof ArrayAccess ? ($__internal_fecb0565c93d0b979a95c352ff76e401e0ae0c73bb8d3b443c8c6133e1c190de["mimetype"] ?? null) : null)))) {
// line 195
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((($__internal_87570a635eac7f6e150744bd218085d17aff15d92d9c80a66d3b911e3355b828 = ($context["available_mime"] ?? null)) && is_array($__internal_87570a635eac7f6e150744bd218085d17aff15d92d9c80a66d3b911e3355b828) || $__internal_87570a635eac7f6e150744bd218085d17aff15d92d9c80a66d3b911e3355b828 instanceof ArrayAccess ? ($__internal_87570a635eac7f6e150744bd218085d17aff15d92d9c80a66d3b911e3355b828["mimetype"] ?? null) : null));
foreach ($context['_seq'] as $context["_key"] => $context["media_type"]) {
// line 196
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_replace_filter($context["media_type"], ["/" => "_"]), "html", null, true);
echo "\"";
// line 197
echo ((((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 197) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["mime_map"] ?? null), (($__internal_17b5b5f9aaeec4b528bfeed02b71f624021d6a52d927f441de2f2204d0e527cd = ($context["column_meta"] ?? null)) && is_array($__internal_17b5b5f9aaeec4b528bfeed02b71f624021d6a52d927f441de2f2204d0e527cd) || $__internal_17b5b5f9aaeec4b528bfeed02b71f624021d6a52d927f441de2f2204d0e527cd instanceof ArrayAccess ? ($__internal_17b5b5f9aaeec4b528bfeed02b71f624021d6a52d927f441de2f2204d0e527cd["Field"] ?? null) : null), [], "array", false, true, false, 197), "mimetype", [], "array", true, true, false, 197)) && ((($__internal_0db9a23306660395861a0528381e0668025e56a8a99f399e9ec23a4b392422d6 = (($__internal_0a23ad2f11a348e49c87410947e20d5a4e711234ce49927662da5dddac687855 = // line 198
($context["mime_map"] ?? null)) && is_array($__internal_0a23ad2f11a348e49c87410947e20d5a4e711234ce49927662da5dddac687855) || $__internal_0a23ad2f11a348e49c87410947e20d5a4e711234ce49927662da5dddac687855 instanceof ArrayAccess ? ($__internal_0a23ad2f11a348e49c87410947e20d5a4e711234ce49927662da5dddac687855[(($__internal_0228c5445a74540c89ea8a758478d405796357800f8af831a7f7e1e2c0159d9b = ($context["column_meta"] ?? null)) && is_array($__internal_0228c5445a74540c89ea8a758478d405796357800f8af831a7f7e1e2c0159d9b) || $__internal_0228c5445a74540c89ea8a758478d405796357800f8af831a7f7e1e2c0159d9b instanceof ArrayAccess ? ($__internal_0228c5445a74540c89ea8a758478d405796357800f8af831a7f7e1e2c0159d9b["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_0db9a23306660395861a0528381e0668025e56a8a99f399e9ec23a4b392422d6) || $__internal_0db9a23306660395861a0528381e0668025e56a8a99f399e9ec23a4b392422d6 instanceof ArrayAccess ? ($__internal_0db9a23306660395861a0528381e0668025e56a8a99f399e9ec23a4b392422d6["mimetype"] ?? null) : null) == twig_replace_filter($context["media_type"], ["/" => "_"])))) ? (" selected") : (""));
echo ">
";
// line 199
echo twig_escape_filter($this->env, twig_lower_filter($this->env, $context["media_type"]), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media_type'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 202
echo " ";
}
// line 203
echo " </select>
";
// line 204
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 205
echo " </td>
<td class=\"text-center\">
<select id=\"field_";
// line 207
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" size=\"1\" name=\"field_transformation[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\">
<option value=\"\" title=\"";
// line 208
echo _gettext("None");
echo "\"></option>
";
// line 209
if ((twig_get_attribute($this->env, $this->source, ($context["available_mime"] ?? null), "transformation", [], "array", true, true, false, 209) && twig_test_iterable((($__internal_6fb04c4457ec9ffa7dd6fd2300542be8b961b6e5f7858a80a282f47b43ddae5f = ($context["available_mime"] ?? null)) && is_array($__internal_6fb04c4457ec9ffa7dd6fd2300542be8b961b6e5f7858a80a282f47b43ddae5f) || $__internal_6fb04c4457ec9ffa7dd6fd2300542be8b961b6e5f7858a80a282f47b43ddae5f instanceof ArrayAccess ? ($__internal_6fb04c4457ec9ffa7dd6fd2300542be8b961b6e5f7858a80a282f47b43ddae5f["transformation"] ?? null) : null)))) {
// line 210
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((($__internal_417a1a95b289c75779f33186a6dc0b71d01f257b68beae7dcb9d2d769acca0e0 = ($context["available_mime"] ?? null)) && is_array($__internal_417a1a95b289c75779f33186a6dc0b71d01f257b68beae7dcb9d2d769acca0e0) || $__internal_417a1a95b289c75779f33186a6dc0b71d01f257b68beae7dcb9d2d769acca0e0 instanceof ArrayAccess ? ($__internal_417a1a95b289c75779f33186a6dc0b71d01f257b68beae7dcb9d2d769acca0e0["transformation"] ?? null) : null));
foreach ($context['_seq'] as $context["mimekey"] => $context["transform"]) {
// line 211
echo " ";
$context["parts"] = twig_split_filter($this->env, $context["transform"], ":");
// line 212
echo " <option value=\"";
echo twig_escape_filter($this->env, (($__internal_af3439635eb343262861f05093b3dcce5d4dae1e20a47bc25a2eef28135b0d55 = (($__internal_b16f7904bcaaa7a87404cbf85addc7a8645dff94eef4e8ae7182b86e3638e76a = ($context["available_mime"] ?? null)) && is_array($__internal_b16f7904bcaaa7a87404cbf85addc7a8645dff94eef4e8ae7182b86e3638e76a) || $__internal_b16f7904bcaaa7a87404cbf85addc7a8645dff94eef4e8ae7182b86e3638e76a instanceof ArrayAccess ? ($__internal_b16f7904bcaaa7a87404cbf85addc7a8645dff94eef4e8ae7182b86e3638e76a["transformation_file"] ?? null) : null)) && is_array($__internal_af3439635eb343262861f05093b3dcce5d4dae1e20a47bc25a2eef28135b0d55) || $__internal_af3439635eb343262861f05093b3dcce5d4dae1e20a47bc25a2eef28135b0d55 instanceof ArrayAccess ? ($__internal_af3439635eb343262861f05093b3dcce5d4dae1e20a47bc25a2eef28135b0d55[$context["mimekey"]] ?? null) : null), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('get_description')->getCallable(), [(($__internal_462377748602ccf3a44a10ced4240983cec8df1ad86ab53e582fcddddb98fc88 = (($__internal_be1db6a1ea9fa5c04c40f99df0ec5af053ca391863fc6256c5c4ee249724f758 = ($context["available_mime"] ?? null)) && is_array($__internal_be1db6a1ea9fa5c04c40f99df0ec5af053ca391863fc6256c5c4ee249724f758) || $__internal_be1db6a1ea9fa5c04c40f99df0ec5af053ca391863fc6256c5c4ee249724f758 instanceof ArrayAccess ? ($__internal_be1db6a1ea9fa5c04c40f99df0ec5af053ca391863fc6256c5c4ee249724f758["transformation_file"] ?? null) : null)) && is_array($__internal_462377748602ccf3a44a10ced4240983cec8df1ad86ab53e582fcddddb98fc88) || $__internal_462377748602ccf3a44a10ced4240983cec8df1ad86ab53e582fcddddb98fc88 instanceof ArrayAccess ? ($__internal_462377748602ccf3a44a10ced4240983cec8df1ad86ab53e582fcddddb98fc88[$context["mimekey"]] ?? null) : null)]), "html", null, true);
echo "\"";
// line 213
echo ((((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 213) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["mime_map"] ?? null), (($__internal_6e6eda1691934a8f5855a3221f5a9f036391304a5cda73a3a2009f2961a84c35 = ($context["column_meta"] ?? null)) && is_array($__internal_6e6eda1691934a8f5855a3221f5a9f036391304a5cda73a3a2009f2961a84c35) || $__internal_6e6eda1691934a8f5855a3221f5a9f036391304a5cda73a3a2009f2961a84c35 instanceof ArrayAccess ? ($__internal_6e6eda1691934a8f5855a3221f5a9f036391304a5cda73a3a2009f2961a84c35["Field"] ?? null) : null), [], "array", false, true, false, 213), "transformation", [], "array", true, true, false, 213)) && preg_match((("@" . (($__internal_51c633083c79004f3cb5e9e2b2f3504f650f1561800582801028bcbcf733a06b = (($__internal_064553f1273f2ea50405f85092d06733f3f2fe5d0fc42fda135e1fdc91ff26ae = // line 214
($context["available_mime"] ?? null)) && is_array($__internal_064553f1273f2ea50405f85092d06733f3f2fe5d0fc42fda135e1fdc91ff26ae) || $__internal_064553f1273f2ea50405f85092d06733f3f2fe5d0fc42fda135e1fdc91ff26ae instanceof ArrayAccess ? ($__internal_064553f1273f2ea50405f85092d06733f3f2fe5d0fc42fda135e1fdc91ff26ae["transformation_file_quoted"] ?? null) : null)) && is_array($__internal_51c633083c79004f3cb5e9e2b2f3504f650f1561800582801028bcbcf733a06b) || $__internal_51c633083c79004f3cb5e9e2b2f3504f650f1561800582801028bcbcf733a06b instanceof ArrayAccess ? ($__internal_51c633083c79004f3cb5e9e2b2f3504f650f1561800582801028bcbcf733a06b[$context["mimekey"]] ?? null) : null)) . "3?@i"), (($__internal_7bef02f75e2984f8c7fcd4fd7871e286c87c0fdcb248271a136b01ac6dd5dd54 = (($__internal_d6ae6b41786cc4be7778386d06cb288c8e6ffd74e055cfed45d7a5c8854d0c8f = ($context["mime_map"] ?? null)) && is_array($__internal_d6ae6b41786cc4be7778386d06cb288c8e6ffd74e055cfed45d7a5c8854d0c8f) || $__internal_d6ae6b41786cc4be7778386d06cb288c8e6ffd74e055cfed45d7a5c8854d0c8f instanceof ArrayAccess ? ($__internal_d6ae6b41786cc4be7778386d06cb288c8e6ffd74e055cfed45d7a5c8854d0c8f[(($__internal_1dcdec7ec31e102fbfe45103ea3599c92c8609311e43d40ca0d95d0369434327 = ($context["column_meta"] ?? null)) && is_array($__internal_1dcdec7ec31e102fbfe45103ea3599c92c8609311e43d40ca0d95d0369434327) || $__internal_1dcdec7ec31e102fbfe45103ea3599c92c8609311e43d40ca0d95d0369434327 instanceof ArrayAccess ? ($__internal_1dcdec7ec31e102fbfe45103ea3599c92c8609311e43d40ca0d95d0369434327["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_7bef02f75e2984f8c7fcd4fd7871e286c87c0fdcb248271a136b01ac6dd5dd54) || $__internal_7bef02f75e2984f8c7fcd4fd7871e286c87c0fdcb248271a136b01ac6dd5dd54 instanceof ArrayAccess ? ($__internal_7bef02f75e2984f8c7fcd4fd7871e286c87c0fdcb248271a136b01ac6dd5dd54["transformation"] ?? null) : null)))) ? (" selected") : (""));
echo ">
";
// line 215
echo twig_escape_filter($this->env, (((((call_user_func_array($this->env->getFunction('get_name')->getCallable(), [(($__internal_891ba2f942018e94e4bfa8069988f305bbaad7f54a64aeee069787f1084a9412 = (($__internal_694b5f53081640f33aab1567e85e28c247e6a7c4674010716df6de8eae4819e9 = ($context["available_mime"] ?? null)) && is_array($__internal_694b5f53081640f33aab1567e85e28c247e6a7c4674010716df6de8eae4819e9) || $__internal_694b5f53081640f33aab1567e85e28c247e6a7c4674010716df6de8eae4819e9 instanceof ArrayAccess ? ($__internal_694b5f53081640f33aab1567e85e28c247e6a7c4674010716df6de8eae4819e9["transformation_file"] ?? null) : null)) && is_array($__internal_891ba2f942018e94e4bfa8069988f305bbaad7f54a64aeee069787f1084a9412) || $__internal_891ba2f942018e94e4bfa8069988f305bbaad7f54a64aeee069787f1084a9412 instanceof ArrayAccess ? ($__internal_891ba2f942018e94e4bfa8069988f305bbaad7f54a64aeee069787f1084a9412[$context["mimekey"]] ?? null) : null)]) . " (") . twig_lower_filter($this->env, (($__internal_91b272a21580197773f482962c8b92637a641a749832ee390d7d386a58d1912e = ($context["parts"] ?? null)) && is_array($__internal_91b272a21580197773f482962c8b92637a641a749832ee390d7d386a58d1912e) || $__internal_91b272a21580197773f482962c8b92637a641a749832ee390d7d386a58d1912e instanceof ArrayAccess ? ($__internal_91b272a21580197773f482962c8b92637a641a749832ee390d7d386a58d1912e[0] ?? null) : null))) . ":") . (($__internal_7f8d0071642f16d6b4720f8eef58ffd71faf0c4d7a772c0eb6842d5e9d901ca5 = ($context["parts"] ?? null)) && is_array($__internal_7f8d0071642f16d6b4720f8eef58ffd71faf0c4d7a772c0eb6842d5e9d901ca5) || $__internal_7f8d0071642f16d6b4720f8eef58ffd71faf0c4d7a772c0eb6842d5e9d901ca5 instanceof ArrayAccess ? ($__internal_7f8d0071642f16d6b4720f8eef58ffd71faf0c4d7a772c0eb6842d5e9d901ca5[1] ?? null) : null)) . ")"), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['mimekey'], $context['transform'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 218
echo " ";
}
// line 219
echo " </select>
";
// line 220
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 221
echo " </td>
<td class=\"text-center\">
<input id=\"field_";
// line 223
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" type=\"text\" name=\"field_transformation_options[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" size=\"16\" class=\"textfield\" value=\"";
// line 224
(((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 224) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["mime_map"] ?? null), (($__internal_0aa0713b35e28227396d65db75a1a4277b081ff4e08585143330919af9d1bf0a = ($context["column_meta"] ?? null)) && is_array($__internal_0aa0713b35e28227396d65db75a1a4277b081ff4e08585143330919af9d1bf0a) || $__internal_0aa0713b35e28227396d65db75a1a4277b081ff4e08585143330919af9d1bf0a instanceof ArrayAccess ? ($__internal_0aa0713b35e28227396d65db75a1a4277b081ff4e08585143330919af9d1bf0a["Field"] ?? null) : null), [], "array", false, true, false, 224), "transformation_options", [], "array", true, true, false, 224))) ? (print (twig_escape_filter($this->env, (($__internal_51b47659448148079c55eb5fc84ce5e7b27c8ff1fadeba243d0bf4a59f102eb4 = (($__internal_7954abe9e82b868b32e99deec50bc82d0cf006d569340d1981c528f484e4306d = ($context["mime_map"] ?? null)) && is_array($__internal_7954abe9e82b868b32e99deec50bc82d0cf006d569340d1981c528f484e4306d) || $__internal_7954abe9e82b868b32e99deec50bc82d0cf006d569340d1981c528f484e4306d instanceof ArrayAccess ? ($__internal_7954abe9e82b868b32e99deec50bc82d0cf006d569340d1981c528f484e4306d[(($__internal_edc3933374aa0ae65dd90505a315fe17c24a986a5b064b0f4774e7dc68df29b5 = ($context["column_meta"] ?? null)) && is_array($__internal_edc3933374aa0ae65dd90505a315fe17c24a986a5b064b0f4774e7dc68df29b5) || $__internal_edc3933374aa0ae65dd90505a315fe17c24a986a5b064b0f4774e7dc68df29b5 instanceof ArrayAccess ? ($__internal_edc3933374aa0ae65dd90505a315fe17c24a986a5b064b0f4774e7dc68df29b5["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_51b47659448148079c55eb5fc84ce5e7b27c8ff1fadeba243d0bf4a59f102eb4) || $__internal_51b47659448148079c55eb5fc84ce5e7b27c8ff1fadeba243d0bf4a59f102eb4 instanceof ArrayAccess ? ($__internal_51b47659448148079c55eb5fc84ce5e7b27c8ff1fadeba243d0bf4a59f102eb4["transformation_options"] ?? null) : null), "html", null, true))) : (print ("")));
echo "\">
";
// line 225
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 226
echo " </td>
<td class=\"text-center\">
<select id=\"field_";
// line 228
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" size=\"1\" name=\"field_input_transformation[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\">
<option value=\"\" title=\"";
// line 229
echo _gettext("None");
echo "\"></option>
";
// line 230
if ((twig_get_attribute($this->env, $this->source, ($context["available_mime"] ?? null), "input_transformation", [], "array", true, true, false, 230) && twig_test_iterable((($__internal_78a78e2af552daad30f9bd5ea90c17811faa9f63aaaf1d1d527de70902fe2a7a = ($context["available_mime"] ?? null)) && is_array($__internal_78a78e2af552daad30f9bd5ea90c17811faa9f63aaaf1d1d527de70902fe2a7a) || $__internal_78a78e2af552daad30f9bd5ea90c17811faa9f63aaaf1d1d527de70902fe2a7a instanceof ArrayAccess ? ($__internal_78a78e2af552daad30f9bd5ea90c17811faa9f63aaaf1d1d527de70902fe2a7a["input_transformation"] ?? null) : null)))) {
// line 231
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((($__internal_68329f830f66b3d66aa25264abe6d152d460842b92be66836c0d8febb9fe46da = ($context["available_mime"] ?? null)) && is_array($__internal_68329f830f66b3d66aa25264abe6d152d460842b92be66836c0d8febb9fe46da) || $__internal_68329f830f66b3d66aa25264abe6d152d460842b92be66836c0d8febb9fe46da instanceof ArrayAccess ? ($__internal_68329f830f66b3d66aa25264abe6d152d460842b92be66836c0d8febb9fe46da["input_transformation"] ?? null) : null));
foreach ($context['_seq'] as $context["mimekey"] => $context["transform"]) {
// line 232
echo " ";
$context["parts"] = twig_split_filter($this->env, $context["transform"], ":");
// line 233
echo " <option value=\"";
echo twig_escape_filter($this->env, (($__internal_0c0a6bc8299d1416ae3339265b194ff43aaec7fc209979ab91c947804ef09b38 = (($__internal_c5373d6c112ec7cfa0d260a8ea49b75af689c74c186cb9e1d12f91be2f3451ec = ($context["available_mime"] ?? null)) && is_array($__internal_c5373d6c112ec7cfa0d260a8ea49b75af689c74c186cb9e1d12f91be2f3451ec) || $__internal_c5373d6c112ec7cfa0d260a8ea49b75af689c74c186cb9e1d12f91be2f3451ec instanceof ArrayAccess ? ($__internal_c5373d6c112ec7cfa0d260a8ea49b75af689c74c186cb9e1d12f91be2f3451ec["input_transformation_file"] ?? null) : null)) && is_array($__internal_0c0a6bc8299d1416ae3339265b194ff43aaec7fc209979ab91c947804ef09b38) || $__internal_0c0a6bc8299d1416ae3339265b194ff43aaec7fc209979ab91c947804ef09b38 instanceof ArrayAccess ? ($__internal_0c0a6bc8299d1416ae3339265b194ff43aaec7fc209979ab91c947804ef09b38[$context["mimekey"]] ?? null) : null), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('get_description')->getCallable(), [(($__internal_a13b5858c5824edc0cf555cffe22c4f90468c22ef1115c74916647af2c9b8574 = (($__internal_8273200462706e912633c1bd12ca5fc5736d038390c29954112cb78d56c3075c = ($context["available_mime"] ?? null)) && is_array($__internal_8273200462706e912633c1bd12ca5fc5736d038390c29954112cb78d56c3075c) || $__internal_8273200462706e912633c1bd12ca5fc5736d038390c29954112cb78d56c3075c instanceof ArrayAccess ? ($__internal_8273200462706e912633c1bd12ca5fc5736d038390c29954112cb78d56c3075c["input_transformation_file"] ?? null) : null)) && is_array($__internal_a13b5858c5824edc0cf555cffe22c4f90468c22ef1115c74916647af2c9b8574) || $__internal_a13b5858c5824edc0cf555cffe22c4f90468c22ef1115c74916647af2c9b8574 instanceof ArrayAccess ? ($__internal_a13b5858c5824edc0cf555cffe22c4f90468c22ef1115c74916647af2c9b8574[$context["mimekey"]] ?? null) : null)]), "html", null, true);
echo "\"";
// line 234
echo ((((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 234) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["mime_map"] ?? null), (($__internal_ba7685baed7d294d6f9f021c094359707afc43c727e6a2d19ff1d176796bbda0 = ($context["column_meta"] ?? null)) && is_array($__internal_ba7685baed7d294d6f9f021c094359707afc43c727e6a2d19ff1d176796bbda0) || $__internal_ba7685baed7d294d6f9f021c094359707afc43c727e6a2d19ff1d176796bbda0 instanceof ArrayAccess ? ($__internal_ba7685baed7d294d6f9f021c094359707afc43c727e6a2d19ff1d176796bbda0["Field"] ?? null) : null), [], "array", false, true, false, 234), "input_transformation", [], "array", true, true, false, 234)) && preg_match((("@" . (($__internal_101f955954d09941874d68c1bc31b2171b1313930c7c7163a30d4c0951b92adc = (($__internal_d19b8970b34a70cf90f25bc70d063a8b0fc361c2ffc373a6176195b465bc0ccd = // line 235
($context["available_mime"] ?? null)) && is_array($__internal_d19b8970b34a70cf90f25bc70d063a8b0fc361c2ffc373a6176195b465bc0ccd) || $__internal_d19b8970b34a70cf90f25bc70d063a8b0fc361c2ffc373a6176195b465bc0ccd instanceof ArrayAccess ? ($__internal_d19b8970b34a70cf90f25bc70d063a8b0fc361c2ffc373a6176195b465bc0ccd["input_transformation_file_quoted"] ?? null) : null)) && is_array($__internal_101f955954d09941874d68c1bc31b2171b1313930c7c7163a30d4c0951b92adc) || $__internal_101f955954d09941874d68c1bc31b2171b1313930c7c7163a30d4c0951b92adc instanceof ArrayAccess ? ($__internal_101f955954d09941874d68c1bc31b2171b1313930c7c7163a30d4c0951b92adc[$context["mimekey"]] ?? null) : null)) . "3?@i"), (($__internal_7f22f462d0a079e9b28d4dd0209cce239cda0d0c81b8f79d4d6355c3a5eedc81 = (($__internal_08d357d6c6cc179c7eaa6aa16ae7c13336efbc0aa5669c58d46cab7f2ce96007 = ($context["mime_map"] ?? null)) && is_array($__internal_08d357d6c6cc179c7eaa6aa16ae7c13336efbc0aa5669c58d46cab7f2ce96007) || $__internal_08d357d6c6cc179c7eaa6aa16ae7c13336efbc0aa5669c58d46cab7f2ce96007 instanceof ArrayAccess ? ($__internal_08d357d6c6cc179c7eaa6aa16ae7c13336efbc0aa5669c58d46cab7f2ce96007[(($__internal_6d2de8847ca935d43c4b17225dc2537ff47d9b1c0e614e4fed558aa26b7f934d = ($context["column_meta"] ?? null)) && is_array($__internal_6d2de8847ca935d43c4b17225dc2537ff47d9b1c0e614e4fed558aa26b7f934d) || $__internal_6d2de8847ca935d43c4b17225dc2537ff47d9b1c0e614e4fed558aa26b7f934d instanceof ArrayAccess ? ($__internal_6d2de8847ca935d43c4b17225dc2537ff47d9b1c0e614e4fed558aa26b7f934d["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_7f22f462d0a079e9b28d4dd0209cce239cda0d0c81b8f79d4d6355c3a5eedc81) || $__internal_7f22f462d0a079e9b28d4dd0209cce239cda0d0c81b8f79d4d6355c3a5eedc81 instanceof ArrayAccess ? ($__internal_7f22f462d0a079e9b28d4dd0209cce239cda0d0c81b8f79d4d6355c3a5eedc81["input_transformation"] ?? null) : null)))) ? (" selected") : (""));
echo ">
";
// line 236
echo twig_escape_filter($this->env, (((((call_user_func_array($this->env->getFunction('get_name')->getCallable(), [(($__internal_14ec589d07a85756e12acaaf8d41cc27621a5a03ce9e1c2835143b81f89a8dba = (($__internal_15cadc33e29273b0be5cf970bdbb25fb0d962f226cb329dfeb89075c4a503f49 = ($context["available_mime"] ?? null)) && is_array($__internal_15cadc33e29273b0be5cf970bdbb25fb0d962f226cb329dfeb89075c4a503f49) || $__internal_15cadc33e29273b0be5cf970bdbb25fb0d962f226cb329dfeb89075c4a503f49 instanceof ArrayAccess ? ($__internal_15cadc33e29273b0be5cf970bdbb25fb0d962f226cb329dfeb89075c4a503f49["input_transformation_file"] ?? null) : null)) && is_array($__internal_14ec589d07a85756e12acaaf8d41cc27621a5a03ce9e1c2835143b81f89a8dba) || $__internal_14ec589d07a85756e12acaaf8d41cc27621a5a03ce9e1c2835143b81f89a8dba instanceof ArrayAccess ? ($__internal_14ec589d07a85756e12acaaf8d41cc27621a5a03ce9e1c2835143b81f89a8dba[$context["mimekey"]] ?? null) : null)]) . " (") . twig_lower_filter($this->env, (($__internal_fdffc6d7d2105180aa5315b58ff859ceee4ece5e5b7b2601a851c7a60a10d639 = ($context["parts"] ?? null)) && is_array($__internal_fdffc6d7d2105180aa5315b58ff859ceee4ece5e5b7b2601a851c7a60a10d639) || $__internal_fdffc6d7d2105180aa5315b58ff859ceee4ece5e5b7b2601a851c7a60a10d639 instanceof ArrayAccess ? ($__internal_fdffc6d7d2105180aa5315b58ff859ceee4ece5e5b7b2601a851c7a60a10d639[0] ?? null) : null))) . ":") . (($__internal_d3425701b9a0a8a13b32495933a7425cc5de4c0e5eb576b5e6202e761600efaf = ($context["parts"] ?? null)) && is_array($__internal_d3425701b9a0a8a13b32495933a7425cc5de4c0e5eb576b5e6202e761600efaf) || $__internal_d3425701b9a0a8a13b32495933a7425cc5de4c0e5eb576b5e6202e761600efaf instanceof ArrayAccess ? ($__internal_d3425701b9a0a8a13b32495933a7425cc5de4c0e5eb576b5e6202e761600efaf[1] ?? null) : null)) . ")"), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['mimekey'], $context['transform'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 239
echo " ";
}
// line 240
echo " </select>
";
// line 241
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 242
echo " </td>
<td class=\"text-center\">
<input id=\"field_";
// line 244
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" type=\"text\" name=\"field_input_transformation_options[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" size=\"16\" class=\"textfield\" value=\"";
// line 245
(((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 245) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["mime_map"] ?? null), (($__internal_aee130853742ef3e066bee9d5b201f026709112632574a72409cce5c24f44921 = ($context["column_meta"] ?? null)) && is_array($__internal_aee130853742ef3e066bee9d5b201f026709112632574a72409cce5c24f44921) || $__internal_aee130853742ef3e066bee9d5b201f026709112632574a72409cce5c24f44921 instanceof ArrayAccess ? ($__internal_aee130853742ef3e066bee9d5b201f026709112632574a72409cce5c24f44921["Field"] ?? null) : null), [], "array", false, true, false, 245), "input_transformation_options", [], "array", true, true, false, 245))) ? (print (twig_escape_filter($this->env, (($__internal_34bfc9d3bb99a6e1ea80e9e1e16e70ac03c16465a14de0faf0a7d7df04205a7a = (($__internal_975fa751a8f688c78873ea77782d85542baaefa8277fb1ae2e9b2a7d8eed4ca4 = ($context["mime_map"] ?? null)) && is_array($__internal_975fa751a8f688c78873ea77782d85542baaefa8277fb1ae2e9b2a7d8eed4ca4) || $__internal_975fa751a8f688c78873ea77782d85542baaefa8277fb1ae2e9b2a7d8eed4ca4 instanceof ArrayAccess ? ($__internal_975fa751a8f688c78873ea77782d85542baaefa8277fb1ae2e9b2a7d8eed4ca4[(($__internal_3a29dd8c635325e3d124a8a60682c8c1d72c8f81204e952bf98350c9fabbc985 = ($context["column_meta"] ?? null)) && is_array($__internal_3a29dd8c635325e3d124a8a60682c8c1d72c8f81204e952bf98350c9fabbc985) || $__internal_3a29dd8c635325e3d124a8a60682c8c1d72c8f81204e952bf98350c9fabbc985 instanceof ArrayAccess ? ($__internal_3a29dd8c635325e3d124a8a60682c8c1d72c8f81204e952bf98350c9fabbc985["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_34bfc9d3bb99a6e1ea80e9e1e16e70ac03c16465a14de0faf0a7d7df04205a7a) || $__internal_34bfc9d3bb99a6e1ea80e9e1e16e70ac03c16465a14de0faf0a7d7df04205a7a instanceof ArrayAccess ? ($__internal_34bfc9d3bb99a6e1ea80e9e1e16e70ac03c16465a14de0faf0a7d7df04205a7a["input_transformation_options"] ?? null) : null), "html", null, true))) : (print ("")));
echo "\">
";
// line 246
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 247
echo " </td>
";
}
}
public function getTemplateName()
{
return "columns_definitions/column_attributes.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 764 => 247, 762 => 246, 758 => 245, 751 => 244, 747 => 242, 745 => 241, 742 => 240, 739 => 239, 730 => 236, 726 => 235, 725 => 234, 719 => 233, 716 => 232, 711 => 231, 709 => 230, 705 => 229, 697 => 228, 693 => 226, 691 => 225, 687 => 224, 680 => 223, 676 => 221, 674 => 220, 671 => 219, 668 => 218, 659 => 215, 655 => 214, 654 => 213, 648 => 212, 645 => 211, 640 => 210, 638 => 209, 634 => 208, 626 => 207, 622 => 205, 620 => 204, 617 => 203, 614 => 202, 605 => 199, 601 => 198, 600 => 197, 596 => 196, 591 => 195, 589 => 194, 580 => 192, 577 => 191, 575 => 190, 572 => 189, 568 => 187, 566 => 186, 563 => 185, 554 => 182, 550 => 181, 546 => 180, 542 => 179, 539 => 178, 537 => 177, 533 => 176, 524 => 174, 520 => 172, 514 => 171, 511 => 170, 508 => 169, 505 => 168, 502 => 167, 497 => 166, 494 => 165, 491 => 164, 488 => 163, 486 => 162, 482 => 159, 479 => 158, 469 => 156, 461 => 154, 459 => 153, 455 => 151, 446 => 148, 439 => 147, 435 => 146, 427 => 145, 424 => 144, 422 => 143, 419 => 141, 417 => 140, 414 => 139, 412 => 138, 403 => 137, 399 => 135, 397 => 134, 393 => 133, 386 => 132, 383 => 131, 379 => 129, 377 => 128, 370 => 124, 365 => 123, 359 => 120, 354 => 119, 348 => 116, 343 => 115, 337 => 112, 332 => 111, 326 => 108, 321 => 107, 317 => 106, 309 => 105, 306 => 104, 304 => 103, 302 => 102, 298 => 100, 295 => 99, 290 => 97, 286 => 96, 279 => 95, 276 => 94, 274 => 93, 272 => 92, 269 => 91, 267 => 90, 263 => 89, 256 => 88, 252 => 86, 249 => 85, 247 => 83, 246 => 82, 245 => 81, 244 => 80, 243 => 79, 242 => 78, 241 => 77, 239 => 76, 235 => 73, 233 => 72, 230 => 71, 223 => 69, 216 => 67, 214 => 66, 211 => 65, 205 => 64, 201 => 63, 194 => 62, 190 => 61, 180 => 59, 176 => 56, 173 => 55, 165 => 53, 157 => 51, 155 => 50, 148 => 46, 142 => 43, 139 => 42, 137 => 41, 133 => 40, 130 => 39, 128 => 38, 124 => 37, 116 => 36, 112 => 34, 110 => 33, 105 => 31, 99 => 30, 93 => 29, 86 => 28, 82 => 26, 80 => 25, 75 => 23, 71 => 22, 64 => 21, 60 => 19, 57 => 18, 55 => 16, 54 => 15, 53 => 14, 52 => 13, 51 => 12, 50 => 11, 48 => 10, 44 => 7, 42 => 6, 39 => 3, 37 => 2,);
}
public function getSourceContext()
{
return new Source("", "columns_definitions/column_attributes.twig", "/app/admin/templates/columns_definitions/column_attributes.twig");
}
}

View File

@@ -0,0 +1,566 @@
<?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/structure/structure_table_row.twig */
class __TwigTemplate_0f49b4e17a995616a6f5f7a023c2faa5a04cb48e86fc7e4eba0cbecf0eae119d 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
echo "<tr id=\"row_tbl_";
echo twig_escape_filter($this->env, ($context["curr"] ?? null), "html", null, true);
echo "\"";
echo ((($context["table_is_view"] ?? null)) ? (" class=\"is_view\"") : (""));
echo " data-filter-row=\"";
echo twig_escape_filter($this->env, twig_upper_filter($this->env, (($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = ($context["current_table"] ?? null)) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4["TABLE_NAME"] ?? null) : null)), "html", null, true);
echo "\">
<td class=\"text-center d-print-none\">
<input type=\"checkbox\"
name=\"selected_tbl[]\"
class=\"";
// line 5
echo twig_escape_filter($this->env, ($context["input_class"] ?? null), "html", null, true);
echo "\"
value=\"";
// line 6
echo twig_escape_filter($this->env, (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = ($context["current_table"] ?? null)) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144["TABLE_NAME"] ?? null) : null), "html", null, true);
echo "\"
id=\"checkbox_tbl_";
// line 7
echo twig_escape_filter($this->env, ($context["curr"] ?? null), "html", null, true);
echo "\">
</td>
<th>
<a href=\"";
// line 10
echo PhpMyAdmin\Url::getFromRoute("/sql", twig_array_merge(($context["table_url_params"] ?? null), ["pos" => 0]));
echo "\" title=\"";
echo twig_escape_filter($this->env, ($context["browse_table_label_title"] ?? null), "html", null, true);
echo "\">
";
// line 11
echo twig_escape_filter($this->env, ($context["browse_table_label_truename"] ?? null), "html", null, true);
echo "
</a>
";
// line 13
echo ($context["tracking_icon"] ?? null);
echo "
</th>
";
// line 15
if (($context["server_slave_status"] ?? null)) {
// line 16
echo " <td class=\"text-center\">
";
// line 17
echo ((($context["ignored"] ?? null)) ? (\PhpMyAdmin\Html\Generator::getImage("s_cancel", _gettext("Not replicated"))) : (""));
echo "
";
// line 18
echo ((($context["do"] ?? null)) ? (\PhpMyAdmin\Html\Generator::getImage("s_success", _gettext("Replicated"))) : (""));
echo "
</td>
";
}
// line 21
echo "
";
// line 23
echo " ";
if ((($context["num_favorite_tables"] ?? null) > 0)) {
// line 24
echo " <td class=\"text-center d-print-none\">
";
// line 26
echo " ";
$context["fav_params"] = ["db" => // line 27
($context["db"] ?? null), "ajax_request" => true, "favorite_table" => (($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = // line 29
($context["current_table"] ?? null)) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b["TABLE_NAME"] ?? null) : null), ((( // line 30
($context["already_favorite"] ?? null)) ? ("remove") : ("add")) . "_favorite") => true];
// line 32
echo " ";
$this->loadTemplate("database/structure/favorite_anchor.twig", "database/structure/structure_table_row.twig", 32)->display(twig_to_array(["table_name_hash" => // line 33
($context["table_name_hash"] ?? null), "db_table_name_hash" => // line 34
($context["db_table_name_hash"] ?? null), "fav_params" => // line 35
($context["fav_params"] ?? null), "already_favorite" => // line 36
($context["already_favorite"] ?? null)]));
// line 38
echo " </td>
";
}
// line 40
echo "
<td class=\"text-center d-print-none\">
<a href=\"";
// line 42
echo PhpMyAdmin\Url::getFromRoute("/sql", twig_array_merge(($context["table_url_params"] ?? null), ["pos" => 0]));
echo "\">
";
// line 43
echo ((($context["may_have_rows"] ?? null)) ? (\PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse"))) : (\PhpMyAdmin\Html\Generator::getIcon("bd_browse", _gettext("Browse"))));
echo "
</a>
</td>
<td class=\"text-center d-print-none\">
<a href=\"";
// line 47
echo PhpMyAdmin\Url::getFromRoute("/table/structure", ($context["table_url_params"] ?? null));
echo "\">
";
// line 48
echo \PhpMyAdmin\Html\Generator::getIcon("b_props", _gettext("Structure"));
echo "
</a>
</td>
<td class=\"text-center d-print-none\">
<a href=\"";
// line 52
echo PhpMyAdmin\Url::getFromRoute("/table/search", ($context["table_url_params"] ?? null));
echo "\">
";
// line 53
echo ((($context["may_have_rows"] ?? null)) ? (\PhpMyAdmin\Html\Generator::getIcon("b_select", _gettext("Search"))) : (\PhpMyAdmin\Html\Generator::getIcon("bd_select", _gettext("Search"))));
echo "
</a>
</td>
";
// line 57
if ( !($context["db_is_system_schema"] ?? null)) {
// line 58
echo " <td class=\"insert_table text-center d-print-none\">
<a href=\"";
// line 59
echo PhpMyAdmin\Url::getFromRoute("/table/change", ($context["table_url_params"] ?? null));
echo "\">";
echo \PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Insert"));
echo "</a>
</td>
";
// line 61
if (($context["table_is_view"] ?? null)) {
// line 62
echo " <td class=\"text-center d-print-none\">
<a href=\"";
// line 63
echo PhpMyAdmin\Url::getFromRoute("/view/create", ["db" => // line 64
($context["db"] ?? null), "table" => (($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = // line 65
($context["current_table"] ?? null)) && is_array($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002) || $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 instanceof ArrayAccess ? ($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002["TABLE_NAME"] ?? null) : null)]);
// line 66
echo "\">";
echo \PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit"));
echo "</a>
</td>
";
} else {
// line 69
echo " <td class=\"text-center d-print-none\">
<a class=\"truncate_table_anchor ajax\" href=\"";
// line 70
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["table_url_params"] ?? null), ["sql_query" => // line 71
($context["empty_table_sql_query"] ?? null), "message_to_show" => // line 72
($context["empty_table_message_to_show"] ?? null)]), "");
// line 73
echo "\">
";
// line 74
echo ((($context["may_have_rows"] ?? null)) ? (\PhpMyAdmin\Html\Generator::getIcon("b_empty", _gettext("Empty"))) : (\PhpMyAdmin\Html\Generator::getIcon("bd_empty", _gettext("Empty"))));
echo "
</a>
</td>
";
}
// line 78
echo " <td class=\"text-center d-print-none\">
<a class=\"ajax drop_table_anchor";
// line 80
echo (((($context["table_is_view"] ?? null) || ((($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 = ($context["current_table"] ?? null)) && is_array($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4) || $__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 instanceof ArrayAccess ? ($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4["ENGINE"] ?? null) : null) == null))) ? (" view") : (""));
echo "\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" data-post=\"";
// line 81
echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["table_url_params"] ?? null), ["reload" => 1, "purge" => 1, "sql_query" => // line 84
($context["drop_query"] ?? null), "message_to_show" => // line 85
($context["drop_message"] ?? null)]), "");
// line 86
echo "\">
";
// line 87
echo \PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop"));
echo "
</a>
</td>
";
}
// line 91
echo "
";
// line 92
if ((twig_get_attribute($this->env, $this->source, ($context["current_table"] ?? null), "TABLE_ROWS", [], "array", true, true, false, 92) && (((($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 = // line 93
($context["current_table"] ?? null)) && is_array($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666) || $__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 instanceof ArrayAccess ? ($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666["ENGINE"] ?? null) : null) != null) || ($context["table_is_view"] ?? null)))) {
// line 94
echo " ";
// line 95
echo " ";
$context["row_count"] = PhpMyAdmin\Util::formatNumber((($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e = ($context["current_table"] ?? null)) && is_array($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e) || $__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e instanceof ArrayAccess ? ($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e["TABLE_ROWS"] ?? null) : null), 0);
// line 96
echo "
";
// line 99
echo " <td class=\"value tbl_rows text-monospace text-right\"
data-table=\"";
// line 100
echo twig_escape_filter($this->env, (($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 = ($context["current_table"] ?? null)) && is_array($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52) || $__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 instanceof ArrayAccess ? ($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52["TABLE_NAME"] ?? null) : null), "html", null, true);
echo "\">
";
// line 101
if (($context["approx_rows"] ?? null)) {
// line 102
echo " <a href=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/structure/real-row-count", ["ajax_request" => true, "db" => // line 104
($context["db"] ?? null), "table" => (($__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136 = // line 105
($context["current_table"] ?? null)) && is_array($__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136) || $__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136 instanceof ArrayAccess ? ($__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136["TABLE_NAME"] ?? null) : null)]);
// line 106
echo "\" class=\"ajax real_row_count\">
<bdi>
~";
// line 108
echo twig_escape_filter($this->env, ($context["row_count"] ?? null), "html", null, true);
echo "
</bdi>
</a>
";
} else {
// line 112
echo " ";
echo twig_escape_filter($this->env, ($context["row_count"] ?? null), "html", null, true);
echo "
";
}
// line 114
echo " ";
echo ($context["show_superscript"] ?? null);
echo "
</td>
";
// line 117
if ( !(($context["properties_num_columns"] ?? null) > 1)) {
// line 118
echo " <td class=\"nowrap\">
";
// line 119
if ( !twig_test_empty((($__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386 = ($context["current_table"] ?? null)) && is_array($__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386) || $__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386 instanceof ArrayAccess ? ($__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386["ENGINE"] ?? null) : null))) {
// line 120
echo " ";
echo twig_escape_filter($this->env, (($__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9 = ($context["current_table"] ?? null)) && is_array($__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9) || $__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9 instanceof ArrayAccess ? ($__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9["ENGINE"] ?? null) : null), "html", null, true);
echo "
";
} elseif ( // line 121
($context["table_is_view"] ?? null)) {
// line 122
echo " ";
echo _gettext("View");
// line 123
echo " ";
}
// line 124
echo " </td>
";
// line 125
if ((twig_length_filter($this->env, ($context["collation"] ?? null)) > 0)) {
// line 126
echo " <td class=\"nowrap\">
";
// line 127
echo ($context["collation"] ?? null);
echo "
</td>
";
}
// line 130
echo " ";
}
// line 131
echo "
";
// line 132
if (($context["is_show_stats"] ?? null)) {
// line 133
echo " <td class=\"value tbl_size text-monospace text-right\">
<a href=\"";
// line 134
echo PhpMyAdmin\Url::getFromRoute("/table/structure", ($context["table_url_params"] ?? null));
echo "#showusage\">
<span>";
// line 135
echo twig_escape_filter($this->env, ($context["formatted_size"] ?? null), "html", null, true);
echo "</span>&nbsp;<span class=\"unit\">";
echo twig_escape_filter($this->env, ($context["unit"] ?? null), "html", null, true);
echo "</span>
</a>
</td>
<td class=\"value tbl_overhead text-monospace text-right\">
";
// line 139
echo ($context["overhead"] ?? null);
echo "
</td>
";
}
// line 142
echo "
";
// line 143
if ( !(($context["show_charset"] ?? null) > 1)) {
// line 144
echo " ";
if ((twig_length_filter($this->env, ($context["charset"] ?? null)) > 0)) {
// line 145
echo " <td class=\"nowrap\">
";
// line 146
echo ($context["charset"] ?? null);
echo "
</td>
";
}
// line 149
echo " ";
}
// line 150
echo "
";
// line 151
if (($context["show_comment"] ?? null)) {
// line 152
echo " ";
$context["comment"] = (($__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae = ($context["current_table"] ?? null)) && is_array($__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae) || $__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae instanceof ArrayAccess ? ($__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae["Comment"] ?? null) : null);
// line 153
echo " <td>
";
// line 154
if ((twig_length_filter($this->env, ($context["comment"] ?? null)) > ($context["limit_chars"] ?? null))) {
// line 155
echo " <abbr title=\"";
echo twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true);
echo "\">
";
// line 156
echo twig_escape_filter($this->env, twig_slice($this->env, ($context["comment"] ?? null), 0, ($context["limit_chars"] ?? null)), "html", null, true);
echo "
...
</abbr>
";
} else {
// line 160
echo " ";
echo twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true);
echo "
";
}
// line 162
echo " </td>
";
}
// line 164
echo "
";
// line 165
if (($context["show_creation"] ?? null)) {
// line 166
echo " <td class=\"value tbl_creation text-monospace text-right\">
";
// line 167
echo twig_escape_filter($this->env, ($context["create_time"] ?? null), "html", null, true);
echo "
</td>
";
}
// line 170
echo "
";
// line 171
if (($context["show_last_update"] ?? null)) {
// line 172
echo " <td class=\"value tbl_last_update text-monospace text-right\">
";
// line 173
echo twig_escape_filter($this->env, ($context["update_time"] ?? null), "html", null, true);
echo "
</td>
";
}
// line 176
echo "
";
// line 177
if (($context["show_last_check"] ?? null)) {
// line 178
echo " <td class=\"value tbl_last_check text-monospace text-right\">
";
// line 179
echo twig_escape_filter($this->env, ($context["check_time"] ?? null), "html", null, true);
echo "
</td>
";
}
// line 182
echo "
";
} elseif ( // line 183
($context["table_is_view"] ?? null)) {
// line 184
echo " <td class=\"value tbl_rows text-monospace text-right\">-</td>
<td class=\"nowrap\">
";
// line 186
echo _gettext("View");
// line 187
echo " </td>
<td class=\"nowrap\">---</td>
";
// line 189
if (($context["is_show_stats"] ?? null)) {
// line 190
echo " <td class=\"value tbl_size text-monospace text-right\">-</td>
<td class=\"value tbl_overhead text-monospace text-right\">-</td>
";
}
// line 193
echo " ";
if (($context["show_charset"] ?? null)) {
// line 194
echo " <td></td>
";
}
// line 196
echo " ";
if (($context["show_comment"] ?? null)) {
// line 197
echo " <td></td>
";
}
// line 199
echo " ";
if (($context["show_creation"] ?? null)) {
// line 200
echo " <td class=\"value tbl_creation text-monospace text-right\">-</td>
";
}
// line 202
echo " ";
if (($context["show_last_update"] ?? null)) {
// line 203
echo " <td class=\"value tbl_last_update text-monospace text-right\">-</td>
";
}
// line 205
echo " ";
if (($context["show_last_check"] ?? null)) {
// line 206
echo " <td class=\"value tbl_last_check text-monospace text-right\">-</td>
";
}
// line 208
echo "
";
} else {
// line 210
echo "
";
// line 211
if (($context["db_is_system_schema"] ?? null)) {
// line 212
echo " ";
$context["action_colspan"] = 3;
// line 213
echo " ";
} else {
// line 214
echo " ";
$context["action_colspan"] = 6;
// line 215
echo " ";
}
// line 216
echo " ";
if ((($context["num_favorite_tables"] ?? null) > 0)) {
// line 217
echo " ";
$context["action_colspan"] = (($context["action_colspan"] ?? null) + 1);
// line 218
echo " ";
}
// line 219
echo "
";
// line 220
$context["colspan_for_structure"] = (($context["action_colspan"] ?? null) + 3);
// line 221
echo " <td colspan=\"";
echo (((($context["colspan_for_structure"] ?? null) - ($context["db_is_system_schema"] ?? null))) ? (6) : (9));
echo "\"
class=\"text-center\">
";
// line 223
echo _gettext("in use");
// line 224
echo " </td>
";
}
// line 226
echo "</tr>
";
}
public function getTemplateName()
{
return "database/structure/structure_table_row.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 543 => 226, 539 => 224, 537 => 223, 531 => 221, 529 => 220, 526 => 219, 523 => 218, 520 => 217, 517 => 216, 514 => 215, 511 => 214, 508 => 213, 505 => 212, 503 => 211, 500 => 210, 496 => 208, 492 => 206, 489 => 205, 485 => 203, 482 => 202, 478 => 200, 475 => 199, 471 => 197, 468 => 196, 464 => 194, 461 => 193, 456 => 190, 454 => 189, 450 => 187, 448 => 186, 444 => 184, 442 => 183, 439 => 182, 433 => 179, 430 => 178, 428 => 177, 425 => 176, 419 => 173, 416 => 172, 414 => 171, 411 => 170, 405 => 167, 402 => 166, 400 => 165, 397 => 164, 393 => 162, 387 => 160, 380 => 156, 375 => 155, 373 => 154, 370 => 153, 367 => 152, 365 => 151, 362 => 150, 359 => 149, 353 => 146, 350 => 145, 347 => 144, 345 => 143, 342 => 142, 336 => 139, 327 => 135, 323 => 134, 320 => 133, 318 => 132, 315 => 131, 312 => 130, 306 => 127, 303 => 126, 301 => 125, 298 => 124, 295 => 123, 292 => 122, 290 => 121, 285 => 120, 283 => 119, 280 => 118, 278 => 117, 271 => 114, 265 => 112, 258 => 108, 254 => 106, 252 => 105, 251 => 104, 249 => 102, 247 => 101, 243 => 100, 240 => 99, 237 => 96, 234 => 95, 232 => 94, 230 => 93, 229 => 92, 226 => 91, 219 => 87, 216 => 86, 214 => 85, 213 => 84, 212 => 81, 207 => 80, 204 => 78, 197 => 74, 194 => 73, 192 => 72, 191 => 71, 188 => 70, 185 => 69, 178 => 66, 176 => 65, 175 => 64, 174 => 63, 171 => 62, 169 => 61, 162 => 59, 159 => 58, 157 => 57, 150 => 53, 146 => 52, 139 => 48, 135 => 47, 128 => 43, 124 => 42, 120 => 40, 116 => 38, 114 => 36, 113 => 35, 112 => 34, 111 => 33, 109 => 32, 107 => 30, 106 => 29, 105 => 27, 103 => 26, 100 => 24, 97 => 23, 94 => 21, 88 => 18, 84 => 17, 81 => 16, 79 => 15, 74 => 13, 69 => 11, 63 => 10, 57 => 7, 53 => 6, 49 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/structure_table_row.twig", "/app/admin/templates/database/structure/structure_table_row.twig");
}
}

View File

@@ -0,0 +1,110 @@
<?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;
/* error/generic.twig */
class __TwigTemplate_28fabd923ca11ecf0c2a59dbbb64fd8be0e9feded883348a868c0050739a5b3d 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
echo "<!DOCTYPE HTML>
<html lang=\"";
// line 2
echo twig_escape_filter($this->env, ($context["lang"] ?? null), "html", null, true);
echo "\" dir=\"";
echo twig_escape_filter($this->env, ($context["dir"] ?? null), "html", null, true);
echo "\">
<head>
<link rel=\"icon\" href=\"favicon.ico\" type=\"image/x-icon\">
<link rel=\"shortcut icon\" href=\"favicon.ico\" type=\"image/x-icon\">
<title>phpMyAdmin</title>
<meta charset=\"utf-8\">
<style type=\"text/css\">
html {
padding: 0;
margin: 0;
}
body {
font-family: sans-serif;
font-size: small;
color: #000000;
background-color: #F5F5F5;
margin: 1em;
}
h1 {
margin: 0;
padding: 0.3em;
font-size: 1.4em;
font-weight: bold;
color: #ffffff;
background-color: #ff0000;
}
p {
margin: 0;
padding: 0.5em;
border: 0.1em solid red;
background-color: #ffeeee;
}
</style>
</head>
<body>
<h1>phpMyAdmin - ";
// line 37
echo _gettext("Error");
echo "</h1>
<p>";
// line 38
echo ($context["error_message"] ?? null);
echo "</p>
</body>
</html>
";
}
public function getTemplateName()
{
return "error/generic.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 84 => 38, 80 => 37, 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "error/generic.twig", "/app/admin/templates/error/generic.twig");
}
}

View File

@@ -0,0 +1,72 @@
<?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;
/* config/form_display/group_header.twig */
class __TwigTemplate_dae3ac95128a832d35f5ed4a8aa4f45a6f5e23ce99aea8b31da0b531e85543ab 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
echo "<tr class=\"group-header group-header-";
echo twig_escape_filter($this->env, ($context["group"] ?? null), "html", null, true);
echo "\">
<th colspan=\"";
// line 2
echo twig_escape_filter($this->env, ($context["colspan"] ?? null), "html", null, true);
echo "\">
";
// line 3
echo twig_escape_filter($this->env, ($context["header_text"] ?? null), "html", null, true);
echo "
</th>
</tr>
";
}
public function getTemplateName()
{
return "config/form_display/group_header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 46 => 3, 42 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "config/form_display/group_header.twig", "/app/admin/templates/config/form_display/group_header.twig");
}
}

View File

@@ -0,0 +1,264 @@
<?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/structure/table_header.twig */
class __TwigTemplate_bac4d6de86bc56167d440deb818244c94ed2696d8cbacbe91dc4bcaa6b45463b 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
echo "<form method=\"post\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/structure");
echo "\" name=\"tablesForm\" id=\"tablesForm\">
";
// line 2
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
echo "
<div class=\"table-responsive\">
<table class=\"table table-light table-striped table-hover table-sm w-auto data\">
<thead class=\"thead-light\">
<tr>
<th class=\"d-print-none\"></th>
<th>";
// line 8
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Table"), "table");
echo "</th>
";
// line 9
if (($context["replication"] ?? null)) {
// line 10
echo " <th>";
echo _gettext("Replication");
echo "</th>
";
}
// line 12
echo "
";
// line 13
if (($context["db_is_system_schema"] ?? null)) {
// line 14
echo " ";
$context["action_colspan"] = 3;
// line 15
echo " ";
} else {
// line 16
echo " ";
$context["action_colspan"] = 6;
// line 17
echo " ";
}
// line 18
echo " ";
if ((($context["num_favorite_tables"] ?? null) > 0)) {
// line 19
echo " ";
$context["action_colspan"] = (($context["action_colspan"] ?? null) + 1);
// line 20
echo " ";
}
// line 21
echo " <th colspan=\"";
echo twig_escape_filter($this->env, ($context["action_colspan"] ?? null), "html", null, true);
echo "\" class=\"d-print-none\">
";
// line 22
echo _gettext("Action");
// line 23
echo " </th>
";
// line 25
echo " <th>
";
// line 26
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Rows"), "records", "DESC");
echo "
";
// line 27
echo \PhpMyAdmin\Html\Generator::showHint(PhpMyAdmin\Sanitize::sanitizeMessage(_gettext("May be approximate. Click on the number to get the exact count. See [doc@faq3-11]FAQ 3.11[/doc].")));
echo "
</th>
";
// line 29
if ( !(($context["properties_num_columns"] ?? null) > 1)) {
// line 30
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Type"), "type");
echo "</th>
<th>";
// line 31
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Collation"), "collation");
echo "</th>
";
}
// line 33
echo "
";
// line 34
if (($context["is_show_stats"] ?? null)) {
// line 35
echo " ";
// line 36
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Size"), "size", "DESC");
echo "</th>
";
// line 38
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Overhead"), "overhead", "DESC");
echo "</th>
";
}
// line 40
echo "
";
// line 41
if (($context["show_charset"] ?? null)) {
// line 42
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Charset"), "charset");
echo "</th>
";
}
// line 44
echo "
";
// line 45
if (($context["show_comment"] ?? null)) {
// line 46
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Comment"), "comment");
echo "</th>
";
}
// line 48
echo "
";
// line 49
if (($context["show_creation"] ?? null)) {
// line 50
echo " ";
// line 51
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Creation"), "creation", "DESC");
echo "</th>
";
}
// line 53
echo "
";
// line 54
if (($context["show_last_update"] ?? null)) {
// line 55
echo " ";
// line 56
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Last update"), "last_update", "DESC");
echo "</th>
";
}
// line 58
echo "
";
// line 59
if (($context["show_last_check"] ?? null)) {
// line 60
echo " ";
// line 61
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Last check"), "last_check", "DESC");
echo "</th>
";
}
// line 63
echo " </tr>
</thead>
<tbody>
";
// line 66
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["structure_table_rows"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["structure_table_row"]) {
// line 67
echo " ";
$this->loadTemplate("database/structure/structure_table_row.twig", "database/structure/table_header.twig", 67)->display(twig_to_array($context["structure_table_row"]));
// line 68
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['structure_table_row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 69
echo " </tbody>
";
// line 70
if (($context["body_for_table_summary"] ?? null)) {
// line 71
echo " ";
$this->loadTemplate("database/structure/body_for_table_summary.twig", "database/structure/table_header.twig", 71)->display(twig_to_array(($context["body_for_table_summary"] ?? null)));
// line 72
echo " ";
}
// line 73
echo "</table>
</div>
";
// line 75
if (($context["check_all_tables"] ?? null)) {
// line 76
echo " ";
$this->loadTemplate("database/structure/check_all_tables.twig", "database/structure/table_header.twig", 76)->display(twig_to_array(($context["check_all_tables"] ?? null)));
}
// line 78
echo "</form>
";
}
public function getTemplateName()
{
return "database/structure/table_header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 241 => 78, 237 => 76, 235 => 75, 231 => 73, 228 => 72, 225 => 71, 223 => 70, 220 => 69, 214 => 68, 211 => 67, 207 => 66, 202 => 63, 196 => 61, 194 => 60, 192 => 59, 189 => 58, 183 => 56, 181 => 55, 179 => 54, 176 => 53, 170 => 51, 168 => 50, 166 => 49, 163 => 48, 157 => 46, 155 => 45, 152 => 44, 146 => 42, 144 => 41, 141 => 40, 135 => 38, 130 => 36, 128 => 35, 126 => 34, 123 => 33, 118 => 31, 113 => 30, 111 => 29, 106 => 27, 102 => 26, 99 => 25, 96 => 23, 94 => 22, 89 => 21, 86 => 20, 83 => 19, 80 => 18, 77 => 17, 74 => 16, 71 => 15, 68 => 14, 66 => 13, 63 => 12, 57 => 10, 55 => 9, 51 => 8, 42 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/table_header.twig", "/app/admin/templates/database/structure/table_header.twig");
}
}

View File

@@ -0,0 +1,107 @@
<?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;
/* table/page_with_secondary_tabs.twig */
class __TwigTemplate_0e917ad89b2ed8f67e49f0b855814a5f591a4ea9232a96a9d96add749135ccd5 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if (((($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = ($context["cfg_relation"] ?? null)) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4["relwork"] ?? null) : null) || ($context["is_foreign_key_supported"] ?? null))) {
// line 2
echo " <ul class=\"nav nav-pills m-2 d-print-none\">
<li class=\"nav-item\">
<a href=\"";
// line 4
echo PhpMyAdmin\Url::getFromRoute("/table/structure", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]);
echo "\" id=\"table_structure_id\" class=\"nav-link";
echo (((($context["route"] ?? null) == "/table/structure")) ? (" active") : (""));
echo "\">
";
// line 5
echo \PhpMyAdmin\Html\Generator::getIcon("b_props", _gettext("Table structure"), true);
echo "
</a>
</li>
<li class=\"nav-item\">
<a href=\"";
// line 10
echo PhpMyAdmin\Url::getFromRoute("/table/relation", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]);
echo "\" id=\"table_relation_id\" class=\"nav-link";
echo (((($context["route"] ?? null) == "/table/relation")) ? (" active") : (""));
echo "\">
";
// line 11
echo \PhpMyAdmin\Html\Generator::getIcon("b_relations", _gettext("Relation view"), true);
echo "
</a>
</li>
</ul>
";
}
// line 16
echo "
<div id=\"structure_content\">
";
// line 18
$this->displayBlock('content', $context, $blocks);
// line 19
echo "</div>
";
}
// line 18
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
}
public function getTemplateName()
{
return "table/page_with_secondary_tabs.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 83 => 18, 78 => 19, 76 => 18, 72 => 16, 64 => 11, 58 => 10, 50 => 5, 44 => 4, 40 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/page_with_secondary_tabs.twig", "/app/admin/templates/table/page_with_secondary_tabs.twig");
}
}

View File

@@ -0,0 +1,228 @@
<?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;
/* header.twig */
class __TwigTemplate_de2a9be4caabe920462afd7d0e33e4446ce1f89b534b7f52218fb3b7759f3043 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
echo "<!doctype html>
<html lang=\"";
// line 2
echo twig_escape_filter($this->env, ($context["lang"] ?? null), "html", null, true);
echo "\" dir=\"";
echo twig_escape_filter($this->env, ($context["text_dir"] ?? null), "html", null, true);
echo "\">
<head>
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
<meta name=\"referrer\" content=\"no-referrer\">
<meta name=\"robots\" content=\"noindex,nofollow\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=Edge\">
";
// line 9
if ( !($context["allow_third_party_framing"] ?? null)) {
// line 10
echo "<style id=\"cfs-style\">html{display: none;}</style>";
}
// line 12
echo "
<link rel=\"icon\" href=\"favicon.ico\" type=\"image/x-icon\">
<link rel=\"shortcut icon\" href=\"favicon.ico\" type=\"image/x-icon\">
";
// line 15
if (($context["is_print_view"] ?? null)) {
// line 16
echo " <link rel=\"stylesheet\" type=\"text/css\" href=\"";
echo twig_escape_filter($this->env, ($context["base_dir"] ?? null), "html", null, true);
echo "print.css?";
echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true);
echo "\">
";
} else {
// line 18
echo " <link rel=\"stylesheet\" type=\"text/css\" href=\"";
echo twig_escape_filter($this->env, ($context["theme_path"] ?? null), "html", null, true);
echo "/jquery/jquery-ui.css\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 19
echo twig_escape_filter($this->env, ($context["base_dir"] ?? null), "html", null, true);
echo "js/vendor/codemirror/lib/codemirror.css?";
echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true);
echo "\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 20
echo twig_escape_filter($this->env, ($context["base_dir"] ?? null), "html", null, true);
echo "js/vendor/codemirror/addon/hint/show-hint.css?";
echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true);
echo "\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 21
echo twig_escape_filter($this->env, ($context["base_dir"] ?? null), "html", null, true);
echo "js/vendor/codemirror/addon/lint/lint.css?";
echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true);
echo "\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 22
echo twig_escape_filter($this->env, ($context["theme_path"] ?? null), "html", null, true);
echo "/css/theme";
echo (((($context["text_dir"] ?? null) == "rtl")) ? ("-rtl") : (""));
echo ".css?";
echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true);
echo "&nocache=";
// line 23
echo twig_escape_filter($this->env, ($context["unique_value"] ?? null), "html", null, true);
echo twig_escape_filter($this->env, ($context["text_dir"] ?? null), "html", null, true);
if ( !twig_test_empty(($context["server"] ?? null))) {
echo "&server=";
echo twig_escape_filter($this->env, ($context["server"] ?? null), "html", null, true);
}
echo "\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 24
echo twig_escape_filter($this->env, ($context["theme_path"] ?? null), "html", null, true);
echo "/css/printview.css?";
echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true);
echo "\" media=\"print\" id=\"printcss\">
";
}
// line 26
echo " <title>";
echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true);
echo "</title>
";
// line 27
echo ($context["scripts"] ?? null);
echo "
<noscript><style>html{display:block}</style></noscript>
</head>
<body";
// line 30
(( !twig_test_empty(($context["body_id"] ?? null))) ? (print (twig_escape_filter($this->env, (" id=" . ($context["body_id"] ?? null)), "html", null, true))) : (print ("")));
echo ">
";
// line 31
echo ($context["navigation"] ?? null);
echo "
";
// line 32
echo ($context["custom_header"] ?? null);
echo "
";
// line 33
echo ($context["load_user_preferences"] ?? null);
echo "
";
// line 35
if ( !($context["show_hint"] ?? null)) {
// line 36
echo " <span id=\"no_hint\" class=\"hide\"></span>
";
}
// line 38
echo "
";
// line 39
if (($context["is_warnings_enabled"] ?? null)) {
// line 40
echo " <noscript>
";
// line 41
echo call_user_func_array($this->env->getFilter('error')->getCallable(), [_gettext("Javascript must be enabled past this point!")]);
echo "
</noscript>
";
}
// line 44
echo "
";
// line 45
if ((($context["is_menu_enabled"] ?? null) && (($context["server"] ?? null) > 0))) {
// line 46
echo " ";
echo ($context["menu"] ?? null);
echo "
<span id=\"page_nav_icons\">
<span id=\"lock_page_icon\"></span>
<span id=\"page_settings_icon\">
";
// line 50
echo \PhpMyAdmin\Html\Generator::getImage("s_cog", _gettext("Page-related settings"));
echo "
</span>
<a id=\"goto_pagetop\" href=\"#\">";
// line 52
echo \PhpMyAdmin\Html\Generator::getImage("s_top", _gettext("Click on the bar to scroll to top of page"));
echo "</a>
</span>
";
}
// line 55
echo "
";
// line 56
echo ($context["console"] ?? null);
echo "
<div id=\"page_content\">
";
// line 59
echo ($context["messages"] ?? null);
echo "
";
// line 61
echo ($context["recent_table"] ?? null);
echo "
";
}
public function getTemplateName()
{
return "header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 204 => 61, 199 => 59, 193 => 56, 190 => 55, 184 => 52, 179 => 50, 171 => 46, 169 => 45, 166 => 44, 160 => 41, 157 => 40, 155 => 39, 152 => 38, 148 => 36, 146 => 35, 141 => 33, 137 => 32, 133 => 31, 129 => 30, 123 => 27, 118 => 26, 111 => 24, 102 => 23, 95 => 22, 89 => 21, 83 => 20, 77 => 19, 72 => 18, 64 => 16, 62 => 15, 57 => 12, 54 => 10, 52 => 9, 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "header.twig", "/app/admin/templates/header.twig");
}
}

View File

@@ -0,0 +1,67 @@
<?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;
/* message.twig */
class __TwigTemplate_1ab009198c4a7481b373f20e0d30d8a136fb0470969051a52a4570e9610c5079 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
echo "<div class=\"alert alert-";
echo twig_escape_filter($this->env, ($context["context"] ?? null), "html", null, true);
echo "\" role=\"alert\">
";
// line 2
echo ($context["message"] ?? null);
echo "
</div>
";
}
public function getTemplateName()
{
return "message.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 42 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "message.twig", "/app/admin/templates/message.twig");
}
}

View File

@@ -0,0 +1,102 @@
<?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/create_table.twig */
class __TwigTemplate_b9bcad634eff84c7f1595718052cb273e708e88bfa9e9bb72dc3061aac1c4f43 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
echo "<form id=\"create_table_form_minimal\" method=\"post\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/create");
echo "\" class=\"lock-page\">
<fieldset>
<legend>
";
// line 4
if (PhpMyAdmin\Util::showIcons("ActionLinksMode")) {
// line 5
echo \PhpMyAdmin\Html\Generator::getImage("b_table_add");
}
// line 7
echo " ";
echo _gettext("Create table");
// line 8
echo " </legend>
";
// line 9
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
echo "
<div class=\"formelement\">
";
// line 11
echo _gettext("Name");
echo ":
<input type=\"text\" name=\"table\" maxlength=\"64\" size=\"30\" required=\"required\">
</div>
<div class=\"formelement\">
";
// line 15
echo _gettext("Number of columns");
echo ":
<input type=\"number\" min=\"1\" name=\"num_fields\" value=\"4\" required=\"required\">
</div>
<div class=\"clearfloat\"></div>
</fieldset>
<fieldset class=\"tblFooters\">
<input class=\"btn btn-primary\" type=\"submit\" value=\"";
// line 21
echo _gettext("Go");
echo "\">
</fieldset>
</form>
";
}
public function getTemplateName()
{
return "database/create_table.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 76 => 21, 67 => 15, 60 => 11, 55 => 9, 52 => 8, 49 => 7, 46 => 5, 44 => 4, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/create_table.twig", "/app/admin/templates/database/create_table.twig");
}
}

View File

@@ -0,0 +1,99 @@
<?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/triggers/footer.twig */
class __TwigTemplate_c5d1702463912cb0b1e587031ebb483e9b89962b9ef40bcb8bc8d1f339b2c173 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
echo "<fieldset class=\"left\">
<legend>";
// line 2
echo _pgettext( "Create new trigger", "New");
echo "</legend>
<div class='wrap'>
";
// line 4
if (($context["has_privilege"] ?? null)) {
// line 5
echo " <a class=\"ajax add_anchor\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/triggers", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "add_item" => true]);
echo "\">
";
// line 6
echo \PhpMyAdmin\Html\Generator::getIcon("b_trigger_add");
echo "
";
// line 7
echo _gettext("Add trigger");
// line 8
echo " </a>
";
} else {
// line 10
echo " ";
echo \PhpMyAdmin\Html\Generator::getIcon("bd_trigger_add");
echo "
";
// line 11
echo _gettext("Add trigger");
// line 12
echo " ";
}
// line 13
echo " ";
echo \PhpMyAdmin\Html\MySQLDocumentation::show("CREATE_TRIGGER");
echo "
</div>
</fieldset>
";
}
public function getTemplateName()
{
return "database/triggers/footer.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 72 => 13, 69 => 12, 67 => 11, 62 => 10, 58 => 8, 56 => 7, 52 => 6, 47 => 5, 45 => 4, 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/triggers/footer.twig", "/app/admin/templates/database/triggers/footer.twig");
}
}

View File

@@ -0,0 +1,109 @@
<?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;
/* footer.twig */
class __TwigTemplate_63b890d6af6a6cace7ee82545e7fad36bb29f9f5374c65560227eab463a02942 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["is_ajax"] ?? null)) {
// line 2
echo " </div>
";
}
// line 4
if (( !($context["is_ajax"] ?? null) && !($context["is_minimal"] ?? null))) {
// line 5
echo " ";
echo ($context["self_link"] ?? null);
echo "
<div class=\"clearfloat\" id=\"pma_errors\">
";
// line 8
echo ($context["error_messages"] ?? null);
echo "
</div>
";
// line 11
echo ($context["scripts"] ?? null);
echo "
";
// line 13
if (($context["is_demo"] ?? null)) {
// line 14
echo " <div id=\"pma_demo\">
";
// line 15
echo ($context["demo_message"] ?? null);
echo "
</div>
";
}
// line 18
echo "
";
// line 19
echo ($context["footer"] ?? null);
echo "
";
}
// line 21
if ( !($context["is_ajax"] ?? null)) {
// line 22
echo " </body>
</html>
";
}
}
public function getTemplateName()
{
return "footer.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 84 => 22, 82 => 21, 77 => 19, 74 => 18, 68 => 15, 65 => 14, 63 => 13, 58 => 11, 52 => 8, 45 => 5, 43 => 4, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "footer.twig", "/app/admin/templates/footer.twig");
}
}

View File

@@ -0,0 +1,74 @@
<?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;
/* javascript/display.twig */
class __TwigTemplate_8cba84e189922159ac32568096f47993c45bfac80f040f7298f10a660b25a4f9 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
echo "<script type=\"text/javascript\">
if (typeof configInlineParams === 'undefined' || !Array.isArray(configInlineParams)) {
configInlineParams = [];
}
configInlineParams.push(function () {
";
// line 6
echo twig_join_filter(($context["js_array"] ?? null), ";
");
echo ";
});
if (typeof configScriptLoaded !== 'undefined' && configInlineParams) {
loadInlineConfig();
}
</script>
";
}
public function getTemplateName()
{
return "javascript/display.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 44 => 6, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "javascript/display.twig", "/app/admin/templates/javascript/display.twig");
}
}

View File

@@ -0,0 +1,133 @@
<?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;
/* scripts.twig */
class __TwigTemplate_8be3bd41ed1d96544048a7a0a79dcbd1a525db56ab3a99970d90cae9e1cf212e 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
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["files"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
// line 2
echo " <script data-cfasync=\"false\" type=\"text/javascript\" src=\"";
echo twig_escape_filter($this->env, ($context["base_dir"] ?? null), "html", null, true);
echo "js/";
// line 3
echo twig_escape_filter($this->env, ((((is_string($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)) && is_string($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = "vendor/") && ('' === $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 || 0 === strpos($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4, $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144))) || (is_string($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)) && is_string($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = "messages.php") && ('' === $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 || 0 === strpos($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b, $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002))))) ? (twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)) : (("dist/" . twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)))), "html", null, true);
// line 4
((twig_in_filter(".php", twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 4))) ? (print (PhpMyAdmin\Url::getCommon(twig_array_merge(twig_get_attribute($this->env, $this->source, $context["file"], "params", [], "any", false, false, false, 4), ["v" => ($context["version"] ?? null)])))) : (print (twig_escape_filter($this->env, ("?v=" . twig_urlencode_filter(($context["version"] ?? null))), "html", null, true))));
echo "\"></script>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 6
echo "
<script data-cfasync=\"false\" type=\"text/javascript\">
// <![CDATA[
";
// line 9
echo ($context["code"] ?? null);
echo "
";
// line 10
if ( !twig_test_empty(($context["files"] ?? null))) {
// line 11
echo "AJAX.scriptHandler
";
// line 12
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["files"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
// line 13
echo " .add('";
echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 13));
echo "', ";
echo ((twig_get_attribute($this->env, $this->source, $context["file"], "has_onload", [], "any", false, false, false, 13)) ? (1) : (0));
echo ")
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 15
echo ";
\$(function() {
";
// line 17
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["files"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
// line 18
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["file"], "has_onload", [], "any", false, false, false, 18)) {
// line 19
echo " AJAX.fireOnload('";
echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 19));
echo "');
";
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 22
echo "});
";
}
// line 24
echo "// ]]>
</script>
";
}
public function getTemplateName()
{
return "scripts.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 109 => 24, 105 => 22, 95 => 19, 92 => 18, 88 => 17, 84 => 15, 73 => 13, 69 => 12, 66 => 11, 64 => 10, 60 => 9, 55 => 6, 47 => 4, 45 => 3, 41 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "scripts.twig", "/app/admin/templates/scripts.twig");
}
}

View File

@@ -0,0 +1,706 @@
<?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;
/* display/results/table.twig */
class __TwigTemplate_37b4c2928dc5581cde839605139b97af1af376e413e5c7858ef5711ea0eab6c2 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
ob_start(function () { return ''; });
// line 2
echo " ";
if ( !twig_test_empty(($context["navigation"] ?? null))) {
// line 3
echo " <table class=\"pma-table navigation nospacing nopadding print_ignore\">
<tr>
<td class=\"navigation_separator\"></td>
";
// line 7
echo twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "move_backward_buttons", [], "any", false, false, false, 7);
echo "
";
// line 8
echo twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "page_selector", [], "any", false, false, false, 8);
echo "
";
// line 9
echo twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "move_forward_buttons", [], "any", false, false, false, 9);
echo "
";
// line 11
if ((twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "number_total_page", [], "any", false, false, false, 11) > 1)) {
// line 12
echo " <td><div class=\"navigation_separator\">|</div></td>
";
}
// line 14
echo "
";
// line 15
if (twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "has_show_all", [], "any", false, false, false, 15)) {
// line 16
echo " <td>
<form action=\"";
// line 17
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" method=\"post\">
";
// line 18
echo PhpMyAdmin\Url::getHiddenFields(twig_array_merge(twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "hidden_fields", [], "any", false, false, false, 18), ["session_max_rows" => twig_get_attribute($this->env, $this->source, // line 19
($context["navigation"] ?? null), "session_max_rows", [], "any", false, false, false, 19), "pos" => "0"]));
// line 21
echo "
<input type=\"checkbox\" name=\"navig\" id=\"showAll_";
// line 22
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\" class=\"showAllRows\" value=\"all\"";
// line 23
echo ((twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "is_showing_all", [], "any", false, false, false, 23)) ? (" checked") : (""));
echo ">
<label for=\"showAll_";
// line 24
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Show all");
echo "</label>
</form>
</td>
<td><div class=\"navigation_separator\">|</div></td>
";
}
// line 29
echo "
<td>
<div class=\"save_edited hide\">
<input class=\"btn btn-link\" type=\"submit\" value=\"";
// line 32
echo _gettext("Save edited data");
echo "\">
<div class=\"navigation_separator\">|</div>
</div>
</td>
<td>
<div class=\"restore_column hide\">
<input class=\"btn btn-link\" type=\"submit\" value=\"";
// line 38
echo _gettext("Restore column order");
echo "\">
<div class=\"navigation_separator\">|</div>
</div>
</td>
<td class=\"navigation_goto\">
<form action=\"";
// line 43
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" method=\"post\" id=\"maxRowsForm\">
";
// line 44
echo PhpMyAdmin\Url::getHiddenFields(twig_array_merge(twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "hidden_fields", [], "any", false, false, false, 44), ["pos" => twig_get_attribute($this->env, $this->source, // line 45
($context["navigation"] ?? null), "pos", [], "any", false, false, false, 45), "unlim_num_rows" => // line 46
($context["unlim_num_rows"] ?? null)]));
// line 47
echo "
<label for=\"sessionMaxRowsSelect\">";
// line 49
echo _gettext("Number of rows:");
echo "</label>
<select class=\"autosubmit\" name=\"session_max_rows\" id=\"sessionMaxRowsSelect\">
";
// line 51
if (twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "is_showing_all", [], "any", false, false, false, 51)) {
// line 52
echo " <option value=\"\" disabled selected>";
echo _gettext("All");
echo "</option>
";
}
// line 54
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable([0 => "25", 1 => "50", 2 => "100", 3 => "250", 4 => "500"]);
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 55
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "\"";
echo (((twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "max_rows", [], "any", false, false, false, 55) == $context["option"])) ? (" selected") : (""));
echo ">";
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 57
echo " </select>
</form>
</td>
<td class=\"navigation_separator\"></td>
<td class=\"largescreenonly\">
<span>";
// line 62
echo _gettext("Filter rows");
echo ":</span>
<input type=\"text\" class=\"filter_rows\" placeholder=\"";
// line 64
echo _gettext("Search this table");
echo "\" data-for=\"";
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">
</td>
<td class=\"largescreenonly\">
";
// line 67
echo twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "sort_by_key", [], "any", false, false, false, 67);
echo "
</td>
<td class=\"navigation_separator\"></td>
</tr>
</table>
";
}
$context["navigation_html"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 74
echo "
";
// line 75
echo ($context["sql_query_message"] ?? null);
echo "
";
// line 77
echo twig_escape_filter($this->env, ($context["navigation_html"] ?? null), "html", null, true);
echo "
<input class=\"save_cells_at_once\" type=\"hidden\" value=\"";
// line 79
echo twig_escape_filter($this->env, ($context["save_cells_at_once"] ?? null), "html", null, true);
echo "\">
<div class=\"common_hidden_inputs\">
";
// line 81
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
echo "
</div>
";
// line 84
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 84))) {
// line 85
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 85), "order", [], "any", false, false, false, 85)) {
// line 86
echo " <input class=\"col_order\" type=\"hidden\" value=\"";
echo twig_escape_filter($this->env, twig_join_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 86), "order", [], "any", false, false, false, 86), ","), "html", null, true);
echo "\">
";
}
// line 88
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 88), "visibility", [], "any", false, false, false, 88)) {
// line 89
echo " <input class=\"col_visib\" type=\"hidden\" value=\"";
echo twig_escape_filter($this->env, twig_join_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 89), "visibility", [], "any", false, false, false, 89), ","), "html", null, true);
echo "\">
";
}
// line 91
echo " ";
if ( !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 91), "is_view", [], "any", false, false, false, 91)) {
// line 92
echo " <input class=\"table_create_time\" type=\"hidden\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 92), "table_create_time", [], "any", false, false, false, 92), "html", null, true);
echo "\">
";
}
}
// line 95
echo "
";
// line 96
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 96))) {
// line 97
echo " <form method=\"post\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" name=\"displayOptionsForm\" class=\"ajax print_ignore\">
";
// line 98
echo PhpMyAdmin\Url::getHiddenInputs(["db" => // line 99
($context["db"] ?? null), "table" => // line 100
($context["table"] ?? null), "sql_query" => // line 101
($context["sql_query"] ?? null), "goto" => // line 102
($context["goto"] ?? null), "display_options_form" => 1]);
// line 104
echo "
<div";
// line 106
if ((($context["default_sliders_state"] ?? null) != "disabled")) {
// line 107
echo (((($context["default_sliders_state"] ?? null) == "closed")) ? (" style=\"display: none; overflow:auto;\"") : (""));
echo " class=\"pma_auto_slider\" title=\"";
echo _gettext("Options");
echo "\"";
}
// line 108
echo ">
<fieldset>
<div class=\"formelement\">
<div>
<input type=\"radio\" name=\"pftext\" id=\"partialFulltextRadioP";
// line 113
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\" value=\"P\"";
echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 113), "pftext", [], "any", false, false, false, 113) == "P")) ? (" checked") : (""));
echo ">
<label for=\"partialFulltextRadioP";
// line 114
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Partial texts");
echo "</label>
</div>
<div>
<input type=\"radio\" name=\"pftext\" id=\"partialFulltextRadioF";
// line 117
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\" value=\"F\"";
echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 117), "pftext", [], "any", false, false, false, 117) == "F")) ? (" checked") : (""));
echo ">
<label for=\"partialFulltextRadioF";
// line 118
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Full texts");
echo "</label>
</div>
</div>
";
// line 122
if ((($context["relwork"] ?? null) && ($context["displaywork"] ?? null))) {
// line 123
echo " <div class=\"formelement\">
<div>
<input type=\"radio\" name=\"relational_display\" id=\"relationalDisplayRadioK";
// line 125
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\" value=\"K\"";
echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 125), "relational_display", [], "any", false, false, false, 125) == "K")) ? (" checked") : (""));
echo ">
<label for=\"relationalDisplayRadioK";
// line 126
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Relational key");
echo "</label>
</div>
<div>
<input type=\"radio\" name=\"relational_display\" id=\"relationalDisplayRadioD";
// line 129
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\" value=\"D\"";
echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 129), "relational_display", [], "any", false, false, false, 129) == "D")) ? (" checked") : (""));
echo ">
<label for=\"relationalDisplayRadioD";
// line 130
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Display column for relationships");
echo "</label>
</div>
</div>
";
}
// line 134
echo "
<div class=\"formelement\">
<input type=\"checkbox\" name=\"display_binary\" id=\"display_binary_";
// line 136
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\"";
// line 137
echo (( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 137), "display_binary", [], "any", false, false, false, 137))) ? (" checked") : (""));
echo ">
<label for=\"display_binary_";
// line 138
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Show binary contents");
echo "</label>
<input type=\"checkbox\" name=\"display_blob\" id=\"display_blob_";
// line 140
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\"";
// line 141
echo (( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 141), "display_blob", [], "any", false, false, false, 141))) ? (" checked") : (""));
echo ">
<label for=\"display_blob_";
// line 142
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Show BLOB contents");
echo "</label>
</div>
";
// line 149
echo " <div class=\"formelement\">
<input type=\"checkbox\" name=\"hide_transformation\" id=\"hide_transformation_";
// line 150
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\"";
// line 151
echo (( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 151), "hide_transformation", [], "any", false, false, false, 151))) ? (" checked") : (""));
echo ">
<label for=\"hide_transformation_";
// line 152
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Hide browser transformation");
echo "</label>
</div>
<div class=\"formelement\">
";
// line 156
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 156), "possible_as_geometry", [], "any", false, false, false, 156)) {
// line 157
echo " <div>
<input type=\"radio\" name=\"geoOption\" id=\"geoOptionRadioGeom";
// line 158
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\" value=\"GEOM\"";
echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 158), "geo_option", [], "any", false, false, false, 158) == "GEOM")) ? (" checked") : (""));
echo ">
<label for=\"geoOptionRadioGeom";
// line 159
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Geometry");
echo "</label>
</div>
";
}
// line 162
echo " <div>
<input type=\"radio\" name=\"geoOption\" id=\"geoOptionRadioWkt";
// line 163
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\" value=\"WKT\"";
echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 163), "geo_option", [], "any", false, false, false, 163) == "WKT")) ? (" checked") : (""));
echo ">
<label for=\"geoOptionRadioWkt";
// line 164
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Well Known Text");
echo "</label>
</div>
<div>
<input type=\"radio\" name=\"geoOption\" id=\"geoOptionRadioWkb";
// line 167
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\" value=\"WKB\"";
echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 167), "geo_option", [], "any", false, false, false, 167) == "WKB")) ? (" checked") : (""));
echo ">
<label for=\"geoOptionRadioWkb";
// line 168
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Well Known Binary");
echo "</label>
</div>
</div>
<div class=\"clearfloat\"></div>
</fieldset>
<fieldset class=\"tblFooters\">
<input class=\"btn btn-primary\" type=\"submit\" value=\"";
// line 175
echo _gettext("Go");
echo "\">
</fieldset>
</div>
</form>
";
}
// line 180
echo "
";
// line 181
if (twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "has_bulk_actions_form", [], "any", false, false, false, 181)) {
// line 182
echo " <form method=\"post\" name=\"resultsForm\" id=\"resultsForm_";
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\" class=\"ajax\">
";
// line 183
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null), 1);
echo "
<input type=\"hidden\" name=\"goto\" value=\"";
// line 184
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\">
";
}
// line 186
echo "
<div class=\"table-responsive-md\">
<table class=\"table table-light table-striped table-hover table-sm table_results data ajax w-auto\" data-uniqueId=\"";
// line 188
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">
";
// line 190
echo twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "button", [], "any", false, false, false, 190);
echo "
";
// line 191
echo twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "table_headers_for_columns", [], "any", false, false, false, 191);
echo "
";
// line 192
echo twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_at_right_side", [], "any", false, false, false, 192);
echo "
</tr>
</thead>
<tbody>
";
// line 198
echo ($context["body"] ?? null);
echo "
</tbody>
</table>
</div>
";
// line 203
if ( !twig_test_empty(($context["bulk_links"] ?? null))) {
// line 204
echo " <div class=\"print_ignore\">
<img class=\"selectallarrow\" src=\"";
// line 205
echo twig_escape_filter($this->env, ($context["select_all_arrow"] ?? null), "html", null, true);
echo "\" width=\"38\" height=\"22\" alt=\"";
echo _gettext("With selected:");
echo "\">
<input type=\"checkbox\" id=\"resultsForm_";
// line 206
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "_checkall\" class=\"checkall_box\" title=\"";
echo _gettext("Check all");
echo "\">
<label for=\"resultsForm_";
// line 207
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "_checkall\">";
echo _gettext("Check all");
echo "</label>
<em class=\"with-selected\">";
// line 208
echo _gettext("With selected:");
echo "</em>
<button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"edit\" title=\"";
// line 210
echo _gettext("Edit");
echo "\">
";
// line 211
echo \PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit"));
echo "
</button>
<button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"copy\" title=\"";
// line 214
echo _gettext("Copy");
echo "\">
";
// line 215
echo \PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Copy"));
echo "
</button>
<button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"delete\" title=\"";
// line 218
echo _gettext("Delete");
echo "\">
";
// line 219
echo \PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Delete"));
echo "
</button>
";
// line 222
if (twig_get_attribute($this->env, $this->source, ($context["bulk_links"] ?? null), "has_export_button", [], "any", false, false, false, 222)) {
// line 223
echo " <button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"export\" title=\"";
echo _gettext("Export");
echo "\">
";
// line 224
echo \PhpMyAdmin\Html\Generator::getIcon("b_tblexport", _gettext("Export"));
echo "
</button>
";
}
// line 227
echo " </div>
<input type=\"hidden\" name=\"clause_is_unique\" value=\"";
// line 229
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["bulk_links"] ?? null), "clause_is_unique", [], "any", false, false, false, 229), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"sql_query\" value=\"";
// line 230
echo twig_escape_filter($this->env, ($context["sql_query"] ?? null), "html", null, true);
echo "\">
</form>
";
}
// line 233
echo "
";
// line 234
echo twig_escape_filter($this->env, ($context["navigation_html"] ?? null), "html", null, true);
echo "
";
// line 236
if ( !twig_test_empty(($context["operations"] ?? null))) {
// line 237
echo " <fieldset class=\"print_ignore\">
<legend>";
// line 238
echo _gettext("Query results operations");
echo "</legend>
";
// line 240
if (twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_print_link", [], "any", false, false, false, 240)) {
// line 241
echo " ";
echo PhpMyAdmin\Html\Generator::linkOrButton("#", \PhpMyAdmin\Html\Generator::getIcon("b_print", _gettext("Print"), true), ["id" => "printView", "class" => "btn"], "print_view");
// line 246
echo "
";
// line 248
echo PhpMyAdmin\Html\Generator::linkOrButton("#", \PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Copy to clipboard"), true), ["id" => "copyToClipBoard", "class" => "btn"]);
// line 252
echo "
";
}
// line 254
echo "
";
// line 255
if ( !twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_procedure", [], "any", false, false, false, 255)) {
// line 256
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_export_link", [], "any", false, false, false, 256)) {
// line 257
echo " ";
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/table/export", twig_get_attribute($this->env, $this->source, // line 258
($context["operations"] ?? null), "url_params", [], "any", false, false, false, 258)), \PhpMyAdmin\Html\Generator::getIcon("b_tblexport", _gettext("Export"), true), ["class" => "btn"]);
// line 261
echo "
";
// line 263
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/table/chart", twig_get_attribute($this->env, $this->source, // line 264
($context["operations"] ?? null), "url_params", [], "any", false, false, false, 264)), \PhpMyAdmin\Html\Generator::getIcon("b_chart", _gettext("Display chart"), true), ["class" => "btn"]);
// line 267
echo "
";
// line 269
if (twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_geometry", [], "any", false, false, false, 269)) {
// line 270
echo " ";
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/table/gis-visualization", twig_get_attribute($this->env, $this->source, // line 271
($context["operations"] ?? null), "url_params", [], "any", false, false, false, 271)), \PhpMyAdmin\Html\Generator::getIcon("b_globe", _gettext("Visualize GIS data"), true), ["class" => "btn"]);
// line 274
echo "
";
}
// line 276
echo " ";
}
// line 277
echo "
<span>
";
// line 279
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/view/create", ["db" => // line 280
($context["db"] ?? null), "table" => ($context["table"] ?? null), "sql_query" => ($context["sql_query"] ?? null), "printview" => true]), \PhpMyAdmin\Html\Generator::getIcon("b_view_add", _gettext("Create view"), true), ["class" => "btn create_view ajax"]);
// line 283
echo "
</span>
";
}
// line 286
echo " </fieldset>
";
}
}
public function getTemplateName()
{
return "display/results/table.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 682 => 286, 677 => 283, 675 => 280, 674 => 279, 670 => 277, 667 => 276, 663 => 274, 661 => 271, 659 => 270, 657 => 269, 653 => 267, 651 => 264, 650 => 263, 646 => 261, 644 => 258, 642 => 257, 639 => 256, 637 => 255, 634 => 254, 630 => 252, 628 => 248, 624 => 246, 621 => 241, 619 => 240, 614 => 238, 611 => 237, 609 => 236, 604 => 234, 601 => 233, 595 => 230, 591 => 229, 587 => 227, 581 => 224, 576 => 223, 574 => 222, 568 => 219, 564 => 218, 558 => 215, 554 => 214, 548 => 211, 544 => 210, 539 => 208, 533 => 207, 527 => 206, 521 => 205, 518 => 204, 516 => 203, 508 => 198, 499 => 192, 495 => 191, 491 => 190, 486 => 188, 482 => 186, 477 => 184, 473 => 183, 468 => 182, 466 => 181, 463 => 180, 455 => 175, 443 => 168, 437 => 167, 429 => 164, 423 => 163, 420 => 162, 412 => 159, 406 => 158, 403 => 157, 401 => 156, 392 => 152, 388 => 151, 385 => 150, 382 => 149, 374 => 142, 370 => 141, 367 => 140, 360 => 138, 356 => 137, 353 => 136, 349 => 134, 340 => 130, 334 => 129, 326 => 126, 320 => 125, 316 => 123, 314 => 122, 305 => 118, 299 => 117, 291 => 114, 285 => 113, 278 => 108, 272 => 107, 270 => 106, 266 => 104, 264 => 102, 263 => 101, 262 => 100, 261 => 99, 260 => 98, 255 => 97, 253 => 96, 250 => 95, 243 => 92, 240 => 91, 234 => 89, 231 => 88, 225 => 86, 222 => 85, 220 => 84, 214 => 81, 209 => 79, 204 => 77, 199 => 75, 196 => 74, 186 => 67, 178 => 64, 174 => 62, 167 => 57, 154 => 55, 149 => 54, 143 => 52, 141 => 51, 136 => 49, 132 => 47, 130 => 46, 129 => 45, 128 => 44, 124 => 43, 116 => 38, 107 => 32, 102 => 29, 92 => 24, 88 => 23, 85 => 22, 82 => 21, 80 => 19, 79 => 18, 75 => 17, 72 => 16, 70 => 15, 67 => 14, 63 => 12, 61 => 11, 56 => 9, 52 => 8, 48 => 7, 42 => 3, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "display/results/table.twig", "/app/admin/templates/display/results/table.twig");
}
}

View File

@@ -0,0 +1,80 @@
<?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;
/* filter.twig */
class __TwigTemplate_28dd6a0360ae2200d57b48f612461364f69c512f067b9c4dc8c4c14d483c7d5c 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
echo "<div class=\"row\">
\t<div class=\"col-12\">
\t\t<fieldset id=\"tableFilter\">
\t\t <legend>";
// line 4
echo _gettext("Filters");
echo "</legend>
\t\t <div class=\"formelement\">
\t\t <label for=\"filterText\">";
// line 6
echo _gettext("Containing the word:");
echo "</label>
\t\t <input name=\"filterText\" type=\"text\" id=\"filterText\"
\t\t value=\"";
// line 8
echo twig_escape_filter($this->env, ($context["filter_value"] ?? null), "html", null, true);
echo "\">
\t\t </div>
\t\t</fieldset>
\t</div>
</div>
";
}
public function getTemplateName()
{
return "filter.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 52 => 8, 47 => 6, 42 => 4, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "filter.twig", "/app/admin/templates/filter.twig");
}
}

View File

@@ -0,0 +1,98 @@
<?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;
/* sql/no_results_returned.twig */
class __TwigTemplate_46032afc8a999a5a9a6af09936b48bb63f0c65655b35707c3ba05a67f000dd75 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
echo ($context["message"] ?? null);
echo "
";
// line 3
echo ($context["sql_query_results_table"] ?? null);
echo "
";
// line 5
echo ($context["profiling_chart"] ?? null);
echo "
";
// line 7
if ( !($context["is_procedure"] ?? null)) {
// line 8
echo " <fieldset class=\"print_ignore\">
<legend>";
// line 9
echo _gettext("Query results operations");
echo "</legend>
<span>
";
// line 11
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/view/create", ["db" => // line 12
($context["db"] ?? null), "table" => ($context["table"] ?? null), "printview" => "1", "sql_query" => ($context["sql_query"] ?? null)]), \PhpMyAdmin\Html\Generator::getIcon("b_view_add", _gettext("Create view"), true), ["class" => "create_view ajax btn"]);
// line 15
echo "
</span>
</fieldset>
";
}
// line 19
echo "
";
// line 20
echo ($context["bookmark"] ?? null);
echo "
";
}
public function getTemplateName()
{
return "sql/no_results_returned.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 74 => 20, 71 => 19, 65 => 15, 63 => 12, 62 => 11, 57 => 9, 54 => 8, 52 => 7, 47 => 5, 42 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "sql/no_results_returned.twig", "/app/admin/templates/sql/no_results_returned.twig");
}
}

View File

@@ -0,0 +1,534 @@
<?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;
/* import.twig */
class __TwigTemplate_e5d9d396f96b93d4414923a80a870b9690d0f44c9880aae77484c6ba26b9e960 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo ($context["page_settings_error_html"] ?? null);
echo "
";
// line 2
echo ($context["page_settings_html"] ?? null);
echo "
<iframe id=\"import_upload_iframe\" name=\"import_upload_iframe\" width=\"1\" height=\"1\" class=\"hide\"></iframe>
<div id=\"import_form_status\" class=\"hide\"></div>
<div id=\"importmain\" class=\"container-fluid\">
<img src=\"";
// line 7
echo twig_escape_filter($this->env, ($context["theme_image_path"] ?? null), "html", null, true);
echo "ajax_clock_small.gif\" width=\"16\" height=\"16\" alt=\"ajax clock\" class=\"hide\">
<script type=\"text/javascript\">
//<![CDATA[
";
// line 11
$this->loadTemplate("import/javascript.twig", "import.twig", 11)->display(twig_to_array(["upload_id" => // line 12
($context["upload_id"] ?? null), "handler" => // line 13
($context["handler"] ?? null), "theme_image_path" => // line 14
($context["theme_image_path"] ?? null)]));
// line 16
echo " //]]>
</script>
<form id=\"import_file_form\"
action=\"";
// line 20
echo PhpMyAdmin\Url::getFromRoute("/import");
echo "\"
method=\"post\"
enctype=\"multipart/form-data\"
name=\"import\"
class=\"ajax\"";
// line 25
if ((($context["handler"] ?? null) != "PhpMyAdmin\\Plugins\\Import\\Upload\\UploadNoplugin")) {
// line 26
echo " target=\"import_upload_iframe\"";
}
// line 27
echo ">
";
// line 29
echo PhpMyAdmin\Url::getHiddenInputs(($context["hidden_inputs"] ?? null));
echo "
<div class=\"exportoptions\" id=\"header\">
<h2>
";
// line 33
echo \PhpMyAdmin\Html\Generator::getImage("b_import", _gettext("Import"));
echo "
";
// line 34
$this->displayBlock('title', $context, $blocks);
// line 35
echo " </h2>
</div>
<div class=\"importoptions\">
<h3>";
// line 39
echo _gettext("File to import:");
echo "</h3>
";
// line 42
echo " ";
if ( !twig_test_empty(($context["compressions"] ?? null))) {
// line 43
echo " <div class=\"formelementrow\" id=\"compression_info\">
<p>
";
// line 45
echo twig_escape_filter($this->env, sprintf(_gettext("File may be compressed (%s) or uncompressed."), twig_join_filter(($context["compressions"] ?? null), ", ")), "html", null, true);
echo "
<br>
";
// line 47
echo _gettext("A compressed file's name must end in <strong>.[format].[compression]</strong>. Example: <strong>.sql.zip</strong>");
// line 48
echo " </p>
</div>
";
}
// line 51
echo "
<div class=\"formelementrow\" id=\"upload_form\">
";
// line 53
if ((($context["is_upload"] ?? null) && !twig_test_empty(($context["upload_dir"] ?? null)))) {
// line 54
echo " <ul>
<li>
<input type=\"radio\" name=\"file_location\" id=\"radio_import_file\" required=\"required\">
<label for=\"radio_import_file\">";
// line 57
echo _gettext("Browse your computer:");
echo "</label>
<div id=\"upload_form_status\" class=\"hide\"></div>
<div id=\"upload_form_status_info\" class=\"hide\"></div>
<input type=\"file\" name=\"import_file\" id=\"input_import_file\" aria-label=\"";
// line 62
echo _gettext("Browse your computer");
echo "\">
";
// line 64
echo twig_escape_filter($this->env, PhpMyAdmin\Util::getFormattedMaximumUploadSize(($context["max_upload_size"] ?? null)), "html", null, true);
echo "
<input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"";
// line 66
echo twig_escape_filter($this->env, ($context["max_upload_size"] ?? null), "html", null, true);
echo "\">
<p>";
// line 68
echo _gettext("You may also drag and drop a file on any page.");
echo "</p>
</li>
<li>
<input type=\"radio\" name=\"file_location\" id=\"radio_local_import_file\"";
// line 72
echo ((( !twig_test_empty(($context["timeout_passed_global"] ?? null)) && !twig_test_empty(($context["local_import_file"] ?? null)))) ? (" checked") : (""));
echo ">
<label for=\"radio_local_import_file\">
";
// line 74
echo PhpMyAdmin\Sanitize::sanitizeMessage(sprintf(_gettext("Select from the web server upload directory [strong]%s[/strong]:"), ($context["user_upload_dir"] ?? null)));
echo "
</label>
";
// line 77
if ((($context["local_files"] ?? null) === false)) {
// line 78
echo " ";
echo call_user_func_array($this->env->getFilter('error')->getCallable(), [_gettext("The directory you set for upload work cannot be reached.")]);
echo "
";
} elseif ( !twig_test_empty( // line 79
($context["local_files"] ?? null))) {
// line 80
echo " <select size=\"1\" name=\"local_import_file\" id=\"select_local_import_file\" aria-label=\"";
echo _gettext("Select file to import");
echo "\">
<option value=\"\"></option>
";
// line 82
echo ($context["local_files"] ?? null);
echo "
</select>
";
} else {
// line 85
echo " <em>";
echo _gettext("There are no files to upload!");
echo "</em>
";
}
// line 87
echo " </li>
</ul>
";
} elseif ( // line 89
($context["is_upload"] ?? null)) {
// line 90
echo " <label for=\"input_import_file\">";
echo _gettext("Browse your computer:");
echo "</label>
<div id=\"upload_form_status\" class=\"hide\"></div>
<div id=\"upload_form_status_info\" class=\"hide\"></div>
<input type=\"file\" name=\"import_file\" id=\"input_import_file\">
";
// line 97
echo twig_escape_filter($this->env, PhpMyAdmin\Util::getFormattedMaximumUploadSize(($context["max_upload_size"] ?? null)), "html", null, true);
echo "
<input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"";
// line 99
echo twig_escape_filter($this->env, ($context["max_upload_size"] ?? null), "html", null, true);
echo "\">
<p>";
// line 101
echo _gettext("You may also drag and drop a file on any page.");
echo "</p>
";
} elseif ( !twig_test_empty( // line 102
($context["upload_dir"] ?? null))) {
// line 103
echo " <label for=\"select_local_import_file\">
";
// line 104
echo PhpMyAdmin\Sanitize::sanitizeMessage(sprintf(_gettext("Select from the web server upload directory [strong]%s[/strong]:"), ($context["user_upload_dir"] ?? null)));
echo "
</label>
";
// line 107
if ((($context["local_files"] ?? null) === false)) {
// line 108
echo " ";
echo call_user_func_array($this->env->getFilter('error')->getCallable(), [_gettext("The directory you set for upload work cannot be reached.")]);
echo "
";
} elseif ( !twig_test_empty( // line 109
($context["local_files"] ?? null))) {
// line 110
echo " <select size=\"1\" name=\"local_import_file\" id=\"select_local_import_file\">
<option value=\"\"></option>
";
// line 112
echo ($context["local_files"] ?? null);
echo "
</select>
";
} else {
// line 115
echo " <em>";
echo _gettext("There are no files to upload!");
echo "</em>
";
}
// line 117
echo " ";
} else {
// line 118
echo " ";
echo call_user_func_array($this->env->getFilter('notice')->getCallable(), [_gettext("File uploads are not allowed on this server.")]);
echo "
";
}
// line 120
echo " </div>
<div class=\"formelementrow\" id=\"charaset_of_file\">
";
// line 124
echo " <label for=\"charset_of_file\">";
echo _gettext("Character set of the file:");
echo "</label>
";
// line 125
if (($context["is_encoding_supported"] ?? null)) {
// line 126
echo " <select id=\"charset_of_file\" name=\"charset_of_file\" size=\"1\">
";
// line 127
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["encodings"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["charset"]) {
// line 128
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["charset"], "html", null, true);
echo "\"
";
// line 129
if (((twig_test_empty(($context["import_charset"] ?? null)) && ($context["charset"] == "utf-8")) || ( // line 130
$context["charset"] == ($context["import_charset"] ?? null)))) {
// line 131
echo " selected=\"selected\"
";
}
// line 132
echo ">
";
// line 133
echo twig_escape_filter($this->env, $context["charset"], "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 136
echo " </select>
";
} else {
// line 138
echo " <select lang=\"en\" dir=\"ltr\" name=\"charset_of_file\" id=\"charset_of_file\">
<option value=\"\"></option>
";
// line 140
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["charset"]) {
// line 141
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 141), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 141), "html", null, true);
echo "\"";
// line 142
echo (((twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 142) == "utf8")) ? (" selected") : (""));
echo ">";
// line 143
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 143), "html", null, true);
// line 144
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 146
echo " </select>
";
}
// line 148
echo " </div>
</div>
<div class=\"importoptions\">
<h3>";
// line 152
echo _gettext("Partial import:");
echo "</h3>
";
// line 154
if ((array_key_exists("timeout_passed", $context) && ($context["timeout_passed"] ?? null))) {
// line 155
echo " <div class=\"formelementrow\">
<input type=\"hidden\" name=\"skip\" value=\"";
// line 156
echo twig_escape_filter($this->env, ($context["offset"] ?? null), "html", null, true);
echo "\">
";
// line 157
echo twig_escape_filter($this->env, sprintf(_gettext("Previous import timed out, after resubmitting will continue from position %d."), ($context["offset"] ?? null)), "html", null, true);
echo "
</div>
";
}
// line 160
echo "
<div class=\"formelementrow\">
<input type=\"checkbox\" name=\"allow_interrupt\" value=\"yes\" id=\"checkbox_allow_interrupt\"
";
// line 163
echo PhpMyAdmin\Plugins::checkboxCheck("Import", "allow_interrupt");
echo ">
<label for=\"checkbox_allow_interrupt\">
";
// line 165
echo _gettext("Allow the interruption of an import in case the script detects it is close to the PHP timeout limit. <em>(This might be a good way to import large files, however it can break transactions.)</em>");
// line 166
echo " </label>
</div>
";
// line 169
if ( !(array_key_exists("timeout_passed", $context) && ($context["timeout_passed"] ?? null))) {
// line 170
echo " <div class=\"formelementrow\">
<label for=\"text_skip_queries\">
";
// line 172
echo _gettext("Skip this number of queries (for SQL) starting from the first one:");
// line 173
echo " </label>
<input type=\"number\" name=\"skip_queries\" value=\"";
// line 175
echo PhpMyAdmin\Plugins::getDefault("Import", "skip_queries");
// line 176
echo "\" id=\"text_skip_queries\" min=\"0\">
</div>
";
} else {
// line 179
echo " ";
// line 182
echo " <input type=\"hidden\" name=\"skip_queries\" value=\"";
// line 183
echo PhpMyAdmin\Plugins::getDefault("Import", "skip_queries");
// line 184
echo "\" id=\"text_skip_queries\">
";
}
// line 186
echo " </div>
<div class=\"importoptions\">
<h3>";
// line 189
echo _gettext("Other options:");
echo "</h3>
<div class=\"formelementrow\">
<input type=\"hidden\" name=\"fk_checks\" value=\"0\">
<input type=\"checkbox\" name=\"fk_checks\" id=\"fk_checks\" value=\"1\"";
// line 192
echo ((($context["is_foreign_key_check"] ?? null)) ? (" checked") : (""));
echo ">
<label for=\"fk_checks\">";
// line 193
echo _gettext("Enable foreign key checks");
echo "</label>
</div>
</div>
<div class=\"importoptions\">
<h3>";
// line 198
echo _gettext("Format:");
echo "</h3>
";
// line 199
echo PhpMyAdmin\Plugins::getChoice("Import", "format", ($context["import_list"] ?? null));
echo "
<div id=\"import_notification\"></div>
</div>
<div class=\"importoptions\" id=\"format_specific_opts\">
<h3>";
// line 204
echo _gettext("Format-specific options:");
echo "</h3>
<p class=\"no_js_msg\" id=\"scroll_to_options_msg\">
";
// line 206
echo _gettext("Scroll down to fill in the options for the selected format and ignore the options for other formats.");
// line 207
echo " </p>
";
// line 208
echo PhpMyAdmin\Plugins::getOptions("Import", ($context["import_list"] ?? null));
echo "
</div>
<div class=\"clearfloat\"></div>
";
// line 213
echo " ";
if (($context["can_convert_kanji"] ?? null)) {
// line 214
echo " <div class=\"importoptions\" id=\"kanji_encoding\">
<h3>";
// line 215
echo _gettext("Encoding Conversion:");
echo "</h3>
";
// line 216
$this->loadTemplate("encoding/kanji_encoding_form.twig", "import.twig", 216)->display($context);
// line 217
echo " </div>
";
}
// line 219
echo "
<div class=\"importoptions justify-content-end\" id=\"submit\">
<input id=\"buttonGo\" class=\"btn btn-primary\" type=\"submit\" value=\"";
// line 221
echo _gettext("Go");
echo "\">
</div>
</form>
</div>
";
}
// line 34
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
}
public function getTemplateName()
{
return "import.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 510 => 34, 501 => 221, 497 => 219, 493 => 217, 491 => 216, 487 => 215, 484 => 214, 481 => 213, 474 => 208, 471 => 207, 469 => 206, 464 => 204, 456 => 199, 452 => 198, 444 => 193, 440 => 192, 434 => 189, 429 => 186, 425 => 184, 423 => 183, 421 => 182, 419 => 179, 414 => 176, 412 => 175, 409 => 173, 407 => 172, 403 => 170, 401 => 169, 396 => 166, 394 => 165, 389 => 163, 384 => 160, 378 => 157, 374 => 156, 371 => 155, 369 => 154, 364 => 152, 358 => 148, 354 => 146, 347 => 144, 345 => 143, 342 => 142, 336 => 141, 332 => 140, 328 => 138, 324 => 136, 315 => 133, 312 => 132, 308 => 131, 306 => 130, 305 => 129, 300 => 128, 296 => 127, 293 => 126, 291 => 125, 286 => 124, 281 => 120, 275 => 118, 272 => 117, 266 => 115, 260 => 112, 256 => 110, 254 => 109, 249 => 108, 247 => 107, 241 => 104, 238 => 103, 236 => 102, 232 => 101, 227 => 99, 222 => 97, 211 => 90, 209 => 89, 205 => 87, 199 => 85, 193 => 82, 187 => 80, 185 => 79, 180 => 78, 178 => 77, 172 => 74, 167 => 72, 161 => 68, 156 => 66, 151 => 64, 146 => 62, 138 => 57, 133 => 54, 131 => 53, 127 => 51, 122 => 48, 120 => 47, 115 => 45, 111 => 43, 108 => 42, 103 => 39, 97 => 35, 95 => 34, 91 => 33, 84 => 29, 80 => 27, 77 => 26, 75 => 25, 68 => 20, 62 => 16, 60 => 14, 59 => 13, 58 => 12, 57 => 11, 50 => 7, 42 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "import.twig", "/app/admin/templates/import.twig");
}
}

View File

@@ -0,0 +1,156 @@
<?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;
/* columns_definitions/column_name.twig */
class __TwigTemplate_9af88ba8fc9c8837bed8d7c32b7b77764822fb76fec4ad6e06b1a39353a03e42 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
$context["title"] = "";
// line 2
if (twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "column_status", [], "array", true, true, false, 2)) {
// line 3
echo " ";
if ((($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = ($context["column_meta"] ?? null)) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144["column_status"] ?? null) : null)) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4["isReferenced"] ?? null) : null)) {
// line 4
echo " ";
$context["title"] = (($context["title"] ?? null) . sprintf(_gettext("Referenced by %s."), twig_join_filter((($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = (($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = // line 5
($context["column_meta"] ?? null)) && is_array($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002) || $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 instanceof ArrayAccess ? ($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002["column_status"] ?? null) : null)) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b["references"] ?? null) : null), ",")));
// line 7
echo " ";
}
// line 8
echo " ";
if ((($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 = (($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 = ($context["column_meta"] ?? null)) && is_array($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666) || $__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 instanceof ArrayAccess ? ($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666["column_status"] ?? null) : null)) && is_array($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4) || $__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 instanceof ArrayAccess ? ($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4["isForeignKey"] ?? null) : null)) {
// line 9
echo " ";
if ( !twig_test_empty(($context["title"] ?? null))) {
// line 10
echo " ";
$context["title"] = (($context["title"] ?? null) . "
");
// line 11
echo " ";
}
// line 12
echo " ";
$context["title"] = (($context["title"] ?? null) . _gettext("Is a foreign key."));
// line 13
echo " ";
}
}
// line 15
if (twig_test_empty(($context["title"] ?? null))) {
// line 16
echo " ";
$context["title"] = _gettext("Column");
}
// line 18
echo "
<input id=\"field_";
// line 19
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\"
";
// line 20
if ((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "column_status", [], "array", true, true, false, 20) && !(($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e = (($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 = // line 21
($context["column_meta"] ?? null)) && is_array($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52) || $__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 instanceof ArrayAccess ? ($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52["column_status"] ?? null) : null)) && is_array($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e) || $__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e instanceof ArrayAccess ? ($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e["isEditable"] ?? null) : null))) {
// line 22
echo " disabled=\"disabled\"
";
}
// line 24
echo " type=\"text\"
name=\"field_name[";
// line 25
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\"
maxlength=\"64\"
class=\"textfield\"
title=\"";
// line 28
echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true);
echo "\"
size=\"10\"
value=\"";
// line 30
((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 30)) ? (print (twig_escape_filter($this->env, (($__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136 = ($context["column_meta"] ?? null)) && is_array($__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136) || $__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136 instanceof ArrayAccess ? ($__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136["Field"] ?? null) : null), "html", null, true))) : (print ("")));
echo "\">
";
// line 32
if (((($__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386 = ($context["cfg_relation"] ?? null)) && is_array($__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386) || $__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386 instanceof ArrayAccess ? ($__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386["centralcolumnswork"] ?? null) : null) && !(twig_get_attribute($this->env, $this->source, // line 33
($context["column_meta"] ?? null), "column_status", [], "array", true, true, false, 33) && !(($__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9 = (($__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae = // line 34
($context["column_meta"] ?? null)) && is_array($__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae) || $__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae instanceof ArrayAccess ? ($__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae["column_status"] ?? null) : null)) && is_array($__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9) || $__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9 instanceof ArrayAccess ? ($__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9["isEditable"] ?? null) : null)))) {
// line 35
echo " <p class=\"column_name\" id=\"central_columns_";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\">
<a data-maxrows=\"";
// line 36
echo twig_escape_filter($this->env, ($context["max_rows"] ?? null), "html", null, true);
echo "\"
href=\"#\"
class=\"central_columns_dialog\">
";
// line 39
echo _gettext("Pick from Central Columns");
// line 40
echo " </a>
</p>
";
}
}
public function getTemplateName()
{
return "columns_definitions/column_name.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 131 => 40, 129 => 39, 123 => 36, 116 => 35, 114 => 34, 113 => 33, 112 => 32, 107 => 30, 102 => 28, 96 => 25, 93 => 24, 89 => 22, 87 => 21, 86 => 20, 80 => 19, 77 => 18, 73 => 16, 71 => 15, 67 => 13, 64 => 12, 61 => 11, 57 => 10, 54 => 9, 51 => 8, 48 => 7, 46 => 5, 44 => 4, 41 => 3, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "columns_definitions/column_name.twig", "/app/admin/templates/columns_definitions/column_name.twig");
}
}

View File

@@ -0,0 +1,86 @@
<?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;
/* select_all.twig */
class __TwigTemplate_e53e1437887b069f11662e4afd92699596c63244f4c30c2de43315bf36170368 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
echo "<img class=\"selectallarrow\" src=\"";
echo twig_escape_filter($this->env, ($context["theme_image_path"] ?? null), "html", null, true);
echo "arrow_";
echo twig_escape_filter($this->env, ($context["text_dir"] ?? null), "html", null, true);
echo ".png\"
width=\"38\" height=\"22\" alt=\"";
// line 2
echo _gettext("With selected:");
echo "\">
<input type=\"checkbox\" id=\"";
// line 3
echo twig_escape_filter($this->env, ($context["form_name"] ?? null), "html", null, true);
echo "_checkall\" class=\"checkall_box\"
title=\"";
// line 4
echo _gettext("Check all");
echo "\">
<label for=\"";
// line 5
echo twig_escape_filter($this->env, ($context["form_name"] ?? null), "html", null, true);
echo "_checkall\">";
echo _gettext("Check all");
echo "</label>
<em class=\"with-selected\">";
// line 6
echo _gettext("With selected:");
echo "</em>
";
}
public function getTemplateName()
{
return "select_all.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 62 => 6, 56 => 5, 52 => 4, 48 => 3, 44 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "select_all.twig", "/app/admin/templates/select_all.twig");
}
}

View File

@@ -0,0 +1,277 @@
<?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;
/* navigation/main.twig */
class __TwigTemplate_c690718f132ac5bcdf4849e07bdf6b055041c373019b53613e40e6bcf9d9a16c 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["is_ajax"] ?? null)) {
// line 2
echo " <div id=\"pma_navigation\" data-config-navigation-width=\"";
echo twig_escape_filter($this->env, ($context["config_navigation_width"] ?? null), "html", null, true);
echo "\">
<div id=\"pma_navigation_resizer\"></div>
<div id=\"pma_navigation_collapser\"></div>
<div id=\"pma_navigation_content\">
<div id=\"pma_navigation_header\">
";
// line 8
if (twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "is_displayed", [], "any", false, false, false, 8)) {
// line 9
echo " <div id=\"pmalogo\">
";
// line 10
if (twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "has_link", [], "any", false, false, false, 10)) {
// line 11
echo " <a href=\"";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "link", [], "any", true, true, false, 11)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "link", [], "any", false, false, false, 11), "#")) : ("#")), "html", null, true);
echo "\"";
echo twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "attributes", [], "any", false, false, false, 11);
echo ">
";
}
// line 13
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "source", [], "any", false, false, false, 13))) {
// line 14
echo " <img id=\"imgpmalogo\" src=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "source", [], "any", false, false, false, 14), "html", null, true);
echo "\" alt=\"phpMyAdmin\">
";
} else {
// line 16
echo " <h1>phpMyAdmin</h1>
";
}
// line 18
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "has_link", [], "any", false, false, false, 18)) {
// line 19
echo " </a>
";
}
// line 21
echo " </div>
";
}
// line 23
echo "
<div id=\"navipanellinks\">
<a href=\"";
// line 25
echo PhpMyAdmin\Url::getFromRoute("/");
echo "\" title=\"";
echo _gettext("Home");
echo "\">";
// line 26
echo \PhpMyAdmin\Html\Generator::getImage("b_home", _gettext("Home"));
// line 27
echo "</a>
";
// line 29
if ((($context["server"] ?? null) != 0)) {
// line 30
echo " <a class=\"logout disableAjax\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/logout");
echo "\" title=\"";
echo twig_escape_filter($this->env, (((($context["auth_type"] ?? null) == "config")) ? (_gettext("Empty session data")) : (_gettext("Log out"))), "html", null, true);
echo "\">";
// line 31
echo \PhpMyAdmin\Html\Generator::getImage("s_loggoff", (((($context["auth_type"] ?? null) == "config")) ? (_gettext("Empty session data")) : (_gettext("Log out"))));
// line 32
echo "</a>
";
}
// line 34
echo "
<a href=\"";
// line 35
echo \PhpMyAdmin\Html\MySQLDocumentation::getDocumentationLink("index");
echo "\" title=\"";
echo _gettext("phpMyAdmin documentation");
echo "\" target=\"_blank\" rel=\"noopener noreferrer\">";
// line 36
echo \PhpMyAdmin\Html\Generator::getImage("b_docs", _gettext("phpMyAdmin documentation"));
// line 37
echo "</a>
<a href=\"";
// line 39
echo PhpMyAdmin\Util::getdocuURL(($context["is_mariadb"] ?? null));
echo "\" title=\"";
echo twig_escape_filter($this->env, ((($context["is_mariadb"] ?? null)) ? (_gettext("MariaDB Documentation")) : (_gettext("MySQL Documentation"))), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener noreferrer\">";
// line 40
echo \PhpMyAdmin\Html\Generator::getImage("b_sqlhelp", ((($context["is_mariadb"] ?? null)) ? (_gettext("MariaDB Documentation")) : (_gettext("MySQL Documentation"))));
// line 41
echo "</a>
<a id=\"pma_navigation_settings_icon\"";
// line 43
echo (( !($context["is_navigation_settings_enabled"] ?? null)) ? (" class=\"hide\"") : (""));
echo " href=\"#\" title=\"";
echo _gettext("Navigation panel settings");
echo "\">";
// line 44
echo \PhpMyAdmin\Html\Generator::getImage("s_cog", _gettext("Navigation panel settings"));
// line 45
echo "</a>
<a id=\"pma_navigation_reload\" href=\"#\" title=\"";
// line 47
echo _gettext("Reload navigation panel");
echo "\">";
// line 48
echo \PhpMyAdmin\Html\Generator::getImage("s_reload", _gettext("Reload navigation panel"));
// line 49
echo "</a>
</div>
";
// line 52
if ((($context["is_servers_displayed"] ?? null) && (twig_length_filter($this->env, ($context["servers"] ?? null)) > 1))) {
// line 53
echo " <div id=\"serverChoice\">
";
// line 54
echo ($context["server_select"] ?? null);
echo "
</div>
";
}
// line 57
echo "
";
// line 58
echo \PhpMyAdmin\Html\Generator::getImage("ajax_clock_small", _gettext("Loading…"), ["style" => "visibility: hidden; display:none", "class" => "throbber"]);
// line 61
echo "
</div>
<div id=\"pma_navigation_tree\" class=\"list_container";
// line 63
echo ((($context["is_synced"] ?? null)) ? (" synced") : (""));
echo ((($context["is_highlighted"] ?? null)) ? (" highlight") : (""));
echo ((($context["is_autoexpanded"] ?? null)) ? (" autoexpand") : (""));
echo "\">
";
}
// line 65
echo "
";
// line 66
if ( !($context["navigation_tree"] ?? null)) {
// line 67
echo " ";
echo call_user_func_array($this->env->getFilter('error')->getCallable(), [_gettext("An error has occurred while loading the navigation display")]);
echo "
";
} else {
// line 69
echo " ";
echo ($context["navigation_tree"] ?? null);
echo "
";
}
// line 71
echo "
";
// line 72
if ( !($context["is_ajax"] ?? null)) {
// line 73
echo " </div>
<div id=\"pma_navi_settings_container\">
";
// line 76
if (($context["is_navigation_settings_enabled"] ?? null)) {
// line 77
echo " ";
echo ($context["navigation_settings"] ?? null);
echo "
";
}
// line 79
echo " </div>
</div>
";
// line 82
if (($context["is_drag_drop_import_enabled"] ?? null)) {
// line 83
echo " <div class=\"pma_drop_handler\">
";
// line 84
echo _gettext("Drop files here");
// line 85
echo " </div>
<div class=\"pma_sql_import_status\">
<h2>
";
// line 88
echo _gettext("SQL upload");
// line 89
echo " ( <span class=\"pma_import_count\">0</span> )
<span class=\"close\">x</span>
<span class=\"minimize\">-</span>
</h2>
<div></div>
</div>
";
}
// line 96
echo " </div>
";
}
}
public function getTemplateName()
{
return "navigation/main.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 253 => 96, 244 => 89, 242 => 88, 237 => 85, 235 => 84, 232 => 83, 230 => 82, 225 => 79, 219 => 77, 217 => 76, 212 => 73, 210 => 72, 207 => 71, 201 => 69, 195 => 67, 193 => 66, 190 => 65, 183 => 63, 179 => 61, 177 => 58, 174 => 57, 168 => 54, 165 => 53, 163 => 52, 158 => 49, 156 => 48, 153 => 47, 149 => 45, 147 => 44, 142 => 43, 138 => 41, 136 => 40, 131 => 39, 127 => 37, 125 => 36, 120 => 35, 117 => 34, 113 => 32, 111 => 31, 105 => 30, 103 => 29, 99 => 27, 97 => 26, 92 => 25, 88 => 23, 84 => 21, 80 => 19, 77 => 18, 73 => 16, 67 => 14, 64 => 13, 56 => 11, 54 => 10, 51 => 9, 49 => 8, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "navigation/main.twig", "/app/admin/templates/navigation/main.twig");
}
}

View File

@@ -0,0 +1,195 @@
<?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/structure/check_all_tables.twig */
class __TwigTemplate_5168f983946d5dcee8fb3db56f21e026f9fff4992b65edb26ed4bb1b155ca68c 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
echo "<div class=\"clearfloat print_ignore\">
<img class=\"selectallarrow\" src=\"";
// line 2
echo twig_escape_filter($this->env, ($context["theme_image_path"] ?? null), "html", null, true);
echo "arrow_";
echo twig_escape_filter($this->env, ($context["text_dir"] ?? null), "html", null, true);
echo ".png\" width=\"38\" height=\"22\" alt=\"";
echo _gettext("With selected:");
echo "\">
<input type=\"checkbox\" id=\"tablesForm_checkall\" class=\"checkall_box\" title=\"";
// line 3
echo _gettext("Check all");
echo "\">
<label for=\"tablesForm_checkall\">";
// line 4
echo _gettext("Check all");
echo "</label>
";
// line 5
if ((($context["overhead_check"] ?? null) != "")) {
// line 6
echo " / <a href=\"#\" class=\"checkall-filter\" data-checkall-selector=\".tbl-overhead\">";
echo _gettext("Check tables having overhead");
echo "</a>
";
}
// line 8
echo " <select name=\"submit_mult\" style=\"margin: 0 3em 0 3em;\">
<option value=\"";
// line 9
echo _gettext("With selected:");
echo "\" selected=\"selected\">";
echo _gettext("With selected:");
echo "</option>
<option value=\"copy_tbl\">";
// line 10
echo _gettext("Copy table");
echo "</option>
<option value=\"show_create\">";
// line 11
echo _gettext("Show create");
echo "</option>
<option value=\"export\">";
// line 12
echo _gettext("Export");
echo "</option>
";
// line 13
if (( !($context["db_is_system_schema"] ?? null) && !($context["disable_multi_table"] ?? null))) {
// line 14
echo " <optgroup label=\"";
echo _gettext("Delete data or table");
echo "\">
<option value=\"empty_tbl\">";
// line 15
echo _gettext("Empty");
echo "</option>
<option value=\"drop_tbl\">";
// line 16
echo _gettext("Drop");
echo "</option>
</optgroup>
<optgroup label=\"";
// line 18
echo _gettext("Table maintenance");
echo "\">
<option value=\"analyze_tbl\">";
// line 19
echo _gettext("Analyze table");
echo "</option>
<option value=\"check_tbl\">";
// line 20
echo _gettext("Check table");
echo "</option>
<option value=\"checksum_tbl\">";
// line 21
echo _gettext("Checksum table");
echo "</option>
<option value=\"optimize_tbl\">";
// line 22
echo _gettext("Optimize table");
echo "</option>
<option value=\"repair_tbl\">";
// line 23
echo _gettext("Repair table");
echo "</option>
</optgroup>
<optgroup label=\"";
// line 25
echo _gettext("Prefix");
echo "\">
<option value=\"add_prefix_tbl\">";
// line 26
echo _gettext("Add prefix to table");
echo "</option>
<option value=\"replace_prefix_tbl\">";
// line 27
echo _gettext("Replace table prefix");
echo "</option>
<option value=\"copy_tbl_change_prefix\">";
// line 28
echo _gettext("Copy table with prefix");
echo "</option>
</optgroup>
";
}
// line 31
echo " ";
if ((array_key_exists("central_columns_work", $context) && ($context["central_columns_work"] ?? null))) {
// line 32
echo " <optgroup label=\"";
echo _gettext("Central columns");
echo "\">
<option value=\"sync_unique_columns_central_list\">";
// line 33
echo _gettext("Add columns to central list");
echo "</option>
<option value=\"delete_unique_columns_central_list\">";
// line 34
echo _gettext("Remove columns from central list");
echo "</option>
<option value=\"make_consistent_with_central_list\">";
// line 35
echo _gettext("Make consistent with central list");
echo "</option>
</optgroup>
";
}
// line 38
echo " </select>
";
// line 39
echo twig_join_filter(($context["hidden_fields"] ?? null), "
");
echo "
</div>
";
}
public function getTemplateName()
{
return "database/structure/check_all_tables.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 169 => 39, 166 => 38, 160 => 35, 156 => 34, 152 => 33, 147 => 32, 144 => 31, 138 => 28, 134 => 27, 130 => 26, 126 => 25, 121 => 23, 117 => 22, 113 => 21, 109 => 20, 105 => 19, 101 => 18, 96 => 16, 92 => 15, 87 => 14, 85 => 13, 81 => 12, 77 => 11, 73 => 10, 67 => 9, 64 => 8, 58 => 6, 56 => 5, 52 => 4, 48 => 3, 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/check_all_tables.twig", "/app/admin/templates/database/structure/check_all_tables.twig");
}
}

View File

@@ -0,0 +1,119 @@
<?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;
/* table/insert/continue_insertion_form.twig */
class __TwigTemplate_7e24f67b016c158b5836574ff9ed206f4a091b8f5de496319665bb9f5a5c024c 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
echo "<form id=\"continueForm\" method=\"post\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/replace");
echo "\" name=\"continueForm\">
";
// line 2
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
echo "
<input type=\"hidden\" name=\"goto\" value=\"";
// line 3
echo twig_escape_filter($this->env, ($context["goto"] ?? null), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"err_url\" value=\"";
// line 4
echo twig_escape_filter($this->env, ($context["err_url"] ?? null), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"sql_query\" value=\"";
// line 5
echo twig_escape_filter($this->env, ($context["sql_query"] ?? null), "html", null, true);
echo "\">
";
// line 7
if (($context["has_where_clause"] ?? null)) {
// line 8
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["where_clause_array"] ?? null));
foreach ($context['_seq'] as $context["key_id"] => $context["where_clause"]) {
// line 9
echo " <input type=\"hidden\" name=\"where_clause[";
echo twig_escape_filter($this->env, $context["key_id"], "html", null, true);
echo "]\" value=\"";
// line 10
echo twig_escape_filter($this->env, twig_trim_filter($context["where_clause"]), "html", null, true);
echo "\">
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key_id'], $context['where_clause'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 12
echo " ";
}
// line 13
echo "
";
// line 14
ob_start(function () { return ''; });
// line 15
echo " <input type=\"number\" name=\"insert_rows\" id=\"insert_rows\" value=\"";
// line 16
echo twig_escape_filter($this->env, ($context["insert_rows_default"] ?? null), "html", null, true);
echo "\" min=\"1\">
";
$context["insert_rows"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 18
echo " ";
echo sprintf(_gettext("Continue insertion with %s rows"), ($context["insert_rows"] ?? null));
echo "
</form>
";
}
public function getTemplateName()
{
return "table/insert/continue_insertion_form.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 93 => 18, 88 => 16, 86 => 15, 84 => 14, 81 => 13, 78 => 12, 70 => 10, 66 => 9, 61 => 8, 59 => 7, 54 => 5, 50 => 4, 46 => 3, 42 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/insert/continue_insertion_form.twig", "/app/admin/templates/table/insert/continue_insertion_form.twig");
}
}

View File

@@ -0,0 +1,547 @@
<?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;
/* javascript/variables.twig */
class __TwigTemplate_741aa959fc68965b6ec45ed453ec823f85a3ad961938aaf4738057ee64909e1d 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 2
echo "var firstDayOfCalendar = '";
echo twig_escape_filter($this->env, ($context["first_day_of_calendar"] ?? null), "js", null, true);
echo "';
var themeImagePath = '";
// line 3
echo twig_escape_filter($this->env, ($context["theme_image_path"] ?? null), "js", null, true);
echo "';
var mysqlDocTemplate = '";
// line 4
echo twig_escape_filter($this->env, PhpMyAdmin\Util::getMySQLDocuURL("%s"), "js", null, true);
echo "';
var maxInputVars = ";
// line 5
echo twig_escape_filter($this->env, ($context["max_input_vars"] ?? null), "js", null, true);
echo ";
";
// line 7
ob_start(function () { return ''; });
// line 8
// l10n: Month-year order for calendar, use either "calendar-month-year" or "calendar-year-month".
echo _gettext("calendar-month-year");
$context["show_month_after_year"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 10
ob_start(function () { return ''; });
// line 11
// l10n: Year suffix for calendar, "none" is empty.
echo _gettext("none");
$context["year_suffix"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 14
echo "if (\$.datepicker) {
\$.datepicker.regional[''].closeText = '";
// line 15
ob_start(function () { return ''; });
// l10n: Display text for calendar close link
echo _gettext("Done");
$___internal_2cb2a43c604ba6bd2e1ab13bb6de5a118ba6cfdaff21d4dd13f981594739b1df_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_2cb2a43c604ba6bd2e1ab13bb6de5a118ba6cfdaff21d4dd13f981594739b1df_, "js");
echo "';
\$.datepicker.regional[''].prevText = '";
// line 16
ob_start(function () { return ''; });
// l10n: Previous month. Display text for previous month link in calendar
echo _gettext("Prev");
$___internal_f4a178632452d15bfbb0abd195b794da054e187884cdd3f91b99eec79298e4d4_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_f4a178632452d15bfbb0abd195b794da054e187884cdd3f91b99eec79298e4d4_, "js");
echo "';
\$.datepicker.regional[''].nextText = '";
// line 17
ob_start(function () { return ''; });
// l10n: Next month. Display text for next month link in calendar
echo _gettext("Next");
$___internal_45519a904bd29cfbe1a96decf5e7dedba1f9b5bdf9bca8ad5353bae06675045e_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_45519a904bd29cfbe1a96decf5e7dedba1f9b5bdf9bca8ad5353bae06675045e_, "js");
echo "';
\$.datepicker.regional[''].currentText = '";
// line 18
ob_start(function () { return ''; });
// l10n: Display text for current month link in calendar
echo _gettext("Today");
$___internal_a05a614a2934dc272cf53f93289381e04dcb8d09199188c0ce77dc43e1ab70ea_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_a05a614a2934dc272cf53f93289381e04dcb8d09199188c0ce77dc43e1ab70ea_, "js");
echo "';
\$.datepicker.regional[''].monthNames = [
'";
// line 20
echo twig_escape_filter($this->env, _gettext("January"), "js", null, true);
echo "',
'";
// line 21
echo twig_escape_filter($this->env, _gettext("February"), "js", null, true);
echo "',
'";
// line 22
echo twig_escape_filter($this->env, _gettext("March"), "js", null, true);
echo "',
'";
// line 23
echo twig_escape_filter($this->env, _gettext("April"), "js", null, true);
echo "',
'";
// line 24
echo twig_escape_filter($this->env, _gettext("May"), "js", null, true);
echo "',
'";
// line 25
echo twig_escape_filter($this->env, _gettext("June"), "js", null, true);
echo "',
'";
// line 26
echo twig_escape_filter($this->env, _gettext("July"), "js", null, true);
echo "',
'";
// line 27
echo twig_escape_filter($this->env, _gettext("August"), "js", null, true);
echo "',
'";
// line 28
echo twig_escape_filter($this->env, _gettext("September"), "js", null, true);
echo "',
'";
// line 29
echo twig_escape_filter($this->env, _gettext("October"), "js", null, true);
echo "',
'";
// line 30
echo twig_escape_filter($this->env, _gettext("November"), "js", null, true);
echo "',
'";
// line 31
echo twig_escape_filter($this->env, _gettext("December"), "js", null, true);
echo "',
];
\$.datepicker.regional[''].monthNamesShort = [
'";
// line 34
ob_start(function () { return ''; });
// l10n: Short month name for January
echo _gettext("Jan");
$___internal_4cc67ebe43a73b54ece5b9c176e87ee86a42861691209a32509fa8ac33343830_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_4cc67ebe43a73b54ece5b9c176e87ee86a42861691209a32509fa8ac33343830_, "js");
echo "',
'";
// line 35
ob_start(function () { return ''; });
// l10n: Short month name for February
echo _gettext("Feb");
$___internal_659e62aa674a583d67242e27525ff56a36319a1181fb5c91c4cc1c9578dcaad9_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_659e62aa674a583d67242e27525ff56a36319a1181fb5c91c4cc1c9578dcaad9_, "js");
echo "',
'";
// line 36
ob_start(function () { return ''; });
// l10n: Short month name for March
echo _gettext("Mar");
$___internal_93cec95481d853a7c0d96d97bb324731b9ba8c350a18b51683edfe8dff36caee_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_93cec95481d853a7c0d96d97bb324731b9ba8c350a18b51683edfe8dff36caee_, "js");
echo "',
'";
// line 37
ob_start(function () { return ''; });
// l10n: Short month name for April
echo _gettext("Apr");
$___internal_e9d4228e293db9fbb1d6c6deeef97789075b4a6aac0cbba07a3427e23f8f5322_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_e9d4228e293db9fbb1d6c6deeef97789075b4a6aac0cbba07a3427e23f8f5322_, "js");
echo "',
'";
// line 38
ob_start(function () { return ''; });
// l10n: Short month name for May
echo _gettext("May");
$___internal_280039bb0149ead52c1b7739a8bae170420cc12ea21cb7ce68bcc2a62f9d5416_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_280039bb0149ead52c1b7739a8bae170420cc12ea21cb7ce68bcc2a62f9d5416_, "js");
echo "',
'";
// line 39
ob_start(function () { return ''; });
// l10n: Short month name for June
echo _gettext("Jun");
$___internal_9cc5d552ead2484cc335ebdc69f7c1243e59ec32537ce6a3d99c2d8f1aa97293_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_9cc5d552ead2484cc335ebdc69f7c1243e59ec32537ce6a3d99c2d8f1aa97293_, "js");
echo "',
'";
// line 40
ob_start(function () { return ''; });
// l10n: Short month name for July
echo _gettext("Jul");
$___internal_32b6ac94d0b8bfd5afded25204c0b9bcbd180125783effc9abca80ee02a349a1_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_32b6ac94d0b8bfd5afded25204c0b9bcbd180125783effc9abca80ee02a349a1_, "js");
echo "',
'";
// line 41
ob_start(function () { return ''; });
// l10n: Short month name for August
echo _gettext("Aug");
$___internal_33044060ade7ffe1711020e0ed173b064bc97f3a4476d4a707da39b1d8136b1d_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_33044060ade7ffe1711020e0ed173b064bc97f3a4476d4a707da39b1d8136b1d_, "js");
echo "',
'";
// line 42
ob_start(function () { return ''; });
// l10n: Short month name for September
echo _gettext("Sep");
$___internal_0f3a9ad652ab4d11a2036dfd30cfd3e966730a48c1588ce540f5d418a560edc6_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_0f3a9ad652ab4d11a2036dfd30cfd3e966730a48c1588ce540f5d418a560edc6_, "js");
echo "',
'";
// line 43
ob_start(function () { return ''; });
// l10n: Short month name for October
echo _gettext("Oct");
$___internal_60332fc4b8adae73d68d176f86b4fbbf206ee29ba9ddbfef53ad1534d91212ea_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_60332fc4b8adae73d68d176f86b4fbbf206ee29ba9ddbfef53ad1534d91212ea_, "js");
echo "',
'";
// line 44
ob_start(function () { return ''; });
// l10n: Short month name for November
echo _gettext("Nov");
$___internal_4c0611242cd2a59e7ebcf50721ca8a52f0776a9fc2235edb84759cbf1be77306_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_4c0611242cd2a59e7ebcf50721ca8a52f0776a9fc2235edb84759cbf1be77306_, "js");
echo "',
'";
// line 45
ob_start(function () { return ''; });
// l10n: Short month name for December
echo _gettext("Dec");
$___internal_f43de55002b6241d16b6c3cf4f5db674a919ee8a1b7272d1202bdb7215de21c3_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_f43de55002b6241d16b6c3cf4f5db674a919ee8a1b7272d1202bdb7215de21c3_, "js");
echo "',
];
\$.datepicker.regional[''].dayNames = [
'";
// line 48
echo twig_escape_filter($this->env, _gettext("Sunday"), "js", null, true);
echo "',
'";
// line 49
echo twig_escape_filter($this->env, _gettext("Monday"), "js", null, true);
echo "',
'";
// line 50
echo twig_escape_filter($this->env, _gettext("Tuesday"), "js", null, true);
echo "',
'";
// line 51
echo twig_escape_filter($this->env, _gettext("Wednesday"), "js", null, true);
echo "',
'";
// line 52
echo twig_escape_filter($this->env, _gettext("Thursday"), "js", null, true);
echo "',
'";
// line 53
echo twig_escape_filter($this->env, _gettext("Friday"), "js", null, true);
echo "',
'";
// line 54
echo twig_escape_filter($this->env, _gettext("Saturday"), "js", null, true);
echo "',
];
\$.datepicker.regional[''].dayNamesShort = [
'";
// line 57
ob_start(function () { return ''; });
// l10n: Short week day name for Sunday
echo _gettext("Sun");
$___internal_cb407728e5e0f95269640980fdfc82e2edd1a664e0eda0ca31fae4c509c03cd1_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_cb407728e5e0f95269640980fdfc82e2edd1a664e0eda0ca31fae4c509c03cd1_, "js");
echo "',
'";
// line 58
ob_start(function () { return ''; });
// l10n: Short week day name for Monday
echo _gettext("Mon");
$___internal_f56bf3e202ab5373689a98611a954df1d25b5da70c7309015334c025f57e98fa_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_f56bf3e202ab5373689a98611a954df1d25b5da70c7309015334c025f57e98fa_, "js");
echo "',
'";
// line 59
ob_start(function () { return ''; });
// l10n: Short week day name for Tuesday
echo _gettext("Tue");
$___internal_ffb08b9991306e9c903a78828167fbe6992047370a8e8c74483a4b6fa343b949_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_ffb08b9991306e9c903a78828167fbe6992047370a8e8c74483a4b6fa343b949_, "js");
echo "',
'";
// line 60
ob_start(function () { return ''; });
// l10n: Short week day name for Wednesday
echo _gettext("Wed");
$___internal_d3870ced0e342c5bc0af87d8a99babe691ca5b17bf17efe0e4633cdb7588a79d_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_d3870ced0e342c5bc0af87d8a99babe691ca5b17bf17efe0e4633cdb7588a79d_, "js");
echo "',
'";
// line 61
ob_start(function () { return ''; });
// l10n: Short week day name for Thursday
echo _gettext("Thu");
$___internal_a545624cc7e6468ee92b59ceb8bdb6d7629db6b8c3ce694adf5bf13d1f14493f_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_a545624cc7e6468ee92b59ceb8bdb6d7629db6b8c3ce694adf5bf13d1f14493f_, "js");
echo "',
'";
// line 62
ob_start(function () { return ''; });
// l10n: Short week day name for Friday
echo _gettext("Fri");
$___internal_00990ed5251b7ede748b4382b7b39c01e99b0896ba89cc5399eb643b42a0533b_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_00990ed5251b7ede748b4382b7b39c01e99b0896ba89cc5399eb643b42a0533b_, "js");
echo "',
'";
// line 63
ob_start(function () { return ''; });
// l10n: Short week day name for Saturday
echo _gettext("Sat");
$___internal_58894acd0dcf41925451309fd28d1901fd5697df6cca2bd962682414fd2463d4_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_58894acd0dcf41925451309fd28d1901fd5697df6cca2bd962682414fd2463d4_, "js");
echo "',
];
\$.datepicker.regional[''].dayNamesMin = [
'";
// line 66
ob_start(function () { return ''; });
// l10n: Minimal week day name for Sunday
echo _gettext("Su");
$___internal_59edd46f389e849f2b995843be528fc964c902abc05b6bb77f44fb53142c8f70_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_59edd46f389e849f2b995843be528fc964c902abc05b6bb77f44fb53142c8f70_, "js");
echo "',
'";
// line 67
ob_start(function () { return ''; });
// l10n: Minimal week day name for Monday
echo _gettext("Mo");
$___internal_d97c393b20b3f79bf14781f241dfb0eb6a7a608ada38b003c52a8d0975cfba5b_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_d97c393b20b3f79bf14781f241dfb0eb6a7a608ada38b003c52a8d0975cfba5b_, "js");
echo "',
'";
// line 68
ob_start(function () { return ''; });
// l10n: Minimal week day name for Tuesday
echo _gettext("Tu");
$___internal_b5df15c542bc7fc2008f8fff8377d880134198d8fb267bc45933df5dba8755fe_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_b5df15c542bc7fc2008f8fff8377d880134198d8fb267bc45933df5dba8755fe_, "js");
echo "',
'";
// line 69
ob_start(function () { return ''; });
// l10n: Minimal week day name for Wednesday
echo _gettext("We");
$___internal_da21fa78fedc98e6bd4526d398f30f92a817637ae037e3302e33d2ac0a7bd3d2_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_da21fa78fedc98e6bd4526d398f30f92a817637ae037e3302e33d2ac0a7bd3d2_, "js");
echo "',
'";
// line 70
ob_start(function () { return ''; });
// l10n: Minimal week day name for Thursday
echo _gettext("Th");
$___internal_f26c2d156a7ae6b0ac72fa4d42e207c5cbc2af19a6d998f7ee2f6843deded9cd_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_f26c2d156a7ae6b0ac72fa4d42e207c5cbc2af19a6d998f7ee2f6843deded9cd_, "js");
echo "',
'";
// line 71
ob_start(function () { return ''; });
// l10n: Minimal week day name for Friday
echo _gettext("Fr");
$___internal_5759a46239b532c5f0c417b2be8a1f9e497f095e5ec38decc3ccb953effe3a12_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_5759a46239b532c5f0c417b2be8a1f9e497f095e5ec38decc3ccb953effe3a12_, "js");
echo "',
'";
// line 72
ob_start(function () { return ''; });
// l10n: Minimal week day name for Saturday
echo _gettext("Sa");
$___internal_06fe768daed46f0f2cbe843411b5e53a64a6e783d0fe8e5e5c5490a8e28648d1_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_06fe768daed46f0f2cbe843411b5e53a64a6e783d0fe8e5e5c5490a8e28648d1_, "js");
echo "',
];
\$.datepicker.regional[''].weekHeader = '";
// line 74
ob_start(function () { return ''; });
// l10n: Column header for week of the year in calendar
echo _gettext("Wk");
$___internal_b1d14cb4e7e7907560468d3414993671969549c680c4e059273bc37d39694e4a_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_b1d14cb4e7e7907560468d3414993671969549c680c4e059273bc37d39694e4a_, "js");
echo "';
\$.datepicker.regional[''].showMonthAfterYear = ";
// line 75
echo (((($context["show_month_after_year"] ?? null) == "calendar-year-month")) ? ("true") : ("false"));
echo ";
\$.datepicker.regional[''].yearSuffix = '";
// line 76
echo (((($context["year_suffix"] ?? null) != "none")) ? (twig_escape_filter($this->env, ($context["year_suffix"] ?? null), "js")) : (""));
echo "';
\$.extend(\$.datepicker._defaults, \$.datepicker.regional['']);
}
if (\$.timepicker) {
\$.timepicker.regional[''].timeText = '";
// line 81
echo twig_escape_filter($this->env, _gettext("Time"), "js", null, true);
echo "';
\$.timepicker.regional[''].hourText = '";
// line 82
echo twig_escape_filter($this->env, _gettext("Hour"), "js", null, true);
echo "';
\$.timepicker.regional[''].minuteText = '";
// line 83
echo twig_escape_filter($this->env, _gettext("Minute"), "js", null, true);
echo "';
\$.timepicker.regional[''].secondText = '";
// line 84
echo twig_escape_filter($this->env, _gettext("Second"), "js", null, true);
echo "';
\$.extend(\$.timepicker._defaults, \$.timepicker.regional['']);
}
function extendingValidatorMessages () {
\$.extend(\$.validator.messages, {
required: '";
// line 90
echo twig_escape_filter($this->env, _gettext("This field is required"), "js", null, true);
echo "',
remote: '";
// line 91
echo twig_escape_filter($this->env, _gettext("Please fix this field"), "js", null, true);
echo "',
email: '";
// line 92
echo twig_escape_filter($this->env, _gettext("Please enter a valid email address"), "js", null, true);
echo "',
url: '";
// line 93
echo twig_escape_filter($this->env, _gettext("Please enter a valid URL"), "js", null, true);
echo "',
date: '";
// line 94
echo twig_escape_filter($this->env, _gettext("Please enter a valid date"), "js", null, true);
echo "',
dateISO: '";
// line 95
echo twig_escape_filter($this->env, _gettext("Please enter a valid date ( ISO )"), "js", null, true);
echo "',
number: '";
// line 96
echo twig_escape_filter($this->env, _gettext("Please enter a valid number"), "js", null, true);
echo "',
creditcard: '";
// line 97
echo twig_escape_filter($this->env, _gettext("Please enter a valid credit card number"), "js", null, true);
echo "',
digits: '";
// line 98
echo twig_escape_filter($this->env, _gettext("Please enter only digits"), "js", null, true);
echo "',
equalTo: '";
// line 99
echo twig_escape_filter($this->env, _gettext("Please enter the same value again"), "js", null, true);
echo "',
maxlength: \$.validator.format('";
// line 100
echo twig_escape_filter($this->env, _gettext("Please enter no more than {0} characters"), "js", null, true);
echo "'),
minlength: \$.validator.format('";
// line 101
echo twig_escape_filter($this->env, _gettext("Please enter at least {0} characters"), "js", null, true);
echo "'),
rangelength: \$.validator.format('";
// line 102
echo twig_escape_filter($this->env, _gettext("Please enter a value between {0} and {1} characters long"), "js", null, true);
echo "'),
range: \$.validator.format('";
// line 103
echo twig_escape_filter($this->env, _gettext("Please enter a value between {0} and {1}"), "js", null, true);
echo "'),
max: \$.validator.format('";
// line 104
echo twig_escape_filter($this->env, _gettext("Please enter a value less than or equal to {0}"), "js", null, true);
echo "'),
min: \$.validator.format('";
// line 105
echo twig_escape_filter($this->env, _gettext("Please enter a value greater than or equal to {0}"), "js", null, true);
echo "'),
validationFunctionForDateTime: \$.validator.format('";
// line 106
echo twig_escape_filter($this->env, _gettext("Please enter a valid date or time"), "js", null, true);
echo "'),
validationFunctionForHex: \$.validator.format('";
// line 107
echo twig_escape_filter($this->env, _gettext("Please enter a valid HEX input"), "js", null, true);
echo "'),
validationFunctionForMd5: \$.validator.format('";
// line 108
ob_start(function () { return ''; });
// l10n: To validate the usage of a MD5 function on the column
echo _gettext("This column can not contain a 32 chars value");
$___internal_c0d3372e269e0574503a2f41d9da9ee46c20155301118077a7761b437d8bd1d2_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_c0d3372e269e0574503a2f41d9da9ee46c20155301118077a7761b437d8bd1d2_, "js");
echo "'),
validationFunctionForAesDesEncrypt: \$.validator.format('";
// line 109
ob_start(function () { return ''; });
// l10n: To validate the usage of a AES_ENCRYPT/DES_ENCRYPT function on the column
echo _gettext("These functions are meant to return a binary result; to avoid inconsistent results you should store it in a BINARY, VARBINARY, or BLOB column.");
$___internal_ef3d837e185e25a43b70a732f3186f4bbccedc44e2395e89a5dc32eba87c1325_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $___internal_ef3d837e185e25a43b70a732f3186f4bbccedc44e2395e89a5dc32eba87c1325_, "js");
echo "')
});
}
";
}
public function getTemplateName()
{
return "javascript/variables.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 517 => 109, 509 => 108, 505 => 107, 501 => 106, 497 => 105, 493 => 104, 489 => 103, 485 => 102, 481 => 101, 477 => 100, 473 => 99, 469 => 98, 465 => 97, 461 => 96, 457 => 95, 453 => 94, 449 => 93, 445 => 92, 441 => 91, 437 => 90, 428 => 84, 424 => 83, 420 => 82, 416 => 81, 408 => 76, 404 => 75, 396 => 74, 387 => 72, 379 => 71, 371 => 70, 363 => 69, 355 => 68, 347 => 67, 339 => 66, 329 => 63, 321 => 62, 313 => 61, 305 => 60, 297 => 59, 289 => 58, 281 => 57, 275 => 54, 271 => 53, 267 => 52, 263 => 51, 259 => 50, 255 => 49, 251 => 48, 241 => 45, 233 => 44, 225 => 43, 217 => 42, 209 => 41, 201 => 40, 193 => 39, 185 => 38, 177 => 37, 169 => 36, 161 => 35, 153 => 34, 147 => 31, 143 => 30, 139 => 29, 135 => 28, 131 => 27, 127 => 26, 123 => 25, 119 => 24, 115 => 23, 111 => 22, 107 => 21, 103 => 20, 94 => 18, 86 => 17, 78 => 16, 70 => 15, 67 => 14, 63 => 11, 61 => 10, 57 => 8, 55 => 7, 50 => 5, 46 => 4, 42 => 3, 37 => 2,);
}
public function getSourceContext()
{
return new Source("", "javascript/variables.twig", "/app/admin/templates/javascript/variables.twig");
}
}

View File

@@ -0,0 +1,300 @@
<?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;
/* import/javascript.twig */
class __TwigTemplate_b68a56d260ab972848db05570f5622ac9b28ba57116212c97f8d9d4f0df40b97 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
echo "\$( function() {
";
// line 3
echo " \$(\"#buttonGo\").on(\"click\", function() {
";
// line 5
echo " \$(\"#upload_form_form\").css(\"display\", \"none\");
";
// line 7
if ((($context["handler"] ?? null) != "PhpMyAdmin\\Plugins\\Import\\Upload\\UploadNoplugin")) {
// line 8
echo " ";
// line 9
echo " ";
$context["ajax_url"] = (("index.php?route=/import-status&id=" . ($context["upload_id"] ?? null)) . PhpMyAdmin\Url::getCommonRaw(["import_status" => 1], "&"));
// line 12
echo " ";
$context["promot_str"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("The file being uploaded is probably larger than the maximum allowed size or this is a known bug in webkit based (Safari, Google Chrome, Arora etc.) browsers."), false);
// line 13
echo " ";
$context["statustext_str"] = PhpMyAdmin\Sanitize::escapeJsString(_gettext("%s of %s"));
// line 14
echo " ";
$context["second_str"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("%s/sec."), false);
// line 15
echo " ";
$context["remaining_min"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("About %MIN min. %SEC sec. remaining."), false);
// line 16
echo " ";
$context["remaining_second"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("About %SEC sec. remaining."), false);
// line 17
echo " ";
$context["processed_str"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("The file is being processed, please be patient."), false);
// line 18
echo " ";
$context["import_url"] = PhpMyAdmin\Url::getCommonRaw(["import_status" => 1], "&");
// line 19
echo "
";
// line 20
ob_start(function () { return ''; });
// line 21
echo " <div class=\"upload_progress\">
<div class=\"upload_progress_bar_outer\">
<div class=\"percentage\"></div>
<div id=\"status\" class=\"upload_progress_bar_inner\">
<div class=\"percentage\"></div>
</div>
</div>
<div>
<img src=\"";
// line 29
echo twig_escape_filter($this->env, ($context["theme_image_path"] ?? null), "html", null, true);
echo "ajax_clock_small.gif\" width=\"16\" height=\"16\" alt=\"ajax clock\"> ";
echo PhpMyAdmin\Sanitize::jsFormat(_gettext("Uploading your import file…"), false);
// line 30
echo "</div>
<div id=\"statustext\"></div>
</div>
";
$context["upload_html"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 34
echo "
";
// line 36
echo " var finished = false;
var percent = 0.0;
var total = 0;
var complete = 0;
var original_title = parent && parent.document ? parent.document.title : false;
var import_start;
var perform_upload = function () {
new \$.getJSON(
\"";
// line 45
echo ($context["ajax_url"] ?? null);
echo "\",
{},
function(response) {
finished = response.finished;
percent = response.percent;
total = response.total;
complete = response.complete;
if (total==0 && complete==0 && percent==0) {
\$(\"#upload_form_status_info\").html('<img src=\"";
// line 54
echo twig_escape_filter($this->env, ($context["theme_image_path"] ?? null), "html", null, true);
echo "ajax_clock_small.gif\" width=\"16\" height=\"16\" alt=\"ajax clock\"> ";
echo ($context["promot_str"] ?? null);
echo "');
\$(\"#upload_form_status\").css(\"display\", \"none\");
} else {
var now = new Date();
now = Date.UTC(
now.getFullYear(),
now.getMonth(),
now.getDate(),
now.getHours(),
now.getMinutes(),
now.getSeconds())
+ now.getMilliseconds() - 1000;
var statustext = Functions.sprintf(
\"";
// line 67
echo ($context["statustext_str"] ?? null);
echo "\",
Functions.formatBytes(
complete, 1, Messages.strDecimalSeparator
),
Functions.formatBytes(
total, 1, Messages.strDecimalSeparator
)
);
if (\$(\"#importmain\").is(\":visible\")) {
";
// line 78
echo " \$(\"#importmain\").hide();
\$(\"#import_form_status\")
.html('";
// line 80
echo twig_spaceless(($context["upload_html"] ?? null));
echo "')
.show();
import_start = now;
}
else if (percent > 9 || complete > 2000000) {
";
// line 86
echo " var used_time = now - import_start;
var seconds = parseInt(((total - complete) / complete) * used_time / 1000);
var speed = Functions.sprintf(
\"";
// line 89
echo ($context["second_str"] ?? null);
echo "\",
Functions.formatBytes(complete / used_time * 1000, 1, Messages.strDecimalSeparator)
);
var minutes = parseInt(seconds / 60);
seconds %= 60;
var estimated_time;
if (minutes > 0) {
estimated_time = \"";
// line 97
echo ($context["remaining_min"] ?? null);
echo "\"
.replace(\"%MIN\", minutes)
.replace(\"%SEC\", seconds);
}
else {
estimated_time = \"";
// line 102
echo ($context["remaining_second"] ?? null);
echo "\"
.replace(\"%SEC\", seconds);
}
statustext += \"<br>\" + speed + \"<br><br>\" + estimated_time;
}
var percent_str = Math.round(percent) + \"%\";
\$(\"#status\").animate({width: percent_str}, 150);
\$(\".percentage\").text(percent_str);
";
// line 114
echo " if (original_title !== false) {
parent.document.title
= percent_str + \" - \" + original_title;
}
else {
document.title
= percent_str + \" - \" + original_title;
}
\$(\"#statustext\").html(statustext);
}
if (finished == true) {
if (original_title !== false) {
parent.document.title = original_title;
}
else {
document.title = original_title;
}
\$(\"#importmain\").hide();
";
// line 134
echo " \$(\"#import_form_status\")
.html('<img src=\"";
// line 135
echo twig_escape_filter($this->env, ($context["theme_image_path"] ?? null), "html", null, true);
echo "ajax_clock_small.gif\" width=\"16\" height=\"16\" alt=\"ajax clock\"> ";
echo ($context["processed_str"] ?? null);
echo "')
.show();
\$(\"#import_form_status\").load(\"index.php?route=/import-status&message=true&";
// line 137
echo ($context["import_url"] ?? null);
echo "\");
Navigation.reload();
";
// line 141
echo " }
else {
setTimeout(perform_upload, 1000);
}
});
};
setTimeout(perform_upload, 1000);
";
} else {
// line 149
echo " ";
// line 150
echo " ";
ob_start(function () { return ''; });
// line 151
echo "<img src=\"";
echo twig_escape_filter($this->env, ($context["theme_image_path"] ?? null), "html", null, true);
// line 152
echo "ajax_clock_small.gif\" width=\"16\" height=\"16\" alt=\"ajax clock\">";
// line 153
echo PhpMyAdmin\Sanitize::jsFormat(_gettext("Please be patient, the file is being uploaded. Details about the upload are not available."), false);
// line 154
echo \PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq2-9");
$context["image_tag"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 156
echo " \$('#upload_form_status_info').html('";
echo ($context["image_tag"] ?? null);
echo "');
\$(\"#upload_form_status\").css(\"display\", \"none\");
";
}
// line 159
echo " });
});
";
}
public function getTemplateName()
{
return "import/javascript.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 276 => 159, 269 => 156, 266 => 154, 264 => 153, 262 => 152, 259 => 151, 256 => 150, 254 => 149, 244 => 141, 238 => 137, 231 => 135, 228 => 134, 207 => 114, 193 => 102, 185 => 97, 174 => 89, 169 => 86, 161 => 80, 157 => 78, 144 => 67, 126 => 54, 114 => 45, 103 => 36, 100 => 34, 94 => 30, 90 => 29, 80 => 21, 78 => 20, 75 => 19, 72 => 18, 69 => 17, 66 => 16, 63 => 15, 60 => 14, 57 => 13, 54 => 12, 51 => 9, 49 => 8, 47 => 7, 43 => 5, 40 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "import/javascript.twig", "/app/admin/templates/import/javascript.twig");
}
}

View File

@@ -0,0 +1,55 @@
<?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;
/* config/form_display/tabs_bottom.twig */
class __TwigTemplate_9675d4fb0b6628cb69fd489d54418ebfd4d5ad3a9e11e25fc55ad991fb52c864 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
echo "</div>
";
}
public function getTemplateName()
{
return "config/form_display/tabs_bottom.twig";
}
public function getDebugInfo()
{
return array ( 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "config/form_display/tabs_bottom.twig", "/app/admin/templates/config/form_display/tabs_bottom.twig");
}
}

View File

@@ -0,0 +1,88 @@
<?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;
/* navigation/tree/state.twig */
class __TwigTemplate_9b4c650b2d3d64296c90ec17dceed62b6f28058674f8657e3d84ee6d2db7fdd0 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
echo ($context["quick_warp"] ?? null);
echo "
<div class=\"clearfloat\"></div>
<ul>
";
// line 6
echo ($context["fast_filter"] ?? null);
echo "
";
// line 7
echo ($context["controls"] ?? null);
echo "
</ul>
";
// line 10
echo ($context["page_selector"] ?? null);
echo "
<div id='pma_navigation_tree_content'>
<ul>
";
// line 14
echo ($context["nodes"] ?? null);
echo "
</ul>
</div>
";
}
public function getTemplateName()
{
return "navigation/tree/state.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 62 => 14, 55 => 10, 49 => 7, 45 => 6, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "navigation/tree/state.twig", "/app/admin/templates/navigation/tree/state.twig");
}
}

View File

@@ -0,0 +1,120 @@
<?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;
/* columns_definitions/column_attribute.twig */
class __TwigTemplate_ff80c83a0a194079a19a2da41031fccb08c76ffd5fae59cce40e80459a0a3715 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 ((array_key_exists("submit_attribute", $context) && (($context["submit_attribute"] ?? null) != false))) {
// line 2
echo " ";
$context["attribute"] = ($context["submit_attribute"] ?? null);
// line 3
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, // line 4
($context["column_meta"] ?? null), "Extra", [], "array", true, true, false, 4) && (twig_in_filter("on update current_timestamp", (($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = // line 5
($context["column_meta"] ?? null)) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4["Extra"] ?? null) : null)) || twig_in_filter("on update current_timestamp()", twig_lower_filter($this->env, (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = ($context["column_meta"] ?? null)) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144["Extra"] ?? null) : null)))))) {
// line 6
echo " ";
$context["attribute"] = "on update CURRENT_TIMESTAMP";
} elseif (twig_get_attribute($this->env, $this->source, // line 7
($context["extracted_columnspec"] ?? null), "attribute", [], "array", true, true, false, 7)) {
// line 8
echo " ";
$context["attribute"] = (($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b["attribute"] ?? null) : null);
} else {
// line 10
echo " ";
$context["attribute"] = "";
}
// line 12
$context["attribute"] = twig_upper_filter($this->env, ($context["attribute"] ?? null));
// line 13
echo "<select name=\"field_attribute[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\"
id=\"field_";
// line 14
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\">
";
// line 15
$context["cnt_attribute_types"] = (twig_length_filter($this->env, ($context["attribute_types"] ?? null)) - 1);
// line 16
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, ($context["cnt_attribute_types"] ?? null)));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 17
echo " <option value=\"";
echo twig_escape_filter($this->env, (($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = ($context["attribute_types"] ?? null)) && is_array($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002) || $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 instanceof ArrayAccess ? ($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002[$context["i"]] ?? null) : null), "html", null, true);
echo "\"";
// line 18
echo (((($context["attribute"] ?? null) == twig_upper_filter($this->env, (($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 = ($context["attribute_types"] ?? null)) && is_array($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4) || $__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 instanceof ArrayAccess ? ($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4[$context["i"]] ?? null) : null)))) ? (" selected=\"selected\"") : (""));
echo ">
";
// line 19
echo twig_escape_filter($this->env, (($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 = ($context["attribute_types"] ?? null)) && is_array($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666) || $__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 instanceof ArrayAccess ? ($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666[$context["i"]] ?? null) : null), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 22
echo "</select>
";
}
public function getTemplateName()
{
return "columns_definitions/column_attribute.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 97 => 22, 88 => 19, 84 => 18, 80 => 17, 75 => 16, 73 => 15, 67 => 14, 62 => 13, 60 => 12, 56 => 10, 52 => 8, 50 => 7, 47 => 6, 45 => 5, 44 => 4, 42 => 3, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "columns_definitions/column_attribute.twig", "/app/admin/templates/columns_definitions/column_attribute.twig");
}
}

View File

@@ -0,0 +1,476 @@
<?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;
/* table/structure/display_table_stats.twig */
class __TwigTemplate_9ec69676140cbb141d371e12c6b4ad6b0ad1fd9b2c69b2e5f74e244163311e9b 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
echo "<div id=\"tablestatistics\">
<fieldset>
<legend>";
// line 3
echo _gettext("Information");
echo "</legend>
";
// line 4
if ((($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = ($context["showtable"] ?? null)) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4["TABLE_COMMENT"] ?? null) : null)) {
// line 5
echo " <p>
<strong>";
// line 6
echo _gettext("Table comments:");
echo "</strong>
";
// line 7
echo twig_escape_filter($this->env, (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = ($context["showtable"] ?? null)) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144["TABLE_COMMENT"] ?? null) : null), "html", null, true);
echo "
</p>
";
}
// line 10
echo " <a id=\"showusage\"></a>
";
// line 12
if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) {
// line 13
echo " <table class=\"table table-light table-striped table-hover table-sm w-auto\">
<caption>";
// line 14
echo _gettext("Space usage");
echo "</caption>
<tbody>
<tr>
<th class=\"name\">";
// line 17
echo _gettext("Data");
echo "</th>
<td class=\"value\">";
// line 18
echo twig_escape_filter($this->env, ($context["data_size"] ?? null), "html", null, true);
echo "</td>
<td class=\"unit\">";
// line 19
echo twig_escape_filter($this->env, ($context["data_unit"] ?? null), "html", null, true);
echo "</td>
</tr>
";
// line 22
if (array_key_exists("index_size", $context)) {
// line 23
echo " <tr>
<th class=\"name\">";
// line 24
echo _gettext("Index");
echo "</th>
<td class=\"value\">";
// line 25
echo twig_escape_filter($this->env, ($context["index_size"] ?? null), "html", null, true);
echo "</td>
<td class=\"unit\">";
// line 26
echo twig_escape_filter($this->env, ($context["index_unit"] ?? null), "html", null, true);
echo "</td>
</tr>
";
}
// line 29
echo "
";
// line 30
if (array_key_exists("free_size", $context)) {
// line 31
echo " <tr>
<th class=\"name\">";
// line 32
echo _gettext("Overhead");
echo "</th>
<td class=\"value\">";
// line 33
echo twig_escape_filter($this->env, ($context["free_size"] ?? null), "html", null, true);
echo "</td>
<td class=\"unit\">";
// line 34
echo twig_escape_filter($this->env, ($context["free_unit"] ?? null), "html", null, true);
echo "</td>
</tr>
<tr>
<th class=\"name\">";
// line 37
echo _gettext("Effective");
echo "</th>
<td class=\"value\">";
// line 38
echo twig_escape_filter($this->env, ($context["effect_size"] ?? null), "html", null, true);
echo "</td>
<td class=\"unit\">";
// line 39
echo twig_escape_filter($this->env, ($context["effect_unit"] ?? null), "html", null, true);
echo "</td>
</tr>
";
}
// line 42
echo "
";
// line 43
if ((array_key_exists("tot_size", $context) && (($context["mergetable"] ?? null) == false))) {
// line 44
echo " <tr>
<th class=\"name\">";
// line 45
echo _gettext("Total");
echo "</th>
<td class=\"value\">";
// line 46
echo twig_escape_filter($this->env, ($context["tot_size"] ?? null), "html", null, true);
echo "</td>
<td class=\"unit\">";
// line 47
echo twig_escape_filter($this->env, ($context["tot_unit"] ?? null), "html", null, true);
echo "</td>
</tr>
";
}
// line 50
echo " </tbody>
";
// line 53
echo " ";
if (((array_key_exists("free_size", $context) && (((( // line 54
($context["tbl_storage_engine"] ?? null) == "MYISAM") || ( // line 55
($context["tbl_storage_engine"] ?? null) == "ARIA")) || ( // line 56
($context["tbl_storage_engine"] ?? null) == "MARIA")) || ( // line 57
($context["tbl_storage_engine"] ?? null) == "BDB"))) || (( // line 58
($context["tbl_storage_engine"] ?? null) == "INNODB") && (($context["innodb_file_per_table"] ?? null) == true)))) {
// line 59
echo " <tfoot class=\"thead-light\">
<tr class=\"print_ignore\">
<th colspan=\"3\" class=\"center\">
<a href=\"";
// line 62
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 63
($context["db"] ?? null), "table" => // line 64
($context["table"] ?? null), "sql_query" => ("OPTIMIZE TABLE " . PhpMyAdmin\Util::backquote( // line 65
($context["table"] ?? null))), "pos" => 0]);
// line 67
echo "\">
";
// line 68
echo \PhpMyAdmin\Html\Generator::getIcon("b_tbloptimize", _gettext("Optimize table"));
echo "
</a>
</th>
</tr>
</tfoot>
";
}
// line 74
echo " </table>
";
}
// line 76
echo "
";
// line 77
$context["avg_size"] = ((array_key_exists("avg_size", $context)) ? (($context["avg_size"] ?? null)) : (null));
// line 78
echo " ";
$context["avg_unit"] = ((array_key_exists("avg_unit", $context)) ? (($context["avg_unit"] ?? null)) : (null));
// line 79
echo " <table class=\"table table-light table-striped table-hover table-sm w-auto\">
<caption>";
// line 80
echo _gettext("Row statistics");
echo "</caption>
<tbody>
";
// line 82
if (twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Row_format", [], "array", true, true, false, 82)) {
// line 83
echo " <tr>
<th class=\"name\">";
// line 84
echo _gettext("Format");
echo "</th>
";
// line 85
if (((($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = ($context["showtable"] ?? null)) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b["Row_format"] ?? null) : null) == "Fixed")) {
// line 86
echo " <td class=\"value\">";
echo _gettext("static");
echo "</td>
";
} elseif (((($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = // line 87
($context["showtable"] ?? null)) && is_array($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002) || $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 instanceof ArrayAccess ? ($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002["Row_format"] ?? null) : null) == "Dynamic")) {
// line 88
echo " <td class=\"value\">";
echo _gettext("dynamic");
echo "</td>
";
} else {
// line 90
echo " <td class=\"value\">";
echo twig_escape_filter($this->env, (($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 = ($context["showtable"] ?? null)) && is_array($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4) || $__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 instanceof ArrayAccess ? ($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4["Row_format"] ?? null) : null), "html", null, true);
echo "</td>
";
}
// line 92
echo " </tr>
";
}
// line 94
echo "
";
// line 95
if ( !twig_test_empty((($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 = ($context["showtable"] ?? null)) && is_array($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666) || $__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 instanceof ArrayAccess ? ($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666["Create_options"] ?? null) : null))) {
// line 96
echo " <tr>
<th class=\"name\">";
// line 97
echo _gettext("Options");
echo "</th>
";
// line 98
if (((($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e = ($context["showtable"] ?? null)) && is_array($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e) || $__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e instanceof ArrayAccess ? ($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e["Create_options"] ?? null) : null) == "partitioned")) {
// line 99
echo " <td class=\"value\">";
echo _gettext("partitioned");
echo "</td>
";
} else {
// line 101
echo " <td class=\"value\">";
echo twig_escape_filter($this->env, (($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 = ($context["showtable"] ?? null)) && is_array($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52) || $__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 instanceof ArrayAccess ? ($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52["Create_options"] ?? null) : null), "html", null, true);
echo "</td>
";
}
// line 103
echo " </tr>
";
}
// line 105
echo "
";
// line 106
if ( !twig_test_empty(($context["table_collation"] ?? null))) {
// line 107
echo " <tr>
<th class=\"name\">";
// line 108
echo _gettext("Collation");
echo "</th>
<td class=\"value\">
<dfn title=\"";
// line 110
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table_collation"] ?? null), "description", [], "any", false, false, false, 110), "html", null, true);
echo "\">
";
// line 111
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table_collation"] ?? null), "name", [], "any", false, false, false, 111), "html", null, true);
echo "
</dfn>
</td>
</tr>
";
}
// line 116
echo "
";
// line 117
if (( !($context["is_innodb"] ?? null) && twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Rows", [], "array", true, true, false, 117))) {
// line 118
echo " <tr>
<th class=\"name\">";
// line 119
echo _gettext("Rows");
echo "</th>
<td class=\"value\">";
// line 120
echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber((($__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136 = ($context["showtable"] ?? null)) && is_array($__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136) || $__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136 instanceof ArrayAccess ? ($__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136["Rows"] ?? null) : null), 0), "html", null, true);
echo "</td>
</tr>
";
}
// line 123
echo "
";
// line 124
if ((( !($context["is_innodb"] ?? null) && twig_get_attribute($this->env, $this->source, // line 125
($context["showtable"] ?? null), "Avg_row_length", [], "array", true, true, false, 125)) && ((($__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386 = // line 126
($context["showtable"] ?? null)) && is_array($__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386) || $__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386 instanceof ArrayAccess ? ($__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386["Avg_row_length"] ?? null) : null) > 0))) {
// line 127
echo " <tr>
<th class=\"name\">";
// line 128
echo _gettext("Row length");
echo "</th>
";
// line 129
$context["avg_row_length"] = PhpMyAdmin\Util::formatByteDown((($__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9 = ($context["showtable"] ?? null)) && is_array($__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9) || $__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9 instanceof ArrayAccess ? ($__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9["Avg_row_length"] ?? null) : null), 6, 1);
// line 130
echo " <td class=\"value\">";
echo twig_escape_filter($this->env, (($__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae = ($context["avg_row_length"] ?? null)) && is_array($__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae) || $__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae instanceof ArrayAccess ? ($__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae[0] ?? null) : null), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, (($__internal_25c0fab8152b8dd6b90603159c0f2e8a936a09ab76edb5e4d7bc95d9a8d2dc8f = ($context["avg_row_length"] ?? null)) && is_array($__internal_25c0fab8152b8dd6b90603159c0f2e8a936a09ab76edb5e4d7bc95d9a8d2dc8f) || $__internal_25c0fab8152b8dd6b90603159c0f2e8a936a09ab76edb5e4d7bc95d9a8d2dc8f instanceof ArrayAccess ? ($__internal_25c0fab8152b8dd6b90603159c0f2e8a936a09ab76edb5e4d7bc95d9a8d2dc8f[1] ?? null) : null), "html", null, true);
echo "</td>
</tr>
";
}
// line 133
echo "
";
// line 134
if ((((( !($context["is_innodb"] ?? null) && twig_get_attribute($this->env, $this->source, // line 135
($context["showtable"] ?? null), "Data_length", [], "array", true, true, false, 135)) && twig_get_attribute($this->env, $this->source, // line 136
($context["showtable"] ?? null), "Rows", [], "array", true, true, false, 136)) && ((($__internal_f769f712f3484f00110c86425acea59f5af2752239e2e8596bcb6effeb425b40 = // line 137
($context["showtable"] ?? null)) && is_array($__internal_f769f712f3484f00110c86425acea59f5af2752239e2e8596bcb6effeb425b40) || $__internal_f769f712f3484f00110c86425acea59f5af2752239e2e8596bcb6effeb425b40 instanceof ArrayAccess ? ($__internal_f769f712f3484f00110c86425acea59f5af2752239e2e8596bcb6effeb425b40["Rows"] ?? null) : null) > 0)) && ( // line 138
($context["mergetable"] ?? null) == false))) {
// line 139
echo " <tr>
<th class=\"name\">";
// line 140
echo _gettext("Row size");
echo "</th>
<td class=\"value\">";
// line 141
echo twig_escape_filter($this->env, ($context["avg_size"] ?? null), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, ($context["avg_unit"] ?? null), "html", null, true);
echo "</td>
</tr>
";
}
// line 144
echo "
";
// line 145
if (twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Auto_increment", [], "array", true, true, false, 145)) {
// line 146
echo " <tr>
<th class=\"name\">";
// line 147
echo _gettext("Next autoindex");
echo "</th>
<td class=\"value\">";
// line 148
echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber((($__internal_98e944456c0f58b2585e4aa36e3a7e43f4b7c9038088f0f056004af41f4a007f = ($context["showtable"] ?? null)) && is_array($__internal_98e944456c0f58b2585e4aa36e3a7e43f4b7c9038088f0f056004af41f4a007f) || $__internal_98e944456c0f58b2585e4aa36e3a7e43f4b7c9038088f0f056004af41f4a007f instanceof ArrayAccess ? ($__internal_98e944456c0f58b2585e4aa36e3a7e43f4b7c9038088f0f056004af41f4a007f["Auto_increment"] ?? null) : null), 0), "html", null, true);
echo "</td>
</tr>
";
}
// line 151
echo "
";
// line 152
if (twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Create_time", [], "array", true, true, false, 152)) {
// line 153
echo " <tr>
<th class=\"name\">";
// line 154
echo _gettext("Creation");
echo "</th>
<td class=\"value\">";
// line 155
echo twig_escape_filter($this->env, PhpMyAdmin\Util::localisedDate(twig_date_format_filter($this->env, (($__internal_a06a70691a7ca361709a372174fa669f5ee1c1e4ed302b3a5b61c10c80c02760 = ($context["showtable"] ?? null)) && is_array($__internal_a06a70691a7ca361709a372174fa669f5ee1c1e4ed302b3a5b61c10c80c02760) || $__internal_a06a70691a7ca361709a372174fa669f5ee1c1e4ed302b3a5b61c10c80c02760 instanceof ArrayAccess ? ($__internal_a06a70691a7ca361709a372174fa669f5ee1c1e4ed302b3a5b61c10c80c02760["Create_time"] ?? null) : null), "U")), "html", null, true);
echo "</td>
</tr>
";
}
// line 158
echo "
";
// line 159
if (twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Update_time", [], "array", true, true, false, 159)) {
// line 160
echo " <tr>
<th class=\"name\">";
// line 161
echo _gettext("Last update");
echo "</th>
<td class=\"value\">";
// line 162
echo twig_escape_filter($this->env, PhpMyAdmin\Util::localisedDate(twig_date_format_filter($this->env, (($__internal_653499042eb14fd8415489ba6fa87c1e85cff03392e9f57b26d0da09b9be82ce = ($context["showtable"] ?? null)) && is_array($__internal_653499042eb14fd8415489ba6fa87c1e85cff03392e9f57b26d0da09b9be82ce) || $__internal_653499042eb14fd8415489ba6fa87c1e85cff03392e9f57b26d0da09b9be82ce instanceof ArrayAccess ? ($__internal_653499042eb14fd8415489ba6fa87c1e85cff03392e9f57b26d0da09b9be82ce["Update_time"] ?? null) : null), "U")), "html", null, true);
echo "</td>
</tr>
";
}
// line 165
echo "
";
// line 166
if (twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Check_time", [], "array", true, true, false, 166)) {
// line 167
echo " <tr>
<th class=\"name\">";
// line 168
echo _gettext("Last check");
echo "</th>
<td class=\"value\">";
// line 169
echo twig_escape_filter($this->env, PhpMyAdmin\Util::localisedDate(twig_date_format_filter($this->env, (($__internal_ba9f0a3bb95c082f61c9fbf892a05514d732703d52edc77b51f2e6284135900b = ($context["showtable"] ?? null)) && is_array($__internal_ba9f0a3bb95c082f61c9fbf892a05514d732703d52edc77b51f2e6284135900b) || $__internal_ba9f0a3bb95c082f61c9fbf892a05514d732703d52edc77b51f2e6284135900b instanceof ArrayAccess ? ($__internal_ba9f0a3bb95c082f61c9fbf892a05514d732703d52edc77b51f2e6284135900b["Check_time"] ?? null) : null), "U")), "html", null, true);
echo "</td>
</tr>
";
}
// line 172
echo " </tbody>
</table>
</fieldset>
</div>
";
}
public function getTemplateName()
{
return "table/structure/display_table_stats.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 450 => 172, 444 => 169, 440 => 168, 437 => 167, 435 => 166, 432 => 165, 426 => 162, 422 => 161, 419 => 160, 417 => 159, 414 => 158, 408 => 155, 404 => 154, 401 => 153, 399 => 152, 396 => 151, 390 => 148, 386 => 147, 383 => 146, 381 => 145, 378 => 144, 370 => 141, 366 => 140, 363 => 139, 361 => 138, 360 => 137, 359 => 136, 358 => 135, 357 => 134, 354 => 133, 345 => 130, 343 => 129, 339 => 128, 336 => 127, 334 => 126, 333 => 125, 332 => 124, 329 => 123, 323 => 120, 319 => 119, 316 => 118, 314 => 117, 311 => 116, 303 => 111, 299 => 110, 294 => 108, 291 => 107, 289 => 106, 286 => 105, 282 => 103, 276 => 101, 270 => 99, 268 => 98, 264 => 97, 261 => 96, 259 => 95, 256 => 94, 252 => 92, 246 => 90, 240 => 88, 238 => 87, 233 => 86, 231 => 85, 227 => 84, 224 => 83, 222 => 82, 217 => 80, 214 => 79, 211 => 78, 209 => 77, 206 => 76, 202 => 74, 193 => 68, 190 => 67, 188 => 65, 187 => 64, 186 => 63, 183 => 62, 178 => 59, 176 => 58, 175 => 57, 174 => 56, 173 => 55, 172 => 54, 170 => 53, 166 => 50, 160 => 47, 156 => 46, 152 => 45, 149 => 44, 147 => 43, 144 => 42, 138 => 39, 134 => 38, 130 => 37, 124 => 34, 120 => 33, 116 => 32, 113 => 31, 111 => 30, 108 => 29, 102 => 26, 98 => 25, 94 => 24, 91 => 23, 89 => 22, 83 => 19, 79 => 18, 75 => 17, 69 => 14, 66 => 13, 64 => 12, 60 => 10, 54 => 7, 50 => 6, 47 => 5, 45 => 4, 41 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/structure/display_table_stats.twig", "/app/admin/templates/table/structure/display_table_stats.twig");
}
}

View File

@@ -0,0 +1,502 @@
<?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;
/* columns_definitions/partitions.twig */
class __TwigTemplate_75906a37e5d4f41aef91888917ec0eb24adf69fff8b4bfcd5af3291167f8c388 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
$context["partition_options"] = [0 => "", 1 => "HASH", 2 => "LINEAR HASH", 3 => "KEY", 4 => "LINEAR KEY", 5 => "RANGE", 6 => "RANGE COLUMNS", 7 => "LIST", 8 => "LIST COLUMNS"];
// line 12
$context["sub_partition_options"] = [0 => "", 1 => "HASH", 2 => "LINEAR HASH", 3 => "KEY", 4 => "LINEAR KEY"];
// line 13
$context["value_type_options"] = [0 => "", 1 => "LESS THAN", 2 => "LESS THAN MAXVALUE", 3 => "IN"];
// line 14
echo "
<table class=\"pma-table\" id=\"partition_table\">
<tr class=\"vmiddle\">
<td><label for=\"partition_by\">";
// line 17
echo _gettext("Partition by:");
echo "</label></td>
<td>
<select name=\"partition_by\" id=\"partition_by\">
";
// line 20
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["partition_options"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 21
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "\"";
// line 22
if (((($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = ($context["partition_details"] ?? null)) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4["partition_by"] ?? null) : null) == $context["option"])) {
// line 23
echo " selected=\"selected\"";
}
// line 24
echo ">
";
// line 25
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 28
echo " </select>
</td>
<td>
(<input name=\"partition_expr\" type=\"text\"
placeholder=\"";
// line 32
echo _gettext("Expression or column list");
echo "\"
value=\"";
// line 33
echo twig_escape_filter($this->env, (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = ($context["partition_details"] ?? null)) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144["partition_expr"] ?? null) : null), "html", null, true);
echo "\">)
</td>
</tr>
<tr class=\"vmiddle\">
<td><label for=\"partition_count\">";
// line 37
echo _gettext("Partitions:");
echo "</label></td>
<td colspan=\"2\">
<input name=\"partition_count\" type=\"number\" min=\"2\"
value=\"";
// line 40
echo twig_escape_filter($this->env, (($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = ($context["partition_details"] ?? null)) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b["partition_count"] ?? null) : null), "html", null, true);
echo "\">
</td>
</tr>
";
// line 43
if ((($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = ($context["partition_details"] ?? null)) && is_array($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002) || $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 instanceof ArrayAccess ? ($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002["can_have_subpartitions"] ?? null) : null)) {
// line 44
echo " <tr class=\"vmiddle\">
<td><label for=\"subpartition_by\">";
// line 45
echo _gettext("Subpartition by:");
echo "</label></td>
<td>
<select name=\"subpartition_by\" id=\"subpartition_by\">
";
// line 48
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["sub_partition_options"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 49
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "\"";
// line 50
if (((($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 = ($context["partition_details"] ?? null)) && is_array($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4) || $__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 instanceof ArrayAccess ? ($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4["subpartition_by"] ?? null) : null) == $context["option"])) {
// line 51
echo " selected=\"selected\"";
}
// line 52
echo ">
";
// line 53
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 56
echo " </select>
</td>
<td>
(<input name=\"subpartition_expr\" type=\"text\"
placeholder=\"";
// line 60
echo _gettext("Expression or column list");
echo "\"
value=\"";
// line 61
echo twig_escape_filter($this->env, (($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 = ($context["partition_details"] ?? null)) && is_array($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666) || $__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 instanceof ArrayAccess ? ($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666["subpartition_expr"] ?? null) : null), "html", null, true);
echo "\">)
</td>
</tr>
<tr class=\"vmiddle\">
<td><label for=\"subpartition_count\">";
// line 65
echo _gettext("Subpartitions:");
echo "</label></td>
<td colspan=\"2\">
<input name=\"subpartition_count\" type=\"number\" min=\"2\"
value=\"";
// line 68
echo twig_escape_filter($this->env, (($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e = ($context["partition_details"] ?? null)) && is_array($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e) || $__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e instanceof ArrayAccess ? ($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e["subpartition_count"] ?? null) : null), "html", null, true);
echo "\">
</td>
</tr>
";
}
// line 72
echo "</table>
";
// line 73
if (((($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 = ($context["partition_details"] ?? null)) && is_array($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52) || $__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 instanceof ArrayAccess ? ($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52["partition_count"] ?? null) : null) > 1)) {
// line 74
echo " <table class=\"pma-table\" id=\"partition_definition_table\">
<thead><tr>
<th>";
// line 76
echo _gettext("Partition");
echo "</th>
";
// line 77
if ((($__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136 = ($context["partition_details"] ?? null)) && is_array($__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136) || $__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136 instanceof ArrayAccess ? ($__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136["value_enabled"] ?? null) : null)) {
// line 78
echo " <th>";
echo _gettext("Values");
echo "</th>
";
}
// line 80
echo " ";
if (((($__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386 = ($context["partition_details"] ?? null)) && is_array($__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386) || $__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386 instanceof ArrayAccess ? ($__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386["can_have_subpartitions"] ?? null) : null) && ((($__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9 = // line 81
($context["partition_details"] ?? null)) && is_array($__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9) || $__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9 instanceof ArrayAccess ? ($__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9["subpartition_count"] ?? null) : null) > 1))) {
// line 82
echo " <th>";
echo _gettext("Subpartition");
echo "</th>
";
}
// line 84
echo " <th>";
echo _gettext("Engine");
echo "</th>
<th>";
// line 85
echo _gettext("Comment");
echo "</th>
<th>";
// line 86
echo _gettext("Data directory");
echo "</th>
<th>";
// line 87
echo _gettext("Index directory");
echo "</th>
<th>";
// line 88
echo _gettext("Max rows");
echo "</th>
<th>";
// line 89
echo _gettext("Min rows");
echo "</th>
<th>";
// line 90
echo _gettext("Table space");
echo "</th>
<th>";
// line 91
echo _gettext("Node group");
echo "</th>
</tr></thead>
";
// line 93
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((($__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae = ($context["partition_details"] ?? null)) && is_array($__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae) || $__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae instanceof ArrayAccess ? ($__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae["partitions"] ?? null) : null));
foreach ($context['_seq'] as $context["_key"] => $context["partition"]) {
// line 94
echo " ";
$context["rowspan"] = (( !twig_test_empty((($__internal_25c0fab8152b8dd6b90603159c0f2e8a936a09ab76edb5e4d7bc95d9a8d2dc8f = $context["partition"]) && is_array($__internal_25c0fab8152b8dd6b90603159c0f2e8a936a09ab76edb5e4d7bc95d9a8d2dc8f) || $__internal_25c0fab8152b8dd6b90603159c0f2e8a936a09ab76edb5e4d7bc95d9a8d2dc8f instanceof ArrayAccess ? ($__internal_25c0fab8152b8dd6b90603159c0f2e8a936a09ab76edb5e4d7bc95d9a8d2dc8f["subpartition_count"] ?? null) : null))) ? (((($__internal_f769f712f3484f00110c86425acea59f5af2752239e2e8596bcb6effeb425b40 = // line 95
$context["partition"]) && is_array($__internal_f769f712f3484f00110c86425acea59f5af2752239e2e8596bcb6effeb425b40) || $__internal_f769f712f3484f00110c86425acea59f5af2752239e2e8596bcb6effeb425b40 instanceof ArrayAccess ? ($__internal_f769f712f3484f00110c86425acea59f5af2752239e2e8596bcb6effeb425b40["subpartition_count"] ?? null) : null) + 1)) : (2));
// line 96
echo " <tr>
<td rowspan=\"";
// line 97
echo twig_escape_filter($this->env, ($context["rowspan"] ?? null), "html", null, true);
echo "\">
<input type=\"text\" name=\"";
// line 98
echo twig_escape_filter($this->env, (($__internal_98e944456c0f58b2585e4aa36e3a7e43f4b7c9038088f0f056004af41f4a007f = $context["partition"]) && is_array($__internal_98e944456c0f58b2585e4aa36e3a7e43f4b7c9038088f0f056004af41f4a007f) || $__internal_98e944456c0f58b2585e4aa36e3a7e43f4b7c9038088f0f056004af41f4a007f instanceof ArrayAccess ? ($__internal_98e944456c0f58b2585e4aa36e3a7e43f4b7c9038088f0f056004af41f4a007f["prefix"] ?? null) : null), "html", null, true);
echo "[name]\"
value=\"";
// line 99
echo twig_escape_filter($this->env, (($__internal_a06a70691a7ca361709a372174fa669f5ee1c1e4ed302b3a5b61c10c80c02760 = $context["partition"]) && is_array($__internal_a06a70691a7ca361709a372174fa669f5ee1c1e4ed302b3a5b61c10c80c02760) || $__internal_a06a70691a7ca361709a372174fa669f5ee1c1e4ed302b3a5b61c10c80c02760 instanceof ArrayAccess ? ($__internal_a06a70691a7ca361709a372174fa669f5ee1c1e4ed302b3a5b61c10c80c02760["name"] ?? null) : null), "html", null, true);
echo "\">
</td>
";
// line 101
if ((($__internal_653499042eb14fd8415489ba6fa87c1e85cff03392e9f57b26d0da09b9be82ce = ($context["partition_details"] ?? null)) && is_array($__internal_653499042eb14fd8415489ba6fa87c1e85cff03392e9f57b26d0da09b9be82ce) || $__internal_653499042eb14fd8415489ba6fa87c1e85cff03392e9f57b26d0da09b9be82ce instanceof ArrayAccess ? ($__internal_653499042eb14fd8415489ba6fa87c1e85cff03392e9f57b26d0da09b9be82ce["value_enabled"] ?? null) : null)) {
// line 102
echo " <td rowspan=\"";
echo twig_escape_filter($this->env, ($context["rowspan"] ?? null), "html", null, true);
echo "\" class=\"vmiddle\">
<select class=\"partition_value\"
name=\"";
// line 104
echo twig_escape_filter($this->env, (($__internal_ba9f0a3bb95c082f61c9fbf892a05514d732703d52edc77b51f2e6284135900b = $context["partition"]) && is_array($__internal_ba9f0a3bb95c082f61c9fbf892a05514d732703d52edc77b51f2e6284135900b) || $__internal_ba9f0a3bb95c082f61c9fbf892a05514d732703d52edc77b51f2e6284135900b instanceof ArrayAccess ? ($__internal_ba9f0a3bb95c082f61c9fbf892a05514d732703d52edc77b51f2e6284135900b["prefix"] ?? null) : null), "html", null, true);
echo "[value_type]\">
";
// line 105
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["value_type_options"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 106
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "\"";
// line 107
if (((($__internal_73db8eef4d2582468dab79a6b09c77ce3b48675a610afd65a1f325b68804a60c = $context["partition"]) && is_array($__internal_73db8eef4d2582468dab79a6b09c77ce3b48675a610afd65a1f325b68804a60c) || $__internal_73db8eef4d2582468dab79a6b09c77ce3b48675a610afd65a1f325b68804a60c instanceof ArrayAccess ? ($__internal_73db8eef4d2582468dab79a6b09c77ce3b48675a610afd65a1f325b68804a60c["value_type"] ?? null) : null) == $context["option"])) {
// line 108
echo " selected=\"selected\"";
}
// line 109
echo ">
";
// line 110
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 113
echo " </select>
<input type=\"text\" class=\"partition_value\"
name=\"";
// line 115
echo twig_escape_filter($this->env, (($__internal_d8ad5934f1874c52fa2ac9a4dfae52038b39b8b03cfc82eeb53de6151d883972 = $context["partition"]) && is_array($__internal_d8ad5934f1874c52fa2ac9a4dfae52038b39b8b03cfc82eeb53de6151d883972) || $__internal_d8ad5934f1874c52fa2ac9a4dfae52038b39b8b03cfc82eeb53de6151d883972 instanceof ArrayAccess ? ($__internal_d8ad5934f1874c52fa2ac9a4dfae52038b39b8b03cfc82eeb53de6151d883972["prefix"] ?? null) : null), "html", null, true);
echo "[value]\"
value=\"";
// line 116
echo twig_escape_filter($this->env, (($__internal_df39c71428eaf37baa1ea2198679e0077f3699bdd31bb5ba10d084710b9da216 = $context["partition"]) && is_array($__internal_df39c71428eaf37baa1ea2198679e0077f3699bdd31bb5ba10d084710b9da216) || $__internal_df39c71428eaf37baa1ea2198679e0077f3699bdd31bb5ba10d084710b9da216 instanceof ArrayAccess ? ($__internal_df39c71428eaf37baa1ea2198679e0077f3699bdd31bb5ba10d084710b9da216["value"] ?? null) : null), "html", null, true);
echo "\">
</td>
";
}
// line 119
echo " </tr>
";
// line 121
if (twig_get_attribute($this->env, $this->source, $context["partition"], "subpartitions", [], "array", true, true, false, 121)) {
// line 122
echo " ";
$context["subpartitions"] = (($__internal_bf0e189d688dc2ad611b50a437a32d3692fb6b8be90d2228617cfa6db44e75c0 = $context["partition"]) && is_array($__internal_bf0e189d688dc2ad611b50a437a32d3692fb6b8be90d2228617cfa6db44e75c0) || $__internal_bf0e189d688dc2ad611b50a437a32d3692fb6b8be90d2228617cfa6db44e75c0 instanceof ArrayAccess ? ($__internal_bf0e189d688dc2ad611b50a437a32d3692fb6b8be90d2228617cfa6db44e75c0["subpartitions"] ?? null) : null);
// line 123
echo " ";
} else {
// line 124
echo " ";
$context["subpartitions"] = [0 => $context["partition"]];
// line 125
echo " ";
}
// line 126
echo "
";
// line 127
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["subpartitions"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["subpartition"]) {
// line 128
echo " <tr>
";
// line 129
if (((($__internal_674c0abf302105af78b0a38907d86c5dd0028bdc3ee5f24bf52771a16487760c = ($context["partition_details"] ?? null)) && is_array($__internal_674c0abf302105af78b0a38907d86c5dd0028bdc3ee5f24bf52771a16487760c) || $__internal_674c0abf302105af78b0a38907d86c5dd0028bdc3ee5f24bf52771a16487760c instanceof ArrayAccess ? ($__internal_674c0abf302105af78b0a38907d86c5dd0028bdc3ee5f24bf52771a16487760c["can_have_subpartitions"] ?? null) : null) && ((($__internal_dd839fbfcab68823c49af471c7df7659a500fe72e71b58d6b80d896bdb55e75f = // line 130
($context["partition_details"] ?? null)) && is_array($__internal_dd839fbfcab68823c49af471c7df7659a500fe72e71b58d6b80d896bdb55e75f) || $__internal_dd839fbfcab68823c49af471c7df7659a500fe72e71b58d6b80d896bdb55e75f instanceof ArrayAccess ? ($__internal_dd839fbfcab68823c49af471c7df7659a500fe72e71b58d6b80d896bdb55e75f["subpartition_count"] ?? null) : null) > 1))) {
// line 131
echo " <td>
<input type=\"text\" name=\"";
// line 132
echo twig_escape_filter($this->env, (($__internal_a7ed47878554bdc32b70e1ba5ccc67d2302196876fbf62b4c853b20cb9e029fc = $context["subpartition"]) && is_array($__internal_a7ed47878554bdc32b70e1ba5ccc67d2302196876fbf62b4c853b20cb9e029fc) || $__internal_a7ed47878554bdc32b70e1ba5ccc67d2302196876fbf62b4c853b20cb9e029fc instanceof ArrayAccess ? ($__internal_a7ed47878554bdc32b70e1ba5ccc67d2302196876fbf62b4c853b20cb9e029fc["prefix"] ?? null) : null), "html", null, true);
echo "[name]\"
value=\"";
// line 133
echo twig_escape_filter($this->env, (($__internal_e5d7b41e16b744b68da1e9bb49047b8028ced86c782900009b4b4029b83d4b55 = $context["subpartition"]) && is_array($__internal_e5d7b41e16b744b68da1e9bb49047b8028ced86c782900009b4b4029b83d4b55) || $__internal_e5d7b41e16b744b68da1e9bb49047b8028ced86c782900009b4b4029b83d4b55 instanceof ArrayAccess ? ($__internal_e5d7b41e16b744b68da1e9bb49047b8028ced86c782900009b4b4029b83d4b55["name"] ?? null) : null), "html", null, true);
echo "\">
</td>
";
}
// line 136
echo " <td>
<select name=\"";
// line 137
echo twig_escape_filter($this->env, (($__internal_9e93f398968fa0576dce82fd00f280e95c734ad3f84e7816ff09158ae224f5ba = $context["subpartition"]) && is_array($__internal_9e93f398968fa0576dce82fd00f280e95c734ad3f84e7816ff09158ae224f5ba) || $__internal_9e93f398968fa0576dce82fd00f280e95c734ad3f84e7816ff09158ae224f5ba instanceof ArrayAccess ? ($__internal_9e93f398968fa0576dce82fd00f280e95c734ad3f84e7816ff09158ae224f5ba["prefix"] ?? null) : null), "html", null, true);
echo "[engine]\" aria-label=\"";
echo _gettext("Storage engine");
echo "\">
<option value=\"\"></option>
";
// line 139
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["storage_engines"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["engine"]) {
// line 140
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 140), "html", null, true);
echo "\"";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 140))) {
echo " title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 140), "html", null, true);
echo "\"";
}
// line 141
echo (((twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 141)) == twig_lower_filter($this->env, (($__internal_0795e3de58b6454b051261c0c2b5be48852e17f25b59d4aeef29fb07c614bd78 = $context["subpartition"]) && is_array($__internal_0795e3de58b6454b051261c0c2b5be48852e17f25b59d4aeef29fb07c614bd78) || $__internal_0795e3de58b6454b051261c0c2b5be48852e17f25b59d4aeef29fb07c614bd78 instanceof ArrayAccess ? ($__internal_0795e3de58b6454b051261c0c2b5be48852e17f25b59d4aeef29fb07c614bd78["engine"] ?? null) : null)))) ? (" selected") : (""));
echo ">";
// line 142
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 142), "html", null, true);
// line 143
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['engine'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 145
echo " </select>
</td>
<td>
<textarea name=\"";
// line 148
echo twig_escape_filter($this->env, (($__internal_fecb0565c93d0b979a95c352ff76e401e0ae0c73bb8d3b443c8c6133e1c190de = $context["subpartition"]) && is_array($__internal_fecb0565c93d0b979a95c352ff76e401e0ae0c73bb8d3b443c8c6133e1c190de) || $__internal_fecb0565c93d0b979a95c352ff76e401e0ae0c73bb8d3b443c8c6133e1c190de instanceof ArrayAccess ? ($__internal_fecb0565c93d0b979a95c352ff76e401e0ae0c73bb8d3b443c8c6133e1c190de["prefix"] ?? null) : null), "html", null, true);
echo "[comment]\">";
// line 149
echo twig_escape_filter($this->env, (($__internal_87570a635eac7f6e150744bd218085d17aff15d92d9c80a66d3b911e3355b828 = $context["subpartition"]) && is_array($__internal_87570a635eac7f6e150744bd218085d17aff15d92d9c80a66d3b911e3355b828) || $__internal_87570a635eac7f6e150744bd218085d17aff15d92d9c80a66d3b911e3355b828 instanceof ArrayAccess ? ($__internal_87570a635eac7f6e150744bd218085d17aff15d92d9c80a66d3b911e3355b828["comment"] ?? null) : null), "html", null, true);
// line 150
echo "</textarea>
</td>
<td>
<input type=\"text\" name=\"";
// line 153
echo twig_escape_filter($this->env, (($__internal_17b5b5f9aaeec4b528bfeed02b71f624021d6a52d927f441de2f2204d0e527cd = $context["subpartition"]) && is_array($__internal_17b5b5f9aaeec4b528bfeed02b71f624021d6a52d927f441de2f2204d0e527cd) || $__internal_17b5b5f9aaeec4b528bfeed02b71f624021d6a52d927f441de2f2204d0e527cd instanceof ArrayAccess ? ($__internal_17b5b5f9aaeec4b528bfeed02b71f624021d6a52d927f441de2f2204d0e527cd["prefix"] ?? null) : null), "html", null, true);
echo "[data_directory]\"
value=\"";
// line 154
echo twig_escape_filter($this->env, (($__internal_0db9a23306660395861a0528381e0668025e56a8a99f399e9ec23a4b392422d6 = $context["subpartition"]) && is_array($__internal_0db9a23306660395861a0528381e0668025e56a8a99f399e9ec23a4b392422d6) || $__internal_0db9a23306660395861a0528381e0668025e56a8a99f399e9ec23a4b392422d6 instanceof ArrayAccess ? ($__internal_0db9a23306660395861a0528381e0668025e56a8a99f399e9ec23a4b392422d6["data_directory"] ?? null) : null), "html", null, true);
echo "\">
</td>
<td>
<input type=\"text\" name=\"";
// line 157
echo twig_escape_filter($this->env, (($__internal_0a23ad2f11a348e49c87410947e20d5a4e711234ce49927662da5dddac687855 = $context["subpartition"]) && is_array($__internal_0a23ad2f11a348e49c87410947e20d5a4e711234ce49927662da5dddac687855) || $__internal_0a23ad2f11a348e49c87410947e20d5a4e711234ce49927662da5dddac687855 instanceof ArrayAccess ? ($__internal_0a23ad2f11a348e49c87410947e20d5a4e711234ce49927662da5dddac687855["prefix"] ?? null) : null), "html", null, true);
echo "[index_directory]\"
value=\"";
// line 158
echo twig_escape_filter($this->env, (($__internal_0228c5445a74540c89ea8a758478d405796357800f8af831a7f7e1e2c0159d9b = $context["subpartition"]) && is_array($__internal_0228c5445a74540c89ea8a758478d405796357800f8af831a7f7e1e2c0159d9b) || $__internal_0228c5445a74540c89ea8a758478d405796357800f8af831a7f7e1e2c0159d9b instanceof ArrayAccess ? ($__internal_0228c5445a74540c89ea8a758478d405796357800f8af831a7f7e1e2c0159d9b["index_directory"] ?? null) : null), "html", null, true);
echo "\">
</td>
<td>
<input type=\"number\" name=\"";
// line 161
echo twig_escape_filter($this->env, (($__internal_6fb04c4457ec9ffa7dd6fd2300542be8b961b6e5f7858a80a282f47b43ddae5f = $context["subpartition"]) && is_array($__internal_6fb04c4457ec9ffa7dd6fd2300542be8b961b6e5f7858a80a282f47b43ddae5f) || $__internal_6fb04c4457ec9ffa7dd6fd2300542be8b961b6e5f7858a80a282f47b43ddae5f instanceof ArrayAccess ? ($__internal_6fb04c4457ec9ffa7dd6fd2300542be8b961b6e5f7858a80a282f47b43ddae5f["prefix"] ?? null) : null), "html", null, true);
echo "[max_rows]\"
value=\"";
// line 162
echo twig_escape_filter($this->env, (($__internal_417a1a95b289c75779f33186a6dc0b71d01f257b68beae7dcb9d2d769acca0e0 = $context["subpartition"]) && is_array($__internal_417a1a95b289c75779f33186a6dc0b71d01f257b68beae7dcb9d2d769acca0e0) || $__internal_417a1a95b289c75779f33186a6dc0b71d01f257b68beae7dcb9d2d769acca0e0 instanceof ArrayAccess ? ($__internal_417a1a95b289c75779f33186a6dc0b71d01f257b68beae7dcb9d2d769acca0e0["max_rows"] ?? null) : null), "html", null, true);
echo "\">
</td>
<td>
<input type=\"number\" min=\"0\" name=\"";
// line 165
echo twig_escape_filter($this->env, (($__internal_af3439635eb343262861f05093b3dcce5d4dae1e20a47bc25a2eef28135b0d55 = $context["subpartition"]) && is_array($__internal_af3439635eb343262861f05093b3dcce5d4dae1e20a47bc25a2eef28135b0d55) || $__internal_af3439635eb343262861f05093b3dcce5d4dae1e20a47bc25a2eef28135b0d55 instanceof ArrayAccess ? ($__internal_af3439635eb343262861f05093b3dcce5d4dae1e20a47bc25a2eef28135b0d55["prefix"] ?? null) : null), "html", null, true);
echo "[min_rows]\"
value=\"";
// line 166
echo twig_escape_filter($this->env, (($__internal_b16f7904bcaaa7a87404cbf85addc7a8645dff94eef4e8ae7182b86e3638e76a = $context["subpartition"]) && is_array($__internal_b16f7904bcaaa7a87404cbf85addc7a8645dff94eef4e8ae7182b86e3638e76a) || $__internal_b16f7904bcaaa7a87404cbf85addc7a8645dff94eef4e8ae7182b86e3638e76a instanceof ArrayAccess ? ($__internal_b16f7904bcaaa7a87404cbf85addc7a8645dff94eef4e8ae7182b86e3638e76a["min_rows"] ?? null) : null), "html", null, true);
echo "\">
</td>
<td>
<input type=\"text\" min=\"0\" name=\"";
// line 169
echo twig_escape_filter($this->env, (($__internal_462377748602ccf3a44a10ced4240983cec8df1ad86ab53e582fcddddb98fc88 = $context["subpartition"]) && is_array($__internal_462377748602ccf3a44a10ced4240983cec8df1ad86ab53e582fcddddb98fc88) || $__internal_462377748602ccf3a44a10ced4240983cec8df1ad86ab53e582fcddddb98fc88 instanceof ArrayAccess ? ($__internal_462377748602ccf3a44a10ced4240983cec8df1ad86ab53e582fcddddb98fc88["prefix"] ?? null) : null), "html", null, true);
echo "[tablespace]\"
value=\"";
// line 170
echo twig_escape_filter($this->env, (($__internal_be1db6a1ea9fa5c04c40f99df0ec5af053ca391863fc6256c5c4ee249724f758 = $context["subpartition"]) && is_array($__internal_be1db6a1ea9fa5c04c40f99df0ec5af053ca391863fc6256c5c4ee249724f758) || $__internal_be1db6a1ea9fa5c04c40f99df0ec5af053ca391863fc6256c5c4ee249724f758 instanceof ArrayAccess ? ($__internal_be1db6a1ea9fa5c04c40f99df0ec5af053ca391863fc6256c5c4ee249724f758["tablespace"] ?? null) : null), "html", null, true);
echo "\">
</td>
<td>
<input type=\"text\" name=\"";
// line 173
echo twig_escape_filter($this->env, (($__internal_6e6eda1691934a8f5855a3221f5a9f036391304a5cda73a3a2009f2961a84c35 = $context["subpartition"]) && is_array($__internal_6e6eda1691934a8f5855a3221f5a9f036391304a5cda73a3a2009f2961a84c35) || $__internal_6e6eda1691934a8f5855a3221f5a9f036391304a5cda73a3a2009f2961a84c35 instanceof ArrayAccess ? ($__internal_6e6eda1691934a8f5855a3221f5a9f036391304a5cda73a3a2009f2961a84c35["prefix"] ?? null) : null), "html", null, true);
echo "[node_group]\"
value=\"";
// line 174
echo twig_escape_filter($this->env, (($__internal_51c633083c79004f3cb5e9e2b2f3504f650f1561800582801028bcbcf733a06b = $context["subpartition"]) && is_array($__internal_51c633083c79004f3cb5e9e2b2f3504f650f1561800582801028bcbcf733a06b) || $__internal_51c633083c79004f3cb5e9e2b2f3504f650f1561800582801028bcbcf733a06b instanceof ArrayAccess ? ($__internal_51c633083c79004f3cb5e9e2b2f3504f650f1561800582801028bcbcf733a06b["node_group"] ?? null) : null), "html", null, true);
echo "\">
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subpartition'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 178
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['partition'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 179
echo " </table>
";
}
}
public function getTemplateName()
{
return "columns_definitions/partitions.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 478 => 179, 472 => 178, 462 => 174, 458 => 173, 452 => 170, 448 => 169, 442 => 166, 438 => 165, 432 => 162, 428 => 161, 422 => 158, 418 => 157, 412 => 154, 408 => 153, 403 => 150, 401 => 149, 398 => 148, 393 => 145, 386 => 143, 384 => 142, 381 => 141, 372 => 140, 368 => 139, 361 => 137, 358 => 136, 352 => 133, 348 => 132, 345 => 131, 343 => 130, 342 => 129, 339 => 128, 335 => 127, 332 => 126, 329 => 125, 326 => 124, 323 => 123, 320 => 122, 318 => 121, 314 => 119, 308 => 116, 304 => 115, 300 => 113, 291 => 110, 288 => 109, 285 => 108, 283 => 107, 279 => 106, 275 => 105, 271 => 104, 265 => 102, 263 => 101, 258 => 99, 254 => 98, 250 => 97, 247 => 96, 245 => 95, 243 => 94, 239 => 93, 234 => 91, 230 => 90, 226 => 89, 222 => 88, 218 => 87, 214 => 86, 210 => 85, 205 => 84, 199 => 82, 197 => 81, 195 => 80, 189 => 78, 187 => 77, 183 => 76, 179 => 74, 177 => 73, 174 => 72, 167 => 68, 161 => 65, 154 => 61, 150 => 60, 144 => 56, 135 => 53, 132 => 52, 129 => 51, 127 => 50, 123 => 49, 119 => 48, 113 => 45, 110 => 44, 108 => 43, 102 => 40, 96 => 37, 89 => 33, 85 => 32, 79 => 28, 70 => 25, 67 => 24, 64 => 23, 62 => 22, 58 => 21, 54 => 20, 48 => 17, 43 => 14, 41 => 13, 39 => 12, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "columns_definitions/partitions.twig", "/app/admin/templates/columns_definitions/partitions.twig");
}
}