Dodanie właściwej konfiguracji dockera
This commit is contained in:
1 parent
6a225cb60c
commit
d3fb703ed6
4364 files changed
+828806
-10
No files matched your search
@@ -0,0 +1,294 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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_b52878a7792db838d2729759771675f2 extends 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
|
||||
yield " <div id=\"pma_navigation\" class=\"d-print-none\" data-config-navigation-width=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["config_navigation_width"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
<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 (CoreExtension::getAttribute($this->env, $this->source, ($context["logo"] ?? null), "is_displayed", [], "any", false, false, false, 8)) {
|
||||
// line 9
|
||||
yield " <div id=\"pmalogo\">
|
||||
";
|
||||
// line 10
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, ($context["logo"] ?? null), "has_link", [], "any", false, false, false, 10)) {
|
||||
// line 11
|
||||
yield " <a href=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["logo"] ?? null), "link", [], "any", true, true, false, 11)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["logo"] ?? null), "link", [], "any", false, false, false, 11), "#")) : ("#")), "html", null, true);
|
||||
yield "\"";
|
||||
yield CoreExtension::getAttribute($this->env, $this->source, ($context["logo"] ?? null), "attributes", [], "any", false, false, false, 11);
|
||||
yield ">
|
||||
";
|
||||
}
|
||||
// line 13
|
||||
yield " ";
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["logo"] ?? null), "source", [], "any", false, false, false, 13))) {
|
||||
// line 14
|
||||
yield " <img id=\"imgpmalogo\" src=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["logo"] ?? null), "source", [], "any", false, false, false, 14), "html", null, true);
|
||||
yield "\" alt=\"phpMyAdmin\">
|
||||
";
|
||||
} else {
|
||||
// line 16
|
||||
yield " <h1>phpMyAdmin</h1>
|
||||
";
|
||||
}
|
||||
// line 18
|
||||
yield " ";
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, ($context["logo"] ?? null), "has_link", [], "any", false, false, false, 18)) {
|
||||
// line 19
|
||||
yield " </a>
|
||||
";
|
||||
}
|
||||
// line 21
|
||||
yield " </div>
|
||||
";
|
||||
}
|
||||
// line 23
|
||||
yield "
|
||||
<div id=\"navipanellinks\">
|
||||
<a href=\"";
|
||||
// line 25
|
||||
yield PhpMyAdmin\Url::getFromRoute("/");
|
||||
yield "\" title=\"";
|
||||
yield _gettext("Home");
|
||||
yield "\">";
|
||||
// line 26
|
||||
yield PhpMyAdmin\Html\Generator::getImage("b_home", _gettext("Home"));
|
||||
// line 27
|
||||
yield "</a>
|
||||
|
||||
";
|
||||
// line 29
|
||||
if ((($context["server"] ?? null) != 0)) {
|
||||
// line 30
|
||||
yield " <a class=\"logout disableAjax\" href=\"";
|
||||
yield PhpMyAdmin\Url::getFromRoute("/logout");
|
||||
yield "\" title=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((($context["auth_type"] ?? null) == "config")) ? (_gettext("Empty session data")) : (_gettext("Log out"))), "html", null, true);
|
||||
yield "\">";
|
||||
// line 31
|
||||
yield PhpMyAdmin\Html\Generator::getImage("s_loggoff", (((($context["auth_type"] ?? null) == "config")) ? (_gettext("Empty session data")) : (_gettext("Log out"))));
|
||||
// line 32
|
||||
yield "</a>
|
||||
";
|
||||
}
|
||||
// line 34
|
||||
yield "
|
||||
<a href=\"";
|
||||
// line 35
|
||||
yield PhpMyAdmin\Html\MySQLDocumentation::getDocumentationLink("index");
|
||||
yield "\" title=\"";
|
||||
yield _gettext("phpMyAdmin documentation");
|
||||
yield "\" target=\"_blank\" rel=\"noopener noreferrer\">";
|
||||
// line 36
|
||||
yield PhpMyAdmin\Html\Generator::getImage("b_docs", _gettext("phpMyAdmin documentation"));
|
||||
// line 37
|
||||
yield "</a>
|
||||
|
||||
<a href=\"";
|
||||
// line 39
|
||||
yield PhpMyAdmin\Util::getdocuURL(($context["is_mariadb"] ?? null));
|
||||
yield "\" title=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((($context["is_mariadb"] ?? null)) ? (_gettext("MariaDB Documentation")) : (_gettext("MySQL Documentation"))), "html", null, true);
|
||||
yield "\" target=\"_blank\" rel=\"noopener noreferrer\">";
|
||||
// line 40
|
||||
yield PhpMyAdmin\Html\Generator::getImage("b_sqlhelp", ((($context["is_mariadb"] ?? null)) ? (_gettext("MariaDB Documentation")) : (_gettext("MySQL Documentation"))));
|
||||
// line 41
|
||||
yield "</a>
|
||||
|
||||
<a id=\"pma_navigation_settings_icon\"";
|
||||
// line 43
|
||||
yield (( !($context["is_navigation_settings_enabled"] ?? null)) ? (" class=\"hide\"") : (""));
|
||||
yield " href=\"#\" title=\"";
|
||||
yield _gettext("Navigation panel settings");
|
||||
yield "\">";
|
||||
// line 44
|
||||
yield PhpMyAdmin\Html\Generator::getImage("s_cog", _gettext("Navigation panel settings"));
|
||||
// line 45
|
||||
yield "</a>
|
||||
|
||||
<a id=\"pma_navigation_reload\" href=\"#\" title=\"";
|
||||
yield _gettext("Reload navigation panel");
|
||||
// line 47
|
||||
yield "\">";
|
||||
// line 48
|
||||
yield PhpMyAdmin\Html\Generator::getImage("s_reload", _gettext("Reload navigation panel"));
|
||||
// line 49
|
||||
yield "</a>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 52
|
||||
if ((($context["is_servers_displayed"] ?? null) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["servers"] ?? null)) > 1))) {
|
||||
// line 53
|
||||
yield " <div id=\"serverChoice\">
|
||||
";
|
||||
// line 54
|
||||
yield ($context["server_select"] ?? null);
|
||||
yield "
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 57
|
||||
yield "
|
||||
";
|
||||
// line 58
|
||||
yield PhpMyAdmin\Html\Generator::getImage("ajax_clock_small", _gettext("Loading…"), ["style" => "visibility: hidden; display:none", "class" => "throbber"]);
|
||||
// line 61
|
||||
yield "
|
||||
</div>
|
||||
<div id=\"pma_navigation_tree\" class=\"list_container";
|
||||
// line 63
|
||||
yield ((($context["is_synced"] ?? null)) ? (" synced") : (""));
|
||||
yield ((($context["is_highlighted"] ?? null)) ? (" highlight") : (""));
|
||||
yield ((($context["is_autoexpanded"] ?? null)) ? (" autoexpand") : (""));
|
||||
yield "\">
|
||||
";
|
||||
}
|
||||
// line 65
|
||||
yield "
|
||||
";
|
||||
// line 66
|
||||
if ( !($context["navigation_tree"] ?? null)) {
|
||||
// line 67
|
||||
yield " ";
|
||||
yield $this->env->getFilter('error')->getCallable()(_gettext("An error has occurred while loading the navigation display"));
|
||||
yield "
|
||||
";
|
||||
} else {
|
||||
// line 69
|
||||
yield " ";
|
||||
yield ($context["navigation_tree"] ?? null);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 71
|
||||
yield "
|
||||
";
|
||||
// line 72
|
||||
if ( !($context["is_ajax"] ?? null)) {
|
||||
// line 73
|
||||
yield " </div>
|
||||
|
||||
<div id=\"pma_navi_settings_container\">
|
||||
";
|
||||
// line 76
|
||||
if (($context["is_navigation_settings_enabled"] ?? null)) {
|
||||
// line 77
|
||||
yield " ";
|
||||
yield ($context["navigation_settings"] ?? null);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 79
|
||||
yield " </div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 82
|
||||
if (($context["is_drag_drop_import_enabled"] ?? null)) {
|
||||
// line 83
|
||||
yield " <div class=\"pma_drop_handler\">
|
||||
";
|
||||
yield _gettext("Drop files here");
|
||||
// line 85
|
||||
yield " </div>
|
||||
<div class=\"pma_sql_import_status\">
|
||||
<h2>
|
||||
";
|
||||
yield _gettext("SQL upload");
|
||||
// line 89
|
||||
yield " ( <span class=\"pma_import_count\">0</span> )
|
||||
<span class=\"close\">x</span>
|
||||
<span class=\"minimize\">-</span>
|
||||
</h2>
|
||||
<div></div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 96
|
||||
yield " </div>
|
||||
";
|
||||
// line 97
|
||||
yield Twig\Extension\CoreExtension::include($this->env, $context, "modals/unhide_nav_item.twig");
|
||||
yield "
|
||||
";
|
||||
// line 98
|
||||
yield Twig\Extension\CoreExtension::include($this->env, $context, "modals/create_view.twig");
|
||||
yield "
|
||||
";
|
||||
}
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "navigation/main.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 259 => 98, 255 => 97, 252 => 96, 243 => 89, 237 => 85, 233 => 83, 231 => 82, 226 => 79, 220 => 77, 218 => 76, 213 => 73, 211 => 72, 208 => 71, 202 => 69, 196 => 67, 194 => 66, 191 => 65, 184 => 63, 180 => 61, 178 => 58, 175 => 57, 169 => 54, 166 => 53, 164 => 52, 159 => 49, 157 => 48, 155 => 47, 150 => 45, 148 => 44, 143 => 43, 139 => 41, 137 => 40, 132 => 39, 128 => 37, 126 => 36, 121 => 35, 118 => 34, 114 => 32, 112 => 31, 106 => 30, 104 => 29, 100 => 27, 98 => 26, 93 => 25, 89 => 23, 85 => 21, 81 => 19, 78 => 18, 74 => 16, 68 => 14, 65 => 13, 57 => 11, 55 => 10, 52 => 9, 50 => 8, 40 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "navigation/main.twig", "/var/www/html/phpmyadmin/templates/navigation/main.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,266 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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_799656fab81af6443cb78c206a1934a3 extends 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
|
||||
yield "<div id=\"pma_console_container\" class=\"d-print-none\">
|
||||
<div id=\"pma_console\">
|
||||
";
|
||||
// line 4
|
||||
yield " ";
|
||||
yield from $this->loadTemplate("console/toolbar.twig", "console/display.twig", 4)->unwrap()->yield(CoreExtension::toArray(["parent_div_classes" => "collapsed", "content_array" => [["switch_button console_switch", _gettext("Console"), "image" => // line 7
|
||||
($context["image"] ?? null)], ["button clear", _gettext("Clear")], ["button history", _gettext("History")], ["button options", _gettext("Options")], (( // line 11
|
||||
($context["has_bookmark_feature"] ?? null)) ? (["button bookmarks", _gettext("Bookmarks")]) : (null)), ["button debug hide", _gettext("Debug SQL")]]]));
|
||||
// line 15
|
||||
yield " ";
|
||||
// line 16
|
||||
yield " <div class=\"content\">
|
||||
<div class=\"console_message_container\">
|
||||
<div class=\"message welcome\">
|
||||
<span id=\"instructions-0\">
|
||||
";
|
||||
yield _gettext("Press Ctrl+Enter to execute query");
|
||||
// line 21
|
||||
yield " </span>
|
||||
<span class=\"hide\" id=\"instructions-1\">
|
||||
";
|
||||
yield _gettext("Press Enter to execute query");
|
||||
// line 24
|
||||
yield " </span>
|
||||
</div>
|
||||
";
|
||||
// line 26
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["sql_history"] ?? null))) {
|
||||
// line 27
|
||||
yield " ";
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::reverse($this->env->getCharset(), ($context["sql_history"] ?? null)));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["record"]) {
|
||||
// line 28
|
||||
yield " <div class=\"message history collapsed hide";
|
||||
// line 29
|
||||
yield ((CoreExtension::matches("@^SELECT[[:space:]]+@i", (($__internal_compile_0 = $context["record"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["sqlquery"] ?? null) : null))) ? (" select") : (""));
|
||||
yield "\"
|
||||
targetdb=\"";
|
||||
// line 30
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_1 = $context["record"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["db"] ?? null) : null), "html", null, true);
|
||||
yield "\" targettable=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_2 = $context["record"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["table"] ?? null) : null), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
// line 31
|
||||
yield from $this->loadTemplate("console/query_action.twig", "console/display.twig", 31)->unwrap()->yield(CoreExtension::toArray(["parent_div_classes" => "action_content", "content_array" => [["action collapse", _gettext("Collapse")], ["action expand", _gettext("Expand")], ["action requery", _gettext("Requery")], ["action edit", _gettext("Edit")], ["action explain", _gettext("Explain")], ["action profiling", _gettext("Profiling")], (( // line 40
|
||||
($context["has_bookmark_feature"] ?? null)) ? (["action bookmark", _gettext("Bookmark")]) : (null)), ["text failed", _gettext("Query failed")], ["text targetdb", _gettext("Database"), "extraSpan" => (($__internal_compile_3 = // line 42
|
||||
$context["record"]) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["db"] ?? null) : null)], ["text query_time", _gettext("Queried time"), "extraSpan" => ((CoreExtension::getAttribute($this->env, $this->source, // line 46
|
||||
$context["record"], "timevalue", [], "array", true, true, false, 46)) ? ((($__internal_compile_4 = // line 47
|
||||
$context["record"]) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["timevalue"] ?? null) : null)) : (_gettext("During current session")))]]]));
|
||||
// line 51
|
||||
yield " <span class=\"query\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_5 = $context["record"]) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["sqlquery"] ?? null) : null), "html", null, true);
|
||||
yield "</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
|
||||
yield " ";
|
||||
}
|
||||
// line 55
|
||||
yield " </div><!-- console_message_container -->
|
||||
<div class=\"query_input\">
|
||||
<span class=\"console_query_input\"></span>
|
||||
</div>
|
||||
</div><!-- message end -->
|
||||
";
|
||||
// line 61
|
||||
yield " <div class=\"mid_layer\"></div>
|
||||
";
|
||||
// line 63
|
||||
yield " <div class=\"card\" id=\"debug_console\">
|
||||
";
|
||||
// line 64
|
||||
yield from $this->loadTemplate("console/toolbar.twig", "console/display.twig", 64)->unwrap()->yield(CoreExtension::toArray(["parent_div_classes" => "", "content_array" => [["button order order_asc", _gettext("ascending")], ["button order order_desc", _gettext("descending")], ["text", _gettext("Order:")], ["switch_button", _gettext("Debug SQL")], ["button order_by sort_count", _gettext("Count")], ["button order_by sort_exec", _gettext("Execution order")], ["button order_by sort_time", _gettext("Time taken")], ["text", _gettext("Order by:")], ["button group_queries", _gettext("Group queries")], ["button ungroup_queries", _gettext("Ungroup queries")]]]));
|
||||
// line 79
|
||||
yield " <div class=\"content debug\">
|
||||
<div class=\"message welcome\"></div>
|
||||
<div class=\"debugLog\"></div>
|
||||
</div> <!-- Content -->
|
||||
<div class=\"templates\">
|
||||
";
|
||||
// line 84
|
||||
yield from $this->loadTemplate("console/query_action.twig", "console/display.twig", 84)->unwrap()->yield(CoreExtension::toArray(["parent_div_classes" => "debug_query action_content", "content_array" => [["action collapse", _gettext("Collapse")], ["action expand", _gettext("Expand")], ["action dbg_show_trace", _gettext("Show trace")], ["action dbg_hide_trace", _gettext("Hide trace")], ["text count hide", _gettext("Count"), "extraSpan" => ""], ["text time", _gettext("Time taken"), "extraSpan" => ""]]]));
|
||||
// line 95
|
||||
yield " </div> <!-- Template -->
|
||||
</div> <!-- Debug SQL card -->
|
||||
";
|
||||
// line 97
|
||||
if (($context["has_bookmark_feature"] ?? null)) {
|
||||
// line 98
|
||||
yield " <div class=\"card\" id=\"pma_bookmarks\">
|
||||
";
|
||||
// line 99
|
||||
yield from $this->loadTemplate("console/toolbar.twig", "console/display.twig", 99)->unwrap()->yield(CoreExtension::toArray(["parent_div_classes" => "", "content_array" => [["switch_button", _gettext("Bookmarks")], ["button refresh", _gettext("Refresh")], ["button add", _gettext("Add")]]]));
|
||||
// line 107
|
||||
yield " <div class=\"content bookmark\">
|
||||
";
|
||||
// line 108
|
||||
yield ($context["bookmark_content"] ?? null);
|
||||
yield "
|
||||
</div>
|
||||
<div class=\"mid_layer\"></div>
|
||||
<div class=\"card add\">
|
||||
";
|
||||
// line 112
|
||||
yield from $this->loadTemplate("console/toolbar.twig", "console/display.twig", 112)->unwrap()->yield(CoreExtension::toArray(["parent_div_classes" => "", "content_array" => [["switch_button", _gettext("Add bookmark")]]]));
|
||||
// line 118
|
||||
yield " <div class=\"content add_bookmark\">
|
||||
<div class=\"options\">
|
||||
<label>
|
||||
";
|
||||
yield _gettext("Label");
|
||||
// line 121
|
||||
yield ": <input type=\"text\" name=\"label\">
|
||||
</label>
|
||||
<label>
|
||||
";
|
||||
yield _gettext("Target database");
|
||||
// line 124
|
||||
yield ": <input type=\"text\" name=\"targetdb\">
|
||||
</label>
|
||||
<label>
|
||||
<input type=\"checkbox\" name=\"shared\">";
|
||||
yield _gettext("Share this bookmark");
|
||||
// line 128
|
||||
yield " </label>
|
||||
<button class=\"btn btn-primary\" type=\"submit\" name=\"submit\">";
|
||||
yield _gettext("OK");
|
||||
// line 129
|
||||
yield "</button>
|
||||
</div> <!-- options -->
|
||||
<div class=\"query_input\">
|
||||
<span class=\"bookmark_add_input\"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- Add bookmark card -->
|
||||
</div> <!-- Bookmarks card -->
|
||||
";
|
||||
}
|
||||
// line 138
|
||||
yield " ";
|
||||
// line 139
|
||||
yield " <div class=\"card\" id=\"pma_console_options\">
|
||||
";
|
||||
// line 140
|
||||
yield from $this->loadTemplate("console/toolbar.twig", "console/display.twig", 140)->unwrap()->yield(CoreExtension::toArray(["parent_div_classes" => "", "content_array" => [["switch_button", _gettext("Options")], ["button default", _gettext("Set default")]]]));
|
||||
// line 147
|
||||
yield " <div class=\"content\">
|
||||
<label>
|
||||
<input type=\"checkbox\" name=\"always_expand\">";
|
||||
yield _gettext("Always expand query messages");
|
||||
// line 150
|
||||
yield " </label>
|
||||
<br>
|
||||
<label>
|
||||
<input type=\"checkbox\" name=\"start_history\">";
|
||||
yield _gettext("Show query history at start");
|
||||
// line 154
|
||||
yield " </label>
|
||||
<br>
|
||||
<label>
|
||||
<input type=\"checkbox\" name=\"current_query\">";
|
||||
yield _gettext("Show current browsing query");
|
||||
// line 158
|
||||
yield " </label>
|
||||
<br>
|
||||
<label>
|
||||
<input type=\"checkbox\" name=\"enter_executes\">
|
||||
";
|
||||
yield _gettext("Execute queries on Enter and insert new line with Shift+Enter. To make this permanent, view settings.");
|
||||
// line 165
|
||||
yield " </label>
|
||||
<br>
|
||||
<label>
|
||||
<input type=\"checkbox\" name=\"dark_theme\">";
|
||||
yield _gettext("Switch to dark theme");
|
||||
// line 169
|
||||
yield " </label>
|
||||
<br>
|
||||
</div>
|
||||
</div> <!-- Options card -->
|
||||
<div class=\"templates\">
|
||||
";
|
||||
// line 175
|
||||
yield " ";
|
||||
yield from $this->loadTemplate("console/query_action.twig", "console/display.twig", 175)->unwrap()->yield(CoreExtension::toArray(["parent_div_classes" => "query_actions", "content_array" => [["action collapse", _gettext("Collapse")], ["action expand", _gettext("Expand")], ["action requery", _gettext("Requery")], ["action edit", _gettext("Edit")], ["action explain", _gettext("Explain")], ["action profiling", _gettext("Profiling")], (( // line 184
|
||||
($context["has_bookmark_feature"] ?? null)) ? (["action bookmark", _gettext("Bookmark")]) : (null)), ["text failed", _gettext("Query failed")], ["text targetdb", _gettext("Database"), "extraSpan" => ""], ["text query_time", _gettext("Queried time"), "extraSpan" => ""]]]));
|
||||
// line 190
|
||||
yield " </div>
|
||||
</div> <!-- #console end -->
|
||||
</div> <!-- #console_container end -->
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "console/display.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 231 => 190, 229 => 184, 227 => 175, 220 => 169, 214 => 165, 207 => 158, 201 => 154, 195 => 150, 190 => 147, 188 => 140, 185 => 139, 183 => 138, 172 => 129, 168 => 128, 162 => 124, 156 => 121, 150 => 118, 148 => 112, 141 => 108, 138 => 107, 136 => 99, 133 => 98, 131 => 97, 127 => 95, 125 => 84, 118 => 79, 116 => 64, 113 => 63, 110 => 61, 103 => 55, 100 => 54, 90 => 51, 88 => 47, 87 => 46, 86 => 42, 85 => 40, 84 => 31, 78 => 30, 74 => 29, 72 => 28, 67 => 27, 65 => 26, 61 => 24, 56 => 21, 49 => 16, 47 => 15, 45 => 11, 44 => 7, 42 => 4, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "console/display.twig", "/var/www/html/phpmyadmin/templates/console/display.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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_headers_for_columns.twig */
|
||||
class __TwigTemplate_8b0c404ec3290a1cf462dbc97fb85caf extends 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'] = CoreExtension::ensureTraversable(($context["columns"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["column"]) {
|
||||
// line 2
|
||||
yield " <th class=\"draggable position-sticky";
|
||||
yield ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "is_column_numeric", [], "any", false, false, false, 2)) ? (" text-end") : (""));
|
||||
yield ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "is_column_hidden", [], "any", false, false, false, 2)) ? (" hide") : (""));
|
||||
// line 3
|
||||
yield ((($context["is_sortable"] ?? null)) ? (" column_heading") : (""));
|
||||
yield (((($context["is_sortable"] ?? null) && CoreExtension::getAttribute($this->env, $this->source, $context["column"], "is_browse_marker_enabled", [], "any", false, false, false, 3))) ? (" marker") : (""));
|
||||
yield (((($context["is_sortable"] ?? null) && CoreExtension::getAttribute($this->env, $this->source, $context["column"], "is_browse_pointer_enabled", [], "any", false, false, false, 3))) ? (" pointer") : (""));
|
||||
// line 4
|
||||
yield ((( !($context["is_sortable"] ?? null) && CoreExtension::getAttribute($this->env, $this->source, $context["column"], "has_condition", [], "any", false, false, false, 4))) ? (" condition") : (""));
|
||||
yield "\" data-column=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "column_name", [], "any", false, false, false, 4), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
// line 5
|
||||
if (($context["is_sortable"] ?? null)) {
|
||||
// line 6
|
||||
yield " ";
|
||||
yield CoreExtension::getAttribute($this->env, $this->source, $context["column"], "order_link", [], "any", false, false, false, 6);
|
||||
yield "
|
||||
";
|
||||
} else {
|
||||
// line 8
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "column_name", [], "any", false, false, false, 8), "html", null, true);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 10
|
||||
yield " ";
|
||||
yield CoreExtension::getAttribute($this->env, $this->source, $context["column"], "comments", [], "any", false, false, false, 10);
|
||||
yield "
|
||||
</th>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "display/results/table_headers_for_columns.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 70 => 10, 64 => 8, 58 => 6, 56 => 5, 50 => 4, 46 => 3, 42 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "display/results/table_headers_for_columns.twig", "/var/www/html/phpmyadmin/templates/display/results/table_headers_for_columns.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,97 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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;
|
||||
|
||||
/* modals/create_view.twig */
|
||||
class __TwigTemplate_1aca9ad5ee345853561476fdeb6975a0 extends 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
|
||||
yield "<div class=\"modal fade\" id=\"createViewModal\" tabindex=\"-1\" aria-labelledby=\"createViewModalLabel\" aria-hidden=\"true\">
|
||||
<div class=\"modal-dialog modal-lg\" id=\"createViewModalDialog\">
|
||||
<div class=\"modal-content\">
|
||||
<div class=\"modal-header\">
|
||||
<h5 class=\"modal-title\" id=\"createViewModalLabel\">";
|
||||
yield _gettext("Create view");
|
||||
// line 5
|
||||
yield "</h5>
|
||||
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
|
||||
yield _gettext("Close");
|
||||
// line 6
|
||||
yield "\"></button>
|
||||
</div>
|
||||
<div class=\"modal-body\"></div>
|
||||
<div class=\"modal-footer\">
|
||||
<button type=\"button\" class=\"btn btn-secondary\" id=\"createViewModalGoButton\">";
|
||||
yield _gettext("Go");
|
||||
// line 10
|
||||
yield "</button>
|
||||
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
|
||||
yield _gettext("Close");
|
||||
// line 11
|
||||
yield "</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "modals/create_view.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 60 => 11, 56 => 10, 49 => 6, 45 => 5, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "modals/create_view.twig", "/var/www/html/phpmyadmin/templates/modals/create_view.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,298 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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/checkbox_and_links.twig */
|
||||
class __TwigTemplate_38a43753524723fd7f23d37aee3cd36d extends 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["position"] ?? null) == "left")) {
|
||||
// line 2
|
||||
yield " ";
|
||||
if (($context["has_checkbox"] ?? null)) {
|
||||
// line 3
|
||||
yield " <td class=\"text-center d-print-none\">
|
||||
<input type=\"checkbox\" class=\"multi_checkbox checkall\" id=\"id_rows_to_delete";
|
||||
// line 5
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_number"] ?? null), "html", null, true);
|
||||
yield "_left\" name=\"rows_to_delete[";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_number"] ?? null), "html", null, true);
|
||||
yield "]\" value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["where_clause"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
<input type=\"hidden\" class=\"condition_array\" value=\"";
|
||||
// line 6
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["condition"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
</td>
|
||||
";
|
||||
}
|
||||
// line 9
|
||||
yield "
|
||||
";
|
||||
// line 10
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["edit"] ?? null), "url", [], "any", false, false, false, 10))) {
|
||||
// line 11
|
||||
yield " <td class=\"text-center d-print-none edit_row_anchor";
|
||||
yield (( !CoreExtension::getAttribute($this->env, $this->source, ($context["edit"] ?? null), "clause_is_unique", [], "any", false, false, false, 11)) ? (" nonunique") : (""));
|
||||
yield "\">
|
||||
<span class=\"text-nowrap\">
|
||||
";
|
||||
// line 13
|
||||
yield PhpMyAdmin\Html\Generator::linkOrButton(CoreExtension::getAttribute($this->env, $this->source, ($context["edit"] ?? null), "url", [], "any", false, false, false, 13), CoreExtension::getAttribute($this->env, $this->source, ($context["edit"] ?? null), "params", [], "any", false, false, false, 13), CoreExtension::getAttribute($this->env, $this->source, ($context["edit"] ?? null), "string", [], "any", false, false, false, 13));
|
||||
yield "
|
||||
";
|
||||
// line 14
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["where_clause"] ?? null))) {
|
||||
// line 15
|
||||
yield " <input type=\"hidden\" class=\"where_clause\" value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["where_clause"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
}
|
||||
// line 17
|
||||
yield " </span>
|
||||
</td>
|
||||
";
|
||||
}
|
||||
// line 20
|
||||
yield "
|
||||
";
|
||||
// line 21
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["copy"] ?? null), "url", [], "any", false, false, false, 21))) {
|
||||
// line 22
|
||||
yield " <td class=\"text-center d-print-none\">
|
||||
<span class=\"text-nowrap\">
|
||||
";
|
||||
// line 24
|
||||
yield PhpMyAdmin\Html\Generator::linkOrButton(CoreExtension::getAttribute($this->env, $this->source, ($context["copy"] ?? null), "url", [], "any", false, false, false, 24), CoreExtension::getAttribute($this->env, $this->source, ($context["copy"] ?? null), "params", [], "any", false, false, false, 24), CoreExtension::getAttribute($this->env, $this->source, ($context["copy"] ?? null), "string", [], "any", false, false, false, 24));
|
||||
yield "
|
||||
";
|
||||
// line 25
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["where_clause"] ?? null))) {
|
||||
// line 26
|
||||
yield " <input type=\"hidden\" class=\"where_clause\" value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["where_clause"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
}
|
||||
// line 28
|
||||
yield " </span>
|
||||
</td>
|
||||
";
|
||||
}
|
||||
// line 31
|
||||
yield "
|
||||
";
|
||||
// line 32
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["delete"] ?? null), "url", [], "any", false, false, false, 32))) {
|
||||
// line 33
|
||||
yield " <td class=\"text-center d-print-none";
|
||||
yield ((($context["is_ajax"] ?? null)) ? (" ajax") : (""));
|
||||
yield "\">
|
||||
<span class=\"text-nowrap\">
|
||||
";
|
||||
// line 35
|
||||
yield PhpMyAdmin\Html\Generator::linkOrButton(CoreExtension::getAttribute($this->env, $this->source, ($context["delete"] ?? null), "url", [], "any", false, false, false, 35), CoreExtension::getAttribute($this->env, $this->source, ($context["delete"] ?? null), "params", [], "any", false, false, false, 35), CoreExtension::getAttribute($this->env, $this->source, ($context["delete"] ?? null), "string", [], "any", false, false, false, 35), ["class" => "delete_row requireConfirm ajax"]);
|
||||
yield "
|
||||
";
|
||||
// line 36
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["js_conf"] ?? null))) {
|
||||
// line 37
|
||||
yield " <div class=\"hide\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["js_conf"] ?? null), "html", null, true);
|
||||
yield "</div>
|
||||
";
|
||||
}
|
||||
// line 39
|
||||
yield " </span>
|
||||
</td>
|
||||
";
|
||||
}
|
||||
} elseif (( // line 42
|
||||
($context["position"] ?? null) == "right")) {
|
||||
// line 43
|
||||
yield " ";
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["delete"] ?? null), "url", [], "any", false, false, false, 43))) {
|
||||
// line 44
|
||||
yield " <td class=\"text-center d-print-none";
|
||||
yield ((($context["is_ajax"] ?? null)) ? (" ajax") : (""));
|
||||
yield "\">
|
||||
<span class=\"text-nowrap\">
|
||||
";
|
||||
// line 46
|
||||
yield PhpMyAdmin\Html\Generator::linkOrButton(CoreExtension::getAttribute($this->env, $this->source, ($context["delete"] ?? null), "url", [], "any", false, false, false, 46), CoreExtension::getAttribute($this->env, $this->source, ($context["delete"] ?? null), "params", [], "any", false, false, false, 46), CoreExtension::getAttribute($this->env, $this->source, ($context["delete"] ?? null), "string", [], "any", false, false, false, 46), ["class" => "delete_row requireConfirm ajax"]);
|
||||
yield "
|
||||
";
|
||||
// line 47
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["js_conf"] ?? null))) {
|
||||
// line 48
|
||||
yield " <div class=\"hide\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["js_conf"] ?? null), "html", null, true);
|
||||
yield "</div>
|
||||
";
|
||||
}
|
||||
// line 50
|
||||
yield " </span>
|
||||
</td>
|
||||
";
|
||||
}
|
||||
// line 53
|
||||
yield "
|
||||
";
|
||||
// line 54
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["copy"] ?? null), "url", [], "any", false, false, false, 54))) {
|
||||
// line 55
|
||||
yield " <td class=\"text-center d-print-none\">
|
||||
<span class=\"text-nowrap\">
|
||||
";
|
||||
// line 57
|
||||
yield PhpMyAdmin\Html\Generator::linkOrButton(CoreExtension::getAttribute($this->env, $this->source, ($context["copy"] ?? null), "url", [], "any", false, false, false, 57), CoreExtension::getAttribute($this->env, $this->source, ($context["copy"] ?? null), "params", [], "any", false, false, false, 57), CoreExtension::getAttribute($this->env, $this->source, ($context["copy"] ?? null), "string", [], "any", false, false, false, 57));
|
||||
yield "
|
||||
";
|
||||
// line 58
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["where_clause"] ?? null))) {
|
||||
// line 59
|
||||
yield " <input type=\"hidden\" class=\"where_clause\" value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["where_clause"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
}
|
||||
// line 61
|
||||
yield " </span>
|
||||
</td>
|
||||
";
|
||||
}
|
||||
// line 64
|
||||
yield "
|
||||
";
|
||||
// line 65
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["edit"] ?? null), "url", [], "any", false, false, false, 65))) {
|
||||
// line 66
|
||||
yield " <td class=\"text-center d-print-none edit_row_anchor";
|
||||
yield (( !CoreExtension::getAttribute($this->env, $this->source, ($context["edit"] ?? null), "clause_is_unique", [], "any", false, false, false, 66)) ? (" nonunique") : (""));
|
||||
yield "\">
|
||||
<span class=\"text-nowrap\">
|
||||
";
|
||||
// line 68
|
||||
yield PhpMyAdmin\Html\Generator::linkOrButton(CoreExtension::getAttribute($this->env, $this->source, ($context["edit"] ?? null), "url", [], "any", false, false, false, 68), CoreExtension::getAttribute($this->env, $this->source, ($context["edit"] ?? null), "params", [], "any", false, false, false, 68), CoreExtension::getAttribute($this->env, $this->source, ($context["edit"] ?? null), "string", [], "any", false, false, false, 68));
|
||||
yield "
|
||||
";
|
||||
// line 69
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["where_clause"] ?? null))) {
|
||||
// line 70
|
||||
yield " <input type=\"hidden\" class=\"where_clause\" value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["where_clause"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
}
|
||||
// line 72
|
||||
yield " </span>
|
||||
</td>
|
||||
";
|
||||
}
|
||||
// line 75
|
||||
yield "
|
||||
";
|
||||
// line 76
|
||||
if (($context["has_checkbox"] ?? null)) {
|
||||
// line 77
|
||||
yield " <td class=\"text-center d-print-none\">
|
||||
<input type=\"checkbox\" class=\"multi_checkbox checkall\" id=\"id_rows_to_delete";
|
||||
// line 79
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_number"] ?? null), "html", null, true);
|
||||
yield "_right\" name=\"rows_to_delete[";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_number"] ?? null), "html", null, true);
|
||||
yield "]\" value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["where_clause"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
<input type=\"hidden\" class=\"condition_array\" value=\"";
|
||||
// line 80
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["condition"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
</td>
|
||||
";
|
||||
}
|
||||
} else {
|
||||
// line 84
|
||||
yield " ";
|
||||
if (($context["has_checkbox"] ?? null)) {
|
||||
// line 85
|
||||
yield " <td class=\"text-center d-print-none\">
|
||||
<input type=\"checkbox\" class=\"multi_checkbox checkall\" id=\"id_rows_to_delete";
|
||||
// line 87
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_number"] ?? null), "html", null, true);
|
||||
yield "_left\" name=\"rows_to_delete[";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_number"] ?? null), "html", null, true);
|
||||
yield "]\" value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["where_clause"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
<input type=\"hidden\" class=\"condition_array\" value=\"";
|
||||
// line 88
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["condition"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
</td>
|
||||
";
|
||||
}
|
||||
}
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "display/results/checkbox_and_links.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 261 => 88, 253 => 87, 250 => 85, 247 => 84, 240 => 80, 232 => 79, 229 => 77, 227 => 76, 224 => 75, 219 => 72, 213 => 70, 211 => 69, 207 => 68, 201 => 66, 199 => 65, 196 => 64, 191 => 61, 185 => 59, 183 => 58, 179 => 57, 175 => 55, 173 => 54, 170 => 53, 165 => 50, 159 => 48, 157 => 47, 153 => 46, 147 => 44, 144 => 43, 142 => 42, 137 => 39, 131 => 37, 129 => 36, 125 => 35, 119 => 33, 117 => 32, 114 => 31, 109 => 28, 103 => 26, 101 => 25, 97 => 24, 93 => 22, 91 => 21, 88 => 20, 83 => 17, 77 => 15, 75 => 14, 71 => 13, 65 => 11, 63 => 10, 60 => 9, 54 => 6, 46 => 5, 43 => 3, 40 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "display/results/checkbox_and_links.twig", "/var/www/html/phpmyadmin/templates/display/results/checkbox_and_links.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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_da74ff7459b016918194b783d72e1a3a extends 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
|
||||
yield "</div>
|
||||
";
|
||||
// line 2
|
||||
if ((($context["check_timeout"] ?? null) == true)) {
|
||||
// line 3
|
||||
yield " </div>
|
||||
";
|
||||
}
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "login/footer.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 43 => 3, 41 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "login/footer.twig", "/var/www/html/phpmyadmin/templates/login/footer.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,756 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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_0bfb67cf4e1aa5b2fcb5c98ff3ad9044 extends 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
|
||||
yield " <div id=\"is_git_revision\"></div>
|
||||
";
|
||||
}
|
||||
// line 4
|
||||
yield "
|
||||
";
|
||||
// line 5
|
||||
yield ($context["message"] ?? null);
|
||||
yield "
|
||||
|
||||
";
|
||||
// line 7
|
||||
yield ($context["partial_logout"] ?? null);
|
||||
yield "
|
||||
|
||||
<div id=\"maincontainer\">
|
||||
";
|
||||
// line 10
|
||||
yield ($context["sync_favorite_tables"] ?? null);
|
||||
yield "
|
||||
<div class=\"container-fluid\">
|
||||
<div class=\"row mb-3\">
|
||||
<div class=\"col-lg-7 col-12\">
|
||||
";
|
||||
// line 14
|
||||
if (($context["has_server"] ?? null)) {
|
||||
// line 15
|
||||
yield " ";
|
||||
if (($context["is_demo"] ?? null)) {
|
||||
// line 16
|
||||
yield " <div class=\"card mt-4\">
|
||||
<div class=\"card-header\">
|
||||
";
|
||||
yield _gettext("phpMyAdmin Demo Server");
|
||||
// line 19
|
||||
yield " </div>
|
||||
<div class=\"card-body\">
|
||||
";
|
||||
// line 21
|
||||
$___internal_parse_0_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 22
|
||||
yield " ";
|
||||
yield _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
|
||||
yield " ";
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 21
|
||||
yield Twig\Extension\CoreExtension::sprintf($___internal_parse_0_, "<a href=\"url.php?url=https://demo.phpmyadmin.net/\" target=\"_blank\" rel=\"noopener noreferrer\">demo.phpmyadmin.net</a>");
|
||||
// line 26
|
||||
yield " </div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 29
|
||||
yield "
|
||||
<div class=\"card mt-4\">
|
||||
<div class=\"card-header\">
|
||||
";
|
||||
yield _gettext("General settings");
|
||||
// line 33
|
||||
yield " </div>
|
||||
<ul class=\"list-group list-group-flush\">
|
||||
";
|
||||
// line 35
|
||||
if (($context["has_server_selection"] ?? null)) {
|
||||
// line 36
|
||||
yield " <li id=\"li_select_server\" class=\"list-group-item\">
|
||||
";
|
||||
// line 37
|
||||
yield PhpMyAdmin\Html\Generator::getImage("s_host");
|
||||
yield "
|
||||
";
|
||||
// line 38
|
||||
yield ($context["server_selection"] ?? null);
|
||||
yield "
|
||||
</li>
|
||||
";
|
||||
}
|
||||
// line 41
|
||||
yield "
|
||||
";
|
||||
// line 42
|
||||
if ((($context["server"] ?? null) > 0)) {
|
||||
// line 43
|
||||
yield " ";
|
||||
if (($context["has_change_password_link"] ?? null)) {
|
||||
// line 44
|
||||
yield " <li id=\"li_change_password\" class=\"list-group-item\">
|
||||
<a href=\"";
|
||||
// line 45
|
||||
yield PhpMyAdmin\Url::getFromRoute("/user-password");
|
||||
yield "\" id=\"change_password_anchor\" class=\"ajax\">
|
||||
";
|
||||
// line 46
|
||||
yield PhpMyAdmin\Html\Generator::getIcon("s_passwd", _gettext("Change password"), true);
|
||||
yield "
|
||||
</a>
|
||||
</li>
|
||||
";
|
||||
}
|
||||
// line 50
|
||||
yield "
|
||||
<li id=\"li_select_mysql_collation\" class=\"list-group-item\">
|
||||
<form method=\"post\" action=\"";
|
||||
// line 52
|
||||
yield PhpMyAdmin\Url::getFromRoute("/collation-connection");
|
||||
yield "\" class=\"row row-cols-lg-auto align-items-center disableAjax\">
|
||||
";
|
||||
// line 53
|
||||
yield PhpMyAdmin\Url::getHiddenInputs(null, null, 4, "collation_connection");
|
||||
yield "
|
||||
<div class=\"col-12\">
|
||||
<label for=\"collationConnectionSelect\" class=\"col-form-label\">
|
||||
";
|
||||
// line 56
|
||||
yield PhpMyAdmin\Html\Generator::getImage("s_asci");
|
||||
yield "
|
||||
";
|
||||
yield _gettext("Server connection collation:");
|
||||
// line 58
|
||||
yield " ";
|
||||
yield PhpMyAdmin\Html\MySQLDocumentation::show("charset-connection");
|
||||
yield "
|
||||
</label>
|
||||
</div>
|
||||
";
|
||||
// line 61
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["charsets"] ?? null))) {
|
||||
// line 62
|
||||
yield " <div class=\"col-12\">
|
||||
<select lang=\"en\" dir=\"ltr\" name=\"collation_connection\" id=\"collationConnectionSelect\" class=\"form-select autosubmit\">
|
||||
<option value=\"\">";
|
||||
yield _gettext("Collation");
|
||||
// line 64
|
||||
yield "</option>
|
||||
<option value=\"\"></option>
|
||||
";
|
||||
// line 66
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["charsets"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["charset"]) {
|
||||
// line 67
|
||||
yield " <optgroup label=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 67), "html", null, true);
|
||||
yield "\" title=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 67), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
// line 68
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 68));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["collation"]) {
|
||||
// line 69
|
||||
yield " <option value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 69), "html", null, true);
|
||||
yield "\" title=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["collation"], "description", [], "any", false, false, false, 69), "html", null, true);
|
||||
yield "\"";
|
||||
yield ((CoreExtension::getAttribute($this->env, $this->source, $context["collation"], "is_selected", [], "any", false, false, false, 69)) ? (" selected") : (""));
|
||||
yield ">";
|
||||
// line 70
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 70), "html", null, true);
|
||||
// line 71
|
||||
yield "</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 73
|
||||
yield " </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 75
|
||||
yield " </select>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 78
|
||||
yield " </form>
|
||||
</li>
|
||||
|
||||
<li id=\"li_user_preferences\" class=\"list-group-item\">
|
||||
<a href=\"";
|
||||
// line 82
|
||||
yield PhpMyAdmin\Url::getFromRoute("/preferences/manage");
|
||||
yield "\">
|
||||
";
|
||||
// line 83
|
||||
yield PhpMyAdmin\Html\Generator::getIcon("b_tblops", _gettext("More settings"), true);
|
||||
yield "
|
||||
</a>
|
||||
</li>
|
||||
";
|
||||
}
|
||||
// line 87
|
||||
yield " </ul>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 90
|
||||
yield "
|
||||
";
|
||||
// line 91
|
||||
if (( !Twig\Extension\CoreExtension::testEmpty(($context["available_languages"] ?? null)) || ($context["has_theme_manager"] ?? null))) {
|
||||
// line 92
|
||||
yield " <div class=\"card mt-4\">
|
||||
<div class=\"card-header\">
|
||||
";
|
||||
yield _gettext("Appearance settings");
|
||||
// line 95
|
||||
yield " </div>
|
||||
<ul class=\"list-group list-group-flush\">
|
||||
";
|
||||
// line 97
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["available_languages"] ?? null))) {
|
||||
// line 98
|
||||
yield " <li id=\"li_select_lang\" class=\"list-group-item\">
|
||||
<form method=\"get\" action=\"";
|
||||
// line 99
|
||||
yield PhpMyAdmin\Url::getFromRoute("/");
|
||||
yield "\" class=\"row row-cols-lg-auto align-items-center disableAjax\">
|
||||
";
|
||||
// line 100
|
||||
yield PhpMyAdmin\Url::getHiddenInputs(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]);
|
||||
yield "
|
||||
<div class=\"col-12\">
|
||||
<label for=\"languageSelect\" class=\"col-form-label text-nowrap\">
|
||||
";
|
||||
// line 103
|
||||
yield PhpMyAdmin\Html\Generator::getImage("s_lang");
|
||||
yield "
|
||||
";
|
||||
yield _gettext("Language");
|
||||
// line 105
|
||||
yield " ";
|
||||
if ((_gettext("Language") != "Language")) {
|
||||
// line 106
|
||||
yield " <i lang=\"en\" dir=\"ltr\">(Language)</i>
|
||||
";
|
||||
}
|
||||
// line 110
|
||||
yield " ";
|
||||
yield PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq7-2");
|
||||
yield "
|
||||
</label>
|
||||
</div>
|
||||
<div class=\"col-12\">
|
||||
<select name=\"lang\" class=\"form-select autosubmit w-auto\" lang=\"en\" dir=\"ltr\" id=\"languageSelect\">
|
||||
";
|
||||
// line 115
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["available_languages"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
|
||||
// line 116
|
||||
yield " <option value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::lower($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["language"], "getCode", [], "method", false, false, false, 116)), "html", null, true);
|
||||
yield "\"";
|
||||
yield ((CoreExtension::getAttribute($this->env, $this->source, $context["language"], "isActive", [], "method", false, false, false, 116)) ? (" selected") : (""));
|
||||
yield ">";
|
||||
// line 117
|
||||
yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "getName", [], "method", false, false, false, 117);
|
||||
// line 118
|
||||
yield "</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 120
|
||||
yield " </select>
|
||||
</div>
|
||||
</form>
|
||||
</li>
|
||||
";
|
||||
}
|
||||
// line 125
|
||||
yield "
|
||||
";
|
||||
// line 126
|
||||
if (($context["has_theme_manager"] ?? null)) {
|
||||
// line 127
|
||||
yield " <li id=\"li_select_theme\" class=\"list-group-item\">
|
||||
<form method=\"post\" action=\"";
|
||||
// line 128
|
||||
yield PhpMyAdmin\Url::getFromRoute("/themes/set");
|
||||
yield "\" class=\"row row-cols-lg-auto align-items-center disableAjax\">
|
||||
";
|
||||
// line 129
|
||||
yield PhpMyAdmin\Url::getHiddenInputs();
|
||||
yield "
|
||||
<div class=\"col-12\">
|
||||
<label for=\"themeSelect\" class=\"col-form-label\">
|
||||
";
|
||||
// line 132
|
||||
yield PhpMyAdmin\Html\Generator::getIcon("s_theme", _gettext("Theme"));
|
||||
yield "
|
||||
</label>
|
||||
</div>
|
||||
<div class=\"col-12\">
|
||||
<div class=\"input-group\">
|
||||
<select name=\"set_theme\" class=\"form-select autosubmit\" lang=\"en\" dir=\"ltr\" id=\"themeSelect\">
|
||||
";
|
||||
// line 138
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["themes"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["theme"]) {
|
||||
// line 139
|
||||
yield " <option value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["theme"], "id", [], "any", false, false, false, 139), "html", null, true);
|
||||
yield "\"";
|
||||
yield ((CoreExtension::getAttribute($this->env, $this->source, $context["theme"], "is_active", [], "any", false, false, false, 139)) ? (" selected") : (""));
|
||||
yield ">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["theme"], "name", [], "any", false, false, false, 139), "html", null, true);
|
||||
yield "</option>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['theme'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 141
|
||||
yield " </select>
|
||||
<button type=\"button\" class=\"btn btn-outline-secondary\" data-bs-toggle=\"modal\" data-bs-target=\"#themesModal\">
|
||||
";
|
||||
yield _pgettext("View all themes", "View all");
|
||||
// line 144
|
||||
yield " </button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</li>
|
||||
";
|
||||
}
|
||||
// line 150
|
||||
yield " </ul>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 153
|
||||
yield " </div>
|
||||
|
||||
<div class=\"col-lg-5 col-12\">
|
||||
";
|
||||
// line 156
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["database_server"] ?? null))) {
|
||||
// line 157
|
||||
yield " <div class=\"card mt-4\">
|
||||
<div class=\"card-header\">
|
||||
";
|
||||
yield _gettext("Database server");
|
||||
// line 160
|
||||
yield " </div>
|
||||
<ul class=\"list-group list-group-flush\">
|
||||
<li class=\"list-group-item\">
|
||||
";
|
||||
yield _gettext("Server:");
|
||||
// line 164
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["database_server"] ?? null), "host", [], "any", false, false, false, 164), "html", null, true);
|
||||
yield "
|
||||
</li>
|
||||
<li class=\"list-group-item\">
|
||||
";
|
||||
yield _gettext("Server type:");
|
||||
// line 168
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["database_server"] ?? null), "type", [], "any", false, false, false, 168), "html", null, true);
|
||||
yield "
|
||||
</li>
|
||||
<li class=\"list-group-item\">
|
||||
";
|
||||
yield _gettext("Server connection:");
|
||||
// line 172
|
||||
yield " ";
|
||||
yield CoreExtension::getAttribute($this->env, $this->source, ($context["database_server"] ?? null), "connection", [], "any", false, false, false, 172);
|
||||
yield "
|
||||
</li>
|
||||
<li class=\"list-group-item\">
|
||||
";
|
||||
yield _gettext("Server version:");
|
||||
// line 176
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["database_server"] ?? null), "version", [], "any", false, false, false, 176), "html", null, true);
|
||||
yield "
|
||||
</li>
|
||||
<li class=\"list-group-item\">
|
||||
";
|
||||
yield _gettext("Protocol version:");
|
||||
// line 180
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["database_server"] ?? null), "protocol", [], "any", false, false, false, 180), "html", null, true);
|
||||
yield "
|
||||
</li>
|
||||
<li class=\"list-group-item\">
|
||||
";
|
||||
yield _gettext("User:");
|
||||
// line 184
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["database_server"] ?? null), "user", [], "any", false, false, false, 184), "html", null, true);
|
||||
yield "
|
||||
</li>
|
||||
<li class=\"list-group-item\">
|
||||
";
|
||||
yield _gettext("Server charset:");
|
||||
// line 188
|
||||
yield " <span lang=\"en\" dir=\"ltr\">
|
||||
";
|
||||
// line 189
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["database_server"] ?? null), "charset", [], "any", false, false, false, 189), "html", null, true);
|
||||
yield "
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 195
|
||||
yield "
|
||||
";
|
||||
// line 196
|
||||
if (( !Twig\Extension\CoreExtension::testEmpty(($context["web_server"] ?? null)) || ($context["show_php_info"] ?? null))) {
|
||||
// line 197
|
||||
yield " <div class=\"card mt-4\">
|
||||
<div class=\"card-header\">
|
||||
";
|
||||
yield _gettext("Web server");
|
||||
// line 200
|
||||
yield " </div>
|
||||
<ul class=\"list-group list-group-flush\">
|
||||
";
|
||||
// line 202
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["web_server"] ?? null))) {
|
||||
// line 203
|
||||
yield " ";
|
||||
if ( !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["web_server"] ?? null), "software", [], "any", false, false, false, 203))) {
|
||||
// line 204
|
||||
yield " <li class=\"list-group-item\">
|
||||
";
|
||||
// line 205
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["web_server"] ?? null), "software", [], "any", false, false, false, 205), "html", null, true);
|
||||
yield "
|
||||
</li>
|
||||
";
|
||||
}
|
||||
// line 208
|
||||
yield " <li class=\"list-group-item\" id=\"li_mysql_client_version\">
|
||||
";
|
||||
yield _gettext("Database client version:");
|
||||
// line 210
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["web_server"] ?? null), "database", [], "any", false, false, false, 210), "html", null, true);
|
||||
yield "
|
||||
</li>
|
||||
<li class=\"list-group-item\">
|
||||
";
|
||||
yield _gettext("PHP extension:");
|
||||
// line 214
|
||||
yield " ";
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["web_server"] ?? null), "php_extensions", [], "any", false, false, false, 214));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["extension"]) {
|
||||
// line 215
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["extension"], "html", null, true);
|
||||
yield "
|
||||
";
|
||||
// line 216
|
||||
yield PhpMyAdmin\Html\Generator::showPHPDocumentation((("book." . $context["extension"]) . ".php"));
|
||||
yield "
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['extension'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 218
|
||||
yield " </li>
|
||||
<li class=\"list-group-item\">
|
||||
";
|
||||
yield _gettext("PHP version:");
|
||||
// line 221
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["web_server"] ?? null), "php_version", [], "any", false, false, false, 221), "html", null, true);
|
||||
yield "
|
||||
</li>
|
||||
";
|
||||
}
|
||||
// line 224
|
||||
yield " ";
|
||||
if (($context["show_php_info"] ?? null)) {
|
||||
// line 225
|
||||
yield " <li class=\"list-group-item\">
|
||||
<a href=\"";
|
||||
// line 226
|
||||
yield PhpMyAdmin\Url::getFromRoute("/phpinfo");
|
||||
yield "\" target=\"_blank\" rel=\"noopener noreferrer\">
|
||||
";
|
||||
yield _gettext("Show PHP information");
|
||||
// line 228
|
||||
yield " </a>
|
||||
</li>
|
||||
";
|
||||
}
|
||||
// line 231
|
||||
yield " </ul>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 234
|
||||
yield "
|
||||
<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 240
|
||||
yield ((($context["is_version_checked"] ?? null)) ? (" jsversioncheck") : (""));
|
||||
yield "\">
|
||||
";
|
||||
yield _gettext("Version information:");
|
||||
// line 242
|
||||
yield " <span class=\"version\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["phpmyadmin_version"] ?? null), "html", null, true);
|
||||
yield "</span>
|
||||
</li>
|
||||
<li class=\"list-group-item\">
|
||||
<a href=\"";
|
||||
// line 245
|
||||
yield PhpMyAdmin\Html\MySQLDocumentation::getDocumentationLink("index");
|
||||
yield "\" target=\"_blank\" rel=\"noopener noreferrer\">
|
||||
";
|
||||
yield _gettext("Documentation");
|
||||
// line 247
|
||||
yield " </a>
|
||||
</li>
|
||||
<li class=\"list-group-item\">
|
||||
<a href=\"";
|
||||
// line 250
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/"), "html", null, true);
|
||||
yield "\" target=\"_blank\" rel=\"noopener noreferrer\">
|
||||
";
|
||||
yield _gettext("Official Homepage");
|
||||
// line 252
|
||||
yield " </a>
|
||||
</li>
|
||||
<li class=\"list-group-item\">
|
||||
<a href=\"";
|
||||
// line 255
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/contribute/"), "html", null, true);
|
||||
yield "\" target=\"_blank\" rel=\"noopener noreferrer\">
|
||||
";
|
||||
yield _gettext("Contribute");
|
||||
// line 257
|
||||
yield " </a>
|
||||
</li>
|
||||
<li class=\"list-group-item\">
|
||||
<a href=\"";
|
||||
// line 260
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/support/"), "html", null, true);
|
||||
yield "\" target=\"_blank\" rel=\"noopener noreferrer\">
|
||||
";
|
||||
yield _gettext("Get support");
|
||||
// line 262
|
||||
yield " </a>
|
||||
</li>
|
||||
<li class=\"list-group-item\">
|
||||
<a href=\"";
|
||||
// line 265
|
||||
yield PhpMyAdmin\Url::getFromRoute("/changelog");
|
||||
yield "\" target=\"_blank\">
|
||||
";
|
||||
yield _gettext("List of changes");
|
||||
// line 267
|
||||
yield " </a>
|
||||
</li>
|
||||
<li class=\"list-group-item\">
|
||||
<a href=\"";
|
||||
// line 270
|
||||
yield PhpMyAdmin\Url::getFromRoute("/license");
|
||||
yield "\" target=\"_blank\">
|
||||
";
|
||||
yield _gettext("License");
|
||||
// line 272
|
||||
yield " </a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 279
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["errors"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
|
||||
// line 280
|
||||
yield " <div class=\"alert ";
|
||||
yield (((CoreExtension::getAttribute($this->env, $this->source, $context["error"], "severity", [], "any", false, false, false, 280) == "warning")) ? ("alert-warning") : ("alert-info"));
|
||||
yield "\" role=\"alert\">
|
||||
";
|
||||
// line 281
|
||||
if ((CoreExtension::getAttribute($this->env, $this->source, $context["error"], "severity", [], "any", false, false, false, 281) == "warning")) {
|
||||
// line 282
|
||||
yield " ";
|
||||
yield PhpMyAdmin\Html\Generator::getImage("s_attention", _gettext("Warning"));
|
||||
yield "
|
||||
";
|
||||
} else {
|
||||
// line 284
|
||||
yield " ";
|
||||
yield PhpMyAdmin\Html\Generator::getImage("s_notice", _gettext("Notice"));
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 286
|
||||
yield " ";
|
||||
yield PhpMyAdmin\Sanitize::sanitizeMessage(CoreExtension::getAttribute($this->env, $this->source, $context["error"], "message", [], "any", false, false, false, 286));
|
||||
yield "
|
||||
</div>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 289
|
||||
yield " </div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 292
|
||||
if (($context["has_theme_manager"] ?? null)) {
|
||||
// line 293
|
||||
yield " <div class=\"modal fade\" id=\"themesModal\" tabindex=\"-1\" aria-labelledby=\"themesModalLabel\" aria-hidden=\"true\">
|
||||
<div class=\"modal-dialog modal-xl\">
|
||||
<div class=\"modal-content\">
|
||||
<div class=\"modal-header\">
|
||||
<h5 class=\"modal-title\" id=\"themesModalLabel\">";
|
||||
yield _gettext("phpMyAdmin Themes");
|
||||
// line 297
|
||||
yield "</h5>
|
||||
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
|
||||
yield _gettext("Close");
|
||||
// line 298
|
||||
yield "\"></button>
|
||||
</div>
|
||||
<div class=\"modal-body\">
|
||||
<div class=\"spinner-border\" role=\"status\">
|
||||
<span class=\"visually-hidden\">";
|
||||
yield _gettext("Loading…");
|
||||
// line 302
|
||||
yield "</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class=\"modal-footer\">
|
||||
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
|
||||
yield _gettext("Close");
|
||||
// line 306
|
||||
yield "</button>
|
||||
<a href=\"";
|
||||
// line 307
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/themes/"), "html", null, true);
|
||||
yield "#pma_";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::replace(($context["phpmyadmin_major_version"] ?? null), ["." => "_"]), "html", null, true);
|
||||
yield "\" class=\"btn btn-primary\" rel=\"noopener noreferrer\" target=\"_blank\">
|
||||
";
|
||||
yield _gettext("Get more themes!");
|
||||
// line 309
|
||||
yield " </a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 315
|
||||
yield "
|
||||
";
|
||||
// line 316
|
||||
yield ($context["config_storage_message"] ?? null);
|
||||
yield "
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "home/index.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 722 => 316, 719 => 315, 711 => 309, 704 => 307, 701 => 306, 694 => 302, 687 => 298, 683 => 297, 676 => 293, 674 => 292, 669 => 289, 659 => 286, 653 => 284, 647 => 282, 645 => 281, 640 => 280, 636 => 279, 627 => 272, 622 => 270, 617 => 267, 612 => 265, 607 => 262, 602 => 260, 597 => 257, 592 => 255, 587 => 252, 582 => 250, 577 => 247, 572 => 245, 565 => 242, 560 => 240, 552 => 234, 547 => 231, 542 => 228, 537 => 226, 534 => 225, 531 => 224, 524 => 221, 519 => 218, 511 => 216, 506 => 215, 501 => 214, 493 => 210, 489 => 208, 483 => 205, 480 => 204, 477 => 203, 475 => 202, 471 => 200, 466 => 197, 464 => 196, 461 => 195, 452 => 189, 449 => 188, 441 => 184, 433 => 180, 425 => 176, 417 => 172, 409 => 168, 401 => 164, 395 => 160, 390 => 157, 388 => 156, 383 => 153, 378 => 150, 370 => 144, 365 => 141, 352 => 139, 348 => 138, 339 => 132, 333 => 129, 329 => 128, 326 => 127, 324 => 126, 321 => 125, 314 => 120, 307 => 118, 305 => 117, 299 => 116, 295 => 115, 286 => 110, 282 => 106, 279 => 105, 274 => 103, 268 => 100, 264 => 99, 261 => 98, 259 => 97, 255 => 95, 250 => 92, 248 => 91, 245 => 90, 240 => 87, 233 => 83, 229 => 82, 223 => 78, 218 => 75, 211 => 73, 204 => 71, 202 => 70, 194 => 69, 190 => 68, 183 => 67, 179 => 66, 175 => 64, 170 => 62, 168 => 61, 161 => 58, 156 => 56, 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, 95 => 29, 90 => 26, 88 => 21, 84 => 25, 81 => 22, 79 => 21, 75 => 19, 70 => 16, 67 => 15, 65 => 14, 58 => 10, 52 => 7, 47 => 5, 44 => 4, 40 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "home/index.twig", "/var/www/html/phpmyadmin/templates/home/index.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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_34b153dad0125b51af9c3ece6f356d8c extends 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 ((CoreExtension::getAttribute($this->env, $this->source, ($context["comments_map"] ?? null), ($context["table_name"] ?? null), [], "array", true, true, false, 1) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 2
|
||||
($context["comments_map"] ?? null), ($context["table_name"] ?? null), [], "array", false, true, false, 2), ($context["column_name"] ?? null), [], "array", true, true, false, 2))) {
|
||||
// line 3
|
||||
yield " <br><span class=\"tblcomment\" title=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_0 = (($__internal_compile_1 = ($context["comments_map"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[($context["table_name"] ?? null)] ?? null) : null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[($context["column_name"] ?? null)] ?? null) : null), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
// line 4
|
||||
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (($__internal_compile_2 = (($__internal_compile_3 = ($context["comments_map"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[($context["table_name"] ?? null)] ?? null) : null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[($context["column_name"] ?? null)] ?? null) : null)) > ($context["limit_chars"] ?? null))) {
|
||||
// line 5
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::slice($this->env->getCharset(), (($__internal_compile_4 = (($__internal_compile_5 = ($context["comments_map"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[($context["table_name"] ?? null)] ?? null) : null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4[($context["column_name"] ?? null)] ?? null) : null), 0, ($context["limit_chars"] ?? null)), "html", null, true);
|
||||
yield "…
|
||||
";
|
||||
} else {
|
||||
// line 7
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_6 = (($__internal_compile_7 = ($context["comments_map"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7[($context["table_name"] ?? null)] ?? null) : null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6[($context["column_name"] ?? null)] ?? null) : null), "html", null, true);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 9
|
||||
yield " </span>
|
||||
";
|
||||
}
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "display/results/comment_for_row.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 60 => 9, 54 => 7, 48 => 5, 46 => 4, 41 => 3, 39 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "display/results/comment_for_row.twig", "/var/www/html/phpmyadmin/templates/display/results/comment_for_row.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,190 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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_7e99537101b8837672344c495f28d56b extends 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
|
||||
yield "<div id=\"floating_menubar\" class=\"d-print-none\"></div>
|
||||
<nav id=\"server-breadcrumb\" aria-label=\"breadcrumb\">
|
||||
<ol class=\"breadcrumb breadcrumb-navbar\">
|
||||
<li class=\"breadcrumb-item\">
|
||||
";
|
||||
// line 5
|
||||
yield ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (PhpMyAdmin\Html\Generator::getImage("s_host")) : (""));
|
||||
yield "
|
||||
<a href=\"";
|
||||
// line 6
|
||||
yield PhpMyAdmin\Url::getFromRoute(CoreExtension::getAttribute($this->env, $this->source, ($context["server"] ?? null), "url", [], "any", false, false, false, 6));
|
||||
yield "\" data-raw-text=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["server"] ?? null), "name", [], "any", false, false, false, 6), "html", null, true);
|
||||
yield "\" draggable=\"false\">
|
||||
";
|
||||
// line 7
|
||||
if (PhpMyAdmin\Util::showText("TabsMode")) {
|
||||
yield _gettext("Server:");
|
||||
}
|
||||
// line 8
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["server"] ?? null), "name", [], "any", false, false, false, 8), "html", null, true);
|
||||
yield "
|
||||
</a>
|
||||
</li>
|
||||
|
||||
";
|
||||
// line 12
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["database"] ?? null))) {
|
||||
// line 13
|
||||
yield " <li class=\"breadcrumb-item\">
|
||||
";
|
||||
// line 14
|
||||
yield ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (PhpMyAdmin\Html\Generator::getImage("s_db")) : (""));
|
||||
yield "
|
||||
<a href=\"";
|
||||
// line 15
|
||||
yield PhpMyAdmin\Url::getFromRoute(CoreExtension::getAttribute($this->env, $this->source, ($context["database"] ?? null), "url", [], "any", false, false, false, 15), ["db" => CoreExtension::getAttribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 15)]);
|
||||
yield "\" data-raw-text=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 15), "html", null, true);
|
||||
yield "\" draggable=\"false\">
|
||||
";
|
||||
// line 16
|
||||
if (PhpMyAdmin\Util::showText("TabsMode")) {
|
||||
yield _gettext("Database:");
|
||||
}
|
||||
// line 17
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 17), "html", null, true);
|
||||
yield "
|
||||
</a>
|
||||
</li>
|
||||
|
||||
";
|
||||
// line 21
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["table"] ?? null))) {
|
||||
// line 22
|
||||
yield " <li class=\"breadcrumb-item\">
|
||||
";
|
||||
// line 23
|
||||
yield ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (PhpMyAdmin\Html\Generator::getImage(((CoreExtension::getAttribute($this->env, $this->source, ($context["table"] ?? null), "is_view", [], "any", false, false, false, 23)) ? ("b_views") : ("s_tbl")))) : (""));
|
||||
yield "
|
||||
<a href=\"";
|
||||
// line 24
|
||||
yield PhpMyAdmin\Url::getFromRoute(CoreExtension::getAttribute($this->env, $this->source, ($context["table"] ?? null), "url", [], "any", false, false, false, 24), ["db" => CoreExtension::getAttribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 24), "table" => CoreExtension::getAttribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 24)]);
|
||||
yield "\" data-raw-text=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 24), "html", null, true);
|
||||
yield "\" draggable=\"false\">
|
||||
";
|
||||
// line 25
|
||||
if (PhpMyAdmin\Util::showText("TabsMode")) {
|
||||
// line 26
|
||||
yield " ";
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, ($context["table"] ?? null), "is_view", [], "any", false, false, false, 26)) {
|
||||
// line 27
|
||||
yield " ";
|
||||
yield _gettext("View:");
|
||||
// line 28
|
||||
yield " ";
|
||||
} else {
|
||||
// line 29
|
||||
yield " ";
|
||||
yield _gettext("Table:");
|
||||
// line 30
|
||||
yield " ";
|
||||
}
|
||||
// line 31
|
||||
yield " ";
|
||||
}
|
||||
// line 32
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 32), "html", null, true);
|
||||
yield "
|
||||
</a>
|
||||
</li>
|
||||
|
||||
";
|
||||
// line 36
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["table"] ?? null), "comment", [], "any", false, false, false, 36))) {
|
||||
// line 37
|
||||
yield " <span class=\"breadcrumb-comment\" draggable=\"false\">“";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["table"] ?? null), "comment", [], "any", false, false, false, 37), "html", null, true);
|
||||
yield "”</span>
|
||||
";
|
||||
}
|
||||
// line 39
|
||||
yield " ";
|
||||
} elseif ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["database"] ?? null), "comment", [], "any", false, false, false, 39))) {
|
||||
// line 40
|
||||
yield " <span class=\"breadcrumb-comment\" draggable=\"false\">“";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["database"] ?? null), "comment", [], "any", false, false, false, 40), "html", null, true);
|
||||
yield "”</span>
|
||||
";
|
||||
}
|
||||
// line 42
|
||||
yield " ";
|
||||
}
|
||||
// line 43
|
||||
yield " </ol>
|
||||
</nav>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "menu/breadcrumbs.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 156 => 43, 153 => 42, 147 => 40, 144 => 39, 138 => 37, 136 => 36, 128 => 32, 125 => 31, 122 => 30, 119 => 29, 116 => 28, 113 => 27, 110 => 26, 108 => 25, 102 => 24, 98 => 23, 95 => 22, 93 => 21, 85 => 17, 81 => 16, 75 => 15, 71 => 14, 68 => 13, 66 => 12, 58 => 8, 54 => 7, 48 => 6, 44 => 5, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "menu/breadcrumbs.twig", "/var/www/html/phpmyadmin/templates/menu/breadcrumbs.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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;
|
||||
|
||||
/* recent_favorite_table_recent.twig */
|
||||
class __TwigTemplate_e1584193c7afeba3462ea79c4691564c extends 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'] = CoreExtension::ensureTraversable(($context["tables"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["table"]) {
|
||||
// line 2
|
||||
yield "<li class=\"warp_link\">
|
||||
<a href=\"";
|
||||
// line 3
|
||||
yield PhpMyAdmin\Url::getFromRoute("/table/recent-favorite", $context["table"]);
|
||||
yield "\">
|
||||
`";
|
||||
// line 4
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["table"], "db", [], "any", false, false, false, 4), "html", null, true);
|
||||
yield "`.`";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["table"], "table", [], "any", false, false, false, 4), "html", null, true);
|
||||
yield "`
|
||||
</a>
|
||||
</li>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['table'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "recent_favorite_table_recent.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 49 => 4, 45 => 3, 42 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "recent_favorite_table_recent.twig", "/var/www/html/phpmyadmin/templates/recent_favorite_table_recent.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,290 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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/node.twig */
|
||||
class __TwigTemplate_ede2d1830f9eefc3cdb43e906a80e85e extends 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["show_node"] ?? null)) {
|
||||
// line 2
|
||||
yield " <li class=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["li_classes"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
<div class=\"block\">
|
||||
<i";
|
||||
// line 4
|
||||
yield (((($context["class"] ?? null) == "first")) ? (" class=\"first\"") : (""));
|
||||
yield "></i>
|
||||
";
|
||||
// line 5
|
||||
if (($context["node_is_group"] ?? null)) {
|
||||
// line 6
|
||||
yield " ";
|
||||
yield ((!CoreExtension::inFilter("last", ($context["class"] ?? null))) ? ("<b></b>") : (""));
|
||||
yield "
|
||||
<a class=\"";
|
||||
// line 7
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["link_classes"] ?? null), "html", null, true);
|
||||
yield "\" href=\"#\">
|
||||
<span class=\"hide paths_nav\" data-apath=\"";
|
||||
// line 8
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["paths"] ?? null), "a_path", [], "any", false, false, false, 8), "html", null, true);
|
||||
yield "\" data-vpath=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["paths"] ?? null), "v_path", [], "any", false, false, false, 8), "html", null, true);
|
||||
yield "\" data-pos=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["paths"] ?? null), "pos", [], "any", false, false, false, 8), "html", null, true);
|
||||
yield "\"></span>
|
||||
";
|
||||
// line 9
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["pagination_params"] ?? null))) {
|
||||
// line 10
|
||||
yield " <span class=\"hide ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["pagination_params"] ?? null), "position", [], "any", false, false, false, 10), "html", null, true);
|
||||
yield "\" data-name=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_name", [], "any", false, false, false, 10), "html", null, true);
|
||||
yield "\" data-value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_value", [], "any", false, false, false, 10), "html", null, true);
|
||||
yield "\"></span>
|
||||
";
|
||||
}
|
||||
// line 12
|
||||
yield " ";
|
||||
yield ($context["node_icon"] ?? null);
|
||||
yield "
|
||||
</a>
|
||||
";
|
||||
} elseif ( !Twig\Extension\CoreExtension::testEmpty( // line 14
|
||||
($context["pagination_params"] ?? null))) {
|
||||
// line 15
|
||||
yield " <span class=\"hide ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["pagination_params"] ?? null), "position", [], "any", false, false, false, 15), "html", null, true);
|
||||
yield "\" data-name=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_name", [], "any", false, false, false, 15), "html", null, true);
|
||||
yield "\" data-value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_value", [], "any", false, false, false, 15), "html", null, true);
|
||||
yield "\"></span>
|
||||
";
|
||||
}
|
||||
// line 17
|
||||
yield " </div>
|
||||
";
|
||||
// line 18
|
||||
if (($context["node_is_container"] ?? null)) {
|
||||
// line 19
|
||||
yield " <div class=\"fst-italic\">
|
||||
";
|
||||
}
|
||||
// line 21
|
||||
yield "
|
||||
";
|
||||
// line 22
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, ($context["node"] ?? null), "isGroup", [], "any", false, false, false, 22)) {
|
||||
// line 23
|
||||
yield " <div class=\"block second";
|
||||
yield ((($context["has_second_icon"] ?? null)) ? (" double") : (""));
|
||||
yield "\">
|
||||
<u>";
|
||||
// line 24
|
||||
yield PhpMyAdmin\Html\Generator::getImage((($__internal_compile_0 = CoreExtension::getAttribute($this->env, $this->source, ($context["node"] ?? null), "icon", [], "any", false, false, false, 24)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["image"] ?? null) : null), (($__internal_compile_1 = CoreExtension::getAttribute($this->env, $this->source, ($context["node"] ?? null), "icon", [], "any", false, false, false, 24)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["title"] ?? null) : null));
|
||||
yield "</u>
|
||||
</div>
|
||||
";
|
||||
// line 26
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["node"] ?? null), "name", [], "any", false, false, false, 26), "html", null, true);
|
||||
yield "
|
||||
";
|
||||
} else {
|
||||
// line 28
|
||||
yield " <div class=\"block second";
|
||||
yield ((($context["has_second_icon"] ?? null)) ? (" double") : (""));
|
||||
yield "\">
|
||||
";
|
||||
// line 29
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["icon_links"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["link"]) {
|
||||
// line 30
|
||||
yield " <a href=\"";
|
||||
yield PhpMyAdmin\Url::getFromRoute(CoreExtension::getAttribute($this->env, $this->source, $context["link"], "route", [], "any", false, false, false, 30), CoreExtension::getAttribute($this->env, $this->source, $context["link"], "params", [], "any", false, false, false, 30));
|
||||
yield "\"";
|
||||
yield ((CoreExtension::getAttribute($this->env, $this->source, $context["link"], "is_ajax", [], "any", false, false, false, 30)) ? (" class=\"ajax\"") : (""));
|
||||
yield ">";
|
||||
// line 31
|
||||
yield PhpMyAdmin\Html\Generator::getImage(CoreExtension::getAttribute($this->env, $this->source, $context["link"], "image", [], "any", false, false, false, 31), CoreExtension::getAttribute($this->env, $this->source, $context["link"], "title", [], "any", false, false, false, 31));
|
||||
// line 32
|
||||
yield "</a>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['link'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 34
|
||||
yield " </div>
|
||||
|
||||
";
|
||||
// line 36
|
||||
if (($context["node_is_container"] ?? null)) {
|
||||
// line 37
|
||||
yield " <a class=\"hover_show_full\" href=\"";
|
||||
yield PhpMyAdmin\Url::getFromRoute(CoreExtension::getAttribute($this->env, $this->source, ($context["text_link"] ?? null), "route", [], "any", false, false, false, 37), CoreExtension::getAttribute($this->env, $this->source, ($context["text_link"] ?? null), "params", [], "any", false, false, false, 37));
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["node"] ?? null), "name", [], "any", false, false, false, 37), "html", null, true);
|
||||
yield "</a>
|
||||
";
|
||||
} elseif (CoreExtension::inFilter("index", CoreExtension::getAttribute($this->env, $this->source, // line 38
|
||||
($context["node"] ?? null), "classes", [], "any", false, false, false, 38))) {
|
||||
// line 39
|
||||
yield " <a class=\"hover_show_full\" href=\"";
|
||||
yield PhpMyAdmin\Url::getFromRoute(CoreExtension::getAttribute($this->env, $this->source, ($context["text_link"] ?? null), "route", [], "any", false, false, false, 39));
|
||||
yield "\" data-post=\"";
|
||||
yield PhpMyAdmin\Url::getCommon(Twig\Extension\CoreExtension::merge(CoreExtension::getAttribute($this->env, $this->source, ($context["text_link"] ?? null), "params", [], "any", false, false, false, 39), ["is_from_nav" => true]));
|
||||
yield "\" title=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["text_link"] ?? null), "title", [], "any", false, false, false, 39), "html", null, true);
|
||||
yield "\">";
|
||||
// line 40
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((CoreExtension::getAttribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", true, true, false, 40) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", false, false, false, 40)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", false, false, false, 40)) : (CoreExtension::getAttribute($this->env, $this->source, ($context["node"] ?? null), "realName", [], "any", false, false, false, 40))), "html", null, true);
|
||||
// line 41
|
||||
yield "</a>
|
||||
";
|
||||
} else {
|
||||
// line 43
|
||||
yield " <a class=\"hover_show_full";
|
||||
yield ((CoreExtension::getAttribute($this->env, $this->source, ($context["text_link"] ?? null), "is_ajax", [], "any", false, false, false, 43)) ? (" ajax") : (""));
|
||||
yield "\" href=\"";
|
||||
yield PhpMyAdmin\Url::getFromRoute(CoreExtension::getAttribute($this->env, $this->source, ($context["text_link"] ?? null), "route", [], "any", false, false, false, 43), CoreExtension::getAttribute($this->env, $this->source, ($context["text_link"] ?? null), "params", [], "any", false, false, false, 43));
|
||||
yield "\" title=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["text_link"] ?? null), "title", [], "any", false, false, false, 43), "html", null, true);
|
||||
yield "\">";
|
||||
// line 44
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((CoreExtension::getAttribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", true, true, false, 44) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", false, false, false, 44)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", false, false, false, 44)) : (CoreExtension::getAttribute($this->env, $this->source, ($context["node"] ?? null), "realName", [], "any", false, false, false, 44))), "html", null, true);
|
||||
// line 45
|
||||
yield "</a>
|
||||
";
|
||||
}
|
||||
// line 47
|
||||
yield " ";
|
||||
}
|
||||
// line 48
|
||||
yield "
|
||||
";
|
||||
// line 49
|
||||
yield ($context["control_buttons"] ?? null);
|
||||
yield "
|
||||
|
||||
";
|
||||
// line 51
|
||||
if (($context["node_is_container"] ?? null)) {
|
||||
// line 52
|
||||
yield " </div>
|
||||
";
|
||||
}
|
||||
// line 54
|
||||
yield "
|
||||
<div class=\"clearfloat\"></div>
|
||||
";
|
||||
} elseif ( !Twig\Extension\CoreExtension::testEmpty( // line 56
|
||||
($context["pagination_params"] ?? null))) {
|
||||
// line 57
|
||||
yield " <span class=\"hide ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["pagination_params"] ?? null), "position", [], "any", false, false, false, 57), "html", null, true);
|
||||
yield "\" data-name=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_name", [], "any", false, false, false, 57), "html", null, true);
|
||||
yield "\" data-value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_value", [], "any", false, false, false, 57), "html", null, true);
|
||||
yield "\"></span>
|
||||
";
|
||||
}
|
||||
// line 59
|
||||
yield "
|
||||
";
|
||||
// line 60
|
||||
if (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["recursive"] ?? null), "html", [], "any", false, false, false, 60)) && CoreExtension::getAttribute($this->env, $this->source, ($context["recursive"] ?? null), "has_wrapper", [], "any", false, false, false, 60))) {
|
||||
// line 61
|
||||
yield " <div class=\"list_container\"";
|
||||
yield ((CoreExtension::getAttribute($this->env, $this->source, ($context["recursive"] ?? null), "is_hidden", [], "any", false, false, false, 61)) ? (" style=\"display: none;\"") : (""));
|
||||
yield ">
|
||||
<ul>
|
||||
";
|
||||
}
|
||||
// line 64
|
||||
yield CoreExtension::getAttribute($this->env, $this->source, ($context["recursive"] ?? null), "html", [], "any", false, false, false, 64);
|
||||
yield "
|
||||
";
|
||||
// line 65
|
||||
if (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["recursive"] ?? null), "html", [], "any", false, false, false, 65)) && CoreExtension::getAttribute($this->env, $this->source, ($context["recursive"] ?? null), "has_wrapper", [], "any", false, false, false, 65))) {
|
||||
// line 66
|
||||
yield " </ul>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 69
|
||||
yield "
|
||||
";
|
||||
// line 70
|
||||
if (($context["has_siblings"] ?? null)) {
|
||||
// line 71
|
||||
yield " </li>
|
||||
";
|
||||
}
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "navigation/tree/node.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 256 => 71, 254 => 70, 251 => 69, 246 => 66, 244 => 65, 240 => 64, 233 => 61, 231 => 60, 228 => 59, 218 => 57, 216 => 56, 212 => 54, 208 => 52, 206 => 51, 201 => 49, 198 => 48, 195 => 47, 191 => 45, 189 => 44, 181 => 43, 177 => 41, 175 => 40, 167 => 39, 165 => 38, 158 => 37, 156 => 36, 152 => 34, 145 => 32, 143 => 31, 137 => 30, 133 => 29, 128 => 28, 123 => 26, 118 => 24, 113 => 23, 111 => 22, 108 => 21, 104 => 19, 102 => 18, 99 => 17, 89 => 15, 87 => 14, 81 => 12, 71 => 10, 69 => 9, 61 => 8, 57 => 7, 52 => 6, 50 => 5, 46 => 4, 40 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "navigation/tree/node.twig", "/var/www/html/phpmyadmin/templates/navigation/tree/node.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,144 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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_0f114ed52e1edbe7d9bf7e9514c20b28 extends 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'] = CoreExtension::ensureTraversable(($context["files"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
|
||||
// line 2
|
||||
yield " <script data-cfasync=\"false\" type=\"text/javascript\" src=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["base_dir"] ?? null), "html", null, true);
|
||||
yield "js/";
|
||||
// line 3
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((((is_string($__internal_compile_0 = CoreExtension::getAttribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)) && is_string($__internal_compile_1 = "vendor/") && str_starts_with($__internal_compile_0, $__internal_compile_1)) || (is_string($__internal_compile_2 = CoreExtension::getAttribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)) && is_string($__internal_compile_3 = "messages.php") && str_starts_with($__internal_compile_2, $__internal_compile_3)))) ? (CoreExtension::getAttribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)) : (("dist/" . CoreExtension::getAttribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)))), "html", null, true);
|
||||
// line 4
|
||||
((CoreExtension::inFilter(".php", CoreExtension::getAttribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 4))) ? (yield PhpMyAdmin\Url::getCommon(Twig\Extension\CoreExtension::merge(CoreExtension::getAttribute($this->env, $this->source, $context["file"], "params", [], "any", false, false, false, 4), ["v" => ($context["version"] ?? null)]))) : (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(("?v=" . Twig\Extension\CoreExtension::urlencode(($context["version"] ?? null))), "html", null, true)));
|
||||
yield "\"></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
|
||||
yield "
|
||||
<script data-cfasync=\"false\" type=\"text/javascript\">
|
||||
// <![CDATA[
|
||||
";
|
||||
// line 9
|
||||
yield ($context["code"] ?? null);
|
||||
yield "
|
||||
";
|
||||
// line 10
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["files"] ?? null))) {
|
||||
// line 11
|
||||
yield "AJAX.scriptHandler
|
||||
";
|
||||
// line 12
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["files"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
|
||||
// line 13
|
||||
yield " .add('";
|
||||
yield PhpMyAdmin\Sanitize::escapeJsString(CoreExtension::getAttribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 13));
|
||||
yield "', ";
|
||||
yield ((CoreExtension::getAttribute($this->env, $this->source, $context["file"], "has_onload", [], "any", false, false, false, 13)) ? (1) : (0));
|
||||
yield ")
|
||||
";
|
||||
}
|
||||
$_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
|
||||
yield ";
|
||||
\$(function() {
|
||||
";
|
||||
// line 17
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["files"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
|
||||
// line 18
|
||||
yield " ";
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, $context["file"], "has_onload", [], "any", false, false, false, 18)) {
|
||||
// line 19
|
||||
yield " AJAX.fireOnload('";
|
||||
yield PhpMyAdmin\Sanitize::escapeJsString(CoreExtension::getAttribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 19));
|
||||
yield "');
|
||||
";
|
||||
}
|
||||
}
|
||||
$_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
|
||||
yield "});
|
||||
";
|
||||
}
|
||||
// line 24
|
||||
yield "// ]]>
|
||||
</script>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "scripts.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 110 => 24, 106 => 22, 96 => 19, 93 => 18, 89 => 17, 85 => 15, 74 => 13, 70 => 12, 67 => 11, 65 => 10, 61 => 9, 56 => 6, 48 => 4, 46 => 3, 42 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "scripts.twig", "/var/www/html/phpmyadmin/templates/scripts.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,197 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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_91ddbe392ec9dd70f0e43d4cb9531df7 extends 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
|
||||
yield " </div>
|
||||
";
|
||||
}
|
||||
// line 4
|
||||
if (( !($context["is_ajax"] ?? null) && !($context["is_minimal"] ?? null))) {
|
||||
// line 5
|
||||
yield " ";
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["self_url"] ?? null))) {
|
||||
// line 6
|
||||
yield " <div id=\"selflink\" class=\"d-print-none\">
|
||||
<a href=\"";
|
||||
// line 7
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["self_url"] ?? null), "html", null, true);
|
||||
yield "\" title=\"";
|
||||
yield _gettext("Open new phpMyAdmin window");
|
||||
yield "\" target=\"_blank\" rel=\"noopener noreferrer\">
|
||||
";
|
||||
// line 8
|
||||
if (PhpMyAdmin\Util::showIcons("TabsMode")) {
|
||||
// line 9
|
||||
yield " ";
|
||||
yield PhpMyAdmin\Html\Generator::getImage("window-new", _gettext("Open new phpMyAdmin window"));
|
||||
yield "
|
||||
";
|
||||
} else {
|
||||
// line 11
|
||||
yield " ";
|
||||
yield _gettext("Open new phpMyAdmin window");
|
||||
// line 12
|
||||
yield " ";
|
||||
}
|
||||
// line 13
|
||||
yield " </a>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 16
|
||||
yield "
|
||||
<div class=\"clearfloat d-print-none\" id=\"pma_errors\">
|
||||
";
|
||||
// line 18
|
||||
yield ($context["error_messages"] ?? null);
|
||||
yield "
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 21
|
||||
yield ($context["scripts"] ?? null);
|
||||
yield "
|
||||
|
||||
";
|
||||
// line 23
|
||||
if (($context["is_demo"] ?? null)) {
|
||||
// line 24
|
||||
yield " <div id=\"pma_demo\" class=\"d-print-none\">
|
||||
";
|
||||
// line 25
|
||||
$___internal_parse_34_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 26
|
||||
yield " <a href=\"";
|
||||
yield PhpMyAdmin\Url::getFromRoute("/");
|
||||
yield "\">";
|
||||
yield _gettext("phpMyAdmin Demo Server");
|
||||
yield ":</a>
|
||||
";
|
||||
// line 27
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["git_revision_info"] ?? null))) {
|
||||
// line 28
|
||||
yield " ";
|
||||
$context["revision_info"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 29
|
||||
yield "<a target=\"_blank\" rel=\"noopener noreferrer\" href=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Core::linkURL(CoreExtension::getAttribute($this->env, $this->source, ($context["git_revision_info"] ?? null), "revisionUrl", [], "any", false, false, false, 29)), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["git_revision_info"] ?? null), "revision", [], "any", false, false, false, 29), "html", null, true);
|
||||
yield "</a>";
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 31
|
||||
yield " ";
|
||||
$context["branch_info"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 32
|
||||
yield "<a target=\"_blank\" rel=\"noopener noreferrer\" href=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Core::linkURL(CoreExtension::getAttribute($this->env, $this->source, ($context["git_revision_info"] ?? null), "branchUrl", [], "any", false, false, false, 32)), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["git_revision_info"] ?? null), "branch", [], "any", false, false, false, 32), "html", null, true);
|
||||
yield "</a>";
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 34
|
||||
yield " ";
|
||||
yield Twig\Extension\CoreExtension::sprintf(_gettext("Currently running Git revision %1\$s from the %2\$s branch."), ($context["revision_info"] ?? null), ($context["branch_info"] ?? null));
|
||||
yield "
|
||||
";
|
||||
} else {
|
||||
// line 36
|
||||
yield " ";
|
||||
yield _gettext("Git information missing!");
|
||||
// line 37
|
||||
yield " ";
|
||||
}
|
||||
// line 38
|
||||
yield " ";
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 25
|
||||
yield $this->env->getFilter('notice')->getCallable()($___internal_parse_34_);
|
||||
// line 39
|
||||
yield " </div>
|
||||
";
|
||||
}
|
||||
// line 41
|
||||
yield "
|
||||
";
|
||||
// line 42
|
||||
yield ($context["footer"] ?? null);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 44
|
||||
if ( !($context["is_ajax"] ?? null)) {
|
||||
// line 45
|
||||
yield " </body>
|
||||
</html>
|
||||
";
|
||||
}
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "footer.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 162 => 45, 160 => 44, 155 => 42, 152 => 41, 148 => 39, 146 => 25, 142 => 38, 139 => 37, 136 => 36, 130 => 34, 122 => 32, 119 => 31, 111 => 29, 108 => 28, 106 => 27, 99 => 26, 97 => 25, 94 => 24, 92 => 23, 87 => 21, 81 => 18, 77 => 16, 72 => 13, 69 => 12, 66 => 11, 60 => 9, 58 => 8, 52 => 7, 49 => 6, 46 => 5, 44 => 4, 40 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "footer.twig", "/var/www/html/phpmyadmin/templates/footer.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,308 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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/display.twig */
|
||||
class __TwigTemplate_6b0767e2569eba8357d171d416228f63 extends 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
|
||||
yield "<form method=\"post\" action=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["action"] ?? null), "html_attr");
|
||||
yield "\" class=\"config-form disableAjax\">
|
||||
<input type=\"hidden\" name=\"tab_hash\" value=\"\">
|
||||
";
|
||||
// line 3
|
||||
if (($context["has_check_page_refresh"] ?? null)) {
|
||||
// line 4
|
||||
yield " <input type=\"hidden\" name=\"check_page_refresh\" id=\"check_page_refresh\" value=\"\">
|
||||
";
|
||||
}
|
||||
// line 6
|
||||
yield " ";
|
||||
yield PhpMyAdmin\Url::getHiddenInputs("", "", 0, "server");
|
||||
yield "
|
||||
";
|
||||
// line 7
|
||||
yield PhpMyAdmin\Url::getHiddenFields(($context["hidden_fields"] ?? null), "", true);
|
||||
yield "
|
||||
|
||||
<ul class=\"nav nav-tabs\" id=\"configFormDisplayTab\" role=\"tablist\">
|
||||
";
|
||||
// line 10
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["tabs"] ?? 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["id"] => $context["name"]) {
|
||||
// line 11
|
||||
yield " <li class=\"nav-item\" role=\"presentation\">
|
||||
<a class=\"nav-link";
|
||||
// line 12
|
||||
yield ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 12)) ? (" active") : (""));
|
||||
yield "\" id=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["id"], "html", null, true);
|
||||
yield "-tab\" href=\"#";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["id"], "html", null, true);
|
||||
yield "\" data-bs-toggle=\"tab\" role=\"tab\" aria-controls=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["id"], "html", null, true);
|
||||
yield "\" aria-selected=\"";
|
||||
yield ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 12)) ? ("true") : ("false"));
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["name"], "html", null, true);
|
||||
yield "</a>
|
||||
</li>
|
||||
";
|
||||
++$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['id'], $context['name'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 15
|
||||
yield " </ul>
|
||||
<div class=\"tab-content\">
|
||||
";
|
||||
// line 17
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["forms"] ?? 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["form"]) {
|
||||
// line 18
|
||||
yield " <div class=\"tab-pane fade";
|
||||
yield ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 18)) ? (" show active") : (""));
|
||||
yield "\" id=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["form"], "name", [], "any", false, false, false, 18), "html", null, true);
|
||||
yield "\" role=\"tabpanel\" aria-labelledby=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["form"], "name", [], "any", false, false, false, 18), "html", null, true);
|
||||
yield "-tab\">
|
||||
<div class=\"card border-top-0\">
|
||||
<div class=\"card-body\">
|
||||
<h5 class=\"card-title visually-hidden\">";
|
||||
// line 21
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["form"], "descriptions", [], "any", false, false, false, 21), "name", [], "any", false, false, false, 21), "html", null, true);
|
||||
yield "</h5>
|
||||
";
|
||||
// line 22
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["form"], "descriptions", [], "any", false, false, false, 22), "desc", [], "any", false, false, false, 22))) {
|
||||
// line 23
|
||||
yield " <h6 class=\"card-subtitle mb-2 text-muted\">";
|
||||
yield CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["form"], "descriptions", [], "any", false, false, false, 23), "desc", [], "any", false, false, false, 23);
|
||||
yield "</h6>
|
||||
";
|
||||
}
|
||||
// line 25
|
||||
yield "
|
||||
<fieldset class=\"optbox\">
|
||||
<legend>";
|
||||
// line 27
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["form"], "descriptions", [], "any", false, false, false, 27), "name", [], "any", false, false, false, 27), "html", null, true);
|
||||
yield "</legend>
|
||||
|
||||
";
|
||||
// line 30
|
||||
yield " ";
|
||||
if ((is_iterable(CoreExtension::getAttribute($this->env, $this->source, $context["form"], "errors", [], "any", false, false, false, 30)) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["form"], "errors", [], "any", false, false, false, 30)) > 0))) {
|
||||
// line 31
|
||||
yield " <dl class=\"errors\">
|
||||
";
|
||||
// line 32
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["form"], "errors", [], "any", false, false, false, 32));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
|
||||
// line 33
|
||||
yield " <dd>";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["error"], "html", null, true);
|
||||
yield "</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 35
|
||||
yield " </dl>
|
||||
";
|
||||
}
|
||||
// line 37
|
||||
yield "
|
||||
<table class=\"table table-borderless\">
|
||||
";
|
||||
// line 39
|
||||
yield CoreExtension::getAttribute($this->env, $this->source, $context["form"], "fields_html", [], "any", false, false, false, 39);
|
||||
yield "
|
||||
</table>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 44
|
||||
if (($context["show_buttons"] ?? null)) {
|
||||
// line 45
|
||||
yield " <div class=\"card-footer\">
|
||||
<input class=\"btn btn-primary\" type=\"submit\" name=\"submit_save\" value=\"";
|
||||
yield _gettext("Apply");
|
||||
// line 46
|
||||
yield "\">
|
||||
<input class=\"btn btn-secondary\" type=\"button\" name=\"submit_reset\" value=\"";
|
||||
yield _gettext("Reset");
|
||||
// line 47
|
||||
yield "\">
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 50
|
||||
yield " </div>
|
||||
</div>
|
||||
";
|
||||
++$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['form'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 53
|
||||
yield " </div>
|
||||
</form>
|
||||
|
||||
<script type=\"text/javascript\">
|
||||
if (typeof configInlineParams === 'undefined' || !Array.isArray(configInlineParams)) {
|
||||
configInlineParams = [];
|
||||
}
|
||||
configInlineParams.push(function () {
|
||||
";
|
||||
// line 61
|
||||
yield Twig\Extension\CoreExtension::join(($context["js_array"] ?? null), ";
|
||||
");
|
||||
yield ";
|
||||
|
||||
\$.extend(Messages, {
|
||||
'error_nan_p': '";
|
||||
// line 64
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Not a positive number!"), "js"), "html", null, true);
|
||||
yield "',
|
||||
'error_nan_nneg': '";
|
||||
// line 65
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Not a non-negative number!"), "js"), "html", null, true);
|
||||
yield "',
|
||||
'error_incorrect_port': '";
|
||||
// line 66
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Not a valid port number!"), "js"), "html", null, true);
|
||||
yield "',
|
||||
'error_invalid_value': '";
|
||||
// line 67
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Incorrect value!"), "js"), "html", null, true);
|
||||
yield "',
|
||||
'error_value_lte': '";
|
||||
// line 68
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Value must be less than or equal to %s!"), "js"), "html", null, true);
|
||||
yield "',
|
||||
});
|
||||
|
||||
\$.extend(defaultValues, {
|
||||
";
|
||||
// line 72
|
||||
yield Twig\Extension\CoreExtension::join(($context["js_default"] ?? null), ",
|
||||
");
|
||||
yield "
|
||||
});
|
||||
});
|
||||
if (typeof configScriptLoaded !== 'undefined' && configInlineParams) {
|
||||
loadInlineConfig();
|
||||
}
|
||||
</script>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "config/form_display/display.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 267 => 72, 260 => 68, 256 => 67, 252 => 66, 248 => 65, 244 => 64, 237 => 61, 227 => 53, 211 => 50, 206 => 47, 202 => 46, 198 => 45, 196 => 44, 188 => 39, 184 => 37, 180 => 35, 171 => 33, 167 => 32, 164 => 31, 161 => 30, 156 => 27, 152 => 25, 146 => 23, 144 => 22, 140 => 21, 129 => 18, 112 => 17, 108 => 15, 81 => 12, 78 => 11, 61 => 10, 55 => 7, 50 => 6, 46 => 4, 44 => 3, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "config/form_display/display.twig", "/var/www/html/phpmyadmin/templates/config/form_display/display.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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/fast_filter.twig */
|
||||
class __TwigTemplate_fbfa93ab5b165a6d08abf95c4129d081 extends 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["url_params"] ?? null)) {
|
||||
// line 2
|
||||
yield " <li class=\"fast_filter";
|
||||
if (($context["is_root_node"] ?? null)) {
|
||||
yield " db_fast_filter";
|
||||
}
|
||||
yield "\">
|
||||
<form class=\"ajax fast_filter\">
|
||||
";
|
||||
// line 4
|
||||
yield PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null));
|
||||
yield "
|
||||
<div class=\"input-group\">
|
||||
<input
|
||||
class=\"searchClause form-control\"
|
||||
type=\"text\"
|
||||
name=\"";
|
||||
// line 9
|
||||
yield ((($context["is_root_node"] ?? null)) ? ("searchClause") : ("searchClause2"));
|
||||
yield "\"
|
||||
accesskey=\"q\"
|
||||
aria-label=\"";
|
||||
yield _gettext("Type to filter these, Enter to search all");
|
||||
// line 11
|
||||
yield "\"
|
||||
placeholder=\"";
|
||||
yield _gettext("Type to filter these, Enter to search all");
|
||||
// line 12
|
||||
yield "\"
|
||||
>
|
||||
<button
|
||||
class=\"btn btn-outline-secondary searchClauseClear\"
|
||||
type=\"button\" aria-label=\"";
|
||||
yield _gettext("Clear fast filter");
|
||||
// line 16
|
||||
yield "\">X</button>
|
||||
</div>
|
||||
</form>
|
||||
</li>
|
||||
";
|
||||
}
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "navigation/tree/fast_filter.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 73 => 16, 66 => 12, 62 => 11, 56 => 9, 48 => 4, 40 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "navigation/tree/fast_filter.twig", "/var/www/html/phpmyadmin/templates/navigation/tree/fast_filter.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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;
|
||||
|
||||
/* modals/unhide_nav_item.twig */
|
||||
class __TwigTemplate_52f117f8637788b813bd38325114fb3d extends 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
|
||||
yield "<div class=\"modal fade\" id=\"unhideNavItemModal\" tabindex=\"-1\" aria-labelledby=\"unhideNavItemModalLabel\" aria-hidden=\"true\">
|
||||
<div class=\"modal-dialog\">
|
||||
<div class=\"modal-content\">
|
||||
<div class=\"modal-header\">
|
||||
<h5 class=\"modal-title\" id=\"unhideNavItemModalLabel\">";
|
||||
yield _gettext("Show hidden navigation tree items.");
|
||||
// line 5
|
||||
yield "</h5>
|
||||
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
|
||||
yield _gettext("Close");
|
||||
// line 6
|
||||
yield "\"></button>
|
||||
</div>
|
||||
<div class=\"modal-body\"></div>
|
||||
<div class=\"modal-footer\">
|
||||
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
|
||||
yield _gettext("Close");
|
||||
// line 10
|
||||
yield "</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "modals/unhide_nav_item.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 56 => 10, 49 => 6, 45 => 5, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "modals/unhide_nav_item.twig", "/var/www/html/phpmyadmin/templates/modals/unhide_nav_item.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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;
|
||||
|
||||
/* setup/form/index.twig */
|
||||
class __TwigTemplate_70757b96107e3f22458fb8d752df54e1 extends Template
|
||||
{
|
||||
private $source;
|
||||
private $macros = [];
|
||||
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->source = $this->getSourceContext();
|
||||
|
||||
$this->blocks = [
|
||||
'content' => [$this, 'block_content'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context)
|
||||
{
|
||||
// line 1
|
||||
return "setup/base.twig";
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$this->parent = $this->loadTemplate("setup/base.twig", "setup/form/index.twig", 1);
|
||||
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
|
||||
}
|
||||
|
||||
// line 2
|
||||
public function block_content($context, array $blocks = [])
|
||||
{
|
||||
$macros = $this->macros;
|
||||
// line 3
|
||||
yield "
|
||||
<h2>";
|
||||
// line 4
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["name"] ?? null), "html", null, true);
|
||||
yield "</h2>
|
||||
|
||||
";
|
||||
// line 6
|
||||
yield ($context["page"] ?? null);
|
||||
yield "
|
||||
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "setup/form/index.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 59 => 6, 54 => 4, 51 => 3, 47 => 2, 36 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "setup/form/index.twig", "/var/www/html/phpmyadmin/templates/setup/form/index.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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/sql_query_results.twig */
|
||||
class __TwigTemplate_1f26fca33d3cde98be98c1b043342b69 extends 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
|
||||
yield "<div class=\"sqlqueryresults ajax\">
|
||||
";
|
||||
// line 2
|
||||
yield ($context["previous_update_query"] ?? null);
|
||||
yield "
|
||||
";
|
||||
// line 3
|
||||
yield ($context["profiling_chart"] ?? null);
|
||||
yield "
|
||||
";
|
||||
// line 4
|
||||
yield ($context["missing_unique_column_message"] ?? null);
|
||||
yield "
|
||||
";
|
||||
// line 5
|
||||
yield ($context["bookmark_created_message"] ?? null);
|
||||
yield "
|
||||
";
|
||||
// line 6
|
||||
yield ($context["table"] ?? null);
|
||||
yield "
|
||||
";
|
||||
// line 7
|
||||
yield ($context["bookmark_support"] ?? null);
|
||||
yield "
|
||||
</div>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "sql/sql_query_results.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 61 => 7, 57 => 6, 53 => 5, 49 => 4, 45 => 3, 41 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "sql/sql_query_results.twig", "/var/www/html/phpmyadmin/templates/sql/sql_query_results.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,786 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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_09933eb2f77d912dfdf29bd1122b4304 extends 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["navigation_html"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 2
|
||||
yield " ";
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["navigation"] ?? null))) {
|
||||
// line 3
|
||||
yield " <table class=\"navigation d-print-none\">
|
||||
<tr>
|
||||
<td class=\"navigation_separator\"></td>
|
||||
|
||||
";
|
||||
// line 7
|
||||
yield CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "move_backward_buttons", [], "any", false, false, false, 7);
|
||||
yield "
|
||||
";
|
||||
// line 8
|
||||
yield CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "page_selector", [], "any", false, false, false, 8);
|
||||
yield "
|
||||
";
|
||||
// line 9
|
||||
yield CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "move_forward_buttons", [], "any", false, false, false, 9);
|
||||
yield "
|
||||
|
||||
";
|
||||
// line 11
|
||||
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "number_total_page", [], "any", false, false, false, 11) != 1)) {
|
||||
// line 12
|
||||
yield " <td><div class=\"navigation_separator\">|</div></td>
|
||||
";
|
||||
}
|
||||
// line 14
|
||||
yield "
|
||||
";
|
||||
// line 15
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "has_show_all", [], "any", false, false, false, 15)) {
|
||||
// line 16
|
||||
yield " <td>
|
||||
<form action=\"";
|
||||
// line 17
|
||||
yield PhpMyAdmin\Url::getFromRoute("/sql");
|
||||
yield "\" method=\"post\">
|
||||
";
|
||||
// line 18
|
||||
yield PhpMyAdmin\Url::getHiddenFields(Twig\Extension\CoreExtension::merge(CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "hidden_fields", [], "any", false, false, false, 18), ["session_max_rows" => CoreExtension::getAttribute($this->env, $this->source, // line 19
|
||||
($context["navigation"] ?? null), "session_max_rows", [], "any", false, false, false, 19), "pos" => "0"]));
|
||||
// line 21
|
||||
yield "
|
||||
<input type=\"checkbox\" name=\"navig\" id=\"showAll_";
|
||||
// line 22
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\" class=\"showAllRows\" value=\"all\"";
|
||||
// line 23
|
||||
yield ((CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "is_showing_all", [], "any", false, false, false, 23)) ? (" checked") : (""));
|
||||
yield ">
|
||||
<label for=\"showAll_";
|
||||
// line 24
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\">";
|
||||
yield _gettext("Show all");
|
||||
yield "</label>
|
||||
</form>
|
||||
</td>
|
||||
<td><div class=\"navigation_separator\">|</div></td>
|
||||
";
|
||||
}
|
||||
// line 29
|
||||
yield "
|
||||
<td>
|
||||
<div class=\"save_edited hide\">
|
||||
<input class=\"btn btn-link\" type=\"submit\" value=\"";
|
||||
yield _gettext("Save edited data");
|
||||
// line 32
|
||||
yield "\">
|
||||
<div class=\"navigation_separator\">|</div>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class=\"restore_column hide\">
|
||||
<input class=\"btn btn-link\" type=\"submit\" value=\"";
|
||||
yield _gettext("Restore column order");
|
||||
// line 38
|
||||
yield "\">
|
||||
<div class=\"navigation_separator\">|</div>
|
||||
</div>
|
||||
</td>
|
||||
<td class=\"navigation_goto\">
|
||||
<form action=\"";
|
||||
// line 43
|
||||
yield PhpMyAdmin\Url::getFromRoute("/sql");
|
||||
yield "\" method=\"post\" class=\"maxRowsForm\">
|
||||
";
|
||||
// line 44
|
||||
yield PhpMyAdmin\Url::getHiddenFields(Twig\Extension\CoreExtension::merge(CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "hidden_fields", [], "any", false, false, false, 44), ["pos" => CoreExtension::getAttribute($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
|
||||
yield "
|
||||
|
||||
<label for=\"sessionMaxRowsSelect\">";
|
||||
yield _gettext("Number of rows:");
|
||||
// line 49
|
||||
yield "</label>
|
||||
<select class=\"autosubmit\" name=\"session_max_rows\" id=\"sessionMaxRowsSelect\">
|
||||
";
|
||||
// line 51
|
||||
$context["rows_options"] = [25, 50, 100, 250, 500];
|
||||
// line 52
|
||||
yield " ";
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "is_showing_all", [], "any", false, false, false, 52)) {
|
||||
// line 53
|
||||
yield " <option value=\"\" disabled selected>";
|
||||
yield _gettext("All");
|
||||
yield "</option>
|
||||
";
|
||||
} elseif (!CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, // line 54
|
||||
($context["navigation"] ?? null), "max_rows", [], "any", false, false, false, 54), ($context["rows_options"] ?? null))) {
|
||||
// line 55
|
||||
yield " ";
|
||||
$context["rows_options"] = Twig\Extension\CoreExtension::sort($this->env, Twig\Extension\CoreExtension::merge(($context["rows_options"] ?? null), [CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "max_rows", [], "any", false, false, false, 55)]), function ($__a__, $__b__) use ($context, $macros) { $context["a"] = $__a__; $context["b"] = $__b__; return (($context["a"] ?? null) <=> ($context["b"] ?? null)); });
|
||||
// line 56
|
||||
yield " ";
|
||||
}
|
||||
// line 57
|
||||
yield " ";
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["rows_options"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
|
||||
// line 58
|
||||
yield " <option value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["option"], "html", null, true);
|
||||
yield "\"";
|
||||
yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "max_rows", [], "any", false, false, false, 58) == $context["option"])) ? (" selected") : (""));
|
||||
yield ">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["option"], "html", null, true);
|
||||
yield "</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 60
|
||||
yield " </select>
|
||||
</form>
|
||||
</td>
|
||||
<td class=\"navigation_separator\"></td>
|
||||
<td class=\"largescreenonly\">
|
||||
<span>";
|
||||
yield _gettext("Filter rows");
|
||||
// line 65
|
||||
yield ":</span>
|
||||
<input type=\"text\" class=\"filter_rows\" placeholder=\"";
|
||||
yield _gettext("Search this table");
|
||||
// line 67
|
||||
yield "\" data-for=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
</td>
|
||||
<td class=\"largescreenonly\">
|
||||
";
|
||||
// line 70
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "sort_by_key", [], "any", false, false, false, 70))) {
|
||||
// line 71
|
||||
yield " <form action=\"";
|
||||
yield PhpMyAdmin\Url::getFromRoute("/sql");
|
||||
yield "\" method=\"post\" class=\"d-print-none\">
|
||||
";
|
||||
// line 72
|
||||
yield PhpMyAdmin\Url::getHiddenFields(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "sort_by_key", [], "any", false, false, false, 72), "hidden_fields", [], "any", false, false, false, 72));
|
||||
yield "
|
||||
";
|
||||
yield _gettext("Sort by key:");
|
||||
// line 74
|
||||
yield " <select name=\"sql_query\" class=\"autosubmit\">
|
||||
";
|
||||
// line 75
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "sort_by_key", [], "any", false, false, false, 75), "options", [], "any", false, false, false, 75));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
|
||||
// line 76
|
||||
yield " <option value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 76), "html", null, true);
|
||||
yield "\"";
|
||||
yield ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "is_selected", [], "any", false, false, false, 76)) ? (" selected") : (""));
|
||||
yield ">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["option"], "content", [], "any", false, false, false, 76), "html", null, true);
|
||||
yield "</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 78
|
||||
yield " </select>
|
||||
</form>
|
||||
";
|
||||
}
|
||||
// line 81
|
||||
yield " </td>
|
||||
<td class=\"navigation_separator\"></td>
|
||||
</tr>
|
||||
</table>
|
||||
";
|
||||
}
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 87
|
||||
yield "
|
||||
";
|
||||
// line 88
|
||||
yield ($context["sql_query_message"] ?? null);
|
||||
yield "
|
||||
|
||||
";
|
||||
// line 90
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["navigation_html"] ?? null), "html", null, true);
|
||||
yield "
|
||||
|
||||
<input class=\"save_cells_at_once\" type=\"hidden\" value=\"";
|
||||
// line 92
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["save_cells_at_once"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
<div class=\"common_hidden_inputs\">
|
||||
";
|
||||
// line 94
|
||||
yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
|
||||
yield "
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 97
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 97))) {
|
||||
// line 98
|
||||
yield " ";
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 98), "order", [], "any", false, false, false, 98)) {
|
||||
// line 99
|
||||
yield " <input class=\"col_order\" type=\"hidden\" value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::join(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 99), "order", [], "any", false, false, false, 99), ","), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
}
|
||||
// line 101
|
||||
yield " ";
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 101), "visibility", [], "any", false, false, false, 101)) {
|
||||
// line 102
|
||||
yield " <input class=\"col_visib\" type=\"hidden\" value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::join(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 102), "visibility", [], "any", false, false, false, 102), ","), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
}
|
||||
// line 104
|
||||
yield " ";
|
||||
if ( !CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 104), "is_view", [], "any", false, false, false, 104)) {
|
||||
// line 105
|
||||
yield " <input class=\"table_create_time\" type=\"hidden\" value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 105), "table_create_time", [], "any", false, false, false, 105), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
}
|
||||
}
|
||||
// line 108
|
||||
yield "
|
||||
";
|
||||
// line 109
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 109))) {
|
||||
// line 110
|
||||
yield " <form method=\"post\" action=\"";
|
||||
yield PhpMyAdmin\Url::getFromRoute("/sql");
|
||||
yield "\" name=\"displayOptionsForm\" class=\"ajax d-print-none\">
|
||||
";
|
||||
// line 111
|
||||
yield PhpMyAdmin\Url::getHiddenInputs(["db" => // line 112
|
||||
($context["db"] ?? null), "table" => // line 113
|
||||
($context["table"] ?? null), "sql_query" => // line 114
|
||||
($context["sql_query"] ?? null), "goto" => // line 115
|
||||
($context["goto"] ?? null), "display_options_form" => 1]);
|
||||
// line 117
|
||||
yield "
|
||||
|
||||
";
|
||||
// line 119
|
||||
if ((($context["default_sliders_state"] ?? null) != "disabled")) {
|
||||
// line 120
|
||||
yield " <div class=\"mb-3\">
|
||||
<button class=\"btn btn-sm btn-secondary\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#extraOptions\" aria-expanded=\"";
|
||||
// line 121
|
||||
yield (((($context["default_sliders_state"] ?? null) == "open")) ? ("true") : ("false"));
|
||||
yield "\" aria-controls=\"extraOptions\">
|
||||
";
|
||||
yield _gettext("Extra options");
|
||||
// line 123
|
||||
yield " </button>
|
||||
</div>
|
||||
<div class=\"collapse mb-3";
|
||||
// line 125
|
||||
yield (((($context["default_sliders_state"] ?? null) == "open")) ? (" show") : (""));
|
||||
yield "\" id=\"extraOptions\">
|
||||
";
|
||||
}
|
||||
// line 127
|
||||
yield "
|
||||
<fieldset class=\"pma-fieldset\">
|
||||
<div class=\"formelement\">
|
||||
<div>
|
||||
<input type=\"radio\" name=\"pftext\" id=\"partialFulltextRadioP";
|
||||
// line 131
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\" value=\"P\"";
|
||||
yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 131), "pftext", [], "any", false, false, false, 131) == "P")) ? (" checked") : (""));
|
||||
yield ">
|
||||
<label for=\"partialFulltextRadioP";
|
||||
// line 132
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\">";
|
||||
yield _gettext("Partial texts");
|
||||
yield "</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type=\"radio\" name=\"pftext\" id=\"partialFulltextRadioF";
|
||||
// line 135
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\" value=\"F\"";
|
||||
yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 135), "pftext", [], "any", false, false, false, 135) == "F")) ? (" checked") : (""));
|
||||
yield ">
|
||||
<label for=\"partialFulltextRadioF";
|
||||
// line 136
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\">";
|
||||
yield _gettext("Full texts");
|
||||
yield "</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 140
|
||||
if ((($context["relwork"] ?? null) && ($context["displaywork"] ?? null))) {
|
||||
// line 141
|
||||
yield " <div class=\"formelement\">
|
||||
<div>
|
||||
<input type=\"radio\" name=\"relational_display\" id=\"relationalDisplayRadioK";
|
||||
// line 143
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\" value=\"K\"";
|
||||
yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 143), "relational_display", [], "any", false, false, false, 143) == "K")) ? (" checked") : (""));
|
||||
yield ">
|
||||
<label for=\"relationalDisplayRadioK";
|
||||
// line 144
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\">";
|
||||
yield _gettext("Relational key");
|
||||
yield "</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type=\"radio\" name=\"relational_display\" id=\"relationalDisplayRadioD";
|
||||
// line 147
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\" value=\"D\"";
|
||||
yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 147), "relational_display", [], "any", false, false, false, 147) == "D")) ? (" checked") : (""));
|
||||
yield ">
|
||||
<label for=\"relationalDisplayRadioD";
|
||||
// line 148
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\">";
|
||||
yield _gettext("Display column for relationships");
|
||||
yield "</label>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 152
|
||||
yield "
|
||||
<div class=\"formelement\">
|
||||
<input type=\"checkbox\" name=\"display_binary\" id=\"display_binary_";
|
||||
// line 154
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\"";
|
||||
// line 155
|
||||
yield (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 155), "display_binary", [], "any", false, false, false, 155))) ? (" checked") : (""));
|
||||
yield ">
|
||||
<label for=\"display_binary_";
|
||||
// line 156
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\">";
|
||||
yield _gettext("Show binary contents");
|
||||
yield "</label>
|
||||
|
||||
<input type=\"checkbox\" name=\"display_blob\" id=\"display_blob_";
|
||||
// line 158
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\"";
|
||||
// line 159
|
||||
yield (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 159), "display_blob", [], "any", false, false, false, 159))) ? (" checked") : (""));
|
||||
yield ">
|
||||
<label for=\"display_blob_";
|
||||
// line 160
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\">";
|
||||
yield _gettext("Show BLOB contents");
|
||||
yield "</label>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 167
|
||||
yield " <div class=\"formelement\">
|
||||
<input type=\"checkbox\" name=\"hide_transformation\" id=\"hide_transformation_";
|
||||
// line 168
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\"";
|
||||
// line 169
|
||||
yield (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 169), "hide_transformation", [], "any", false, false, false, 169))) ? (" checked") : (""));
|
||||
yield ">
|
||||
<label for=\"hide_transformation_";
|
||||
// line 170
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\">";
|
||||
yield _gettext("Hide browser transformation");
|
||||
yield "</label>
|
||||
</div>
|
||||
|
||||
<div class=\"formelement\">
|
||||
";
|
||||
// line 174
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 174), "possible_as_geometry", [], "any", false, false, false, 174)) {
|
||||
// line 175
|
||||
yield " <div>
|
||||
<input type=\"radio\" name=\"geoOption\" id=\"geoOptionRadioGeom";
|
||||
// line 176
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\" value=\"GEOM\"";
|
||||
yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 176), "geo_option", [], "any", false, false, false, 176) == "GEOM")) ? (" checked") : (""));
|
||||
yield ">
|
||||
<label for=\"geoOptionRadioGeom";
|
||||
// line 177
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\">";
|
||||
yield _gettext("Geometry");
|
||||
yield "</label>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 180
|
||||
yield " <div>
|
||||
<input type=\"radio\" name=\"geoOption\" id=\"geoOptionRadioWkt";
|
||||
// line 181
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\" value=\"WKT\"";
|
||||
yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 181), "geo_option", [], "any", false, false, false, 181) == "WKT")) ? (" checked") : (""));
|
||||
yield ">
|
||||
<label for=\"geoOptionRadioWkt";
|
||||
// line 182
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\">";
|
||||
yield _gettext("Well Known Text");
|
||||
yield "</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type=\"radio\" name=\"geoOption\" id=\"geoOptionRadioWkb";
|
||||
// line 185
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\" value=\"WKB\"";
|
||||
yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 185), "geo_option", [], "any", false, false, false, 185) == "WKB")) ? (" checked") : (""));
|
||||
yield ">
|
||||
<label for=\"geoOptionRadioWkb";
|
||||
// line 186
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\">";
|
||||
yield _gettext("Well Known Binary");
|
||||
yield "</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class=\"clearfloat\"></div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class=\"pma-fieldset tblFooters\">
|
||||
<input class=\"btn btn-primary\" type=\"submit\" value=\"";
|
||||
yield _gettext("Go");
|
||||
// line 193
|
||||
yield "\">
|
||||
</fieldset>
|
||||
";
|
||||
// line 195
|
||||
if ((($context["default_sliders_state"] ?? null) != "disabled")) {
|
||||
// line 196
|
||||
yield " </div>
|
||||
";
|
||||
}
|
||||
// line 198
|
||||
yield " </form>
|
||||
";
|
||||
}
|
||||
// line 200
|
||||
yield "
|
||||
";
|
||||
// line 201
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "has_bulk_actions_form", [], "any", false, false, false, 201)) {
|
||||
// line 202
|
||||
yield " <form method=\"post\" name=\"resultsForm\" id=\"resultsForm_";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\" class=\"ajax\">
|
||||
";
|
||||
// line 203
|
||||
yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null), 1);
|
||||
yield "
|
||||
<input type=\"hidden\" name=\"goto\" value=\"";
|
||||
// line 204
|
||||
yield PhpMyAdmin\Url::getFromRoute("/sql");
|
||||
yield "\">
|
||||
";
|
||||
}
|
||||
// line 206
|
||||
yield "
|
||||
<div class=\"table-responsive-md\">
|
||||
<table class=\"table table-striped table-hover table-sm table_results data ajax w-auto\" data-uniqueId=\"";
|
||||
// line 208
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
|
||||
";
|
||||
// line 210
|
||||
yield CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "button", [], "any", false, false, false, 210);
|
||||
yield "
|
||||
";
|
||||
// line 211
|
||||
yield CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "table_headers_for_columns", [], "any", false, false, false, 211);
|
||||
yield "
|
||||
";
|
||||
// line 212
|
||||
yield CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "column_at_right_side", [], "any", false, false, false, 212);
|
||||
yield "
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
";
|
||||
// line 218
|
||||
yield ($context["body"] ?? null);
|
||||
yield "
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 223
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["bulk_links"] ?? null))) {
|
||||
// line 224
|
||||
yield " <div class=\"d-print-none\">
|
||||
<img class=\"selectallarrow\" src=\"";
|
||||
// line 225
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath((("arrow_" . ($context["text_dir"] ?? null)) . ".png")), "html", null, true);
|
||||
yield "\" width=\"38\" height=\"22\" alt=\"";
|
||||
yield _gettext("With selected:");
|
||||
yield "\">
|
||||
<input type=\"checkbox\" id=\"resultsForm_";
|
||||
// line 226
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "_checkall\" class=\"checkall_box\" title=\"";
|
||||
yield _gettext("Check all");
|
||||
yield "\">
|
||||
<label for=\"resultsForm_";
|
||||
// line 227
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true);
|
||||
yield "_checkall\">";
|
||||
yield _gettext("Check all");
|
||||
yield "</label>
|
||||
<em class=\"with-selected\">";
|
||||
yield _gettext("With selected:");
|
||||
// line 228
|
||||
yield "</em>
|
||||
|
||||
<button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"edit\" title=\"";
|
||||
yield _gettext("Edit");
|
||||
// line 230
|
||||
yield "\">
|
||||
";
|
||||
// line 231
|
||||
yield PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit"));
|
||||
yield "
|
||||
</button>
|
||||
|
||||
<button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"copy\" title=\"";
|
||||
yield _gettext("Copy");
|
||||
// line 234
|
||||
yield "\">
|
||||
";
|
||||
// line 235
|
||||
yield PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Copy"));
|
||||
yield "
|
||||
</button>
|
||||
|
||||
<button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"delete\" title=\"";
|
||||
yield _gettext("Delete");
|
||||
// line 238
|
||||
yield "\">
|
||||
";
|
||||
// line 239
|
||||
yield PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Delete"));
|
||||
yield "
|
||||
</button>
|
||||
|
||||
";
|
||||
// line 242
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, ($context["bulk_links"] ?? null), "has_export_button", [], "any", false, false, false, 242)) {
|
||||
// line 243
|
||||
yield " <button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"export\" title=\"";
|
||||
yield _gettext("Export");
|
||||
yield "\">
|
||||
";
|
||||
// line 244
|
||||
yield PhpMyAdmin\Html\Generator::getIcon("b_tblexport", _gettext("Export"));
|
||||
yield "
|
||||
</button>
|
||||
";
|
||||
}
|
||||
// line 247
|
||||
yield " </div>
|
||||
|
||||
<input type=\"hidden\" name=\"clause_is_unique\" value=\"";
|
||||
// line 249
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["bulk_links"] ?? null), "clause_is_unique", [], "any", false, false, false, 249), "html", null, true);
|
||||
yield "\">
|
||||
<input type=\"hidden\" name=\"sql_query\" value=\"";
|
||||
// line 250
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["sql_query"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
</form>
|
||||
";
|
||||
}
|
||||
// line 253
|
||||
yield "
|
||||
";
|
||||
// line 254
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["navigation_html"] ?? null), "html", null, true);
|
||||
yield "
|
||||
|
||||
";
|
||||
// line 256
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["operations"] ?? null))) {
|
||||
// line 257
|
||||
yield " <fieldset class=\"pma-fieldset d-print-none\">
|
||||
<legend>";
|
||||
yield _gettext("Query results operations");
|
||||
// line 258
|
||||
yield "</legend>
|
||||
|
||||
";
|
||||
// line 260
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, ($context["operations"] ?? null), "has_print_link", [], "any", false, false, false, 260)) {
|
||||
// line 261
|
||||
yield " <button type=\"button\" class=\"btn btn-link jsPrintButton\">";
|
||||
yield PhpMyAdmin\Html\Generator::getIcon("b_print", _gettext("Print"), true);
|
||||
yield "</button>
|
||||
|
||||
";
|
||||
// line 263
|
||||
yield PhpMyAdmin\Html\Generator::linkOrButton("#", null, PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Copy to clipboard"), true), ["id" => "copyToClipBoard", "class" => "btn"]);
|
||||
// line 268
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 270
|
||||
yield "
|
||||
";
|
||||
// line 271
|
||||
if ( !CoreExtension::getAttribute($this->env, $this->source, ($context["operations"] ?? null), "has_procedure", [], "any", false, false, false, 271)) {
|
||||
// line 272
|
||||
yield " ";
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, ($context["operations"] ?? null), "has_export_link", [], "any", false, false, false, 272)) {
|
||||
// line 273
|
||||
yield " ";
|
||||
yield PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/table/export"), CoreExtension::getAttribute($this->env, $this->source, // line 275
|
||||
($context["operations"] ?? null), "url_params", [], "any", false, false, false, 275), PhpMyAdmin\Html\Generator::getIcon("b_tblexport", _gettext("Export"), true), ["class" => "btn"]);
|
||||
// line 278
|
||||
yield "
|
||||
|
||||
";
|
||||
// line 280
|
||||
yield PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/table/chart"), CoreExtension::getAttribute($this->env, $this->source, // line 282
|
||||
($context["operations"] ?? null), "url_params", [], "any", false, false, false, 282), PhpMyAdmin\Html\Generator::getIcon("b_chart", _gettext("Display chart"), true), ["class" => "btn"]);
|
||||
// line 285
|
||||
yield "
|
||||
|
||||
";
|
||||
// line 287
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, ($context["operations"] ?? null), "has_geometry", [], "any", false, false, false, 287)) {
|
||||
// line 288
|
||||
yield " ";
|
||||
yield PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/table/gis-visualization"), CoreExtension::getAttribute($this->env, $this->source, // line 290
|
||||
($context["operations"] ?? null), "url_params", [], "any", false, false, false, 290), PhpMyAdmin\Html\Generator::getIcon("b_globe", _gettext("Visualize GIS data"), true), ["class" => "btn"]);
|
||||
// line 293
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 295
|
||||
yield " ";
|
||||
}
|
||||
// line 296
|
||||
yield "
|
||||
<span>
|
||||
";
|
||||
// line 298
|
||||
yield PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/view/create"), ["db" => // line 300
|
||||
($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 303
|
||||
yield "
|
||||
</span>
|
||||
";
|
||||
}
|
||||
// line 306
|
||||
yield " </fieldset>
|
||||
";
|
||||
}
|
||||
// line 308
|
||||
if (( !Twig\Extension\CoreExtension::testEmpty(($context["operations"] ?? null)) && !CoreExtension::getAttribute($this->env, $this->source, ($context["operations"] ?? null), "has_procedure", [], "any", false, false, false, 308))) {
|
||||
// line 309
|
||||
yield Twig\Extension\CoreExtension::include($this->env, $context, "modals/create_view.twig");
|
||||
yield "
|
||||
";
|
||||
}
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "display/results/table.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 751 => 309, 749 => 308, 745 => 306, 740 => 303, 738 => 300, 737 => 298, 733 => 296, 730 => 295, 726 => 293, 724 => 290, 722 => 288, 720 => 287, 716 => 285, 714 => 282, 713 => 280, 709 => 278, 707 => 275, 705 => 273, 702 => 272, 700 => 271, 697 => 270, 693 => 268, 691 => 263, 685 => 261, 683 => 260, 679 => 258, 675 => 257, 673 => 256, 668 => 254, 665 => 253, 659 => 250, 655 => 249, 651 => 247, 645 => 244, 640 => 243, 638 => 242, 632 => 239, 629 => 238, 622 => 235, 619 => 234, 612 => 231, 609 => 230, 604 => 228, 597 => 227, 591 => 226, 585 => 225, 582 => 224, 580 => 223, 572 => 218, 563 => 212, 559 => 211, 555 => 210, 550 => 208, 546 => 206, 541 => 204, 537 => 203, 532 => 202, 530 => 201, 527 => 200, 523 => 198, 519 => 196, 517 => 195, 513 => 193, 500 => 186, 494 => 185, 486 => 182, 480 => 181, 477 => 180, 469 => 177, 463 => 176, 460 => 175, 458 => 174, 449 => 170, 445 => 169, 442 => 168, 439 => 167, 431 => 160, 427 => 159, 424 => 158, 417 => 156, 413 => 155, 410 => 154, 406 => 152, 397 => 148, 391 => 147, 383 => 144, 377 => 143, 373 => 141, 371 => 140, 362 => 136, 356 => 135, 348 => 132, 342 => 131, 336 => 127, 331 => 125, 327 => 123, 322 => 121, 319 => 120, 317 => 119, 313 => 117, 311 => 115, 310 => 114, 309 => 113, 308 => 112, 307 => 111, 302 => 110, 300 => 109, 297 => 108, 290 => 105, 287 => 104, 281 => 102, 278 => 101, 272 => 99, 269 => 98, 267 => 97, 261 => 94, 256 => 92, 251 => 90, 246 => 88, 243 => 87, 234 => 81, 229 => 78, 216 => 76, 212 => 75, 209 => 74, 204 => 72, 199 => 71, 197 => 70, 190 => 67, 186 => 65, 178 => 60, 165 => 58, 160 => 57, 157 => 56, 154 => 55, 152 => 54, 147 => 53, 144 => 52, 142 => 51, 138 => 49, 133 => 47, 131 => 46, 130 => 45, 129 => 44, 125 => 43, 118 => 38, 109 => 32, 103 => 29, 93 => 24, 89 => 23, 86 => 22, 83 => 21, 81 => 19, 80 => 18, 76 => 17, 73 => 16, 71 => 15, 68 => 14, 64 => 12, 62 => 11, 57 => 9, 53 => 8, 49 => 7, 43 => 3, 40 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "display/results/table.twig", "/var/www/html/phpmyadmin/templates/display/results/table.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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;
|
||||
|
||||
/* preferences/autoload.twig */
|
||||
class __TwigTemplate_c1545b94a19f8588da7626d2bc4bc339 extends 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
|
||||
yield "<div id=\"prefs_autoload\" class=\"alert alert-primary d-print-none hide\" role=\"alert\">
|
||||
<form action=\"";
|
||||
// line 2
|
||||
yield PhpMyAdmin\Url::getFromRoute("/preferences/manage");
|
||||
yield "\" method=\"post\" class=\"disableAjax\">
|
||||
";
|
||||
// line 3
|
||||
yield ($context["hidden_inputs"] ?? null);
|
||||
yield "
|
||||
<input type=\"hidden\" name=\"json\" value=\"\">
|
||||
<input type=\"hidden\" name=\"submit_import\" value=\"1\">
|
||||
<input type=\"hidden\" name=\"return_url\" value=\"";
|
||||
// line 6
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["return_url"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
yield _gettext("Your browser has phpMyAdmin configuration for this domain. Would you like to import it for current session?");
|
||||
// line 10
|
||||
yield " <br>
|
||||
<a href=\"#yes\">";
|
||||
yield _gettext("Yes");
|
||||
// line 11
|
||||
yield "</a>
|
||||
/ <a href=\"#no\">";
|
||||
yield _gettext("No");
|
||||
// line 12
|
||||
yield "</a>
|
||||
/ <a href=\"#delete\">";
|
||||
yield _gettext("Delete settings");
|
||||
// line 13
|
||||
yield "</a>
|
||||
</form>
|
||||
</div>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "preferences/autoload.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 68 => 13, 64 => 12, 60 => 11, 56 => 10, 51 => 6, 45 => 3, 41 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "preferences/autoload.twig", "/var/www/html/phpmyadmin/templates/preferences/autoload.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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_5323d1c81b230dfc7fbb11fa6a6e820d extends 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
|
||||
yield "<div id=\"topmenucontainer\" class=\"menucontainer\">
|
||||
<nav class=\"navbar navbar-expand-lg navbar-light bg-light\">
|
||||
<button class=\"navbar-toggler\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#navbarNav\" aria-label=\"";
|
||||
// l10n: Show or hide the menu using the hamburger style button
|
||||
yield _gettext("Toggle navigation");
|
||||
// line 4
|
||||
yield "\" 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'] = CoreExtension::ensureTraversable(($context["tabs"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["tab"]) {
|
||||
// line 10
|
||||
yield " <li class=\"nav-item";
|
||||
yield ((CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "active", [], "any", false, false, false, 10)) ? (" active") : (""));
|
||||
yield "\">
|
||||
<a class=\"nav-link text-nowrap disableAjax\" href=\"";
|
||||
// line 11
|
||||
yield PhpMyAdmin\Url::getFromRoute(CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "route", [], "any", false, false, false, 11), Twig\Extension\CoreExtension::merge(($context["url_params"] ?? null), (((CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "args", [], "any", true, true, false, 11) && !(null === CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "args", [], "any", false, false, false, 11)))) ? (CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "args", [], "any", false, false, false, 11)) : ([]))));
|
||||
yield "\">
|
||||
";
|
||||
// line 12
|
||||
yield PhpMyAdmin\Html\Generator::getIcon(CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "icon", [], "any", false, false, false, 12), CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "text", [], "any", false, false, false, 12), false, true, "TabsMode");
|
||||
yield "
|
||||
";
|
||||
// line 13
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "active", [], "any", false, false, false, 13)) {
|
||||
// line 14
|
||||
yield " <span class=\"visually-hidden\">";
|
||||
// l10n: Current page
|
||||
yield _gettext("(current)");
|
||||
yield "</span>
|
||||
";
|
||||
}
|
||||
// line 16
|
||||
yield " </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
|
||||
yield " </ul>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "top_menu.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 85 => 19, 77 => 16, 70 => 14, 68 => 13, 64 => 12, 60 => 11, 55 => 10, 51 => 9, 44 => 4, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "top_menu.twig", "/var/www/html/phpmyadmin/templates/top_menu.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,223 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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_b177134205a5a1909bc82d46fc6fbd41 extends 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
|
||||
yield "<!doctype html>
|
||||
<html lang=\"";
|
||||
// line 2
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["lang"] ?? null), "html", null, true);
|
||||
yield "\" dir=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["text_dir"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
<head>
|
||||
<meta charset=\"utf-8\">
|
||||
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
|
||||
<meta name=\"referrer\" content=\"same-origin\">
|
||||
<meta name=\"robots\" content=\"noindex,nofollow,notranslate\">
|
||||
<meta name=\"google\" content=\"notranslate\">
|
||||
";
|
||||
// line 9
|
||||
if ( !($context["allow_third_party_framing"] ?? null)) {
|
||||
// line 10
|
||||
yield "<style id=\"cfs-style\">html{display: none;}</style>";
|
||||
}
|
||||
// line 12
|
||||
yield "
|
||||
<link rel=\"icon\" href=\"favicon.ico\" type=\"image/x-icon\">
|
||||
<link rel=\"shortcut icon\" href=\"favicon.ico\" type=\"image/x-icon\">
|
||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
|
||||
// line 15
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["theme_path"] ?? null), "html", null, true);
|
||||
yield "/jquery/jquery-ui.css\">
|
||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
|
||||
// line 16
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["base_dir"] ?? null), "html", null, true);
|
||||
yield "js/vendor/codemirror/lib/codemirror.css?";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["version"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
|
||||
// line 17
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["base_dir"] ?? null), "html", null, true);
|
||||
yield "js/vendor/codemirror/addon/hint/show-hint.css?";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["version"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
|
||||
// line 18
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["base_dir"] ?? null), "html", null, true);
|
||||
yield "js/vendor/codemirror/addon/lint/lint.css?";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["version"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
|
||||
// line 19
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["theme_path"] ?? null), "html", null, true);
|
||||
yield "/css/theme";
|
||||
yield (((($context["text_dir"] ?? null) == "rtl")) ? (".rtl") : (""));
|
||||
yield ".css?";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["version"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
<title>";
|
||||
// line 20
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["title"] ?? null), "html", null, true);
|
||||
yield "</title>
|
||||
";
|
||||
// line 21
|
||||
yield ($context["scripts"] ?? null);
|
||||
yield "
|
||||
<noscript><style>html{display:block}</style></noscript>
|
||||
</head>
|
||||
<body";
|
||||
// line 24
|
||||
(( !Twig\Extension\CoreExtension::testEmpty(($context["body_id"] ?? null))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((" id=" . ($context["body_id"] ?? null)), "html", null, true)) : (yield ""));
|
||||
yield ">
|
||||
";
|
||||
// line 25
|
||||
yield ($context["navigation"] ?? null);
|
||||
yield "
|
||||
";
|
||||
// line 26
|
||||
yield ($context["custom_header"] ?? null);
|
||||
yield "
|
||||
";
|
||||
// line 27
|
||||
yield ($context["load_user_preferences"] ?? null);
|
||||
yield "
|
||||
|
||||
";
|
||||
// line 29
|
||||
if ( !($context["show_hint"] ?? null)) {
|
||||
// line 30
|
||||
yield " <span id=\"no_hint\" class=\"hide\"></span>
|
||||
";
|
||||
}
|
||||
// line 32
|
||||
yield "
|
||||
";
|
||||
// line 33
|
||||
if (($context["is_warnings_enabled"] ?? null)) {
|
||||
// line 34
|
||||
yield " <noscript>
|
||||
";
|
||||
// line 35
|
||||
yield $this->env->getFilter('error')->getCallable()(_gettext("Javascript must be enabled past this point!"));
|
||||
yield "
|
||||
</noscript>
|
||||
";
|
||||
}
|
||||
// line 38
|
||||
yield "
|
||||
";
|
||||
// line 39
|
||||
if ((($context["is_menu_enabled"] ?? null) && (($context["server"] ?? null) > 0))) {
|
||||
// line 40
|
||||
yield " ";
|
||||
yield ($context["menu"] ?? null);
|
||||
yield "
|
||||
<span id=\"page_nav_icons\" class=\"d-print-none\">
|
||||
<span id=\"lock_page_icon\"></span>
|
||||
<span id=\"page_settings_icon\">
|
||||
";
|
||||
// line 44
|
||||
yield PhpMyAdmin\Html\Generator::getImage("s_cog", _gettext("Page-related settings"));
|
||||
yield "
|
||||
</span>
|
||||
<a id=\"goto_pagetop\" href=\"#\">";
|
||||
// line 46
|
||||
yield PhpMyAdmin\Html\Generator::getImage("s_top", _gettext("Click on the bar to scroll to top of page"));
|
||||
yield "</a>
|
||||
</span>
|
||||
";
|
||||
}
|
||||
// line 49
|
||||
yield "
|
||||
";
|
||||
// line 50
|
||||
yield ($context["console"] ?? null);
|
||||
yield "
|
||||
|
||||
<div id=\"page_content\">
|
||||
";
|
||||
// line 53
|
||||
yield ($context["messages"] ?? null);
|
||||
yield "
|
||||
|
||||
";
|
||||
// line 55
|
||||
yield ($context["recent_table"] ?? null);
|
||||
// line 56
|
||||
if (($context["is_logged_in"] ?? null)) {
|
||||
// line 57
|
||||
yield Twig\Extension\CoreExtension::include($this->env, $context, "modals/preview_sql_modal.twig");
|
||||
yield "
|
||||
";
|
||||
// line 58
|
||||
yield Twig\Extension\CoreExtension::include($this->env, $context, "modals/enum_set_editor.twig");
|
||||
yield "
|
||||
";
|
||||
// line 59
|
||||
yield Twig\Extension\CoreExtension::include($this->env, $context, "modals/create_view.twig");
|
||||
}
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "header.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 190 => 59, 186 => 58, 182 => 57, 180 => 56, 178 => 55, 173 => 53, 167 => 50, 164 => 49, 158 => 46, 153 => 44, 145 => 40, 143 => 39, 140 => 38, 134 => 35, 131 => 34, 129 => 33, 126 => 32, 122 => 30, 120 => 29, 115 => 27, 111 => 26, 107 => 25, 103 => 24, 97 => 21, 93 => 20, 85 => 19, 79 => 18, 73 => 17, 67 => 16, 63 => 15, 58 => 12, 55 => 10, 53 => 9, 41 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "header.twig", "/var/www/html/phpmyadmin/templates/header.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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_6fb85ba9a979db4f9139ed82c1711710 extends 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
|
||||
yield "<div class=\"alert alert-";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["context"] ?? null), "html", null, true);
|
||||
yield "\" role=\"alert\">
|
||||
";
|
||||
// line 2
|
||||
yield ($context["message"] ?? null);
|
||||
yield "
|
||||
</div>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "message.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 43 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "message.twig", "/var/www/html/phpmyadmin/templates/message.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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/row_data.twig */
|
||||
class __TwigTemplate_25eb348b6bd6c88c2e8f9f682f6d8b57 extends 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
|
||||
yield "<td data-decimals=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["decimals"] ?? null), "html", null, true);
|
||||
yield "\" data-type=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["type"] ?? null), "html", null, true);
|
||||
yield "\"";
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["original_length"] ?? null))) {
|
||||
yield " data-originallength=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["original_length"] ?? null), "html", null, true);
|
||||
yield "\"";
|
||||
}
|
||||
yield " class=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["td_class"] ?? null), "html", null, true);
|
||||
yield "\">";
|
||||
// line 2
|
||||
yield ($context["value"] ?? null);
|
||||
// line 3
|
||||
yield "</td>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "display/results/row_data.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 54 => 3, 52 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "display/results/row_data.twig", "/var/www/html/phpmyadmin/templates/display/results/row_data.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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/controls.twig */
|
||||
class __TwigTemplate_b2d1ad48f8d224c582c22f5133927e11 extends 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
|
||||
yield "<!-- CONTROLS START -->
|
||||
<li id=\"navigation_controls_outer\">
|
||||
<div id=\"navigation_controls\">
|
||||
";
|
||||
// line 4
|
||||
yield ($context["collapse_all"] ?? null);
|
||||
yield "
|
||||
";
|
||||
// line 5
|
||||
yield ($context["unlink"] ?? null);
|
||||
yield "
|
||||
</div>
|
||||
</li>
|
||||
<!-- CONTROLS ENDS -->
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "navigation/tree/controls.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 47 => 5, 43 => 4, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "navigation/tree/controls.twig", "/var/www/html/phpmyadmin/templates/navigation/tree/controls.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,591 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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_7ef0aa738eff38d925a04b3a34d7cf27 extends 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
|
||||
yield "var firstDayOfCalendar = '";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["first_day_of_calendar"] ?? null), "js", null, true);
|
||||
yield "';
|
||||
var themeImagePath = '";
|
||||
// line 3
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath(), "js", null, true);
|
||||
yield "';
|
||||
var mysqlDocTemplate = '";
|
||||
// line 4
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::getMySQLDocuURL("%s"), "js", null, true);
|
||||
yield "';
|
||||
var maxInputVars = ";
|
||||
// line 5
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["max_input_vars"] ?? null), "js", null, true);
|
||||
yield ";
|
||||
|
||||
";
|
||||
// line 7
|
||||
$context["show_month_after_year"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Month-year order for calendar, use either "calendar-month-year" or "calendar-year-month".
|
||||
yield _gettext("calendar-month-year");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 10
|
||||
$context["year_suffix"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Year suffix for calendar, "none" is empty.
|
||||
yield _gettext("none");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 14
|
||||
yield "if (\$.datepicker) {
|
||||
\$.datepicker.regional[''].closeText = '";
|
||||
// line 15
|
||||
$___internal_parse_1_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Display text for calendar close link
|
||||
yield _gettext("Done");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_1_, "js");
|
||||
yield "';
|
||||
\$.datepicker.regional[''].prevText = '";
|
||||
// line 16
|
||||
$___internal_parse_2_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Previous month. Display text for previous month link in calendar
|
||||
yield _gettext("Prev");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_2_, "js");
|
||||
yield "';
|
||||
\$.datepicker.regional[''].nextText = '";
|
||||
// line 17
|
||||
$___internal_parse_3_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Next month. Display text for next month link in calendar
|
||||
yield _gettext("Next");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_3_, "js");
|
||||
yield "';
|
||||
\$.datepicker.regional[''].currentText = '";
|
||||
// line 18
|
||||
$___internal_parse_4_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Display text for current month link in calendar
|
||||
yield _gettext("Today");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_4_, "js");
|
||||
yield "';
|
||||
\$.datepicker.regional[''].monthNames = [
|
||||
'";
|
||||
// line 20
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("January"), "js", null, true);
|
||||
yield "',
|
||||
'";
|
||||
// line 21
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("February"), "js", null, true);
|
||||
yield "',
|
||||
'";
|
||||
// line 22
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("March"), "js", null, true);
|
||||
yield "',
|
||||
'";
|
||||
// line 23
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("April"), "js", null, true);
|
||||
yield "',
|
||||
'";
|
||||
// line 24
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("May"), "js", null, true);
|
||||
yield "',
|
||||
'";
|
||||
// line 25
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("June"), "js", null, true);
|
||||
yield "',
|
||||
'";
|
||||
// line 26
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("July"), "js", null, true);
|
||||
yield "',
|
||||
'";
|
||||
// line 27
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("August"), "js", null, true);
|
||||
yield "',
|
||||
'";
|
||||
// line 28
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("September"), "js", null, true);
|
||||
yield "',
|
||||
'";
|
||||
// line 29
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("October"), "js", null, true);
|
||||
yield "',
|
||||
'";
|
||||
// line 30
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("November"), "js", null, true);
|
||||
yield "',
|
||||
'";
|
||||
// line 31
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("December"), "js", null, true);
|
||||
yield "',
|
||||
];
|
||||
\$.datepicker.regional[''].monthNamesShort = [
|
||||
'";
|
||||
// line 34
|
||||
$___internal_parse_5_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Short month name for January
|
||||
yield _gettext("Jan");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_5_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 35
|
||||
$___internal_parse_6_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Short month name for February
|
||||
yield _gettext("Feb");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_6_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 36
|
||||
$___internal_parse_7_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Short month name for March
|
||||
yield _gettext("Mar");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_7_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 37
|
||||
$___internal_parse_8_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Short month name for April
|
||||
yield _gettext("Apr");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_8_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 38
|
||||
$___internal_parse_9_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Short month name for May
|
||||
yield _gettext("May");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_9_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 39
|
||||
$___internal_parse_10_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Short month name for June
|
||||
yield _gettext("Jun");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_10_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 40
|
||||
$___internal_parse_11_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Short month name for July
|
||||
yield _gettext("Jul");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_11_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 41
|
||||
$___internal_parse_12_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Short month name for August
|
||||
yield _gettext("Aug");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_12_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 42
|
||||
$___internal_parse_13_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Short month name for September
|
||||
yield _gettext("Sep");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_13_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 43
|
||||
$___internal_parse_14_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Short month name for October
|
||||
yield _gettext("Oct");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_14_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 44
|
||||
$___internal_parse_15_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Short month name for November
|
||||
yield _gettext("Nov");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_15_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 45
|
||||
$___internal_parse_16_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Short month name for December
|
||||
yield _gettext("Dec");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_16_, "js");
|
||||
yield "',
|
||||
];
|
||||
\$.datepicker.regional[''].dayNames = [
|
||||
'";
|
||||
// line 48
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Sunday"), "js", null, true);
|
||||
yield "',
|
||||
'";
|
||||
// line 49
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Monday"), "js", null, true);
|
||||
yield "',
|
||||
'";
|
||||
// line 50
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Tuesday"), "js", null, true);
|
||||
yield "',
|
||||
'";
|
||||
// line 51
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Wednesday"), "js", null, true);
|
||||
yield "',
|
||||
'";
|
||||
// line 52
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Thursday"), "js", null, true);
|
||||
yield "',
|
||||
'";
|
||||
// line 53
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Friday"), "js", null, true);
|
||||
yield "',
|
||||
'";
|
||||
// line 54
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Saturday"), "js", null, true);
|
||||
yield "',
|
||||
];
|
||||
\$.datepicker.regional[''].dayNamesShort = [
|
||||
'";
|
||||
// line 57
|
||||
$___internal_parse_17_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Short week day name for Sunday
|
||||
yield _gettext("Sun");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_17_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 58
|
||||
$___internal_parse_18_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Short week day name for Monday
|
||||
yield _gettext("Mon");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_18_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 59
|
||||
$___internal_parse_19_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Short week day name for Tuesday
|
||||
yield _gettext("Tue");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_19_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 60
|
||||
$___internal_parse_20_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Short week day name for Wednesday
|
||||
yield _gettext("Wed");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_20_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 61
|
||||
$___internal_parse_21_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Short week day name for Thursday
|
||||
yield _gettext("Thu");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_21_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 62
|
||||
$___internal_parse_22_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Short week day name for Friday
|
||||
yield _gettext("Fri");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_22_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 63
|
||||
$___internal_parse_23_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Short week day name for Saturday
|
||||
yield _gettext("Sat");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_23_, "js");
|
||||
yield "',
|
||||
];
|
||||
\$.datepicker.regional[''].dayNamesMin = [
|
||||
'";
|
||||
// line 66
|
||||
$___internal_parse_24_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Minimal week day name for Sunday
|
||||
yield _gettext("Su");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_24_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 67
|
||||
$___internal_parse_25_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Minimal week day name for Monday
|
||||
yield _gettext("Mo");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_25_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 68
|
||||
$___internal_parse_26_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Minimal week day name for Tuesday
|
||||
yield _gettext("Tu");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_26_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 69
|
||||
$___internal_parse_27_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Minimal week day name for Wednesday
|
||||
yield _gettext("We");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_27_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 70
|
||||
$___internal_parse_28_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Minimal week day name for Thursday
|
||||
yield _gettext("Th");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_28_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 71
|
||||
$___internal_parse_29_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Minimal week day name for Friday
|
||||
yield _gettext("Fr");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_29_, "js");
|
||||
yield "',
|
||||
'";
|
||||
// line 72
|
||||
$___internal_parse_30_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Minimal week day name for Saturday
|
||||
yield _gettext("Sa");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_30_, "js");
|
||||
yield "',
|
||||
];
|
||||
\$.datepicker.regional[''].weekHeader = '";
|
||||
// line 74
|
||||
$___internal_parse_31_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: Column header for week of the year in calendar
|
||||
yield _gettext("Wk");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_31_, "js");
|
||||
yield "';
|
||||
\$.datepicker.regional[''].showMonthAfterYear = ";
|
||||
// line 75
|
||||
yield (((($context["show_month_after_year"] ?? null) == "calendar-year-month")) ? ("true") : ("false"));
|
||||
yield ";
|
||||
\$.datepicker.regional[''].yearSuffix = '";
|
||||
// line 76
|
||||
yield (((($context["year_suffix"] ?? null) != "none")) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["year_suffix"] ?? null), "js")) : (""));
|
||||
yield "';
|
||||
\$.extend(\$.datepicker._defaults, \$.datepicker.regional['']);
|
||||
}
|
||||
|
||||
if (\$.timepicker) {
|
||||
\$.timepicker.regional[''].timeText = '";
|
||||
// line 81
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Time"), "js", null, true);
|
||||
yield "';
|
||||
\$.timepicker.regional[''].hourText = '";
|
||||
// line 82
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Hour"), "js", null, true);
|
||||
yield "';
|
||||
\$.timepicker.regional[''].minuteText = '";
|
||||
// line 83
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Minute"), "js", null, true);
|
||||
yield "';
|
||||
\$.timepicker.regional[''].secondText = '";
|
||||
// line 84
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Second"), "js", null, true);
|
||||
yield "';
|
||||
\$.extend(\$.timepicker._defaults, \$.timepicker.regional['']);
|
||||
}
|
||||
|
||||
function extendingValidatorMessages () {
|
||||
\$.extend(\$.validator.messages, {
|
||||
required: '";
|
||||
// line 90
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("This field is required"), "js", null, true);
|
||||
yield "',
|
||||
remote: '";
|
||||
// line 91
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Please fix this field"), "js", null, true);
|
||||
yield "',
|
||||
email: '";
|
||||
// line 92
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Please enter a valid email address"), "js", null, true);
|
||||
yield "',
|
||||
url: '";
|
||||
// line 93
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Please enter a valid URL"), "js", null, true);
|
||||
yield "',
|
||||
date: '";
|
||||
// line 94
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Please enter a valid date"), "js", null, true);
|
||||
yield "',
|
||||
dateISO: '";
|
||||
// line 95
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Please enter a valid date ( ISO )"), "js", null, true);
|
||||
yield "',
|
||||
number: '";
|
||||
// line 96
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Please enter a valid number"), "js", null, true);
|
||||
yield "',
|
||||
creditcard: '";
|
||||
// line 97
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Please enter a valid credit card number"), "js", null, true);
|
||||
yield "',
|
||||
digits: '";
|
||||
// line 98
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Please enter only digits"), "js", null, true);
|
||||
yield "',
|
||||
equalTo: '";
|
||||
// line 99
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Please enter the same value again"), "js", null, true);
|
||||
yield "',
|
||||
maxlength: \$.validator.format('";
|
||||
// line 100
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Please enter no more than {0} characters"), "js", null, true);
|
||||
yield "'),
|
||||
minlength: \$.validator.format('";
|
||||
// line 101
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Please enter at least {0} characters"), "js", null, true);
|
||||
yield "'),
|
||||
rangelength: \$.validator.format('";
|
||||
// line 102
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Please enter a value between {0} and {1} characters long"), "js", null, true);
|
||||
yield "'),
|
||||
range: \$.validator.format('";
|
||||
// line 103
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Please enter a value between {0} and {1}"), "js", null, true);
|
||||
yield "'),
|
||||
max: \$.validator.format('";
|
||||
// line 104
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Please enter a value less than or equal to {0}"), "js", null, true);
|
||||
yield "'),
|
||||
min: \$.validator.format('";
|
||||
// line 105
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Please enter a value greater than or equal to {0}"), "js", null, true);
|
||||
yield "'),
|
||||
validationFunctionForDateTime: \$.validator.format('";
|
||||
// line 106
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Please enter a valid date or time"), "js", null, true);
|
||||
yield "'),
|
||||
validationFunctionForHex: \$.validator.format('";
|
||||
// line 107
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Please enter a valid HEX input"), "js", null, true);
|
||||
yield "'),
|
||||
validationFunctionForMd5: \$.validator.format('";
|
||||
// line 108
|
||||
$___internal_parse_32_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: To validate the usage of a MD5 function on the column
|
||||
yield _gettext("This column can not contain a 32 chars value");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_32_, "js");
|
||||
yield "'),
|
||||
validationFunctionForAesDesEncrypt: \$.validator.format('";
|
||||
// line 109
|
||||
$___internal_parse_33_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// l10n: To validate the usage of a AES_ENCRYPT/DES_ENCRYPT function on the column
|
||||
yield _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.");
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($___internal_parse_33_, "js");
|
||||
yield "')
|
||||
});
|
||||
}
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "javascript/variables.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 550 => 109, 541 => 108, 537 => 107, 533 => 106, 529 => 105, 525 => 104, 521 => 103, 517 => 102, 513 => 101, 509 => 100, 505 => 99, 501 => 98, 497 => 97, 493 => 96, 489 => 95, 485 => 94, 481 => 93, 477 => 92, 473 => 91, 469 => 90, 460 => 84, 456 => 83, 452 => 82, 448 => 81, 440 => 76, 436 => 75, 427 => 74, 417 => 72, 408 => 71, 399 => 70, 390 => 69, 381 => 68, 372 => 67, 363 => 66, 352 => 63, 343 => 62, 334 => 61, 325 => 60, 316 => 59, 307 => 58, 298 => 57, 292 => 54, 288 => 53, 284 => 52, 280 => 51, 276 => 50, 272 => 49, 268 => 48, 257 => 45, 248 => 44, 239 => 43, 230 => 42, 221 => 41, 212 => 40, 203 => 39, 194 => 38, 185 => 37, 176 => 36, 167 => 35, 158 => 34, 152 => 31, 148 => 30, 144 => 29, 140 => 28, 136 => 27, 132 => 26, 128 => 25, 124 => 24, 120 => 23, 116 => 22, 112 => 21, 108 => 20, 98 => 18, 89 => 17, 80 => 16, 71 => 15, 68 => 14, 62 => 10, 56 => 7, 51 => 5, 47 => 4, 43 => 3, 38 => 2,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "javascript/variables.twig", "/var/www/html/phpmyadmin/templates/javascript/variables.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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/quick_warp.twig */
|
||||
class __TwigTemplate_25f4573513af00dd9fd21ed86183ab23 extends 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
|
||||
yield "<div class=\"pma_quick_warp\">
|
||||
";
|
||||
// line 2
|
||||
if (($context["recent"] ?? null)) {
|
||||
yield ($context["recent"] ?? null);
|
||||
}
|
||||
// line 3
|
||||
yield " ";
|
||||
if (($context["favorite"] ?? null)) {
|
||||
yield ($context["favorite"] ?? null);
|
||||
}
|
||||
// line 4
|
||||
yield " <div class=\"clearfloat\"></div>
|
||||
</div>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "navigation/tree/quick_warp.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 50 => 4, 45 => 3, 41 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "navigation/tree/quick_warp.twig", "/var/www/html/phpmyadmin/templates/navigation/tree/quick_warp.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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_839655e58236a28efecd9c6b4c93367c extends 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
|
||||
yield ($context["quick_warp"] ?? null);
|
||||
yield "
|
||||
|
||||
<div class=\"clearfloat\"></div>
|
||||
|
||||
<ul>
|
||||
";
|
||||
// line 6
|
||||
yield ($context["fast_filter"] ?? null);
|
||||
yield "
|
||||
";
|
||||
// line 7
|
||||
yield ($context["controls"] ?? null);
|
||||
yield "
|
||||
</ul>
|
||||
|
||||
";
|
||||
// line 10
|
||||
yield ($context["page_selector"] ?? null);
|
||||
yield "
|
||||
|
||||
<div id='pma_navigation_tree_content'>
|
||||
<ul>
|
||||
";
|
||||
// line 14
|
||||
yield ($context["nodes"] ?? null);
|
||||
yield "
|
||||
</ul>
|
||||
</div>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "navigation/tree/state.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 63 => 14, 56 => 10, 50 => 7, 46 => 6, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "navigation/tree/state.twig", "/var/www/html/phpmyadmin/templates/navigation/tree/state.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,396 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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/input.twig */
|
||||
class __TwigTemplate_2d6986c4bb79e3aec13a6f8bd2dc4351 extends 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["option_is_disabled"] ?? null)) {
|
||||
// line 2
|
||||
yield " ";
|
||||
$context["tr_class"] = (($context["tr_class"] ?? null) . " disabled-field");
|
||||
}
|
||||
// line 4
|
||||
yield "<tr";
|
||||
if (($context["tr_class"] ?? null)) {
|
||||
yield " class=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["tr_class"] ?? null), "html", null, true);
|
||||
yield "\"";
|
||||
}
|
||||
yield ">
|
||||
<th>
|
||||
<label for=\"";
|
||||
// line 6
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
|
||||
yield "\">";
|
||||
yield ($context["name"] ?? null);
|
||||
yield "</label>
|
||||
|
||||
";
|
||||
// line 8
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["doc"] ?? null))) {
|
||||
// line 9
|
||||
yield " <span class=\"doc\">
|
||||
<a href=\"";
|
||||
// line 10
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["doc"] ?? null), "html", null, true);
|
||||
yield "\" target=\"documentation\">";
|
||||
yield PhpMyAdmin\Html\Generator::getImage("b_help", _gettext("Documentation"));
|
||||
yield "</a>
|
||||
</span>
|
||||
";
|
||||
}
|
||||
// line 13
|
||||
yield "
|
||||
";
|
||||
// line 14
|
||||
if (($context["option_is_disabled"] ?? null)) {
|
||||
// line 15
|
||||
yield " <span class=\"disabled-notice\" title=\"";
|
||||
yield _gettext("This setting is disabled, it will not be applied to your configuration.");
|
||||
yield "\">
|
||||
";
|
||||
yield _gettext("Disabled");
|
||||
// line 17
|
||||
yield " </span>
|
||||
";
|
||||
}
|
||||
// line 19
|
||||
yield "
|
||||
";
|
||||
// line 20
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["description"] ?? null))) {
|
||||
// line 21
|
||||
yield " <small>";
|
||||
yield ($context["description"] ?? null);
|
||||
yield "</small>
|
||||
";
|
||||
}
|
||||
// line 23
|
||||
yield " </th>
|
||||
|
||||
<td>
|
||||
";
|
||||
// line 26
|
||||
if ((($context["type"] ?? null) == "text")) {
|
||||
// line 27
|
||||
yield " <input type=\"text\" name=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
|
||||
yield "\" id=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
|
||||
yield "\" value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["value"] ?? null), "html", null, true);
|
||||
yield "\" class=\"w-75";
|
||||
yield (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : (""));
|
||||
yield "\">
|
||||
";
|
||||
} elseif (( // line 28
|
||||
($context["type"] ?? null) == "password")) {
|
||||
// line 29
|
||||
yield " <input type=\"password\" name=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
|
||||
yield "\" id=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
|
||||
yield "\" value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["value"] ?? null), "html", null, true);
|
||||
yield "\" class=\"w-75";
|
||||
yield (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : (""));
|
||||
yield "\" spellcheck=\"false\">
|
||||
";
|
||||
} elseif ((( // line 30
|
||||
($context["type"] ?? null) == "short_text") && !is_iterable(($context["value"] ?? null)))) {
|
||||
// line 31
|
||||
yield " ";
|
||||
// line 32
|
||||
yield " <input type=\"text\" size=\"25\" name=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
|
||||
yield "\" id=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
|
||||
yield "\" value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["value"] ?? null), "html", null, true);
|
||||
yield "\" class=\"";
|
||||
yield (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? ("custom field-error") : ("custom"))) : (""));
|
||||
yield "\">
|
||||
";
|
||||
} elseif (( // line 33
|
||||
($context["type"] ?? null) == "number_text")) {
|
||||
// line 34
|
||||
yield " <input type=\"number\" name=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
|
||||
yield "\" id=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
|
||||
yield "\" value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["value"] ?? null), "html", null, true);
|
||||
yield "\" class=\"";
|
||||
yield (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? ("custom field-error") : ("custom"))) : (""));
|
||||
yield "\">
|
||||
";
|
||||
} elseif (( // line 35
|
||||
($context["type"] ?? null) == "checkbox")) {
|
||||
// line 36
|
||||
yield " <span class=\"checkbox";
|
||||
yield (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : (""));
|
||||
yield "\">
|
||||
<input type=\"checkbox\" name=\"";
|
||||
// line 37
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
|
||||
yield "\" id=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
|
||||
yield "\"";
|
||||
yield ((($context["value"] ?? null)) ? (" checked") : (""));
|
||||
yield ">
|
||||
</span>
|
||||
";
|
||||
} elseif (( // line 39
|
||||
($context["type"] ?? null) == "select")) {
|
||||
// line 40
|
||||
yield " <select name=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
|
||||
yield "\" id=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
|
||||
yield "\" class=\"w-75";
|
||||
yield (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : (""));
|
||||
yield "\">
|
||||
";
|
||||
// line 41
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["select_values"] ?? null));
|
||||
foreach ($context['_seq'] as $context["key"] => $context["val"]) {
|
||||
// line 42
|
||||
yield " ";
|
||||
if (($context["val"] === true)) {
|
||||
$context["val"] = _gettext("Yes");
|
||||
} elseif (($context["val"] === false)) {
|
||||
$context["val"] = _gettext("No");
|
||||
}
|
||||
// line 43
|
||||
yield " <option value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
|
||||
yield "\"";
|
||||
yield ((((($context["key"] === ($context["value"] ?? null)) || ((($context["value"] ?? null) === true) && ($context["key"] === 1))) || ((($context["value"] ?? null) === false) && ($context["key"] === 0)))) ? (" selected") : (""));
|
||||
yield ((CoreExtension::inFilter($context["key"], ($context["select_values_disabled"] ?? null))) ? (" disabled") : (""));
|
||||
yield ">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["val"], "html", null, true);
|
||||
yield "</option>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['key'], $context['val'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 45
|
||||
yield " </select>
|
||||
";
|
||||
} elseif (( // line 46
|
||||
($context["type"] ?? null) == "list")) {
|
||||
// line 47
|
||||
yield " <textarea cols=\"35\" rows=\"5\" name=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
|
||||
yield "\" id=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
|
||||
yield "\" class=\"";
|
||||
yield (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? ("custom field-error") : ("custom"))) : (""));
|
||||
yield "\">";
|
||||
// line 48
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["value"] ?? 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["val"]) {
|
||||
if (($context["key"] != "wrapper_params")) {
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["val"], "html", null, true);
|
||||
yield (( !CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 48)) ? ("
|
||||
") : (""));
|
||||
}
|
||||
++$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['val'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 49
|
||||
yield "</textarea>
|
||||
";
|
||||
}
|
||||
// line 51
|
||||
yield "
|
||||
";
|
||||
// line 52
|
||||
if ((($context["is_setup"] ?? null) && ($context["comment"] ?? null))) {
|
||||
// line 53
|
||||
yield " <a class=\"userprefs-comment\" title=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["comment"] ?? null), "html", null, true);
|
||||
yield "\">";
|
||||
yield PhpMyAdmin\Html\Generator::getImage("b_tblops", _gettext("Comment"));
|
||||
yield "</a>
|
||||
";
|
||||
}
|
||||
// line 55
|
||||
yield "
|
||||
";
|
||||
// line 56
|
||||
if (($context["set_value"] ?? null)) {
|
||||
// line 57
|
||||
yield " <a class=\"set-value hide\" href=\"#";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
|
||||
yield "=";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["set_value"] ?? null), "html", null, true);
|
||||
yield "\" title=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf(_gettext("Set value: %s"), ($context["set_value"] ?? null)), "html", null, true);
|
||||
yield "\">";
|
||||
// line 58
|
||||
yield PhpMyAdmin\Html\Generator::getImage("b_edit", Twig\Extension\CoreExtension::sprintf(_gettext("Set value: %s"), ($context["set_value"] ?? null)));
|
||||
// line 59
|
||||
yield "</a>
|
||||
";
|
||||
}
|
||||
// line 61
|
||||
yield "
|
||||
";
|
||||
// line 62
|
||||
if (($context["show_restore_default"] ?? null)) {
|
||||
// line 63
|
||||
yield " <a class=\"restore-default hide\" href=\"#";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
|
||||
yield "\" title=\"";
|
||||
yield _gettext("Restore default value");
|
||||
yield "\">";
|
||||
// line 64
|
||||
yield PhpMyAdmin\Html\Generator::getImage("s_reload", _gettext("Restore default value"));
|
||||
// line 65
|
||||
yield "</a>
|
||||
";
|
||||
}
|
||||
// line 67
|
||||
yield "
|
||||
";
|
||||
// line 69
|
||||
yield " ";
|
||||
if (($context["has_errors"] ?? null)) {
|
||||
// line 70
|
||||
yield " <dl class=\"inline_errors\">
|
||||
";
|
||||
// line 71
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["errors"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
|
||||
// line 72
|
||||
yield " <dd>";
|
||||
yield $context["error"];
|
||||
yield "</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 74
|
||||
yield " </dl>
|
||||
";
|
||||
}
|
||||
// line 76
|
||||
yield " </td>
|
||||
|
||||
";
|
||||
// line 78
|
||||
if ((($context["is_setup"] ?? null) && !(null === ($context["allows_customization"] ?? null)))) {
|
||||
// line 79
|
||||
yield " <td class=\"userprefs-allow\" title=\"";
|
||||
yield _gettext("Allow users to customize this value");
|
||||
yield "\">
|
||||
<input type=\"checkbox\" name=\"";
|
||||
// line 80
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
|
||||
yield "-userprefs-allow\"";
|
||||
yield ((($context["allows_customization"] ?? null)) ? (" checked") : (""));
|
||||
yield " aria-label=\"";
|
||||
yield _gettext("Allow users to customize this value");
|
||||
yield "\">
|
||||
</td>
|
||||
";
|
||||
} elseif ( // line 82
|
||||
($context["is_setup"] ?? null)) {
|
||||
// line 83
|
||||
yield " <td> </td>
|
||||
";
|
||||
}
|
||||
// line 85
|
||||
yield "</tr>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "config/form_display/input.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 363 => 85, 359 => 83, 357 => 82, 348 => 80, 343 => 79, 341 => 78, 337 => 76, 333 => 74, 324 => 72, 320 => 71, 317 => 70, 314 => 69, 311 => 67, 307 => 65, 305 => 64, 299 => 63, 297 => 62, 294 => 61, 290 => 59, 288 => 58, 280 => 57, 278 => 56, 275 => 55, 267 => 53, 265 => 52, 262 => 51, 258 => 49, 224 => 48, 216 => 47, 214 => 46, 211 => 45, 197 => 43, 190 => 42, 186 => 41, 177 => 40, 175 => 39, 166 => 37, 161 => 36, 159 => 35, 148 => 34, 146 => 33, 135 => 32, 133 => 31, 131 => 30, 120 => 29, 118 => 28, 107 => 27, 105 => 26, 100 => 23, 94 => 21, 92 => 20, 89 => 19, 85 => 17, 79 => 15, 77 => 14, 74 => 13, 66 => 10, 63 => 9, 61 => 8, 54 => 6, 44 => 4, 40 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "config/form_display/input.twig", "/var/www/html/phpmyadmin/templates/config/form_display/input.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,155 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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;
|
||||
|
||||
/* setup/base.twig */
|
||||
class __TwigTemplate_46e12a5d885d2e86209de14e8741add2 extends 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
|
||||
yield "<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=\"utf-8\">
|
||||
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
|
||||
<title>phpMyAdmin setup</title>
|
||||
<link href=\"../favicon.ico\" rel=\"icon\" type=\"image/x-icon\">
|
||||
<link href=\"../favicon.ico\" rel=\"shortcut icon\" type=\"image/x-icon\">
|
||||
<link href=\"../setup/styles.css\" rel=\"stylesheet\" type=\"text/css\">
|
||||
<script type=\"text/javascript\" src=\"../js/vendor/jquery/jquery.min.js\"></script>
|
||||
<script type=\"text/javascript\" src=\"../js/vendor/jquery/jquery-ui.min.js\"></script>
|
||||
<script type=\"text/javascript\" src=\"../js/vendor/bootstrap/bootstrap.bundle.min.js\"></script>
|
||||
<script type=\"text/javascript\" src=\"../js/dist/setup/ajax.js\"></script>
|
||||
<script type=\"text/javascript\" src=\"../js/dist/config.js\"></script>
|
||||
<script type=\"text/javascript\" src=\"../js/dist/setup/scripts.js\"></script>
|
||||
<script type=\"text/javascript\" src=\"../js/messages.php\"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>
|
||||
<span class=\"blue\">php</span><span class=\"orange\">MyAdmin</span>
|
||||
setup
|
||||
</h1>
|
||||
|
||||
<div id=\"menu\">
|
||||
<ul>
|
||||
<li>
|
||||
<a href=\"index.php";
|
||||
// line 28
|
||||
yield PhpMyAdmin\Url::getCommon();
|
||||
yield "\"";
|
||||
yield ((Twig\Extension\CoreExtension::testEmpty(($context["formset"] ?? null))) ? (" class=\"active\"") : (""));
|
||||
yield ">
|
||||
";
|
||||
yield _gettext("Overview");
|
||||
// line 30
|
||||
yield " </a>
|
||||
</li>
|
||||
";
|
||||
// line 32
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["pages"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["page"]) {
|
||||
// line 33
|
||||
yield " <li>
|
||||
<a href=\"index.php";
|
||||
// line 34
|
||||
yield PhpMyAdmin\Url::getCommon(["page" => "form", "formset" => CoreExtension::getAttribute($this->env, $this->source, // line 36
|
||||
$context["page"], "formset", [], "any", false, false, false, 36)]);
|
||||
// line 37
|
||||
yield "\"";
|
||||
yield (((($context["formset"] ?? null) == CoreExtension::getAttribute($this->env, $this->source, $context["page"], "formset", [], "any", false, false, false, 37))) ? (" class=\"active\"") : (""));
|
||||
yield ">
|
||||
";
|
||||
// line 38
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["page"], "name", [], "any", false, false, false, 38), "html", null, true);
|
||||
yield "
|
||||
</a>
|
||||
</li>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['page'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 42
|
||||
yield " </ul>
|
||||
</div>
|
||||
|
||||
<div id=\"page\" class=\"setup-page\">
|
||||
";
|
||||
// line 46
|
||||
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
|
||||
// line 47
|
||||
yield "</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
// line 46
|
||||
public function block_content($context, array $blocks = [])
|
||||
{
|
||||
$macros = $this->macros;
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "setup/base.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 121 => 46, 112 => 47, 110 => 46, 104 => 42, 94 => 38, 89 => 37, 87 => 36, 86 => 34, 83 => 33, 79 => 32, 75 => 30, 68 => 28, 39 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "setup/base.twig", "/var/www/html/phpmyadmin/templates/setup/base.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,479 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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;
|
||||
|
||||
/* setup/home/index.twig */
|
||||
class __TwigTemplate_ea88cbfb205b21cc995f3cdbf97790c7 extends Template
|
||||
{
|
||||
private $source;
|
||||
private $macros = [];
|
||||
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->source = $this->getSourceContext();
|
||||
|
||||
$this->blocks = [
|
||||
'content' => [$this, 'block_content'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context)
|
||||
{
|
||||
// line 1
|
||||
return "setup/base.twig";
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$this->parent = $this->loadTemplate("setup/base.twig", "setup/home/index.twig", 1);
|
||||
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
|
||||
}
|
||||
|
||||
// line 2
|
||||
public function block_content($context, array $blocks = [])
|
||||
{
|
||||
$macros = $this->macros;
|
||||
// line 3
|
||||
yield "
|
||||
<form id=\"select_lang\" method=\"post\">
|
||||
";
|
||||
// line 5
|
||||
yield PhpMyAdmin\Url::getHiddenInputs();
|
||||
yield "
|
||||
<bdo lang=\"en\" dir=\"ltr\">
|
||||
<label for=\"lang\">
|
||||
";
|
||||
yield _gettext("Language");
|
||||
// line 9
|
||||
yield " ";
|
||||
yield (((_gettext("Language") != "Language")) ? (" - Language") : (""));
|
||||
yield "
|
||||
</label>
|
||||
</bdo>
|
||||
<br>
|
||||
<select id=\"lang\" name=\"lang\" class=\"autosubmit\" lang=\"en\" dir=\"ltr\">
|
||||
";
|
||||
// line 14
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["languages"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
|
||||
// line 15
|
||||
yield " <option value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 15), "html", null, true);
|
||||
yield "\"";
|
||||
yield ((CoreExtension::getAttribute($this->env, $this->source, $context["language"], "is_active", [], "any", false, false, false, 15)) ? (" selected") : (""));
|
||||
yield ">";
|
||||
yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 15);
|
||||
yield "</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 17
|
||||
yield " </select>
|
||||
</form>
|
||||
|
||||
<h2>";
|
||||
yield _gettext("Overview");
|
||||
// line 20
|
||||
yield "</h2>
|
||||
|
||||
<a href=\"#\" id=\"show_hidden_messages\" class=\"hide\">
|
||||
";
|
||||
yield _gettext("Show hidden messages");
|
||||
// line 23
|
||||
yield " (#MSG_COUNT)
|
||||
</a>
|
||||
|
||||
";
|
||||
// line 26
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["messages"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
|
||||
// line 27
|
||||
yield " <div class=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["message"], "type", [], "any", false, false, false, 27), "html", null, true);
|
||||
yield ((CoreExtension::getAttribute($this->env, $this->source, $context["message"], "is_hidden", [], "any", false, false, false, 27)) ? (" hiddenmessage") : (""));
|
||||
yield "\" id=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["message"], "id", [], "any", false, false, false, 27), "html", null, true);
|
||||
yield "\">
|
||||
<h4 class=\"fs-6\">";
|
||||
// line 28
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["message"], "title", [], "any", false, false, false, 28), "html", null, true);
|
||||
yield "</h4>
|
||||
";
|
||||
// line 29
|
||||
yield CoreExtension::getAttribute($this->env, $this->source, $context["message"], "message", [], "any", false, false, false, 29);
|
||||
yield "
|
||||
</div>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 32
|
||||
yield "
|
||||
<fieldset class=\"pma-fieldset simple\">
|
||||
<legend>";
|
||||
yield _gettext("Servers");
|
||||
// line 34
|
||||
yield "</legend>
|
||||
|
||||
<form method=\"get\" action=\"index.php\" class=\"config-form disableAjax\">
|
||||
<input type=\"hidden\" name=\"tab_hash\" value=\"\">
|
||||
";
|
||||
// line 38
|
||||
if (($context["has_check_page_refresh"] ?? null)) {
|
||||
// line 39
|
||||
yield " <input type=\"hidden\" name=\"check_page_refresh\" id=\"check_page_refresh\" value=\"\">
|
||||
";
|
||||
}
|
||||
// line 41
|
||||
yield " ";
|
||||
yield PhpMyAdmin\Url::getHiddenInputs("", "", 0, "server");
|
||||
yield "
|
||||
";
|
||||
// line 42
|
||||
yield PhpMyAdmin\Url::getHiddenFields(["page" => "servers", "mode" => "add"], "", true);
|
||||
yield "
|
||||
|
||||
<div class=\"form\">
|
||||
";
|
||||
// line 45
|
||||
if ((($context["server_count"] ?? null) > 0)) {
|
||||
// line 46
|
||||
yield " <table class=\"table w-auto datatable\">
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>";
|
||||
yield _gettext("Name");
|
||||
// line 49
|
||||
yield "</th>
|
||||
<th>";
|
||||
yield _gettext("Authentication type");
|
||||
// line 50
|
||||
yield "</th>
|
||||
<th colspan=\"2\">DSN</th>
|
||||
</tr>
|
||||
|
||||
";
|
||||
// line 54
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["servers"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["server"]) {
|
||||
// line 55
|
||||
yield " <tr>
|
||||
<td>";
|
||||
// line 56
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["server"], "id", [], "any", false, false, false, 56), "html", null, true);
|
||||
yield "</td>
|
||||
<td>";
|
||||
// line 57
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["server"], "name", [], "any", false, false, false, 57), "html", null, true);
|
||||
yield "</td>
|
||||
<td>";
|
||||
// line 58
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["server"], "auth_type", [], "any", false, false, false, 58), "html", null, true);
|
||||
yield "</td>
|
||||
<td>";
|
||||
// line 59
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["server"], "dsn", [], "any", false, false, false, 59), "html", null, true);
|
||||
yield "</td>
|
||||
<td class=\"text-nowrap\">
|
||||
<small>
|
||||
<a href=\"";
|
||||
// line 62
|
||||
yield PhpMyAdmin\Url::getCommon(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["server"], "params", [], "any", false, false, false, 62), "edit", [], "any", false, false, false, 62));
|
||||
yield "\">
|
||||
";
|
||||
yield _gettext("Edit");
|
||||
// line 64
|
||||
yield " </a>
|
||||
|
|
||||
<a class=\"delete-server\" href=\"";
|
||||
// line 66
|
||||
yield PhpMyAdmin\Url::getCommon(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["server"], "params", [], "any", false, false, false, 66), "remove", [], "any", false, false, false, 66));
|
||||
yield "\" data-post=\"";
|
||||
// line 67
|
||||
yield PhpMyAdmin\Url::getCommon(["token" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["server"], "params", [], "any", false, false, false, 67), "token", [], "any", false, false, false, 67)], "", false);
|
||||
yield "\">
|
||||
";
|
||||
yield _gettext("Delete");
|
||||
// line 69
|
||||
yield " </a>
|
||||
</small>
|
||||
</td>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['server'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 74
|
||||
yield " </table>
|
||||
";
|
||||
} else {
|
||||
// line 76
|
||||
yield " <table class=\"table mb-0\">
|
||||
<tr>
|
||||
<td>
|
||||
<em>";
|
||||
yield _gettext("There are no configured servers");
|
||||
// line 79
|
||||
yield "</em>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
";
|
||||
}
|
||||
// line 84
|
||||
yield "
|
||||
<table class=\"table mb-0\">
|
||||
<tr>
|
||||
<td class=\"lastrow text-start\">
|
||||
<input type=\"submit\" name=\"submit\" value=\"";
|
||||
yield _gettext("New server");
|
||||
// line 88
|
||||
yield "\">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class=\"pma-fieldset simple\">
|
||||
<legend>";
|
||||
yield _gettext("Configuration file");
|
||||
// line 98
|
||||
yield "</legend>
|
||||
|
||||
<form method=\"post\" action=\"config.php\" class=\"config-form disableAjax\">
|
||||
<input type=\"hidden\" name=\"tab_hash\" value=\"\">
|
||||
";
|
||||
// line 102
|
||||
if (($context["has_check_page_refresh"] ?? null)) {
|
||||
// line 103
|
||||
yield " <input type=\"hidden\" name=\"check_page_refresh\" id=\"check_page_refresh\" value=\"\">
|
||||
";
|
||||
}
|
||||
// line 105
|
||||
yield " ";
|
||||
yield PhpMyAdmin\Url::getHiddenInputs("", "", 0, "server");
|
||||
yield "
|
||||
|
||||
<table class=\"table table-borderless\">
|
||||
<tr>
|
||||
<th>
|
||||
<label for=\"DefaultLang\">";
|
||||
yield _gettext("Default language");
|
||||
// line 110
|
||||
yield "</label>
|
||||
<span class=\"doc\">
|
||||
<a href=\"";
|
||||
// line 112
|
||||
yield PhpMyAdmin\Html\MySQLDocumentation::getDocumentationLink("config", "cfg_DefaultLang", "../");
|
||||
yield "\" target=\"_blank\" rel=\"noreferrer noopener\">";
|
||||
// line 113
|
||||
yield PhpMyAdmin\Html\Generator::getImage("b_help", _gettext("Documentation"));
|
||||
// line 114
|
||||
yield "</a>
|
||||
</span>
|
||||
</th>
|
||||
<td>
|
||||
<select name=\"DefaultLang\" id=\"DefaultLang\" class=\"w-75\">
|
||||
";
|
||||
// line 119
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["languages"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
|
||||
// line 120
|
||||
yield " <option value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 120), "html", null, true);
|
||||
yield "\"";
|
||||
yield ((CoreExtension::getAttribute($this->env, $this->source, $context["language"], "is_active", [], "any", false, false, false, 120)) ? (" selected") : (""));
|
||||
yield ">";
|
||||
yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 120);
|
||||
yield "</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 122
|
||||
yield " </select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>
|
||||
<label for=\"ServerDefault\">";
|
||||
yield _gettext("Default server");
|
||||
// line 128
|
||||
yield "</label>
|
||||
<span class=\"doc\">
|
||||
<a href=\"";
|
||||
// line 130
|
||||
yield PhpMyAdmin\Html\MySQLDocumentation::getDocumentationLink("config", "cfg_ServerDefault", "../");
|
||||
yield "\" target=\"_blank\" rel=\"noreferrer noopener\">";
|
||||
// line 131
|
||||
yield PhpMyAdmin\Html\Generator::getImage("b_help", _gettext("Documentation"));
|
||||
// line 132
|
||||
yield "</a>
|
||||
</span>
|
||||
</th>
|
||||
<td>
|
||||
<select name=\"ServerDefault\" id=\"ServerDefault\" class=\"w-75\">
|
||||
";
|
||||
// line 137
|
||||
if ((($context["server_count"] ?? null) > 0)) {
|
||||
// line 138
|
||||
yield " ";
|
||||
if ((($context["server_count"] ?? null) > 1)) {
|
||||
// line 139
|
||||
yield " <option value=\"0\">";
|
||||
yield _gettext("let the user choose");
|
||||
yield "</option>
|
||||
<option value=\"\" disabled>------------------------------</option>
|
||||
";
|
||||
}
|
||||
// line 142
|
||||
yield " ";
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["servers"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["server"]) {
|
||||
// line 143
|
||||
yield " <option value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["server"], "id", [], "any", false, false, false, 143), "html", null, true);
|
||||
yield "\"";
|
||||
yield (((CoreExtension::getAttribute($this->env, $this->source, $context["server"], "id", [], "any", false, false, false, 143) == 1)) ? (" selected") : (""));
|
||||
yield ">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["server"], "name", [], "any", false, false, false, 143), "html", null, true);
|
||||
yield " [";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["server"], "id", [], "any", false, false, false, 143), "html", null, true);
|
||||
yield "]</option>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['server'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 145
|
||||
yield " ";
|
||||
} else {
|
||||
// line 146
|
||||
yield " <option value=\"1\">";
|
||||
yield _gettext("- none -");
|
||||
yield "</option>
|
||||
";
|
||||
}
|
||||
// line 148
|
||||
yield " </select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th><label for=\"eol\">";
|
||||
yield _gettext("End of line");
|
||||
// line 153
|
||||
yield "</label></th>
|
||||
<td>
|
||||
<select name=\"eol\" id=\"eol\" class=\"w-75\">
|
||||
<option value=\"unix\"";
|
||||
// line 156
|
||||
yield (((($context["eol"] ?? null) == "unix")) ? (" selected") : (""));
|
||||
yield ">UNIX / Linux (\\n)</option>
|
||||
<option value=\"win\"";
|
||||
// line 157
|
||||
yield (((($context["eol"] ?? null) == "win")) ? (" selected") : (""));
|
||||
yield ">Windows (\\r\\n)</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan=\"2\" class=\"lastrow text-start\">
|
||||
<input type=\"submit\" name=\"submit_display\" value=\"";
|
||||
yield _gettext("Display");
|
||||
// line 164
|
||||
yield "\">
|
||||
<input type=\"submit\" name=\"submit_download\" value=\"";
|
||||
yield _gettext("Download");
|
||||
// line 165
|
||||
yield "\">
|
||||
<input class=\"red\" type=\"submit\" name=\"submit_clear\" value=\"";
|
||||
yield _gettext("Clear");
|
||||
// line 166
|
||||
yield "\">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
</fieldset>
|
||||
|
||||
<div id=\"footer\">
|
||||
<a href=\"../url.php?url=https://www.phpmyadmin.net/\">";
|
||||
yield _gettext("phpMyAdmin homepage");
|
||||
// line 175
|
||||
yield "</a>
|
||||
<a href=\"../url.php?url=https://www.phpmyadmin.net/donate/\">";
|
||||
yield _gettext("Donate");
|
||||
// line 176
|
||||
yield "</a>
|
||||
<a href=\"";
|
||||
// line 177
|
||||
yield PhpMyAdmin\Url::getCommon(["version_check" => "1"]);
|
||||
yield "\">";
|
||||
yield _gettext("Check for latest version");
|
||||
yield "</a>
|
||||
</div>
|
||||
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "setup/home/index.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 441 => 177, 438 => 176, 434 => 175, 422 => 166, 418 => 165, 414 => 164, 403 => 157, 399 => 156, 394 => 153, 386 => 148, 380 => 146, 377 => 145, 362 => 143, 357 => 142, 350 => 139, 347 => 138, 345 => 137, 338 => 132, 336 => 131, 333 => 130, 329 => 128, 320 => 122, 307 => 120, 303 => 119, 296 => 114, 294 => 113, 291 => 112, 287 => 110, 277 => 105, 273 => 103, 271 => 102, 265 => 98, 252 => 88, 245 => 84, 238 => 79, 232 => 76, 228 => 74, 218 => 69, 213 => 67, 210 => 66, 206 => 64, 201 => 62, 195 => 59, 191 => 58, 187 => 57, 183 => 56, 180 => 55, 176 => 54, 170 => 50, 166 => 49, 160 => 46, 158 => 45, 152 => 42, 147 => 41, 143 => 39, 141 => 38, 135 => 34, 130 => 32, 121 => 29, 117 => 28, 109 => 27, 105 => 26, 100 => 23, 94 => 20, 88 => 17, 75 => 15, 71 => 14, 62 => 9, 55 => 5, 51 => 3, 47 => 2, 36 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "setup/home/index.twig", "/var/www/html/phpmyadmin/templates/setup/home/index.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,368 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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_7e3b1683fa34f88983d05b55a53499e7 extends 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
|
||||
yield ($context["login_header"] ?? null);
|
||||
yield "
|
||||
|
||||
";
|
||||
// line 3
|
||||
if (($context["is_demo"] ?? null)) {
|
||||
// line 4
|
||||
yield " <div class=\"card mb-4\">
|
||||
<div class=\"card-header\">";
|
||||
yield _gettext("phpMyAdmin Demo Server");
|
||||
// line 5
|
||||
yield "</div>
|
||||
<div class=\"card-body\">
|
||||
";
|
||||
// line 7
|
||||
$___internal_parse_0_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 8
|
||||
yield " ";
|
||||
yield _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 11
|
||||
yield " ";
|
||||
return; yield '';
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 7
|
||||
yield Twig\Extension\CoreExtension::sprintf($___internal_parse_0_, "<a href=\"url.php?url=https://demo.phpmyadmin.net/\" target=\"_blank\" rel=\"noopener noreferrer\">demo.phpmyadmin.net</a>");
|
||||
// line 12
|
||||
yield " </div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 15
|
||||
yield "
|
||||
";
|
||||
// line 16
|
||||
yield ($context["error_messages"] ?? null);
|
||||
yield "
|
||||
|
||||
";
|
||||
// line 18
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["available_languages"] ?? null))) {
|
||||
// line 19
|
||||
yield " <div class='hide js-show'>
|
||||
<div class=\"card mb-4\">
|
||||
<div class=\"card-header\">
|
||||
<span id=\"languageSelectLabel\">
|
||||
";
|
||||
yield _gettext("Language");
|
||||
// line 24
|
||||
yield " ";
|
||||
if ((_gettext("Language") != "Language")) {
|
||||
// line 25
|
||||
yield " <i lang=\"en\" dir=\"ltr\">(Language)</i>
|
||||
";
|
||||
}
|
||||
// line 29
|
||||
yield " </span>
|
||||
</div>
|
||||
<div class=\"card-body\">
|
||||
<form method=\"get\" action=\"";
|
||||
// line 32
|
||||
yield PhpMyAdmin\Url::getFromRoute("/");
|
||||
yield "\" class=\"disableAjax\">
|
||||
";
|
||||
// line 33
|
||||
yield PhpMyAdmin\Url::getHiddenInputs(($context["form_params"] ?? null));
|
||||
yield "
|
||||
<select name=\"lang\" class=\"form-select autosubmit\" lang=\"en\" dir=\"ltr\" id=\"languageSelect\" aria-labelledby=\"languageSelectLabel\">
|
||||
";
|
||||
// line 35
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["available_languages"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
|
||||
// line 36
|
||||
yield " <option value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::lower($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["language"], "getCode", [], "method", false, false, false, 36)), "html", null, true);
|
||||
yield "\"";
|
||||
yield ((CoreExtension::getAttribute($this->env, $this->source, $context["language"], "isActive", [], "method", false, false, false, 36)) ? (" selected") : (""));
|
||||
yield ">";
|
||||
// line 37
|
||||
yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "getName", [], "method", false, false, false, 37);
|
||||
// line 38
|
||||
yield "</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 40
|
||||
yield " </select>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 46
|
||||
yield "
|
||||
<form method=\"post\" id=\"login_form\" action=\"index.php?route=/\" name=\"login_form\" class=\"";
|
||||
// line 48
|
||||
yield (( !($context["is_session_expired"] ?? null)) ? ("disableAjax hide ") : (""));
|
||||
yield "js-show\"";
|
||||
yield (( !($context["has_autocomplete"] ?? null)) ? (" autocomplete=\"off\"") : (""));
|
||||
yield ">
|
||||
";
|
||||
// line 50
|
||||
yield " ";
|
||||
yield PhpMyAdmin\Url::getHiddenInputs(($context["form_params"] ?? null), "", 0, "server");
|
||||
yield "
|
||||
<input type=\"hidden\" name=\"set_session\" value=\"";
|
||||
// line 51
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["session_id"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
// line 52
|
||||
if (($context["is_session_expired"] ?? null)) {
|
||||
// line 53
|
||||
yield " <input type=\"hidden\" name=\"session_timedout\" value=\"1\">
|
||||
";
|
||||
}
|
||||
// line 55
|
||||
yield "
|
||||
<div class=\"card mb-4\">
|
||||
<div class=\"card-header\">
|
||||
";
|
||||
yield _gettext("Log in");
|
||||
// line 59
|
||||
yield " ";
|
||||
yield PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("index");
|
||||
yield "
|
||||
</div>
|
||||
<div class=\"card-body\">
|
||||
";
|
||||
// line 62
|
||||
if (($context["is_arbitrary_server_allowed"] ?? null)) {
|
||||
// line 63
|
||||
yield " <div class=\"row mb-3\">
|
||||
<label for=\"serverNameInput\" class=\"col-sm-4 col-form-label\" title=\"";
|
||||
yield _gettext("You can enter hostname/IP address and port separated by space.");
|
||||
// line 64
|
||||
yield "\">
|
||||
";
|
||||
yield _gettext("Server:");
|
||||
// line 66
|
||||
yield " </label>
|
||||
<div class=\"col-sm-8\">
|
||||
<input type=\"text\" name=\"pma_servername\" id=\"serverNameInput\" value=\"";
|
||||
// line 68
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["default_server"] ?? null), "html", null, true);
|
||||
yield "\" class=\"form-control\" title=\"";
|
||||
yield _gettext("You can enter hostname/IP address and port separated by space.");
|
||||
// line 69
|
||||
yield "\">
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 73
|
||||
yield "
|
||||
<div class=\"row mb-3\">
|
||||
<label for=\"input_username\" class=\"col-sm-4 col-form-label\">
|
||||
";
|
||||
yield _gettext("Username:");
|
||||
// line 77
|
||||
yield " </label>
|
||||
<div class=\"col-sm-8\">
|
||||
<input type=\"text\" name=\"pma_username\" id=\"input_username\" value=\"";
|
||||
// line 79
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["default_user"] ?? null), "html", null, true);
|
||||
yield "\" class=\"form-control\" autocomplete=\"username\" spellcheck=\"false\">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"row\">
|
||||
<label for=\"input_password\" class=\"col-sm-4 col-form-label\">
|
||||
";
|
||||
yield _gettext("Password:");
|
||||
// line 86
|
||||
yield " </label>
|
||||
<div class=\"col-sm-8\">
|
||||
<input type=\"password\" name=\"pma_password\" id=\"input_password\" value=\"\" class=\"form-control\" autocomplete=\"current-password\" spellcheck=\"false\">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 92
|
||||
if (($context["has_servers"] ?? null)) {
|
||||
// line 93
|
||||
yield " <div class=\"row mt-3\">
|
||||
<label for=\"select_server\" class=\"col-sm-4 col-form-label\">
|
||||
";
|
||||
yield _gettext("Server choice:");
|
||||
// line 96
|
||||
yield " </label>
|
||||
<div class=\"col-sm-8\">
|
||||
<select name=\"server\" id=\"select_server\" class=\"form-select\"";
|
||||
// line 99
|
||||
if (($context["is_arbitrary_server_allowed"] ?? null)) {
|
||||
yield " onchange=\"document.forms['login_form'].elements['pma_servername'].value = ''\"";
|
||||
}
|
||||
yield ">
|
||||
";
|
||||
// line 100
|
||||
yield ($context["server_options"] ?? null);
|
||||
yield "
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 105
|
||||
yield " <input type=\"hidden\" name=\"server\" value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["server"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
}
|
||||
// line 107
|
||||
yield " </div>
|
||||
<div class=\"card-footer\">
|
||||
";
|
||||
// line 109
|
||||
if (($context["has_captcha"] ?? null)) {
|
||||
// line 110
|
||||
yield " <script src=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["captcha_api"] ?? null), "html", null, true);
|
||||
yield "?hl=";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["lang"] ?? null), "html", null, true);
|
||||
yield "\" async defer></script>
|
||||
";
|
||||
// line 111
|
||||
if (($context["use_captcha_checkbox"] ?? null)) {
|
||||
// line 112
|
||||
yield " <div class=\"row g-3\">
|
||||
<div class=\"col\">
|
||||
<div class=\"";
|
||||
// line 114
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["captcha_req"] ?? null), "html", null, true);
|
||||
yield "\" data-sitekey=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["captcha_key"] ?? null), "html", null, true);
|
||||
yield "\"></div>
|
||||
</div>
|
||||
<div class=\"col align-self-center text-end\">
|
||||
<input class=\"btn btn-primary\" value=\"";
|
||||
yield _gettext("Log in");
|
||||
// line 117
|
||||
yield "\" type=\"submit\" id=\"input_go\">
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 121
|
||||
yield " <input class=\"btn btn-primary ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["captcha_req"] ?? null), "html", null, true);
|
||||
yield "\" data-sitekey=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["captcha_key"] ?? null), "html", null, true);
|
||||
yield "\" data-callback=\"Functions_recaptchaCallback\" value=\"";
|
||||
yield _gettext("Log in");
|
||||
yield "\" type=\"submit\" id=\"input_go\">
|
||||
";
|
||||
}
|
||||
// line 123
|
||||
yield " ";
|
||||
} else {
|
||||
// line 124
|
||||
yield " <input class=\"btn btn-primary\" value=\"";
|
||||
yield _gettext("Log in");
|
||||
yield "\" type=\"submit\" id=\"input_go\">
|
||||
";
|
||||
}
|
||||
// line 126
|
||||
yield " </div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
";
|
||||
// line 130
|
||||
if ( !Twig\Extension\CoreExtension::testEmpty(($context["errors"] ?? null))) {
|
||||
// line 131
|
||||
yield " <div id=\"pma_errors\">
|
||||
";
|
||||
// line 132
|
||||
yield ($context["errors"] ?? null);
|
||||
yield "
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 137
|
||||
yield "
|
||||
";
|
||||
// line 138
|
||||
yield ($context["login_footer"] ?? null);
|
||||
yield "
|
||||
|
||||
";
|
||||
// line 140
|
||||
yield ($context["config_footer"] ?? null);
|
||||
yield "
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "login/form.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 334 => 140, 329 => 138, 326 => 137, 318 => 132, 315 => 131, 313 => 130, 307 => 126, 301 => 124, 298 => 123, 288 => 121, 282 => 117, 273 => 114, 269 => 112, 267 => 111, 260 => 110, 258 => 109, 254 => 107, 248 => 105, 240 => 100, 234 => 99, 230 => 96, 225 => 93, 223 => 92, 215 => 86, 205 => 79, 201 => 77, 195 => 73, 189 => 69, 185 => 68, 181 => 66, 177 => 64, 173 => 63, 171 => 62, 164 => 59, 158 => 55, 154 => 53, 152 => 52, 148 => 51, 143 => 50, 137 => 48, 134 => 46, 126 => 40, 119 => 38, 117 => 37, 111 => 36, 107 => 35, 102 => 33, 98 => 32, 93 => 29, 89 => 25, 86 => 24, 79 => 19, 77 => 18, 72 => 16, 69 => 15, 64 => 12, 62 => 7, 58 => 11, 55 => 8, 53 => 7, 49 => 5, 45 => 4, 43 => 3, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "login/form.twig", "/var/www/html/phpmyadmin/templates/login/form.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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_e79807b738f34dbe8c67296ec8de963a extends 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
|
||||
yield "<tr class=\"group-header group-header-";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["group"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
<th colspan=\"";
|
||||
// line 2
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["colspan"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
// line 3
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["header_text"] ?? null), "html", null, true);
|
||||
yield "
|
||||
</th>
|
||||
</tr>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "config/form_display/group_header.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 47 => 3, 43 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "config/form_display/group_header.twig", "/var/www/html/phpmyadmin/templates/config/form_display/group_header.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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_5c903aea9d6c71149054f690d22a6e60 extends 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
|
||||
yield "<div class=\"toolbar ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["parent_div_classes"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
// line 2
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["content_array"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["content"]) {
|
||||
// line 3
|
||||
yield " ";
|
||||
if ((array_key_exists("content", $context) && !(null === $context["content"]))) {
|
||||
// line 4
|
||||
yield " <div class=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_0 = $context["content"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
// line 5
|
||||
yield ((CoreExtension::getAttribute($this->env, $this->source, $context["content"], "image", [], "array", true, true, false, 5)) ? ((($__internal_compile_1 = $context["content"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["image"] ?? null) : null)) : (""));
|
||||
yield "
|
||||
<span>";
|
||||
// line 6
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_2 = $context["content"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[1] ?? null) : null), "html", null, true);
|
||||
yield "</span>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 9
|
||||
yield " ";
|
||||
}
|
||||
$_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
|
||||
yield "</div>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "console/toolbar.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 71 => 10, 65 => 9, 59 => 6, 55 => 5, 50 => 4, 47 => 3, 43 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "console/toolbar.twig", "/var/www/html/phpmyadmin/templates/console/toolbar.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,108 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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_978cedb0a4a825cea37ca6ff4190084d extends 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
|
||||
yield " <div id=\"modalOverlay\">
|
||||
";
|
||||
}
|
||||
// line 4
|
||||
yield "<div class=\"container";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["add_class"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
<div class=\"row\">
|
||||
<div class=\"col-12\">
|
||||
<a href=\"";
|
||||
// line 7
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/"), "html", null, true);
|
||||
yield "\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"logo\">
|
||||
<img src=\"";
|
||||
// line 8
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("logo_right.png", "pma_logo.png"), "html", null, true);
|
||||
yield "\" id=\"imLogo\" name=\"imLogo\" alt=\"phpMyAdmin\" border=\"0\">
|
||||
</a>
|
||||
<h1>";
|
||||
// line 10
|
||||
yield Twig\Extension\CoreExtension::sprintf(_gettext("Welcome to %s"), "<bdo dir=\"ltr\" lang=\"en\">phpMyAdmin</bdo>");
|
||||
yield "</h1>
|
||||
|
||||
<noscript>
|
||||
";
|
||||
// line 13
|
||||
yield $this->env->getFilter('error')->getCallable()(_gettext("Javascript must be enabled past this point!"));
|
||||
yield "
|
||||
</noscript>
|
||||
|
||||
<div class=\"hide\" id=\"js-https-mismatch\">
|
||||
";
|
||||
// line 17
|
||||
yield $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."));
|
||||
yield "
|
||||
</div>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "login/header.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 73 => 17, 66 => 13, 60 => 10, 55 => 8, 51 => 7, 44 => 4, 40 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "login/header.twig", "/var/www/html/phpmyadmin/templates/login/header.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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_b8068983faa531df8f6506c119f026da extends 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
|
||||
yield "<div class=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["parent_div_classes"] ?? null), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
// line 2
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(($context["content_array"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["content"]) {
|
||||
// line 3
|
||||
yield " ";
|
||||
if (array_key_exists("content", $context)) {
|
||||
// line 4
|
||||
yield " <span class=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_0 = $context["content"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
// line 5
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_1 = $context["content"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null), "html", null, true);
|
||||
yield "
|
||||
";
|
||||
// line 6
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, $context["content"], "extraSpan", [], "array", true, true, false, 6)) {
|
||||
// line 7
|
||||
yield " : <span>";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_2 = $context["content"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["extraSpan"] ?? null) : null), "html", null, true);
|
||||
yield "</span>
|
||||
";
|
||||
}
|
||||
// line 9
|
||||
yield " </span>
|
||||
";
|
||||
}
|
||||
// line 11
|
||||
yield " ";
|
||||
}
|
||||
$_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
|
||||
yield "</div>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "console/query_action.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 77 => 12, 71 => 11, 67 => 9, 61 => 7, 59 => 6, 55 => 5, 50 => 4, 47 => 3, 43 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "console/query_action.twig", "/var/www/html/phpmyadmin/templates/console/query_action.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,88 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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;
|
||||
|
||||
/* recent_favorite_table_no_tables.twig */
|
||||
class __TwigTemplate_c03b35800c8d2573c0871dd5f5e54c0b extends 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
|
||||
yield "<li class=\"warp_link\">
|
||||
";
|
||||
// line 2
|
||||
if (($context["is_recent"] ?? null)) {
|
||||
// line 3
|
||||
yield " ";
|
||||
yield _gettext("There are no recent tables.");
|
||||
// line 4
|
||||
yield " ";
|
||||
} else {
|
||||
// line 5
|
||||
yield " ";
|
||||
yield _gettext("There are no favorite tables.");
|
||||
// line 6
|
||||
yield " ";
|
||||
}
|
||||
// line 7
|
||||
yield "</li>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "recent_favorite_table_no_tables.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 55 => 7, 52 => 6, 49 => 5, 46 => 4, 43 => 3, 41 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "recent_favorite_table_no_tables.twig", "/var/www/html/phpmyadmin/templates/recent_favorite_table_no_tables.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,231 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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;
|
||||
|
||||
/* list_navigator.twig */
|
||||
class __TwigTemplate_3d6cebc2f1c6d0043ae33b748425423a extends 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["max_count"] ?? null) < ($context["count"] ?? null))) {
|
||||
// line 2
|
||||
yield "<div class=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::join(($context["classes"] ?? null), " "), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
// line 3
|
||||
if ((($context["frame"] ?? null) != "frame_navigation")) {
|
||||
// line 4
|
||||
yield " ";
|
||||
yield _gettext("Page number:");
|
||||
// line 5
|
||||
yield " ";
|
||||
}
|
||||
// line 6
|
||||
yield "
|
||||
";
|
||||
// line 7
|
||||
if ((($context["position"] ?? null) > 0)) {
|
||||
// line 8
|
||||
yield " <a href=\"";
|
||||
yield ($context["script"] ?? null);
|
||||
yield "\" data-post=\"";
|
||||
yield PhpMyAdmin\Url::getCommon(Twig\Extension\CoreExtension::merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => 0]), "", false);
|
||||
yield "\"";
|
||||
yield (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : (""));
|
||||
yield " title=\"";
|
||||
yield _pgettext("First page", "Begin");
|
||||
yield "\">
|
||||
";
|
||||
// line 9
|
||||
if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) {
|
||||
// line 10
|
||||
yield " <<
|
||||
";
|
||||
}
|
||||
// line 12
|
||||
yield " ";
|
||||
if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) {
|
||||
// line 13
|
||||
yield " ";
|
||||
yield _pgettext("First page", "Begin");
|
||||
// line 14
|
||||
yield " ";
|
||||
}
|
||||
// line 15
|
||||
yield " </a>
|
||||
<a href=\"";
|
||||
// line 16
|
||||
yield ($context["script"] ?? null);
|
||||
yield "\" data-post=\"";
|
||||
yield PhpMyAdmin\Url::getCommon(Twig\Extension\CoreExtension::merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => (($context["position"] ?? null) - ($context["max_count"] ?? null))]), "", false);
|
||||
yield "\"";
|
||||
yield (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : (""));
|
||||
yield " title=\"";
|
||||
yield _pgettext("Previous page", "Previous");
|
||||
yield "\">
|
||||
";
|
||||
// line 17
|
||||
if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) {
|
||||
// line 18
|
||||
yield " <
|
||||
";
|
||||
}
|
||||
// line 20
|
||||
yield " ";
|
||||
if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) {
|
||||
// line 21
|
||||
yield " ";
|
||||
yield _pgettext("Previous page", "Previous");
|
||||
// line 22
|
||||
yield " ";
|
||||
}
|
||||
// line 23
|
||||
yield " </a>
|
||||
";
|
||||
}
|
||||
// line 25
|
||||
yield "
|
||||
<form action=\"";
|
||||
// line 26
|
||||
yield ($context["script"] ?? null);
|
||||
yield "\" method=\"post\">
|
||||
";
|
||||
// line 27
|
||||
yield PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null));
|
||||
yield "
|
||||
|
||||
";
|
||||
// line 29
|
||||
yield ($context["page_selector"] ?? null);
|
||||
yield "
|
||||
</form>
|
||||
|
||||
";
|
||||
// line 32
|
||||
if (((($context["position"] ?? null) + ($context["max_count"] ?? null)) < ($context["count"] ?? null))) {
|
||||
// line 33
|
||||
yield " <a href=\"";
|
||||
yield ($context["script"] ?? null);
|
||||
yield "\" data-post=\"";
|
||||
yield PhpMyAdmin\Url::getCommon(Twig\Extension\CoreExtension::merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => (($context["position"] ?? null) + ($context["max_count"] ?? null))]), "", false);
|
||||
yield "\"";
|
||||
yield (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : (""));
|
||||
yield " title=\"";
|
||||
yield _pgettext("Next page", "Next");
|
||||
yield "\">
|
||||
";
|
||||
// line 34
|
||||
if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) {
|
||||
// line 35
|
||||
yield " ";
|
||||
yield _pgettext("Next page", "Next");
|
||||
// line 36
|
||||
yield " ";
|
||||
}
|
||||
// line 37
|
||||
yield " ";
|
||||
if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) {
|
||||
// line 38
|
||||
yield " >
|
||||
";
|
||||
}
|
||||
// line 40
|
||||
yield " </a>
|
||||
";
|
||||
// line 41
|
||||
$context["last_pos"] = ((int) floor((($context["count"] ?? null) / ($context["max_count"] ?? null))) * ($context["max_count"] ?? null));
|
||||
// line 42
|
||||
yield " <a href=\"";
|
||||
yield ($context["script"] ?? null);
|
||||
yield "\" data-post=\"";
|
||||
yield PhpMyAdmin\Url::getCommon(Twig\Extension\CoreExtension::merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => (((($context["last_pos"] ?? null) == ($context["count"] ?? null))) ? ((($context["count"] ?? null) - ($context["max_count"] ?? null))) : (($context["last_pos"] ?? null)))]), "", false);
|
||||
yield "\"";
|
||||
yield (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : (""));
|
||||
yield " title=\"";
|
||||
yield _pgettext("Last page", "End");
|
||||
yield "\">
|
||||
";
|
||||
// line 43
|
||||
if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) {
|
||||
// line 44
|
||||
yield " ";
|
||||
yield _pgettext("Last page", "End");
|
||||
// line 45
|
||||
yield " ";
|
||||
}
|
||||
// line 46
|
||||
yield " ";
|
||||
if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) {
|
||||
// line 47
|
||||
yield " >>
|
||||
";
|
||||
}
|
||||
// line 49
|
||||
yield " </a>
|
||||
";
|
||||
}
|
||||
// line 51
|
||||
yield "</div>
|
||||
";
|
||||
}
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "list_navigator.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 197 => 51, 193 => 49, 189 => 47, 186 => 46, 183 => 45, 180 => 44, 178 => 43, 167 => 42, 165 => 41, 162 => 40, 158 => 38, 155 => 37, 152 => 36, 149 => 35, 147 => 34, 136 => 33, 134 => 32, 128 => 29, 123 => 27, 119 => 26, 116 => 25, 112 => 23, 109 => 22, 106 => 21, 103 => 20, 99 => 18, 97 => 17, 87 => 16, 84 => 15, 81 => 14, 78 => 13, 75 => 12, 71 => 10, 69 => 9, 58 => 8, 56 => 7, 53 => 6, 50 => 5, 47 => 4, 45 => 3, 40 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "list_navigator.twig", "/var/www/html/phpmyadmin/templates/list_navigator.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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;
|
||||
|
||||
/* modals/preview_sql_modal.twig */
|
||||
class __TwigTemplate_6ab57fa8028acd54ef118bbde2f63d56 extends 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
|
||||
yield "<div class=\"modal fade\" id=\"previewSqlModal\" tabindex=\"-1\" aria-labelledby=\"previewSqlModalLabel\" aria-hidden=\"true\">
|
||||
<div class=\"modal-dialog\">
|
||||
<div class=\"modal-content\">
|
||||
<div class=\"modal-header\">
|
||||
<h5 class=\"modal-title\" id=\"previewSqlModalLabel\">";
|
||||
yield _gettext("Loading");
|
||||
// line 5
|
||||
yield "</h5>
|
||||
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
|
||||
yield _gettext("Close");
|
||||
// line 6
|
||||
yield "\"></button>
|
||||
</div>
|
||||
<div class=\"modal-body\"></div>
|
||||
<div class=\"modal-footer\">
|
||||
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
|
||||
yield _gettext("Close");
|
||||
// line 10
|
||||
yield "</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "modals/preview_sql_modal.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 56 => 10, 49 => 6, 45 => 5, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "modals/preview_sql_modal.twig", "/var/www/html/phpmyadmin/templates/modals/preview_sql_modal.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,97 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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;
|
||||
|
||||
/* modals/enum_set_editor.twig */
|
||||
class __TwigTemplate_9ec964cbbbf7dd67dad4f8ca58bbedf5 extends 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
|
||||
yield "<div class=\"modal fade\" id=\"enumEditorModal\" tabindex=\"-1\" aria-labelledby=\"enumEditorModalLabel\" aria-hidden=\"true\">
|
||||
<div class=\"modal-dialog\">
|
||||
<div class=\"modal-content\">
|
||||
<div class=\"modal-header\">
|
||||
<h5 class=\"modal-title\" id=\"enumEditorModalLabel\">";
|
||||
yield _gettext("ENUM/SET editor");
|
||||
// line 5
|
||||
yield "</h5>
|
||||
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
|
||||
yield _gettext("Close");
|
||||
// line 6
|
||||
yield "\"></button>
|
||||
</div>
|
||||
<div class=\"modal-body\"></div>
|
||||
<div class=\"modal-footer\">
|
||||
<button type=\"button\" class=\"btn btn-secondary\" id=\"enumEditorGoButton\" data-bs-dismiss=\"modal\">";
|
||||
yield _gettext("Go");
|
||||
// line 10
|
||||
yield "</button>
|
||||
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
|
||||
yield _gettext("Close");
|
||||
// line 11
|
||||
yield "</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "modals/enum_set_editor.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 60 => 11, 56 => 10, 49 => 6, 45 => 5, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "modals/enum_set_editor.twig", "/var/www/html/phpmyadmin/templates/modals/enum_set_editor.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
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_868b7ce7a84a2efbea5a4df3d2476a0c extends 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
|
||||
yield "<div class='list_container hide'>
|
||||
<ul";
|
||||
// line 2
|
||||
yield ((($context["has_search_results"] ?? null)) ? (" class=\"search_results\"") : (""));
|
||||
yield ">
|
||||
";
|
||||
// line 3
|
||||
yield ($context["list_content"] ?? null);
|
||||
yield "
|
||||
</ul>
|
||||
|
||||
";
|
||||
// line 6
|
||||
if ( !($context["is_tree"] ?? null)) {
|
||||
// line 7
|
||||
yield " <span class='hide loaded_db'>";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::urlencode(($context["parent_name"] ?? null)), "html", null, true);
|
||||
yield "</span>
|
||||
";
|
||||
// line 8
|
||||
if (Twig\Extension\CoreExtension::testEmpty(($context["list_content"] ?? null))) {
|
||||
// line 9
|
||||
yield " <div>";
|
||||
yield _gettext("No tables found in database.");
|
||||
yield "</div>
|
||||
";
|
||||
}
|
||||
// line 11
|
||||
yield " ";
|
||||
}
|
||||
// line 12
|
||||
yield "</div>
|
||||
";
|
||||
return; yield '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "navigation/tree/path.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 69 => 12, 66 => 11, 60 => 9, 58 => 8, 53 => 7, 51 => 6, 45 => 3, 41 => 2, 38 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "navigation/tree/path.twig", "/var/www/html/phpmyadmin/templates/navigation/tree/path.twig");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user