Файловый менеджер - Редактировать - /home/gqdcvggs/go.imators.com/pma_template_compiles_gqdcvggs.tar
Назад
twig/4b/4bdce79e26ba9e39b7562e741eb24c1d.php 0000644 00000003454 15114741573 0013301 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/search/column_comparison_operators.twig */ class __TwigTemplate_835f6c24348e7a7b870597b5510064e4 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 echo "<select class=\"column-operator\" id=\"ColumnOperator"; echo twig_escape_filter($this->env, ($context["search_index"] ?? null), "html", null, true); echo "\" name=\"criteriaColumnOperators["; echo twig_escape_filter($this->env, ($context["search_index"] ?? null), "html", null, true); echo "]\"> "; // line 2 echo ($context["type_operators"] ?? null); echo " </select> "; } public function getTemplateName() { return "table/search/column_comparison_operators.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 44 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "table/search/column_comparison_operators.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/search/column_comparison_operators.twig"); } } twig/f4/f4ac9aa5ad4089a4d7575c0208c60713.php 0000644 00000005311 15114741573 0013041 0 ustar 00 <?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_796e86fec4ee2afd050b5718111e84c4 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/recent_favorite_table_recent.twig"); } } twig/fa/fa00cf4e518e1cde7ad6d826b2dbe375.php 0000644 00000005175 15114741573 0013511 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/export/index.twig */ class __TwigTemplate_fcc63079290e004734d85e2d4403849d extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'title' => [$this, 'block_title'], ]; } protected function doGetParent(array $context) { // line 1 return "export.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 11 ob_start(function () { return ''; }); // line 12 echo " "; echo _gettext("@SERVER@ will become the server name, @DATABASE@ will become the database name and @TABLE@ will become the table name."); $context["filename_hint"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 1 $this->parent = $this->loadTemplate("export.twig", "table/export/index.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_title($context, array $blocks = []) { $macros = $this->macros; // line 4 echo " "; if ((($context["export_type"] ?? null) == "raw")) { // line 5 echo " "; // l10n: A query that the user has written freely echo _gettext("Exporting a raw query"); // line 6 echo " "; } else { // line 7 echo " "; echo twig_escape_filter($this->env, twig_sprintf(_gettext("Exporting rows from \"%s\" table"), ($context["table"] ?? null)), "html", null, true); echo " "; } } public function getTemplateName() { return "table/export/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 67 => 7, 64 => 6, 60 => 5, 57 => 4, 53 => 3, 48 => 1, 44 => 12, 42 => 11, 35 => 1,); } public function getSourceContext() { return new Source("", "table/export/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/export/index.twig"); } } twig/dd/dd2d71961d6381efb16ef410fbb48f10.php 0000644 00000011123 15114741573 0013260 0 ustar 00 <?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_0b758d4895547b9ec9558ccd9926ec44 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/comment_for_row.twig"); } } twig/dd/dd9f2494490ab910722a0542928cfe6c.php 0000644 00000013671 15114741573 0013062 0 ustar 00 <?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; /* table/insert/actions_panel.twig */ class __TwigTemplate_5681bf8a24b6d8e2bcf373a64a4051db 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 "<fieldset class=\"pma-fieldset\" id=\"actions_panel\"> <table class=\"table table-borderless w-auto tdblock\"> <tr> <td class=\"text-nowrap align-middle\"> <select name=\"submit_type\" class=\"control_at_footer\"> "; // line 6 if ( !Twig\Extension\CoreExtension::testEmpty(($context["where_clause"] ?? null))) { // line 7 yield " <option value=\"save\">"; yield _gettext("Save"); yield "</option> "; } // line 9 yield " <option value=\"insert\">"; yield _gettext("Insert as new row"); yield "</option> <option value=\"insertignore\">"; yield _gettext("Insert as new row and ignore errors"); // line 10 yield "</option> <option value=\"showinsert\">"; yield _gettext("Show insert query"); // line 11 yield "</option> </select> </td> <td class=\"align-middle\"> <strong>"; yield _gettext("and then"); // line 15 yield "</strong> </td> <td class=\"text-nowrap align-middle\"> <select name=\"after_insert\" class=\"control_at_footer\"> <option value=\"back\""; // line 19 yield (((($context["after_insert"] ?? null) == "back")) ? (" selected") : ("")); yield ">"; yield _gettext("Go back to previous page"); yield "</option> <option value=\"new_insert\""; // line 20 yield (((($context["after_insert"] ?? null) == "new_insert")) ? (" selected") : ("")); yield ">"; yield _gettext("Insert another new row"); yield "</option> "; // line 21 if ( !Twig\Extension\CoreExtension::testEmpty(($context["where_clause"] ?? null))) { // line 22 yield " <option value=\"same_insert\""; yield (((($context["after_insert"] ?? null) == "same_insert")) ? (" selected") : ("")); yield ">"; yield _gettext("Go back to this page"); yield "</option> "; // line 23 if ((($context["found_unique_key"] ?? null) && ($context["is_numeric"] ?? null))) { // line 24 yield " <option value=\"edit_next\""; yield (((($context["after_insert"] ?? null) == "edit_next")) ? (" selected") : ("")); yield ">"; yield _gettext("Edit next row"); yield "</option> "; } // line 26 yield " "; } // line 27 yield " </select> </td> </tr> <tr> <td> "; // line 32 yield PhpMyAdmin\Html\Generator::showHint(_gettext("Use TAB key to move from value to value, or CTRL+arrows to move anywhere.")); yield " </td> <td colspan=\"3\" class=\"text-end align-middle\"> <input type=\"button\" class=\"btn btn-secondary preview_sql control_at_footer\" value=\""; yield _gettext("Preview SQL"); // line 35 yield "\"> <input type=\"reset\" class=\"btn btn-secondary control_at_footer\" value=\""; yield _gettext("Reset"); // line 36 yield "\"> <input type=\"submit\" class=\"btn btn-primary control_at_footer\" value=\""; yield _gettext("Go"); // line 37 yield "\" id=\"buttonYes\"> </td> </tr> </table> </fieldset> <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 46 yield "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Close"); // line 47 yield "\"></button> </div> <div class=\"modal-body\"> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"previewSQLCloseButton\" data-bs-dismiss=\"modal\">"; yield _gettext("Close"); // line 52 yield "</button> </div> </div> </div> </div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/insert/actions_panel.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 156 => 52, 148 => 47, 144 => 46, 132 => 37, 128 => 36, 124 => 35, 117 => 32, 110 => 27, 107 => 26, 99 => 24, 97 => 23, 90 => 22, 88 => 21, 82 => 20, 76 => 19, 70 => 15, 63 => 11, 59 => 10, 53 => 9, 47 => 7, 45 => 6, 38 => 1,); } public function getSourceContext() { return new Source("", "table/insert/actions_panel.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/actions_panel.twig"); } } twig/a6/a685faf3d91696abe3b81c959b19a722.php 0000644 00000005010 15114741573 0013137 0 ustar 00 <?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; /* select_all.twig */ class __TwigTemplate_c2fdd3d38217fe2f4bcd838a8f969e49 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 "<img class=\"selectallarrow\" src=\""; 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:"); // line 2 yield "\"> <input type=\"checkbox\" id=\""; // line 3 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["form_name"] ?? null), "html", null, true); yield "_checkall\" class=\"checkall_box\" title=\""; yield _gettext("Check all"); // line 4 yield "\"> <label for=\""; // line 5 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["form_name"] ?? null), "html", null, true); yield "_checkall\">"; yield _gettext("Check all"); yield "</label> <em class=\"with-selected\">"; yield _gettext("With selected:"); // line 6 yield "</em> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "select_all.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 62 => 6, 55 => 5, 52 => 4, 47 => 3, 44 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "select_all.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/select_all.twig"); } } twig/a6/a6fe4acf02725d11f8c805ab32615bfa.php 0000644 00000005154 15114741573 0013252 0 ustar 00 <?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; /* database/structure/favorite_anchor.twig */ class __TwigTemplate_590d46f987dfde20ea51859fb33a2576 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 "<a id=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["table_name_hash"] ?? null), "html", null, true); yield "_favorite_anchor\" class=\"ajax favorite_table_anchor\" href=\""; // line 3 yield PhpMyAdmin\Url::getFromRoute("/database/structure/favorite-table", ($context["fav_params"] ?? null)); yield "\" title=\""; // line 4 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((($context["already_favorite"] ?? null)) ? (_gettext("Remove from Favorites")) : (_gettext("Add to Favorites"))), "html", null, true); yield "\" data-favtargets=\""; // line 5 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["db_table_name_hash"] ?? null), "html", null, true); yield "\"> "; // line 6 yield ((($context["already_favorite"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_favorite")) : (PhpMyAdmin\Html\Generator::getIcon("b_no_favorite"))); yield " </a> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/structure/favorite_anchor.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 56 => 6, 52 => 5, 48 => 4, 44 => 3, 38 => 1,); } public function getSourceContext() { return new Source("", "database/structure/favorite_anchor.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/favorite_anchor.twig"); } } twig/0b/0b822109d26ac840837efb86fbb1a4af.php 0000644 00000016443 15114741573 0013177 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* columns_definitions/column_name.twig */ class __TwigTemplate_32522f45ec8348583f504163acebabe4 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["title"] = ""; // line 2 if (twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "column_status", [], "array", true, true, false, 2)) { // line 3 echo " "; if ((($__internal_compile_0 = (($__internal_compile_1 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["column_status"] ?? null) : null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["isReferenced"] ?? null) : null)) { // line 4 echo " "; $context["title"] = (($context["title"] ?? null) . twig_sprintf(_gettext("Referenced by %s."), twig_join_filter((($__internal_compile_2 = (($__internal_compile_3 = // line 5 ($context["column_meta"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["column_status"] ?? null) : null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["references"] ?? null) : null), ","))); // line 7 echo " "; } // line 8 echo " "; if ((($__internal_compile_4 = (($__internal_compile_5 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["column_status"] ?? null) : null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["isForeignKey"] ?? null) : null)) { // line 9 echo " "; if ( !twig_test_empty(($context["title"] ?? null))) { // line 10 echo " "; $context["title"] = (($context["title"] ?? null) . " "); // line 11 echo " "; } // line 12 echo " "; $context["title"] = (($context["title"] ?? null) . _gettext("Is a foreign key.")); // line 13 echo " "; } } // line 15 if (twig_test_empty(($context["title"] ?? null))) { // line 16 echo " "; $context["title"] = _gettext("Column"); } // line 18 echo " <input id=\"field_"; // line 19 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" "; // line 20 if ((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "column_status", [], "array", true, true, false, 20) && !(($__internal_compile_6 = (($__internal_compile_7 = // line 21 ($context["column_meta"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["column_status"] ?? null) : null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["isEditable"] ?? null) : null))) { // line 22 echo " disabled=\"disabled\" "; } // line 24 echo " type=\"text\" name=\"field_name["; // line 25 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" maxlength=\"64\" class=\"textfield\" title=\""; // line 28 echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true); echo "\" size=\"10\" value=\""; // line 30 ((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 30)) ? (print (twig_escape_filter($this->env, (($__internal_compile_8 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["Field"] ?? null) : null), "html", null, true))) : (print (""))); echo "\"> "; // line 32 if ((($context["has_central_columns_feature"] ?? null) && !(twig_get_attribute($this->env, $this->source, // line 33 ($context["column_meta"] ?? null), "column_status", [], "array", true, true, false, 33) && !(($__internal_compile_9 = (($__internal_compile_10 = // line 34 ($context["column_meta"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["column_status"] ?? null) : null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["isEditable"] ?? null) : null)))) { // line 35 echo " <p class=\"column_name\" id=\"central_columns_"; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\"> <a data-maxrows=\""; // line 36 echo twig_escape_filter($this->env, ($context["max_rows"] ?? null), "html", null, true); echo "\" href=\"#\" class=\"central_columns_dialog\"> "; echo _gettext("Pick from Central Columns"); // line 40 echo " </a> </p> "; } } public function getTemplateName() { return "columns_definitions/column_name.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 130 => 40, 123 => 36, 116 => 35, 114 => 34, 113 => 33, 112 => 32, 107 => 30, 102 => 28, 96 => 25, 93 => 24, 89 => 22, 87 => 21, 86 => 20, 80 => 19, 77 => 18, 73 => 16, 71 => 15, 67 => 13, 64 => 12, 61 => 11, 57 => 10, 54 => 9, 51 => 8, 48 => 7, 46 => 5, 44 => 4, 41 => 3, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "columns_definitions/column_name.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/columns_definitions/column_name.twig"); } } twig/0b/0b1e238c6bb6585347a40c7a6cdaec3f.php 0000644 00000034474 15114741573 0013262 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* console/display.twig */ class __TwigTemplate_5395d0dbab63742bfcd8b0f06c629094 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 echo "<div id=\"pma_console_container\" class=\"d-print-none\"> <div id=\"pma_console\"> "; // line 4 echo " "; $this->loadTemplate("console/toolbar.twig", "console/display.twig", 4)->display(twig_to_array(["parent_div_classes" => "collapsed", "content_array" => [0 => [0 => "switch_button console_switch", 1 => _gettext("Console"), "image" => // line 7 ($context["image"] ?? null)], 1 => [0 => "button clear", 1 => _gettext("Clear")], 2 => [0 => "button history", 1 => _gettext("History")], 3 => [0 => "button options", 1 => _gettext("Options")], 4 => (( // line 11 ($context["has_bookmark_feature"] ?? null)) ? ([0 => "button bookmarks", 1 => _gettext("Bookmarks")]) : (null)), 5 => [0 => "button debug hide", 1 => _gettext("Debug SQL")]]])); // line 15 echo " "; // line 16 echo " <div class=\"content\"> <div class=\"console_message_container\"> <div class=\"message welcome\"> <span id=\"instructions-0\"> "; echo _gettext("Press Ctrl+Enter to execute query"); // line 21 echo " </span> <span class=\"hide\" id=\"instructions-1\"> "; echo _gettext("Press Enter to execute query"); // line 24 echo " </span> </div> "; // line 26 if ( !twig_test_empty(($context["sql_history"] ?? null))) { // line 27 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_reverse_filter($this->env, ($context["sql_history"] ?? null))); foreach ($context['_seq'] as $context["_key"] => $context["record"]) { // line 28 echo " <div class=\"message history collapsed hide"; // line 29 echo ((twig_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") : ("")); echo "\" targetdb=\""; // line 30 echo twig_escape_filter($this->env, (($__internal_compile_1 = $context["record"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["db"] ?? null) : null), "html", null, true); echo "\" targettable=\""; echo twig_escape_filter($this->env, (($__internal_compile_2 = $context["record"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["table"] ?? null) : null), "html", null, true); echo "\"> "; // line 31 $this->loadTemplate("console/query_action.twig", "console/display.twig", 31)->display(twig_to_array(["parent_div_classes" => "action_content", "content_array" => [0 => [0 => "action collapse", 1 => _gettext("Collapse")], 1 => [0 => "action expand", 1 => _gettext("Expand")], 2 => [0 => "action requery", 1 => _gettext("Requery")], 3 => [0 => "action edit", 1 => _gettext("Edit")], 4 => [0 => "action explain", 1 => _gettext("Explain")], 5 => [0 => "action profiling", 1 => _gettext("Profiling")], 6 => (( // line 40 ($context["has_bookmark_feature"] ?? null)) ? ([0 => "action bookmark", 1 => _gettext("Bookmark")]) : (null)), 7 => [0 => "text failed", 1 => _gettext("Query failed")], 8 => [0 => "text targetdb", 1 => _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)], 9 => [0 => "text query_time", 1 => _gettext("Queried time"), "extraSpan" => ((twig_get_attribute($this->env, $this->source, // line 46 $context["record"], "timevalue", [], "array", true, true, false, 46)) ? ((($__internal_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 echo " <span class=\"query\">"; echo twig_escape_filter($this->env, (($__internal_compile_5 = $context["record"]) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["sqlquery"] ?? null) : null), "html", null, true); echo "</span> </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['record'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 54 echo " "; } // line 55 echo " </div><!-- console_message_container --> <div class=\"query_input\"> <span class=\"console_query_input\"></span> </div> </div><!-- message end --> "; // line 61 echo " <div class=\"mid_layer\"></div> "; // line 63 echo " <div class=\"card\" id=\"debug_console\"> "; // line 64 $this->loadTemplate("console/toolbar.twig", "console/display.twig", 64)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "button order order_asc", 1 => _gettext("ascending")], 1 => [0 => "button order order_desc", 1 => _gettext("descending")], 2 => [0 => "text", 1 => _gettext("Order:")], 3 => [0 => "switch_button", 1 => _gettext("Debug SQL")], 4 => [0 => "button order_by sort_count", 1 => _gettext("Count")], 5 => [0 => "button order_by sort_exec", 1 => _gettext("Execution order")], 6 => [0 => "button order_by sort_time", 1 => _gettext("Time taken")], 7 => [0 => "text", 1 => _gettext("Order by:")], 8 => [0 => "button group_queries", 1 => _gettext("Group queries")], 9 => [0 => "button ungroup_queries", 1 => _gettext("Ungroup queries")]]])); // line 79 echo " <div class=\"content debug\"> <div class=\"message welcome\"></div> <div class=\"debugLog\"></div> </div> <!-- Content --> <div class=\"templates\"> "; // line 84 $this->loadTemplate("console/query_action.twig", "console/display.twig", 84)->display(twig_to_array(["parent_div_classes" => "debug_query action_content", "content_array" => [0 => [0 => "action collapse", 1 => _gettext("Collapse")], 1 => [0 => "action expand", 1 => _gettext("Expand")], 2 => [0 => "action dbg_show_trace", 1 => _gettext("Show trace")], 3 => [0 => "action dbg_hide_trace", 1 => _gettext("Hide trace")], 4 => [0 => "text count hide", 1 => _gettext("Count"), "extraSpan" => ""], 5 => [0 => "text time", 1 => _gettext("Time taken"), "extraSpan" => ""]]])); // line 95 echo " </div> <!-- Template --> </div> <!-- Debug SQL card --> "; // line 97 if (($context["has_bookmark_feature"] ?? null)) { // line 98 echo " <div class=\"card\" id=\"pma_bookmarks\"> "; // line 99 $this->loadTemplate("console/toolbar.twig", "console/display.twig", 99)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "switch_button", 1 => _gettext("Bookmarks")], 1 => [0 => "button refresh", 1 => _gettext("Refresh")], 2 => [0 => "button add", 1 => _gettext("Add")]]])); // line 107 echo " <div class=\"content bookmark\"> "; // line 108 echo ($context["bookmark_content"] ?? null); echo " </div> <div class=\"mid_layer\"></div> <div class=\"card add\"> "; // line 112 $this->loadTemplate("console/toolbar.twig", "console/display.twig", 112)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "switch_button", 1 => _gettext("Add bookmark")]]])); // line 118 echo " <div class=\"content add_bookmark\"> <div class=\"options\"> <label> "; echo _gettext("Label"); // line 121 echo ": <input type=\"text\" name=\"label\"> </label> <label> "; echo _gettext("Target database"); // line 124 echo ": <input type=\"text\" name=\"targetdb\"> </label> <label> <input type=\"checkbox\" name=\"shared\">"; echo _gettext("Share this bookmark"); // line 128 echo " </label> <button class=\"btn btn-primary\" type=\"submit\" name=\"submit\">"; echo _gettext("OK"); // line 129 echo "</button> </div> <!-- options --> <div class=\"query_input\"> <span class=\"bookmark_add_input\"></span> </div> </div> </div> <!-- Add bookmark card --> </div> <!-- Bookmarks card --> "; } // line 138 echo " "; // line 139 echo " <div class=\"card\" id=\"pma_console_options\"> "; // line 140 $this->loadTemplate("console/toolbar.twig", "console/display.twig", 140)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "switch_button", 1 => _gettext("Options")], 1 => [0 => "button default", 1 => _gettext("Set default")]]])); // line 147 echo " <div class=\"content\"> <label> <input type=\"checkbox\" name=\"always_expand\">"; echo _gettext("Always expand query messages"); // line 150 echo " </label> <br> <label> <input type=\"checkbox\" name=\"start_history\">"; echo _gettext("Show query history at start"); // line 154 echo " </label> <br> <label> <input type=\"checkbox\" name=\"current_query\">"; echo _gettext("Show current browsing query"); // line 158 echo " </label> <br> <label> <input type=\"checkbox\" name=\"enter_executes\"> "; echo _gettext("Execute queries on Enter and insert new line with Shift+Enter. To make this permanent, view settings."); // line 165 echo " </label> <br> <label> <input type=\"checkbox\" name=\"dark_theme\">"; echo _gettext("Switch to dark theme"); // line 169 echo " </label> <br> </div> </div> <!-- Options card --> <div class=\"templates\"> "; // line 175 echo " "; $this->loadTemplate("console/query_action.twig", "console/display.twig", 175)->display(twig_to_array(["parent_div_classes" => "query_actions", "content_array" => [0 => [0 => "action collapse", 1 => _gettext("Collapse")], 1 => [0 => "action expand", 1 => _gettext("Expand")], 2 => [0 => "action requery", 1 => _gettext("Requery")], 3 => [0 => "action edit", 1 => _gettext("Edit")], 4 => [0 => "action explain", 1 => _gettext("Explain")], 5 => [0 => "action profiling", 1 => _gettext("Profiling")], 6 => (( // line 184 ($context["has_bookmark_feature"] ?? null)) ? ([0 => "action bookmark", 1 => _gettext("Bookmark")]) : (null)), 7 => [0 => "text failed", 1 => _gettext("Query failed")], 8 => [0 => "text targetdb", 1 => _gettext("Database"), "extraSpan" => ""], 9 => [0 => "text query_time", 1 => _gettext("Queried time"), "extraSpan" => ""]]])); // line 190 echo " </div> </div> <!-- #console end --> </div> <!-- #console_container end --> "; } public function getTemplateName() { return "console/display.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 230 => 190, 228 => 184, 226 => 175, 219 => 169, 213 => 165, 206 => 158, 200 => 154, 194 => 150, 189 => 147, 187 => 140, 184 => 139, 182 => 138, 171 => 129, 167 => 128, 161 => 124, 155 => 121, 149 => 118, 147 => 112, 140 => 108, 137 => 107, 135 => 99, 132 => 98, 130 => 97, 126 => 95, 124 => 84, 117 => 79, 115 => 64, 112 => 63, 109 => 61, 102 => 55, 99 => 54, 89 => 51, 87 => 47, 86 => 46, 85 => 42, 84 => 40, 83 => 31, 77 => 30, 73 => 29, 71 => 28, 66 => 27, 64 => 26, 60 => 24, 55 => 21, 48 => 16, 46 => 15, 44 => 11, 43 => 7, 41 => 4, 37 => 1,); } public function getSourceContext() { return new Source("", "console/display.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/console/display.twig"); } } twig/0b/0b17c8852e6cd02340dfc95270b31f20.php 0000644 00000003553 15114741573 0012746 0 ustar 00 <?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; /* database/structure/collation_definition.twig */ class __TwigTemplate_9b78b117ca0d24c9adf05f769f2bc359 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 "<dfn title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["valueTitle"] ?? null), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["value"] ?? null), "html", null, true); yield "</dfn> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/structure/collation_definition.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 38 => 1,); } public function getSourceContext() { return new Source("", "database/structure/collation_definition.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/collation_definition.twig"); } } twig/d1/d1f3c4a1fd8678d1e23aff7ab4bd43d4.php 0000644 00000017361 15114741573 0013427 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/check_all_tables.twig */ class __TwigTemplate_3a8bb424f16c30fe8ab1dfc6ad70db6e 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 echo "<div class=\"clearfloat d-print-none\"> <img class=\"selectallarrow\" src=\""; // line 2 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath((("arrow_" . ($context["text_dir"] ?? null)) . ".png")), "html", null, true); echo "\" width=\"38\" height=\"22\" alt=\""; echo _gettext("With selected:"); echo "\"> <input type=\"checkbox\" id=\"tablesForm_checkall\" class=\"checkall_box\" title=\""; echo _gettext("Check all"); // line 3 echo "\"> <label for=\"tablesForm_checkall\">"; echo _gettext("Check all"); // line 4 echo "</label> "; // line 5 if ((($context["overhead_check"] ?? null) != "")) { // line 6 echo " / <a href=\"#\" class=\"checkall-filter\" data-checkall-selector=\".tbl-overhead\">"; echo _gettext("Check tables having overhead"); echo "</a> "; } // line 8 echo " <select name=\"submit_mult\" style=\"margin: 0 3em 0 3em;\"> <option value=\""; echo _gettext("With selected:"); // line 9 echo "\" selected=\"selected\">"; echo _gettext("With selected:"); echo "</option> <option value=\"copy_tbl\">"; echo _gettext("Copy table"); // line 10 echo "</option> <option value=\"show_create\">"; echo _gettext("Show create"); // line 11 echo "</option> <option value=\"export\">"; echo _gettext("Export"); // line 12 echo "</option> "; // line 13 if (( !($context["db_is_system_schema"] ?? null) && !($context["disable_multi_table"] ?? null))) { // line 14 echo " <optgroup label=\""; echo _gettext("Delete data or table"); echo "\"> <option value=\"empty_tbl\">"; echo _gettext("Empty"); // line 15 echo "</option> <option value=\"drop_tbl\">"; echo _gettext("Drop"); // line 16 echo "</option> </optgroup> <optgroup label=\""; echo _gettext("Table maintenance"); // line 18 echo "\"> <option value=\"analyze_tbl\">"; echo _gettext("Analyze table"); // line 19 echo "</option> <option value=\"check_tbl\">"; echo _gettext("Check table"); // line 20 echo "</option> <option value=\"checksum_tbl\">"; echo _gettext("Checksum table"); // line 21 echo "</option> <option value=\"optimize_tbl\">"; echo _gettext("Optimize table"); // line 22 echo "</option> <option value=\"repair_tbl\">"; echo _gettext("Repair table"); // line 23 echo "</option> </optgroup> <optgroup label=\""; echo _gettext("Prefix"); // line 25 echo "\"> <option value=\"add_prefix_tbl\">"; echo _gettext("Add prefix to table"); // line 26 echo "</option> <option value=\"replace_prefix_tbl\">"; echo _gettext("Replace table prefix"); // line 27 echo "</option> <option value=\"copy_tbl_change_prefix\">"; echo _gettext("Copy table with prefix"); // line 28 echo "</option> </optgroup> "; } // line 31 echo " "; if ((array_key_exists("central_columns_work", $context) && ($context["central_columns_work"] ?? null))) { // line 32 echo " <optgroup label=\""; echo _gettext("Central columns"); echo "\"> <option value=\"sync_unique_columns_central_list\">"; echo _gettext("Add columns to central list"); // line 33 echo "</option> <option value=\"delete_unique_columns_central_list\">"; echo _gettext("Remove columns from central list"); // line 34 echo "</option> <option value=\"make_consistent_with_central_list\">"; echo _gettext("Make consistent with central list"); // line 35 echo "</option> </optgroup> "; } // line 38 echo " </select> "; // line 39 echo twig_join_filter(($context["hidden_fields"] ?? null), " "); echo " </div> "; // line 42 if ((array_key_exists("central_columns_work", $context) && ($context["central_columns_work"] ?? null))) { // line 43 echo " <div class=\"modal fade\" id=\"makeConsistentWithCentralListModal\" data-bs-backdrop=\"static\" data-bs-keyboard=\"false\" tabindex=\"-1\" aria-labelledby=\"makeConsistentWithCentralListModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog modal-dialog-centered\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"makeConsistentWithCentralListModalLabel\">"; echo _gettext("Are you sure?"); // line 48 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Cancel"); // line 49 echo "\"></button> </div> <div class=\"modal-body\"> "; // line 52 echo PhpMyAdmin\Sanitize::sanitizeMessage(_gettext("This action may change some of the columns definition.[br]Are you sure you want to continue?")); echo " </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Cancel"); // line 55 echo "</button> <button type=\"button\" class=\"btn btn-primary\" id=\"makeConsistentWithCentralListContinue\">"; echo _gettext("Continue"); // line 56 echo "</button> </div> </div> </div> </div> "; } } public function getTemplateName() { return "database/structure/check_all_tables.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 204 => 56, 200 => 55, 193 => 52, 188 => 49, 184 => 48, 176 => 43, 174 => 42, 167 => 39, 164 => 38, 159 => 35, 155 => 34, 151 => 33, 145 => 32, 142 => 31, 137 => 28, 133 => 27, 129 => 26, 125 => 25, 120 => 23, 116 => 22, 112 => 21, 108 => 20, 104 => 19, 100 => 18, 95 => 16, 91 => 15, 85 => 14, 83 => 13, 80 => 12, 76 => 11, 72 => 10, 66 => 9, 62 => 8, 56 => 6, 54 => 5, 51 => 4, 47 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/check_all_tables.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/check_all_tables.twig"); } } twig/d1/d1c0a2e0ab14ab1b927ac692ff6f20f1.php 0000644 00000003512 15114741573 0013311 0 ustar 00 <?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_cd7f7e3580392664a4199c3ac2e88ecf 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/controls.twig"); } } twig/a2/a2734b8e97451081424e32730b9ed53a.php 0000644 00000034500 15114741573 0012620 0 ustar 00 <?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_c5519f58546977a5b56b2549f86685dd 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/console/display.twig"); } } twig/a2/a2cb022e2df23f11d5c31c5a09eda215.php 0000644 00000005331 15114741573 0013220 0 ustar 00 <?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_c3c27ac857eaf93e69a33f685ee86bf3 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/preferences/autoload.twig"); } } twig/a2/a225bb055dcc68fb4f405c769796667b.php 0000644 00000111410 15114741573 0013055 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/table.twig */ class __TwigTemplate_fda64d5be3f454529c2c67f8a5393558 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 ob_start(function () { return ''; }); // line 2 echo " "; if ( !twig_test_empty(($context["navigation"] ?? null))) { // line 3 echo " <table class=\"navigation d-print-none\"> <tr> <td class=\"navigation_separator\"></td> "; // line 7 echo twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "move_backward_buttons", [], "any", false, false, false, 7); echo " "; // line 8 echo twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "page_selector", [], "any", false, false, false, 8); echo " "; // line 9 echo twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "move_forward_buttons", [], "any", false, false, false, 9); echo " "; // line 11 if ((twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "number_total_page", [], "any", false, false, false, 11) != 1)) { // line 12 echo " <td><div class=\"navigation_separator\">|</div></td> "; } // line 14 echo " "; // line 15 if (twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "has_show_all", [], "any", false, false, false, 15)) { // line 16 echo " <td> <form action=\""; // line 17 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" method=\"post\"> "; // line 18 echo PhpMyAdmin\Url::getHiddenFields(twig_array_merge(twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "hidden_fields", [], "any", false, false, false, 18), ["session_max_rows" => twig_get_attribute($this->env, $this->source, // line 19 ($context["navigation"] ?? null), "session_max_rows", [], "any", false, false, false, 19), "pos" => "0"])); // line 21 echo " <input type=\"checkbox\" name=\"navig\" id=\"showAll_"; // line 22 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" class=\"showAllRows\" value=\"all\""; // line 23 echo ((twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "is_showing_all", [], "any", false, false, false, 23)) ? (" checked") : ("")); echo "> <label for=\"showAll_"; // line 24 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Show all"); echo "</label> </form> </td> <td><div class=\"navigation_separator\">|</div></td> "; } // line 29 echo " <td> <div class=\"save_edited hide\"> <input class=\"btn btn-link\" type=\"submit\" value=\""; echo _gettext("Save edited data"); // line 32 echo "\"> <div class=\"navigation_separator\">|</div> </div> </td> <td> <div class=\"restore_column hide\"> <input class=\"btn btn-link\" type=\"submit\" value=\""; echo _gettext("Restore column order"); // line 38 echo "\"> <div class=\"navigation_separator\">|</div> </div> </td> <td class=\"navigation_goto\"> <form action=\""; // line 43 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" method=\"post\" class=\"maxRowsForm\"> "; // line 44 echo PhpMyAdmin\Url::getHiddenFields(twig_array_merge(twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "hidden_fields", [], "any", false, false, false, 44), ["pos" => twig_get_attribute($this->env, $this->source, // line 45 ($context["navigation"] ?? null), "pos", [], "any", false, false, false, 45), "unlim_num_rows" => // line 46 ($context["unlim_num_rows"] ?? null)])); // line 47 echo " <label for=\"sessionMaxRowsSelect\">"; echo _gettext("Number of rows:"); // line 49 echo "</label> <select class=\"autosubmit\" name=\"session_max_rows\" id=\"sessionMaxRowsSelect\"> "; // line 51 if (twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "is_showing_all", [], "any", false, false, false, 51)) { // line 52 echo " <option value=\"\" disabled selected>"; echo _gettext("All"); echo "</option> "; } // line 54 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable([0 => "25", 1 => "50", 2 => "100", 3 => "250", 4 => "500"]); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 55 echo " <option value=\""; echo twig_escape_filter($this->env, $context["option"], "html", null, true); echo "\""; echo (((twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "max_rows", [], "any", false, false, false, 55) == $context["option"])) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, $context["option"], "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 57 echo " </select> </form> </td> <td class=\"navigation_separator\"></td> <td class=\"largescreenonly\"> <span>"; echo _gettext("Filter rows"); // line 62 echo ":</span> <input type=\"text\" class=\"filter_rows\" placeholder=\""; echo _gettext("Search this table"); // line 64 echo "\" data-for=\""; echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\"> </td> <td class=\"largescreenonly\"> "; // line 67 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "sort_by_key", [], "any", false, false, false, 67))) { // line 68 echo " <form action=\""; echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" method=\"post\" class=\"d-print-none\"> "; // line 69 echo PhpMyAdmin\Url::getHiddenFields(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "sort_by_key", [], "any", false, false, false, 69), "hidden_fields", [], "any", false, false, false, 69)); echo " "; echo _gettext("Sort by key:"); // line 71 echo " <select name=\"sql_query\" class=\"autosubmit\"> "; // line 72 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "sort_by_key", [], "any", false, false, false, 72), "options", [], "any", false, false, false, 72)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 73 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 73), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["option"], "is_selected", [], "any", false, false, false, 73)) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "content", [], "any", false, false, false, 73), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 75 echo " </select> </form> "; } // line 78 echo " </td> <td class=\"navigation_separator\"></td> </tr> </table> "; } $context["navigation_html"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 84 echo " "; // line 85 echo ($context["sql_query_message"] ?? null); echo " "; // line 87 echo twig_escape_filter($this->env, ($context["navigation_html"] ?? null), "html", null, true); echo " <input class=\"save_cells_at_once\" type=\"hidden\" value=\""; // line 89 echo twig_escape_filter($this->env, ($context["save_cells_at_once"] ?? null), "html", null, true); echo "\"> <div class=\"common_hidden_inputs\"> "; // line 91 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " </div> "; // line 94 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 94))) { // line 95 echo " "; if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 95), "order", [], "any", false, false, false, 95)) { // line 96 echo " <input class=\"col_order\" type=\"hidden\" value=\""; echo twig_escape_filter($this->env, twig_join_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 96), "order", [], "any", false, false, false, 96), ","), "html", null, true); echo "\"> "; } // line 98 echo " "; if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 98), "visibility", [], "any", false, false, false, 98)) { // line 99 echo " <input class=\"col_visib\" type=\"hidden\" value=\""; echo twig_escape_filter($this->env, twig_join_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 99), "visibility", [], "any", false, false, false, 99), ","), "html", null, true); echo "\"> "; } // line 101 echo " "; if ( !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 101), "is_view", [], "any", false, false, false, 101)) { // line 102 echo " <input class=\"table_create_time\" type=\"hidden\" value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 102), "table_create_time", [], "any", false, false, false, 102), "html", null, true); echo "\"> "; } } // line 105 echo " "; // line 106 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 106))) { // line 107 echo " <form method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" name=\"displayOptionsForm\" class=\"ajax d-print-none\"> "; // line 108 echo PhpMyAdmin\Url::getHiddenInputs(["db" => // line 109 ($context["db"] ?? null), "table" => // line 110 ($context["table"] ?? null), "sql_query" => // line 111 ($context["sql_query"] ?? null), "goto" => // line 112 ($context["goto"] ?? null), "display_options_form" => 1]); // line 114 echo " "; // line 116 if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 117 echo " <div class=\"mb-3\"> <button class=\"btn btn-sm btn-secondary\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#extraOptions\" aria-expanded=\""; // line 118 echo (((($context["default_sliders_state"] ?? null) == "open")) ? ("true") : ("false")); echo "\" aria-controls=\"extraOptions\"> "; echo _gettext("Extra options"); // line 120 echo " </button> </div> <div class=\"collapse mb-3"; // line 122 echo (((($context["default_sliders_state"] ?? null) == "open")) ? (" show") : ("")); echo "\" id=\"extraOptions\"> "; } // line 124 echo " <fieldset class=\"pma-fieldset\"> <div class=\"formelement\"> <div> <input type=\"radio\" name=\"pftext\" id=\"partialFulltextRadioP"; // line 128 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" value=\"P\""; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 128), "pftext", [], "any", false, false, false, 128) == "P")) ? (" checked") : ("")); echo "> <label for=\"partialFulltextRadioP"; // line 129 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Partial texts"); echo "</label> </div> <div> <input type=\"radio\" name=\"pftext\" id=\"partialFulltextRadioF"; // line 132 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" value=\"F\""; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 132), "pftext", [], "any", false, false, false, 132) == "F")) ? (" checked") : ("")); echo "> <label for=\"partialFulltextRadioF"; // line 133 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Full texts"); echo "</label> </div> </div> "; // line 137 if ((($context["relwork"] ?? null) && ($context["displaywork"] ?? null))) { // line 138 echo " <div class=\"formelement\"> <div> <input type=\"radio\" name=\"relational_display\" id=\"relationalDisplayRadioK"; // line 140 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" value=\"K\""; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 140), "relational_display", [], "any", false, false, false, 140) == "K")) ? (" checked") : ("")); echo "> <label for=\"relationalDisplayRadioK"; // line 141 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Relational key"); echo "</label> </div> <div> <input type=\"radio\" name=\"relational_display\" id=\"relationalDisplayRadioD"; // line 144 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" value=\"D\""; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 144), "relational_display", [], "any", false, false, false, 144) == "D")) ? (" checked") : ("")); echo "> <label for=\"relationalDisplayRadioD"; // line 145 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Display column for relationships"); echo "</label> </div> </div> "; } // line 149 echo " <div class=\"formelement\"> <input type=\"checkbox\" name=\"display_binary\" id=\"display_binary_"; // line 151 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\""; // line 152 echo (( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 152), "display_binary", [], "any", false, false, false, 152))) ? (" checked") : ("")); echo "> <label for=\"display_binary_"; // line 153 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Show binary contents"); echo "</label> <input type=\"checkbox\" name=\"display_blob\" id=\"display_blob_"; // line 155 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\""; // line 156 echo (( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 156), "display_blob", [], "any", false, false, false, 156))) ? (" checked") : ("")); echo "> <label for=\"display_blob_"; // line 157 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Show BLOB contents"); echo "</label> </div> "; // line 164 echo " <div class=\"formelement\"> <input type=\"checkbox\" name=\"hide_transformation\" id=\"hide_transformation_"; // line 165 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\""; // line 166 echo (( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 166), "hide_transformation", [], "any", false, false, false, 166))) ? (" checked") : ("")); echo "> <label for=\"hide_transformation_"; // line 167 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Hide browser transformation"); echo "</label> </div> <div class=\"formelement\"> "; // line 171 if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 171), "possible_as_geometry", [], "any", false, false, false, 171)) { // line 172 echo " <div> <input type=\"radio\" name=\"geoOption\" id=\"geoOptionRadioGeom"; // line 173 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" value=\"GEOM\""; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 173), "geo_option", [], "any", false, false, false, 173) == "GEOM")) ? (" checked") : ("")); echo "> <label for=\"geoOptionRadioGeom"; // line 174 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Geometry"); echo "</label> </div> "; } // line 177 echo " <div> <input type=\"radio\" name=\"geoOption\" id=\"geoOptionRadioWkt"; // line 178 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" value=\"WKT\""; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 178), "geo_option", [], "any", false, false, false, 178) == "WKT")) ? (" checked") : ("")); echo "> <label for=\"geoOptionRadioWkt"; // line 179 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Well Known Text"); echo "</label> </div> <div> <input type=\"radio\" name=\"geoOption\" id=\"geoOptionRadioWkb"; // line 182 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" value=\"WKB\""; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 182), "geo_option", [], "any", false, false, false, 182) == "WKB")) ? (" checked") : ("")); echo "> <label for=\"geoOptionRadioWkb"; // line 183 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Well Known Binary"); echo "</label> </div> </div> <div class=\"clearfloat\"></div> </fieldset> <fieldset class=\"pma-fieldset tblFooters\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 190 echo "\"> </fieldset> "; // line 192 if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 193 echo " </div> "; } // line 195 echo " </form> "; } // line 197 echo " "; // line 198 if (twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "has_bulk_actions_form", [], "any", false, false, false, 198)) { // line 199 echo " <form method=\"post\" name=\"resultsForm\" id=\"resultsForm_"; echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" class=\"ajax\"> "; // line 200 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null), 1); echo " <input type=\"hidden\" name=\"goto\" value=\""; // line 201 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\"> "; } // line 203 echo " <div class=\"table-responsive-md\"> <table class=\"table table-striped table-hover table-sm table_results data ajax w-auto\" data-uniqueId=\""; // line 205 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\"> "; // line 207 echo twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "button", [], "any", false, false, false, 207); echo " "; // line 208 echo twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "table_headers_for_columns", [], "any", false, false, false, 208); echo " "; // line 209 echo twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_at_right_side", [], "any", false, false, false, 209); echo " </tr> </thead> <tbody> "; // line 215 echo ($context["body"] ?? null); echo " </tbody> </table> </div> "; // line 220 if ( !twig_test_empty(($context["bulk_links"] ?? null))) { // line 221 echo " <div class=\"d-print-none\"> <img class=\"selectallarrow\" src=\""; // line 222 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath((("arrow_" . ($context["text_dir"] ?? null)) . ".png")), "html", null, true); echo "\" width=\"38\" height=\"22\" alt=\""; echo _gettext("With selected:"); echo "\"> <input type=\"checkbox\" id=\"resultsForm_"; // line 223 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "_checkall\" class=\"checkall_box\" title=\""; echo _gettext("Check all"); echo "\"> <label for=\"resultsForm_"; // line 224 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "_checkall\">"; echo _gettext("Check all"); echo "</label> <em class=\"with-selected\">"; echo _gettext("With selected:"); // line 225 echo "</em> <button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"edit\" title=\""; echo _gettext("Edit"); // line 227 echo "\"> "; // line 228 echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit")); echo " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"copy\" title=\""; echo _gettext("Copy"); // line 231 echo "\"> "; // line 232 echo PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Copy")); echo " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"delete\" title=\""; echo _gettext("Delete"); // line 235 echo "\"> "; // line 236 echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Delete")); echo " </button> "; // line 239 if (twig_get_attribute($this->env, $this->source, ($context["bulk_links"] ?? null), "has_export_button", [], "any", false, false, false, 239)) { // line 240 echo " <button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"export\" title=\""; echo _gettext("Export"); echo "\"> "; // line 241 echo PhpMyAdmin\Html\Generator::getIcon("b_tblexport", _gettext("Export")); echo " </button> "; } // line 244 echo " </div> <input type=\"hidden\" name=\"clause_is_unique\" value=\""; // line 246 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["bulk_links"] ?? null), "clause_is_unique", [], "any", false, false, false, 246), "html", null, true); echo "\"> <input type=\"hidden\" name=\"sql_query\" value=\""; // line 247 echo twig_escape_filter($this->env, ($context["sql_query"] ?? null), "html", null, true); echo "\"> </form> "; } // line 250 echo " "; // line 251 echo twig_escape_filter($this->env, ($context["navigation_html"] ?? null), "html", null, true); echo " "; // line 253 if ( !twig_test_empty(($context["operations"] ?? null))) { // line 254 echo " <fieldset class=\"pma-fieldset d-print-none\"> <legend>"; echo _gettext("Query results operations"); // line 255 echo "</legend> "; // line 257 if (twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_print_link", [], "any", false, false, false, 257)) { // line 258 echo " <button type=\"button\" class=\"btn btn-link jsPrintButton\">"; echo PhpMyAdmin\Html\Generator::getIcon("b_print", _gettext("Print"), true); echo "</button> "; // line 260 echo PhpMyAdmin\Html\Generator::linkOrButton("#", null, PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Copy to clipboard"), true), ["id" => "copyToClipBoard", "class" => "btn"]); // line 265 echo " "; } // line 267 echo " "; // line 268 if ( !twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_procedure", [], "any", false, false, false, 268)) { // line 269 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_export_link", [], "any", false, false, false, 269)) { // line 270 echo " "; echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/table/export"), twig_get_attribute($this->env, $this->source, // line 272 ($context["operations"] ?? null), "url_params", [], "any", false, false, false, 272), PhpMyAdmin\Html\Generator::getIcon("b_tblexport", _gettext("Export"), true), ["class" => "btn"]); // line 275 echo " "; // line 277 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/table/chart"), twig_get_attribute($this->env, $this->source, // line 279 ($context["operations"] ?? null), "url_params", [], "any", false, false, false, 279), PhpMyAdmin\Html\Generator::getIcon("b_chart", _gettext("Display chart"), true), ["class" => "btn"]); // line 282 echo " "; // line 284 if (twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_geometry", [], "any", false, false, false, 284)) { // line 285 echo " "; echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/table/gis-visualization"), twig_get_attribute($this->env, $this->source, // line 287 ($context["operations"] ?? null), "url_params", [], "any", false, false, false, 287), PhpMyAdmin\Html\Generator::getIcon("b_globe", _gettext("Visualize GIS data"), true), ["class" => "btn"]); // line 290 echo " "; } // line 292 echo " "; } // line 293 echo " <span> "; // line 295 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/view/create"), ["db" => // line 297 ($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 300 echo " </span> "; } // line 303 echo " </fieldset> "; } // line 305 if (( !twig_test_empty(($context["operations"] ?? null)) && !twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_procedure", [], "any", false, false, false, 305))) { // line 306 echo twig_include($this->env, $context, "modals/create_view.twig"); echo " "; } } public function getTemplateName() { return "display/results/table.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 739 => 306, 737 => 305, 733 => 303, 728 => 300, 726 => 297, 725 => 295, 721 => 293, 718 => 292, 714 => 290, 712 => 287, 710 => 285, 708 => 284, 704 => 282, 702 => 279, 701 => 277, 697 => 275, 695 => 272, 693 => 270, 690 => 269, 688 => 268, 685 => 267, 681 => 265, 679 => 260, 673 => 258, 671 => 257, 667 => 255, 663 => 254, 661 => 253, 656 => 251, 653 => 250, 647 => 247, 643 => 246, 639 => 244, 633 => 241, 628 => 240, 626 => 239, 620 => 236, 617 => 235, 610 => 232, 607 => 231, 600 => 228, 597 => 227, 592 => 225, 585 => 224, 579 => 223, 573 => 222, 570 => 221, 568 => 220, 560 => 215, 551 => 209, 547 => 208, 543 => 207, 538 => 205, 534 => 203, 529 => 201, 525 => 200, 520 => 199, 518 => 198, 515 => 197, 511 => 195, 507 => 193, 505 => 192, 501 => 190, 488 => 183, 482 => 182, 474 => 179, 468 => 178, 465 => 177, 457 => 174, 451 => 173, 448 => 172, 446 => 171, 437 => 167, 433 => 166, 430 => 165, 427 => 164, 419 => 157, 415 => 156, 412 => 155, 405 => 153, 401 => 152, 398 => 151, 394 => 149, 385 => 145, 379 => 144, 371 => 141, 365 => 140, 361 => 138, 359 => 137, 350 => 133, 344 => 132, 336 => 129, 330 => 128, 324 => 124, 319 => 122, 315 => 120, 310 => 118, 307 => 117, 305 => 116, 301 => 114, 299 => 112, 298 => 111, 297 => 110, 296 => 109, 295 => 108, 290 => 107, 288 => 106, 285 => 105, 278 => 102, 275 => 101, 269 => 99, 266 => 98, 260 => 96, 257 => 95, 255 => 94, 249 => 91, 244 => 89, 239 => 87, 234 => 85, 231 => 84, 223 => 78, 218 => 75, 205 => 73, 201 => 72, 198 => 71, 193 => 69, 188 => 68, 186 => 67, 179 => 64, 175 => 62, 167 => 57, 154 => 55, 149 => 54, 143 => 52, 141 => 51, 137 => 49, 132 => 47, 130 => 46, 129 => 45, 128 => 44, 124 => 43, 117 => 38, 108 => 32, 102 => 29, 92 => 24, 88 => 23, 85 => 22, 82 => 21, 80 => 19, 79 => 18, 75 => 17, 72 => 16, 70 => 15, 67 => 14, 63 => 12, 61 => 11, 56 => 9, 52 => 8, 48 => 7, 42 => 3, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/table.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/table.twig"); } } twig/62/623e53e20a011e66004d1cc8a70a60ed.php 0000644 00000007523 15114741573 0012736 0 ustar 00 <?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_ca25aff5c3a84179023e5f3e4b8d4bbd 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/console/query_action.twig"); } } twig/dc/dc6bc22928609b21fa34c3ce27fe6a3e.php 0000644 00000031110 15114741573 0013334 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* config/form_display/display.twig */ class __TwigTemplate_333f4440c256d9bae3604ce533b64a88 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 echo "<form method=\"post\" action=\""; echo twig_escape_filter($this->env, ($context["action"] ?? null), "html_attr"); echo "\" class=\"config-form disableAjax\"> <input type=\"hidden\" name=\"tab_hash\" value=\"\"> "; // line 3 if (($context["has_check_page_refresh"] ?? null)) { // line 4 echo " <input type=\"hidden\" name=\"check_page_refresh\" id=\"check_page_refresh\" value=\"\"> "; } // line 6 echo " "; echo PhpMyAdmin\Url::getHiddenInputs("", "", 0, "server"); echo " "; // line 7 echo PhpMyAdmin\Url::getHiddenFields(($context["hidden_fields"] ?? null), "", true); echo " <ul class=\"nav nav-tabs\" id=\"configFormDisplayTab\" role=\"tablist\"> "; // line 10 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($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 echo " <li class=\"nav-item\" role=\"presentation\"> <a class=\"nav-link"; // line 12 echo ((twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 12)) ? (" active") : ("")); echo "\" id=\""; echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "-tab\" href=\"#"; echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "\" data-bs-toggle=\"tab\" role=\"tab\" aria-controls=\""; echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "\" aria-selected=\""; echo ((twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 12)) ? ("true") : ("false")); echo "\">"; echo twig_escape_filter($this->env, $context["name"], "html", null, true); echo "</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 echo " </ul> <div class=\"tab-content\"> "; // line 17 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($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 echo " <div class=\"tab-pane fade"; echo ((twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 18)) ? (" show active") : ("")); echo "\" id=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["form"], "name", [], "any", false, false, false, 18), "html", null, true); echo "\" role=\"tabpanel\" aria-labelledby=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["form"], "name", [], "any", false, false, false, 18), "html", null, true); echo "-tab\"> <div class=\"card border-top-0\"> <div class=\"card-body\"> <h5 class=\"card-title visually-hidden\">"; // line 21 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["form"], "descriptions", [], "any", false, false, false, 21), "name", [], "any", false, false, false, 21), "html", null, true); echo "</h5> "; // line 22 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["form"], "descriptions", [], "any", false, false, false, 22), "desc", [], "any", false, false, false, 22))) { // line 23 echo " <h6 class=\"card-subtitle mb-2 text-muted\">"; echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["form"], "descriptions", [], "any", false, false, false, 23), "desc", [], "any", false, false, false, 23); echo "</h6> "; } // line 25 echo " <fieldset class=\"optbox\"> <legend>"; // line 27 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["form"], "descriptions", [], "any", false, false, false, 27), "name", [], "any", false, false, false, 27), "html", null, true); echo "</legend> "; // line 30 echo " "; if ((twig_test_iterable(twig_get_attribute($this->env, $this->source, $context["form"], "errors", [], "any", false, false, false, 30)) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["form"], "errors", [], "any", false, false, false, 30)) > 0))) { // line 31 echo " <dl class=\"errors\"> "; // line 32 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["form"], "errors", [], "any", false, false, false, 32)); foreach ($context['_seq'] as $context["_key"] => $context["error"]) { // line 33 echo " <dd>"; echo twig_escape_filter($this->env, $context["error"], "html", null, true); echo "</dd> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 35 echo " </dl> "; } // line 37 echo " <table class=\"table table-borderless\"> "; // line 39 echo twig_get_attribute($this->env, $this->source, $context["form"], "fields_html", [], "any", false, false, false, 39); echo " </table> </fieldset> </div> "; // line 44 if (($context["show_buttons"] ?? null)) { // line 45 echo " <div class=\"card-footer\"> <input class=\"btn btn-primary\" type=\"submit\" name=\"submit_save\" value=\""; echo _gettext("Apply"); // line 46 echo "\"> <input class=\"btn btn-secondary\" type=\"button\" name=\"submit_reset\" value=\""; echo _gettext("Reset"); // line 47 echo "\"> </div> "; } // line 50 echo " </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 echo " </div> </form> <script type=\"text/javascript\"> if (typeof configInlineParams === 'undefined' || !Array.isArray(configInlineParams)) { configInlineParams = []; } configInlineParams.push(function () { "; // line 61 echo twig_join_filter(($context["js_array"] ?? null), "; "); echo "; \$.extend(Messages, { 'error_nan_p': '"; // line 64 echo twig_escape_filter($this->env, twig_escape_filter($this->env, _gettext("Not a positive number!"), "js"), "html", null, true); echo "', 'error_nan_nneg': '"; // line 65 echo twig_escape_filter($this->env, twig_escape_filter($this->env, _gettext("Not a non-negative number!"), "js"), "html", null, true); echo "', 'error_incorrect_port': '"; // line 66 echo twig_escape_filter($this->env, twig_escape_filter($this->env, _gettext("Not a valid port number!"), "js"), "html", null, true); echo "', 'error_invalid_value': '"; // line 67 echo twig_escape_filter($this->env, twig_escape_filter($this->env, _gettext("Incorrect value!"), "js"), "html", null, true); echo "', 'error_value_lte': '"; // line 68 echo twig_escape_filter($this->env, twig_escape_filter($this->env, _gettext("Value must be less than or equal to %s!"), "js"), "html", null, true); echo "', }); \$.extend(defaultValues, { "; // line 72 echo twig_join_filter(($context["js_default"] ?? null), ", "); echo " }); }); if (typeof configScriptLoaded !== 'undefined' && configInlineParams) { loadInlineConfig(); } </script> "; } public function getTemplateName() { return "config/form_display/display.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 266 => 72, 259 => 68, 255 => 67, 251 => 66, 247 => 65, 243 => 64, 236 => 61, 226 => 53, 210 => 50, 205 => 47, 201 => 46, 197 => 45, 195 => 44, 187 => 39, 183 => 37, 179 => 35, 170 => 33, 166 => 32, 163 => 31, 160 => 30, 155 => 27, 151 => 25, 145 => 23, 143 => 22, 139 => 21, 128 => 18, 111 => 17, 107 => 15, 80 => 12, 77 => 11, 60 => 10, 54 => 7, 49 => 6, 45 => 4, 43 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "config/form_display/display.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/config/form_display/display.twig"); } } twig/dc/dc10b6c4568502eae5e1aa18e49ee9cb.php 0000644 00000003512 15114741573 0013421 0 ustar 00 <?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_0bddcff1d274422bc80f7d2e313f1725 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/controls.twig"); } } twig/b2/b2c93ea9c8c3fe9163cb2fe222521f87.php 0000644 00000004302 15114741573 0013206 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* file_select_options.twig */ class __TwigTemplate_5bfd7f2a256fb740a0c941ba1b3827b5 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'] = twig_ensure_traversable(($context["filesList"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["file"]) { // line 2 echo " <option value=\""; echo twig_escape_filter($this->env, $context["file"], "html", null, true); echo "\""; if (($context["file"] == ($context["active"] ?? null))) { echo " selected=\"selected\""; } echo "> "; // line 3 echo twig_escape_filter($this->env, $context["file"], "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } public function getTemplateName() { return "file_select_options.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 50 => 3, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "file_select_options.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/file_select_options.twig"); } } twig/b2/b211a37b6b8865964ad253bd355f92d0.php 0000644 00000015745 15114741573 0012775 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* header.twig */ class __TwigTemplate_69a8f815f85de7b15b53616a1608e4ec 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 echo "<!doctype html> <html lang=\""; // line 2 echo twig_escape_filter($this->env, ($context["lang"] ?? null), "html", null, true); echo "\" dir=\""; echo twig_escape_filter($this->env, ($context["text_dir"] ?? null), "html", null, true); echo "\"> <head> <meta charset=\"utf-8\"> <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"> <meta name=\"referrer\" content=\"no-referrer\"> <meta name=\"robots\" content=\"noindex,nofollow,notranslate\"> <meta name=\"google\" content=\"notranslate\"> "; // line 9 if ( !($context["allow_third_party_framing"] ?? null)) { // line 10 echo "<style id=\"cfs-style\">html{display: none;}</style>"; } // line 12 echo " <link rel=\"icon\" href=\"favicon.ico\" type=\"image/x-icon\"> <link rel=\"shortcut icon\" href=\"favicon.ico\" type=\"image/x-icon\"> <link rel=\"stylesheet\" type=\"text/css\" href=\""; // line 15 echo twig_escape_filter($this->env, ($context["theme_path"] ?? null), "html", null, true); echo "/jquery/jquery-ui.css\"> <link rel=\"stylesheet\" type=\"text/css\" href=\""; // line 16 echo twig_escape_filter($this->env, ($context["base_dir"] ?? null), "html", null, true); echo "js/vendor/codemirror/lib/codemirror.css?"; echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true); echo "\"> <link rel=\"stylesheet\" type=\"text/css\" href=\""; // line 17 echo twig_escape_filter($this->env, ($context["base_dir"] ?? null), "html", null, true); echo "js/vendor/codemirror/addon/hint/show-hint.css?"; echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true); echo "\"> <link rel=\"stylesheet\" type=\"text/css\" href=\""; // line 18 echo twig_escape_filter($this->env, ($context["base_dir"] ?? null), "html", null, true); echo "js/vendor/codemirror/addon/lint/lint.css?"; echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true); echo "\"> <link rel=\"stylesheet\" type=\"text/css\" href=\""; // line 19 echo twig_escape_filter($this->env, ($context["theme_path"] ?? null), "html", null, true); echo "/css/theme"; echo (((($context["text_dir"] ?? null) == "rtl")) ? (".rtl") : ("")); echo ".css?"; echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true); echo "\"> <title>"; // line 20 echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true); echo "</title> "; // line 21 echo ($context["scripts"] ?? null); echo " <noscript><style>html{display:block}</style></noscript> </head> <body"; // line 24 (( !twig_test_empty(($context["body_id"] ?? null))) ? (print (twig_escape_filter($this->env, (" id=" . ($context["body_id"] ?? null)), "html", null, true))) : (print (""))); echo "> "; // line 25 echo ($context["navigation"] ?? null); echo " "; // line 26 echo ($context["custom_header"] ?? null); echo " "; // line 27 echo ($context["load_user_preferences"] ?? null); echo " "; // line 29 if ( !($context["show_hint"] ?? null)) { // line 30 echo " <span id=\"no_hint\" class=\"hide\"></span> "; } // line 32 echo " "; // line 33 if (($context["is_warnings_enabled"] ?? null)) { // line 34 echo " <noscript> "; // line 35 echo $this->env->getFilter('error')->getCallable()(_gettext("Javascript must be enabled past this point!")); echo " </noscript> "; } // line 38 echo " "; // line 39 if ((($context["is_menu_enabled"] ?? null) && (($context["server"] ?? null) > 0))) { // line 40 echo " "; echo ($context["menu"] ?? null); echo " <span id=\"page_nav_icons\" class=\"d-print-none\"> <span id=\"lock_page_icon\"></span> <span id=\"page_settings_icon\"> "; // line 44 echo PhpMyAdmin\Html\Generator::getImage("s_cog", _gettext("Page-related settings")); echo " </span> <a id=\"goto_pagetop\" href=\"#\">"; // line 46 echo PhpMyAdmin\Html\Generator::getImage("s_top", _gettext("Click on the bar to scroll to top of page")); echo "</a> </span> "; } // line 49 echo " "; // line 50 echo ($context["console"] ?? null); echo " <div id=\"page_content\"> "; // line 53 echo ($context["messages"] ?? null); echo " "; // line 55 echo ($context["recent_table"] ?? null); // line 56 if (($context["is_logged_in"] ?? null)) { // line 57 echo twig_include($this->env, $context, "modals/preview_sql_modal.twig"); echo " "; // line 58 echo twig_include($this->env, $context, "modals/enum_set_editor.twig"); echo " "; // line 59 echo twig_include($this->env, $context, "modals/create_view.twig"); } } public function getTemplateName() { return "header.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 189 => 59, 185 => 58, 181 => 57, 179 => 56, 177 => 55, 172 => 53, 166 => 50, 163 => 49, 157 => 46, 152 => 44, 144 => 40, 142 => 39, 139 => 38, 133 => 35, 130 => 34, 128 => 33, 125 => 32, 121 => 30, 119 => 29, 114 => 27, 110 => 26, 106 => 25, 102 => 24, 96 => 21, 92 => 20, 84 => 19, 78 => 18, 72 => 17, 66 => 16, 62 => 15, 57 => 12, 54 => 10, 52 => 9, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "header.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/header.twig"); } } twig/b2/b2020145f146313a548e434c7821a21b.php 0000644 00000134325 15114741573 0012516 0 ustar 00 <?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; /* table/insert/column_row.twig */ class __TwigTemplate_b75431627e0bcc225a704564ccbca889 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=\"noclick\"> <td class=\"text-center\"> "; // line 3 yield CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_title", [], "any", false, false, false, 3); yield " <input type=\"hidden\" name=\"fields_name[multi_edit]["; // line 4 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 4), "html", null, true); yield "]\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field", [], "any", false, false, false, 4), "html", null, true); yield "\"> </td> "; // line 7 if (($context["show_field_types_in_data_edit_view"] ?? null)) { // line 8 yield " <td class=\"text-center"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "wrap", [], "any", false, false, false, 8), "html", null, true); yield "\"> <span class=\"column_type\" dir=\"ltr\">"; // line 9 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 9), "html", null, true); yield "</span> </td> "; } // line 12 yield " "; // line 13 if (($context["show_function_fields"] ?? null)) { // line 14 yield " "; if (($context["is_column_binary"] ?? null)) { // line 15 yield " <td class=\"text-center\">"; yield _gettext("Binary"); yield "</td> "; } elseif ((CoreExtension::inFilter("enum", CoreExtension::getAttribute($this->env, $this->source, // line 16 ($context["column"] ?? null), "True_Type", [], "any", false, false, false, 16)) || CoreExtension::inFilter("set", CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "True_Type", [], "any", false, false, false, 16)))) { // line 17 yield " <td class=\"text-center\">--</td> "; } else { // line 19 yield " <td> <select name=\"funcs[multi_edit]["; // line 20 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 20), "html", null, true); yield "]\" onchange=\"return verificationsAfterFieldChange('"; yield PhpMyAdmin\Sanitize::escapeJsString(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 20)); yield "', '"; yield PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); yield "', '"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 20), "html", null, true); yield "')\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_1\"> "; // line 21 yield ($context["function_options"] ?? null); yield " </select> </td> "; } // line 25 yield " "; } // line 26 yield " <td> "; // line 28 if (((Twig\Extension\CoreExtension::upper($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Null", [], "any", false, false, false, 28)) == "YES") && !($context["read_only"] ?? null))) { // line 29 yield " <input type=\"hidden\" name=\"fields_null_prev[multi_edit]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 29), "html", null, true); yield "]\""; yield (((($context["real_null_value"] ?? null) && !CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "first_timestamp", [], "any", false, false, false, 29))) ? (" value=\"on\"") : ("")); yield "> <input type=\"checkbox\" class=\"checkbox_null\" name=\"fields_null[multi_edit]["; // line 30 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 30), "html", null, true); yield "]\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_2\" aria-label=\""; yield _gettext("Use the NULL value for this column."); yield "\""; yield ((($context["real_null_value"] ?? null)) ? (" checked") : ("")); yield "> <input type=\"hidden\" class=\"nullify_code\" name=\"nullify_code[multi_edit]["; // line 31 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 31), "html", null, true); yield "]\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["nullify_code"] ?? null), "html", null, true); yield "\"> <input type=\"hidden\" class=\"hashed_field\" name=\"hashed_field[multi_edit]["; // line 32 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 32), "html", null, true); yield "]\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 32), "html", null, true); yield "\"> <input type=\"hidden\" class=\"multi_edit\" name=\"multi_edit[multi_edit]["; // line 33 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 33), "html", null, true); yield "]\" value=\""; yield PhpMyAdmin\Sanitize::escapeJsString((("[multi_edit][" . ($context["row_id"] ?? null)) . "]")); yield "\"> "; } // line 35 yield " </td> <td data-type=\""; // line 37 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["type"] ?? null), "html", null, true); yield "\" data-decimals=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["decimals"] ?? null), "html", null, true); yield "\"> "; // line 39 yield " <span class=\"default_value hide\">"; yield ($context["special_chars"] ?? null); yield "</span> "; // line 41 if ( !Twig\Extension\CoreExtension::testEmpty(($context["transformed_value"] ?? null))) { // line 42 yield " "; yield ($context["transformed_value"] ?? null); yield " "; } else { // line 44 yield " "; if (($context["is_value_foreign_link"] ?? null)) { // line 45 yield " "; yield ($context["backup_field"] ?? null); yield " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 46 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 46), "html", null, true); yield "]\" value=\"foreign\"> <input type=\"text\" name=\"fields[multi_edit]["; // line 47 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 47), "html", null, true); yield "]\" class=\"textfield\" tabindex=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["tab_index"] ?? null) + ($context["tab_index_for_value"] ?? null)), "html", null, true); yield "\" onchange=\"return verificationsAfterFieldChange('"; yield PhpMyAdmin\Sanitize::escapeJsString(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 47)); yield "', '"; yield PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); yield "', '"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 47), "html", null, true); yield "')\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_3\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["data"] ?? null), "html", null, true); yield "\"> <a class=\"ajax browse_foreign\" href=\""; // line 48 yield PhpMyAdmin\Url::getFromRoute("/browse-foreigners"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "field" => CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field", [], "any", false, false, false, 48), "rownumber" => ($context["row_id"] ?? null), "data" => ($context["data"] ?? null)]); yield "\">"; yield PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse foreign values")); yield "</a> "; } elseif ( !Twig\Extension\CoreExtension::testEmpty( // line 49 ($context["foreign_dropdown"] ?? null))) { // line 50 yield " "; yield ($context["backup_field"] ?? null); yield " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 51 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 51), "html", null, true); yield "]\" value=\""; yield ((CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "is_binary", [], "any", false, false, false, 51)) ? ("hex") : ("foreign")); yield "\"> <select name=\"fields[multi_edit]["; // line 52 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 52), "html", null, true); yield "]\" class=\"textfield\" tabindex=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["tab_index"] ?? null) + ($context["tab_index_for_value"] ?? null)), "html", null, true); yield "\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_3\" onchange=\"return verificationsAfterFieldChange('"; yield PhpMyAdmin\Sanitize::escapeJsString(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 52)); yield "', '"; yield PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); yield "', '"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 52), "html", null, true); yield "')\"> "; // line 53 yield ($context["foreign_dropdown"] ?? null); yield " </select> "; } elseif (((( // line 55 ($context["longtext_double_textarea"] ?? null) && CoreExtension::inFilter("longtext", CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 55))) || CoreExtension::inFilter("json", CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 55))) || CoreExtension::inFilter("text", CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 55)))) { // line 56 yield " "; yield ($context["backup_field"] ?? null); yield " <textarea name=\"fields[multi_edit]["; // line 57 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 57), "html", null, true); yield "]\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_3\" data-type=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["data_type"] ?? null), "html", null, true); yield "\" dir=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["text_dir"] ?? null), "html", null, true); yield "\" rows=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["textarea_rows"] ?? null), "html", null, true); yield "\" cols=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["textarea_cols"] ?? null), "html", null, true); yield "\" tabindex=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["tab_index"] ?? null) + ($context["tab_index_for_value"] ?? null)), "html", null, true); yield "\""; // line 58 ((($context["max_length"] ?? null)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((" data-maxlength=\"" . ($context["max_length"] ?? null)) . "\""), "html", null, true)) : (yield "")); yield ((CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "is_char", [], "any", false, false, false, 58)) ? (" class=\"charField\"") : ("")); yield " onchange=\"return verificationsAfterFieldChange('"; yield PhpMyAdmin\Sanitize::escapeJsString(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 58)); yield "', '"; yield PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); yield "', '"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 58), "html", null, true); yield "')\">"; // line 60 yield (((is_string($__internal_compile_0 = ($context["special_chars"] ?? null)) && is_string($__internal_compile_1 = " ") && str_starts_with($__internal_compile_0, $__internal_compile_1))) ? (" ") : ("")); yield ($context["special_chars"] ?? null); // line 61 yield "</textarea> "; // line 62 if ((CoreExtension::inFilter("text", CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 62)) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["special_chars"] ?? null)) > 32000))) { // line 63 yield " </td> <td> "; yield _gettext("Because of its length,<br> this column might not be editable."); // line 66 yield " "; } // line 67 yield " "; } elseif ((CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 67) == "enum")) { // line 68 yield " "; yield ($context["backup_field"] ?? null); yield " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 69 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 69), "html", null, true); yield "]\" value=\"enum\"> "; // line 70 if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Type", [], "any", false, false, false, 70)) > 20)) { // line 71 yield " <select name=\"fields[multi_edit]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 71), "html", null, true); yield "]\" class=\"textfield\" tabindex=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["tab_index"] ?? null) + ($context["tab_index_for_value"] ?? null)), "html", null, true); yield "\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_3\" onchange=\"return verificationsAfterFieldChange('"; yield PhpMyAdmin\Sanitize::escapeJsString(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 71)); yield "', '"; yield PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); yield "', '"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 71), "html", null, true); yield "')\"> <option value=\"\"></option> "; // line 73 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "values", [], "any", false, false, false, 73)); foreach ($context['_seq'] as $context["_key"] => $context["enum_value"]) { // line 74 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 74), "html", null, true); yield "\""; yield (((CoreExtension::getAttribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 74) == ($context["enum_selected_value"] ?? null))) ? (" selected") : ("")); yield ">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 74), "html", null, true); yield "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['enum_value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 76 yield " </select> "; } else { // line 78 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "values", [], "any", false, false, false, 78)); $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["enum_value"]) { // line 79 yield " <input type=\"radio\" name=\"fields[multi_edit]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 79), "html", null, true); yield "]\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 79), "html", null, true); yield "\" class=\"textfield\" tabindex=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["tab_index"] ?? null) + ($context["tab_index_for_value"] ?? null)), "html", null, true); yield "\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_3_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 79), "html", null, true); yield "\" onchange=\"return verificationsAfterFieldChange('"; yield PhpMyAdmin\Sanitize::escapeJsString(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 79)); yield "', '"; yield PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); yield "', '"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 79), "html", null, true); yield "')\""; yield (((CoreExtension::getAttribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 79) == ($context["enum_selected_value"] ?? null))) ? (" checked") : ("")); yield "> <label for=\"field_"; // line 80 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_3_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 80), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 80), "html", null, true); yield "</label> "; ++$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['enum_value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 82 yield " "; } // line 83 yield " "; } elseif ((CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 83) == "set")) { // line 84 yield " "; yield ($context["backup_field"] ?? null); yield " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 85 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 85), "html", null, true); yield "]\" value=\"set\"> <select name=\"fields[multi_edit]["; // line 86 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 86), "html", null, true); yield "][]\" class=\"textfield\" tabindex=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["tab_index"] ?? null) + ($context["tab_index_for_value"] ?? null)), "html", null, true); yield "\" size=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["set_select_size"] ?? null), "html", null, true); yield "\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_3\" onchange=\"return verificationsAfterFieldChange('"; yield PhpMyAdmin\Sanitize::escapeJsString(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 86)); yield "', '"; yield PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); yield "', '"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 86), "html", null, true); yield "')\" multiple> "; // line 87 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["set_values"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["set_value"]) { // line 88 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["set_value"], "plain", [], "any", false, false, false, 88), "html", null, true); yield "\""; yield ((CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["set_value"], "plain", [], "any", false, false, false, 88), Twig\Extension\CoreExtension::split($this->env->getCharset(), ($context["data"] ?? null), ","))) ? (" selected") : ("")); yield ">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["set_value"], "plain", [], "any", false, false, false, 88), "html", null, true); yield "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['set_value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 90 yield " </select> "; } elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 91 ($context["column"] ?? null), "is_binary", [], "any", false, false, false, 91) || CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "is_blob", [], "any", false, false, false, 91))) { // line 92 yield " "; if (($context["is_column_protected_blob"] ?? null)) { // line 93 yield " "; yield _gettext("Binary - do not edit"); // line 94 yield " ("; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["blob_value"] ?? null), "html", null, true); yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["blob_value_unit"] ?? null), "html", null, true); yield ") <input type=\"hidden\" name=\"fields[multi_edit]["; // line 95 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 95), "html", null, true); yield "]\" value=\"\"> <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 96 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 96), "html", null, true); yield "]\" value=\"protected\"> "; } elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 97 ($context["column"] ?? null), "is_blob", [], "any", false, false, false, 97) || (CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "len", [], "any", false, false, false, 97) > ($context["limit_chars"] ?? null)))) { // line 98 yield " "; yield ($context["backup_field"] ?? null); yield " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 99 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 99), "html", null, true); yield "]\" value=\"hex\"> <textarea name=\"fields[multi_edit]["; // line 100 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 100), "html", null, true); yield "]\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_3\" data-type=\"HEX\" dir=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["text_dir"] ?? null), "html", null, true); yield "\" rows=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["textarea_rows"] ?? null), "html", null, true); yield "\" cols=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["textarea_cols"] ?? null), "html", null, true); yield "\" tabindex=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["tab_index"] ?? null) + ($context["tab_index_for_value"] ?? null)), "html", null, true); yield "\""; // line 101 ((($context["max_length"] ?? null)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((" data-maxlength=\"" . ($context["max_length"] ?? null)) . "\""), "html", null, true)) : (yield "")); yield ((CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "is_char", [], "any", false, false, false, 101)) ? (" class=\"charField\"") : ("")); yield " onchange=\"return verificationsAfterFieldChange('"; yield PhpMyAdmin\Sanitize::escapeJsString(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 101)); yield "', '"; yield PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); yield "', '"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 101), "html", null, true); yield "')\">"; // line 103 yield (((is_string($__internal_compile_2 = ($context["special_chars"] ?? null)) && is_string($__internal_compile_3 = " ") && str_starts_with($__internal_compile_2, $__internal_compile_3))) ? (" ") : ("")); yield ($context["special_chars"] ?? null); // line 104 yield "</textarea> "; } else { // line 106 yield " "; yield ($context["backup_field"] ?? null); yield " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 107 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 107), "html", null, true); yield "]\" value=\"hex\"> "; // line 108 yield ($context["input_field_html"] ?? null); yield " "; } // line 110 yield " "; if ((($context["is_upload"] ?? null) && CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "is_blob", [], "any", false, false, false, 110))) { // line 111 yield " <br> "; // line 113 yield " <input type=\"file\" name=\"fields_upload[multi_edit]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 113), "html", null, true); yield "]\" class=\"textfield noDragDrop\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_3\" size=\"10\" onchange=\"return verificationsAfterFieldChange('"; yield PhpMyAdmin\Sanitize::escapeJsString(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 113)); yield "', '"; yield PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); yield "', '"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 113), "html", null, true); yield "')\"> "; // line 114 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["max_upload_size"] ?? null), "html", null, true); yield " "; } // line 116 yield " "; yield ($context["select_option_for_upload"] ?? null); yield " "; } else { // line 118 yield " "; yield ($context["value"] ?? null); yield " "; } // line 120 yield " "; // line 121 if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 121), ($context["gis_data_types"] ?? null))) { // line 122 yield " <span class=\"open_gis_editor\" data-row-id=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "\"> "; // line 123 yield PhpMyAdmin\Html\Generator::linkOrButton("#", null, PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit/Insert"))); yield " </span> "; } // line 126 yield " "; } // line 127 yield " </td> </tr> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/insert/column_row.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 637 => 127, 634 => 126, 628 => 123, 623 => 122, 621 => 121, 618 => 120, 612 => 118, 606 => 116, 601 => 114, 586 => 113, 583 => 111, 580 => 110, 575 => 108, 569 => 107, 564 => 106, 560 => 104, 555 => 103, 545 => 101, 530 => 100, 524 => 99, 519 => 98, 517 => 97, 511 => 96, 505 => 95, 498 => 94, 495 => 93, 492 => 92, 490 => 91, 487 => 90, 474 => 88, 470 => 87, 452 => 86, 446 => 85, 441 => 84, 438 => 83, 435 => 82, 415 => 80, 392 => 79, 374 => 78, 370 => 76, 357 => 74, 353 => 73, 335 => 71, 333 => 70, 327 => 69, 322 => 68, 319 => 67, 316 => 66, 311 => 63, 309 => 62, 306 => 61, 301 => 60, 291 => 58, 274 => 57, 269 => 56, 267 => 55, 262 => 53, 246 => 52, 238 => 51, 233 => 50, 231 => 49, 223 => 48, 205 => 47, 199 => 46, 194 => 45, 191 => 44, 185 => 42, 183 => 41, 177 => 39, 171 => 37, 167 => 35, 158 => 33, 150 => 32, 142 => 31, 130 => 30, 121 => 29, 119 => 28, 115 => 26, 112 => 25, 105 => 21, 91 => 20, 88 => 19, 84 => 17, 82 => 16, 77 => 15, 74 => 14, 72 => 13, 69 => 12, 63 => 9, 58 => 8, 56 => 7, 46 => 4, 42 => 3, 38 => 1,); } public function getSourceContext() { return new Source("", "table/insert/column_row.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/column_row.twig"); } } twig/b2/b2131f447f302cd8cb99bac0edaeb62a.php 0000644 00000004527 15114741573 0013410 0 ustar 00 <?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_086c8e4e738d5e4ff67b980d6f8f5ed3 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/unhide_nav_item.twig"); } } twig/b2/b2812386b753320d886bb285ebf519c1.php 0000644 00000033276 15114741573 0012717 0 ustar 00 <?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_e2db62bff86a8a0184ce8f7ed9444282 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/config/form_display/display.twig"); } } twig/1e/1e105273c6e4874e75e83f2e46828889.php 0000644 00000003615 15114741573 0012610 0 ustar 00 <?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/page_selector.twig */ class __TwigTemplate_1ce3a8f1e4cb2924de3d7aed9f641904 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> <form action=\""; // line 2 yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" method=\"post\"> "; // line 3 yield PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null)); yield " "; // line 4 yield ($context["page_selector"] ?? null); yield " </form> </td> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "display/results/page_selector.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 49 => 4, 45 => 3, 41 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "display/results/page_selector.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/page_selector.twig"); } } twig/1a/1aceb9c5890d65a9078a97740f9b2db5.php 0000644 00000033740 15114741573 0013146 0 ustar 00 <?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; /* view_create.twig */ class __TwigTemplate_9cfee8b4c3125d8e704c69afdab755d8 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 "<!-- CREATE VIEW options --> <div id=\"div_view_options\"> <form method=\"post\" action=\""; // line 3 yield PhpMyAdmin\Url::getFromRoute("/view/create"); yield "\"> "; // line 4 yield PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null)); yield " <fieldset class=\"pma-fieldset\"> <legend> "; // line 7 if (($context["ajax_dialog"] ?? null)) { // line 8 yield " "; yield _gettext("Details"); // line 9 yield " "; } else { // line 10 yield " "; if (((($__internal_compile_0 = ($context["view"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["operation"] ?? null) : null) == "create")) { // line 11 yield " "; yield _gettext("Create view"); // line 12 yield " "; } else { // line 13 yield " "; yield _gettext("Edit view"); // line 14 yield " "; } // line 15 yield " "; } // line 16 yield " </legend> <table class=\"table align-middle rte_table\"> "; // line 18 if (((($__internal_compile_1 = ($context["view"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["operation"] ?? null) : null) == "create")) { // line 19 yield " <tr> <td class=\"text-nowrap\"><label for=\"or_replace\">OR REPLACE</label></td> <td> <input type=\"checkbox\" name=\"view[or_replace]\" id=\"or_replace\" "; // line 23 if ((($__internal_compile_2 = ($context["view"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["or_replace"] ?? null) : null)) { yield " checked=\"checked\" "; } // line 24 yield " value=\"1\"> </td> </tr> "; } // line 28 yield " <tr> <td class=\"text-nowrap\"><label for=\"algorithm\">ALGORITHM</label></td> <td> <select name=\"view[algorithm]\" id=\"algorithm\"> "; // line 33 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["view_algorithm_options"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 34 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["option"], "html", null, true); yield "\" "; // line 35 if (((($__internal_compile_3 = ($context["view"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["algorithm"] ?? null) : null) == $context["option"])) { // line 36 yield " selected=\"selected\" "; } // line 38 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 40 yield " </select> </td> </tr> <tr> <td class=\"text-nowrap\">"; yield _gettext("Definer"); // line 45 yield "</td> <td><input type=\"text\" maxlength=\"100\" size=\"50\" name=\"view[definer]\" value=\""; // line 46 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_4 = ($context["view"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["definer"] ?? null) : null), "html", null, true); yield "\"></td> </tr> <tr> <td class=\"text-nowrap\">SQL SECURITY</td> <td> <select name=\"view[sql_security]\"> <option value=\"\"></option> "; // line 54 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["view_security_options"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 55 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["option"], "html", null, true); yield "\" "; // line 56 if (($context["option"] == (($__internal_compile_5 = ($context["view"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["sql_security"] ?? null) : null))) { yield " selected=\"selected\" "; } // line 57 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 59 yield " </select> </td> </tr> "; // line 63 if (((($__internal_compile_6 = ($context["view"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["operation"] ?? null) : null) == "create")) { // line 64 yield " <tr> <td class=\"text-nowrap\">"; yield _gettext("VIEW name"); // line 65 yield "</td> <td> <input type=\"text\" size=\"20\" name=\"view[name]\" onfocus=\"this.select()\" maxlength=\"64\" value=\""; // line 67 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_7 = ($context["view"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["name"] ?? null) : null), "html", null, true); yield "\"> </td> </tr> "; } else { // line 71 yield " <tr> <td> <input type=\"hidden\" name=\"view[name]\" value=\""; // line 73 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_8 = ($context["view"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["name"] ?? null) : null), "html", null, true); yield "\"> </td> </tr> "; } // line 77 yield " <tr> <td class=\"text-nowrap\">"; yield _gettext("Column names"); // line 79 yield "</td> <td> <input type=\"text\" maxlength=\"100\" size=\"50\" name=\"view[column_names]\" onfocus=\"this.select()\" value=\""; // line 81 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_9 = ($context["view"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["column_names"] ?? null) : null), "html", null, true); yield "\"> </td> </tr> <tr> <td class=\"text-nowrap\">AS</td> <td> <textarea name=\"view[as]\" id=\"view_as\" rows=\"15\" cols=\"40\" dir=\""; // line 88 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["text_dir"] ?? null), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_10 = ($context["view"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["as"] ?? null) : null), "html", null, true); yield "</textarea><br> <input type=\"button\" value=\"Format\" id=\"format\" class=\"btn btn-secondary button sqlbutton\"> <span id=\"querymessage\"></span> </td> </tr> <tr> <td class=\"text-nowrap\">WITH CHECK OPTION</td> <td> <select name=\"view[with]\"> <option value=\"\"></option> "; // line 99 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["view_with_options"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 100 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["option"], "html", null, true); yield "\" "; // line 101 if (($context["option"] == (($__internal_compile_11 = ($context["view"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["with"] ?? null) : null))) { yield " selected=\"selected\" "; } // line 102 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 104 yield " </select> </td> </tr> </table> </fieldset> <input type=\"hidden\" name=\"ajax_request\" value=\"1\" /> <input type=\"hidden\" name=\""; // line 112 yield ((((($__internal_compile_12 = ($context["view"] ?? null)) && is_array($__internal_compile_12) || $__internal_compile_12 instanceof ArrayAccess ? ($__internal_compile_12["operation"] ?? null) : null) == "create")) ? ("createview") : ("alterview")); yield "\" value=\"1\" /> "; // line 114 if ((($context["ajax_dialog"] ?? null) == false)) { // line 115 yield " <input type=\"hidden\" name=\"ajax_dialog\" value=\"1\" /> <input type=\"submit\" class=\"btn btn-primary\" name=\"\" value=\""; yield _gettext("Go"); // line 116 yield "\" /> "; } // line 118 yield " </form> </div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "view_create.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 291 => 118, 287 => 116, 283 => 115, 281 => 114, 276 => 112, 266 => 104, 257 => 102, 253 => 101, 248 => 100, 244 => 99, 228 => 88, 218 => 81, 214 => 79, 209 => 77, 202 => 73, 198 => 71, 191 => 67, 187 => 65, 183 => 64, 181 => 63, 175 => 59, 166 => 57, 162 => 56, 157 => 55, 153 => 54, 142 => 46, 139 => 45, 131 => 40, 122 => 38, 118 => 36, 116 => 35, 111 => 34, 107 => 33, 100 => 28, 94 => 24, 90 => 23, 84 => 19, 82 => 18, 78 => 16, 75 => 15, 72 => 14, 69 => 13, 66 => 12, 63 => 11, 60 => 10, 57 => 9, 54 => 8, 52 => 7, 46 => 4, 42 => 3, 38 => 1,); } public function getSourceContext() { return new Source("", "view_create.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/view_create.twig"); } } twig/1a/1a0d86b18464494024292fc023d6b04c.php 0000644 00000024561 15114741573 0012611 0 ustar 00 <?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_1781280445a2ac865041080b11ed2a12 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> <a href=\""; // line 29 yield PhpMyAdmin\Html\MySQLDocumentation::getDocumentationLink("index"); yield "\" title=\""; yield _gettext("phpMyAdmin documentation"); yield "\" target=\"_blank\" rel=\"noopener noreferrer\">"; // line 30 yield PhpMyAdmin\Html\Generator::getImage("b_docs", _gettext("phpMyAdmin documentation")); // line 31 yield "</a> <a href=\""; // line 33 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 34 yield PhpMyAdmin\Html\Generator::getImage("b_sqlhelp", ((($context["is_mariadb"] ?? null)) ? (_gettext("MariaDB Documentation")) : (_gettext("MySQL Documentation")))); // line 35 yield "</a> <a id=\"pma_navigation_settings_icon\""; // line 37 yield (( !($context["is_navigation_settings_enabled"] ?? null)) ? (" class=\"hide\"") : ("")); yield " href=\"#\" title=\""; yield _gettext("Navigation panel settings"); yield "\">"; // line 38 yield PhpMyAdmin\Html\Generator::getImage("s_cog", _gettext("Navigation panel settings")); // line 39 yield "</a> <a id=\"pma_navigation_reload\" href=\"#\" title=\""; yield _gettext("Reload navigation panel"); // line 41 yield "\">"; // line 42 yield PhpMyAdmin\Html\Generator::getImage("s_reload", _gettext("Reload navigation panel")); // line 43 yield "</a> </div> "; // line 46 if ((($context["is_servers_displayed"] ?? null) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["servers"] ?? null)) > 1))) { // line 47 yield " <div id=\"serverChoice\"> "; // line 48 yield ($context["server_select"] ?? null); yield " </div> "; } // line 51 yield " "; // line 52 yield PhpMyAdmin\Html\Generator::getImage("ajax_clock_small", _gettext("Loading…"), ["style" => "visibility: hidden; display:none", "class" => "throbber"]); // line 55 yield " </div> <div id=\"pma_navigation_tree\" class=\"list_container"; // line 57 yield ((($context["is_synced"] ?? null)) ? (" synced") : ("")); yield ((($context["is_highlighted"] ?? null)) ? (" highlight") : ("")); yield ((($context["is_autoexpanded"] ?? null)) ? (" autoexpand") : ("")); yield "\"> "; } // line 59 yield " "; // line 60 if ( !($context["navigation_tree"] ?? null)) { // line 61 yield " "; yield $this->env->getFilter('error')->getCallable()(_gettext("An error has occurred while loading the navigation display")); yield " "; } else { // line 63 yield " "; yield ($context["navigation_tree"] ?? null); yield " "; } // line 65 yield " "; // line 66 if ( !($context["is_ajax"] ?? null)) { // line 67 yield " </div> <div id=\"pma_navi_settings_container\"> "; // line 70 if (($context["is_navigation_settings_enabled"] ?? null)) { // line 71 yield " "; yield ($context["navigation_settings"] ?? null); yield " "; } // line 73 yield " </div> </div> "; // line 76 if (($context["is_drag_drop_import_enabled"] ?? null)) { // line 77 yield " <div class=\"pma_drop_handler\"> "; yield _gettext("Drop files here"); // line 79 yield " </div> <div class=\"pma_sql_import_status\"> <h2> "; yield _gettext("SQL upload"); // line 83 yield " ( <span class=\"pma_import_count\">0</span> ) <span class=\"close\">x</span> <span class=\"minimize\">-</span> </h2> <div></div> </div> "; } // line 90 yield " </div> "; // line 91 yield Twig\Extension\CoreExtension::include($this->env, $context, "modals/unhide_nav_item.twig"); yield " "; // line 92 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 ( 242 => 92, 238 => 91, 235 => 90, 226 => 83, 220 => 79, 216 => 77, 214 => 76, 209 => 73, 203 => 71, 201 => 70, 196 => 67, 194 => 66, 191 => 65, 185 => 63, 179 => 61, 177 => 60, 174 => 59, 167 => 57, 163 => 55, 161 => 52, 158 => 51, 152 => 48, 149 => 47, 147 => 46, 142 => 43, 140 => 42, 138 => 41, 133 => 39, 131 => 38, 126 => 37, 122 => 35, 120 => 34, 115 => 33, 111 => 31, 109 => 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/main.twig"); } } twig/de/de508909086f55e92ef1918512ee8e87.php 0000644 00000016443 15114741573 0013040 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* columns_definitions/column_name.twig */ class __TwigTemplate_d1ed0330f3112837c2803812ba818554 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["title"] = ""; // line 2 if (twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "column_status", [], "array", true, true, false, 2)) { // line 3 echo " "; if ((($__internal_compile_0 = (($__internal_compile_1 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["column_status"] ?? null) : null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["isReferenced"] ?? null) : null)) { // line 4 echo " "; $context["title"] = (($context["title"] ?? null) . twig_sprintf(_gettext("Referenced by %s."), twig_join_filter((($__internal_compile_2 = (($__internal_compile_3 = // line 5 ($context["column_meta"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["column_status"] ?? null) : null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["references"] ?? null) : null), ","))); // line 7 echo " "; } // line 8 echo " "; if ((($__internal_compile_4 = (($__internal_compile_5 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["column_status"] ?? null) : null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["isForeignKey"] ?? null) : null)) { // line 9 echo " "; if ( !twig_test_empty(($context["title"] ?? null))) { // line 10 echo " "; $context["title"] = (($context["title"] ?? null) . " "); // line 11 echo " "; } // line 12 echo " "; $context["title"] = (($context["title"] ?? null) . _gettext("Is a foreign key.")); // line 13 echo " "; } } // line 15 if (twig_test_empty(($context["title"] ?? null))) { // line 16 echo " "; $context["title"] = _gettext("Column"); } // line 18 echo " <input id=\"field_"; // line 19 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" "; // line 20 if ((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "column_status", [], "array", true, true, false, 20) && !(($__internal_compile_6 = (($__internal_compile_7 = // line 21 ($context["column_meta"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["column_status"] ?? null) : null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["isEditable"] ?? null) : null))) { // line 22 echo " disabled=\"disabled\" "; } // line 24 echo " type=\"text\" name=\"field_name["; // line 25 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" maxlength=\"64\" class=\"textfield\" title=\""; // line 28 echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true); echo "\" size=\"10\" value=\""; // line 30 ((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 30)) ? (print (twig_escape_filter($this->env, (($__internal_compile_8 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["Field"] ?? null) : null), "html", null, true))) : (print (""))); echo "\"> "; // line 32 if ((($context["has_central_columns_feature"] ?? null) && !(twig_get_attribute($this->env, $this->source, // line 33 ($context["column_meta"] ?? null), "column_status", [], "array", true, true, false, 33) && !(($__internal_compile_9 = (($__internal_compile_10 = // line 34 ($context["column_meta"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["column_status"] ?? null) : null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["isEditable"] ?? null) : null)))) { // line 35 echo " <p class=\"column_name\" id=\"central_columns_"; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\"> <a data-maxrows=\""; // line 36 echo twig_escape_filter($this->env, ($context["max_rows"] ?? null), "html", null, true); echo "\" href=\"#\" class=\"central_columns_dialog\"> "; echo _gettext("Pick from Central Columns"); // line 40 echo " </a> </p> "; } } public function getTemplateName() { return "columns_definitions/column_name.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 130 => 40, 123 => 36, 116 => 35, 114 => 34, 113 => 33, 112 => 32, 107 => 30, 102 => 28, 96 => 25, 93 => 24, 89 => 22, 87 => 21, 86 => 20, 80 => 19, 77 => 18, 73 => 16, 71 => 15, 67 => 13, 64 => 12, 61 => 11, 57 => 10, 54 => 9, 51 => 8, 48 => 7, 46 => 5, 44 => 4, 41 => 3, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "columns_definitions/column_name.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/columns_definitions/column_name.twig"); } } twig/c5/c5e287830c2b0f7b21a1226e8b11de3a.php 0000644 00000003477 15114741573 0013114 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/import/index.twig */ class __TwigTemplate_bfe9f89574f905a0d56d8cc2c711cd8f extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'title' => [$this, 'block_title'], ]; } protected function doGetParent(array $context) { // line 1 return "import.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $this->parent = $this->loadTemplate("import.twig", "table/import/index.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_title($context, array $blocks = []) { $macros = $this->macros; echo twig_escape_filter($this->env, twig_sprintf(_gettext("Importing into the table \"%s\""), ($context["table"] ?? null)), "html", null, true); } public function getTemplateName() { return "table/import/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 46 => 3, 35 => 1,); } public function getSourceContext() { return new Source("", "table/import/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/import/index.twig"); } } twig/11/11f05eb5d4a58d93afc974ae7a387bd3.php 0000644 00000006325 15114741573 0013213 0 ustar 00 <?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_navigation_button.twig */ class __TwigTemplate_fbc665d1a16667a17eccbdcaa65f0927 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> <form action=\""; // line 2 yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" method=\"post\" "; yield ($context["onsubmit"] ?? null); yield "> "; // line 3 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); yield " <input type=\"hidden\" name=\"sql_query\" value=\""; // line 4 yield ($context["sql_query"] ?? null); yield "\"> <input type=\"hidden\" name=\"pos\" value=\""; // line 5 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["pos"] ?? null), "html", null, true); yield "\"> <input type=\"hidden\" name=\"is_browse_distinct\" value=\""; // line 6 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["is_browse_distinct"] ?? null), "html", null, true); yield "\"> <input type=\"hidden\" name=\"goto\" value=\""; // line 7 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["goto"] ?? null), "html", null, true); yield "\"> "; // line 8 yield ($context["input_for_real_end"] ?? null); yield " <input type=\"submit\" name=\"navig\" class=\"btn btn-secondary ajax\" value=\""; // line 9 yield ($context["caption_output"] ?? null); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["title"] ?? null), "html", null, true); yield "\"> </form> </td> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "display/results/table_navigation_button.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 71 => 9, 67 => 8, 63 => 7, 59 => 6, 55 => 5, 51 => 4, 47 => 3, 41 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "display/results/table_navigation_button.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/table_navigation_button.twig"); } } twig/11/11bfdaedbca1c6642f6d7a92dca784f5.php 0000644 00000004103 15114741573 0013412 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/row_data.twig */ class __TwigTemplate_8bab762677d90d3596e46d27a13f06b1 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 echo "<td data-decimals=\""; echo twig_escape_filter($this->env, ($context["decimals"] ?? null), "html", null, true); echo "\" data-type=\""; echo twig_escape_filter($this->env, ($context["type"] ?? null), "html", null, true); echo "\""; if ( !twig_test_empty(($context["original_length"] ?? null))) { echo " data-originallength=\""; echo twig_escape_filter($this->env, ($context["original_length"] ?? null), "html", null, true); echo "\""; } echo " class=\""; echo twig_escape_filter($this->env, ($context["td_class"] ?? null), "html", null, true); echo "\">"; // line 2 echo ($context["value"] ?? null); // line 3 echo "</td> "; } public function getTemplateName() { return "display/results/row_data.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 53 => 3, 51 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/row_data.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/row_data.twig"); } } twig/11/117a2e69a389371c3a4e1e9aa8f6c0fc.php 0000644 00000004773 15114741573 0013133 0 ustar 00 <?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_01e32919654622d51a0e7345720bcdb5 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/enum_set_editor.twig"); } } twig/7d/7df945a97e44286e8f27caef54db551d.php 0000644 00000013006 15114741573 0013242 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* columns_definitions/column_attribute.twig */ class __TwigTemplate_81942d2f2e1617c3a3fb4ff006dc39a3 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 ((array_key_exists("submit_attribute", $context) && (($context["submit_attribute"] ?? null) != false))) { // line 2 echo " "; $context["attribute"] = ($context["submit_attribute"] ?? null); // line 3 echo " "; } elseif ((twig_get_attribute($this->env, $this->source, // line 4 ($context["column_meta"] ?? null), "Extra", [], "array", true, true, false, 4) && (twig_in_filter("on update current_timestamp", (($__internal_compile_0 = // line 5 ($context["column_meta"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["Extra"] ?? null) : null)) || twig_in_filter("on update current_timestamp()", twig_lower_filter($this->env, (($__internal_compile_1 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["Extra"] ?? null) : null)))))) { // line 6 echo " "; $context["attribute"] = "on update CURRENT_TIMESTAMP"; } elseif (twig_get_attribute($this->env, $this->source, // line 7 ($context["extracted_columnspec"] ?? null), "attribute", [], "array", true, true, false, 7)) { // line 8 echo " "; $context["attribute"] = (($__internal_compile_2 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["attribute"] ?? null) : null); } else { // line 10 echo " "; $context["attribute"] = ""; } // line 12 $context["attribute"] = twig_upper_filter($this->env, ($context["attribute"] ?? null)); // line 13 echo "<select name=\"field_attribute["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" id=\"field_"; // line 14 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\"> "; // line 15 $context["cnt_attribute_types"] = (twig_length_filter($this->env, ($context["attribute_types"] ?? null)) - 1); // line 16 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(range(0, ($context["cnt_attribute_types"] ?? null))); foreach ($context['_seq'] as $context["_key"] => $context["i"]) { // line 17 echo " <option value=\""; echo twig_escape_filter($this->env, (($__internal_compile_3 = ($context["attribute_types"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[$context["i"]] ?? null) : null), "html", null, true); echo "\""; // line 18 echo (((($context["attribute"] ?? null) == twig_upper_filter($this->env, (($__internal_compile_4 = ($context["attribute_types"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4[$context["i"]] ?? null) : null)))) ? (" selected=\"selected\"") : ("")); echo "> "; // line 19 echo twig_escape_filter($this->env, (($__internal_compile_5 = ($context["attribute_types"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[$context["i"]] ?? null) : null), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 22 echo "</select> "; } public function getTemplateName() { return "columns_definitions/column_attribute.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 97 => 22, 88 => 19, 84 => 18, 80 => 17, 75 => 16, 73 => 15, 67 => 14, 62 => 13, 60 => 12, 56 => 10, 52 => 8, 50 => 7, 47 => 6, 45 => 5, 44 => 4, 42 => 3, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "columns_definitions/column_attribute.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/columns_definitions/column_attribute.twig"); } } twig/7d/7de551bc5c0b44b63ce31a42e4f5a45f.php 0000644 00000005214 15114741573 0013256 0 ustar 00 <?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_confirmation.twig */ class __TwigTemplate_6f6ff0ab5aab79ff77659e72a6ad8803 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=\"previewSqlConfirmModal\" tabindex=\"-1\" aria-labelledby=\"previewSqlConfirmModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"previewSqlConfirmModalLabel\">"; 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 preview_sql\"> <code class=\"sql\"> <pre id=\"previewSqlConfirmCode\"></pre> </code> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"previewSQLConfirmOkButton\">"; yield _gettext("OK"); // line 14 yield "</button> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; yield _gettext("Close"); // line 15 yield "</button> </div> </div> </div> </div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "modals/preview_sql_confirmation.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 64 => 15, 60 => 14, 49 => 6, 45 => 5, 38 => 1,); } public function getSourceContext() { return new Source("", "modals/preview_sql_confirmation.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/preview_sql_confirmation.twig"); } } twig/a5/a5846a39b24a3892139f9a436f157650.php 0000644 00000013563 15114741573 0012567 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* scripts.twig */ class __TwigTemplate_2d65c7355a324eb59c71196d6607860b 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'] = twig_ensure_traversable(($context["files"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["file"]) { // line 2 echo " <script data-cfasync=\"false\" type=\"text/javascript\" src=\""; echo twig_escape_filter($this->env, ($context["base_dir"] ?? null), "html", null, true); echo "js/"; // line 3 echo twig_escape_filter($this->env, ((((is_string($__internal_compile_0 = twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)) && is_string($__internal_compile_1 = "vendor/") && ('' === $__internal_compile_1 || 0 === strpos($__internal_compile_0, $__internal_compile_1))) || (is_string($__internal_compile_2 = twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)) && is_string($__internal_compile_3 = "messages.php") && ('' === $__internal_compile_3 || 0 === strpos($__internal_compile_2, $__internal_compile_3))))) ? (twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)) : (("dist/" . twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)))), "html", null, true); // line 4 ((twig_in_filter(".php", twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 4))) ? (print (PhpMyAdmin\Url::getCommon(twig_array_merge(twig_get_attribute($this->env, $this->source, $context["file"], "params", [], "any", false, false, false, 4), ["v" => ($context["version"] ?? null)])))) : (print (twig_escape_filter($this->env, ("?v=" . twig_urlencode_filter(($context["version"] ?? null))), "html", null, true)))); echo "\"></script> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 6 echo " <script data-cfasync=\"false\" type=\"text/javascript\"> // <![CDATA[ "; // line 9 echo ($context["code"] ?? null); echo " "; // line 10 if ( !twig_test_empty(($context["files"] ?? null))) { // line 11 echo "AJAX.scriptHandler "; // line 12 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["files"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["file"]) { // line 13 echo " .add('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 13)); echo "', "; echo ((twig_get_attribute($this->env, $this->source, $context["file"], "has_onload", [], "any", false, false, false, 13)) ? (1) : (0)); echo ") "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 15 echo "; \$(function() { "; // line 17 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["files"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["file"]) { // line 18 echo " "; if (twig_get_attribute($this->env, $this->source, $context["file"], "has_onload", [], "any", false, false, false, 18)) { // line 19 echo " AJAX.fireOnload('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 19)); echo "'); "; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 22 echo "}); "; } // line 24 echo "// ]]> </script> "; } public function getTemplateName() { return "scripts.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 109 => 24, 105 => 22, 95 => 19, 92 => 18, 88 => 17, 84 => 15, 73 => 13, 69 => 12, 66 => 11, 64 => 10, 60 => 9, 55 => 6, 47 => 4, 45 => 3, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "scripts.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/scripts.twig"); } } twig/8a/8ad157dab3b6964fa1cb0209ff2a0612.php 0000644 00000065435 15114741573 0013202 0 ustar 00 <?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; /* table/structure/display_partitions.twig */ class __TwigTemplate_ac3582c5b21d3f08876574de94613797 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=\"partitions\"> <fieldset class=\"pma-fieldset\"> <legend> "; yield _gettext("Partitions"); // line 5 yield " "; yield PhpMyAdmin\Html\MySQLDocumentation::show("partitioning"); yield " </legend> "; // line 7 if (Twig\Extension\CoreExtension::testEmpty(($context["partitions"] ?? null))) { // line 8 yield " "; yield $this->env->getFilter('notice')->getCallable()(_gettext("No partitioning defined!")); yield " "; } else { // line 10 yield " <p> "; yield _gettext("Partitioned by:"); // line 12 yield " <code>"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["partition_method"] ?? null), "html", null, true); yield "("; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["partition_expression"] ?? null), "html", null, true); yield ")</code> </p> "; // line 14 if (($context["has_sub_partitions"] ?? null)) { // line 15 yield " <p> "; yield _gettext("Sub partitioned by:"); // line 17 yield " <code>"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["sub_partition_method"] ?? null), "html", null, true); yield "("; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["sub_partition_expression"] ?? null), "html", null, true); yield ")</code> <p> "; } // line 20 yield " <table class=\"table table-striped table-hover table-sm\"> <thead> <tr> <th colspan=\"2\">#</th> <th>"; yield _gettext("Partition"); // line 24 yield "</th> "; // line 25 if (($context["has_description"] ?? null)) { // line 26 yield " <th>"; yield _gettext("Expression"); yield "</th> "; } // line 28 yield " <th>"; yield _gettext("Rows"); yield "</th> <th>"; yield _gettext("Data length"); // line 29 yield "</th> <th>"; yield _gettext("Index length"); // line 30 yield "</th> <th>"; yield _gettext("Comment"); // line 31 yield "</th> <th colspan=\""; // line 32 yield ((($context["range_or_list"] ?? null)) ? ("7") : ("6")); yield "\"> "; yield _gettext("Action"); // line 34 yield " </th> </tr> </thead> <tbody> "; // line 38 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["partitions"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["partition"]) { // line 39 yield " <tr class=\"noclick"; yield ((($context["has_sub_partitions"] ?? null)) ? (" table-active") : ("")); yield "\"> "; // line 40 if (($context["has_sub_partitions"] ?? null)) { // line 41 yield " <td>"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getOrdinal", [], "method", false, false, false, 41), "html", null, true); yield "</td> <td></td> "; } else { // line 44 yield " <td colspan=\"2\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getOrdinal", [], "method", false, false, false, 44), "html", null, true); yield "</td> "; } // line 46 yield " <th>"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getName", [], "method", false, false, false, 46), "html", null, true); yield "</th> "; // line 47 if (($context["has_description"] ?? null)) { // line 48 yield " <td> <code>"; // line 50 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getExpression", [], "method", false, false, false, 50), "html", null, true); // line 51 yield (((CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getMethod", [], "method", false, false, false, 51) == "LIST")) ? (" IN (") : (" < ")); // line 52 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getDescription", [], "method", false, false, false, 52), "html", null, true); // line 53 yield (((CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getMethod", [], "method", false, false, false, 53) == "LIST")) ? (")") : ("")); // line 54 yield "</code> </td> "; } // line 57 yield " <td class=\"value\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getRows", [], "method", false, false, false, 57), "html", null, true); yield "</td> <td class=\"value\"> "; // line 59 $context["data_length"] = PhpMyAdmin\Util::formatByteDown(CoreExtension::getAttribute($this->env, $this->source, // line 60 $context["partition"], "getDataLength", [], "method", false, false, false, 60), 3, 1); // line 64 yield " <span>"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_0 = ($context["data_length"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true); yield "</span> <span class=\"unit\">"; // line 65 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_1 = ($context["data_length"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null), "html", null, true); yield "</span> </td> <td class=\"value\"> "; // line 68 $context["index_length"] = PhpMyAdmin\Util::formatByteDown(CoreExtension::getAttribute($this->env, $this->source, // line 69 $context["partition"], "getIndexLength", [], "method", false, false, false, 69), 3, 1); // line 73 yield " <span>"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_2 = ($context["index_length"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[0] ?? null) : null), "html", null, true); yield "</span> <span class=\"unit\">"; // line 74 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_3 = ($context["index_length"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[1] ?? null) : null), "html", null, true); yield "</span> </td> <td>"; // line 76 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getComment", [], "method", false, false, false, 76), "html", null, true); yield "</td> <td> <a id=\"partition_action_ANALYZE\" class=\"ajax\" href=\""; // line 79 yield PhpMyAdmin\Url::getFromRoute("/table/partition/analyze"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 80 ($context["db"] ?? null), "table" => // line 81 ($context["table"] ?? null), "partition_name" => CoreExtension::getAttribute($this->env, $this->source, // line 82 $context["partition"], "getName", [], "method", false, false, false, 82)], "", false); // line 83 yield "\"> "; // line 84 yield PhpMyAdmin\Html\Generator::getIcon("b_search", _gettext("Analyze")); yield " </a> </td> <td> <a id=\"partition_action_CHECK\" class=\"ajax\" href=\""; // line 89 yield PhpMyAdmin\Url::getFromRoute("/table/partition/check"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 90 ($context["db"] ?? null), "table" => // line 91 ($context["table"] ?? null), "partition_name" => CoreExtension::getAttribute($this->env, $this->source, // line 92 $context["partition"], "getName", [], "method", false, false, false, 92)], "", false); // line 93 yield "\"> "; // line 94 yield PhpMyAdmin\Html\Generator::getIcon("eye", _gettext("Check")); yield " </a> </td> <td> <a id=\"partition_action_OPTIMIZE\" class=\"ajax\" href=\""; // line 99 yield PhpMyAdmin\Url::getFromRoute("/table/partition/optimize"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 100 ($context["db"] ?? null), "table" => // line 101 ($context["table"] ?? null), "partition_name" => CoreExtension::getAttribute($this->env, $this->source, // line 102 $context["partition"], "getName", [], "method", false, false, false, 102)], "", false); // line 103 yield "\"> "; // line 104 yield PhpMyAdmin\Html\Generator::getIcon("normalize", _gettext("Optimize")); yield " </a> </td> <td> <a id=\"partition_action_REBUILD\" class=\"ajax\" href=\""; // line 109 yield PhpMyAdmin\Url::getFromRoute("/table/partition/rebuild"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 110 ($context["db"] ?? null), "table" => // line 111 ($context["table"] ?? null), "partition_name" => CoreExtension::getAttribute($this->env, $this->source, // line 112 $context["partition"], "getName", [], "method", false, false, false, 112)], "", false); // line 113 yield "\"> "; // line 114 yield PhpMyAdmin\Html\Generator::getIcon("s_tbl", _gettext("Rebuild")); yield " </a> </td> <td> <a id=\"partition_action_REPAIR\" class=\"ajax\" href=\""; // line 119 yield PhpMyAdmin\Url::getFromRoute("/table/partition/repair"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 120 ($context["db"] ?? null), "table" => // line 121 ($context["table"] ?? null), "partition_name" => CoreExtension::getAttribute($this->env, $this->source, // line 122 $context["partition"], "getName", [], "method", false, false, false, 122)], "", false); // line 123 yield "\"> "; // line 124 yield PhpMyAdmin\Html\Generator::getIcon("b_tblops", _gettext("Repair")); yield " </a> </td> <td> <a id=\"partition_action_TRUNCATE\" class=\"ajax\" href=\""; // line 129 yield PhpMyAdmin\Url::getFromRoute("/table/partition/truncate"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 130 ($context["db"] ?? null), "table" => // line 131 ($context["table"] ?? null), "partition_name" => CoreExtension::getAttribute($this->env, $this->source, // line 132 $context["partition"], "getName", [], "method", false, false, false, 132)], "", false); // line 133 yield "\"> "; // line 134 yield PhpMyAdmin\Html\Generator::getIcon("b_empty", _gettext("Truncate")); yield " </a> </td> "; // line 138 if (($context["range_or_list"] ?? null)) { // line 139 yield " <td> <a id=\"partition_action_DROP\" class=\"ajax\" href=\""; // line 140 yield PhpMyAdmin\Url::getFromRoute("/table/partition/drop"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 141 ($context["db"] ?? null), "table" => // line 142 ($context["table"] ?? null), "partition_name" => CoreExtension::getAttribute($this->env, $this->source, // line 143 $context["partition"], "getName", [], "method", false, false, false, 143)], "", false); // line 144 yield "\"> "; // line 145 yield PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); yield " </a> </td> "; } // line 149 yield " "; // line 150 if (($context["has_sub_partitions"] ?? null)) { // line 151 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getSubPartitions", [], "method", false, false, false, 151)); foreach ($context['_seq'] as $context["_key"] => $context["sub_partition"]) { // line 152 yield " <tr class=\"noclick\"> <td></td> <td>"; // line 154 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["sub_partition"], "getOrdinal", [], "method", false, false, false, 154), "html", null, true); yield "</td> <td>"; // line 155 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["sub_partition"], "getName", [], "method", false, false, false, 155), "html", null, true); yield "</td> "; // line 156 if (($context["has_description"] ?? null)) { // line 157 yield " <td></td> "; } // line 159 yield " <td class=\"value\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["sub_partition"], "getRows", [], "method", false, false, false, 159), "html", null, true); yield "</td> <td class=\"value\"> "; // line 161 $context["data_length"] = PhpMyAdmin\Util::formatByteDown(CoreExtension::getAttribute($this->env, $this->source, // line 162 $context["sub_partition"], "getDataLength", [], "method", false, false, false, 162), 3, 1); // line 166 yield " <span>"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_4 = ($context["data_length"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4[0] ?? null) : null), "html", null, true); yield "</span> <span class=\"unit\">"; // line 167 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_5 = ($context["data_length"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[1] ?? null) : null), "html", null, true); yield "</span> </td> <td class=\"value\"> "; // line 170 $context["index_length"] = PhpMyAdmin\Util::formatByteDown(CoreExtension::getAttribute($this->env, $this->source, // line 171 $context["sub_partition"], "getIndexLength", [], "method", false, false, false, 171), 3, 1); // line 175 yield " <span>"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_6 = ($context["index_length"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6[0] ?? null) : null), "html", null, true); yield "</span> <span class=\"unit\">"; // line 176 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_7 = ($context["index_length"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7[1] ?? null) : null), "html", null, true); yield "</span> </td> <td>"; // line 178 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["sub_partition"], "getComment", [], "method", false, false, false, 178), "html", null, true); yield "</td> <td colspan=\""; // line 179 yield ((($context["range_or_list"] ?? null)) ? ("7") : ("6")); yield "\"></td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sub_partition'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 182 yield " "; } // line 183 yield " </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['partition'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 185 yield " </tbody> </table> "; } // line 188 yield " </fieldset> <fieldset class=\"pma-fieldset tblFooters d-print-none\"> <form action=\""; // line 190 yield PhpMyAdmin\Url::getFromRoute("/table/structure/partitioning"); yield "\" method=\"post\"> "; // line 191 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); yield " "; // line 193 if (Twig\Extension\CoreExtension::testEmpty(($context["partitions"] ?? null))) { // line 194 yield " <input class=\"btn btn-secondary\" type=\"submit\" value=\""; yield _gettext("Partition table"); yield "\"> "; } else { // line 196 yield " "; yield PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), ["db" => // line 199 ($context["db"] ?? null), "table" => // line 200 ($context["table"] ?? null), "sql_query" => (("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 201 ($context["table"] ?? null))) . " REMOVE PARTITIONING")], _gettext("Remove partitioning"), ["class" => "btn btn-secondary ajax", "id" => "remove_partitioning"]); // line 206 yield " <input class=\"btn btn-secondary\" type=\"submit\" value=\""; yield _gettext("Edit partitioning"); // line 207 yield "\"> "; } // line 209 yield " </form> </fieldset> </div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/structure/display_partitions.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 470 => 209, 466 => 207, 462 => 206, 460 => 201, 459 => 200, 458 => 199, 456 => 196, 450 => 194, 448 => 193, 443 => 191, 439 => 190, 435 => 188, 430 => 185, 423 => 183, 420 => 182, 411 => 179, 407 => 178, 402 => 176, 397 => 175, 395 => 171, 394 => 170, 388 => 167, 383 => 166, 381 => 162, 380 => 161, 374 => 159, 370 => 157, 368 => 156, 364 => 155, 360 => 154, 356 => 152, 351 => 151, 349 => 150, 346 => 149, 339 => 145, 336 => 144, 334 => 143, 333 => 142, 332 => 141, 329 => 140, 326 => 139, 324 => 138, 317 => 134, 314 => 133, 312 => 132, 311 => 131, 310 => 130, 307 => 129, 299 => 124, 296 => 123, 294 => 122, 293 => 121, 292 => 120, 289 => 119, 281 => 114, 278 => 113, 276 => 112, 275 => 111, 274 => 110, 271 => 109, 263 => 104, 260 => 103, 258 => 102, 257 => 101, 256 => 100, 253 => 99, 245 => 94, 242 => 93, 240 => 92, 239 => 91, 238 => 90, 235 => 89, 227 => 84, 224 => 83, 222 => 82, 221 => 81, 220 => 80, 217 => 79, 211 => 76, 206 => 74, 201 => 73, 199 => 69, 198 => 68, 192 => 65, 187 => 64, 185 => 60, 184 => 59, 178 => 57, 173 => 54, 171 => 53, 169 => 52, 167 => 51, 165 => 50, 162 => 48, 160 => 47, 155 => 46, 149 => 44, 142 => 41, 140 => 40, 135 => 39, 131 => 38, 125 => 34, 120 => 32, 117 => 31, 113 => 30, 109 => 29, 103 => 28, 97 => 26, 95 => 25, 92 => 24, 85 => 20, 76 => 17, 72 => 15, 70 => 14, 62 => 12, 58 => 10, 52 => 8, 50 => 7, 44 => 5, 38 => 1,); } public function getSourceContext() { return new Source("", "table/structure/display_partitions.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/structure/display_partitions.twig"); } } twig/8a/8ab1678882d3750ed76d6ef8d49e47ef.php 0000644 00000012127 15114741573 0013176 0 ustar 00 <?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; /* table/page_with_secondary_tabs.twig */ class __TwigTemplate_baa134ef644515a9f23db1d4959b9bf5 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 if (( !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "relationFeature", [], "any", false, false, false, 1)) || ($context["is_foreign_key_supported"] ?? null))) { // line 2 yield " <ul class=\"nav nav-pills m-2 d-print-none\"> <li class=\"nav-item\"> <a href=\""; // line 4 yield PhpMyAdmin\Url::getFromRoute("/table/structure", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); yield "\" id=\"table_structure_id\" class=\"nav-link"; yield (((($context["route"] ?? null) == "/table/structure")) ? (" active") : ("")); yield " disableAjax\"> "; // line 5 yield PhpMyAdmin\Html\Generator::getIcon("b_props", _gettext("Table structure"), true); yield " </a> </li> <li class=\"nav-item\"> <a href=\""; // line 10 yield PhpMyAdmin\Url::getFromRoute("/table/relation", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); yield "\" id=\"table_relation_id\" class=\"nav-link"; yield (((($context["route"] ?? null) == "/table/relation")) ? (" active") : ("")); yield " disableAjax\"> "; // line 11 yield PhpMyAdmin\Html\Generator::getIcon("b_relations", _gettext("Relation view"), true); yield " </a> </li> </ul> "; } // line 16 yield " "; // line 17 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable($this->env->getRuntime('PhpMyAdmin\FlashMessages')->getMessages()); foreach ($context['_seq'] as $context["flash_key"] => $context["flash_messages"]) { // line 18 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable($context["flash_messages"]); foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) { // line 19 yield " <div class=\"alert alert-"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_key"], "html", null, true); yield "\" role=\"alert\"> "; // line 20 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_message"], "html", null, true); yield " </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash_message'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['flash_key'], $context['flash_messages'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 24 yield " <div id=\"structure_content\"> "; // line 26 yield from $this->unwrap()->yieldBlock('content', $context, $blocks); // line 27 yield "</div> "; return; yield ''; } // line 26 public function block_content($context, array $blocks = []) { $macros = $this->macros; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/page_with_secondary_tabs.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 115 => 26, 109 => 27, 107 => 26, 103 => 24, 90 => 20, 85 => 19, 80 => 18, 76 => 17, 73 => 16, 65 => 11, 59 => 10, 51 => 5, 45 => 4, 41 => 2, 39 => 1,); } public function getSourceContext() { return new Source("", "table/page_with_secondary_tabs.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/page_with_secondary_tabs.twig"); } } twig/db/db787b0020cc11018f7017ab2c0a98df.php 0000644 00000004322 15114741573 0013156 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* sql/enum_column_dropdown.twig */ class __TwigTemplate_fe9ccad84ec94f5ed3dbc0e98a30bd23 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 echo "<select> <option value=\"\"> </option> "; // line 3 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["values"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["value"]) { // line 4 echo " <option value=\""; echo $context["value"]; echo "\""; echo ((twig_in_filter($context["value"], ($context["selected_values"] ?? null))) ? (" selected") : ("")); echo ">"; echo $context["value"]; echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 6 echo "</select> "; } public function getTemplateName() { return "sql/enum_column_dropdown.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 58 => 6, 45 => 4, 41 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "sql/enum_column_dropdown.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/sql/enum_column_dropdown.twig"); } } twig/db/db4947e7de37a8c85a6af6b8ff9d12fc.php 0000644 00000161015 15114741573 0013540 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* columns_definitions/column_attributes.twig */ class __TwigTemplate_a02ac9da12a1fae84f3488071e5c51dc 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 $context["ci"] = 0; // line 3 echo " "; // line 6 $context["ci_offset"] = -1; // line 7 echo " <td class=\"text-center\"> "; // line 10 echo " "; $this->loadTemplate("columns_definitions/column_name.twig", "columns_definitions/column_attributes.twig", 10)->display(twig_to_array(["column_number" => // line 11 ($context["column_number"] ?? null), "ci" => // line 12 ($context["ci"] ?? null), "ci_offset" => // line 13 ($context["ci_offset"] ?? null), "column_meta" => // line 14 ($context["column_meta"] ?? null), "has_central_columns_feature" => !(null === twig_get_attribute($this->env, $this->source, // line 15 ($context["relation_parameters"] ?? null), "centralColumnsFeature", [], "any", false, false, false, 15)), "max_rows" => // line 16 ($context["max_rows"] ?? null)])); // line 18 echo " "; $context["ci"] = (($context["ci"] ?? null) + 1); // line 19 echo "</td> <td class=\"text-center\"> <select class=\"column_type\" name=\"field_type["; // line 21 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\""; // line 22 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "column_status", [], "array", true, true, false, 22) && !(($__internal_compile_0 = (($__internal_compile_1 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["column_status"] ?? null) : null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["isEditable"] ?? null) : null))) ? (" disabled") : ("")); echo "> "; // line 23 echo PhpMyAdmin\Util::getSupportedDatatypes(true, ($context["type_upper"] ?? null)); echo " </select> "; // line 25 $context["ci"] = (($context["ci"] ?? null) + 1); // line 26 echo "</td> <td class=\"text-center\"> <input id=\"field_"; // line 28 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" type=\"text\" name=\"field_length["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" size=\""; // line 29 echo twig_escape_filter($this->env, ($context["length_values_input_size"] ?? null), "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, ($context["length"] ?? null), "html", null, true); echo "\" class=\"textfield\"> <p class=\"enum_notice\" id=\"enum_notice_"; // line 30 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\"> <a href=\"#\" class=\"open_enum_editor\">"; echo _gettext("Edit ENUM/SET values"); // line 31 echo "</a> </p> "; // line 33 $context["ci"] = (($context["ci"] ?? null) + 1); // line 34 echo "</td> <td class=\"text-center\"> <select name=\"field_default_type["; // line 36 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" class=\"default_type\"> <option value=\"NONE\""; // line 37 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "DefaultType", [], "array", true, true, false, 37) && ((($__internal_compile_2 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["DefaultType"] ?? null) : null) == "NONE"))) ? (" selected") : ("")); echo "> "; echo _pgettext("for default", "None"); // line 39 echo " </option> <option value=\"USER_DEFINED\""; // line 40 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "DefaultType", [], "array", true, true, false, 40) && ((($__internal_compile_3 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["DefaultType"] ?? null) : null) == "USER_DEFINED"))) ? (" selected") : ("")); echo "> "; echo _gettext("As defined:"); // line 42 echo " </option> <option value=\"NULL\""; // line 43 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "DefaultType", [], "array", true, true, false, 43) && ((($__internal_compile_4 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["DefaultType"] ?? null) : null) == "NULL"))) ? (" selected") : ("")); echo "> NULL </option> <option value=\"CURRENT_TIMESTAMP\""; // line 46 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "DefaultType", [], "array", true, true, false, 46) && ((($__internal_compile_5 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["DefaultType"] ?? null) : null) == "CURRENT_TIMESTAMP"))) ? (" selected") : ("")); echo "> CURRENT_TIMESTAMP </option> "; // line 49 if (PhpMyAdmin\Util::isUUIDSupported()) { // line 50 echo " <option value=\"UUID\""; echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "DefaultType", [], "array", true, true, false, 50) && ((($__internal_compile_6 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["DefaultType"] ?? null) : null) == "UUID"))) ? (" selected") : ("")); echo "> UUID </option> "; } // line 54 echo " </select> "; // line 55 if ((($context["char_editing"] ?? null) == "textarea")) { // line 56 echo " <textarea name=\"field_default_value["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" cols=\"15\" class=\"textfield default_value\">"; echo twig_escape_filter($this->env, ($context["default_value"] ?? null), "html", null, true); echo "</textarea> "; } else { // line 58 echo " <input type=\"text\" name=\"field_default_value["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" size=\"12\" value=\""; echo twig_escape_filter($this->env, ($context["default_value"] ?? null), "html", null, true); echo "\" class=\"textfield default_value\"> "; } // line 60 echo " "; $context["ci"] = (($context["ci"] ?? null) + 1); // line 61 echo "</td> <td class=\"text-center\"> "; // line 64 echo " <select lang=\"en\" dir=\"ltr\" name=\"field_collation["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\"> <option value=\"\"></option> "; // line 66 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 67 echo " <optgroup label=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 67), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 67), "html", null, true); echo "\"> "; // line 68 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 68)); foreach ($context['_seq'] as $context["_key"] => $context["collation"]) { // line 69 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 69), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "description", [], "any", false, false, false, 69), "html", null, true); echo "\""; // line 70 echo (((twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 70) == (($__internal_compile_7 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["Collation"] ?? null) : null))) ? (" selected") : ("")); echo ">"; // line 71 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 71), "html", null, true); // line 72 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 74 echo " </optgroup> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 76 echo " </select> "; // line 77 $context["ci"] = (($context["ci"] ?? null) + 1); // line 78 echo "</td> <td class=\"text-center\"> "; // line 81 echo " "; $this->loadTemplate("columns_definitions/column_attribute.twig", "columns_definitions/column_attributes.twig", 81)->display(twig_to_array(["column_number" => // line 82 ($context["column_number"] ?? null), "ci" => // line 83 ($context["ci"] ?? null), "ci_offset" => // line 84 ($context["ci_offset"] ?? null), "column_meta" => // line 85 ($context["column_meta"] ?? null), "extracted_columnspec" => // line 86 ($context["extracted_columnspec"] ?? null), "submit_attribute" => // line 87 ($context["submit_attribute"] ?? null), "attribute_types" => // line 88 ($context["attribute_types"] ?? null)])); // line 90 echo " "; $context["ci"] = (($context["ci"] ?? null) + 1); // line 91 echo "</td> <td class=\"text-center\"> <input name=\"field_null["; // line 93 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" type=\"checkbox\" value=\"YES\" class=\"allow_null\""; // line 94 echo (((( !twig_test_empty((($__internal_compile_8 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["Null"] ?? null) : null)) && ((($__internal_compile_9 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["Null"] ?? null) : null) != "NO")) && ((($__internal_compile_10 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["Null"] ?? null) : null) != "NOT NULL"))) ? (" checked") : ("")); echo "> "; // line 95 $context["ci"] = (($context["ci"] ?? null) + 1); // line 96 echo "</td> "; // line 97 if ((array_key_exists("change_column", $context) && !twig_test_empty(($context["change_column"] ?? null)))) { // line 98 echo " "; // line 99 echo " <td class=\"text-center\"> <input name=\"field_adjust_privileges["; // line 100 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" type=\"checkbox\" value=\"NULL\" class=\"allow_null\""; // line 101 if (($context["privs_available"] ?? null)) { echo " checked>"; } else { // line 102 echo " title=\""; echo _gettext("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details"); echo "\" disabled>"; } // line 104 echo " "; $context["ci"] = (($context["ci"] ?? null) + 1); // line 105 echo " </td> "; } // line 107 if ( !($context["is_backup"] ?? null)) { // line 108 echo " "; // line 109 echo " <td class=\"text-center\"> <select name=\"field_key["; // line 110 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" data-index=\"\"> <option value=\"none_"; // line 111 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "\">---</option> <option value=\"primary_"; // line 112 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "\" title=\""; echo _gettext("Primary"); echo "\""; // line 113 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Key", [], "array", true, true, false, 113) && ((($__internal_compile_11 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["Key"] ?? null) : null) == "PRI"))) ? (" selected") : ("")); echo "> PRIMARY </option> <option value=\"unique_"; // line 116 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "\" title=\""; echo _gettext("Unique"); echo "\""; // line 117 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Key", [], "array", true, true, false, 117) && ((($__internal_compile_12 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_12) || $__internal_compile_12 instanceof ArrayAccess ? ($__internal_compile_12["Key"] ?? null) : null) == "UNI"))) ? (" selected") : ("")); echo "> UNIQUE </option> <option value=\"index_"; // line 120 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "\" title=\""; echo _gettext("Index"); echo "\""; // line 121 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Key", [], "array", true, true, false, 121) && ((($__internal_compile_13 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_13) || $__internal_compile_13 instanceof ArrayAccess ? ($__internal_compile_13["Key"] ?? null) : null) == "MUL"))) ? (" selected") : ("")); echo "> INDEX </option> <option value=\"fulltext_"; // line 124 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "\" title=\""; echo _gettext("Fulltext"); echo "\""; // line 125 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Key", [], "array", true, true, false, 125) && ((($__internal_compile_14 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14["Key"] ?? null) : null) == "FULLTEXT"))) ? (" selected") : ("")); echo "> FULLTEXT </option> <option value=\"spatial_"; // line 128 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "\" title=\""; echo _gettext("Spatial"); echo "\""; // line 129 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Key", [], "array", true, true, false, 129) && ((($__internal_compile_15 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15["Key"] ?? null) : null) == "SPATIAL"))) ? (" selected") : ("")); echo "> SPATIAL </option> </select> "; // line 133 $context["ci"] = (($context["ci"] ?? null) + 1); // line 134 echo " </td> "; } // line 136 echo "<td class=\"text-center\"> <input name=\"field_extra["; // line 137 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" type=\"checkbox\" value=\"AUTO_INCREMENT\""; // line 138 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Extra", [], "array", true, true, false, 138) && (twig_lower_filter($this->env, (($__internal_compile_16 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16["Extra"] ?? null) : null)) == "auto_increment"))) ? (" checked") : ("")); echo "> "; // line 139 $context["ci"] = (($context["ci"] ?? null) + 1); // line 140 echo "</td> <td class=\"text-center\"> <textarea id=\"field_"; // line 142 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" rows=\"1\" name=\"field_comments["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" maxlength=\""; echo twig_escape_filter($this->env, ($context["max_length"] ?? null), "html", null, true); echo "\">"; // line 143 ((((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 143) && twig_test_iterable(($context["comments_map"] ?? null))) && twig_get_attribute($this->env, $this->source, ($context["comments_map"] ?? null), (($__internal_compile_17 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17["Field"] ?? null) : null), [], "array", true, true, false, 143))) ? (print (twig_escape_filter($this->env, (($__internal_compile_18 = ($context["comments_map"] ?? null)) && is_array($__internal_compile_18) || $__internal_compile_18 instanceof ArrayAccess ? ($__internal_compile_18[(($__internal_compile_19 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_19) || $__internal_compile_19 instanceof ArrayAccess ? ($__internal_compile_19["Field"] ?? null) : null)] ?? null) : null), "html", null, true))) : (print (""))); // line 144 echo "</textarea> "; // line 145 $context["ci"] = (($context["ci"] ?? null) + 1); // line 146 echo "</td> "; // line 148 if (($context["is_virtual_columns_supported"] ?? null)) { // line 149 echo " <td class=\"text-center\"> <select name=\"field_virtuality["; // line 150 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" class=\"virtuality\"> "; // line 151 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["options"] ?? null)); foreach ($context['_seq'] as $context["key"] => $context["value"]) { // line 152 echo " "; $context["virtuality"] = ((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Extra", [], "array", true, true, false, 152)) ? ((($__internal_compile_20 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_20) || $__internal_compile_20 instanceof ArrayAccess ? ($__internal_compile_20["Extra"] ?? null) : null)) : (null)); // line 153 echo " "; // line 154 echo " "; $context["virtuality"] = ((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Virtuality", [], "array", true, true, false, 154)) ? ((($__internal_compile_21 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_21) || $__internal_compile_21 instanceof ArrayAccess ? ($__internal_compile_21["Virtuality"] ?? null) : null)) : (($context["virtuality"] ?? null))); // line 155 echo " <option value=\""; // line 156 echo twig_escape_filter($this->env, $context["key"], "html", null, true); echo "\""; echo (((( !(null === ($context["virtuality"] ?? null)) && ($context["key"] != "")) && (twig_slice($this->env, ($context["virtuality"] ?? null), 0, twig_length_filter($this->env, $context["key"])) === $context["key"]))) ? (" selected") : ("")); echo "> "; // line 157 echo twig_escape_filter($this->env, $context["value"], "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 160 echo " </select> "; // line 162 if ((($context["char_editing"] ?? null) == "textarea")) { // line 163 echo " <textarea name=\"field_expression["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" cols=\"15\" class=\"textfield expression\">"; ((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Expression", [], "array", true, true, false, 163)) ? (print (twig_escape_filter($this->env, (($__internal_compile_22 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_22) || $__internal_compile_22 instanceof ArrayAccess ? ($__internal_compile_22["Expression"] ?? null) : null), "html", null, true))) : (print (""))); echo "</textarea> "; } else { // line 165 echo " <input type=\"text\" name=\"field_expression["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" size=\"12\" value=\""; ((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Expression", [], "array", true, true, false, 165)) ? (print (twig_escape_filter($this->env, (($__internal_compile_23 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_23) || $__internal_compile_23 instanceof ArrayAccess ? ($__internal_compile_23["Expression"] ?? null) : null), "html", null, true))) : (print (""))); echo "\" placeholder=\""; echo _gettext("Expression"); echo "\" class=\"textfield expression\"> "; } // line 167 echo " "; $context["ci"] = (($context["ci"] ?? null) + 1); // line 168 echo " </td> "; } // line 171 if (array_key_exists("fields_meta", $context)) { // line 172 echo " "; $context["current_index"] = 0; // line 173 echo " "; $context["cols"] = (twig_length_filter($this->env, ($context["move_columns"] ?? null)) - 1); // line 174 echo " "; $context["break"] = false; // line 175 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(range(0, ($context["cols"] ?? null))); foreach ($context['_seq'] as $context["_key"] => $context["mi"]) { // line 176 echo " "; if (((twig_get_attribute($this->env, $this->source, (($__internal_compile_24 = ($context["move_columns"] ?? null)) && is_array($__internal_compile_24) || $__internal_compile_24 instanceof ArrayAccess ? ($__internal_compile_24[$context["mi"]] ?? null) : null), "name", [], "any", false, false, false, 176) == (($__internal_compile_25 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_25) || $__internal_compile_25 instanceof ArrayAccess ? ($__internal_compile_25["Field"] ?? null) : null)) && !($context["break"] ?? null))) { // line 177 echo " "; $context["current_index"] = $context["mi"]; // line 178 echo " "; $context["break"] = true; // line 179 echo " "; } // line 180 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['mi'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 181 echo " <td class=\"text-center\"> <select id=\"field_"; // line 183 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" name=\"field_move_to["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" size=\"1\" width=\"5em\"> <option value=\"\" selected=\"selected\"> </option> <option value=\"-first\""; // line 185 echo (((($context["current_index"] ?? null) == 0)) ? (" disabled=\"disabled\"") : ("")); echo "> "; echo _gettext("first"); // line 187 echo " </option> "; // line 188 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(range(0, (twig_length_filter($this->env, ($context["move_columns"] ?? null)) - 1))); foreach ($context['_seq'] as $context["_key"] => $context["mi"]) { // line 189 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_compile_26 = ($context["move_columns"] ?? null)) && is_array($__internal_compile_26) || $__internal_compile_26 instanceof ArrayAccess ? ($__internal_compile_26[$context["mi"]] ?? null) : null), "name", [], "any", false, false, false, 189), "html", null, true); echo "\""; // line 190 echo ((((($context["current_index"] ?? null) == $context["mi"]) || (($context["current_index"] ?? null) == ($context["mi"] + 1)))) ? (" disabled") : ("")); echo "> "; // line 191 echo twig_escape_filter($this->env, twig_sprintf(_gettext("after %s"), PhpMyAdmin\Util::backquote(twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_compile_27 = ($context["move_columns"] ?? null)) && is_array($__internal_compile_27) || $__internal_compile_27 instanceof ArrayAccess ? ($__internal_compile_27[$context["mi"]] ?? null) : null), "name", [], "any", false, false, false, 191)))), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['mi'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 194 echo " </select> "; // line 195 $context["ci"] = (($context["ci"] ?? null) + 1); // line 196 echo " </td> "; } // line 198 echo " "; // line 199 if ((( !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "browserTransformationFeature", [], "any", false, false, false, 199)) && !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "columnCommentsFeature", [], "any", false, false, false, 199))) && ($context["browse_mime"] ?? null))) { // line 200 echo " <td class=\"text-center\"> <select id=\"field_"; // line 201 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" size=\"1\" name=\"field_mimetype["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\"> <option value=\"\"> </option> "; // line 203 if ((twig_get_attribute($this->env, $this->source, ($context["available_mime"] ?? null), "mimetype", [], "array", true, true, false, 203) && twig_test_iterable((($__internal_compile_28 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_28) || $__internal_compile_28 instanceof ArrayAccess ? ($__internal_compile_28["mimetype"] ?? null) : null)))) { // line 204 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((($__internal_compile_29 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_29) || $__internal_compile_29 instanceof ArrayAccess ? ($__internal_compile_29["mimetype"] ?? null) : null)); foreach ($context['_seq'] as $context["_key"] => $context["media_type"]) { // line 205 echo " <option value=\""; echo twig_escape_filter($this->env, twig_replace_filter($context["media_type"], ["/" => "_"]), "html", null, true); echo "\""; // line 206 echo ((((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 206) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["mime_map"] ?? null), (($__internal_compile_30 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_30) || $__internal_compile_30 instanceof ArrayAccess ? ($__internal_compile_30["Field"] ?? null) : null), [], "array", false, true, false, 206), "mimetype", [], "array", true, true, false, 206)) && ((($__internal_compile_31 = (($__internal_compile_32 = // line 207 ($context["mime_map"] ?? null)) && is_array($__internal_compile_32) || $__internal_compile_32 instanceof ArrayAccess ? ($__internal_compile_32[(($__internal_compile_33 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_33) || $__internal_compile_33 instanceof ArrayAccess ? ($__internal_compile_33["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_31) || $__internal_compile_31 instanceof ArrayAccess ? ($__internal_compile_31["mimetype"] ?? null) : null) == twig_replace_filter($context["media_type"], ["/" => "_"])))) ? (" selected") : ("")); echo "> "; // line 208 echo twig_escape_filter($this->env, twig_lower_filter($this->env, $context["media_type"]), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media_type'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 211 echo " "; } // line 212 echo " </select> "; // line 213 $context["ci"] = (($context["ci"] ?? null) + 1); // line 214 echo " </td> <td class=\"text-center\"> <select id=\"field_"; // line 216 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" size=\"1\" name=\"field_transformation["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\"> <option value=\"\" title=\""; echo _gettext("None"); // line 217 echo "\"></option> "; // line 218 if ((twig_get_attribute($this->env, $this->source, ($context["available_mime"] ?? null), "transformation", [], "array", true, true, false, 218) && twig_test_iterable((($__internal_compile_34 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_34) || $__internal_compile_34 instanceof ArrayAccess ? ($__internal_compile_34["transformation"] ?? null) : null)))) { // line 219 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((($__internal_compile_35 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_35) || $__internal_compile_35 instanceof ArrayAccess ? ($__internal_compile_35["transformation"] ?? null) : null)); foreach ($context['_seq'] as $context["mimekey"] => $context["transform"]) { // line 220 echo " "; $context["parts"] = twig_split_filter($this->env, $context["transform"], ":"); // line 221 echo " <option value=\""; echo twig_escape_filter($this->env, (($__internal_compile_36 = (($__internal_compile_37 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_37) || $__internal_compile_37 instanceof ArrayAccess ? ($__internal_compile_37["transformation_file"] ?? null) : null)) && is_array($__internal_compile_36) || $__internal_compile_36 instanceof ArrayAccess ? ($__internal_compile_36[$context["mimekey"]] ?? null) : null), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, $this->env->getFunction('get_description')->getCallable()((($__internal_compile_38 = (($__internal_compile_39 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_39) || $__internal_compile_39 instanceof ArrayAccess ? ($__internal_compile_39["transformation_file"] ?? null) : null)) && is_array($__internal_compile_38) || $__internal_compile_38 instanceof ArrayAccess ? ($__internal_compile_38[$context["mimekey"]] ?? null) : null)), "html", null, true); echo "\""; // line 222 echo (((((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 222) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 223 ($context["mime_map"] ?? null), (($__internal_compile_40 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_40) || $__internal_compile_40 instanceof ArrayAccess ? ($__internal_compile_40["Field"] ?? null) : null), [], "array", false, true, false, 223), "transformation", [], "array", true, true, false, 223)) && !(null === (($__internal_compile_41 = (($__internal_compile_42 = // line 224 ($context["mime_map"] ?? null)) && is_array($__internal_compile_42) || $__internal_compile_42 instanceof ArrayAccess ? ($__internal_compile_42[(($__internal_compile_43 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_43) || $__internal_compile_43 instanceof ArrayAccess ? ($__internal_compile_43["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_41) || $__internal_compile_41 instanceof ArrayAccess ? ($__internal_compile_41["transformation"] ?? null) : null))) && twig_matches((("@" . (($__internal_compile_44 = (($__internal_compile_45 = // line 225 ($context["available_mime"] ?? null)) && is_array($__internal_compile_45) || $__internal_compile_45 instanceof ArrayAccess ? ($__internal_compile_45["transformation_file_quoted"] ?? null) : null)) && is_array($__internal_compile_44) || $__internal_compile_44 instanceof ArrayAccess ? ($__internal_compile_44[$context["mimekey"]] ?? null) : null)) . "3?@i"), (($__internal_compile_46 = (($__internal_compile_47 = ($context["mime_map"] ?? null)) && is_array($__internal_compile_47) || $__internal_compile_47 instanceof ArrayAccess ? ($__internal_compile_47[(($__internal_compile_48 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_48) || $__internal_compile_48 instanceof ArrayAccess ? ($__internal_compile_48["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_46) || $__internal_compile_46 instanceof ArrayAccess ? ($__internal_compile_46["transformation"] ?? null) : null)))) ? (" selected") : ("")); echo "> "; // line 226 echo twig_escape_filter($this->env, ((((($this->env->getFunction('get_name')->getCallable()((($__internal_compile_49 = (($__internal_compile_50 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_50) || $__internal_compile_50 instanceof ArrayAccess ? ($__internal_compile_50["transformation_file"] ?? null) : null)) && is_array($__internal_compile_49) || $__internal_compile_49 instanceof ArrayAccess ? ($__internal_compile_49[$context["mimekey"]] ?? null) : null)) . " (") . twig_lower_filter($this->env, (($__internal_compile_51 = ($context["parts"] ?? null)) && is_array($__internal_compile_51) || $__internal_compile_51 instanceof ArrayAccess ? ($__internal_compile_51[0] ?? null) : null))) . ":") . (($__internal_compile_52 = ($context["parts"] ?? null)) && is_array($__internal_compile_52) || $__internal_compile_52 instanceof ArrayAccess ? ($__internal_compile_52[1] ?? null) : null)) . ")"), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['mimekey'], $context['transform'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 229 echo " "; } // line 230 echo " </select> "; // line 231 $context["ci"] = (($context["ci"] ?? null) + 1); // line 232 echo " </td> <td class=\"text-center\"> <input id=\"field_"; // line 234 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" type=\"text\" name=\"field_transformation_options["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" size=\"16\" class=\"textfield\" value=\""; // line 235 (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 235) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["mime_map"] ?? null), (($__internal_compile_53 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_53) || $__internal_compile_53 instanceof ArrayAccess ? ($__internal_compile_53["Field"] ?? null) : null), [], "array", false, true, false, 235), "transformation_options", [], "array", true, true, false, 235))) ? (print (twig_escape_filter($this->env, (($__internal_compile_54 = (($__internal_compile_55 = ($context["mime_map"] ?? null)) && is_array($__internal_compile_55) || $__internal_compile_55 instanceof ArrayAccess ? ($__internal_compile_55[(($__internal_compile_56 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_56) || $__internal_compile_56 instanceof ArrayAccess ? ($__internal_compile_56["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_54) || $__internal_compile_54 instanceof ArrayAccess ? ($__internal_compile_54["transformation_options"] ?? null) : null), "html", null, true))) : (print (""))); echo "\"> "; // line 236 $context["ci"] = (($context["ci"] ?? null) + 1); // line 237 echo " </td> <td class=\"text-center\"> <select id=\"field_"; // line 239 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" size=\"1\" name=\"field_input_transformation["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\"> <option value=\"\" title=\""; echo _gettext("None"); // line 240 echo "\"></option> "; // line 241 if ((twig_get_attribute($this->env, $this->source, ($context["available_mime"] ?? null), "input_transformation", [], "array", true, true, false, 241) && twig_test_iterable((($__internal_compile_57 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_57) || $__internal_compile_57 instanceof ArrayAccess ? ($__internal_compile_57["input_transformation"] ?? null) : null)))) { // line 242 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((($__internal_compile_58 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_58) || $__internal_compile_58 instanceof ArrayAccess ? ($__internal_compile_58["input_transformation"] ?? null) : null)); foreach ($context['_seq'] as $context["mimekey"] => $context["transform"]) { // line 243 echo " "; $context["parts"] = twig_split_filter($this->env, $context["transform"], ":"); // line 244 echo " <option value=\""; echo twig_escape_filter($this->env, (($__internal_compile_59 = (($__internal_compile_60 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_60) || $__internal_compile_60 instanceof ArrayAccess ? ($__internal_compile_60["input_transformation_file"] ?? null) : null)) && is_array($__internal_compile_59) || $__internal_compile_59 instanceof ArrayAccess ? ($__internal_compile_59[$context["mimekey"]] ?? null) : null), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, $this->env->getFunction('get_description')->getCallable()((($__internal_compile_61 = (($__internal_compile_62 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_62) || $__internal_compile_62 instanceof ArrayAccess ? ($__internal_compile_62["input_transformation_file"] ?? null) : null)) && is_array($__internal_compile_61) || $__internal_compile_61 instanceof ArrayAccess ? ($__internal_compile_61[$context["mimekey"]] ?? null) : null)), "html", null, true); echo "\""; // line 245 echo ((((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 245) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["mime_map"] ?? null), (($__internal_compile_63 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_63) || $__internal_compile_63 instanceof ArrayAccess ? ($__internal_compile_63["Field"] ?? null) : null), [], "array", false, true, false, 245), "input_transformation", [], "array", true, true, false, 245)) && twig_matches((("@" . (($__internal_compile_64 = (($__internal_compile_65 = // line 246 ($context["available_mime"] ?? null)) && is_array($__internal_compile_65) || $__internal_compile_65 instanceof ArrayAccess ? ($__internal_compile_65["input_transformation_file_quoted"] ?? null) : null)) && is_array($__internal_compile_64) || $__internal_compile_64 instanceof ArrayAccess ? ($__internal_compile_64[$context["mimekey"]] ?? null) : null)) . "3?@i"), (($__internal_compile_66 = (($__internal_compile_67 = ($context["mime_map"] ?? null)) && is_array($__internal_compile_67) || $__internal_compile_67 instanceof ArrayAccess ? ($__internal_compile_67[(($__internal_compile_68 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_68) || $__internal_compile_68 instanceof ArrayAccess ? ($__internal_compile_68["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_66) || $__internal_compile_66 instanceof ArrayAccess ? ($__internal_compile_66["input_transformation"] ?? null) : null)))) ? (" selected") : ("")); echo "> "; // line 247 echo twig_escape_filter($this->env, ((((($this->env->getFunction('get_name')->getCallable()((($__internal_compile_69 = (($__internal_compile_70 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_70) || $__internal_compile_70 instanceof ArrayAccess ? ($__internal_compile_70["input_transformation_file"] ?? null) : null)) && is_array($__internal_compile_69) || $__internal_compile_69 instanceof ArrayAccess ? ($__internal_compile_69[$context["mimekey"]] ?? null) : null)) . " (") . twig_lower_filter($this->env, (($__internal_compile_71 = ($context["parts"] ?? null)) && is_array($__internal_compile_71) || $__internal_compile_71 instanceof ArrayAccess ? ($__internal_compile_71[0] ?? null) : null))) . ":") . (($__internal_compile_72 = ($context["parts"] ?? null)) && is_array($__internal_compile_72) || $__internal_compile_72 instanceof ArrayAccess ? ($__internal_compile_72[1] ?? null) : null)) . ")"), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['mimekey'], $context['transform'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 250 echo " "; } // line 251 echo " </select> "; // line 252 $context["ci"] = (($context["ci"] ?? null) + 1); // line 253 echo " </td> <td class=\"text-center\"> <input id=\"field_"; // line 255 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" type=\"text\" name=\"field_input_transformation_options["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" size=\"16\" class=\"textfield\" value=\""; // line 256 (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 256) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["mime_map"] ?? null), (($__internal_compile_73 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_73) || $__internal_compile_73 instanceof ArrayAccess ? ($__internal_compile_73["Field"] ?? null) : null), [], "array", false, true, false, 256), "input_transformation_options", [], "array", true, true, false, 256))) ? (print (twig_escape_filter($this->env, (($__internal_compile_74 = (($__internal_compile_75 = ($context["mime_map"] ?? null)) && is_array($__internal_compile_75) || $__internal_compile_75 instanceof ArrayAccess ? ($__internal_compile_75[(($__internal_compile_76 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_76) || $__internal_compile_76 instanceof ArrayAccess ? ($__internal_compile_76["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_74) || $__internal_compile_74 instanceof ArrayAccess ? ($__internal_compile_74["input_transformation_options"] ?? null) : null), "html", null, true))) : (print (""))); echo "\"> "; // line 257 $context["ci"] = (($context["ci"] ?? null) + 1); // line 258 echo " </td> "; } } public function getTemplateName() { return "columns_definitions/column_attributes.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 785 => 258, 783 => 257, 779 => 256, 772 => 255, 768 => 253, 766 => 252, 763 => 251, 760 => 250, 751 => 247, 747 => 246, 746 => 245, 740 => 244, 737 => 243, 732 => 242, 730 => 241, 727 => 240, 718 => 239, 714 => 237, 712 => 236, 708 => 235, 701 => 234, 697 => 232, 695 => 231, 692 => 230, 689 => 229, 680 => 226, 676 => 225, 675 => 224, 674 => 223, 673 => 222, 667 => 221, 664 => 220, 659 => 219, 657 => 218, 654 => 217, 645 => 216, 641 => 214, 639 => 213, 636 => 212, 633 => 211, 624 => 208, 620 => 207, 619 => 206, 615 => 205, 610 => 204, 608 => 203, 599 => 201, 596 => 200, 594 => 199, 591 => 198, 587 => 196, 585 => 195, 582 => 194, 573 => 191, 569 => 190, 565 => 189, 561 => 188, 558 => 187, 553 => 185, 544 => 183, 540 => 181, 534 => 180, 531 => 179, 528 => 178, 525 => 177, 522 => 176, 517 => 175, 514 => 174, 511 => 173, 508 => 172, 506 => 171, 502 => 168, 499 => 167, 489 => 165, 481 => 163, 479 => 162, 475 => 160, 466 => 157, 460 => 156, 457 => 155, 454 => 154, 452 => 153, 449 => 152, 445 => 151, 437 => 150, 434 => 149, 432 => 148, 429 => 146, 427 => 145, 424 => 144, 422 => 143, 413 => 142, 409 => 140, 407 => 139, 403 => 138, 396 => 137, 393 => 136, 389 => 134, 387 => 133, 380 => 129, 375 => 128, 369 => 125, 364 => 124, 358 => 121, 353 => 120, 347 => 117, 342 => 116, 336 => 113, 331 => 112, 327 => 111, 319 => 110, 316 => 109, 314 => 108, 312 => 107, 308 => 105, 305 => 104, 300 => 102, 296 => 101, 289 => 100, 286 => 99, 284 => 98, 282 => 97, 279 => 96, 277 => 95, 273 => 94, 266 => 93, 262 => 91, 259 => 90, 257 => 88, 256 => 87, 255 => 86, 254 => 85, 253 => 84, 252 => 83, 251 => 82, 249 => 81, 245 => 78, 243 => 77, 240 => 76, 233 => 74, 226 => 72, 224 => 71, 221 => 70, 215 => 69, 211 => 68, 204 => 67, 200 => 66, 190 => 64, 186 => 61, 183 => 60, 175 => 58, 167 => 56, 165 => 55, 162 => 54, 154 => 50, 152 => 49, 146 => 46, 140 => 43, 137 => 42, 132 => 40, 129 => 39, 124 => 37, 116 => 36, 112 => 34, 110 => 33, 106 => 31, 99 => 30, 93 => 29, 86 => 28, 82 => 26, 80 => 25, 75 => 23, 71 => 22, 64 => 21, 60 => 19, 57 => 18, 55 => 16, 54 => 15, 53 => 14, 52 => 13, 51 => 12, 50 => 11, 48 => 10, 44 => 7, 42 => 6, 39 => 3, 37 => 2,); } public function getSourceContext() { return new Source("", "columns_definitions/column_attributes.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/columns_definitions/column_attributes.twig"); } } twig/6e/6e229861a165e950a61d2134db55fc9a.php 0000644 00000004507 15114741573 0012776 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/favorite_anchor.twig */ class __TwigTemplate_9f54959d5f89f3ec53606b059b5708a2 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 echo "<a id=\""; echo twig_escape_filter($this->env, ($context["table_name_hash"] ?? null), "html", null, true); echo "_favorite_anchor\" class=\"ajax favorite_table_anchor\" href=\""; // line 3 echo PhpMyAdmin\Url::getFromRoute("/database/structure/favorite-table", ($context["fav_params"] ?? null)); echo "\" title=\""; // line 4 echo twig_escape_filter($this->env, ((($context["already_favorite"] ?? null)) ? (_gettext("Remove from Favorites")) : (_gettext("Add to Favorites"))), "html", null, true); echo "\" data-favtargets=\""; // line 5 echo twig_escape_filter($this->env, ($context["db_table_name_hash"] ?? null), "html", null, true); echo "\"> "; // line 6 echo ((($context["already_favorite"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_favorite")) : (PhpMyAdmin\Html\Generator::getIcon("b_no_favorite"))); echo " </a> "; } public function getTemplateName() { return "database/structure/favorite_anchor.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 55 => 6, 51 => 5, 47 => 4, 43 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/favorite_anchor.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/favorite_anchor.twig"); } } twig/4e/4ea141783efb872bb5ec060ba4e07cd4.php 0000644 00000004462 15114741573 0013261 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* modals/create_view.twig */ class __TwigTemplate_e9348ad558bc919a1a54e159defd81ed 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 echo "<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\">"; echo _gettext("Create view"); // line 5 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 6 echo "\"></button> </div> <div class=\"modal-body\"></div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"createViewModalGoButton\">"; echo _gettext("Go"); // line 10 echo "</button> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 11 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "modals/create_view.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 59 => 11, 55 => 10, 48 => 6, 44 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "modals/create_view.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/create_view.twig"); } } twig/a8/a8f13f032b97eb16b1574396a06ce252.php 0000644 00000022126 15114741573 0012764 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/table_header.twig */ class __TwigTemplate_d5585fbc73e6ccad142c723ccf43ddb3 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 echo "<form method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/database/structure"); echo "\" name=\"tablesForm\" id=\"tablesForm\"> "; // line 2 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <div class=\"table-responsive\"> <table class=\"table table-striped table-hover table-sm w-auto data\"> <thead> <tr> <th class=\"d-print-none\"></th> <th>"; // line 8 echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Table"), "table"); echo "</th> "; // line 9 if (($context["replication"] ?? null)) { // line 10 echo " <th>"; echo _gettext("Replication"); echo "</th> "; } // line 12 echo " "; // line 13 if (($context["db_is_system_schema"] ?? null)) { // line 14 echo " "; $context["action_colspan"] = 3; // line 15 echo " "; } else { // line 16 echo " "; $context["action_colspan"] = 6; // line 17 echo " "; } // line 18 echo " "; if ((($context["num_favorite_tables"] ?? null) > 0)) { // line 19 echo " "; $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); // line 20 echo " "; } // line 21 echo " <th colspan=\""; echo twig_escape_filter($this->env, ($context["action_colspan"] ?? null), "html", null, true); echo "\" class=\"d-print-none\"> "; echo _gettext("Action"); // line 23 echo " </th> "; // line 25 echo " <th> "; // line 26 echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Rows"), "records", "DESC"); echo " "; // line 27 echo PhpMyAdmin\Html\Generator::showHint(PhpMyAdmin\Sanitize::sanitizeMessage(_gettext("May be approximate. Click on the number to get the exact count. See [doc@faq3-11]FAQ 3.11[/doc]."))); echo " </th> "; // line 29 if ( !(($context["properties_num_columns"] ?? null) > 1)) { // line 30 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Type"), "type"); echo "</th> <th>"; // line 31 echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Collation"), "collation"); echo "</th> "; } // line 33 echo " "; // line 34 if (($context["is_show_stats"] ?? null)) { // line 35 echo " "; // line 36 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Size"), "size", "DESC"); echo "</th> "; // line 38 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Overhead"), "overhead", "DESC"); echo "</th> "; } // line 40 echo " "; // line 41 if (($context["show_charset"] ?? null)) { // line 42 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Charset"), "charset"); echo "</th> "; } // line 44 echo " "; // line 45 if (($context["show_comment"] ?? null)) { // line 46 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Comment"), "comment"); echo "</th> "; } // line 48 echo " "; // line 49 if (($context["show_creation"] ?? null)) { // line 50 echo " "; // line 51 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Creation"), "creation", "DESC"); echo "</th> "; } // line 53 echo " "; // line 54 if (($context["show_last_update"] ?? null)) { // line 55 echo " "; // line 56 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Last update"), "last_update", "DESC"); echo "</th> "; } // line 58 echo " "; // line 59 if (($context["show_last_check"] ?? null)) { // line 60 echo " "; // line 61 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Last check"), "last_check", "DESC"); echo "</th> "; } // line 63 echo " </tr> </thead> <tbody> "; // line 66 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["structure_table_rows"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["structure_table_row"]) { // line 67 echo " "; $this->loadTemplate("database/structure/structure_table_row.twig", "database/structure/table_header.twig", 67)->display(twig_to_array($context["structure_table_row"])); // line 68 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['structure_table_row'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 69 echo " </tbody> "; // line 70 if (($context["body_for_table_summary"] ?? null)) { // line 71 echo " "; $this->loadTemplate("database/structure/body_for_table_summary.twig", "database/structure/table_header.twig", 71)->display(twig_to_array(($context["body_for_table_summary"] ?? null))); // line 72 echo " "; } // line 73 echo "</table> </div> "; // line 75 if (($context["check_all_tables"] ?? null)) { // line 76 echo " "; $this->loadTemplate("database/structure/check_all_tables.twig", "database/structure/table_header.twig", 76)->display(twig_to_array(($context["check_all_tables"] ?? null))); } // line 78 echo "</form> "; // line 79 if (($context["check_all_tables"] ?? null)) { // line 80 echo " "; $this->loadTemplate("database/structure/bulk_action_modal.twig", "database/structure/table_header.twig", 80)->display(twig_to_array(($context["check_all_tables"] ?? null))); } } public function getTemplateName() { return "database/structure/table_header.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 245 => 80, 243 => 79, 240 => 78, 236 => 76, 234 => 75, 230 => 73, 227 => 72, 224 => 71, 222 => 70, 219 => 69, 213 => 68, 210 => 67, 206 => 66, 201 => 63, 195 => 61, 193 => 60, 191 => 59, 188 => 58, 182 => 56, 180 => 55, 178 => 54, 175 => 53, 169 => 51, 167 => 50, 165 => 49, 162 => 48, 156 => 46, 154 => 45, 151 => 44, 145 => 42, 143 => 41, 140 => 40, 134 => 38, 129 => 36, 127 => 35, 125 => 34, 122 => 33, 117 => 31, 112 => 30, 110 => 29, 105 => 27, 101 => 26, 98 => 25, 95 => 23, 89 => 21, 86 => 20, 83 => 19, 80 => 18, 77 => 17, 74 => 16, 71 => 15, 68 => 14, 66 => 13, 63 => 12, 57 => 10, 55 => 9, 51 => 8, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/table_header.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/table_header.twig"); } } twig/84/8479bd4d0d00bc2db417c40a0d209745.php 0000644 00000022126 15114741573 0012752 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/table_header.twig */ class __TwigTemplate_6dd2dd4a3db78cb9d5c6ed6597ba9e2d 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 echo "<form method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/database/structure"); echo "\" name=\"tablesForm\" id=\"tablesForm\"> "; // line 2 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <div class=\"table-responsive\"> <table class=\"table table-striped table-hover table-sm w-auto data\"> <thead> <tr> <th class=\"d-print-none\"></th> <th>"; // line 8 echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Table"), "table"); echo "</th> "; // line 9 if (($context["replication"] ?? null)) { // line 10 echo " <th>"; echo _gettext("Replication"); echo "</th> "; } // line 12 echo " "; // line 13 if (($context["db_is_system_schema"] ?? null)) { // line 14 echo " "; $context["action_colspan"] = 3; // line 15 echo " "; } else { // line 16 echo " "; $context["action_colspan"] = 6; // line 17 echo " "; } // line 18 echo " "; if ((($context["num_favorite_tables"] ?? null) > 0)) { // line 19 echo " "; $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); // line 20 echo " "; } // line 21 echo " <th colspan=\""; echo twig_escape_filter($this->env, ($context["action_colspan"] ?? null), "html", null, true); echo "\" class=\"d-print-none\"> "; echo _gettext("Action"); // line 23 echo " </th> "; // line 25 echo " <th> "; // line 26 echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Rows"), "records", "DESC"); echo " "; // line 27 echo PhpMyAdmin\Html\Generator::showHint(PhpMyAdmin\Sanitize::sanitizeMessage(_gettext("May be approximate. Click on the number to get the exact count. See [doc@faq3-11]FAQ 3.11[/doc]."))); echo " </th> "; // line 29 if ( !(($context["properties_num_columns"] ?? null) > 1)) { // line 30 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Type"), "type"); echo "</th> <th>"; // line 31 echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Collation"), "collation"); echo "</th> "; } // line 33 echo " "; // line 34 if (($context["is_show_stats"] ?? null)) { // line 35 echo " "; // line 36 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Size"), "size", "DESC"); echo "</th> "; // line 38 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Overhead"), "overhead", "DESC"); echo "</th> "; } // line 40 echo " "; // line 41 if (($context["show_charset"] ?? null)) { // line 42 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Charset"), "charset"); echo "</th> "; } // line 44 echo " "; // line 45 if (($context["show_comment"] ?? null)) { // line 46 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Comment"), "comment"); echo "</th> "; } // line 48 echo " "; // line 49 if (($context["show_creation"] ?? null)) { // line 50 echo " "; // line 51 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Creation"), "creation", "DESC"); echo "</th> "; } // line 53 echo " "; // line 54 if (($context["show_last_update"] ?? null)) { // line 55 echo " "; // line 56 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Last update"), "last_update", "DESC"); echo "</th> "; } // line 58 echo " "; // line 59 if (($context["show_last_check"] ?? null)) { // line 60 echo " "; // line 61 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Last check"), "last_check", "DESC"); echo "</th> "; } // line 63 echo " </tr> </thead> <tbody> "; // line 66 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["structure_table_rows"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["structure_table_row"]) { // line 67 echo " "; $this->loadTemplate("database/structure/structure_table_row.twig", "database/structure/table_header.twig", 67)->display(twig_to_array($context["structure_table_row"])); // line 68 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['structure_table_row'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 69 echo " </tbody> "; // line 70 if (($context["body_for_table_summary"] ?? null)) { // line 71 echo " "; $this->loadTemplate("database/structure/body_for_table_summary.twig", "database/structure/table_header.twig", 71)->display(twig_to_array(($context["body_for_table_summary"] ?? null))); // line 72 echo " "; } // line 73 echo "</table> </div> "; // line 75 if (($context["check_all_tables"] ?? null)) { // line 76 echo " "; $this->loadTemplate("database/structure/check_all_tables.twig", "database/structure/table_header.twig", 76)->display(twig_to_array(($context["check_all_tables"] ?? null))); } // line 78 echo "</form> "; // line 79 if (($context["check_all_tables"] ?? null)) { // line 80 echo " "; $this->loadTemplate("database/structure/bulk_action_modal.twig", "database/structure/table_header.twig", 80)->display(twig_to_array(($context["check_all_tables"] ?? null))); } } public function getTemplateName() { return "database/structure/table_header.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 245 => 80, 243 => 79, 240 => 78, 236 => 76, 234 => 75, 230 => 73, 227 => 72, 224 => 71, 222 => 70, 219 => 69, 213 => 68, 210 => 67, 206 => 66, 201 => 63, 195 => 61, 193 => 60, 191 => 59, 188 => 58, 182 => 56, 180 => 55, 178 => 54, 175 => 53, 169 => 51, 167 => 50, 165 => 49, 162 => 48, 156 => 46, 154 => 45, 151 => 44, 145 => 42, 143 => 41, 140 => 40, 134 => 38, 129 => 36, 127 => 35, 125 => 34, 122 => 33, 117 => 31, 112 => 30, 110 => 29, 105 => 27, 101 => 26, 98 => 25, 95 => 23, 89 => 21, 86 => 20, 83 => 19, 80 => 18, 77 => 17, 74 => 16, 71 => 15, 68 => 14, 66 => 13, 63 => 12, 57 => 10, 55 => 9, 51 => 8, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/table_header.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/table_header.twig"); } } twig/84/84d33b4c7ae368136f9042cafa5c5b35.php 0000644 00000005214 15114741573 0013051 0 ustar 00 <?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_confirmation.twig */ class __TwigTemplate_af217de4dceaa0eee24f1553150544a4 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=\"previewSqlConfirmModal\" tabindex=\"-1\" aria-labelledby=\"previewSqlConfirmModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"previewSqlConfirmModalLabel\">"; 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 preview_sql\"> <code class=\"sql\"> <pre id=\"previewSqlConfirmCode\"></pre> </code> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"previewSQLConfirmOkButton\">"; yield _gettext("OK"); // line 14 yield "</button> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; yield _gettext("Close"); // line 15 yield "</button> </div> </div> </div> </div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "modals/preview_sql_confirmation.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 64 => 15, 60 => 14, 49 => 6, 45 => 5, 38 => 1,); } public function getSourceContext() { return new Source("", "modals/preview_sql_confirmation.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/preview_sql_confirmation.twig"); } } twig/85/8508c1597a21e25e187295a0babfe4a5.php 0000644 00000005743 15114741573 0013001 0 ustar 00 <?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; /* table/export/index.twig */ class __TwigTemplate_c1520d0b110d4a20e44a3f256b58abe6 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'title' => [$this, 'block_title'], ]; } protected function doGetParent(array $context) { // line 1 return "export.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 11 $context["filename_hint"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) { // line 12 yield " "; yield _gettext("@SERVER@ will become the server name, @DATABASE@ will become the database name and @TABLE@ will become the table name."); return; yield ''; })())) ? '' : new Markup($tmp, $this->env->getCharset()); // line 1 $this->parent = $this->loadTemplate("export.twig", "table/export/index.twig", 1); yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_title($context, array $blocks = []) { $macros = $this->macros; // line 4 yield " "; if ((($context["export_type"] ?? null) == "raw")) { // line 5 yield " "; // l10n: A query that the user has written freely yield _gettext("Exporting a raw query"); // line 6 yield " "; } else { // line 7 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf(_gettext("Exporting rows from \"%s\" table"), ($context["table"] ?? null)), "html", null, true); yield " "; } return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/export/index.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 69 => 7, 66 => 6, 62 => 5, 59 => 4, 55 => 3, 50 => 1, 45 => 12, 43 => 11, 36 => 1,); } public function getSourceContext() { return new Source("", "table/export/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/export/index.twig"); } } twig/85/855838867863980c09408b2f5c6dcd09.php 0000644 00000062725 15114741573 0012546 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/structure/display_partitions.twig */ class __TwigTemplate_87a5cbcdd4b22e5b0b0eee40dd80bd40 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 echo "<div id=\"partitions\"> <fieldset class=\"pma-fieldset\"> <legend> "; echo _gettext("Partitions"); // line 5 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("partitioning"); echo " </legend> "; // line 7 if (twig_test_empty(($context["partitions"] ?? null))) { // line 8 echo " "; echo $this->env->getFilter('notice')->getCallable()(_gettext("No partitioning defined!")); echo " "; } else { // line 10 echo " <p> "; echo _gettext("Partitioned by:"); // line 12 echo " <code>"; echo twig_escape_filter($this->env, ($context["partition_method"] ?? null), "html", null, true); echo "("; echo twig_escape_filter($this->env, ($context["partition_expression"] ?? null), "html", null, true); echo ")</code> </p> "; // line 14 if (($context["has_sub_partitions"] ?? null)) { // line 15 echo " <p> "; echo _gettext("Sub partitioned by:"); // line 17 echo " <code>"; echo twig_escape_filter($this->env, ($context["sub_partition_method"] ?? null), "html", null, true); echo "("; echo twig_escape_filter($this->env, ($context["sub_partition_expression"] ?? null), "html", null, true); echo ")</code> <p> "; } // line 20 echo " <table class=\"table table-striped table-hover table-sm\"> <thead> <tr> <th colspan=\"2\">#</th> <th>"; echo _gettext("Partition"); // line 24 echo "</th> "; // line 25 if (($context["has_description"] ?? null)) { // line 26 echo " <th>"; echo _gettext("Expression"); echo "</th> "; } // line 28 echo " <th>"; echo _gettext("Rows"); echo "</th> <th>"; echo _gettext("Data length"); // line 29 echo "</th> <th>"; echo _gettext("Index length"); // line 30 echo "</th> <th>"; echo _gettext("Comment"); // line 31 echo "</th> <th colspan=\""; // line 32 echo ((($context["range_or_list"] ?? null)) ? ("7") : ("6")); echo "\"> "; echo _gettext("Action"); // line 34 echo " </th> </tr> </thead> <tbody> "; // line 38 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["partitions"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["partition"]) { // line 39 echo " <tr class=\"noclick"; echo ((($context["has_sub_partitions"] ?? null)) ? (" table-active") : ("")); echo "\"> "; // line 40 if (($context["has_sub_partitions"] ?? null)) { // line 41 echo " <td>"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getOrdinal", [], "method", false, false, false, 41), "html", null, true); echo "</td> <td></td> "; } else { // line 44 echo " <td colspan=\"2\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getOrdinal", [], "method", false, false, false, 44), "html", null, true); echo "</td> "; } // line 46 echo " <th>"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getName", [], "method", false, false, false, 46), "html", null, true); echo "</th> "; // line 47 if (($context["has_description"] ?? null)) { // line 48 echo " <td> <code>"; // line 50 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getExpression", [], "method", false, false, false, 50), "html", null, true); // line 51 echo (((twig_get_attribute($this->env, $this->source, $context["partition"], "getMethod", [], "method", false, false, false, 51) == "LIST")) ? (" IN (") : (" < ")); // line 52 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getDescription", [], "method", false, false, false, 52), "html", null, true); // line 53 echo (((twig_get_attribute($this->env, $this->source, $context["partition"], "getMethod", [], "method", false, false, false, 53) == "LIST")) ? (")") : ("")); // line 54 echo "</code> </td> "; } // line 57 echo " <td class=\"value\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getRows", [], "method", false, false, false, 57), "html", null, true); echo "</td> <td class=\"value\"> "; // line 59 $context["data_length"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, // line 60 $context["partition"], "getDataLength", [], "method", false, false, false, 60), 3, 1); // line 64 echo " <span>"; echo twig_escape_filter($this->env, (($__internal_compile_0 = ($context["data_length"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true); echo "</span> <span class=\"unit\">"; // line 65 echo twig_escape_filter($this->env, (($__internal_compile_1 = ($context["data_length"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null), "html", null, true); echo "</span> </td> <td class=\"value\"> "; // line 68 $context["index_length"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, // line 69 $context["partition"], "getIndexLength", [], "method", false, false, false, 69), 3, 1); // line 73 echo " <span>"; echo twig_escape_filter($this->env, (($__internal_compile_2 = ($context["index_length"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[0] ?? null) : null), "html", null, true); echo "</span> <span class=\"unit\">"; // line 74 echo twig_escape_filter($this->env, (($__internal_compile_3 = ($context["index_length"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[1] ?? null) : null), "html", null, true); echo "</span> </td> <td>"; // line 76 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getComment", [], "method", false, false, false, 76), "html", null, true); echo "</td> <td> <a id=\"partition_action_ANALYZE\" class=\"ajax\" href=\""; // line 79 echo PhpMyAdmin\Url::getFromRoute("/table/partition/analyze"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 80 ($context["db"] ?? null), "table" => // line 81 ($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 82 $context["partition"], "getName", [], "method", false, false, false, 82)], "", false); // line 83 echo "\"> "; // line 84 echo PhpMyAdmin\Html\Generator::getIcon("b_search", _gettext("Analyze")); echo " </a> </td> <td> <a id=\"partition_action_CHECK\" class=\"ajax\" href=\""; // line 89 echo PhpMyAdmin\Url::getFromRoute("/table/partition/check"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 90 ($context["db"] ?? null), "table" => // line 91 ($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 92 $context["partition"], "getName", [], "method", false, false, false, 92)], "", false); // line 93 echo "\"> "; // line 94 echo PhpMyAdmin\Html\Generator::getIcon("eye", _gettext("Check")); echo " </a> </td> <td> <a id=\"partition_action_OPTIMIZE\" class=\"ajax\" href=\""; // line 99 echo PhpMyAdmin\Url::getFromRoute("/table/partition/optimize"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 100 ($context["db"] ?? null), "table" => // line 101 ($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 102 $context["partition"], "getName", [], "method", false, false, false, 102)], "", false); // line 103 echo "\"> "; // line 104 echo PhpMyAdmin\Html\Generator::getIcon("normalize", _gettext("Optimize")); echo " </a> </td> <td> <a id=\"partition_action_REBUILD\" class=\"ajax\" href=\""; // line 109 echo PhpMyAdmin\Url::getFromRoute("/table/partition/rebuild"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 110 ($context["db"] ?? null), "table" => // line 111 ($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 112 $context["partition"], "getName", [], "method", false, false, false, 112)], "", false); // line 113 echo "\"> "; // line 114 echo PhpMyAdmin\Html\Generator::getIcon("s_tbl", _gettext("Rebuild")); echo " </a> </td> <td> <a id=\"partition_action_REPAIR\" class=\"ajax\" href=\""; // line 119 echo PhpMyAdmin\Url::getFromRoute("/table/partition/repair"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 120 ($context["db"] ?? null), "table" => // line 121 ($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 122 $context["partition"], "getName", [], "method", false, false, false, 122)], "", false); // line 123 echo "\"> "; // line 124 echo PhpMyAdmin\Html\Generator::getIcon("b_tblops", _gettext("Repair")); echo " </a> </td> <td> <a id=\"partition_action_TRUNCATE\" class=\"ajax\" href=\""; // line 129 echo PhpMyAdmin\Url::getFromRoute("/table/partition/truncate"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 130 ($context["db"] ?? null), "table" => // line 131 ($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 132 $context["partition"], "getName", [], "method", false, false, false, 132)], "", false); // line 133 echo "\"> "; // line 134 echo PhpMyAdmin\Html\Generator::getIcon("b_empty", _gettext("Truncate")); echo " </a> </td> "; // line 138 if (($context["range_or_list"] ?? null)) { // line 139 echo " <td> <a id=\"partition_action_DROP\" class=\"ajax\" href=\""; // line 140 echo PhpMyAdmin\Url::getFromRoute("/table/partition/drop"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 141 ($context["db"] ?? null), "table" => // line 142 ($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 143 $context["partition"], "getName", [], "method", false, false, false, 143)], "", false); // line 144 echo "\"> "; // line 145 echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); echo " </a> </td> "; } // line 149 echo " "; // line 150 if (($context["has_sub_partitions"] ?? null)) { // line 151 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["partition"], "getSubPartitions", [], "method", false, false, false, 151)); foreach ($context['_seq'] as $context["_key"] => $context["sub_partition"]) { // line 152 echo " <tr class=\"noclick\"> <td></td> <td>"; // line 154 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sub_partition"], "getOrdinal", [], "method", false, false, false, 154), "html", null, true); echo "</td> <td>"; // line 155 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sub_partition"], "getName", [], "method", false, false, false, 155), "html", null, true); echo "</td> "; // line 156 if (($context["has_description"] ?? null)) { // line 157 echo " <td></td> "; } // line 159 echo " <td class=\"value\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sub_partition"], "getRows", [], "method", false, false, false, 159), "html", null, true); echo "</td> <td class=\"value\"> "; // line 161 $context["data_length"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, // line 162 $context["sub_partition"], "getDataLength", [], "method", false, false, false, 162), 3, 1); // line 166 echo " <span>"; echo twig_escape_filter($this->env, (($__internal_compile_4 = ($context["data_length"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4[0] ?? null) : null), "html", null, true); echo "</span> <span class=\"unit\">"; // line 167 echo twig_escape_filter($this->env, (($__internal_compile_5 = ($context["data_length"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[1] ?? null) : null), "html", null, true); echo "</span> </td> <td class=\"value\"> "; // line 170 $context["index_length"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, // line 171 $context["sub_partition"], "getIndexLength", [], "method", false, false, false, 171), 3, 1); // line 175 echo " <span>"; echo twig_escape_filter($this->env, (($__internal_compile_6 = ($context["index_length"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6[0] ?? null) : null), "html", null, true); echo "</span> <span class=\"unit\">"; // line 176 echo twig_escape_filter($this->env, (($__internal_compile_7 = ($context["index_length"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7[1] ?? null) : null), "html", null, true); echo "</span> </td> <td>"; // line 178 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sub_partition"], "getComment", [], "method", false, false, false, 178), "html", null, true); echo "</td> <td colspan=\""; // line 179 echo ((($context["range_or_list"] ?? null)) ? ("7") : ("6")); echo "\"></td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sub_partition'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 182 echo " "; } // line 183 echo " </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['partition'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 185 echo " </tbody> </table> "; } // line 188 echo " </fieldset> <fieldset class=\"pma-fieldset tblFooters d-print-none\"> <form action=\""; // line 190 echo PhpMyAdmin\Url::getFromRoute("/table/structure/partitioning"); echo "\" method=\"post\"> "; // line 191 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " "; // line 193 if (twig_test_empty(($context["partitions"] ?? null))) { // line 194 echo " <input class=\"btn btn-secondary\" type=\"submit\" value=\""; echo _gettext("Partition table"); echo "\"> "; } else { // line 196 echo " "; echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), ["db" => // line 199 ($context["db"] ?? null), "table" => // line 200 ($context["table"] ?? null), "sql_query" => (("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 201 ($context["table"] ?? null))) . " REMOVE PARTITIONING")], _gettext("Remove partitioning"), ["class" => "btn btn-secondary ajax", "id" => "remove_partitioning"]); // line 206 echo " <input class=\"btn btn-secondary\" type=\"submit\" value=\""; echo _gettext("Edit partitioning"); // line 207 echo "\"> "; } // line 209 echo " </form> </fieldset> </div> "; } public function getTemplateName() { return "table/structure/display_partitions.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 469 => 209, 465 => 207, 461 => 206, 459 => 201, 458 => 200, 457 => 199, 455 => 196, 449 => 194, 447 => 193, 442 => 191, 438 => 190, 434 => 188, 429 => 185, 422 => 183, 419 => 182, 410 => 179, 406 => 178, 401 => 176, 396 => 175, 394 => 171, 393 => 170, 387 => 167, 382 => 166, 380 => 162, 379 => 161, 373 => 159, 369 => 157, 367 => 156, 363 => 155, 359 => 154, 355 => 152, 350 => 151, 348 => 150, 345 => 149, 338 => 145, 335 => 144, 333 => 143, 332 => 142, 331 => 141, 328 => 140, 325 => 139, 323 => 138, 316 => 134, 313 => 133, 311 => 132, 310 => 131, 309 => 130, 306 => 129, 298 => 124, 295 => 123, 293 => 122, 292 => 121, 291 => 120, 288 => 119, 280 => 114, 277 => 113, 275 => 112, 274 => 111, 273 => 110, 270 => 109, 262 => 104, 259 => 103, 257 => 102, 256 => 101, 255 => 100, 252 => 99, 244 => 94, 241 => 93, 239 => 92, 238 => 91, 237 => 90, 234 => 89, 226 => 84, 223 => 83, 221 => 82, 220 => 81, 219 => 80, 216 => 79, 210 => 76, 205 => 74, 200 => 73, 198 => 69, 197 => 68, 191 => 65, 186 => 64, 184 => 60, 183 => 59, 177 => 57, 172 => 54, 170 => 53, 168 => 52, 166 => 51, 164 => 50, 161 => 48, 159 => 47, 154 => 46, 148 => 44, 141 => 41, 139 => 40, 134 => 39, 130 => 38, 124 => 34, 119 => 32, 116 => 31, 112 => 30, 108 => 29, 102 => 28, 96 => 26, 94 => 25, 91 => 24, 84 => 20, 75 => 17, 71 => 15, 69 => 14, 61 => 12, 57 => 10, 51 => 8, 49 => 7, 43 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "table/structure/display_partitions.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/structure/display_partitions.twig"); } } twig/85/850160f5fe98b0fe6384509d6b816e99.php 0000644 00000004167 15114741573 0012677 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* modals/preview_sql_modal.twig */ class __TwigTemplate_00afe169daedd6eb24b45f3f073d13a8 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 echo "<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\">"; echo _gettext("Loading"); // line 5 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 6 echo "\"></button> </div> <div class=\"modal-body\"></div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 10 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "modals/preview_sql_modal.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 55 => 10, 48 => 6, 44 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "modals/preview_sql_modal.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/preview_sql_modal.twig"); } } twig/92/9253447c5abf966f4b4f0d20077dba39.php 0000644 00000003503 15114741573 0012776 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* navigation/tree/state.twig */ class __TwigTemplate_484d1adef5e5bb9748b3dcd36970c363 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 echo ($context["quick_warp"] ?? null); echo " <div class=\"clearfloat\"></div> <ul> "; // line 6 echo ($context["fast_filter"] ?? null); echo " "; // line 7 echo ($context["controls"] ?? null); echo " </ul> "; // line 10 echo ($context["page_selector"] ?? null); echo " <div id='pma_navigation_tree_content'> <ul> "; // line 14 echo ($context["nodes"] ?? null); echo " </ul> </div> "; } public function getTemplateName() { return "navigation/tree/state.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 62 => 14, 55 => 10, 49 => 7, 45 => 6, 37 => 1,); } public function getSourceContext() { return new Source("", "navigation/tree/state.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/state.twig"); } } twig/8b/8bc777c34111eee70f65bd459e331f4f.php 0000644 00000004302 15114741573 0013140 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* file_select_options.twig */ class __TwigTemplate_84c5a51a85e1f4e323be9f085d9076d5 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'] = twig_ensure_traversable(($context["filesList"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["file"]) { // line 2 echo " <option value=\""; echo twig_escape_filter($this->env, $context["file"], "html", null, true); echo "\""; if (($context["file"] == ($context["active"] ?? null))) { echo " selected=\"selected\""; } echo "> "; // line 3 echo twig_escape_filter($this->env, $context["file"], "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } public function getTemplateName() { return "file_select_options.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 50 => 3, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "file_select_options.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/file_select_options.twig"); } } twig/83/83b71d9e3c13f9e8f5a2edb645936343.php 0000644 00000004473 15114741573 0013021 0 ustar 00 <?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_3cd6d46c2360e25c6b9b73286a7f9f08 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/preview_sql_modal.twig"); } } twig/83/836575ade1a47c775723fb4e60235059.php 0000644 00000027105 15114741573 0012567 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/body_for_table_summary.twig */ class __TwigTemplate_4ec13fae4df469eef016ada57d32eb53 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 echo "<tfoot id=\"tbl_summary_row\"> <tr> <th class=\"d-print-none\"></th> <th class=\"tbl_num text-nowrap\"> "; // line 5 ob_start(function () { return ''; }); echo _ngettext("%s table", "%s tables", abs( // line 6 ($context["num_tables"] ?? null))); $context["num_tables_trans"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 8 echo " "; echo twig_escape_filter($this->env, twig_sprintf(($context["num_tables_trans"] ?? null), PhpMyAdmin\Util::formatNumber(($context["num_tables"] ?? null), 0)), "html", null, true); echo " </th> "; // line 10 if (($context["server_replica_status"] ?? null)) { // line 11 echo " <th>"; echo _gettext("Replication"); echo "</th> "; } // line 13 echo " "; $context["sum_colspan"] = ((($context["db_is_system_schema"] ?? null)) ? (4) : (7)); // line 14 echo " "; if ((($context["num_favorite_tables"] ?? null) == 0)) { // line 15 echo " "; $context["sum_colspan"] = (($context["sum_colspan"] ?? null) - 1); // line 16 echo " "; } // line 17 echo " <th colspan=\""; echo twig_escape_filter($this->env, ($context["sum_colspan"] ?? null), "html", null, true); echo "\" class=\"d-print-none\">"; echo _gettext("Sum"); echo "</th> "; // line 18 $context["row_count_sum"] = PhpMyAdmin\Util::formatNumber(($context["sum_entries"] ?? null), 0); // line 19 echo " "; // line 20 echo " "; $context["row_sum_url"] = []; // line 21 echo " "; if (array_key_exists("approx_rows", $context)) { // line 22 echo " "; $context["row_sum_url"] = ["ajax_request" => true, "db" => // line 24 ($context["db"] ?? null), "real_row_count_all" => "true"]; // line 27 echo " "; } // line 28 echo " "; if (($context["approx_rows"] ?? null)) { // line 29 echo " "; ob_start(function () { return ''; }); // line 30 echo "<a href=\""; echo PhpMyAdmin\Url::getFromRoute("/database/structure/real-row-count", ($context["row_sum_url"] ?? null)); echo "\" class=\"ajax row_count_sum\">~"; // line 31 echo twig_escape_filter($this->env, ($context["row_count_sum"] ?? null), "html", null, true); // line 32 echo "</a>"; $context["cell_text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 34 echo " "; } else { // line 35 echo " "; $context["cell_text"] = ($context["row_count_sum"] ?? null); // line 36 echo " "; } // line 37 echo " <th class=\"value tbl_rows font-monospace text-end\">"; echo twig_escape_filter($this->env, ($context["cell_text"] ?? null), "html", null, true); echo "</th> "; // line 38 if ( !(($context["properties_num_columns"] ?? null) > 1)) { // line 39 echo " "; // line 40 echo " "; $context["default_engine"] = twig_get_attribute($this->env, $this->source, ($context["dbi"] ?? null), "fetchValue", [0 => "SELECT @@storage_engine;"], "method", false, false, false, 40); // line 41 echo " "; if (twig_test_empty(($context["default_engine"] ?? null))) { // line 42 echo " "; // line 43 echo " "; $context["default_engine"] = twig_get_attribute($this->env, $this->source, ($context["dbi"] ?? null), "fetchValue", [0 => "SELECT @@default_storage_engine;"], "method", false, false, false, 43); // line 44 echo " "; } // line 45 echo " <th class=\"text-center\"> <dfn title=\""; // line 46 echo twig_escape_filter($this->env, twig_sprintf(_gettext("%s is the default storage engine on this MySQL server."), ($context["default_engine"] ?? null)), "html", null, true); echo "\"> "; // line 47 echo twig_escape_filter($this->env, ($context["default_engine"] ?? null), "html", null, true); echo " </dfn> </th> <th> "; // line 51 if ( !twig_test_empty(($context["database_collation"] ?? null))) { // line 52 echo " <dfn title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_collation"] ?? null), "description", [], "any", false, false, false, 52), "html", null, true); echo " ("; echo _gettext("Default"); echo ")\"> "; // line 53 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_collation"] ?? null), "name", [], "any", false, false, false, 53), "html", null, true); echo " </dfn> "; } // line 56 echo " </th> "; } // line 58 echo " "; // line 59 if (($context["is_show_stats"] ?? null)) { // line 60 echo " "; $context["sum"] = PhpMyAdmin\Util::formatByteDown(($context["sum_size"] ?? null), 3, 1); // line 61 echo " "; $context["sum_formatted"] = (($__internal_compile_0 = ($context["sum"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null); // line 62 echo " "; $context["sum_unit"] = (($__internal_compile_1 = ($context["sum"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null); // line 63 echo " <th class=\"value tbl_size font-monospace text-end\">"; echo twig_escape_filter($this->env, ($context["sum_formatted"] ?? null), "html", null, true); echo " "; echo twig_escape_filter($this->env, ($context["sum_unit"] ?? null), "html", null, true); echo "</th> "; // line 65 $context["overhead"] = PhpMyAdmin\Util::formatByteDown(($context["overhead_size"] ?? null), 3, 1); // line 66 echo " "; $context["overhead_formatted"] = (($__internal_compile_2 = ($context["overhead"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[0] ?? null) : null); // line 67 echo " "; $context["overhead_unit"] = (($__internal_compile_3 = ($context["overhead"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[1] ?? null) : null); // line 68 echo " <th class=\"value tbl_overhead font-monospace text-end\">"; echo twig_escape_filter($this->env, ($context["overhead_formatted"] ?? null), "html", null, true); echo " "; echo twig_escape_filter($this->env, ($context["overhead_unit"] ?? null), "html", null, true); echo "</th> "; } // line 70 echo " "; // line 71 if (($context["show_charset"] ?? null)) { // line 72 echo " <th>"; echo twig_escape_filter($this->env, ($context["database_charset"] ?? null), "html", null, true); echo "</th> "; } // line 74 echo " "; if (($context["show_comment"] ?? null)) { // line 75 echo " <th></th> "; } // line 77 echo " "; if (($context["show_creation"] ?? null)) { // line 78 echo " <th class=\"value tbl_creation font-monospace text-end\"> "; // line 79 echo twig_escape_filter($this->env, ($context["create_time_all"] ?? null), "html", null, true); echo " </th> "; } // line 82 echo " "; if (($context["show_last_update"] ?? null)) { // line 83 echo " <th class=\"value tbl_last_update font-monospace text-end\"> "; // line 84 echo twig_escape_filter($this->env, ($context["update_time_all"] ?? null), "html", null, true); echo " </th> "; } // line 87 echo " "; if (($context["show_last_check"] ?? null)) { // line 88 echo " <th class=\"value tbl_last_check font-monospace text-end\"> "; // line 89 echo twig_escape_filter($this->env, ($context["check_time_all"] ?? null), "html", null, true); echo " </th> "; } // line 92 echo "</tr> </tfoot> "; } public function getTemplateName() { return "database/structure/body_for_table_summary.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 270 => 92, 264 => 89, 261 => 88, 258 => 87, 252 => 84, 249 => 83, 246 => 82, 240 => 79, 237 => 78, 234 => 77, 230 => 75, 227 => 74, 221 => 72, 219 => 71, 216 => 70, 208 => 68, 205 => 67, 202 => 66, 200 => 65, 192 => 63, 189 => 62, 186 => 61, 183 => 60, 181 => 59, 178 => 58, 174 => 56, 168 => 53, 161 => 52, 159 => 51, 152 => 47, 148 => 46, 145 => 45, 142 => 44, 139 => 43, 137 => 42, 134 => 41, 131 => 40, 129 => 39, 127 => 38, 122 => 37, 119 => 36, 116 => 35, 113 => 34, 110 => 32, 108 => 31, 104 => 30, 101 => 29, 98 => 28, 95 => 27, 93 => 24, 91 => 22, 88 => 21, 85 => 20, 83 => 19, 81 => 18, 74 => 17, 71 => 16, 68 => 15, 65 => 14, 62 => 13, 56 => 11, 54 => 10, 48 => 8, 45 => 6, 43 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/body_for_table_summary.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/body_for_table_summary.twig"); } } twig/1d/1db80470ac1059f2329d3038c4ab69ca.php 0000644 00000004175 15114741573 0013033 0 ustar 00 <?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; /* filter.twig */ class __TwigTemplate_386e5a6d74b6c9a31f3e06a3ddff7a1e 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=\"card mb-3\" id=\"tableFilter\"> <div class=\"card-header\">"; yield _gettext("Filters"); // line 2 yield "</div> <div class=\"card-body row row-cols-lg-auto gy-1 gx-3 align-items-center\"> <label class=\"col-12 col-form-label\" for=\"filterText\">"; yield _gettext("Containing the word:"); // line 4 yield "</label> <div class=\"col-12\"> <input class=\"form-control\" name=\"filterText\" type=\"text\" id=\"filterText\" value=\""; // line 6 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["filter_value"] ?? null), "html", null, true); yield "\"> </div> </div> </div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "filter.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 51 => 6, 47 => 4, 42 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "filter.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/filter.twig"); } } twig/1d/1d855541451c4f2f266486832319494b.php 0000644 00000005561 15114741573 0012426 0 ustar 00 <?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; /* database/create_table.twig */ class __TwigTemplate_82a1d85c2005eda2d14e45f67967cdce 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 id=\"createTableMinimalForm\" method=\"post\" action=\""; yield PhpMyAdmin\Url::getFromRoute("/table/create"); yield "\" class=\"card d-print-none lock-page\"> "; // line 2 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); yield " <div class=\"card-header\">"; // line 3 yield PhpMyAdmin\Html\Generator::getIcon("b_table_add", _gettext("Create new table"), true); yield "</div> <div class=\"card-body row row-cols-lg-auto g-3\"> <div class=\"col-12\"> <label for=\"createTableNameInput\" class=\"form-label\">"; yield _gettext("Table name"); // line 6 yield "</label> <input autocomplete=\"off\" type=\"text\" class=\"form-control\" name=\"table\" id=\"createTableNameInput\" maxlength=\"64\" required> </div> <div class=\"col-12\"> <label for=\"createTableNumFieldsInput\" class=\"form-label\">"; yield _gettext("Number of columns"); // line 10 yield "</label> <input type=\"number\" class=\"form-control\" name=\"num_fields\" id=\"createTableNumFieldsInput\" min=\"1\" value=\"4\" required> </div> <div class=\"col-12 align-self-lg-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; yield _gettext("Create"); // line 14 yield "\"> </div> </div> </form> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/create_table.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 68 => 14, 61 => 10, 54 => 6, 47 => 3, 43 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "database/create_table.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/create_table.twig"); } } twig/fd/fdaa031d86abff49d58ea187b3356628.php 0000644 00000004756 15114741573 0013313 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* preferences/autoload.twig */ class __TwigTemplate_120aa079c5e2ae993c50ab523434e1f3 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 echo "<div id=\"prefs_autoload\" class=\"alert alert-primary d-print-none hide\" role=\"alert\"> <form action=\""; // line 2 echo PhpMyAdmin\Url::getFromRoute("/preferences/manage"); echo "\" method=\"post\" class=\"disableAjax\"> "; // line 3 echo ($context["hidden_inputs"] ?? null); echo " <input type=\"hidden\" name=\"json\" value=\"\"> <input type=\"hidden\" name=\"submit_import\" value=\"1\"> <input type=\"hidden\" name=\"return_url\" value=\""; // line 6 echo twig_escape_filter($this->env, ($context["return_url"] ?? null), "html", null, true); echo "\"> "; echo _gettext("Your browser has phpMyAdmin configuration for this domain. Would you like to import it for current session?"); // line 10 echo " <br> <a href=\"#yes\">"; echo _gettext("Yes"); // line 11 echo "</a> / <a href=\"#no\">"; echo _gettext("No"); // line 12 echo "</a> / <a href=\"#delete\">"; echo _gettext("Delete settings"); // line 13 echo "</a> </form> </div> "; } public function getTemplateName() { return "preferences/autoload.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 67 => 13, 63 => 12, 59 => 11, 55 => 10, 50 => 6, 44 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "preferences/autoload.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/preferences/autoload.twig"); } } twig/fd/fddd1b733da4f42e7c6db6f938928c22.php 0000644 00000004175 15114741573 0013372 0 ustar 00 <?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; /* filter.twig */ class __TwigTemplate_964c759e9886db8991dfdb19c30a7b8c 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=\"card mb-3\" id=\"tableFilter\"> <div class=\"card-header\">"; yield _gettext("Filters"); // line 2 yield "</div> <div class=\"card-body row row-cols-lg-auto gy-1 gx-3 align-items-center\"> <label class=\"col-12 col-form-label\" for=\"filterText\">"; yield _gettext("Containing the word:"); // line 4 yield "</label> <div class=\"col-12\"> <input class=\"form-control\" name=\"filterText\" type=\"text\" id=\"filterText\" value=\""; // line 6 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["filter_value"] ?? null), "html", null, true); yield "\"> </div> </div> </div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "filter.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 51 => 6, 47 => 4, 42 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "filter.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/filter.twig"); } } twig/4c/4cfbf09b8d9e9c03d2ee7768cb25ffdb.php 0000644 00000004405 15114741573 0013532 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/insert/get_head_and_foot_of_insert_row_table.twig */ class __TwigTemplate_b1781500677588d72e4b67bd7af6c8f4 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 echo "<div class=\"table-responsive-lg\"> <table class=\"table table-striped align-middle my-3 insertRowTable w-auto\"> <thead> <tr> <th>"; echo _gettext("Column"); // line 5 echo "</th> "; // line 6 echo ($context["type"] ?? null); echo " "; // line 7 echo ($context["function"] ?? null); echo " <th>"; echo _gettext("Null"); // line 8 echo "</th> <th class=\"w-50\">"; echo _gettext("Value"); // line 9 echo "</th> </tr> </thead> <tfoot> <tr> <th colspan=\"5\" class=\"tblFooters text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 15 echo "\"> </th> </tr> </tfoot>"; } public function getTemplateName() { return "table/insert/get_head_and_foot_of_insert_row_table.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 69 => 15, 60 => 9, 56 => 8, 51 => 7, 47 => 6, 44 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "table/insert/get_head_and_foot_of_insert_row_table.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/get_head_and_foot_of_insert_row_table.twig"); } } twig/95/95ebaa3230735f368f77119705d88903.php 0000644 00000013512 15114741573 0012515 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/triggers/list.twig */ class __TwigTemplate_aa3ff96b4d81553de19affd56e50cf1b 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 echo "<div class=\"container-fluid my-3\"> <h2> "; // line 3 echo PhpMyAdmin\Html\Generator::getIcon("b_triggers", _gettext("Triggers")); echo " "; // line 4 echo PhpMyAdmin\Html\MySQLDocumentation::show("TRIGGERS"); echo " </h2> <div class=\"d-flex flex-wrap my-3\"> <div> <div class=\"input-group\"> <div class=\"input-group-text\"> <div class=\"form-check mb-0\"> <input class=\"form-check-input checkall_box\" type=\"checkbox\" value=\"\" id=\"checkAllCheckbox\" form=\"rteListForm\"> <label class=\"form-check-label\" for=\"checkAllCheckbox\">"; echo _gettext("Check all"); // line 13 echo "</label> </div> </div> <button class=\"btn btn-outline-secondary\" id=\"bulkActionExportButton\" type=\"submit\" name=\"submit_mult\" value=\"export\" form=\"rteListForm\" title=\""; echo _gettext("Export"); // line 16 echo "\"> "; // line 17 echo PhpMyAdmin\Html\Generator::getIcon("b_export", _gettext("Export")); echo " </button> <button class=\"btn btn-outline-secondary\" id=\"bulkActionDropButton\" type=\"submit\" name=\"submit_mult\" value=\"drop\" form=\"rteListForm\" title=\""; echo _gettext("Drop"); // line 19 echo "\"> "; // line 20 echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); echo " </button> </div> </div> <div class=\"ms-auto\"> <a class=\"ajax add_anchor btn btn-primary"; // line 26 echo (( !($context["has_privilege"] ?? null)) ? (" disabled") : ("")); echo "\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/database/triggers", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "add_item" => true]); echo "\" role=\"button\""; echo (( !($context["has_privilege"] ?? null)) ? (" tabindex=\"-1\" aria-disabled=\"true\"") : ("")); echo "> "; // line 27 echo PhpMyAdmin\Html\Generator::getIcon("b_trigger_add", _gettext("Create new trigger")); echo " </a> </div> </div> <form id=\"rteListForm\" class=\"ajax\" action=\""; // line 32 echo PhpMyAdmin\Url::getFromRoute((( !twig_test_empty(($context["table"] ?? null))) ? ("/table/triggers") : ("/database/triggers"))); echo "\"> "; // line 33 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <div id=\"nothing2display\""; // line 35 echo (( !twig_test_empty(($context["items"] ?? null))) ? (" class=\"hide\"") : ("")); echo "> "; echo _gettext("There are no triggers to display."); // line 37 echo " </div> <table id=\"triggersTable\" class=\"table table-striped table-hover"; // line 39 echo ((twig_test_empty(($context["items"] ?? null))) ? (" hide") : ("")); echo " w-auto data\"> <thead> <tr> <th></th> <th>"; echo _gettext("Name"); // line 43 echo "</th> "; // line 44 if (twig_test_empty(($context["table"] ?? null))) { // line 45 echo " <th>"; echo _gettext("Table"); echo "</th> "; } // line 47 echo " <th>"; echo _gettext("Time"); echo "</th> <th>"; echo _gettext("Event"); // line 48 echo "</th> <th colspan=\"3\"></th> </tr> </thead> <tbody> <tr class=\"hide\">"; // line 53 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(range(0, ((twig_test_empty(($context["table"] ?? null))) ? (7) : (6)))); foreach ($context['_seq'] as $context["_key"] => $context["i"]) { echo "<td></td>"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; echo "</tr> "; // line 55 echo ($context["rows"] ?? null); echo " </tbody> </table> </form> </div> "; } public function getTemplateName() { return "database/triggers/list.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 163 => 55, 151 => 53, 144 => 48, 138 => 47, 132 => 45, 130 => 44, 127 => 43, 119 => 39, 115 => 37, 110 => 35, 105 => 33, 101 => 32, 93 => 27, 85 => 26, 76 => 20, 73 => 19, 67 => 17, 64 => 16, 58 => 13, 45 => 4, 41 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "database/triggers/list.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/triggers/list.twig"); } } twig/28/2803d432facd9ba783d536c685158550.php 0000644 00000035757 15114741573 0012656 0 ustar 00 <?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_fd81a4d38a29189cb516c9d74db4a4ee 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" . ((($context["is_ajax"] ?? null)) ? (" 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" . ((($context["is_ajax"] ?? null)) ? (" 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/checkbox_and_links.twig"); } } twig/ec/ec583ce0881b4f453741a89768a682d3.php 0000644 00000033276 15114741573 0013024 0 ustar 00 <?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_8a60f1466867cf7a3cff97df9a96d9ae 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/config/form_display/display.twig"); } } twig/ec/ecbfd7e3fc6dfc387084d159076f8d0a.php 0000644 00000041634 15114741573 0013455 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/search/input_box.twig */ class __TwigTemplate_9c3f4dfb5c9b31b43f38d25831a9c365 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 if ((($context["foreigners"] ?? null) && $this->env->getFunction('search_column_in_foreigners')->getCallable()(($context["foreigners"] ?? null), ($context["column_name"] ?? null)))) { // line 3 echo " "; if (twig_test_iterable((($__internal_compile_0 = ($context["foreign_data"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["disp_row"] ?? null) : null))) { // line 4 echo " <select name=\"criteriaValues["; echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "]\" id=\""; // line 5 echo twig_escape_filter($this->env, ($context["column_id"] ?? null), "html", null, true); echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "\"> "; // line 6 echo $this->env->getFunction('foreign_dropdown')->getCallable()((($__internal_compile_1 = // line 7 ($context["foreign_data"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["disp_row"] ?? null) : null), (($__internal_compile_2 = // line 8 ($context["foreign_data"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["foreign_field"] ?? null) : null), (($__internal_compile_3 = // line 9 ($context["foreign_data"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["foreign_display"] ?? null) : null), "", // line 11 ($context["foreign_max_limit"] ?? null)); // line 12 echo " </select> "; } elseif (((($__internal_compile_4 = // line 14 ($context["foreign_data"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["foreign_link"] ?? null) : null) == true)) { // line 15 echo " <input type=\"text\" id=\""; // line 16 echo twig_escape_filter($this->env, ($context["column_id"] ?? null), "html", null, true); echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "\" name=\"criteriaValues["; // line 17 echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "]\" id=\"field_"; // line 18 echo twig_escape_filter($this->env, ($context["column_name_hash"] ?? null), "html", null, true); echo "["; echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "]\" class=\"textfield\" "; // line 20 if (twig_get_attribute($this->env, $this->source, ($context["criteria_values"] ?? null), ($context["column_index"] ?? null), [], "array", true, true, false, 20)) { // line 21 echo " value=\""; echo twig_escape_filter($this->env, (($__internal_compile_5 = ($context["criteria_values"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[($context["column_index"] ?? null)] ?? null) : null), "html", null, true); echo "\" "; } // line 22 echo "> <a class=\"ajax browse_foreign\" href=\""; // line 23 echo PhpMyAdmin\Url::getFromRoute("/browse-foreigners"); echo "\" data-post=\""; // line 24 echo PhpMyAdmin\Url::getCommon(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)], "", false); // line 25 echo "&field="; echo twig_escape_filter($this->env, twig_urlencode_filter(($context["column_name"] ?? null)), "html", null, true); echo "&fieldkey="; // line 26 echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "&fromsearch=1\"> "; // line 27 echo PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse foreign values")); echo " </a> "; } } elseif (twig_in_filter( // line 30 ($context["column_type"] ?? null), PhpMyAdmin\Utils\Gis::getDataTypes())) { // line 31 echo " <input type=\"text\" name=\"criteriaValues["; // line 32 echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "]\" size=\"40\" class=\"textfield\" id=\"field_"; // line 35 echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "\"> "; // line 36 if (($context["in_fbs"] ?? null)) { // line 37 echo " "; $context["edit_str"] = PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit/Insert")); // line 38 echo " <span class=\"open_search_gis_editor\"> "; // line 39 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/gis-data-editor"), [], ($context["edit_str"] ?? null), [], "_blank"); echo " </span> "; } } elseif (((is_string($__internal_compile_6 = // line 42 ($context["column_type"] ?? null)) && is_string($__internal_compile_7 = "enum") && ('' === $__internal_compile_7 || 0 === strpos($__internal_compile_6, $__internal_compile_7))) || ((is_string($__internal_compile_8 = // line 43 ($context["column_type"] ?? null)) && is_string($__internal_compile_9 = "set") && ('' === $__internal_compile_9 || 0 === strpos($__internal_compile_8, $__internal_compile_9))) && ($context["in_zoom_search_edit"] ?? null)))) { // line 44 echo " "; $context["in_zoom_search_edit"] = false; // line 45 echo " "; $context["value"] = PhpMyAdmin\Util::parseEnumSetValues(($context["column_type"] ?? null)); // line 46 echo " "; $context["cnt_value"] = twig_length_filter($this->env, ($context["value"] ?? null)); // line 47 echo " "; // line 53 echo " "; if ((((is_string($__internal_compile_10 = ($context["column_type"] ?? null)) && is_string($__internal_compile_11 = "enum") && ('' === $__internal_compile_11 || 0 === strpos($__internal_compile_10, $__internal_compile_11))) && !($context["in_zoom_search_edit"] ?? null)) || ((is_string($__internal_compile_12 = // line 54 ($context["column_type"] ?? null)) && is_string($__internal_compile_13 = "set") && ('' === $__internal_compile_13 || 0 === strpos($__internal_compile_12, $__internal_compile_13))) && ($context["in_zoom_search_edit"] ?? null)))) { // line 55 echo " <select name=\"criteriaValues["; echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "]\" id=\""; // line 56 echo twig_escape_filter($this->env, ($context["column_id"] ?? null), "html", null, true); echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "\"> "; } else { // line 58 echo " <select name=\"criteriaValues["; echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "]\" id=\""; // line 59 echo twig_escape_filter($this->env, ($context["column_id"] ?? null), "html", null, true); echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "\" multiple=\"multiple\" size=\""; // line 61 echo twig_escape_filter($this->env, min(3, ($context["cnt_value"] ?? null)), "html", null, true); echo "\"> "; } // line 63 echo " "; // line 64 echo " <option value=\"\"></option> "; // line 65 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(range(0, (($context["cnt_value"] ?? null) - 1))); foreach ($context['_seq'] as $context["_key"] => $context["i"]) { // line 66 echo " "; if (((twig_get_attribute($this->env, $this->source, ($context["criteria_values"] ?? null), ($context["column_index"] ?? null), [], "array", true, true, false, 66) && twig_test_iterable((($__internal_compile_14 = // line 67 ($context["criteria_values"] ?? null)) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14[($context["column_index"] ?? null)] ?? null) : null))) && twig_in_filter((($__internal_compile_15 = // line 68 ($context["value"] ?? null)) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15[$context["i"]] ?? null) : null), (($__internal_compile_16 = ($context["criteria_values"] ?? null)) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16[($context["column_index"] ?? null)] ?? null) : null)))) { // line 69 echo " <option value=\""; echo (($__internal_compile_17 = ($context["value"] ?? null)) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17[$context["i"]] ?? null) : null); echo "\" selected> "; // line 70 echo (($__internal_compile_18 = ($context["value"] ?? null)) && is_array($__internal_compile_18) || $__internal_compile_18 instanceof ArrayAccess ? ($__internal_compile_18[$context["i"]] ?? null) : null); echo " </option> "; } else { // line 73 echo " <option value=\""; echo (($__internal_compile_19 = ($context["value"] ?? null)) && is_array($__internal_compile_19) || $__internal_compile_19 instanceof ArrayAccess ? ($__internal_compile_19[$context["i"]] ?? null) : null); echo "\"> "; // line 74 echo (($__internal_compile_20 = ($context["value"] ?? null)) && is_array($__internal_compile_20) || $__internal_compile_20 instanceof ArrayAccess ? ($__internal_compile_20[$context["i"]] ?? null) : null); echo " </option> "; } // line 77 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 78 echo " </select> "; } else { // line 80 echo " "; $context["the_class"] = "textfield"; // line 81 echo " "; if ((($context["column_type"] ?? null) == "date")) { // line 82 echo " "; $context["the_class"] = (($context["the_class"] ?? null) . " datefield"); // line 83 echo " "; } elseif (((($context["column_type"] ?? null) == "datetime") || (is_string($__internal_compile_21 = ($context["column_type"] ?? null)) && is_string($__internal_compile_22 = "timestamp") && ('' === $__internal_compile_22 || 0 === strpos($__internal_compile_21, $__internal_compile_22))))) { // line 84 echo " "; $context["the_class"] = (($context["the_class"] ?? null) . " datetimefield"); // line 85 echo " "; } elseif ((is_string($__internal_compile_23 = ($context["column_type"] ?? null)) && is_string($__internal_compile_24 = "bit") && ('' === $__internal_compile_24 || 0 === strpos($__internal_compile_23, $__internal_compile_24)))) { // line 86 echo " "; $context["the_class"] = (($context["the_class"] ?? null) . " bit"); // line 87 echo " "; } // line 88 echo " <input type=\"text\" name=\"criteriaValues["; // line 89 echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "]\" data-type=\""; // line 90 echo twig_escape_filter($this->env, ($context["column_data_type"] ?? null), "html", null, true); echo "\" "; // line 91 echo ($context["html_attributes"] ?? null); echo " size=\"40\" class=\""; // line 93 echo twig_escape_filter($this->env, ($context["the_class"] ?? null), "html", null, true); echo "\" id=\""; // line 94 echo twig_escape_filter($this->env, ($context["column_id"] ?? null), "html", null, true); echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "\" "; // line 95 if (twig_get_attribute($this->env, $this->source, ($context["criteria_values"] ?? null), ($context["column_index"] ?? null), [], "array", true, true, false, 95)) { // line 96 echo " value=\""; echo twig_escape_filter($this->env, (($__internal_compile_25 = ($context["criteria_values"] ?? null)) && is_array($__internal_compile_25) || $__internal_compile_25 instanceof ArrayAccess ? ($__internal_compile_25[($context["column_index"] ?? null)] ?? null) : null), "html", null, true); echo "\""; } // line 97 echo "> "; } } public function getTemplateName() { return "table/search/input_box.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 289 => 97, 284 => 96, 282 => 95, 277 => 94, 273 => 93, 268 => 91, 264 => 90, 260 => 89, 257 => 88, 254 => 87, 251 => 86, 248 => 85, 245 => 84, 242 => 83, 239 => 82, 236 => 81, 233 => 80, 229 => 78, 223 => 77, 217 => 74, 212 => 73, 206 => 70, 201 => 69, 199 => 68, 198 => 67, 196 => 66, 192 => 65, 189 => 64, 187 => 63, 182 => 61, 176 => 59, 171 => 58, 165 => 56, 160 => 55, 158 => 54, 156 => 53, 154 => 47, 151 => 46, 148 => 45, 145 => 44, 143 => 43, 142 => 42, 136 => 39, 133 => 38, 130 => 37, 128 => 36, 124 => 35, 118 => 32, 115 => 31, 113 => 30, 107 => 27, 103 => 26, 99 => 25, 97 => 24, 94 => 23, 91 => 22, 85 => 21, 83 => 20, 76 => 18, 72 => 17, 67 => 16, 64 => 15, 62 => 14, 58 => 12, 56 => 11, 55 => 9, 54 => 8, 53 => 7, 52 => 6, 47 => 5, 42 => 4, 39 => 3, 37 => 2,); } public function getSourceContext() { return new Source("", "table/search/input_box.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/search/input_box.twig"); } } twig/c1/c1192148a6e9d1919f1e97974b6c9a21.php 0000644 00000105336 15114741573 0012733 0 ustar 00 <?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_95c9d99fa9cd690c17bcdae33ffe0bf0 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/home/index.twig"); } } twig/3c/3cd502e7da7254509eea61f60f47a5b1.php 0000644 00000057030 15114741573 0013122 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* import.twig */ class __TwigTemplate_2d522f84463917b42d464001095161ea extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ 'title' => [$this, 'block_title'], ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class=\"container\"> <h2 class=\"my-3\"> "; // line 3 echo PhpMyAdmin\Html\Generator::getImage("b_import", _gettext("Import")); echo " "; // line 4 $this->displayBlock('title', $context, $blocks); // line 5 echo " </h2> "; // line 7 echo ($context["page_settings_error_html"] ?? null); echo " "; // line 8 echo ($context["page_settings_html"] ?? null); echo " <iframe id=\"import_upload_iframe\" name=\"import_upload_iframe\" width=\"1\" height=\"1\" class=\"hide\"></iframe> <div id=\"import_form_status\" class=\"hide\"></div> <div id=\"importmain\"> <img src=\""; // line 13 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true); echo "\" width=\"16\" height=\"16\" alt=\"ajax clock\" class=\"hide\"> <script type=\"text/javascript\"> //<![CDATA[ "; // line 17 $this->loadTemplate("import/javascript.twig", "import.twig", 17)->display(twig_to_array(["upload_id" => ($context["upload_id"] ?? null), "handler" => ($context["handler"] ?? null)])); // line 18 echo "//]]> </script> <form id=\"import_file_form\" action=\""; // line 21 echo PhpMyAdmin\Url::getFromRoute("/import"); echo "\" method=\"post\" enctype=\"multipart/form-data\" name=\"import\" class=\"ajax\""; // line 22 if ((($context["handler"] ?? null) != "PhpMyAdmin\\Plugins\\Import\\Upload\\UploadNoplugin")) { echo " target=\"import_upload_iframe\""; } echo "> "; // line 23 echo PhpMyAdmin\Url::getHiddenInputs(($context["hidden_inputs"] ?? null)); echo " <div class=\"card mb-3\"> <div class=\"card-header\">"; echo _gettext("File to import:"); // line 26 echo "</div> <div class=\"card-body\"> "; // line 29 echo " "; if ( !twig_test_empty(($context["compressions"] ?? null))) { // line 30 echo " <p class=\"card-text\"> "; // line 31 echo twig_escape_filter($this->env, twig_sprintf(_gettext("File may be compressed (%s) or uncompressed."), twig_join_filter(($context["compressions"] ?? null), ", ")), "html", null, true); echo "<br> "; echo _gettext("A compressed file's name must end in <strong>.[format].[compression]</strong>. Example: <strong>.sql.zip</strong>"); // line 33 echo " </p> "; } // line 35 echo " "; // line 36 if ((($context["is_upload"] ?? null) && !twig_test_empty(($context["upload_dir"] ?? null)))) { // line 37 echo " "; $context["use_local_file_import"] = ( !twig_test_empty(($context["timeout_passed_global"] ?? null)) && !twig_test_empty(($context["local_import_file"] ?? null))); // line 38 echo " <ul class=\"nav nav-pills mb-3\" id=\"importFileTab\" role=\"tablist\"> <li class=\"nav-item\" role=\"presentation\"> <button class=\"nav-link"; // line 40 echo (( !($context["use_local_file_import"] ?? null)) ? (" active") : ("")); echo "\" id=\"uploadFileTab\" data-bs-toggle=\"tab\" data-bs-target=\"#uploadFile\" type=\"button\" role=\"tab\" aria-controls=\"uploadFile\" aria-selected=\""; echo (( !($context["use_local_file_import"] ?? null)) ? ("true") : ("false")); echo "\">"; echo _gettext("Upload a file"); echo "</button> </li> <li class=\"nav-item\" role=\"presentation\"> <button class=\"nav-link"; // line 43 echo ((($context["use_local_file_import"] ?? null)) ? (" active") : ("")); echo "\" id=\"localFileTab\" data-bs-toggle=\"tab\" data-bs-target=\"#localFile\" type=\"button\" role=\"tab\" aria-controls=\"localFile\" aria-selected=\""; echo ((($context["use_local_file_import"] ?? null)) ? ("true") : ("false")); echo "\">"; echo _gettext("Select file to import"); echo "</button> </li> </ul> <div class=\"tab-content mb-3\" id=\"importFileTabContent\"> <div class=\"tab-pane fade"; // line 47 echo (( !($context["use_local_file_import"] ?? null)) ? (" show active") : ("")); echo "\" id=\"uploadFile\" role=\"tabpanel\" aria-labelledby=\"uploadFileTab\"> <input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\""; // line 48 echo twig_escape_filter($this->env, ($context["max_upload_size"] ?? null), "html", null, true); echo "\"> <div class=\"mb-3\"> <label class=\"form-label\" for=\"input_import_file\">"; echo _gettext("Browse your computer:"); // line 50 echo " <small>"; echo twig_escape_filter($this->env, ($context["formatted_maximum_upload_size"] ?? null), "html", null, true); echo "</small></label> <input class=\"form-control\" type=\"file\" name=\"import_file\" id=\"input_import_file\"> </div> <div id=\"upload_form_status\" class=\"hide\"></div> <div id=\"upload_form_status_info\" class=\"hide\"></div> <p class=\"card-text\">"; echo _gettext("You may also drag and drop a file on any page."); // line 55 echo "</p> </div> <div class=\"tab-pane fade"; // line 58 echo ((($context["use_local_file_import"] ?? null)) ? (" show active") : ("")); echo "\" id=\"localFile\" role=\"tabpanel\" aria-labelledby=\"localFileTab\"> "; // line 59 if ((($context["local_files"] ?? null) === false)) { // line 60 echo " "; echo $this->env->getFilter('error')->getCallable()(_gettext("The directory you set for upload work cannot be reached.")); echo " "; } elseif ( !twig_test_empty( // line 61 ($context["local_files"] ?? null))) { // line 62 echo " <label class=\"form-label\" for=\"select_local_import_file\">"; echo PhpMyAdmin\Sanitize::sanitizeMessage(twig_sprintf(_gettext("Select from the web server upload directory [strong]%s[/strong]:"), ($context["user_upload_dir"] ?? null))); echo "</label> <select class=\"form-select\" size=\"1\" name=\"local_import_file\" id=\"select_local_import_file\"> <option value=\"\"></option> "; // line 65 echo ($context["local_files"] ?? null); echo " </select> "; } else { // line 68 echo " <div class=\"alert alert-info\" role=\"alert\"> "; echo _gettext("There are no files to import!"); // line 70 echo " </div> "; } // line 72 echo " </div> </div> "; } elseif ( // line 74 ($context["is_upload"] ?? null)) { // line 75 echo " <input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\""; echo twig_escape_filter($this->env, ($context["max_upload_size"] ?? null), "html", null, true); echo "\"> <div class=\"mb-3\"> <label class=\"form-label\" for=\"input_import_file\">"; echo _gettext("Browse your computer:"); // line 77 echo " <small>"; echo twig_escape_filter($this->env, ($context["formatted_maximum_upload_size"] ?? null), "html", null, true); echo "</small></label> <input class=\"form-control\" type=\"file\" name=\"import_file\" id=\"input_import_file\"> </div> <div id=\"upload_form_status\" class=\"hide\"></div> <div id=\"upload_form_status_info\" class=\"hide\"></div> <p class=\"card-text\">"; echo _gettext("You may also drag and drop a file on any page."); // line 82 echo "</p> "; } elseif ( !twig_test_empty( // line 83 ($context["upload_dir"] ?? null))) { // line 84 echo " "; if ((($context["local_files"] ?? null) === false)) { // line 85 echo " "; echo $this->env->getFilter('error')->getCallable()(_gettext("The directory you set for upload work cannot be reached.")); echo " "; } elseif ( !twig_test_empty( // line 86 ($context["local_files"] ?? null))) { // line 87 echo " <div class=\"mb-3\"> <label class=\"form-label\" for=\"select_local_import_file\">"; // line 88 echo PhpMyAdmin\Sanitize::sanitizeMessage(twig_sprintf(_gettext("Select from the web server upload directory [strong]%s[/strong]:"), ($context["user_upload_dir"] ?? null))); echo "</label> <select class=\"form-select\" size=\"1\" name=\"local_import_file\" id=\"select_local_import_file\"> <option value=\"\"></option> "; // line 91 echo ($context["local_files"] ?? null); echo " </select> </div> "; } else { // line 95 echo " <div class=\"alert alert-info\" role=\"alert\"> "; echo _gettext("There are no files to import!"); // line 97 echo " </div> "; } // line 99 echo " "; } else { // line 100 echo " "; echo $this->env->getFilter('notice')->getCallable()(_gettext("File uploads are not allowed on this server.")); echo " "; } // line 102 echo " <label class=\"form-label\" for=\"charset_of_file\">"; echo _gettext("Character set of the file:"); // line 103 echo "</label> "; // line 104 if (($context["is_encoding_supported"] ?? null)) { // line 105 echo " <select class=\"form-select\" id=\"charset_of_file\" name=\"charset_of_file\" size=\"1\"> "; // line 106 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["encodings"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 107 echo " <option value=\""; echo twig_escape_filter($this->env, $context["charset"], "html", null, true); echo "\""; if (((twig_test_empty(($context["import_charset"] ?? null)) && ($context["charset"] == "utf-8")) || ($context["charset"] == ($context["import_charset"] ?? null)))) { echo " selected"; } echo ">"; // line 108 echo twig_escape_filter($this->env, $context["charset"], "html", null, true); // line 109 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 111 echo " </select> "; } else { // line 113 echo " <select class=\"form-select\" lang=\"en\" dir=\"ltr\" name=\"charset_of_file\" id=\"charset_of_file\"> <option value=\"\"></option> "; // line 115 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 116 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 116), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getDescription", [], "method", false, false, false, 116), "html", null, true); echo "\""; echo (((twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 116) == "utf8")) ? (" selected") : ("")); echo ">"; // line 117 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 117), "html", null, true); // line 118 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 120 echo " </select> "; } // line 122 echo " </div> </div> <div class=\"card mb-3\"> <div class=\"card-header\">"; echo _gettext("Partial import:"); // line 126 echo "</div> <div class=\"card-body\"> "; // line 128 if ((array_key_exists("timeout_passed", $context) && ($context["timeout_passed"] ?? null))) { // line 129 echo " <input type=\"hidden\" name=\"skip\" value=\""; echo twig_escape_filter($this->env, ($context["offset"] ?? null), "html", null, true); echo "\"> <div class=\"alert alert-info\" role=\"alert\"> "; // line 131 echo twig_escape_filter($this->env, twig_sprintf(_gettext("Previous import timed out, after resubmitting will continue from position %d."), ($context["offset"] ?? null)), "html", null, true); echo " </div> "; } // line 134 echo " <div class=\"form-check form-switch mb-3\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"allow_interrupt\" value=\"yes\" id=\"checkbox_allow_interrupt\""; // line 136 echo ($context["is_allow_interrupt_checked"] ?? null); echo " aria-describedby=\"allowInterruptHelp\"> <label class=\"form-check-label\" for=\"checkbox_allow_interrupt\"> "; echo _gettext("Allow the interruption of an import in case the script detects it is close to the PHP timeout limit."); // line 139 echo " </label> <div id=\"allowInterruptHelp\" class=\"form-text\">"; echo _gettext("This might be a good way to import large files, however it can break transactions."); // line 140 echo "</div> </div> "; // line 143 if ( !(array_key_exists("timeout_passed", $context) && ($context["timeout_passed"] ?? null))) { // line 144 echo " <label class=\"form-label\" for=\"text_skip_queries\">"; echo _gettext("Skip this number of queries (for SQL) starting from the first one:"); echo "</label> <input class=\"form-control\" type=\"number\" name=\"skip_queries\" value=\""; // line 145 echo ($context["skip_queries_default"] ?? null); echo "\" id=\"text_skip_queries\" min=\"0\"> "; } else { // line 147 echo " "; // line 148 echo " <input type=\"hidden\" name=\"skip_queries\" value=\""; echo ($context["skip_queries_default"] ?? null); echo "\" id=\"text_skip_queries\"> "; } // line 150 echo " </div> </div> <div class=\"card mb-3\"> <div class=\"card-header\">"; echo _gettext("Other options"); // line 154 echo "</div> <div class=\"card-body\"> <input type=\"hidden\" name=\"fk_checks\" value=\"0\"> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"fk_checks\" id=\"fk_checks\" value=\"1\""; // line 158 echo ((($context["is_foreign_key_check"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"fk_checks\">"; echo _gettext("Enable foreign key checks"); // line 159 echo "</label> </div> </div> </div> <div class=\"card mb-3\"> <div class=\"card-header\">"; echo _gettext("Format"); // line 165 echo "</div> <div class=\"card-body\"> <select class=\"form-select\" id=\"plugins\" name=\"format\" aria-label=\""; echo _gettext("Format"); // line 167 echo "\"> "; // line 168 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["plugins_choice"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 169 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 169), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["option"], "is_selected", [], "any", false, false, false, 169)) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "text", [], "any", false, false, false, 169), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 171 echo " </select> "; // line 173 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["plugins_choice"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 174 echo " <input type=\"hidden\" id=\"force_file_"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 174), "html", null, true); echo "\" value=\"true\"> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 176 echo " <div id=\"import_notification\"></div> </div> </div> <div class=\"card mb-3\" id=\"format_specific_opts\"> <div class=\"card-header\">"; echo _gettext("Format-specific options:"); // line 182 echo "</div> <div class=\"card-body\"> "; // line 184 echo ($context["options"] ?? null); echo " </div> </div> "; // line 189 echo " "; if (($context["can_convert_kanji"] ?? null)) { // line 190 echo " <div class=\"card mb-3\" id=\"kanji_encoding\"> <div class=\"card-header\">"; echo _gettext("Encoding Conversion:"); // line 191 echo "</div> <div class=\"card-body\"> "; // line 193 $this->loadTemplate("encoding/kanji_encoding_form.twig", "import.twig", 193)->display($context); // line 194 echo " </div> </div> "; } // line 197 echo " <div id=\"submit\"> <input id=\"buttonGo\" class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Import"); // line 199 echo "\"> </div> </form> </div> </div> "; } // line 4 public function block_title($context, array $blocks = []) { $macros = $this->macros; } public function getTemplateName() { return "import.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 527 => 4, 518 => 199, 513 => 197, 508 => 194, 506 => 193, 502 => 191, 498 => 190, 495 => 189, 488 => 184, 484 => 182, 475 => 176, 466 => 174, 462 => 173, 458 => 171, 445 => 169, 441 => 168, 438 => 167, 433 => 165, 424 => 159, 419 => 158, 413 => 154, 406 => 150, 400 => 148, 398 => 147, 393 => 145, 388 => 144, 386 => 143, 381 => 140, 377 => 139, 371 => 136, 367 => 134, 361 => 131, 355 => 129, 353 => 128, 349 => 126, 342 => 122, 338 => 120, 331 => 118, 329 => 117, 321 => 116, 317 => 115, 313 => 113, 309 => 111, 302 => 109, 300 => 108, 292 => 107, 288 => 106, 285 => 105, 283 => 104, 280 => 103, 276 => 102, 270 => 100, 267 => 99, 263 => 97, 259 => 95, 252 => 91, 246 => 88, 243 => 87, 241 => 86, 236 => 85, 233 => 84, 231 => 83, 228 => 82, 218 => 77, 211 => 75, 209 => 74, 205 => 72, 201 => 70, 197 => 68, 191 => 65, 184 => 62, 182 => 61, 177 => 60, 175 => 59, 171 => 58, 166 => 55, 156 => 50, 150 => 48, 146 => 47, 135 => 43, 125 => 40, 121 => 38, 118 => 37, 116 => 36, 113 => 35, 109 => 33, 104 => 31, 101 => 30, 98 => 29, 94 => 26, 87 => 23, 81 => 22, 78 => 21, 73 => 18, 71 => 17, 64 => 13, 56 => 8, 52 => 7, 48 => 5, 46 => 4, 42 => 3, 38 => 1,); } public function getSourceContext() { return new Source("", "import.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/import.twig"); } } twig/3c/3ccc4940fff089164d06e0e3577c6e5f.php 0000644 00000005025 15114741573 0013143 0 ustar 00 <?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; /* database/structure/bulk_action_modal.twig */ class __TwigTemplate_895fb38372a4146a1c11bfe45babdd1a 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=\"bulkActionModal\" data-bs-backdrop=\"static\" data-bs-keyboard=\"false\" tabindex=\"-1\" aria-labelledby=\"bulkActionLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog modal-dialog-centered\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"bulkActionLabel\"></h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Cancel"); // line 7 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("Cancel"); // line 11 yield "</button> <button type=\"button\" class=\"btn btn-primary\" id=\"bulkActionContinue\">"; yield _gettext("Continue"); // line 12 yield "</button> </div> </div> </div> </div>"; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/structure/bulk_action_modal.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 58 => 12, 54 => 11, 47 => 7, 38 => 1,); } public function getSourceContext() { return new Source("", "database/structure/bulk_action_modal.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/bulk_action_modal.twig"); } } twig/3a/3a4c9b3b54214453506ca35e1e425b0c.php 0000644 00000027105 15114741573 0012737 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/body_for_table_summary.twig */ class __TwigTemplate_69284dda15b79fe31095f0c0f4e9f2db 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 echo "<tfoot id=\"tbl_summary_row\"> <tr> <th class=\"d-print-none\"></th> <th class=\"tbl_num text-nowrap\"> "; // line 5 ob_start(function () { return ''; }); echo _ngettext("%s table", "%s tables", abs( // line 6 ($context["num_tables"] ?? null))); $context["num_tables_trans"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 8 echo " "; echo twig_escape_filter($this->env, twig_sprintf(($context["num_tables_trans"] ?? null), PhpMyAdmin\Util::formatNumber(($context["num_tables"] ?? null), 0)), "html", null, true); echo " </th> "; // line 10 if (($context["server_replica_status"] ?? null)) { // line 11 echo " <th>"; echo _gettext("Replication"); echo "</th> "; } // line 13 echo " "; $context["sum_colspan"] = ((($context["db_is_system_schema"] ?? null)) ? (4) : (7)); // line 14 echo " "; if ((($context["num_favorite_tables"] ?? null) == 0)) { // line 15 echo " "; $context["sum_colspan"] = (($context["sum_colspan"] ?? null) - 1); // line 16 echo " "; } // line 17 echo " <th colspan=\""; echo twig_escape_filter($this->env, ($context["sum_colspan"] ?? null), "html", null, true); echo "\" class=\"d-print-none\">"; echo _gettext("Sum"); echo "</th> "; // line 18 $context["row_count_sum"] = PhpMyAdmin\Util::formatNumber(($context["sum_entries"] ?? null), 0); // line 19 echo " "; // line 20 echo " "; $context["row_sum_url"] = []; // line 21 echo " "; if (array_key_exists("approx_rows", $context)) { // line 22 echo " "; $context["row_sum_url"] = ["ajax_request" => true, "db" => // line 24 ($context["db"] ?? null), "real_row_count_all" => "true"]; // line 27 echo " "; } // line 28 echo " "; if (($context["approx_rows"] ?? null)) { // line 29 echo " "; ob_start(function () { return ''; }); // line 30 echo "<a href=\""; echo PhpMyAdmin\Url::getFromRoute("/database/structure/real-row-count", ($context["row_sum_url"] ?? null)); echo "\" class=\"ajax row_count_sum\">~"; // line 31 echo twig_escape_filter($this->env, ($context["row_count_sum"] ?? null), "html", null, true); // line 32 echo "</a>"; $context["cell_text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 34 echo " "; } else { // line 35 echo " "; $context["cell_text"] = ($context["row_count_sum"] ?? null); // line 36 echo " "; } // line 37 echo " <th class=\"value tbl_rows font-monospace text-end\">"; echo twig_escape_filter($this->env, ($context["cell_text"] ?? null), "html", null, true); echo "</th> "; // line 38 if ( !(($context["properties_num_columns"] ?? null) > 1)) { // line 39 echo " "; // line 40 echo " "; $context["default_engine"] = twig_get_attribute($this->env, $this->source, ($context["dbi"] ?? null), "fetchValue", [0 => "SELECT @@storage_engine;"], "method", false, false, false, 40); // line 41 echo " "; if (twig_test_empty(($context["default_engine"] ?? null))) { // line 42 echo " "; // line 43 echo " "; $context["default_engine"] = twig_get_attribute($this->env, $this->source, ($context["dbi"] ?? null), "fetchValue", [0 => "SELECT @@default_storage_engine;"], "method", false, false, false, 43); // line 44 echo " "; } // line 45 echo " <th class=\"text-center\"> <dfn title=\""; // line 46 echo twig_escape_filter($this->env, twig_sprintf(_gettext("%s is the default storage engine on this MySQL server."), ($context["default_engine"] ?? null)), "html", null, true); echo "\"> "; // line 47 echo twig_escape_filter($this->env, ($context["default_engine"] ?? null), "html", null, true); echo " </dfn> </th> <th> "; // line 51 if ( !twig_test_empty(($context["database_collation"] ?? null))) { // line 52 echo " <dfn title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_collation"] ?? null), "description", [], "any", false, false, false, 52), "html", null, true); echo " ("; echo _gettext("Default"); echo ")\"> "; // line 53 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_collation"] ?? null), "name", [], "any", false, false, false, 53), "html", null, true); echo " </dfn> "; } // line 56 echo " </th> "; } // line 58 echo " "; // line 59 if (($context["is_show_stats"] ?? null)) { // line 60 echo " "; $context["sum"] = PhpMyAdmin\Util::formatByteDown(($context["sum_size"] ?? null), 3, 1); // line 61 echo " "; $context["sum_formatted"] = (($__internal_compile_0 = ($context["sum"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null); // line 62 echo " "; $context["sum_unit"] = (($__internal_compile_1 = ($context["sum"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null); // line 63 echo " <th class=\"value tbl_size font-monospace text-end\">"; echo twig_escape_filter($this->env, ($context["sum_formatted"] ?? null), "html", null, true); echo " "; echo twig_escape_filter($this->env, ($context["sum_unit"] ?? null), "html", null, true); echo "</th> "; // line 65 $context["overhead"] = PhpMyAdmin\Util::formatByteDown(($context["overhead_size"] ?? null), 3, 1); // line 66 echo " "; $context["overhead_formatted"] = (($__internal_compile_2 = ($context["overhead"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[0] ?? null) : null); // line 67 echo " "; $context["overhead_unit"] = (($__internal_compile_3 = ($context["overhead"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[1] ?? null) : null); // line 68 echo " <th class=\"value tbl_overhead font-monospace text-end\">"; echo twig_escape_filter($this->env, ($context["overhead_formatted"] ?? null), "html", null, true); echo " "; echo twig_escape_filter($this->env, ($context["overhead_unit"] ?? null), "html", null, true); echo "</th> "; } // line 70 echo " "; // line 71 if (($context["show_charset"] ?? null)) { // line 72 echo " <th>"; echo twig_escape_filter($this->env, ($context["database_charset"] ?? null), "html", null, true); echo "</th> "; } // line 74 echo " "; if (($context["show_comment"] ?? null)) { // line 75 echo " <th></th> "; } // line 77 echo " "; if (($context["show_creation"] ?? null)) { // line 78 echo " <th class=\"value tbl_creation font-monospace text-end\"> "; // line 79 echo twig_escape_filter($this->env, ($context["create_time_all"] ?? null), "html", null, true); echo " </th> "; } // line 82 echo " "; if (($context["show_last_update"] ?? null)) { // line 83 echo " <th class=\"value tbl_last_update font-monospace text-end\"> "; // line 84 echo twig_escape_filter($this->env, ($context["update_time_all"] ?? null), "html", null, true); echo " </th> "; } // line 87 echo " "; if (($context["show_last_check"] ?? null)) { // line 88 echo " <th class=\"value tbl_last_check font-monospace text-end\"> "; // line 89 echo twig_escape_filter($this->env, ($context["check_time_all"] ?? null), "html", null, true); echo " </th> "; } // line 92 echo "</tr> </tfoot> "; } public function getTemplateName() { return "database/structure/body_for_table_summary.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 270 => 92, 264 => 89, 261 => 88, 258 => 87, 252 => 84, 249 => 83, 246 => 82, 240 => 79, 237 => 78, 234 => 77, 230 => 75, 227 => 74, 221 => 72, 219 => 71, 216 => 70, 208 => 68, 205 => 67, 202 => 66, 200 => 65, 192 => 63, 189 => 62, 186 => 61, 183 => 60, 181 => 59, 178 => 58, 174 => 56, 168 => 53, 161 => 52, 159 => 51, 152 => 47, 148 => 46, 145 => 45, 142 => 44, 139 => 43, 137 => 42, 134 => 41, 131 => 40, 129 => 39, 127 => 38, 122 => 37, 119 => 36, 116 => 35, 113 => 34, 110 => 32, 108 => 31, 104 => 30, 101 => 29, 98 => 28, 95 => 27, 93 => 24, 91 => 22, 88 => 21, 85 => 20, 83 => 19, 81 => 18, 74 => 17, 71 => 16, 68 => 15, 65 => 14, 62 => 13, 56 => 11, 54 => 10, 48 => 8, 45 => 6, 43 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/body_for_table_summary.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/body_for_table_summary.twig"); } } twig/66/66fb65223d4c1eb1b44346adc84acd95.php 0000644 00000003322 15114741573 0013124 0 ustar 00 <?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_e57005de9cb25ba38276696ad4e43cbd 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/message.twig"); } } twig/01/0184be5b5a1b102823e8776b7b494944.php 0000644 00000013235 15114741573 0012544 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/insert/actions_panel.twig */ class __TwigTemplate_7afb17d589b273308658448423e89d40 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 echo "<fieldset class=\"pma-fieldset\" id=\"actions_panel\"> <table class=\"table table-borderless w-auto tdblock\"> <tr> <td class=\"text-nowrap align-middle\"> <select name=\"submit_type\" class=\"control_at_footer\"> "; // line 6 if ( !twig_test_empty(($context["where_clause"] ?? null))) { // line 7 echo " <option value=\"save\">"; echo _gettext("Save"); echo "</option> "; } // line 9 echo " <option value=\"insert\">"; echo _gettext("Insert as new row"); echo "</option> <option value=\"insertignore\">"; echo _gettext("Insert as new row and ignore errors"); // line 10 echo "</option> <option value=\"showinsert\">"; echo _gettext("Show insert query"); // line 11 echo "</option> </select> </td> <td class=\"align-middle\"> <strong>"; echo _gettext("and then"); // line 15 echo "</strong> </td> <td class=\"text-nowrap align-middle\"> <select name=\"after_insert\" class=\"control_at_footer\"> <option value=\"back\""; // line 19 echo (((($context["after_insert"] ?? null) == "back")) ? (" selected") : ("")); echo ">"; echo _gettext("Go back to previous page"); echo "</option> <option value=\"new_insert\""; // line 20 echo (((($context["after_insert"] ?? null) == "new_insert")) ? (" selected") : ("")); echo ">"; echo _gettext("Insert another new row"); echo "</option> "; // line 21 if ( !twig_test_empty(($context["where_clause"] ?? null))) { // line 22 echo " <option value=\"same_insert\""; echo (((($context["after_insert"] ?? null) == "same_insert")) ? (" selected") : ("")); echo ">"; echo _gettext("Go back to this page"); echo "</option> "; // line 23 if ((($context["found_unique_key"] ?? null) && ($context["is_numeric"] ?? null))) { // line 24 echo " <option value=\"edit_next\""; echo (((($context["after_insert"] ?? null) == "edit_next")) ? (" selected") : ("")); echo ">"; echo _gettext("Edit next row"); echo "</option> "; } // line 26 echo " "; } // line 27 echo " </select> </td> </tr> <tr> <td> "; // line 32 echo PhpMyAdmin\Html\Generator::showHint(_gettext("Use TAB key to move from value to value, or CTRL+arrows to move anywhere.")); echo " </td> <td colspan=\"3\" class=\"text-end align-middle\"> <input type=\"button\" class=\"btn btn-secondary preview_sql control_at_footer\" value=\""; echo _gettext("Preview SQL"); // line 35 echo "\"> <input type=\"reset\" class=\"btn btn-secondary control_at_footer\" value=\""; echo _gettext("Reset"); // line 36 echo "\"> <input type=\"submit\" class=\"btn btn-primary control_at_footer\" value=\""; echo _gettext("Go"); // line 37 echo "\" id=\"buttonYes\"> </td> </tr> </table> </fieldset> <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\">"; echo _gettext("Loading"); // line 46 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 47 echo "\"></button> </div> <div class=\"modal-body\"> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"previewSQLCloseButton\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 52 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "table/insert/actions_panel.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 155 => 52, 147 => 47, 143 => 46, 131 => 37, 127 => 36, 123 => 35, 116 => 32, 109 => 27, 106 => 26, 98 => 24, 96 => 23, 89 => 22, 87 => 21, 81 => 20, 75 => 19, 69 => 15, 62 => 11, 58 => 10, 52 => 9, 46 => 7, 44 => 6, 37 => 1,); } public function getSourceContext() { return new Source("", "table/insert/actions_panel.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/actions_panel.twig"); } } twig/01/01433eb4039f268c98510cb5b3bd3a09.php 0000644 00000035757 15114741573 0012703 0 ustar 00 <?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_64b6aaae74181d7ba3506c4695c07f98 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" . ((($context["is_ajax"] ?? null)) ? (" 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" . ((($context["is_ajax"] ?? null)) ? (" 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/checkbox_and_links.twig"); } } twig/b9/b92f0958298c78533d5cbbcf2ca674ad.php 0000644 00000004717 15114741573 0013237 0 ustar 00 <?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; /* table/insert/get_head_and_foot_of_insert_row_table.twig */ class __TwigTemplate_62bd74292936eaea3068fe4d7f1a92a2 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=\"table-responsive-lg\"> <table class=\"table table-striped align-middle my-3 insertRowTable w-auto\"> <thead> <tr> <th>"; yield _gettext("Column"); // line 5 yield "</th> "; // line 6 yield ($context["type"] ?? null); yield " "; // line 7 yield ($context["function"] ?? null); yield " <th>"; yield _gettext("Null"); // line 8 yield "</th> <th class=\"w-50\">"; yield _gettext("Value"); // line 9 yield "</th> </tr> </thead> <tfoot> <tr> <th colspan=\"5\" class=\"tblFooters text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; yield _gettext("Go"); // line 15 yield "\"> </th> </tr> </tfoot>"; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/insert/get_head_and_foot_of_insert_row_table.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 70 => 15, 61 => 9, 57 => 8, 52 => 7, 48 => 6, 45 => 5, 38 => 1,); } public function getSourceContext() { return new Source("", "table/insert/get_head_and_foot_of_insert_row_table.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/get_head_and_foot_of_insert_row_table.twig"); } } twig/3e/3ec90923f5413fb14a0ff8b3901ef98d.php 0000644 00000123012 15114741573 0013132 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* server/databases/index.twig */ class __TwigTemplate_80ec96b8603fc8345269c4a81b00159a 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 echo "<div class=\"container-fluid my-3\"> <h2> "; // line 3 echo PhpMyAdmin\Html\Generator::getIcon("s_db", ((($context["has_statistics"] ?? null)) ? (_gettext("Databases statistics")) : (_gettext("Databases")))); echo " </h2> "; // line 6 if (($context["is_create_database_shown"] ?? null)) { // line 7 echo " <div class=\"card\"> <div class=\"card-header\"> "; // line 9 echo PhpMyAdmin\Html\Generator::getIcon("b_newdb", _gettext("Create database")); echo " "; // line 10 echo PhpMyAdmin\Html\MySQLDocumentation::show("CREATE_DATABASE"); echo " </div> <div class=\"card-body\"> "; // line 13 if (($context["has_create_database_privileges"] ?? null)) { // line 14 echo " <form method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/server/databases/create"); echo "\" id=\"create_database_form\" class=\"ajax row row-cols-md-auto g-3 align-items-center\"> "; // line 15 echo PhpMyAdmin\Url::getHiddenInputs("", ""); echo " <input type=\"hidden\" name=\"reload\" value=\"1\"> "; // line 17 if (($context["has_statistics"] ?? null)) { // line 18 echo " <input type=\"hidden\" name=\"statistics\" value=\"1\"> "; } // line 20 echo " <div class=\"col-12\"> <input type=\"text\" name=\"new_db\" maxlength=\"64\" class=\"form-control\" value=\""; // line 23 echo twig_escape_filter($this->env, ($context["database_to_create"] ?? null), "html", null, true); echo "\" id=\"text_create_db\" placeholder=\""; echo _gettext("Database name"); // line 24 echo "\" aria-label=\""; echo _gettext("Database name"); echo "\" required> </div> "; // line 27 if ( !twig_test_empty(($context["charsets"] ?? null))) { // line 28 echo " <div class=\"col-12\"> <select lang=\"en\" dir=\"ltr\" name=\"db_collation\" class=\"form-select\" aria-label=\""; echo _gettext("Collation"); // line 29 echo "\"> <option value=\"\">"; echo _gettext("Collation"); // line 30 echo "</option> <option value=\"\"></option> "; // line 32 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 33 echo " <optgroup label=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 33), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 33), "html", null, true); echo "\"> "; // line 34 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 34)); foreach ($context['_seq'] as $context["_key"] => $context["collation"]) { // line 35 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 35), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "description", [], "any", false, false, false, 35), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["collation"], "is_selected", [], "any", false, false, false, 35)) ? (" selected") : ("")); echo ">"; // line 36 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 36), "html", null, true); // line 37 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 39 echo " </optgroup> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 41 echo " </select> </div> "; } // line 44 echo " <div class=\"col-12\"> <input id=\"buttonGo\" class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Create"); // line 46 echo "\"> </div> </form> "; } else { // line 50 echo " <span class=\"text-danger\">"; echo PhpMyAdmin\Html\Generator::getIcon("s_error", _gettext("No privileges to create databases")); echo "</span> "; } // line 52 echo " </div> </div> "; } // line 55 echo " "; // line 56 if ((($context["database_count"] ?? null) > 0)) { // line 57 echo " <div class=\"d-flex flex-wrap my-3\"> "; // line 58 if (($context["is_drop_allowed"] ?? null)) { // line 59 echo " <div> <div class=\"input-group\"> <div class=\"input-group-text\"> <div class=\"form-check mb-0\"> <input class=\"form-check-input checkall_box\" type=\"checkbox\" value=\"\" id=\"checkAllCheckbox\" form=\"dbStatsForm\"> <label class=\"form-check-label\" for=\"checkAllCheckbox\">"; echo _gettext("Check all"); // line 64 echo "</label> </div> </div> <button class=\"btn btn-outline-secondary\" id=\"bulkActionDropButton\" type=\"submit\" name=\"submit_mult\" value=\"Drop\" form=\"dbStatsForm\" title=\""; echo _gettext("Drop"); // line 67 echo "\"> "; // line 68 echo PhpMyAdmin\Html\Generator::getIcon("db_drop", _gettext("Drop")); echo " </button> </div> </div> "; } // line 73 echo " <div class=\"ms-auto\"> <div class=\"input-group\"> <span class=\"input-group-text\">"; // line 76 echo PhpMyAdmin\Html\Generator::getImage("b_search", _gettext("Search")); echo "</span> <input class=\"form-control\" name=\"filterText\" type=\"text\" id=\"filterText\" value=\"\" placeholder=\""; echo _gettext("Search"); // line 77 echo "\" aria-label=\""; echo _gettext("Search"); echo "\"> </div> </div> </div> "; // line 82 echo PhpMyAdmin\Html\Generator::getListNavigator( // line 83 ($context["database_count"] ?? null), // line 84 ($context["pos"] ?? null), // line 85 ($context["url_params"] ?? null), PhpMyAdmin\Url::getFromRoute("/server/databases"), "frame_content", // line 88 ($context["max_db_list"] ?? null)); // line 89 echo " <form class=\"ajax\" action=\""; // line 91 echo PhpMyAdmin\Url::getFromRoute("/server/databases"); echo "\" method=\"post\" name=\"dbStatsForm\" id=\"dbStatsForm\"> "; // line 92 echo PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null)); echo " <div class=\"table-responsive\"> <table class=\"table table-striped table-hover w-auto\"> <thead> <tr> "; // line 97 if (($context["is_drop_allowed"] ?? null)) { // line 98 echo " <th></th> "; } // line 100 echo " <th> <a href=\""; // line 101 echo PhpMyAdmin\Url::getFromRoute("/server/databases", twig_array_merge(($context["url_params"] ?? null), ["sort_by" => "SCHEMA_NAME", "sort_order" => ((((twig_get_attribute($this->env, $this->source, // line 103 ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 103) == "SCHEMA_NAME") && (twig_get_attribute($this->env, $this->source, // line 104 ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 104) == "asc"))) ? ("desc") : ("asc"))])); // line 105 echo "\"> "; echo _gettext("Database"); // line 107 echo " "; if ((twig_get_attribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 107) == "SCHEMA_NAME")) { // line 108 echo " "; if ((twig_get_attribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 108) == "asc")) { // line 109 echo " "; echo PhpMyAdmin\Html\Generator::getImage("s_asc", _gettext("Ascending")); echo " "; } else { // line 111 echo " "; echo PhpMyAdmin\Html\Generator::getImage("s_desc", _gettext("Descending")); echo " "; } // line 113 echo " "; } // line 114 echo " </a> </th> <th> <a href=\""; // line 118 echo PhpMyAdmin\Url::getFromRoute("/server/databases", twig_array_merge(($context["url_params"] ?? null), ["sort_by" => "DEFAULT_COLLATION_NAME", "sort_order" => ((((twig_get_attribute($this->env, $this->source, // line 120 ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 120) == "DEFAULT_COLLATION_NAME") && (twig_get_attribute($this->env, $this->source, // line 121 ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 121) == "asc"))) ? ("desc") : ("asc"))])); // line 122 echo "\"> "; echo _gettext("Collation"); // line 124 echo " "; if ((twig_get_attribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 124) == "DEFAULT_COLLATION_NAME")) { // line 125 echo " "; if ((twig_get_attribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 125) == "asc")) { // line 126 echo " "; echo PhpMyAdmin\Html\Generator::getImage("s_asc", _gettext("Ascending")); echo " "; } else { // line 128 echo " "; echo PhpMyAdmin\Html\Generator::getImage("s_desc", _gettext("Descending")); echo " "; } // line 130 echo " "; } // line 131 echo " </a> </th> "; // line 134 if (($context["has_statistics"] ?? null)) { // line 135 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["header_statistics"] ?? null)); foreach ($context['_seq'] as $context["name"] => $context["statistic"]) { // line 136 echo " <th"; echo (((twig_get_attribute($this->env, $this->source, $context["statistic"], "format", [], "any", false, false, false, 136) == "byte")) ? (" colspan=\"2\"") : ("")); echo "> <a href=\""; // line 137 echo PhpMyAdmin\Url::getFromRoute("/server/databases", twig_array_merge(($context["url_params"] ?? null), ["sort_by" => // line 138 $context["name"], "sort_order" => ((((twig_get_attribute($this->env, $this->source, // line 139 ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 139) == $context["name"]) && (twig_get_attribute($this->env, $this->source, // line 140 ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 140) == "asc"))) ? ("desc") : ("asc"))])); // line 141 echo "\"> "; // line 142 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "title", [], "any", false, false, false, 142), "html", null, true); echo " "; // line 143 if ((twig_get_attribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 143) == $context["name"])) { // line 144 echo " "; if ((twig_get_attribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 144) == "asc")) { // line 145 echo " "; echo PhpMyAdmin\Html\Generator::getImage("s_asc", _gettext("Ascending")); echo " "; } else { // line 147 echo " "; echo PhpMyAdmin\Html\Generator::getImage("s_desc", _gettext("Descending")); echo " "; } // line 149 echo " "; } // line 150 echo " </a> </th> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['name'], $context['statistic'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 153 echo " "; } // line 154 echo " "; // line 155 if (($context["has_primary_replication"] ?? null)) { // line 156 echo " <th>"; echo _gettext("Primary replication"); echo "</th> "; } // line 158 echo " "; // line 159 if (($context["has_replica_replication"] ?? null)) { // line 160 echo " <th>"; echo _gettext("Replica replication"); echo "</th> "; } // line 162 echo " <th>"; echo _gettext("Action"); // line 163 echo "</th> </tr> </thead> <tbody> "; // line 168 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["databases"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["database"]) { // line 169 echo " <tr class=\"db-row"; echo (((twig_get_attribute($this->env, $this->source, $context["database"], "is_system_schema", [], "any", false, false, false, 169) || twig_get_attribute($this->env, $this->source, $context["database"], "is_pmadb", [], "any", false, false, false, 169))) ? (" noclick") : ("")); echo "\" data-filter-row=\""; echo twig_escape_filter($this->env, twig_upper_filter($this->env, twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 169)), "html", null, true); echo "\"> "; // line 170 if (($context["is_drop_allowed"] ?? null)) { // line 171 echo " <td class=\"tool\"> <input type=\"checkbox\" name=\"selected_dbs[]\" class=\"checkall\" title=\""; // line 173 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 173), "html", null, true); echo "\" value=\""; // line 174 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 174), "html", null, true); echo "\""; // line 175 echo (((twig_get_attribute($this->env, $this->source, $context["database"], "is_system_schema", [], "any", false, false, false, 175) || twig_get_attribute($this->env, $this->source, $context["database"], "is_pmadb", [], "any", false, false, false, 175))) ? (" disabled") : ("")); echo "> </td> "; } // line 178 echo " <td class=\"name\"> <a href=\""; // line 180 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["database"], "url", [], "any", false, false, false, 180), "html", null, true); echo "\" title=\""; // line 181 echo twig_escape_filter($this->env, twig_sprintf(_gettext("Jump to database '%s'"), twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 181)), "html", null, true); echo "\"> "; // line 182 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 182), "html", null, true); echo " </a> </td> <td class=\"value\"> <dfn title=\""; // line 187 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "collation", [], "any", false, false, false, 187), "description", [], "any", false, false, false, 187), "html", null, true); echo "\"> "; // line 188 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "collation", [], "any", false, false, false, 188), "name", [], "any", false, false, false, 188), "html", null, true); echo " </dfn> </td> "; // line 192 if (($context["has_statistics"] ?? null)) { // line 193 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["database"], "statistics", [], "any", false, false, false, 193)); foreach ($context['_seq'] as $context["_key"] => $context["statistic"]) { // line 194 echo " "; if ((twig_get_attribute($this->env, $this->source, $context["statistic"], "format", [], "any", false, false, false, 194) === "byte")) { // line 195 echo " "; $context["value"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 195), 3, 1); // line 196 echo " <td class=\"value\"> <data value=\""; // line 197 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 197), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 197), "html", null, true); echo "\"> "; // line 198 echo twig_escape_filter($this->env, (($__internal_compile_0 = ($context["value"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true); echo " </data> </td> <td class=\"unit\">"; // line 201 echo twig_escape_filter($this->env, (($__internal_compile_1 = ($context["value"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null), "html", null, true); echo "</td> "; } else { // line 203 echo " <td class=\"value\"> <data value=\""; // line 204 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 204), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 204), "html", null, true); echo "\"> "; // line 205 echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber(twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 205), 0), "html", null, true); echo " </data> </td> "; } // line 209 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['statistic'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 210 echo " "; } // line 211 echo " "; // line 212 if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 212), "primary", [], "any", false, false, false, 212), "status", [], "any", false, false, false, 212)) { // line 213 echo " "; if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 213), "primary", [], "any", false, false, false, 213), "is_replicated", [], "any", false, false, false, 213)) { // line 214 echo " <td class=\"tool text-center\"> "; // line 215 echo PhpMyAdmin\Html\Generator::getIcon("s_success", _gettext("Replicated")); echo " </td> "; } else { // line 218 echo " <td class=\"tool text-center\"> "; // line 219 echo PhpMyAdmin\Html\Generator::getIcon("s_cancel", _gettext("Not replicated")); echo " </td> "; } // line 222 echo " "; } // line 223 echo " "; // line 224 if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 224), "replica", [], "any", false, false, false, 224), "status", [], "any", false, false, false, 224)) { // line 225 echo " "; if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 225), "replica", [], "any", false, false, false, 225), "is_replicated", [], "any", false, false, false, 225)) { // line 226 echo " <td class=\"tool text-center\"> "; // line 227 echo PhpMyAdmin\Html\Generator::getIcon("s_success", _gettext("Replicated")); echo " </td> "; } else { // line 230 echo " <td class=\"tool text-center\"> "; // line 231 echo PhpMyAdmin\Html\Generator::getIcon("s_cancel", _gettext("Not replicated")); echo " </td> "; } // line 234 echo " "; } // line 235 echo " <td class=\"tool\"> <a class=\"server_databases\" data=\""; // line 238 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 238), "html", null, true); echo "\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/server/privileges", ["db" => twig_get_attribute($this->env, $this->source, // line 239 $context["database"], "name", [], "any", false, false, false, 239), "checkprivsdb" => twig_get_attribute($this->env, $this->source, // line 240 $context["database"], "name", [], "any", false, false, false, 240)]); // line 241 echo "\" title=\""; // line 242 echo twig_escape_filter($this->env, twig_sprintf(_gettext("Check privileges for database \"%s\"."), twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 242)), "html", null, true); echo "\"> "; // line 243 echo PhpMyAdmin\Html\Generator::getIcon("s_rights", _gettext("Check privileges")); echo " </a> </td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['database'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 248 echo " </tbody> <tfoot> <tr> <th colspan=\""; // line 252 echo ((($context["is_drop_allowed"] ?? null)) ? ("3") : ("2")); echo "\"> "; echo _gettext("Total:"); // line 254 echo " <span id=\"filter-rows-count\">"; // line 255 echo twig_escape_filter($this->env, ($context["database_count"] ?? null), "html", null, true); // line 256 echo "</span> </th> "; // line 259 if (($context["has_statistics"] ?? null)) { // line 260 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["total_statistics"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["statistic"]) { // line 261 echo " "; if ((twig_get_attribute($this->env, $this->source, $context["statistic"], "format", [], "any", false, false, false, 261) === "byte")) { // line 262 echo " "; $context["value"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 262), 3, 1); // line 263 echo " <th class=\"value\"> <data value=\""; // line 264 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 264), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 264), "html", null, true); echo "\"> "; // line 265 echo twig_escape_filter($this->env, (($__internal_compile_2 = ($context["value"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[0] ?? null) : null), "html", null, true); echo " </data> </th> <th class=\"unit\">"; // line 268 echo twig_escape_filter($this->env, (($__internal_compile_3 = ($context["value"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[1] ?? null) : null), "html", null, true); echo "</th> "; } else { // line 270 echo " <th class=\"value\"> <data value=\""; // line 271 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 271), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 271), "html", null, true); echo "\"> "; // line 272 echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber(twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 272), 0), "html", null, true); echo " </data> </th> "; } // line 276 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['statistic'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 277 echo " "; } // line 278 echo " "; // line 279 if (($context["has_primary_replication"] ?? null)) { // line 280 echo " <th></th> "; } // line 282 echo " "; // line 283 if (($context["has_replica_replication"] ?? null)) { // line 284 echo " <th></th> "; } // line 286 echo " <th></th> </tr> </tfoot> </table> </div> </form> "; // line 294 if ( !($context["has_statistics"] ?? null)) { // line 295 echo " <div class=\"card\"> <div class=\"card-body\"> <div class=\"alert alert-info\" role=\"alert\"> "; // line 298 echo PhpMyAdmin\Html\Generator::getIcon("s_notice", _gettext("Note: Enabling the database statistics here might cause heavy traffic between the web server and the MySQL server.")); echo " </div> <a class=\"card-link\" href=\""; // line 300 echo PhpMyAdmin\Url::getFromRoute("/server/databases"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["statistics" => "1"], "", false); echo "\" title=\""; echo _gettext("Enable statistics"); echo "\"> "; echo _gettext("Enable statistics"); // line 302 echo " </a> </div> </div> "; } // line 306 echo " "; } else { // line 307 echo " <div class=\"alert alert-primary my-3\" role=\"alert\"> "; // line 308 echo PhpMyAdmin\Html\Generator::getIcon("s_notice", _gettext("No databases")); echo " </div> "; } // line 311 echo "</div> "; // line 313 if (($context["is_drop_allowed"] ?? null)) { // line 314 echo " <div class=\"modal fade\" id=\"dropDatabaseModal\" tabindex=\"-1\" aria-labelledby=\"dropDatabaseModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog modal-dialog-scrollable\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"dropDatabaseModalLabel\">"; echo _gettext("Confirm"); // line 318 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Cancel"); // line 319 echo "\"></button> </div> <div class=\"modal-body\"></div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Cancel"); // line 323 echo "</button> <button type=\"button\" class=\"btn btn-danger\" id=\"dropDatabaseModalDropButton\">"; echo _gettext("Drop"); // line 324 echo "</button> </div> </div> </div> </div> "; } } public function getTemplateName() { return "server/databases/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 792 => 324, 788 => 323, 781 => 319, 777 => 318, 770 => 314, 768 => 313, 764 => 311, 758 => 308, 755 => 307, 752 => 306, 746 => 302, 737 => 300, 732 => 298, 727 => 295, 725 => 294, 715 => 286, 711 => 284, 709 => 283, 706 => 282, 702 => 280, 700 => 279, 697 => 278, 694 => 277, 688 => 276, 681 => 272, 675 => 271, 672 => 270, 667 => 268, 661 => 265, 655 => 264, 652 => 263, 649 => 262, 646 => 261, 641 => 260, 639 => 259, 634 => 256, 632 => 255, 630 => 254, 625 => 252, 619 => 248, 608 => 243, 604 => 242, 602 => 241, 600 => 240, 599 => 239, 596 => 238, 592 => 235, 589 => 234, 583 => 231, 580 => 230, 574 => 227, 571 => 226, 568 => 225, 566 => 224, 563 => 223, 560 => 222, 554 => 219, 551 => 218, 545 => 215, 542 => 214, 539 => 213, 537 => 212, 534 => 211, 531 => 210, 525 => 209, 518 => 205, 512 => 204, 509 => 203, 504 => 201, 498 => 198, 492 => 197, 489 => 196, 486 => 195, 483 => 194, 478 => 193, 476 => 192, 469 => 188, 465 => 187, 457 => 182, 453 => 181, 450 => 180, 446 => 178, 440 => 175, 437 => 174, 434 => 173, 431 => 171, 429 => 170, 422 => 169, 418 => 168, 411 => 163, 407 => 162, 401 => 160, 399 => 159, 396 => 158, 390 => 156, 388 => 155, 385 => 154, 382 => 153, 374 => 150, 371 => 149, 365 => 147, 359 => 145, 356 => 144, 354 => 143, 350 => 142, 347 => 141, 345 => 140, 344 => 139, 343 => 138, 342 => 137, 337 => 136, 332 => 135, 330 => 134, 325 => 131, 322 => 130, 316 => 128, 310 => 126, 307 => 125, 304 => 124, 300 => 122, 298 => 121, 297 => 120, 296 => 118, 290 => 114, 287 => 113, 281 => 111, 275 => 109, 272 => 108, 269 => 107, 265 => 105, 263 => 104, 262 => 103, 261 => 101, 258 => 100, 254 => 98, 252 => 97, 244 => 92, 240 => 91, 236 => 89, 234 => 88, 233 => 85, 232 => 84, 231 => 83, 230 => 82, 221 => 77, 216 => 76, 211 => 73, 203 => 68, 200 => 67, 194 => 64, 186 => 59, 184 => 58, 181 => 57, 179 => 56, 176 => 55, 171 => 52, 165 => 50, 159 => 46, 154 => 44, 149 => 41, 142 => 39, 135 => 37, 133 => 36, 125 => 35, 121 => 34, 114 => 33, 110 => 32, 106 => 30, 102 => 29, 98 => 28, 96 => 27, 89 => 24, 85 => 23, 81 => 20, 77 => 18, 75 => 17, 70 => 15, 65 => 14, 63 => 13, 57 => 10, 53 => 9, 49 => 7, 47 => 6, 41 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "server/databases/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/server/databases/index.twig"); } } twig/34/343486c79145c96078aaea23b78bba04.php 0000644 00000047013 15114741573 0012712 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* columns_definitions/column_definitions_form.twig */ class __TwigTemplate_e5dfff06f91a106740e53146df36fa61 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 echo "<form method=\"post\" action=\""; echo twig_escape_filter($this->env, ($context["action"] ?? null), "html", null, true); echo "\" class=\""; // line 2 echo (((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/create"))) ? ("create_table") : ("append_fields")); // line 3 echo "_form ajax lock-page\"> "; // line 4 echo PhpMyAdmin\Url::getHiddenInputs(($context["form_params"] ?? null)); echo " "; // line 6 echo " "; // line 7 echo " "; // line 8 echo " <input type=\"hidden\" name=\"primary_indexes\" value=\""; // line 9 (( !twig_test_empty(($context["primary_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["primary_indexes"] ?? null), "html", null, true))) : (print ("[]"))); echo "\"> <input type=\"hidden\" name=\"unique_indexes\" value=\""; // line 11 (( !twig_test_empty(($context["unique_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["unique_indexes"] ?? null), "html", null, true))) : (print ("[]"))); echo "\"> <input type=\"hidden\" name=\"indexes\" value=\""; // line 13 (( !twig_test_empty(($context["indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["indexes"] ?? null), "html", null, true))) : (print ("[]"))); echo "\"> <input type=\"hidden\" name=\"fulltext_indexes\" value=\""; // line 15 (( !twig_test_empty(($context["fulltext_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["fulltext_indexes"] ?? null), "html", null, true))) : (print ("[]"))); echo "\"> <input type=\"hidden\" name=\"spatial_indexes\" value=\""; // line 17 (( !twig_test_empty(($context["spatial_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["spatial_indexes"] ?? null), "html", null, true))) : (print ("[]"))); echo "\"> "; // line 19 if ((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/create"))) { // line 20 echo " <div id=\"table_name_col_no_outer\"> <table id=\"table_name_col_no\" class=\"table table-borderless tdblock\"> <tr class=\"align-middle float-start\"> <td>"; echo _gettext("Table name"); // line 23 echo ": <input type=\"text\" name=\"table\" size=\"40\" maxlength=\"64\" value=\""; // line 28 ((array_key_exists("table", $context)) ? (print (twig_escape_filter($this->env, ($context["table"] ?? null), "html", null, true))) : (print (""))); echo "\" class=\"textfield\" autofocus required> </td> <td> "; echo _gettext("Add"); // line 33 echo " <input type=\"number\" id=\"added_fields\" name=\"added_fields\" size=\"2\" value=\"1\" min=\"1\" onfocus=\"this.select()\"> "; echo _gettext("column(s)"); // line 41 echo " <input class=\"btn btn-secondary\" type=\"button\" name=\"submit_num_fields\" value=\""; echo _gettext("Go"); // line 43 echo "\"> </td> </tr> </table> </div> "; } // line 49 echo " "; if (twig_test_iterable(($context["content_cells"] ?? null))) { // line 50 echo " "; $this->loadTemplate("columns_definitions/table_fields_definitions.twig", "columns_definitions/column_definitions_form.twig", 50)->display(twig_to_array(["is_backup" => // line 51 ($context["is_backup"] ?? null), "fields_meta" => // line 52 ($context["fields_meta"] ?? null), "relation_parameters" => // line 53 ($context["relation_parameters"] ?? null), "content_cells" => // line 54 ($context["content_cells"] ?? null), "change_column" => // line 55 ($context["change_column"] ?? null), "is_virtual_columns_supported" => // line 56 ($context["is_virtual_columns_supported"] ?? null), "server_version" => // line 57 ($context["server_version"] ?? null), "browse_mime" => // line 58 ($context["browse_mime"] ?? null), "supports_stored_keyword" => // line 59 ($context["supports_stored_keyword"] ?? null), "max_rows" => // line 60 ($context["max_rows"] ?? null), "char_editing" => // line 61 ($context["char_editing"] ?? null), "attribute_types" => // line 62 ($context["attribute_types"] ?? null), "privs_available" => // line 63 ($context["privs_available"] ?? null), "max_length" => // line 64 ($context["max_length"] ?? null), "charsets" => // line 65 ($context["charsets"] ?? null)])); // line 67 echo " "; } // line 68 echo " "; if ((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/create"))) { // line 69 echo " <div class=\"responsivetable\"> <table class=\"table table-borderless w-auto align-middle mb-0\"> <tr class=\"align-top\"> <th>"; echo _gettext("Table comments:"); // line 72 echo "</th> <td width=\"25\"> </td> <th>"; echo _gettext("Collation:"); // line 74 echo "</th> <td width=\"25\"> </td> <th> "; echo _gettext("Storage Engine:"); // line 78 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("Storage_engines"); echo " </th> <td width=\"25\"> </td> <th id=\"storage-engine-connection\"> "; echo _gettext("Connection:"); // line 83 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("federated-create-connection"); echo " </th> </tr> <tr> <td> <input type=\"text\" name=\"comment\" size=\"40\" maxlength=\"60\" value=\""; // line 92 ((array_key_exists("comment", $context)) ? (print (twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true))) : (print (""))); echo "\" class=\"textfield\"> </td> <td width=\"25\"> </td> <td> <select lang=\"en\" dir=\"ltr\" name=\"tbl_collation\"> <option value=\"\"></option> "; // line 99 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 100 echo " <optgroup label=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 100), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 100), "html", null, true); echo "\"> "; // line 101 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 101)); foreach ($context['_seq'] as $context["_key"] => $context["collation"]) { // line 102 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 102), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "description", [], "any", false, false, false, 102), "html", null, true); echo "\""; // line 103 echo (((twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 103) == ($context["tbl_collation"] ?? null))) ? (" selected") : ("")); echo ">"; // line 104 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 104), "html", null, true); // line 105 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 107 echo " </optgroup> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 109 echo " </select> </td> <td width=\"25\"> </td> <td> <select class=\"form-select\" name=\"tbl_storage_engine\" aria-label=\""; echo _gettext("Storage engine"); // line 113 echo "\"> "; // line 114 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["storage_engines"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["engine"]) { // line 115 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 115), "html", null, true); echo "\""; if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 115))) { echo " title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 115), "html", null, true); echo "\""; } // line 116 echo ((((twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 116)) == twig_lower_filter($this->env, ($context["tbl_storage_engine"] ?? null))) || (twig_test_empty(($context["tbl_storage_engine"] ?? null)) && twig_get_attribute($this->env, $this->source, $context["engine"], "is_default", [], "any", false, false, false, 116)))) ? (" selected") : ("")); echo ">"; // line 117 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 117), "html", null, true); // line 118 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['engine'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 120 echo " </select> </td> <td width=\"25\"> </td> <td> <input type=\"text\" name=\"connection\" size=\"40\" value=\""; // line 127 ((array_key_exists("connection", $context)) ? (print (twig_escape_filter($this->env, ($context["connection"] ?? null), "html", null, true))) : (print (""))); echo "\" placeholder=\"scheme://user_name[:password]@host_name[:port_num]/db_name/tbl_name\" class=\"textfield\" required=\"required\"> </td> </tr> "; // line 133 if (($context["have_partitioning"] ?? null)) { // line 134 echo " <tr class=\"align-top\"> <th colspan=\"5\"> "; echo _gettext("PARTITION definition:"); // line 137 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("Partitioning"); echo " </th> </tr> <tr> <td colspan=\"5\"> "; // line 142 $this->loadTemplate("columns_definitions/partitions.twig", "columns_definitions/column_definitions_form.twig", 142)->display(twig_to_array(["partition_details" => // line 143 ($context["partition_details"] ?? null), "storage_engines" => // line 144 ($context["storage_engines"] ?? null)])); // line 146 echo " </td> </tr> "; } // line 149 echo " </table> </div> "; } // line 152 echo " <fieldset class=\"pma-fieldset tblFooters\"> "; // line 153 if (((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/add-field")) || (($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/structure/save")))) { // line 154 echo " <input type=\"checkbox\" name=\"online_transaction\" value=\"ONLINE_TRANSACTION_ENABLED\" />"; echo _pgettext("Online transaction part of the SQL DDL for InnoDB", "Online transaction"); echo PhpMyAdmin\Html\MySQLDocumentation::show("innodb-online-ddl"); echo " "; } // line 156 echo " <input class=\"btn btn-secondary preview_sql\" type=\"button\" value=\""; echo _gettext("Preview SQL"); // line 157 echo "\"> <input class=\"btn btn-primary\" type=\"submit\" name=\"do_save_data\" value=\""; echo _gettext("Save"); // line 160 echo "\"> </fieldset> <div id=\"properties_message\"></div> "; // line 163 if (($context["is_integers_length_restricted"] ?? null)) { // line 164 echo " <div class=\"alert alert-primary\" id=\"length_not_allowed\" role=\"alert\"> "; // line 165 echo PhpMyAdmin\Html\Generator::getImage("s_notice"); echo " "; echo _gettext("The column width of integer types is ignored in your MySQL version unless defining a TINYINT(1) column"); // line 167 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("", false, "https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-19.html"); echo " </div> "; } // line 170 echo "</form> <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\">"; echo _gettext("Loading"); // line 175 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 176 echo "\"></button> </div> <div class=\"modal-body\"> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"previewSQLCloseButton\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 181 echo "</button> </div> </div> </div> </div> "; // line 188 echo twig_include($this->env, $context, "modals/enum_set_editor.twig"); echo " "; } public function getTemplateName() { return "columns_definitions/column_definitions_form.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 394 => 188, 386 => 181, 378 => 176, 374 => 175, 366 => 170, 359 => 167, 354 => 165, 351 => 164, 349 => 163, 344 => 160, 338 => 157, 334 => 156, 327 => 154, 325 => 153, 322 => 152, 317 => 149, 312 => 146, 310 => 144, 309 => 143, 308 => 142, 299 => 137, 294 => 134, 292 => 133, 283 => 127, 274 => 120, 267 => 118, 265 => 117, 262 => 116, 253 => 115, 249 => 114, 246 => 113, 239 => 109, 232 => 107, 225 => 105, 223 => 104, 220 => 103, 214 => 102, 210 => 101, 203 => 100, 199 => 99, 189 => 92, 176 => 83, 167 => 78, 161 => 74, 156 => 72, 150 => 69, 147 => 68, 144 => 67, 142 => 65, 141 => 64, 140 => 63, 139 => 62, 138 => 61, 137 => 60, 136 => 59, 135 => 58, 134 => 57, 133 => 56, 132 => 55, 131 => 54, 130 => 53, 129 => 52, 128 => 51, 126 => 50, 123 => 49, 115 => 43, 110 => 41, 100 => 33, 92 => 28, 85 => 23, 79 => 20, 77 => 19, 72 => 17, 68 => 15, 64 => 13, 60 => 11, 56 => 9, 54 => 8, 52 => 7, 50 => 6, 46 => 4, 43 => 3, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "columns_definitions/column_definitions_form.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/columns_definitions/column_definitions_form.twig"); } } twig/34/341fe7c0b9f6ea97b2f6e9510ea748ec.php 0000644 00000041634 15114741573 0013233 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/search/input_box.twig */ class __TwigTemplate_3fd4b8b02146817fcbd06403ccd5cfd3 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 if ((($context["foreigners"] ?? null) && $this->env->getFunction('search_column_in_foreigners')->getCallable()(($context["foreigners"] ?? null), ($context["column_name"] ?? null)))) { // line 3 echo " "; if (twig_test_iterable((($__internal_compile_0 = ($context["foreign_data"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["disp_row"] ?? null) : null))) { // line 4 echo " <select name=\"criteriaValues["; echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "]\" id=\""; // line 5 echo twig_escape_filter($this->env, ($context["column_id"] ?? null), "html", null, true); echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "\"> "; // line 6 echo $this->env->getFunction('foreign_dropdown')->getCallable()((($__internal_compile_1 = // line 7 ($context["foreign_data"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["disp_row"] ?? null) : null), (($__internal_compile_2 = // line 8 ($context["foreign_data"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["foreign_field"] ?? null) : null), (($__internal_compile_3 = // line 9 ($context["foreign_data"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["foreign_display"] ?? null) : null), "", // line 11 ($context["foreign_max_limit"] ?? null)); // line 12 echo " </select> "; } elseif (((($__internal_compile_4 = // line 14 ($context["foreign_data"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["foreign_link"] ?? null) : null) == true)) { // line 15 echo " <input type=\"text\" id=\""; // line 16 echo twig_escape_filter($this->env, ($context["column_id"] ?? null), "html", null, true); echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "\" name=\"criteriaValues["; // line 17 echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "]\" id=\"field_"; // line 18 echo twig_escape_filter($this->env, ($context["column_name_hash"] ?? null), "html", null, true); echo "["; echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "]\" class=\"textfield\" "; // line 20 if (twig_get_attribute($this->env, $this->source, ($context["criteria_values"] ?? null), ($context["column_index"] ?? null), [], "array", true, true, false, 20)) { // line 21 echo " value=\""; echo twig_escape_filter($this->env, (($__internal_compile_5 = ($context["criteria_values"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[($context["column_index"] ?? null)] ?? null) : null), "html", null, true); echo "\" "; } // line 22 echo "> <a class=\"ajax browse_foreign\" href=\""; // line 23 echo PhpMyAdmin\Url::getFromRoute("/browse-foreigners"); echo "\" data-post=\""; // line 24 echo PhpMyAdmin\Url::getCommon(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)], "", false); // line 25 echo "&field="; echo twig_escape_filter($this->env, twig_urlencode_filter(($context["column_name"] ?? null)), "html", null, true); echo "&fieldkey="; // line 26 echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "&fromsearch=1\"> "; // line 27 echo PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse foreign values")); echo " </a> "; } } elseif (twig_in_filter( // line 30 ($context["column_type"] ?? null), PhpMyAdmin\Utils\Gis::getDataTypes())) { // line 31 echo " <input type=\"text\" name=\"criteriaValues["; // line 32 echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "]\" size=\"40\" class=\"textfield\" id=\"field_"; // line 35 echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "\"> "; // line 36 if (($context["in_fbs"] ?? null)) { // line 37 echo " "; $context["edit_str"] = PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit/Insert")); // line 38 echo " <span class=\"open_search_gis_editor\"> "; // line 39 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/gis-data-editor"), [], ($context["edit_str"] ?? null), [], "_blank"); echo " </span> "; } } elseif (((is_string($__internal_compile_6 = // line 42 ($context["column_type"] ?? null)) && is_string($__internal_compile_7 = "enum") && ('' === $__internal_compile_7 || 0 === strpos($__internal_compile_6, $__internal_compile_7))) || ((is_string($__internal_compile_8 = // line 43 ($context["column_type"] ?? null)) && is_string($__internal_compile_9 = "set") && ('' === $__internal_compile_9 || 0 === strpos($__internal_compile_8, $__internal_compile_9))) && ($context["in_zoom_search_edit"] ?? null)))) { // line 44 echo " "; $context["in_zoom_search_edit"] = false; // line 45 echo " "; $context["value"] = PhpMyAdmin\Util::parseEnumSetValues(($context["column_type"] ?? null)); // line 46 echo " "; $context["cnt_value"] = twig_length_filter($this->env, ($context["value"] ?? null)); // line 47 echo " "; // line 53 echo " "; if ((((is_string($__internal_compile_10 = ($context["column_type"] ?? null)) && is_string($__internal_compile_11 = "enum") && ('' === $__internal_compile_11 || 0 === strpos($__internal_compile_10, $__internal_compile_11))) && !($context["in_zoom_search_edit"] ?? null)) || ((is_string($__internal_compile_12 = // line 54 ($context["column_type"] ?? null)) && is_string($__internal_compile_13 = "set") && ('' === $__internal_compile_13 || 0 === strpos($__internal_compile_12, $__internal_compile_13))) && ($context["in_zoom_search_edit"] ?? null)))) { // line 55 echo " <select name=\"criteriaValues["; echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "]\" id=\""; // line 56 echo twig_escape_filter($this->env, ($context["column_id"] ?? null), "html", null, true); echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "\"> "; } else { // line 58 echo " <select name=\"criteriaValues["; echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "]\" id=\""; // line 59 echo twig_escape_filter($this->env, ($context["column_id"] ?? null), "html", null, true); echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "\" multiple=\"multiple\" size=\""; // line 61 echo twig_escape_filter($this->env, min(3, ($context["cnt_value"] ?? null)), "html", null, true); echo "\"> "; } // line 63 echo " "; // line 64 echo " <option value=\"\"></option> "; // line 65 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(range(0, (($context["cnt_value"] ?? null) - 1))); foreach ($context['_seq'] as $context["_key"] => $context["i"]) { // line 66 echo " "; if (((twig_get_attribute($this->env, $this->source, ($context["criteria_values"] ?? null), ($context["column_index"] ?? null), [], "array", true, true, false, 66) && twig_test_iterable((($__internal_compile_14 = // line 67 ($context["criteria_values"] ?? null)) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14[($context["column_index"] ?? null)] ?? null) : null))) && twig_in_filter((($__internal_compile_15 = // line 68 ($context["value"] ?? null)) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15[$context["i"]] ?? null) : null), (($__internal_compile_16 = ($context["criteria_values"] ?? null)) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16[($context["column_index"] ?? null)] ?? null) : null)))) { // line 69 echo " <option value=\""; echo (($__internal_compile_17 = ($context["value"] ?? null)) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17[$context["i"]] ?? null) : null); echo "\" selected> "; // line 70 echo (($__internal_compile_18 = ($context["value"] ?? null)) && is_array($__internal_compile_18) || $__internal_compile_18 instanceof ArrayAccess ? ($__internal_compile_18[$context["i"]] ?? null) : null); echo " </option> "; } else { // line 73 echo " <option value=\""; echo (($__internal_compile_19 = ($context["value"] ?? null)) && is_array($__internal_compile_19) || $__internal_compile_19 instanceof ArrayAccess ? ($__internal_compile_19[$context["i"]] ?? null) : null); echo "\"> "; // line 74 echo (($__internal_compile_20 = ($context["value"] ?? null)) && is_array($__internal_compile_20) || $__internal_compile_20 instanceof ArrayAccess ? ($__internal_compile_20[$context["i"]] ?? null) : null); echo " </option> "; } // line 77 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 78 echo " </select> "; } else { // line 80 echo " "; $context["the_class"] = "textfield"; // line 81 echo " "; if ((($context["column_type"] ?? null) == "date")) { // line 82 echo " "; $context["the_class"] = (($context["the_class"] ?? null) . " datefield"); // line 83 echo " "; } elseif (((($context["column_type"] ?? null) == "datetime") || (is_string($__internal_compile_21 = ($context["column_type"] ?? null)) && is_string($__internal_compile_22 = "timestamp") && ('' === $__internal_compile_22 || 0 === strpos($__internal_compile_21, $__internal_compile_22))))) { // line 84 echo " "; $context["the_class"] = (($context["the_class"] ?? null) . " datetimefield"); // line 85 echo " "; } elseif ((is_string($__internal_compile_23 = ($context["column_type"] ?? null)) && is_string($__internal_compile_24 = "bit") && ('' === $__internal_compile_24 || 0 === strpos($__internal_compile_23, $__internal_compile_24)))) { // line 86 echo " "; $context["the_class"] = (($context["the_class"] ?? null) . " bit"); // line 87 echo " "; } // line 88 echo " <input type=\"text\" name=\"criteriaValues["; // line 89 echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "]\" data-type=\""; // line 90 echo twig_escape_filter($this->env, ($context["column_data_type"] ?? null), "html", null, true); echo "\" "; // line 91 echo ($context["html_attributes"] ?? null); echo " size=\"40\" class=\""; // line 93 echo twig_escape_filter($this->env, ($context["the_class"] ?? null), "html", null, true); echo "\" id=\""; // line 94 echo twig_escape_filter($this->env, ($context["column_id"] ?? null), "html", null, true); echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true); echo "\" "; // line 95 if (twig_get_attribute($this->env, $this->source, ($context["criteria_values"] ?? null), ($context["column_index"] ?? null), [], "array", true, true, false, 95)) { // line 96 echo " value=\""; echo twig_escape_filter($this->env, (($__internal_compile_25 = ($context["criteria_values"] ?? null)) && is_array($__internal_compile_25) || $__internal_compile_25 instanceof ArrayAccess ? ($__internal_compile_25[($context["column_index"] ?? null)] ?? null) : null), "html", null, true); echo "\""; } // line 97 echo "> "; } } public function getTemplateName() { return "table/search/input_box.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 289 => 97, 284 => 96, 282 => 95, 277 => 94, 273 => 93, 268 => 91, 264 => 90, 260 => 89, 257 => 88, 254 => 87, 251 => 86, 248 => 85, 245 => 84, 242 => 83, 239 => 82, 236 => 81, 233 => 80, 229 => 78, 223 => 77, 217 => 74, 212 => 73, 206 => 70, 201 => 69, 199 => 68, 198 => 67, 196 => 66, 192 => 65, 189 => 64, 187 => 63, 182 => 61, 176 => 59, 171 => 58, 165 => 56, 160 => 55, 158 => 54, 156 => 53, 154 => 47, 151 => 46, 148 => 45, 145 => 44, 143 => 43, 142 => 42, 136 => 39, 133 => 38, 130 => 37, 128 => 36, 124 => 35, 118 => 32, 115 => 31, 113 => 30, 107 => 27, 103 => 26, 99 => 25, 97 => 24, 94 => 23, 91 => 22, 85 => 21, 83 => 20, 76 => 18, 72 => 17, 67 => 16, 64 => 15, 62 => 14, 58 => 12, 56 => 11, 55 => 9, 54 => 8, 53 => 7, 52 => 6, 47 => 5, 42 => 4, 39 => 3, 37 => 2,); } public function getSourceContext() { return new Source("", "table/search/input_box.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/search/input_box.twig"); } } twig/37/37185b63b9442e768d7347fa153caba3.php 0000644 00000004134 15114741573 0012716 0 ustar 00 <?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_5a5e2b0b89ef75a3114353f100fa6a64 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/config/form_display/group_header.twig"); } } twig/37/37c291d7d41932c7cfda81164a494019.php 0000644 00000004012 15114741573 0012627 0 ustar 00 <?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_b8a33790567ee3d0064393a850a3362a 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/state.twig"); } } twig/37/3790f3153e7714faacdc096ca293a2cb.php 0000644 00000111410 15114741573 0013115 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/table.twig */ class __TwigTemplate_cdc60be4ddf2537d64307d0873d5e20f 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 ob_start(function () { return ''; }); // line 2 echo " "; if ( !twig_test_empty(($context["navigation"] ?? null))) { // line 3 echo " <table class=\"navigation d-print-none\"> <tr> <td class=\"navigation_separator\"></td> "; // line 7 echo twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "move_backward_buttons", [], "any", false, false, false, 7); echo " "; // line 8 echo twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "page_selector", [], "any", false, false, false, 8); echo " "; // line 9 echo twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "move_forward_buttons", [], "any", false, false, false, 9); echo " "; // line 11 if ((twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "number_total_page", [], "any", false, false, false, 11) != 1)) { // line 12 echo " <td><div class=\"navigation_separator\">|</div></td> "; } // line 14 echo " "; // line 15 if (twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "has_show_all", [], "any", false, false, false, 15)) { // line 16 echo " <td> <form action=\""; // line 17 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" method=\"post\"> "; // line 18 echo PhpMyAdmin\Url::getHiddenFields(twig_array_merge(twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "hidden_fields", [], "any", false, false, false, 18), ["session_max_rows" => twig_get_attribute($this->env, $this->source, // line 19 ($context["navigation"] ?? null), "session_max_rows", [], "any", false, false, false, 19), "pos" => "0"])); // line 21 echo " <input type=\"checkbox\" name=\"navig\" id=\"showAll_"; // line 22 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" class=\"showAllRows\" value=\"all\""; // line 23 echo ((twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "is_showing_all", [], "any", false, false, false, 23)) ? (" checked") : ("")); echo "> <label for=\"showAll_"; // line 24 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Show all"); echo "</label> </form> </td> <td><div class=\"navigation_separator\">|</div></td> "; } // line 29 echo " <td> <div class=\"save_edited hide\"> <input class=\"btn btn-link\" type=\"submit\" value=\""; echo _gettext("Save edited data"); // line 32 echo "\"> <div class=\"navigation_separator\">|</div> </div> </td> <td> <div class=\"restore_column hide\"> <input class=\"btn btn-link\" type=\"submit\" value=\""; echo _gettext("Restore column order"); // line 38 echo "\"> <div class=\"navigation_separator\">|</div> </div> </td> <td class=\"navigation_goto\"> <form action=\""; // line 43 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" method=\"post\" class=\"maxRowsForm\"> "; // line 44 echo PhpMyAdmin\Url::getHiddenFields(twig_array_merge(twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "hidden_fields", [], "any", false, false, false, 44), ["pos" => twig_get_attribute($this->env, $this->source, // line 45 ($context["navigation"] ?? null), "pos", [], "any", false, false, false, 45), "unlim_num_rows" => // line 46 ($context["unlim_num_rows"] ?? null)])); // line 47 echo " <label for=\"sessionMaxRowsSelect\">"; echo _gettext("Number of rows:"); // line 49 echo "</label> <select class=\"autosubmit\" name=\"session_max_rows\" id=\"sessionMaxRowsSelect\"> "; // line 51 if (twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "is_showing_all", [], "any", false, false, false, 51)) { // line 52 echo " <option value=\"\" disabled selected>"; echo _gettext("All"); echo "</option> "; } // line 54 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable([0 => "25", 1 => "50", 2 => "100", 3 => "250", 4 => "500"]); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 55 echo " <option value=\""; echo twig_escape_filter($this->env, $context["option"], "html", null, true); echo "\""; echo (((twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "max_rows", [], "any", false, false, false, 55) == $context["option"])) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, $context["option"], "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 57 echo " </select> </form> </td> <td class=\"navigation_separator\"></td> <td class=\"largescreenonly\"> <span>"; echo _gettext("Filter rows"); // line 62 echo ":</span> <input type=\"text\" class=\"filter_rows\" placeholder=\""; echo _gettext("Search this table"); // line 64 echo "\" data-for=\""; echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\"> </td> <td class=\"largescreenonly\"> "; // line 67 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "sort_by_key", [], "any", false, false, false, 67))) { // line 68 echo " <form action=\""; echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" method=\"post\" class=\"d-print-none\"> "; // line 69 echo PhpMyAdmin\Url::getHiddenFields(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "sort_by_key", [], "any", false, false, false, 69), "hidden_fields", [], "any", false, false, false, 69)); echo " "; echo _gettext("Sort by key:"); // line 71 echo " <select name=\"sql_query\" class=\"autosubmit\"> "; // line 72 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "sort_by_key", [], "any", false, false, false, 72), "options", [], "any", false, false, false, 72)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 73 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 73), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["option"], "is_selected", [], "any", false, false, false, 73)) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "content", [], "any", false, false, false, 73), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 75 echo " </select> </form> "; } // line 78 echo " </td> <td class=\"navigation_separator\"></td> </tr> </table> "; } $context["navigation_html"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 84 echo " "; // line 85 echo ($context["sql_query_message"] ?? null); echo " "; // line 87 echo twig_escape_filter($this->env, ($context["navigation_html"] ?? null), "html", null, true); echo " <input class=\"save_cells_at_once\" type=\"hidden\" value=\""; // line 89 echo twig_escape_filter($this->env, ($context["save_cells_at_once"] ?? null), "html", null, true); echo "\"> <div class=\"common_hidden_inputs\"> "; // line 91 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " </div> "; // line 94 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 94))) { // line 95 echo " "; if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 95), "order", [], "any", false, false, false, 95)) { // line 96 echo " <input class=\"col_order\" type=\"hidden\" value=\""; echo twig_escape_filter($this->env, twig_join_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 96), "order", [], "any", false, false, false, 96), ","), "html", null, true); echo "\"> "; } // line 98 echo " "; if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 98), "visibility", [], "any", false, false, false, 98)) { // line 99 echo " <input class=\"col_visib\" type=\"hidden\" value=\""; echo twig_escape_filter($this->env, twig_join_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 99), "visibility", [], "any", false, false, false, 99), ","), "html", null, true); echo "\"> "; } // line 101 echo " "; if ( !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 101), "is_view", [], "any", false, false, false, 101)) { // line 102 echo " <input class=\"table_create_time\" type=\"hidden\" value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 102), "table_create_time", [], "any", false, false, false, 102), "html", null, true); echo "\"> "; } } // line 105 echo " "; // line 106 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 106))) { // line 107 echo " <form method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" name=\"displayOptionsForm\" class=\"ajax d-print-none\"> "; // line 108 echo PhpMyAdmin\Url::getHiddenInputs(["db" => // line 109 ($context["db"] ?? null), "table" => // line 110 ($context["table"] ?? null), "sql_query" => // line 111 ($context["sql_query"] ?? null), "goto" => // line 112 ($context["goto"] ?? null), "display_options_form" => 1]); // line 114 echo " "; // line 116 if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 117 echo " <div class=\"mb-3\"> <button class=\"btn btn-sm btn-secondary\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#extraOptions\" aria-expanded=\""; // line 118 echo (((($context["default_sliders_state"] ?? null) == "open")) ? ("true") : ("false")); echo "\" aria-controls=\"extraOptions\"> "; echo _gettext("Extra options"); // line 120 echo " </button> </div> <div class=\"collapse mb-3"; // line 122 echo (((($context["default_sliders_state"] ?? null) == "open")) ? (" show") : ("")); echo "\" id=\"extraOptions\"> "; } // line 124 echo " <fieldset class=\"pma-fieldset\"> <div class=\"formelement\"> <div> <input type=\"radio\" name=\"pftext\" id=\"partialFulltextRadioP"; // line 128 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" value=\"P\""; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 128), "pftext", [], "any", false, false, false, 128) == "P")) ? (" checked") : ("")); echo "> <label for=\"partialFulltextRadioP"; // line 129 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Partial texts"); echo "</label> </div> <div> <input type=\"radio\" name=\"pftext\" id=\"partialFulltextRadioF"; // line 132 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" value=\"F\""; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 132), "pftext", [], "any", false, false, false, 132) == "F")) ? (" checked") : ("")); echo "> <label for=\"partialFulltextRadioF"; // line 133 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Full texts"); echo "</label> </div> </div> "; // line 137 if ((($context["relwork"] ?? null) && ($context["displaywork"] ?? null))) { // line 138 echo " <div class=\"formelement\"> <div> <input type=\"radio\" name=\"relational_display\" id=\"relationalDisplayRadioK"; // line 140 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" value=\"K\""; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 140), "relational_display", [], "any", false, false, false, 140) == "K")) ? (" checked") : ("")); echo "> <label for=\"relationalDisplayRadioK"; // line 141 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Relational key"); echo "</label> </div> <div> <input type=\"radio\" name=\"relational_display\" id=\"relationalDisplayRadioD"; // line 144 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" value=\"D\""; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 144), "relational_display", [], "any", false, false, false, 144) == "D")) ? (" checked") : ("")); echo "> <label for=\"relationalDisplayRadioD"; // line 145 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Display column for relationships"); echo "</label> </div> </div> "; } // line 149 echo " <div class=\"formelement\"> <input type=\"checkbox\" name=\"display_binary\" id=\"display_binary_"; // line 151 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\""; // line 152 echo (( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 152), "display_binary", [], "any", false, false, false, 152))) ? (" checked") : ("")); echo "> <label for=\"display_binary_"; // line 153 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Show binary contents"); echo "</label> <input type=\"checkbox\" name=\"display_blob\" id=\"display_blob_"; // line 155 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\""; // line 156 echo (( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 156), "display_blob", [], "any", false, false, false, 156))) ? (" checked") : ("")); echo "> <label for=\"display_blob_"; // line 157 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Show BLOB contents"); echo "</label> </div> "; // line 164 echo " <div class=\"formelement\"> <input type=\"checkbox\" name=\"hide_transformation\" id=\"hide_transformation_"; // line 165 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\""; // line 166 echo (( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 166), "hide_transformation", [], "any", false, false, false, 166))) ? (" checked") : ("")); echo "> <label for=\"hide_transformation_"; // line 167 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Hide browser transformation"); echo "</label> </div> <div class=\"formelement\"> "; // line 171 if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 171), "possible_as_geometry", [], "any", false, false, false, 171)) { // line 172 echo " <div> <input type=\"radio\" name=\"geoOption\" id=\"geoOptionRadioGeom"; // line 173 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" value=\"GEOM\""; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 173), "geo_option", [], "any", false, false, false, 173) == "GEOM")) ? (" checked") : ("")); echo "> <label for=\"geoOptionRadioGeom"; // line 174 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Geometry"); echo "</label> </div> "; } // line 177 echo " <div> <input type=\"radio\" name=\"geoOption\" id=\"geoOptionRadioWkt"; // line 178 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" value=\"WKT\""; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 178), "geo_option", [], "any", false, false, false, 178) == "WKT")) ? (" checked") : ("")); echo "> <label for=\"geoOptionRadioWkt"; // line 179 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Well Known Text"); echo "</label> </div> <div> <input type=\"radio\" name=\"geoOption\" id=\"geoOptionRadioWkb"; // line 182 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" value=\"WKB\""; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 182), "geo_option", [], "any", false, false, false, 182) == "WKB")) ? (" checked") : ("")); echo "> <label for=\"geoOptionRadioWkb"; // line 183 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Well Known Binary"); echo "</label> </div> </div> <div class=\"clearfloat\"></div> </fieldset> <fieldset class=\"pma-fieldset tblFooters\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 190 echo "\"> </fieldset> "; // line 192 if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 193 echo " </div> "; } // line 195 echo " </form> "; } // line 197 echo " "; // line 198 if (twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "has_bulk_actions_form", [], "any", false, false, false, 198)) { // line 199 echo " <form method=\"post\" name=\"resultsForm\" id=\"resultsForm_"; echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" class=\"ajax\"> "; // line 200 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null), 1); echo " <input type=\"hidden\" name=\"goto\" value=\""; // line 201 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\"> "; } // line 203 echo " <div class=\"table-responsive-md\"> <table class=\"table table-striped table-hover table-sm table_results data ajax w-auto\" data-uniqueId=\""; // line 205 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\"> "; // line 207 echo twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "button", [], "any", false, false, false, 207); echo " "; // line 208 echo twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "table_headers_for_columns", [], "any", false, false, false, 208); echo " "; // line 209 echo twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_at_right_side", [], "any", false, false, false, 209); echo " </tr> </thead> <tbody> "; // line 215 echo ($context["body"] ?? null); echo " </tbody> </table> </div> "; // line 220 if ( !twig_test_empty(($context["bulk_links"] ?? null))) { // line 221 echo " <div class=\"d-print-none\"> <img class=\"selectallarrow\" src=\""; // line 222 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath((("arrow_" . ($context["text_dir"] ?? null)) . ".png")), "html", null, true); echo "\" width=\"38\" height=\"22\" alt=\""; echo _gettext("With selected:"); echo "\"> <input type=\"checkbox\" id=\"resultsForm_"; // line 223 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "_checkall\" class=\"checkall_box\" title=\""; echo _gettext("Check all"); echo "\"> <label for=\"resultsForm_"; // line 224 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "_checkall\">"; echo _gettext("Check all"); echo "</label> <em class=\"with-selected\">"; echo _gettext("With selected:"); // line 225 echo "</em> <button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"edit\" title=\""; echo _gettext("Edit"); // line 227 echo "\"> "; // line 228 echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit")); echo " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"copy\" title=\""; echo _gettext("Copy"); // line 231 echo "\"> "; // line 232 echo PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Copy")); echo " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"delete\" title=\""; echo _gettext("Delete"); // line 235 echo "\"> "; // line 236 echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Delete")); echo " </button> "; // line 239 if (twig_get_attribute($this->env, $this->source, ($context["bulk_links"] ?? null), "has_export_button", [], "any", false, false, false, 239)) { // line 240 echo " <button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"export\" title=\""; echo _gettext("Export"); echo "\"> "; // line 241 echo PhpMyAdmin\Html\Generator::getIcon("b_tblexport", _gettext("Export")); echo " </button> "; } // line 244 echo " </div> <input type=\"hidden\" name=\"clause_is_unique\" value=\""; // line 246 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["bulk_links"] ?? null), "clause_is_unique", [], "any", false, false, false, 246), "html", null, true); echo "\"> <input type=\"hidden\" name=\"sql_query\" value=\""; // line 247 echo twig_escape_filter($this->env, ($context["sql_query"] ?? null), "html", null, true); echo "\"> </form> "; } // line 250 echo " "; // line 251 echo twig_escape_filter($this->env, ($context["navigation_html"] ?? null), "html", null, true); echo " "; // line 253 if ( !twig_test_empty(($context["operations"] ?? null))) { // line 254 echo " <fieldset class=\"pma-fieldset d-print-none\"> <legend>"; echo _gettext("Query results operations"); // line 255 echo "</legend> "; // line 257 if (twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_print_link", [], "any", false, false, false, 257)) { // line 258 echo " <button type=\"button\" class=\"btn btn-link jsPrintButton\">"; echo PhpMyAdmin\Html\Generator::getIcon("b_print", _gettext("Print"), true); echo "</button> "; // line 260 echo PhpMyAdmin\Html\Generator::linkOrButton("#", null, PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Copy to clipboard"), true), ["id" => "copyToClipBoard", "class" => "btn"]); // line 265 echo " "; } // line 267 echo " "; // line 268 if ( !twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_procedure", [], "any", false, false, false, 268)) { // line 269 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_export_link", [], "any", false, false, false, 269)) { // line 270 echo " "; echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/table/export"), twig_get_attribute($this->env, $this->source, // line 272 ($context["operations"] ?? null), "url_params", [], "any", false, false, false, 272), PhpMyAdmin\Html\Generator::getIcon("b_tblexport", _gettext("Export"), true), ["class" => "btn"]); // line 275 echo " "; // line 277 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/table/chart"), twig_get_attribute($this->env, $this->source, // line 279 ($context["operations"] ?? null), "url_params", [], "any", false, false, false, 279), PhpMyAdmin\Html\Generator::getIcon("b_chart", _gettext("Display chart"), true), ["class" => "btn"]); // line 282 echo " "; // line 284 if (twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_geometry", [], "any", false, false, false, 284)) { // line 285 echo " "; echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/table/gis-visualization"), twig_get_attribute($this->env, $this->source, // line 287 ($context["operations"] ?? null), "url_params", [], "any", false, false, false, 287), PhpMyAdmin\Html\Generator::getIcon("b_globe", _gettext("Visualize GIS data"), true), ["class" => "btn"]); // line 290 echo " "; } // line 292 echo " "; } // line 293 echo " <span> "; // line 295 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/view/create"), ["db" => // line 297 ($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 300 echo " </span> "; } // line 303 echo " </fieldset> "; } // line 305 if (( !twig_test_empty(($context["operations"] ?? null)) && !twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_procedure", [], "any", false, false, false, 305))) { // line 306 echo twig_include($this->env, $context, "modals/create_view.twig"); echo " "; } } public function getTemplateName() { return "display/results/table.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 739 => 306, 737 => 305, 733 => 303, 728 => 300, 726 => 297, 725 => 295, 721 => 293, 718 => 292, 714 => 290, 712 => 287, 710 => 285, 708 => 284, 704 => 282, 702 => 279, 701 => 277, 697 => 275, 695 => 272, 693 => 270, 690 => 269, 688 => 268, 685 => 267, 681 => 265, 679 => 260, 673 => 258, 671 => 257, 667 => 255, 663 => 254, 661 => 253, 656 => 251, 653 => 250, 647 => 247, 643 => 246, 639 => 244, 633 => 241, 628 => 240, 626 => 239, 620 => 236, 617 => 235, 610 => 232, 607 => 231, 600 => 228, 597 => 227, 592 => 225, 585 => 224, 579 => 223, 573 => 222, 570 => 221, 568 => 220, 560 => 215, 551 => 209, 547 => 208, 543 => 207, 538 => 205, 534 => 203, 529 => 201, 525 => 200, 520 => 199, 518 => 198, 515 => 197, 511 => 195, 507 => 193, 505 => 192, 501 => 190, 488 => 183, 482 => 182, 474 => 179, 468 => 178, 465 => 177, 457 => 174, 451 => 173, 448 => 172, 446 => 171, 437 => 167, 433 => 166, 430 => 165, 427 => 164, 419 => 157, 415 => 156, 412 => 155, 405 => 153, 401 => 152, 398 => 151, 394 => 149, 385 => 145, 379 => 144, 371 => 141, 365 => 140, 361 => 138, 359 => 137, 350 => 133, 344 => 132, 336 => 129, 330 => 128, 324 => 124, 319 => 122, 315 => 120, 310 => 118, 307 => 117, 305 => 116, 301 => 114, 299 => 112, 298 => 111, 297 => 110, 296 => 109, 295 => 108, 290 => 107, 288 => 106, 285 => 105, 278 => 102, 275 => 101, 269 => 99, 266 => 98, 260 => 96, 257 => 95, 255 => 94, 249 => 91, 244 => 89, 239 => 87, 234 => 85, 231 => 84, 223 => 78, 218 => 75, 205 => 73, 201 => 72, 198 => 71, 193 => 69, 188 => 68, 186 => 67, 179 => 64, 175 => 62, 167 => 57, 154 => 55, 149 => 54, 143 => 52, 141 => 51, 137 => 49, 132 => 47, 130 => 46, 129 => 45, 128 => 44, 124 => 43, 117 => 38, 108 => 32, 102 => 29, 92 => 24, 88 => 23, 85 => 22, 82 => 21, 80 => 19, 79 => 18, 75 => 17, 72 => 16, 70 => 15, 67 => 14, 63 => 12, 61 => 11, 56 => 9, 52 => 8, 48 => 7, 42 => 3, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/table.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/table.twig"); } } twig/e9/e991b4d0ba6a8cb780fe933d65614846.php 0000644 00000015745 15114741573 0013105 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* header.twig */ class __TwigTemplate_328c6a7ac0bdfe9d475a1cd10ab711d8 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 echo "<!doctype html> <html lang=\""; // line 2 echo twig_escape_filter($this->env, ($context["lang"] ?? null), "html", null, true); echo "\" dir=\""; echo twig_escape_filter($this->env, ($context["text_dir"] ?? null), "html", null, true); echo "\"> <head> <meta charset=\"utf-8\"> <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"> <meta name=\"referrer\" content=\"no-referrer\"> <meta name=\"robots\" content=\"noindex,nofollow,notranslate\"> <meta name=\"google\" content=\"notranslate\"> "; // line 9 if ( !($context["allow_third_party_framing"] ?? null)) { // line 10 echo "<style id=\"cfs-style\">html{display: none;}</style>"; } // line 12 echo " <link rel=\"icon\" href=\"favicon.ico\" type=\"image/x-icon\"> <link rel=\"shortcut icon\" href=\"favicon.ico\" type=\"image/x-icon\"> <link rel=\"stylesheet\" type=\"text/css\" href=\""; // line 15 echo twig_escape_filter($this->env, ($context["theme_path"] ?? null), "html", null, true); echo "/jquery/jquery-ui.css\"> <link rel=\"stylesheet\" type=\"text/css\" href=\""; // line 16 echo twig_escape_filter($this->env, ($context["base_dir"] ?? null), "html", null, true); echo "js/vendor/codemirror/lib/codemirror.css?"; echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true); echo "\"> <link rel=\"stylesheet\" type=\"text/css\" href=\""; // line 17 echo twig_escape_filter($this->env, ($context["base_dir"] ?? null), "html", null, true); echo "js/vendor/codemirror/addon/hint/show-hint.css?"; echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true); echo "\"> <link rel=\"stylesheet\" type=\"text/css\" href=\""; // line 18 echo twig_escape_filter($this->env, ($context["base_dir"] ?? null), "html", null, true); echo "js/vendor/codemirror/addon/lint/lint.css?"; echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true); echo "\"> <link rel=\"stylesheet\" type=\"text/css\" href=\""; // line 19 echo twig_escape_filter($this->env, ($context["theme_path"] ?? null), "html", null, true); echo "/css/theme"; echo (((($context["text_dir"] ?? null) == "rtl")) ? (".rtl") : ("")); echo ".css?"; echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true); echo "\"> <title>"; // line 20 echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true); echo "</title> "; // line 21 echo ($context["scripts"] ?? null); echo " <noscript><style>html{display:block}</style></noscript> </head> <body"; // line 24 (( !twig_test_empty(($context["body_id"] ?? null))) ? (print (twig_escape_filter($this->env, (" id=" . ($context["body_id"] ?? null)), "html", null, true))) : (print (""))); echo "> "; // line 25 echo ($context["navigation"] ?? null); echo " "; // line 26 echo ($context["custom_header"] ?? null); echo " "; // line 27 echo ($context["load_user_preferences"] ?? null); echo " "; // line 29 if ( !($context["show_hint"] ?? null)) { // line 30 echo " <span id=\"no_hint\" class=\"hide\"></span> "; } // line 32 echo " "; // line 33 if (($context["is_warnings_enabled"] ?? null)) { // line 34 echo " <noscript> "; // line 35 echo $this->env->getFilter('error')->getCallable()(_gettext("Javascript must be enabled past this point!")); echo " </noscript> "; } // line 38 echo " "; // line 39 if ((($context["is_menu_enabled"] ?? null) && (($context["server"] ?? null) > 0))) { // line 40 echo " "; echo ($context["menu"] ?? null); echo " <span id=\"page_nav_icons\" class=\"d-print-none\"> <span id=\"lock_page_icon\"></span> <span id=\"page_settings_icon\"> "; // line 44 echo PhpMyAdmin\Html\Generator::getImage("s_cog", _gettext("Page-related settings")); echo " </span> <a id=\"goto_pagetop\" href=\"#\">"; // line 46 echo PhpMyAdmin\Html\Generator::getImage("s_top", _gettext("Click on the bar to scroll to top of page")); echo "</a> </span> "; } // line 49 echo " "; // line 50 echo ($context["console"] ?? null); echo " <div id=\"page_content\"> "; // line 53 echo ($context["messages"] ?? null); echo " "; // line 55 echo ($context["recent_table"] ?? null); // line 56 if (($context["is_logged_in"] ?? null)) { // line 57 echo twig_include($this->env, $context, "modals/preview_sql_modal.twig"); echo " "; // line 58 echo twig_include($this->env, $context, "modals/enum_set_editor.twig"); echo " "; // line 59 echo twig_include($this->env, $context, "modals/create_view.twig"); } } public function getTemplateName() { return "header.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 189 => 59, 185 => 58, 181 => 57, 179 => 56, 177 => 55, 172 => 53, 166 => 50, 163 => 49, 157 => 46, 152 => 44, 144 => 40, 142 => 39, 139 => 38, 133 => 35, 130 => 34, 128 => 33, 125 => 32, 121 => 30, 119 => 29, 114 => 27, 110 => 26, 106 => 25, 102 => 24, 96 => 21, 92 => 20, 84 => 19, 78 => 18, 72 => 17, 66 => 16, 62 => 15, 57 => 12, 54 => 10, 52 => 9, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "header.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/header.twig"); } } twig/e9/e951ff3ab2b94a915db1909c7651dac9.php 0000644 00000010723 15114741573 0013225 0 ustar 00 <?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_18eb378e4c1cd4cbee166bc97c20e434 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/top_menu.twig"); } } twig/75/75566067416bbd2693433503c31f139f.php 0000644 00000261340 15114741573 0012422 0 ustar 00 <?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; /* table/structure/display_structure.twig */ class __TwigTemplate_9d98b25ae95cff895c0ced37fc40bd90 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 "table/page_with_secondary_tabs.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $this->parent = $this->loadTemplate("table/page_with_secondary_tabs.twig", "table/structure/display_structure.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 "<h1 class=\"d-none d-print-block\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["table"] ?? null), "html", null, true); yield "</h1> <form method=\"post\" action=\""; // line 4 yield PhpMyAdmin\Url::getFromRoute("/table/structure"); yield "\" name=\"fieldsForm\" id=\"fieldsForm\"> "; // line 5 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); yield " <input type=\"hidden\" name=\"table_type\" value="; // line 7 if (($context["db_is_system_schema"] ?? null)) { // line 8 yield "\"information_schema\""; } elseif ( // line 9 ($context["tbl_is_view"] ?? null)) { // line 10 yield "\"view\""; } else { // line 12 yield "\"table\""; } // line 13 yield "> <div class=\"table-responsive-md\"> <table id=\"tablestructure\" class=\"table table-striped table-hover w-auto align-middle\"> "; // line 17 yield " <thead> <tr> <th class=\"d-print-none\"></th> <th>#</th> <th>"; yield _gettext("Name"); // line 21 yield "</th> <th>"; yield _gettext("Type"); // line 22 yield "</th> <th>"; yield _gettext("Collation"); // line 23 yield "</th> <th>"; yield _gettext("Attributes"); // line 24 yield "</th> <th>"; yield _gettext("Null"); // line 25 yield "</th> <th>"; yield _gettext("Default"); // line 26 yield "</th> "; // line 27 if (($context["show_column_comments"] ?? null)) { // line 28 yield "<th>"; yield _gettext("Comments"); yield "</th>"; } // line 30 yield " <th>"; yield _gettext("Extra"); yield "</th> "; // line 32 yield " "; if (( !($context["db_is_system_schema"] ?? null) && !($context["tbl_is_view"] ?? null))) { // line 33 yield " <th colspan=\""; yield ((PhpMyAdmin\Util::showIcons("ActionLinksMode")) ? ("8") : ("9")); // line 34 yield "\" class=\"action d-print-none\">"; yield _gettext("Action"); yield "</th> "; } // line 36 yield " </tr> </thead> <tbody> "; // line 40 yield " "; $context["rownum"] = 0; // line 41 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["fields"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["row"]) { // line 42 yield " "; $context["rownum"] = (($context["rownum"] ?? null) + 1); // line 43 yield " "; // line 44 $context["extracted_columnspec"] = (($__internal_compile_0 = ($context["extracted_columnspecs"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[($context["rownum"] ?? null)] ?? null) : null); // line 45 yield " "; $context["field_name"] = $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_1 = $context["row"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["Field"] ?? null) : null)); // line 46 yield " "; // line 47 yield " "; $context["comments"] = (($__internal_compile_2 = ($context["row_comments"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[($context["rownum"] ?? null)] ?? null) : null); // line 48 yield " "; // line 49 yield " <tr> <td class=\"text-center d-print-none\"> <input type=\"checkbox\" class=\"checkall\" name=\"selected_fld[]\" value=\""; // line 52 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_3 = $context["row"]) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["Field"] ?? null) : null), "html", null, true); yield "\" id=\"checkbox_row_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["rownum"] ?? null), "html", null, true); yield "\"> </td> <td class=\"text-end\">"; // line 54 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["rownum"] ?? null), "html", null, true); yield "</td> <th class=\"text-nowrap\"> <label for=\"checkbox_row_"; // line 56 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["rownum"] ?? null), "html", null, true); yield "\"> "; // line 57 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["displayed_fields"] ?? null), ($context["rownum"] ?? null), [], "array", false, true, false, 57), "comment", [], "any", true, true, false, 57)) { // line 58 yield " <span class=\"commented_column\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_4 = ($context["displayed_fields"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4[($context["rownum"] ?? null)] ?? null) : null), "comment", [], "any", false, false, false, 58), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_5 = ($context["displayed_fields"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[($context["rownum"] ?? null)] ?? null) : null), "text", [], "any", false, false, false, 58), "html", null, true); yield "</span> "; } else { // line 60 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_6 = ($context["displayed_fields"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6[($context["rownum"] ?? null)] ?? null) : null), "text", [], "any", false, false, false, 60), "html", null, true); yield " "; } // line 62 yield " "; yield CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_7 = ($context["displayed_fields"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7[($context["rownum"] ?? null)] ?? null) : null), "icon", [], "any", false, false, false, 62); yield " </label> </th> <td"; // line 65 yield (((("set" != (($__internal_compile_8 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["type"] ?? null) : null)) && ("enum" != (($__internal_compile_9 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["type"] ?? null) : null)))) ? (" class=\"text-nowrap\"") : ("")); yield "> <bdo dir=\"ltr\" lang=\"en\"> "; // line 67 yield (($__internal_compile_10 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["displayed_type"] ?? null) : null); yield " "; // line 68 if (((( !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "columnCommentsFeature", [], "any", false, false, false, 68)) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "browserTransformationFeature", [], "any", false, false, false, 68))) && ($context["browse_mime"] ?? null)) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 69 ($context["mime_map"] ?? null), (($__internal_compile_11 = $context["row"]) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["Field"] ?? null) : null), [], "array", false, true, false, 69), "mimetype", [], "array", true, true, false, 69))) { // line 70 yield " <br>"; yield _gettext("Media type:"); yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::lower($this->env->getCharset(), Twig\Extension\CoreExtension::replace((($__internal_compile_12 = (($__internal_compile_13 = ($context["mime_map"] ?? null)) && is_array($__internal_compile_13) || $__internal_compile_13 instanceof ArrayAccess ? ($__internal_compile_13[(($__internal_compile_14 = $context["row"]) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_12) || $__internal_compile_12 instanceof ArrayAccess ? ($__internal_compile_12["mimetype"] ?? null) : null), ["_" => "/"])), "html", null, true); yield " "; } // line 72 yield " </bdo> </td> <td> "; // line 75 if ( !Twig\Extension\CoreExtension::testEmpty((($__internal_compile_15 = $context["row"]) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15["Collation"] ?? null) : null))) { // line 76 yield " <dfn title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_16 = ($context["collations"] ?? null)) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16[(($__internal_compile_17 = $context["row"]) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17["Collation"] ?? null) : null)] ?? null) : null), "description", [], "any", false, false, false, 76), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_18 = ($context["collations"] ?? null)) && is_array($__internal_compile_18) || $__internal_compile_18 instanceof ArrayAccess ? ($__internal_compile_18[(($__internal_compile_19 = $context["row"]) && is_array($__internal_compile_19) || $__internal_compile_19 instanceof ArrayAccess ? ($__internal_compile_19["Collation"] ?? null) : null)] ?? null) : null), "name", [], "any", false, false, false, 76), "html", null, true); yield "</dfn> "; } // line 78 yield " </td> <td class=\"column_attribute text-nowrap\">"; // line 79 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_20 = ($context["attributes"] ?? null)) && is_array($__internal_compile_20) || $__internal_compile_20 instanceof ArrayAccess ? ($__internal_compile_20[($context["rownum"] ?? null)] ?? null) : null), "html", null, true); yield "</td> <td>"; // line 80 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((((($__internal_compile_21 = $context["row"]) && is_array($__internal_compile_21) || $__internal_compile_21 instanceof ArrayAccess ? ($__internal_compile_21["Null"] ?? null) : null) == "YES")) ? (_gettext("Yes")) : (_gettext("No"))), "html", null, true); yield "</td> <td class=\"text-nowrap\">"; // line 82 if ( !(null === (($__internal_compile_22 = $context["row"]) && is_array($__internal_compile_22) || $__internal_compile_22 instanceof ArrayAccess ? ($__internal_compile_22["Default"] ?? null) : null))) { // line 83 if (((($__internal_compile_23 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_23) || $__internal_compile_23 instanceof ArrayAccess ? ($__internal_compile_23["type"] ?? null) : null) == "bit")) { // line 84 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::convertBitDefaultValue((($__internal_compile_24 = $context["row"]) && is_array($__internal_compile_24) || $__internal_compile_24 instanceof ArrayAccess ? ($__internal_compile_24["Default"] ?? null) : null)), "html", null, true); } else { // line 86 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_25 = $context["row"]) && is_array($__internal_compile_25) || $__internal_compile_25 instanceof ArrayAccess ? ($__internal_compile_25["Default"] ?? null) : null), "html", null, true); } } elseif (((($__internal_compile_26 = // line 88 $context["row"]) && is_array($__internal_compile_26) || $__internal_compile_26 instanceof ArrayAccess ? ($__internal_compile_26["Null"] ?? null) : null) == "YES")) { // line 89 yield "<em>NULL</em>"; } else { // line 91 yield "<em>"; yield _pgettext("None for default", "None"); yield "</em>"; } // line 93 yield "</td> "; // line 94 if (($context["show_column_comments"] ?? null)) { // line 95 yield " <td> "; // line 96 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["comments"] ?? null), "html", null, true); yield " </td> "; } // line 99 yield " <td class=\"text-nowrap\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::upper($this->env->getCharset(), (($__internal_compile_27 = $context["row"]) && is_array($__internal_compile_27) || $__internal_compile_27 instanceof ArrayAccess ? ($__internal_compile_27["Extra"] ?? null) : null)), "html", null, true); yield "</td> "; // line 100 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 101 yield " <td class=\"edit text-center d-print-none\"> <a class=\"change_column_anchor ajax\" href=\""; // line 102 yield PhpMyAdmin\Url::getFromRoute("/table/structure/change", ["db" => // line 103 ($context["db"] ?? null), "table" => // line 104 ($context["table"] ?? null), "field" => (($__internal_compile_28 = // line 105 $context["row"]) && is_array($__internal_compile_28) || $__internal_compile_28 instanceof ArrayAccess ? ($__internal_compile_28["Field"] ?? null) : null), "change_column" => 1]); // line 107 yield "\"> "; // line 108 yield PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Change")); yield " </a> </td> <td class=\"drop text-center d-print-none\"> <a class=\"drop_column_anchor ajax\" href=\""; // line 112 yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 113 ($context["db"] ?? null), "table" => // line 114 ($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 115 ($context["table"] ?? null))) . " DROP ") . PhpMyAdmin\Util::backquote((($__internal_compile_29 = $context["row"]) && is_array($__internal_compile_29) || $__internal_compile_29 instanceof ArrayAccess ? ($__internal_compile_29["Field"] ?? null) : null))) . ";"), "dropped_column" => (($__internal_compile_30 = // line 116 $context["row"]) && is_array($__internal_compile_30) || $__internal_compile_30 instanceof ArrayAccess ? ($__internal_compile_30["Field"] ?? null) : null), "purge" => true, "message_to_show" => Twig\Extension\CoreExtension::sprintf(_gettext("Column %s has been dropped."), $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_31 = // line 118 $context["row"]) && is_array($__internal_compile_31) || $__internal_compile_31 instanceof ArrayAccess ? ($__internal_compile_31["Field"] ?? null) : null)))], "", false); // line 119 yield "\"> "; // line 120 yield PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); yield " </a> </td> "; } // line 124 yield " "; // line 125 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 126 yield " "; $context["type"] = (( !Twig\Extension\CoreExtension::testEmpty((($__internal_compile_32 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_32) || $__internal_compile_32 instanceof ArrayAccess ? ($__internal_compile_32["print_type"] ?? null) : null))) ? ((($__internal_compile_33 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_33) || $__internal_compile_33 instanceof ArrayAccess ? ($__internal_compile_33["print_type"] ?? null) : null)) : ("")); // line 127 yield " <td class=\"d-print-none\"> "; // line 128 if (($context["hide_structure_actions"] ?? null)) { // line 129 yield " <div class=\"dropdown\"> <button class=\"btn btn-link p-0 dropdown-toggle\" type=\"button\" id=\"moreActionsButton\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\">"; yield _gettext("More"); // line 130 yield "</button> <ul class=\"dropdown-menu dropdown-menu-end\" aria-labelledby=\"moreActionsButton\"> "; } else { // line 133 yield " <ul class=\"nav\"> "; } // line 135 yield " <li class=\""; yield (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); yield "primary text-nowrap\"> "; // line 136 if (((((($context["type"] ?? null) == "text") || (($context["type"] ?? null) == "blob")) || (($context["tbl_storage_engine"] ?? null) == "ARCHIVE")) || (($context["primary"] ?? null) && CoreExtension::getAttribute($this->env, $this->source, ($context["primary"] ?? null), "hasColumn", [($context["field_name"] ?? null)], "method", false, false, false, 136)))) { // line 137 yield " <span class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1")); yield " disabled\">"; yield PhpMyAdmin\Html\Generator::getIcon("bd_primary", _gettext("Primary")); yield "</span> "; } else { // line 139 yield " <a rel=\"samepage\" class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); yield " ajax add_key d-print-none add_primary_key_anchor\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/table/structure/add-key"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 140 ($context["db"] ?? null), "table" => // line 141 ($context["table"] ?? null), "sql_query" => ((((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 142 ($context["table"] ?? null))) . ((($context["primary"] ?? null)) ? (" DROP PRIMARY KEY,") : (""))) . " ADD PRIMARY KEY(") . PhpMyAdmin\Util::backquote((($__internal_compile_34 = $context["row"]) && is_array($__internal_compile_34) || $__internal_compile_34 instanceof ArrayAccess ? ($__internal_compile_34["Field"] ?? null) : null))) . ");"), "message_to_show" => Twig\Extension\CoreExtension::sprintf(_gettext("A primary key has been added on %s."), $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_35 = // line 143 $context["row"]) && is_array($__internal_compile_35) || $__internal_compile_35 instanceof ArrayAccess ? ($__internal_compile_35["Field"] ?? null) : null)))], "", false); // line 144 yield "\"> "; // line 145 yield PhpMyAdmin\Html\Generator::getIcon("b_primary", _gettext("Primary")); yield " </a> "; } // line 148 yield " </li> <li class=\""; // line 150 yield (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); yield "add_unique unique text-nowrap\"> "; // line 151 if ((((($context["type"] ?? null) == "text") || (($context["type"] ?? null) == "blob")) || (($context["tbl_storage_engine"] ?? null) == "ARCHIVE"))) { // line 152 yield " <span class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1")); yield " disabled\">"; yield PhpMyAdmin\Html\Generator::getIcon("bd_unique", _gettext("Unique")); yield "</span> "; } else { // line 154 yield " <a rel=\"samepage\" class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); yield " ajax add_key d-print-none add_unique_anchor\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/table/structure/add-key"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 155 ($context["db"] ?? null), "table" => // line 156 ($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 157 ($context["table"] ?? null))) . " ADD UNIQUE(") . PhpMyAdmin\Util::backquote((($__internal_compile_36 = $context["row"]) && is_array($__internal_compile_36) || $__internal_compile_36 instanceof ArrayAccess ? ($__internal_compile_36["Field"] ?? null) : null))) . ");"), "message_to_show" => Twig\Extension\CoreExtension::sprintf(_gettext("An index has been added on %s."), $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_37 = // line 158 $context["row"]) && is_array($__internal_compile_37) || $__internal_compile_37 instanceof ArrayAccess ? ($__internal_compile_37["Field"] ?? null) : null)))], "", false); // line 159 yield "\"> "; // line 160 yield PhpMyAdmin\Html\Generator::getIcon("b_unique", _gettext("Unique")); yield " </a> "; } // line 163 yield " </li> <li class=\""; // line 165 yield (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); yield "add_index text-nowrap\"> "; // line 166 if ((((($context["type"] ?? null) == "text") || (($context["type"] ?? null) == "blob")) || (($context["tbl_storage_engine"] ?? null) == "ARCHIVE"))) { // line 167 yield " <span class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1")); yield " disabled\">"; yield PhpMyAdmin\Html\Generator::getIcon("bd_index", _gettext("Index")); yield "</span> "; } else { // line 169 yield " <a rel=\"samepage\" class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); yield " ajax add_key d-print-none add_index_anchor\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/table/structure/add-key"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 170 ($context["db"] ?? null), "table" => // line 171 ($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 172 ($context["table"] ?? null))) . " ADD INDEX(") . PhpMyAdmin\Util::backquote((($__internal_compile_38 = $context["row"]) && is_array($__internal_compile_38) || $__internal_compile_38 instanceof ArrayAccess ? ($__internal_compile_38["Field"] ?? null) : null))) . ");"), "message_to_show" => Twig\Extension\CoreExtension::sprintf(_gettext("An index has been added on %s."), $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_39 = // line 173 $context["row"]) && is_array($__internal_compile_39) || $__internal_compile_39 instanceof ArrayAccess ? ($__internal_compile_39["Field"] ?? null) : null)))], "", false); // line 174 yield "\"> "; // line 175 yield PhpMyAdmin\Html\Generator::getIcon("b_index", _gettext("Index")); yield " </a> "; } // line 178 yield " </li> "; // line 180 $context["spatial_types"] = ["geometry", "point", "linestring", "polygon", "multipoint", "multilinestring", "multipolygon", "geomtrycollection"]; // line 190 yield " <li class=\""; yield (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); yield "spatial text-nowrap\"> "; // line 191 if (((((($context["type"] ?? null) == "text") || (($context["type"] ?? null) == "blob")) || (($context["tbl_storage_engine"] ?? null) == "ARCHIVE")) || (!CoreExtension::inFilter(($context["type"] ?? null), ($context["spatial_types"] ?? null)) && ((($context["tbl_storage_engine"] ?? null) == "MYISAM") || (($context["mysql_int_version"] ?? null) >= 50705))))) { // line 192 yield " <span class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1")); yield " disabled\">"; yield PhpMyAdmin\Html\Generator::getIcon("bd_spatial", _gettext("Spatial")); yield "</span> "; } else { // line 194 yield " <a rel=\"samepage\" class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); yield " ajax add_key d-print-none add_spatial_anchor\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/table/structure/add-key"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 195 ($context["db"] ?? null), "table" => // line 196 ($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 197 ($context["table"] ?? null))) . " ADD SPATIAL(") . PhpMyAdmin\Util::backquote((($__internal_compile_40 = $context["row"]) && is_array($__internal_compile_40) || $__internal_compile_40 instanceof ArrayAccess ? ($__internal_compile_40["Field"] ?? null) : null))) . ");"), "message_to_show" => Twig\Extension\CoreExtension::sprintf(_gettext("An index has been added on %s."), $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_41 = // line 198 $context["row"]) && is_array($__internal_compile_41) || $__internal_compile_41 instanceof ArrayAccess ? ($__internal_compile_41["Field"] ?? null) : null)))], "", false); // line 199 yield "\"> "; // line 200 yield PhpMyAdmin\Html\Generator::getIcon("b_spatial", _gettext("Spatial")); yield " </a> "; } // line 203 yield " </li> "; // line 206 yield " <li class=\""; yield (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); yield "fulltext text-nowrap\"> "; // line 207 if ((( !Twig\Extension\CoreExtension::testEmpty(($context["tbl_storage_engine"] ?? null)) && (((( // line 208 ($context["tbl_storage_engine"] ?? null) == "MYISAM") || ( // line 209 ($context["tbl_storage_engine"] ?? null) == "ARIA")) || ( // line 210 ($context["tbl_storage_engine"] ?? null) == "MARIA")) || (( // line 211 ($context["tbl_storage_engine"] ?? null) == "INNODB") && (($context["mysql_int_version"] ?? null) >= 50604)))) && (CoreExtension::inFilter("text", // line 212 ($context["type"] ?? null)) || CoreExtension::inFilter("char", ($context["type"] ?? null))))) { // line 213 yield " <a rel=\"samepage\" class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); yield " ajax add_key add_fulltext_anchor\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/table/structure/add-key"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 214 ($context["db"] ?? null), "table" => // line 215 ($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 216 ($context["table"] ?? null))) . " ADD FULLTEXT(") . PhpMyAdmin\Util::backquote((($__internal_compile_42 = $context["row"]) && is_array($__internal_compile_42) || $__internal_compile_42 instanceof ArrayAccess ? ($__internal_compile_42["Field"] ?? null) : null))) . ");"), "message_to_show" => Twig\Extension\CoreExtension::sprintf(_gettext("An index has been added on %s."), $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_43 = // line 217 $context["row"]) && is_array($__internal_compile_43) || $__internal_compile_43 instanceof ArrayAccess ? ($__internal_compile_43["Field"] ?? null) : null)))], "", false); // line 218 yield "\"> "; // line 219 yield PhpMyAdmin\Html\Generator::getIcon("b_ftext", _gettext("Fulltext")); yield " </a> "; } else { // line 222 yield " <span class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1")); yield " disabled\">"; yield PhpMyAdmin\Html\Generator::getIcon("bd_ftext", _gettext("Fulltext")); yield "</span> "; } // line 224 yield " </li> "; // line 227 yield " <li class=\""; yield (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); yield "browse text-nowrap\"> <a class=\""; // line 228 yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); yield "\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 229 ($context["db"] ?? null), "table" => // line 230 ($context["table"] ?? null), "sql_query" => ((((((((("SELECT COUNT(*) AS " . PhpMyAdmin\Util::backquote(_gettext("Rows"))) . ", ") . PhpMyAdmin\Util::backquote((($__internal_compile_44 = // line 232 $context["row"]) && is_array($__internal_compile_44) || $__internal_compile_44 instanceof ArrayAccess ? ($__internal_compile_44["Field"] ?? null) : null))) . " FROM ") . PhpMyAdmin\Util::backquote( // line 233 ($context["table"] ?? null))) . " GROUP BY ") . PhpMyAdmin\Util::backquote((($__internal_compile_45 = // line 234 $context["row"]) && is_array($__internal_compile_45) || $__internal_compile_45 instanceof ArrayAccess ? ($__internal_compile_45["Field"] ?? null) : null))) . " ORDER BY ") . PhpMyAdmin\Util::backquote((($__internal_compile_46 = // line 235 $context["row"]) && is_array($__internal_compile_46) || $__internal_compile_46 instanceof ArrayAccess ? ($__internal_compile_46["Field"] ?? null) : null))), "is_browse_distinct" => true], "", false); // line 237 yield "\"> "; // line 238 yield PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Distinct values")); yield " </a> </li> "; // line 241 if ( !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "centralColumnsFeature", [], "any", false, false, false, 241))) { // line 242 yield " <li class=\""; yield (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); yield "browse text-nowrap\"> "; // line 243 if (CoreExtension::inFilter((($__internal_compile_47 = $context["row"]) && is_array($__internal_compile_47) || $__internal_compile_47 instanceof ArrayAccess ? ($__internal_compile_47["Field"] ?? null) : null), ($context["central_list"] ?? null))) { // line 244 yield " <a class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); yield "\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/table/structure/central-columns-remove"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 245 ($context["db"] ?? null), "table" => // line 246 ($context["table"] ?? null), "selected_fld" => [(($__internal_compile_48 = // line 247 $context["row"]) && is_array($__internal_compile_48) || $__internal_compile_48 instanceof ArrayAccess ? ($__internal_compile_48["Field"] ?? null) : null)]]); // line 248 yield "\"> "; // line 249 yield PhpMyAdmin\Html\Generator::getIcon("centralColumns_delete", _gettext("Remove from central columns")); yield " </a> "; } else { // line 252 yield " <a class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); yield "\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/table/structure/central-columns-add"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 253 ($context["db"] ?? null), "table" => // line 254 ($context["table"] ?? null), "selected_fld" => [(($__internal_compile_49 = // line 255 $context["row"]) && is_array($__internal_compile_49) || $__internal_compile_49 instanceof ArrayAccess ? ($__internal_compile_49["Field"] ?? null) : null)]]); // line 256 yield "\"> "; // line 257 yield PhpMyAdmin\Html\Generator::getIcon("centralColumns_add", _gettext("Add to central columns")); yield " </a> "; } // line 260 yield " </li> "; } // line 262 yield " "; if ( !($context["hide_structure_actions"] ?? null)) { // line 263 yield " </ul> "; } else { // line 265 yield " </ul> </div> "; } // line 268 yield " </td> "; } // line 270 yield " </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 272 yield " </tbody> </table> </div> <div class=\"d-print-none\"> "; // line 276 yield from $this->loadTemplate("select_all.twig", "table/structure/display_structure.twig", 276)->unwrap()->yield(CoreExtension::toArray(["text_dir" => // line 277 ($context["text_dir"] ?? null), "form_name" => "fieldsForm"])); // line 280 yield " <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 281 yield PhpMyAdmin\Url::getFromRoute("/table/structure/browse"); yield "\"> "; // line 282 yield PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse")); yield " </button> "; // line 285 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 286 yield " <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; yield PhpMyAdmin\Url::getFromRoute("/table/structure/change"); yield "\"> "; // line 287 yield PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Change")); yield " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 289 yield PhpMyAdmin\Url::getFromRoute("/table/structure/drop-confirm"); yield "\"> "; // line 290 yield PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); yield " </button> "; // line 293 if ((($context["tbl_storage_engine"] ?? null) != "ARCHIVE")) { // line 294 yield " <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; yield PhpMyAdmin\Url::getFromRoute("/table/structure/primary"); yield "\"> "; // line 295 yield PhpMyAdmin\Html\Generator::getIcon("b_primary", _gettext("Primary")); yield " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 297 yield PhpMyAdmin\Url::getFromRoute("/table/structure/unique"); yield "\"> "; // line 298 yield PhpMyAdmin\Html\Generator::getIcon("b_unique", _gettext("Unique")); yield " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 300 yield PhpMyAdmin\Url::getFromRoute("/table/structure/index"); yield "\"> "; // line 301 yield PhpMyAdmin\Html\Generator::getIcon("b_index", _gettext("Index")); yield " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 303 yield PhpMyAdmin\Url::getFromRoute("/table/structure/spatial"); yield "\"> "; // line 304 yield PhpMyAdmin\Html\Generator::getIcon("b_spatial", _gettext("Spatial")); yield " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 306 yield PhpMyAdmin\Url::getFromRoute("/table/structure/fulltext"); yield "\"> "; // line 307 yield PhpMyAdmin\Html\Generator::getIcon("b_ftext", _gettext("Fulltext")); yield " </button> "; // line 310 if ( !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "centralColumnsFeature", [], "any", false, false, false, 310))) { // line 311 yield " <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; yield PhpMyAdmin\Url::getFromRoute("/table/structure/central-columns-add"); yield "\"> "; // line 312 yield PhpMyAdmin\Html\Generator::getIcon("centralColumns_add", _gettext("Add to central columns")); yield " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 314 yield PhpMyAdmin\Url::getFromRoute("/table/structure/central-columns-remove"); yield "\"> "; // line 315 yield PhpMyAdmin\Html\Generator::getIcon("centralColumns_delete", _gettext("Remove from central columns")); yield " </button> "; } // line 318 yield " "; } // line 319 yield " "; } // line 320 yield " </div> </form> <hr class=\"d-print-none\"> <div class=\"modal fade\" id=\"moveColumnsModal\" tabindex=\"-1\" aria-labelledby=\"moveColumnsModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"moveColumnsModalLabel\">"; yield _gettext("Move columns"); // line 328 yield "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Close"); // line 329 yield "\"></button> </div> <div class=\"modal-body\"> <div id=\"move_columns_dialog\" title=\""; yield _gettext("Move columns"); // line 332 yield "\"> <p>"; yield _gettext("Move the columns by dragging them up and down."); // line 333 yield "</p> <form action=\""; // line 334 yield PhpMyAdmin\Url::getFromRoute("/table/structure/move-columns"); yield "\" name=\"move_column_form\" id=\"move_column_form\"> <div> "; // line 336 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); yield " <ul></ul> </div> </form> </div> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-primary\" id=\"designerModalGoButton\">"; yield _gettext("Go"); // line 343 yield "</button> <button type=\"button\" class=\"btn btn-secondary\" id=\"designerModalPreviewButton\" data-bs-target=\"#designerModalPreviewModal\" data-bs-toggle=\"modal\">"; yield _gettext("Preview SQL"); // line 344 yield "</button> <button type=\"button\" class=\"btn btn-secondary\" id=\"designerModalCloseButton\" data-bs-dismiss=\"modal\">"; yield _gettext("Close"); // line 345 yield "</button> </div> </div> </div> </div> <div class=\"modal fade\" id=\"designerModalPreviewModal\" aria-hidden=\"true\" aria-labelledby=\"designerModalPreviewModalLabel\" tabindex=\"-1\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"designerModalPreviewModalLabel\">"; yield _gettext("Preview SQL"); // line 354 yield "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Close"); // line 355 yield "\"></button> </div> <div class=\"modal-body\"> <div class=\"spinner-border\" role=\"status\"> <span class=\"visually-hidden\">"; yield _gettext("Loading…"); // line 359 yield "</span> </div> </div> <div class=\"modal-footer\"> <button class=\"btn btn-primary\" data-bs-target=\"#moveColumnsModal\" data-bs-toggle=\"modal\">"; yield _gettext("Go back"); // line 363 yield "</button> </div> </div> </div> </div> <div class=\"modal fade\" id=\"moveColumnsErrorModal\" tabindex=\"-1\" aria-labelledby=\"moveColumnsErrorModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"moveColumnsErrorModalLabel\">"; yield _gettext("Error"); // line 372 yield "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Close"); // line 373 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("OK"); // line 378 yield "</button> </div> </div> </div> </div> "; // line 385 yield "<div id=\"structure-action-links\" class=\"d-print-none\"> "; // line 386 if ((($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 387 yield " "; yield PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/view/create"), ["db" => // line 389 ($context["db"] ?? null), "table" => ($context["table"] ?? null)], PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit view"), true)); // line 391 yield " "; } // line 393 yield " <button type=\"button\" class=\"btn btn-link p-0 jsPrintButton\">"; yield PhpMyAdmin\Html\Generator::getIcon("b_print", _gettext("Print"), true); yield "</button> "; // line 394 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 395 yield " "; // line 396 yield " "; if (((($context["mysql_int_version"] ?? null) < 80000) || ($context["is_mariadb"] ?? null))) { // line 397 yield " <a class=\"me-0\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 398 ($context["db"] ?? null), "table" => // line 399 ($context["table"] ?? null), "sql_query" => (("SELECT * FROM " . PhpMyAdmin\Util::backquote( // line 400 ($context["table"] ?? null))) . " PROCEDURE ANALYSE()"), "session_max_rows" => "all"], "", false); // line 402 yield "\"> "; // line 403 yield PhpMyAdmin\Html\Generator::getIcon("b_tblanalyse", _gettext("Propose table structure"), true); // line 407 yield " </a> "; // line 409 yield PhpMyAdmin\Html\MySQLDocumentation::show("procedure_analyse"); yield " "; } // line 411 yield " "; if (($context["is_active"] ?? null)) { // line 412 yield " <a href=\""; yield PhpMyAdmin\Url::getFromRoute("/table/tracking", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); yield "\"> "; // line 413 yield PhpMyAdmin\Html\Generator::getIcon("eye", _gettext("Track table"), true); yield " </a> "; } // line 416 yield " <a href=\"#\" id=\"move_columns_anchor\"> "; // line 417 yield PhpMyAdmin\Html\Generator::getIcon("b_move", _gettext("Move columns"), true); yield " </a> <a href=\""; // line 419 yield PhpMyAdmin\Url::getFromRoute("/normalization", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); yield "\"> "; // line 420 yield PhpMyAdmin\Html\Generator::getIcon("normalize", _gettext("Normalize"), true); yield " </a> "; } // line 423 yield " "; if ((($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 424 yield " "; if (($context["is_active"] ?? null)) { // line 425 yield " <a href=\""; yield PhpMyAdmin\Url::getFromRoute("/table/tracking", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); yield "\"> "; // line 426 yield PhpMyAdmin\Html\Generator::getIcon("eye", _gettext("Track view"), true); yield " </a> "; } // line 429 yield " "; } // line 430 yield "</div> "; // line 431 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 432 yield " <form method=\"post\" action=\""; yield PhpMyAdmin\Url::getFromRoute("/table/add-field"); yield "\" id=\"addColumns\" name=\"addColumns\" class=\"d-print-none\"> "; // line 433 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); yield " "; // line 434 if (PhpMyAdmin\Util::showIcons("ActionLinksMode")) { // line 435 yield " "; yield PhpMyAdmin\Html\Generator::getImage("b_insrow", _gettext("Add column")); yield " "; } // line 437 yield " "; $context["num_fields"] = ('' === $tmp = "<input type=\"number\" name=\"num_fields\" value=\"1\" onfocus=\"this.select()\" min=\"1\" required>") ? '' : new Markup($tmp, $this->env->getCharset()); // line 440 yield " "; yield Twig\Extension\CoreExtension::sprintf(_gettext("Add %s column(s)"), ($context["num_fields"] ?? null)); yield " <input type=\"hidden\" name=\"field_where\" value=\"after\"> "; // line 443 yield " <select name=\"after_field\"> <option value=\"first\" data-pos=\"first\"> "; yield _gettext("at beginning of table"); // line 446 yield " </option> "; // line 447 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["columns_list"] ?? 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["one_column_name"]) { // line 448 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["one_column_name"], "html", null, true); yield "\""; // line 449 yield (((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "revindex0", [], "any", false, false, false, 449) == 0)) ? (" selected=\"selected\"") : ("")); yield "> "; // line 450 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf(_gettext("after %s"), $context["one_column_name"]), "html", null, true); yield " </option> "; ++$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['one_column_name'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 453 yield " </select> <input class=\"btn btn-primary\" type=\"submit\" value=\""; yield _gettext("Go"); // line 454 yield "\"> </form> "; } // line 457 yield " "; // line 458 if ((( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null)) && (($context["tbl_storage_engine"] ?? null) != "ARCHIVE"))) { // line 459 yield " <div id=\"index_div\" class=\"w-100 ajax\"> <fieldset class=\"pma-fieldset index_info\"> <legend id=\"index_header\"> "; yield _gettext("Indexes"); // line 463 yield " "; yield PhpMyAdmin\Html\MySQLDocumentation::show("optimizing-database-structure"); yield " </legend> "; // line 466 if ( !Twig\Extension\CoreExtension::testEmpty(($context["indexes"] ?? null))) { // line 467 yield " "; yield ($context["indexes_duplicates"] ?? null); yield " "; // line 469 yield Twig\Extension\CoreExtension::include($this->env, $context, "modals/preview_sql_confirmation.twig"); yield " <div class=\"table-responsive jsresponsive\"> <table class=\"table table-striped table-hover table-sm w-auto align-middle\" id=\"table_index\"> <thead> <tr> <th colspan=\"3\" class=\"d-print-none\">"; yield _gettext("Action"); // line 474 yield "</th> <th>"; yield _gettext("Keyname"); // line 475 yield "</th> <th>"; yield _gettext("Type"); // line 476 yield "</th> <th>"; yield _gettext("Unique"); // line 477 yield "</th> <th>"; yield _gettext("Packed"); // line 478 yield "</th> <th>"; yield _gettext("Column"); // line 479 yield "</th> <th>"; yield _gettext("Cardinality"); // line 480 yield "</th> <th>"; yield _gettext("Collation"); // line 481 yield "</th> <th>"; yield _gettext("Null"); // line 482 yield "</th> <th>"; yield _gettext("Comment"); // line 483 yield "</th> </tr> </thead> <tbody class=\"row_span\"> "; // line 488 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["indexes"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["index"]) { // line 489 yield " "; $context["columns_count"] = CoreExtension::getAttribute($this->env, $this->source, $context["index"], "getColumnCount", [], "method", false, false, false, 489); // line 490 yield " <tr class=\"noclick\"> <td rowspan=\""; // line 491 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["columns_count"] ?? null), "html", null, true); yield "\" class=\"edit_index d-print-none ajax\"> <a class=\"ajax\" href=\""; // line 492 yield PhpMyAdmin\Url::getFromRoute("/table/indexes"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 493 ($context["db"] ?? null), "table" => // line 494 ($context["table"] ?? null), "index" => CoreExtension::getAttribute($this->env, $this->source, // line 495 $context["index"], "getName", [], "method", false, false, false, 495)], "", false); // line 496 yield "\"> "; // line 497 yield PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit")); yield " </a> </td> <td rowspan=\""; // line 500 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["columns_count"] ?? null), "html", null, true); yield "\" class=\"rename_index d-print-none ajax\" > <a class=\"ajax\" href=\""; // line 501 yield PhpMyAdmin\Url::getFromRoute("/table/indexes/rename"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 502 ($context["db"] ?? null), "table" => // line 503 ($context["table"] ?? null), "index" => CoreExtension::getAttribute($this->env, $this->source, // line 504 $context["index"], "getName", [], "method", false, false, false, 504)], "", false); // line 505 yield "\"> "; // line 506 yield PhpMyAdmin\Html\Generator::getIcon("b_rename", _gettext("Rename")); yield " </a> </td> <td rowspan=\""; // line 509 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["columns_count"] ?? null), "html", null, true); yield "\" class=\"d-print-none\"> "; // line 510 if ((CoreExtension::getAttribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 510) == "PRIMARY")) { // line 511 yield " "; $context["index_params"] = ["sql_query" => (("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 512 ($context["table"] ?? null))) . " DROP PRIMARY KEY;"), "message_to_show" => _gettext("The primary key has been dropped.")]; // line 515 yield " "; } else { // line 516 yield " "; $context["index_params"] = ["sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 517 ($context["table"] ?? null))) . " DROP INDEX ") . PhpMyAdmin\Util::backquote(CoreExtension::getAttribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 517))) . ";"), "message_to_show" => Twig\Extension\CoreExtension::sprintf(_gettext("Index %s has been dropped."), CoreExtension::getAttribute($this->env, $this->source, // line 518 $context["index"], "getName", [], "method", false, false, false, 518))]; // line 520 yield " "; } // line 521 yield " <input type=\"hidden\" class=\"drop_primary_key_index_msg\" value=\""; // line 522 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["index_params"] ?? null), "sql_query", [], "any", false, false, false, 522), "html", null, true); yield "\"> "; // line 523 yield PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), Twig\Extension\CoreExtension::merge( // line 525 ($context["index_params"] ?? null), ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]), PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")), ["class" => "drop_primary_key_index_anchor ajax"]); // line 528 yield " </td> <th rowspan=\""; // line 530 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["columns_count"] ?? null), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 530), "html", null, true); yield "</th> <td rowspan=\""; // line 531 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["columns_count"] ?? null), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["index"], "getType", [], "method", true, true, false, 531)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["index"], "getType", [], "method", false, false, false, 531), CoreExtension::getAttribute($this->env, $this->source, $context["index"], "getChoice", [], "method", false, false, false, 531))) : (CoreExtension::getAttribute($this->env, $this->source, $context["index"], "getChoice", [], "method", false, false, false, 531))), "html", null, true); yield "</td> <td rowspan=\""; // line 532 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["columns_count"] ?? null), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["index"], "isUnique", [], "method", false, false, false, 532)) ? (_gettext("Yes")) : (_gettext("No"))), "html", null, true); yield "</td> <td rowspan=\""; // line 533 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["columns_count"] ?? null), "html", null, true); yield "\">"; yield CoreExtension::getAttribute($this->env, $this->source, $context["index"], "isPacked", [], "method", false, false, false, 533); yield "</td> "; // line 535 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["index"], "getColumns", [], "method", false, false, false, 535)); foreach ($context['_seq'] as $context["_key"] => $context["column"]) { // line 536 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "getSeqInIndex", [], "method", false, false, false, 536) > 1)) { // line 537 yield " <tr class=\"noclick\"> "; } // line 539 yield " <td> "; // line 540 if (CoreExtension::getAttribute($this->env, $this->source, $context["column"], "hasExpression", [], "method", false, false, false, 540)) { yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "getExpression", [], "method", false, false, false, 540), "html", null, true); } else { yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "getName", [], "method", false, false, false, 540), "html", null, true); } // line 541 yield " "; if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "getSubPart", [], "method", false, false, false, 541))) { // line 542 yield " ("; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "getSubPart", [], "method", false, false, false, 542), "html", null, true); yield ") "; } // line 544 yield " </td> <td>"; // line 545 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "getCardinality", [], "method", false, false, false, 545), "html", null, true); yield "</td> <td>"; // line 546 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "getCollation", [], "method", false, false, false, 546), "html", null, true); yield "</td> <td>"; // line 547 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "getNull", [true], "method", false, false, false, 547), "html", null, true); yield "</td> "; // line 549 if ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "getSeqInIndex", [], "method", false, false, false, 549) == 1)) { // line 550 yield " <td rowspan=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["columns_count"] ?? null), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["index"], "getComments", [], "method", false, false, false, 550), "html", null, true); yield "</td> "; } // line 552 yield " </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 554 yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['index'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 555 yield " </tbody> </table> </div> "; } else { // line 559 yield " <div class=\"no_indexes_defined\">"; yield $this->env->getFilter('notice')->getCallable()(_gettext("No index defined!")); yield "</div> "; } // line 561 yield " </fieldset> <fieldset class=\"pma-fieldset tblFooters d-print-none text-start\"> <form action=\""; // line 564 yield PhpMyAdmin\Url::getFromRoute("/table/indexes"); yield "\" method=\"post\"> "; // line 565 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); yield " <input type=\"hidden\" name=\"create_index\" value=\"1\"> "; // line 568 $___internal_parse_0_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) { // line 569 yield " "; yield _gettext("Create an index on %s columns"); // line 570 yield " "; return; yield ''; })())) ? '' : new Markup($tmp, $this->env->getCharset()); // line 568 yield Twig\Extension\CoreExtension::sprintf($___internal_parse_0_, "<input class=\"mx-2\" type=\"number\" name=\"added_fields\" value=\"1\" min=\"1\" max=\"16\" required>"); // line 571 yield " <input class=\"btn btn-primary add_index ajax\" type=\"submit\" value=\""; yield _gettext("Go"); // line 572 yield "\"> </form> </fieldset> </div> "; // line 576 yield Twig\Extension\CoreExtension::include($this->env, $context, "modals/index_dialog_modal.twig"); yield " "; } // line 578 yield " "; // line 580 if (($context["have_partitioning"] ?? null)) { // line 581 yield " "; // line 582 yield " "; if (( !Twig\Extension\CoreExtension::testEmpty(($context["partition_names"] ?? null)) && !(null === (($__internal_compile_50 = ($context["partition_names"] ?? null)) && is_array($__internal_compile_50) || $__internal_compile_50 instanceof ArrayAccess ? ($__internal_compile_50[0] ?? null) : null)))) { // line 583 yield " "; $context["first_partition"] = (($__internal_compile_51 = ($context["partitions"] ?? null)) && is_array($__internal_compile_51) || $__internal_compile_51 instanceof ArrayAccess ? ($__internal_compile_51[0] ?? null) : null); // line 584 yield " "; $context["range_or_list"] = ((((CoreExtension::getAttribute($this->env, $this->source, ($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 584) == "RANGE") || (CoreExtension::getAttribute($this->env, $this->source, // line 585 ($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 585) == "RANGE COLUMNS")) || (CoreExtension::getAttribute($this->env, $this->source, // line 586 ($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 586) == "LIST")) || (CoreExtension::getAttribute($this->env, $this->source, // line 587 ($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 587) == "LIST COLUMNS")); // line 588 yield " "; $context["sub_partitions"] = CoreExtension::getAttribute($this->env, $this->source, ($context["first_partition"] ?? null), "getSubPartitions", [], "method", false, false, false, 588); // line 589 yield " "; $context["has_sub_partitions"] = CoreExtension::getAttribute($this->env, $this->source, ($context["first_partition"] ?? null), "hasSubPartitions", [], "method", false, false, false, 589); // line 590 yield " "; if (($context["has_sub_partitions"] ?? null)) { // line 591 yield " "; $context["first_sub_partition"] = (($__internal_compile_52 = ($context["sub_partitions"] ?? null)) && is_array($__internal_compile_52) || $__internal_compile_52 instanceof ArrayAccess ? ($__internal_compile_52[0] ?? null) : null); // line 592 yield " "; } // line 593 yield " "; // line 594 if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 595 yield " <div class=\"mb-3\"> <button class=\"btn btn-sm btn-secondary\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#partitionsCollapse\" aria-expanded=\""; // line 596 yield (((($context["default_sliders_state"] ?? null) == "open")) ? ("true") : ("false")); yield "\" aria-controls=\"partitionsCollapse\"> "; yield _gettext("Partitions"); // line 598 yield " </button> </div> <div class=\"collapse mb-3"; // line 600 yield (((($context["default_sliders_state"] ?? null) == "open")) ? (" show") : ("")); yield "\" id=\"partitionsCollapse\"> "; } // line 602 yield " "; // line 603 yield from $this->loadTemplate("table/structure/display_partitions.twig", "table/structure/display_structure.twig", 603)->unwrap()->yield(CoreExtension::toArray(["db" => // line 604 ($context["db"] ?? null), "table" => // line 605 ($context["table"] ?? null), "partitions" => // line 606 ($context["partitions"] ?? null), "partition_method" => CoreExtension::getAttribute($this->env, $this->source, // line 607 ($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 607), "partition_expression" => CoreExtension::getAttribute($this->env, $this->source, // line 608 ($context["first_partition"] ?? null), "getExpression", [], "method", false, false, false, 608), "has_description" => !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, // line 609 ($context["first_partition"] ?? null), "getDescription", [], "method", false, false, false, 609)), "has_sub_partitions" => // line 610 ($context["has_sub_partitions"] ?? null), "sub_partition_method" => (( // line 611 ($context["has_sub_partitions"] ?? null)) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["first_sub_partition"] ?? null), "getMethod", [], "method", false, false, false, 611)) : ("")), "sub_partition_expression" => (( // line 612 ($context["has_sub_partitions"] ?? null)) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["first_sub_partition"] ?? null), "getExpression", [], "method", false, false, false, 612)) : ("")), "range_or_list" => // line 613 ($context["range_or_list"] ?? null)])); // line 615 yield " "; } else { // line 616 yield " "; yield from $this->loadTemplate("table/structure/display_partitions.twig", "table/structure/display_structure.twig", 616)->unwrap()->yield(CoreExtension::toArray(["db" => // line 617 ($context["db"] ?? null), "table" => // line 618 ($context["table"] ?? null)])); // line 620 yield " "; } // line 621 yield " "; if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 622 yield " </div> "; } } // line 625 yield " "; // line 627 if (($context["show_stats"] ?? null)) { // line 628 yield " "; yield ($context["table_stats"] ?? null); yield " "; } // line 630 yield "<div class=\"clearfloat\"></div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/structure/display_structure.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 1494 => 630, 1488 => 628, 1486 => 627, 1483 => 625, 1478 => 622, 1475 => 621, 1472 => 620, 1470 => 618, 1469 => 617, 1467 => 616, 1464 => 615, 1462 => 613, 1461 => 612, 1460 => 611, 1459 => 610, 1458 => 609, 1457 => 608, 1456 => 607, 1455 => 606, 1454 => 605, 1453 => 604, 1452 => 603, 1449 => 602, 1444 => 600, 1440 => 598, 1435 => 596, 1432 => 595, 1430 => 594, 1427 => 593, 1424 => 592, 1421 => 591, 1418 => 590, 1415 => 589, 1412 => 588, 1410 => 587, 1409 => 586, 1408 => 585, 1406 => 584, 1403 => 583, 1400 => 582, 1398 => 581, 1396 => 580, 1393 => 578, 1388 => 576, 1382 => 572, 1378 => 571, 1376 => 568, 1372 => 570, 1369 => 569, 1367 => 568, 1361 => 565, 1357 => 564, 1352 => 561, 1346 => 559, 1340 => 555, 1334 => 554, 1327 => 552, 1319 => 550, 1317 => 549, 1312 => 547, 1308 => 546, 1304 => 545, 1301 => 544, 1295 => 542, 1292 => 541, 1286 => 540, 1283 => 539, 1279 => 537, 1276 => 536, 1272 => 535, 1265 => 533, 1259 => 532, 1253 => 531, 1247 => 530, 1243 => 528, 1241 => 525, 1240 => 523, 1236 => 522, 1233 => 521, 1230 => 520, 1228 => 518, 1227 => 517, 1225 => 516, 1222 => 515, 1220 => 512, 1218 => 511, 1216 => 510, 1212 => 509, 1206 => 506, 1203 => 505, 1201 => 504, 1200 => 503, 1199 => 502, 1196 => 501, 1192 => 500, 1186 => 497, 1183 => 496, 1181 => 495, 1180 => 494, 1179 => 493, 1176 => 492, 1172 => 491, 1169 => 490, 1166 => 489, 1162 => 488, 1155 => 483, 1151 => 482, 1147 => 481, 1143 => 480, 1139 => 479, 1135 => 478, 1131 => 477, 1127 => 476, 1123 => 475, 1119 => 474, 1110 => 469, 1104 => 467, 1102 => 466, 1095 => 463, 1089 => 459, 1087 => 458, 1084 => 457, 1079 => 454, 1075 => 453, 1058 => 450, 1054 => 449, 1050 => 448, 1033 => 447, 1030 => 446, 1025 => 443, 1019 => 440, 1016 => 437, 1010 => 435, 1008 => 434, 1004 => 433, 999 => 432, 997 => 431, 994 => 430, 991 => 429, 985 => 426, 980 => 425, 977 => 424, 974 => 423, 968 => 420, 964 => 419, 959 => 417, 956 => 416, 950 => 413, 945 => 412, 942 => 411, 937 => 409, 933 => 407, 931 => 403, 928 => 402, 926 => 400, 925 => 399, 924 => 398, 920 => 397, 917 => 396, 915 => 395, 913 => 394, 908 => 393, 904 => 391, 902 => 389, 900 => 387, 898 => 386, 895 => 385, 887 => 378, 879 => 373, 875 => 372, 863 => 363, 856 => 359, 849 => 355, 845 => 354, 833 => 345, 829 => 344, 825 => 343, 814 => 336, 809 => 334, 806 => 333, 802 => 332, 796 => 329, 792 => 328, 781 => 320, 778 => 319, 775 => 318, 769 => 315, 765 => 314, 760 => 312, 755 => 311, 753 => 310, 747 => 307, 743 => 306, 738 => 304, 734 => 303, 729 => 301, 725 => 300, 720 => 298, 716 => 297, 711 => 295, 706 => 294, 704 => 293, 698 => 290, 694 => 289, 689 => 287, 684 => 286, 682 => 285, 676 => 282, 672 => 281, 669 => 280, 667 => 277, 666 => 276, 660 => 272, 653 => 270, 649 => 268, 644 => 265, 640 => 263, 637 => 262, 633 => 260, 627 => 257, 624 => 256, 622 => 255, 621 => 254, 620 => 253, 614 => 252, 608 => 249, 605 => 248, 603 => 247, 602 => 246, 601 => 245, 595 => 244, 593 => 243, 588 => 242, 586 => 241, 580 => 238, 577 => 237, 575 => 235, 574 => 234, 573 => 233, 572 => 232, 571 => 230, 570 => 229, 565 => 228, 560 => 227, 556 => 224, 548 => 222, 542 => 219, 539 => 218, 537 => 217, 536 => 216, 535 => 215, 534 => 214, 528 => 213, 526 => 212, 525 => 211, 524 => 210, 523 => 209, 522 => 208, 521 => 207, 516 => 206, 512 => 203, 506 => 200, 503 => 199, 501 => 198, 500 => 197, 499 => 196, 498 => 195, 492 => 194, 484 => 192, 482 => 191, 477 => 190, 475 => 180, 471 => 178, 465 => 175, 462 => 174, 460 => 173, 459 => 172, 458 => 171, 457 => 170, 451 => 169, 443 => 167, 441 => 166, 437 => 165, 433 => 163, 427 => 160, 424 => 159, 422 => 158, 421 => 157, 420 => 156, 419 => 155, 413 => 154, 405 => 152, 403 => 151, 399 => 150, 395 => 148, 389 => 145, 386 => 144, 384 => 143, 383 => 142, 382 => 141, 381 => 140, 375 => 139, 367 => 137, 365 => 136, 360 => 135, 356 => 133, 351 => 130, 347 => 129, 345 => 128, 342 => 127, 339 => 126, 337 => 125, 334 => 124, 327 => 120, 324 => 119, 322 => 118, 321 => 116, 320 => 115, 319 => 114, 318 => 113, 315 => 112, 308 => 108, 305 => 107, 303 => 105, 302 => 104, 301 => 103, 300 => 102, 297 => 101, 295 => 100, 290 => 99, 284 => 96, 281 => 95, 279 => 94, 276 => 93, 271 => 91, 268 => 89, 266 => 88, 263 => 86, 260 => 84, 258 => 83, 256 => 82, 252 => 80, 248 => 79, 245 => 78, 237 => 76, 235 => 75, 230 => 72, 222 => 70, 220 => 69, 219 => 68, 215 => 67, 210 => 65, 203 => 62, 197 => 60, 189 => 58, 187 => 57, 183 => 56, 178 => 54, 171 => 52, 166 => 49, 164 => 48, 161 => 47, 159 => 46, 156 => 45, 154 => 44, 151 => 43, 148 => 42, 143 => 41, 140 => 40, 135 => 36, 129 => 34, 126 => 33, 123 => 32, 118 => 30, 113 => 28, 111 => 27, 108 => 26, 104 => 25, 100 => 24, 96 => 23, 92 => 22, 88 => 21, 81 => 17, 76 => 13, 73 => 12, 70 => 10, 68 => 9, 66 => 8, 64 => 7, 60 => 5, 56 => 4, 51 => 3, 47 => 2, 36 => 1,); } public function getSourceContext() { return new Source("", "table/structure/display_structure.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/structure/display_structure.twig"); } } twig/57/575c5e066c251801dbb8703e84795146.php 0000644 00000007077 15114741573 0012515 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* modals/index_dialog_modal.twig */ class __TwigTemplate_4e1e1a056dd1b7b3c1ad28c36c6c16fc 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 echo "<div class=\"modal fade\" id=\"indexDialogModal\" tabindex=\"-1\" aria-labelledby=\"indexDialogModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"indexDialogModalLabel\">"; echo _gettext("Loading"); // line 5 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 6 echo "\"></button> </div> <div class=\"modal-body\"></div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-primary\" id=\"indexDialogModalGoButton\">"; echo _gettext("Go"); // line 10 echo "</button> <button type=\"button\" class=\"btn btn-secondary\" data-bs-target=\"#indexDialogPreviewModal\" data-bs-toggle=\"modal\">"; echo _gettext("Preview SQL"); // line 11 echo "</button> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 12 echo "</button> </div> </div> </div> </div> <div class=\"modal fade\" id=\"indexDialogPreviewModal\" aria-hidden=\"true\" aria-labelledby=\"indexDialogPreviewModalLabel\" tabindex=\"-1\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"indexDialogPreviewModalLabel\">"; echo _gettext("Preview SQL"); // line 21 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 22 echo "\"></button> </div> <div class=\"modal-body\"> <div class=\"spinner-border\" role=\"status\"> <span class=\"visually-hidden\">"; echo _gettext("Loading…"); // line 26 echo "</span> </div> </div> <div class=\"modal-footer\"> <button class=\"btn btn-primary\" data-bs-target=\"#indexDialogModal\" data-bs-toggle=\"modal\">"; echo _gettext("Go back"); // line 30 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "modals/index_dialog_modal.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 93 => 30, 86 => 26, 79 => 22, 75 => 21, 63 => 12, 59 => 11, 55 => 10, 48 => 6, 44 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "modals/index_dialog_modal.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/index_dialog_modal.twig"); } } twig/57/57a6b7848dfc1478623a5f78009b76c3.php 0000644 00000030662 15114741573 0012665 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* import/javascript.twig */ class __TwigTemplate_9731339aa828daf8c644ff65172a6ce5 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 echo "\$( function() { "; // line 3 echo " \$(\"#buttonGo\").on(\"click\", function() { "; // line 5 echo " \$(\"#upload_form_form\").css(\"display\", \"none\"); "; // line 7 if ((($context["handler"] ?? null) != "PhpMyAdmin\\Plugins\\Import\\Upload\\UploadNoplugin")) { // line 8 echo " "; // line 9 echo " "; $context["ajax_url"] = (("index.php?route=/import-status&id=" . ($context["upload_id"] ?? null)) . PhpMyAdmin\Url::getCommonRaw(["import_status" => 1], "&")); // line 12 echo " "; $context["promot_str"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("The file being uploaded is probably larger than the maximum allowed size or this is a known bug in webkit based (Safari, Google Chrome, Arora etc.) browsers."), false); // line 13 echo " "; $context["statustext_str"] = PhpMyAdmin\Sanitize::escapeJsString(_gettext("%s of %s")); // line 14 echo " "; $context["second_str"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("%s/sec."), false); // line 15 echo " "; $context["remaining_min"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("About %MIN min. %SEC sec. remaining."), false); // line 16 echo " "; $context["remaining_second"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("About %SEC sec. remaining."), false); // line 17 echo " "; $context["processed_str"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("The file is being processed, please be patient."), false); // line 18 echo " "; $context["import_url"] = PhpMyAdmin\Url::getCommonRaw(["import_status" => 1], "&"); // line 19 echo " "; // line 20 ob_start(function () { return ''; }); // line 21 echo " <div class=\"upload_progress\"> <div class=\"upload_progress_bar_outer\"> <div class=\"percentage\"></div> <div id=\"status\" class=\"upload_progress_bar_inner\"> <div class=\"percentage\"></div> </div> </div> <div> <img src=\""; // line 29 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true); echo "\" width=\"16\" height=\"16\" alt=\"ajax clock\"> "; echo PhpMyAdmin\Sanitize::jsFormat(_gettext("Uploading your import file…"), false); // line 30 echo "</div> <div id=\"statustext\"></div> </div> "; $context["upload_html"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 34 echo " "; // line 36 echo " var finished = false; var percent = 0.0; var total = 0; var complete = 0; var original_title = parent && parent.document ? parent.document.title : false; var import_start; var perform_upload = function () { new \$.getJSON( \""; // line 45 echo ($context["ajax_url"] ?? null); echo "\", {}, function(response) { finished = response.finished; percent = response.percent; total = response.total; complete = response.complete; if (total==0 && complete==0 && percent==0) { \$(\"#upload_form_status_info\").html('<img src=\""; // line 54 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true); echo "\" width=\"16\" height=\"16\" alt=\"ajax clock\"> "; echo ($context["promot_str"] ?? null); echo "'); \$(\"#upload_form_status\").css(\"display\", \"none\"); } else { var now = new Date(); now = Date.UTC( now.getFullYear(), now.getMonth(), now.getDate(), now.getHours(), now.getMinutes(), now.getSeconds()) + now.getMilliseconds() - 1000; var statustext = Functions.sprintf( \""; // line 67 echo ($context["statustext_str"] ?? null); echo "\", Functions.formatBytes( complete, 1, Messages.strDecimalSeparator ), Functions.formatBytes( total, 1, Messages.strDecimalSeparator ) ); if (\$(\"#importmain\").is(\":visible\")) { "; // line 78 echo " \$(\"#importmain\").hide(); \$(\"#import_form_status\") .html('"; // line 80 echo twig_spaceless(($context["upload_html"] ?? null)); echo "') .show(); import_start = now; } else if (percent > 9 || complete > 2000000) { "; // line 86 echo " var used_time = now - import_start; var seconds = parseInt(((total - complete) / complete) * used_time / 1000); var speed = Functions.sprintf( \""; // line 89 echo ($context["second_str"] ?? null); echo "\", Functions.formatBytes(complete / used_time * 1000, 1, Messages.strDecimalSeparator) ); var minutes = parseInt(seconds / 60); seconds %= 60; var estimated_time; if (minutes > 0) { estimated_time = \""; // line 97 echo ($context["remaining_min"] ?? null); echo "\" .replace(\"%MIN\", minutes) .replace(\"%SEC\", seconds); } else { estimated_time = \""; // line 102 echo ($context["remaining_second"] ?? null); echo "\" .replace(\"%SEC\", seconds); } statustext += \"<br>\" + speed + \"<br><br>\" + estimated_time; } var percent_str = Math.round(percent) + \"%\"; \$(\"#status\").animate({width: percent_str}, 150); \$(\".percentage\").text(percent_str); "; // line 114 echo " if (original_title !== false) { parent.document.title = percent_str + \" - \" + original_title; } else { document.title = percent_str + \" - \" + original_title; } \$(\"#statustext\").html(statustext); } if (finished == true) { if (original_title !== false) { parent.document.title = original_title; } else { document.title = original_title; } \$(\"#importmain\").hide(); "; // line 134 echo " \$(\"#import_form_status\") .html('<img src=\""; // line 135 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true); echo "\" width=\"16\" height=\"16\" alt=\"ajax clock\"> "; echo ($context["processed_str"] ?? null); echo "') .show(); \$(\"#import_form_status\").load(\"index.php?route=/import-status&message=true&"; // line 137 echo ($context["import_url"] ?? null); echo "\"); Navigation.reload(); "; // line 141 echo " } else { setTimeout(perform_upload, 1000); } }); }; setTimeout(perform_upload, 1000); "; } else { // line 149 echo " "; // line 150 echo " "; ob_start(function () { return ''; }); // line 151 echo "<img src=\""; echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true); echo "\" width=\"16\" height=\"16\" alt=\"ajax clock\">"; // line 152 echo PhpMyAdmin\Sanitize::jsFormat(_gettext("Please be patient, the file is being uploaded. Details about the upload are not available."), false); // line 153 echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq2-9"); $context["image_tag"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 155 echo " \$('#upload_form_status_info').html('"; echo ($context["image_tag"] ?? null); echo "'); \$(\"#upload_form_status\").css(\"display\", \"none\"); "; } // line 158 echo " }); }); "; } public function getTemplateName() { return "import/javascript.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 275 => 158, 268 => 155, 265 => 153, 263 => 152, 259 => 151, 256 => 150, 254 => 149, 244 => 141, 238 => 137, 231 => 135, 228 => 134, 207 => 114, 193 => 102, 185 => 97, 174 => 89, 169 => 86, 161 => 80, 157 => 78, 144 => 67, 126 => 54, 114 => 45, 103 => 36, 100 => 34, 94 => 30, 90 => 29, 80 => 21, 78 => 20, 75 => 19, 72 => 18, 69 => 17, 66 => 16, 63 => 15, 60 => 14, 57 => 13, 54 => 12, 51 => 9, 49 => 8, 47 => 7, 43 => 5, 40 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "import/javascript.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/import/javascript.twig"); } } twig/6a/6aef5c203c45e243b2eb9a53e7abf3d7.php 0000644 00000003311 15114741573 0013333 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/page_selector.twig */ class __TwigTemplate_f5dc621fa283e801c04e7848ff2721a1 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 echo "<td> <form action=\""; // line 2 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" method=\"post\"> "; // line 3 echo PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null)); echo " "; // line 4 echo ($context["page_selector"] ?? null); echo " </form> </td> "; } public function getTemplateName() { return "display/results/page_selector.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 48 => 4, 44 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/page_selector.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/page_selector.twig"); } } twig/6a/6a71f1d6adb0ea6cd3675861d2faf409.php 0000644 00000005611 15114741573 0013265 0 ustar 00 <?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_fd7f874dc51a6227b267e3ebd9f44f38 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/fast_filter.twig"); } } twig/07/07479e1180496d05b69a2a2d62952a29.php 0000644 00000120445 15114741573 0012477 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/insert/column_row.twig */ class __TwigTemplate_59f8c797b9bf17ac8335955a0783b0bd 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 echo "<tr class=\"noclick\"> <td class=\"text-center\"> "; // line 3 echo twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_title", [], "any", false, false, false, 3); echo " <input type=\"hidden\" name=\"fields_name[multi_edit]["; // line 4 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 4), "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field", [], "any", false, false, false, 4), "html", null, true); echo "\"> </td> "; // line 7 if (($context["show_field_types_in_data_edit_view"] ?? null)) { // line 8 echo " <td class=\"text-center"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "wrap", [], "any", false, false, false, 8), "html", null, true); echo "\"> <span class=\"column_type\" dir=\"ltr\">"; // line 9 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 9), "html", null, true); echo "</span> </td> "; } // line 12 echo " "; // line 13 if (($context["show_function_fields"] ?? null)) { // line 14 echo " "; if (($context["is_column_binary"] ?? null)) { // line 15 echo " <td class=\"text-center\">"; echo _gettext("Binary"); echo "</td> "; } elseif ((twig_in_filter("enum", twig_get_attribute($this->env, $this->source, // line 16 ($context["column"] ?? null), "True_Type", [], "any", false, false, false, 16)) || twig_in_filter("set", twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "True_Type", [], "any", false, false, false, 16)))) { // line 17 echo " <td class=\"text-center\">--</td> "; } else { // line 19 echo " <td> <select name=\"funcs[multi_edit]["; // line 20 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 20), "html", null, true); echo "]\" onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 20)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 20), "html", null, true); echo "')\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_1\"> "; // line 21 echo ($context["function_options"] ?? null); echo " </select> </td> "; } // line 25 echo " "; } // line 26 echo " <td> "; // line 28 if (((twig_upper_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Null", [], "any", false, false, false, 28)) == "YES") && !($context["read_only"] ?? null))) { // line 29 echo " <input type=\"hidden\" name=\"fields_null_prev[multi_edit]["; echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 29), "html", null, true); echo "]\""; echo (((($context["real_null_value"] ?? null) && !twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "first_timestamp", [], "any", false, false, false, 29))) ? (" value=\"on\"") : ("")); echo "> <input type=\"checkbox\" class=\"checkbox_null\" name=\"fields_null[multi_edit]["; // line 30 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 30), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_2\" aria-label=\""; echo _gettext("Use the NULL value for this column."); echo "\""; echo ((($context["real_null_value"] ?? null)) ? (" checked") : ("")); echo "> <input type=\"hidden\" class=\"nullify_code\" name=\"nullify_code[multi_edit]["; // line 31 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 31), "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, ($context["nullify_code"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" class=\"hashed_field\" name=\"hashed_field[multi_edit]["; // line 32 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 32), "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 32), "html", null, true); echo "\"> <input type=\"hidden\" class=\"multi_edit\" name=\"multi_edit[multi_edit]["; // line 33 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 33), "html", null, true); echo "]\" value=\""; echo PhpMyAdmin\Sanitize::escapeJsString((("[multi_edit][" . ($context["row_id"] ?? null)) . "]")); echo "\"> "; } // line 35 echo " </td> <td data-type=\""; // line 37 echo twig_escape_filter($this->env, ($context["type"] ?? null), "html", null, true); echo "\" data-decimals=\""; echo twig_escape_filter($this->env, ($context["decimals"] ?? null), "html", null, true); echo "\"> "; // line 39 echo " <span class=\"default_value hide\">"; echo ($context["special_chars"] ?? null); echo "</span> "; // line 41 if ( !twig_test_empty(($context["transformed_value"] ?? null))) { // line 42 echo " "; echo ($context["transformed_value"] ?? null); echo " "; } else { // line 44 echo " "; if (($context["is_value_foreign_link"] ?? null)) { // line 45 echo " "; echo ($context["backup_field"] ?? null); echo " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 46 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 46), "html", null, true); echo "]\" value=\"foreign\"> <input type=\"text\" name=\"fields[multi_edit]["; // line 47 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 47), "html", null, true); echo "]\" class=\"textfield\" onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 47)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 47), "html", null, true); echo "')\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3\" value=\""; echo twig_escape_filter($this->env, ($context["data"] ?? null), "html", null, true); echo "\"> <a class=\"ajax browse_foreign\" href=\""; // line 48 echo PhpMyAdmin\Url::getFromRoute("/browse-foreigners"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "field" => twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field", [], "any", false, false, false, 48), "rownumber" => ($context["row_id"] ?? null), "data" => ($context["data"] ?? null)]); echo "\">"; echo PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse foreign values")); echo "</a> "; } elseif ( !twig_test_empty( // line 49 ($context["foreign_dropdown"] ?? null))) { // line 50 echo " "; echo ($context["backup_field"] ?? null); echo " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 51 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 51), "html", null, true); echo "]\" value=\""; echo ((twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "is_binary", [], "any", false, false, false, 51)) ? ("hex") : ("foreign")); echo "\"> <select name=\"fields[multi_edit]["; // line 52 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 52), "html", null, true); echo "]\" class=\"textfield\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3\" onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 52)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 52), "html", null, true); echo "')\"> "; // line 53 echo ($context["foreign_dropdown"] ?? null); echo " </select> "; } elseif (((( // line 55 ($context["longtext_double_textarea"] ?? null) && twig_in_filter("longtext", twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 55))) || twig_in_filter("json", twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 55))) || twig_in_filter("text", twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 55)))) { // line 56 echo " "; echo ($context["backup_field"] ?? null); echo " <textarea name=\"fields[multi_edit]["; // line 57 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 57), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3\" data-type=\""; echo twig_escape_filter($this->env, ($context["data_type"] ?? null), "html", null, true); echo "\" dir=\""; echo twig_escape_filter($this->env, ($context["text_dir"] ?? null), "html", null, true); echo "\" rows=\""; echo twig_escape_filter($this->env, ($context["textarea_rows"] ?? null), "html", null, true); echo "\" cols=\""; echo twig_escape_filter($this->env, ($context["textarea_cols"] ?? null), "html", null, true); echo "\""; // line 58 ((($context["max_length"] ?? null)) ? (print (twig_escape_filter($this->env, ((" data-maxlength=\"" . ($context["max_length"] ?? null)) . "\""), "html", null, true))) : (print (""))); echo ((twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "is_char", [], "any", false, false, false, 58)) ? (" class=\"char charField\"") : ("")); echo " onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 58)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 58), "html", null, true); echo "')\">"; // line 60 echo (((is_string($__internal_compile_0 = ($context["special_chars"] ?? null)) && is_string($__internal_compile_1 = " ") && ('' === $__internal_compile_1 || 0 === strpos($__internal_compile_0, $__internal_compile_1)))) ? (" ") : ("")); echo ($context["special_chars"] ?? null); // line 61 echo "</textarea> "; // line 62 if ((twig_in_filter("text", twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 62)) && (twig_length_filter($this->env, ($context["special_chars"] ?? null)) > 32000))) { // line 63 echo " </td> <td> "; echo _gettext("Because of its length,<br> this column might not be editable."); // line 66 echo " "; } // line 67 echo " "; } elseif ((twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 67) == "enum")) { // line 68 echo " "; echo ($context["backup_field"] ?? null); echo " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 69 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 69), "html", null, true); echo "]\" value=\"enum\"> "; // line 70 if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Type", [], "any", false, false, false, 70)) > 20)) { // line 71 echo " <select name=\"fields[multi_edit]["; echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 71), "html", null, true); echo "]\" class=\"textfield\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3\" onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 71)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 71), "html", null, true); echo "')\"> <option value=\"\"></option> "; // line 73 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "values", [], "any", false, false, false, 73)); foreach ($context['_seq'] as $context["_key"] => $context["enum_value"]) { // line 74 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 74), "html", null, true); echo "\""; echo (((twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 74) == ($context["enum_selected_value"] ?? null))) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 74), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['enum_value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 76 echo " </select> "; } else { // line 78 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "values", [], "any", false, false, false, 78)); $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["enum_value"]) { // line 79 echo " <input type=\"radio\" name=\"fields[multi_edit]["; echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 79), "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 79), "html", null, true); echo "\" class=\"textfield\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3_"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 79), "html", null, true); echo "\" onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 79)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 79), "html", null, true); echo "')\""; echo (((twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 79) == ($context["enum_selected_value"] ?? null))) ? (" checked") : ("")); echo "> <label for=\"field_"; // line 80 echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3_"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 80), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 80), "html", null, true); echo "</label> "; ++$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['enum_value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 82 echo " "; } // line 83 echo " "; } elseif ((twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 83) == "set")) { // line 84 echo " "; echo ($context["backup_field"] ?? null); echo " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 85 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 85), "html", null, true); echo "]\" value=\"set\"> <select name=\"fields[multi_edit]["; // line 86 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 86), "html", null, true); echo "][]\" class=\"textfield\" size=\""; echo twig_escape_filter($this->env, ($context["set_select_size"] ?? null), "html", null, true); echo "\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3\" onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 86)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 86), "html", null, true); echo "')\" multiple> "; // line 87 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["set_values"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["set_value"]) { // line 88 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["set_value"], "plain", [], "any", false, false, false, 88), "html", null, true); echo "\""; echo ((twig_in_filter(twig_get_attribute($this->env, $this->source, $context["set_value"], "plain", [], "any", false, false, false, 88), twig_split_filter($this->env, ($context["data"] ?? null), ","))) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["set_value"], "plain", [], "any", false, false, false, 88), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['set_value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 90 echo " </select> "; } elseif ((twig_get_attribute($this->env, $this->source, // line 91 ($context["column"] ?? null), "is_binary", [], "any", false, false, false, 91) || twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "is_blob", [], "any", false, false, false, 91))) { // line 92 echo " "; if (($context["is_column_protected_blob"] ?? null)) { // line 93 echo " "; echo _gettext("Binary - do not edit"); // line 94 echo " ("; echo twig_escape_filter($this->env, ($context["blob_value"] ?? null), "html", null, true); echo " "; echo twig_escape_filter($this->env, ($context["blob_value_unit"] ?? null), "html", null, true); echo ") <input type=\"hidden\" name=\"fields[multi_edit]["; // line 95 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 95), "html", null, true); echo "]\" value=\"\"> <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 96 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 96), "html", null, true); echo "]\" value=\"protected\"> "; } elseif ((twig_get_attribute($this->env, $this->source, // line 97 ($context["column"] ?? null), "is_blob", [], "any", false, false, false, 97) || (twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "len", [], "any", false, false, false, 97) > ($context["limit_chars"] ?? null)))) { // line 98 echo " "; echo ($context["backup_field"] ?? null); echo " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 99 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 99), "html", null, true); echo "]\" value=\"hex\"> <textarea name=\"fields[multi_edit]["; // line 100 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 100), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3\" data-type=\"HEX\" dir=\""; echo twig_escape_filter($this->env, ($context["text_dir"] ?? null), "html", null, true); echo "\" rows=\""; echo twig_escape_filter($this->env, ($context["textarea_rows"] ?? null), "html", null, true); echo "\" cols=\""; echo twig_escape_filter($this->env, ($context["textarea_cols"] ?? null), "html", null, true); echo "\""; // line 101 ((($context["max_length"] ?? null)) ? (print (twig_escape_filter($this->env, ((" data-maxlength=\"" . ($context["max_length"] ?? null)) . "\""), "html", null, true))) : (print (""))); echo ((twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "is_char", [], "any", false, false, false, 101)) ? (" class=\"char charField\"") : ("")); echo " onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 101)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 101), "html", null, true); echo "')\">"; // line 103 echo (((is_string($__internal_compile_2 = ($context["special_chars"] ?? null)) && is_string($__internal_compile_3 = " ") && ('' === $__internal_compile_3 || 0 === strpos($__internal_compile_2, $__internal_compile_3)))) ? (" ") : ("")); echo ($context["special_chars"] ?? null); // line 104 echo "</textarea> "; } else { // line 106 echo " "; echo ($context["backup_field"] ?? null); echo " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 107 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 107), "html", null, true); echo "]\" value=\"hex\"> "; // line 108 echo ($context["input_field_html"] ?? null); echo " "; } // line 110 echo " "; if ((($context["is_upload"] ?? null) && twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "is_blob", [], "any", false, false, false, 110))) { // line 111 echo " <br> "; // line 113 echo " <input type=\"file\" name=\"fields_upload[multi_edit]["; echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 113), "html", null, true); echo "]\" class=\"textfield noDragDrop\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3\" size=\"10\" onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 113)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 113), "html", null, true); echo "')\"> "; // line 114 echo twig_escape_filter($this->env, ($context["max_upload_size"] ?? null), "html", null, true); echo " "; } // line 116 echo " "; echo ($context["select_option_for_upload"] ?? null); echo " "; } else { // line 118 echo " "; echo ($context["value"] ?? null); echo " "; } // line 120 echo " "; // line 121 if (twig_in_filter(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 121), ($context["gis_data_types"] ?? null))) { // line 122 echo " <span class=\"open_gis_editor\" data-row-id=\""; echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "\">"; echo PhpMyAdmin\Html\Generator::linkOrButton("#", null, PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit/Insert")), [], "_blank"); echo "</span> "; } // line 124 echo " "; } // line 125 echo " </td> </tr> "; } public function getTemplateName() { return "table/insert/column_row.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 619 => 125, 616 => 124, 608 => 122, 606 => 121, 603 => 120, 597 => 118, 591 => 116, 586 => 114, 571 => 113, 568 => 111, 565 => 110, 560 => 108, 554 => 107, 549 => 106, 545 => 104, 540 => 103, 530 => 101, 517 => 100, 511 => 99, 506 => 98, 504 => 97, 498 => 96, 492 => 95, 485 => 94, 482 => 93, 479 => 92, 477 => 91, 474 => 90, 461 => 88, 457 => 87, 441 => 86, 435 => 85, 430 => 84, 427 => 83, 424 => 82, 404 => 80, 383 => 79, 365 => 78, 361 => 76, 348 => 74, 344 => 73, 328 => 71, 326 => 70, 320 => 69, 315 => 68, 312 => 67, 309 => 66, 304 => 63, 302 => 62, 299 => 61, 294 => 60, 284 => 58, 269 => 57, 264 => 56, 262 => 55, 257 => 53, 243 => 52, 235 => 51, 230 => 50, 228 => 49, 220 => 48, 204 => 47, 198 => 46, 193 => 45, 190 => 44, 184 => 42, 182 => 41, 176 => 39, 170 => 37, 166 => 35, 157 => 33, 149 => 32, 141 => 31, 129 => 30, 120 => 29, 118 => 28, 114 => 26, 111 => 25, 104 => 21, 90 => 20, 87 => 19, 83 => 17, 81 => 16, 76 => 15, 73 => 14, 71 => 13, 68 => 12, 62 => 9, 57 => 8, 55 => 7, 45 => 4, 41 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "table/insert/column_row.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/column_row.twig"); } } twig/07/07523bcef39fc72b016f714af11d94c7.php 0000644 00000004654 15114741573 0013053 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* recent_favorite_table_recent.twig */ class __TwigTemplate_d22d7a3db6dd88f5dddd15c18ed143ea 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'] = twig_ensure_traversable(($context["tables"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["table"]) { // line 2 echo "<li class=\"warp_link\"> <a href=\""; // line 3 echo PhpMyAdmin\Url::getFromRoute("/table/recent-favorite", $context["table"]); echo "\"> `"; // line 4 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["table"], "db", [], "any", false, false, false, 4), "html", null, true); echo "`.`"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["table"], "table", [], "any", false, false, false, 4), "html", null, true); echo "` </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; } public function getTemplateName() { return "recent_favorite_table_recent.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 48 => 4, 44 => 3, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "recent_favorite_table_recent.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/recent_favorite_table_recent.twig"); } } twig/07/07b0a29bb41397f562d8942d28025739.php 0000644 00000010072 15114741573 0012473 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/table_headers_for_columns.twig */ class __TwigTemplate_21c19d2dead2f5a4d522a66a0c8a940d 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'] = twig_ensure_traversable(($context["columns"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["column"]) { // line 2 echo " <th class=\"draggable position-sticky"; echo ((twig_get_attribute($this->env, $this->source, $context["column"], "is_column_numeric", [], "any", false, false, false, 2)) ? (" text-end") : ("")); echo ((twig_get_attribute($this->env, $this->source, $context["column"], "is_column_hidden", [], "any", false, false, false, 2)) ? (" hide") : ("")); // line 3 echo ((($context["is_sortable"] ?? null)) ? (" column_heading") : ("")); echo (((($context["is_sortable"] ?? null) && twig_get_attribute($this->env, $this->source, $context["column"], "is_browse_marker_enabled", [], "any", false, false, false, 3))) ? (" marker") : ("")); echo (((($context["is_sortable"] ?? null) && twig_get_attribute($this->env, $this->source, $context["column"], "is_browse_pointer_enabled", [], "any", false, false, false, 3))) ? (" pointer") : ("")); // line 4 echo ((( !($context["is_sortable"] ?? null) && twig_get_attribute($this->env, $this->source, $context["column"], "has_condition", [], "any", false, false, false, 4))) ? (" condition") : ("")); echo "\" data-column=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "column_name", [], "any", false, false, false, 4), "html", null, true); echo "\"> "; // line 5 if (($context["is_sortable"] ?? null)) { // line 6 echo " "; echo twig_get_attribute($this->env, $this->source, $context["column"], "order_link", [], "any", false, false, false, 6); echo " "; } else { // line 8 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "column_name", [], "any", false, false, false, 8), "html", null, true); echo " "; } // line 10 echo " "; echo twig_get_attribute($this->env, $this->source, $context["column"], "comments", [], "any", false, false, false, 10); echo " </th> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } public function getTemplateName() { return "display/results/table_headers_for_columns.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 69 => 10, 63 => 8, 57 => 6, 55 => 5, 49 => 4, 45 => 3, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/table_headers_for_columns.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/table_headers_for_columns.twig"); } } twig/07/079feae168436dcbec3552015cc8982a.php 0000644 00000017164 15114741573 0013062 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/export/index.twig */ class __TwigTemplate_983a58677fc59c657cc825c8e5c6674e extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'title' => [$this, 'block_title'], 'selection_options' => [$this, 'block_selection_options'], ]; } protected function doGetParent(array $context) { // line 1 return "export.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 60 ob_start(function () { return ''; }); // line 61 echo " "; echo _gettext("@SERVER@ will become the server name and @DATABASE@ will become the database name."); $context["filename_hint"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 1 $this->parent = $this->loadTemplate("export.twig", "database/export/index.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_title($context, array $blocks = []) { $macros = $this->macros; // line 4 echo " "; if ((($context["export_type"] ?? null) == "raw")) { // line 5 echo " "; // l10n: A query that the user has written freely echo _gettext("Exporting a raw query"); // line 6 echo " "; } else { // line 7 echo " "; echo twig_escape_filter($this->env, twig_sprintf(_gettext("Exporting tables from \"%s\" database"), ($context["db"] ?? null)), "html", null, true); echo " "; } } // line 11 public function block_selection_options($context, array $blocks = []) { $macros = $this->macros; // line 12 echo " "; if ((($context["export_type"] ?? null) != "raw")) { // line 13 echo " <div class=\"card mb-3\" id=\"databases_and_tables\"> <div class=\"card-header\">"; echo _gettext("Tables:"); // line 14 echo "</div> <div class=\"card-body\" style=\"overflow-y: scroll; max-height: 20em;\"> <input type=\"hidden\" name=\"structure_or_data_forced\" value=\""; // line 16 echo twig_escape_filter($this->env, ($context["structure_or_data_forced"] ?? null), "html", null, true); echo "\"> <table class=\"table table-sm table-striped table-hover export_table_select\"> <thead> <tr> <th></th> <th>"; echo _gettext("Tables"); // line 22 echo "</th> <th class=\"export_structure text-center\">"; echo _gettext("Structure"); // line 23 echo "</th> <th class=\"export_data text-center\">"; echo _gettext("Data"); // line 24 echo "</th> </tr> <tr> <td></td> <td class=\"align-middle\">"; echo _gettext("Select all"); // line 28 echo "</td> <td class=\"export_structure text-center\"> <input type=\"checkbox\" id=\"table_structure_all\" aria-label=\""; echo _gettext("Export the structure of all tables."); // line 30 echo "\"> </td> <td class=\"export_data text-center\"> <input type=\"checkbox\" id=\"table_data_all\" aria-label=\""; echo _gettext("Export the data of all tables."); // line 33 echo "\"> </td> </tr> </thead> <tbody> "; // line 39 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["tables"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["each_table"]) { // line 40 echo " <tr class=\"marked\"> <td> <input class=\"checkall\" type=\"checkbox\" name=\"table_select[]\" value=\""; // line 42 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["each_table"], "name", [], "any", false, false, false, 42), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["each_table"], "is_checked_select", [], "any", false, false, false, 42)) ? (" checked") : ("")); echo "> </td> <td class=\"align-middle text-nowrap\">"; // line 44 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["each_table"], "name", [], "any", false, false, false, 44), "html", null, true); echo "</td> <td class=\"export_structure text-center\"> <input type=\"checkbox\" name=\"table_structure[]\" value=\""; // line 46 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["each_table"], "name", [], "any", false, false, false, 46), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["each_table"], "is_checked_structure", [], "any", false, false, false, 46)) ? (" checked") : ("")); echo "> </td> <td class=\"export_data text-center\"> <input type=\"checkbox\" name=\"table_data[]\" value=\""; // line 49 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["each_table"], "name", [], "any", false, false, false, 49), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["each_table"], "is_checked_data", [], "any", false, false, false, 49)) ? (" checked") : ("")); echo "> </td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['each_table'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 53 echo " </tbody> </table> </div> </div> "; } } public function getTemplateName() { return "database/export/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 175 => 53, 163 => 49, 155 => 46, 150 => 44, 143 => 42, 139 => 40, 135 => 39, 127 => 33, 121 => 30, 116 => 28, 109 => 24, 105 => 23, 101 => 22, 91 => 16, 87 => 14, 83 => 13, 80 => 12, 76 => 11, 68 => 7, 65 => 6, 61 => 5, 58 => 4, 54 => 3, 49 => 1, 45 => 61, 43 => 60, 36 => 1,); } public function getSourceContext() { return new Source("", "database/export/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/export/index.twig"); } } twig/ce/cec45ea000a7a71d11011e72c0a64eee.php 0000644 00000017322 15114741573 0013310 0 ustar 00 <?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_cedb36e8bd6002c49e4165b32679d2b1 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/header.twig"); } } twig/ce/ce18202b8e40293e566b04e213e000a0.php 0000644 00000003033 15114741573 0012727 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* javascript/redirect.twig */ class __TwigTemplate_22ee00c1b94aa4398c6c7710395b4992 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 echo "<script type='text/javascript'> window.onload = function () { window.location = '"; // line 3 echo twig_escape_filter($this->env, ($context["url"] ?? null), "html", null, true); echo "'; }; </script> "; } public function getTemplateName() { return "javascript/redirect.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 41 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "javascript/redirect.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/javascript/redirect.twig"); } } twig/7f/7fb405a2638cef05f9d4bd35cdb83c1f.php 0000644 00000017622 15114741573 0013364 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* list_navigator.twig */ class __TwigTemplate_6827b9701f69f545e7a664930547027c 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 echo "<div class=\""; echo twig_escape_filter($this->env, twig_join_filter(($context["classes"] ?? null), " "), "html", null, true); echo "\"> "; // line 3 if ((($context["frame"] ?? null) != "frame_navigation")) { // line 4 echo " "; echo _gettext("Page number:"); // line 5 echo " "; } // line 6 echo " "; // line 7 if ((($context["position"] ?? null) > 0)) { // line 8 echo " <a href=\""; echo ($context["script"] ?? null); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => 0]), "", false); echo "\""; echo (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : ("")); echo " title=\""; echo _pgettext("First page", "Begin"); echo "\"> "; // line 9 if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) { // line 10 echo " << "; } // line 12 echo " "; if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) { // line 13 echo " "; echo _pgettext("First page", "Begin"); // line 14 echo " "; } // line 15 echo " </a> <a href=\""; // line 16 echo ($context["script"] ?? null); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => (($context["position"] ?? null) - ($context["max_count"] ?? null))]), "", false); echo "\""; echo (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : ("")); echo " title=\""; echo _pgettext("Previous page", "Previous"); echo "\"> "; // line 17 if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) { // line 18 echo " < "; } // line 20 echo " "; if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) { // line 21 echo " "; echo _pgettext("Previous page", "Previous"); // line 22 echo " "; } // line 23 echo " </a> "; } // line 25 echo " <form action=\""; // line 26 echo ($context["script"] ?? null); echo "\" method=\"post\"> "; // line 27 echo PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null)); echo " "; // line 29 echo ($context["page_selector"] ?? null); echo " </form> "; // line 32 if (((($context["position"] ?? null) + ($context["max_count"] ?? null)) < ($context["count"] ?? null))) { // line 33 echo " <a href=\""; echo ($context["script"] ?? null); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => (($context["position"] ?? null) + ($context["max_count"] ?? null))]), "", false); echo "\""; echo (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : ("")); echo " title=\""; echo _pgettext("Next page", "Next"); echo "\"> "; // line 34 if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) { // line 35 echo " "; echo _pgettext("Next page", "Next"); // line 36 echo " "; } // line 37 echo " "; if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) { // line 38 echo " > "; } // line 40 echo " </a> "; // line 41 $context["last_pos"] = ((int) floor((($context["count"] ?? null) / ($context["max_count"] ?? null))) * ($context["max_count"] ?? null)); // line 42 echo " <a href=\""; echo ($context["script"] ?? null); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_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); echo "\""; echo (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : ("")); echo " title=\""; echo _pgettext("Last page", "End"); echo "\"> "; // line 43 if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) { // line 44 echo " "; echo _pgettext("Last page", "End"); // line 45 echo " "; } // line 46 echo " "; if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) { // line 47 echo " >> "; } // line 49 echo " </a> "; } // line 51 echo "</div> "; } } public function getTemplateName() { return "list_navigator.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 196 => 51, 192 => 49, 188 => 47, 185 => 46, 182 => 45, 179 => 44, 177 => 43, 166 => 42, 164 => 41, 161 => 40, 157 => 38, 154 => 37, 151 => 36, 148 => 35, 146 => 34, 135 => 33, 133 => 32, 127 => 29, 122 => 27, 118 => 26, 115 => 25, 111 => 23, 108 => 22, 105 => 21, 102 => 20, 98 => 18, 96 => 17, 86 => 16, 83 => 15, 80 => 14, 77 => 13, 74 => 12, 70 => 10, 68 => 9, 57 => 8, 55 => 7, 52 => 6, 49 => 5, 46 => 4, 44 => 3, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "list_navigator.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/list_navigator.twig"); } } twig/5c/5c65fe36bd7ff1407ce97812f124a5ad.php 0000644 00000017622 15114741573 0013224 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* list_navigator.twig */ class __TwigTemplate_3c1dd038cd66a14cd13e4b098acc8972 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 echo "<div class=\""; echo twig_escape_filter($this->env, twig_join_filter(($context["classes"] ?? null), " "), "html", null, true); echo "\"> "; // line 3 if ((($context["frame"] ?? null) != "frame_navigation")) { // line 4 echo " "; echo _gettext("Page number:"); // line 5 echo " "; } // line 6 echo " "; // line 7 if ((($context["position"] ?? null) > 0)) { // line 8 echo " <a href=\""; echo ($context["script"] ?? null); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => 0]), "", false); echo "\""; echo (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : ("")); echo " title=\""; echo _pgettext("First page", "Begin"); echo "\"> "; // line 9 if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) { // line 10 echo " << "; } // line 12 echo " "; if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) { // line 13 echo " "; echo _pgettext("First page", "Begin"); // line 14 echo " "; } // line 15 echo " </a> <a href=\""; // line 16 echo ($context["script"] ?? null); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => (($context["position"] ?? null) - ($context["max_count"] ?? null))]), "", false); echo "\""; echo (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : ("")); echo " title=\""; echo _pgettext("Previous page", "Previous"); echo "\"> "; // line 17 if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) { // line 18 echo " < "; } // line 20 echo " "; if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) { // line 21 echo " "; echo _pgettext("Previous page", "Previous"); // line 22 echo " "; } // line 23 echo " </a> "; } // line 25 echo " <form action=\""; // line 26 echo ($context["script"] ?? null); echo "\" method=\"post\"> "; // line 27 echo PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null)); echo " "; // line 29 echo ($context["page_selector"] ?? null); echo " </form> "; // line 32 if (((($context["position"] ?? null) + ($context["max_count"] ?? null)) < ($context["count"] ?? null))) { // line 33 echo " <a href=\""; echo ($context["script"] ?? null); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => (($context["position"] ?? null) + ($context["max_count"] ?? null))]), "", false); echo "\""; echo (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : ("")); echo " title=\""; echo _pgettext("Next page", "Next"); echo "\"> "; // line 34 if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) { // line 35 echo " "; echo _pgettext("Next page", "Next"); // line 36 echo " "; } // line 37 echo " "; if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) { // line 38 echo " > "; } // line 40 echo " </a> "; // line 41 $context["last_pos"] = ((int) floor((($context["count"] ?? null) / ($context["max_count"] ?? null))) * ($context["max_count"] ?? null)); // line 42 echo " <a href=\""; echo ($context["script"] ?? null); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_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); echo "\""; echo (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : ("")); echo " title=\""; echo _pgettext("Last page", "End"); echo "\"> "; // line 43 if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) { // line 44 echo " "; echo _pgettext("Last page", "End"); // line 45 echo " "; } // line 46 echo " "; if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) { // line 47 echo " >> "; } // line 49 echo " </a> "; } // line 51 echo "</div> "; } } public function getTemplateName() { return "list_navigator.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 196 => 51, 192 => 49, 188 => 47, 185 => 46, 182 => 45, 179 => 44, 177 => 43, 166 => 42, 164 => 41, 161 => 40, 157 => 38, 154 => 37, 151 => 36, 148 => 35, 146 => 34, 135 => 33, 133 => 32, 127 => 29, 122 => 27, 118 => 26, 115 => 25, 111 => 23, 108 => 22, 105 => 21, 102 => 20, 98 => 18, 96 => 17, 86 => 16, 83 => 15, 80 => 14, 77 => 13, 74 => 12, 70 => 10, 68 => 9, 57 => 8, 55 => 7, 52 => 6, 49 => 5, 46 => 4, 44 => 3, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "list_navigator.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/list_navigator.twig"); } } twig/5c/5c6897d53085dd032b2977efd8c5f85a.php 0000644 00000005010 15114741573 0013073 0 ustar 00 <?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; /* select_all.twig */ class __TwigTemplate_545891550904b59e09f69e142dfbcaef 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 "<img class=\"selectallarrow\" src=\""; 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:"); // line 2 yield "\"> <input type=\"checkbox\" id=\""; // line 3 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["form_name"] ?? null), "html", null, true); yield "_checkall\" class=\"checkall_box\" title=\""; yield _gettext("Check all"); // line 4 yield "\"> <label for=\""; // line 5 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["form_name"] ?? null), "html", null, true); yield "_checkall\">"; yield _gettext("Check all"); yield "</label> <em class=\"with-selected\">"; yield _gettext("With selected:"); // line 6 yield "</em> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "select_all.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 62 => 6, 55 => 5, 52 => 4, 47 => 3, 44 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "select_all.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/select_all.twig"); } } twig/36/367e760bec583ce5a72f9c2c362f5da6.php 0000644 00000003153 15114741573 0013143 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/collation_definition.twig */ class __TwigTemplate_2b8edf629b48bbbc87c881203de908c9 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 echo "<dfn title=\""; echo twig_escape_filter($this->env, ($context["valueTitle"] ?? null), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true); echo "</dfn> "; } public function getTemplateName() { return "database/structure/collation_definition.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/collation_definition.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/collation_definition.twig"); } } twig/30/30da90a4c2019ba5afcb115ba586274f.php 0000644 00000004717 15114741573 0013102 0 ustar 00 <?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; /* table/insert/get_head_and_foot_of_insert_row_table.twig */ class __TwigTemplate_aacefa7d33d9ae7adbcbc90703ed01fb 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=\"table-responsive-lg\"> <table class=\"table table-striped align-middle my-3 insertRowTable w-auto\"> <thead> <tr> <th>"; yield _gettext("Column"); // line 5 yield "</th> "; // line 6 yield ($context["type"] ?? null); yield " "; // line 7 yield ($context["function"] ?? null); yield " <th>"; yield _gettext("Null"); // line 8 yield "</th> <th class=\"w-50\">"; yield _gettext("Value"); // line 9 yield "</th> </tr> </thead> <tfoot> <tr> <th colspan=\"5\" class=\"tblFooters text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; yield _gettext("Go"); // line 15 yield "\"> </th> </tr> </tfoot>"; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/insert/get_head_and_foot_of_insert_row_table.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 70 => 15, 61 => 9, 57 => 8, 52 => 7, 48 => 6, 45 => 5, 38 => 1,); } public function getSourceContext() { return new Source("", "table/insert/get_head_and_foot_of_insert_row_table.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/get_head_and_foot_of_insert_row_table.twig"); } } twig/a0/a0cbe9d9bd789a98e3dff5fa63ee0e9e.php 0000644 00000002717 15114741573 0013620 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/empty_display.twig */ class __TwigTemplate_9e32031ce7a5a9a87b2d05c32b16c652 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 echo "<td class=\""; echo twig_escape_filter($this->env, ($context["classes"] ?? null), "html", null, true); echo "\"></td> "; } public function getTemplateName() { return "display/results/empty_display.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/empty_display.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/empty_display.twig"); } } twig/ff/ff66f842908e7dc8f97a4fb707951ed7.php 0000644 00000010055 15114741573 0013262 0 ustar 00 <?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; /* table/delete/confirm.twig */ class __TwigTemplate_119ab7abd823333c448532f5154d6f7e 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 action=\""; yield PhpMyAdmin\Url::getFromRoute("/table/delete/rows"); yield "\" method=\"post\"> "; // line 2 yield PhpMyAdmin\Url::getHiddenInputs(["db" => // line 3 ($context["db"] ?? null), "table" => // line 4 ($context["table"] ?? null), "selected" => // line 5 ($context["selected"] ?? null), "original_sql_query" => // line 6 ($context["sql_query"] ?? null), "fk_checks" => "0"]); // line 8 yield " <fieldset class=\"pma-fieldset confirmation\"> <legend> "; yield _gettext("Do you really want to execute the following query?"); // line 13 yield " </legend> <ul> "; // line 16 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["selected"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["row"]) { // line 17 yield " <li><code>DELETE FROM "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::backquote(($context["table"] ?? null)), "html", null, true); yield " WHERE "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["row"], "html", null, true); yield ";</code></li> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 19 yield " </ul> </fieldset> <fieldset class=\"pma-fieldset tblFooters\"> <div id=\"foreignkeychk\" class=\"float-start\"> <input type=\"checkbox\" name=\"fk_checks\" id=\"fk_checks\" value=\"1\""; // line 24 yield ((($context["is_foreign_key_check"] ?? null)) ? (" checked") : ("")); yield "> <label for=\"fk_checks\">"; yield _gettext("Enable foreign key checks"); // line 25 yield "</label> </div> <div class=\"float-end\"> <input id=\"buttonYes\" class=\"btn btn-secondary\" type=\"submit\" name=\"mult_btn\" value=\""; yield _gettext("Yes"); // line 28 yield "\"> <input id=\"buttonNo\" class=\"btn btn-secondary\" type=\"submit\" name=\"mult_btn\" value=\""; yield _gettext("No"); // line 29 yield "\"> </div> </fieldset> </form> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/delete/confirm.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 98 => 29, 94 => 28, 88 => 25, 83 => 24, 76 => 19, 65 => 17, 61 => 16, 56 => 13, 49 => 8, 47 => 6, 46 => 5, 45 => 4, 44 => 3, 43 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "table/delete/confirm.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/delete/confirm.twig"); } } twig/ff/ffbecfb5f4f6bef690d8a7985f792fad.php 0000644 00000054205 15114741573 0013721 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* javascript/variables.twig */ class __TwigTemplate_9f80b0b1c76a322bd979da62211ad5d2 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 echo "var firstDayOfCalendar = '"; echo twig_escape_filter($this->env, ($context["first_day_of_calendar"] ?? null), "js", null, true); echo "'; var themeImagePath = '"; // line 3 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath(), "js", null, true); echo "'; var mysqlDocTemplate = '"; // line 4 echo twig_escape_filter($this->env, PhpMyAdmin\Util::getMySQLDocuURL("%s"), "js", null, true); echo "'; var maxInputVars = "; // line 5 echo twig_escape_filter($this->env, ($context["max_input_vars"] ?? null), "js", null, true); echo "; "; // line 7 ob_start(function () { return ''; }); // l10n: Month-year order for calendar, use either "calendar-month-year" or "calendar-year-month". echo _gettext("calendar-month-year"); $context["show_month_after_year"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 10 ob_start(function () { return ''; }); // l10n: Year suffix for calendar, "none" is empty. echo _gettext("none"); $context["year_suffix"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 14 echo "if (\$.datepicker) { \$.datepicker.regional[''].closeText = '"; // line 15 ob_start(function () { return ''; }); // l10n: Display text for calendar close link echo _gettext("Done"); $___internal_parse_1_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_1_, "js"); echo "'; \$.datepicker.regional[''].prevText = '"; // line 16 ob_start(function () { return ''; }); // l10n: Previous month. Display text for previous month link in calendar echo _gettext("Prev"); $___internal_parse_2_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_2_, "js"); echo "'; \$.datepicker.regional[''].nextText = '"; // line 17 ob_start(function () { return ''; }); // l10n: Next month. Display text for next month link in calendar echo _gettext("Next"); $___internal_parse_3_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_3_, "js"); echo "'; \$.datepicker.regional[''].currentText = '"; // line 18 ob_start(function () { return ''; }); // l10n: Display text for current month link in calendar echo _gettext("Today"); $___internal_parse_4_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_4_, "js"); echo "'; \$.datepicker.regional[''].monthNames = [ '"; // line 20 echo twig_escape_filter($this->env, _gettext("January"), "js", null, true); echo "', '"; // line 21 echo twig_escape_filter($this->env, _gettext("February"), "js", null, true); echo "', '"; // line 22 echo twig_escape_filter($this->env, _gettext("March"), "js", null, true); echo "', '"; // line 23 echo twig_escape_filter($this->env, _gettext("April"), "js", null, true); echo "', '"; // line 24 echo twig_escape_filter($this->env, _gettext("May"), "js", null, true); echo "', '"; // line 25 echo twig_escape_filter($this->env, _gettext("June"), "js", null, true); echo "', '"; // line 26 echo twig_escape_filter($this->env, _gettext("July"), "js", null, true); echo "', '"; // line 27 echo twig_escape_filter($this->env, _gettext("August"), "js", null, true); echo "', '"; // line 28 echo twig_escape_filter($this->env, _gettext("September"), "js", null, true); echo "', '"; // line 29 echo twig_escape_filter($this->env, _gettext("October"), "js", null, true); echo "', '"; // line 30 echo twig_escape_filter($this->env, _gettext("November"), "js", null, true); echo "', '"; // line 31 echo twig_escape_filter($this->env, _gettext("December"), "js", null, true); echo "', ]; \$.datepicker.regional[''].monthNamesShort = [ '"; // line 34 ob_start(function () { return ''; }); // l10n: Short month name for January echo _gettext("Jan"); $___internal_parse_5_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_5_, "js"); echo "', '"; // line 35 ob_start(function () { return ''; }); // l10n: Short month name for February echo _gettext("Feb"); $___internal_parse_6_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_6_, "js"); echo "', '"; // line 36 ob_start(function () { return ''; }); // l10n: Short month name for March echo _gettext("Mar"); $___internal_parse_7_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_7_, "js"); echo "', '"; // line 37 ob_start(function () { return ''; }); // l10n: Short month name for April echo _gettext("Apr"); $___internal_parse_8_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_8_, "js"); echo "', '"; // line 38 ob_start(function () { return ''; }); // l10n: Short month name for May echo _gettext("May"); $___internal_parse_9_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_9_, "js"); echo "', '"; // line 39 ob_start(function () { return ''; }); // l10n: Short month name for June echo _gettext("Jun"); $___internal_parse_10_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_10_, "js"); echo "', '"; // line 40 ob_start(function () { return ''; }); // l10n: Short month name for July echo _gettext("Jul"); $___internal_parse_11_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_11_, "js"); echo "', '"; // line 41 ob_start(function () { return ''; }); // l10n: Short month name for August echo _gettext("Aug"); $___internal_parse_12_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_12_, "js"); echo "', '"; // line 42 ob_start(function () { return ''; }); // l10n: Short month name for September echo _gettext("Sep"); $___internal_parse_13_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_13_, "js"); echo "', '"; // line 43 ob_start(function () { return ''; }); // l10n: Short month name for October echo _gettext("Oct"); $___internal_parse_14_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_14_, "js"); echo "', '"; // line 44 ob_start(function () { return ''; }); // l10n: Short month name for November echo _gettext("Nov"); $___internal_parse_15_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_15_, "js"); echo "', '"; // line 45 ob_start(function () { return ''; }); // l10n: Short month name for December echo _gettext("Dec"); $___internal_parse_16_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_16_, "js"); echo "', ]; \$.datepicker.regional[''].dayNames = [ '"; // line 48 echo twig_escape_filter($this->env, _gettext("Sunday"), "js", null, true); echo "', '"; // line 49 echo twig_escape_filter($this->env, _gettext("Monday"), "js", null, true); echo "', '"; // line 50 echo twig_escape_filter($this->env, _gettext("Tuesday"), "js", null, true); echo "', '"; // line 51 echo twig_escape_filter($this->env, _gettext("Wednesday"), "js", null, true); echo "', '"; // line 52 echo twig_escape_filter($this->env, _gettext("Thursday"), "js", null, true); echo "', '"; // line 53 echo twig_escape_filter($this->env, _gettext("Friday"), "js", null, true); echo "', '"; // line 54 echo twig_escape_filter($this->env, _gettext("Saturday"), "js", null, true); echo "', ]; \$.datepicker.regional[''].dayNamesShort = [ '"; // line 57 ob_start(function () { return ''; }); // l10n: Short week day name for Sunday echo _gettext("Sun"); $___internal_parse_17_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_17_, "js"); echo "', '"; // line 58 ob_start(function () { return ''; }); // l10n: Short week day name for Monday echo _gettext("Mon"); $___internal_parse_18_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_18_, "js"); echo "', '"; // line 59 ob_start(function () { return ''; }); // l10n: Short week day name for Tuesday echo _gettext("Tue"); $___internal_parse_19_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_19_, "js"); echo "', '"; // line 60 ob_start(function () { return ''; }); // l10n: Short week day name for Wednesday echo _gettext("Wed"); $___internal_parse_20_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_20_, "js"); echo "', '"; // line 61 ob_start(function () { return ''; }); // l10n: Short week day name for Thursday echo _gettext("Thu"); $___internal_parse_21_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_21_, "js"); echo "', '"; // line 62 ob_start(function () { return ''; }); // l10n: Short week day name for Friday echo _gettext("Fri"); $___internal_parse_22_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_22_, "js"); echo "', '"; // line 63 ob_start(function () { return ''; }); // l10n: Short week day name for Saturday echo _gettext("Sat"); $___internal_parse_23_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_23_, "js"); echo "', ]; \$.datepicker.regional[''].dayNamesMin = [ '"; // line 66 ob_start(function () { return ''; }); // l10n: Minimal week day name for Sunday echo _gettext("Su"); $___internal_parse_24_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_24_, "js"); echo "', '"; // line 67 ob_start(function () { return ''; }); // l10n: Minimal week day name for Monday echo _gettext("Mo"); $___internal_parse_25_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_25_, "js"); echo "', '"; // line 68 ob_start(function () { return ''; }); // l10n: Minimal week day name for Tuesday echo _gettext("Tu"); $___internal_parse_26_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_26_, "js"); echo "', '"; // line 69 ob_start(function () { return ''; }); // l10n: Minimal week day name for Wednesday echo _gettext("We"); $___internal_parse_27_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_27_, "js"); echo "', '"; // line 70 ob_start(function () { return ''; }); // l10n: Minimal week day name for Thursday echo _gettext("Th"); $___internal_parse_28_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_28_, "js"); echo "', '"; // line 71 ob_start(function () { return ''; }); // l10n: Minimal week day name for Friday echo _gettext("Fr"); $___internal_parse_29_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_29_, "js"); echo "', '"; // line 72 ob_start(function () { return ''; }); // l10n: Minimal week day name for Saturday echo _gettext("Sa"); $___internal_parse_30_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_30_, "js"); echo "', ]; \$.datepicker.regional[''].weekHeader = '"; // line 74 ob_start(function () { return ''; }); // l10n: Column header for week of the year in calendar echo _gettext("Wk"); $___internal_parse_31_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_31_, "js"); echo "'; \$.datepicker.regional[''].showMonthAfterYear = "; // line 75 echo (((($context["show_month_after_year"] ?? null) == "calendar-year-month")) ? ("true") : ("false")); echo "; \$.datepicker.regional[''].yearSuffix = '"; // line 76 echo (((($context["year_suffix"] ?? null) != "none")) ? (twig_escape_filter($this->env, ($context["year_suffix"] ?? null), "js")) : ("")); echo "'; \$.extend(\$.datepicker._defaults, \$.datepicker.regional['']); } if (\$.timepicker) { \$.timepicker.regional[''].timeText = '"; // line 81 echo twig_escape_filter($this->env, _gettext("Time"), "js", null, true); echo "'; \$.timepicker.regional[''].hourText = '"; // line 82 echo twig_escape_filter($this->env, _gettext("Hour"), "js", null, true); echo "'; \$.timepicker.regional[''].minuteText = '"; // line 83 echo twig_escape_filter($this->env, _gettext("Minute"), "js", null, true); echo "'; \$.timepicker.regional[''].secondText = '"; // line 84 echo twig_escape_filter($this->env, _gettext("Second"), "js", null, true); echo "'; \$.extend(\$.timepicker._defaults, \$.timepicker.regional['']); } function extendingValidatorMessages () { \$.extend(\$.validator.messages, { required: '"; // line 90 echo twig_escape_filter($this->env, _gettext("This field is required"), "js", null, true); echo "', remote: '"; // line 91 echo twig_escape_filter($this->env, _gettext("Please fix this field"), "js", null, true); echo "', email: '"; // line 92 echo twig_escape_filter($this->env, _gettext("Please enter a valid email address"), "js", null, true); echo "', url: '"; // line 93 echo twig_escape_filter($this->env, _gettext("Please enter a valid URL"), "js", null, true); echo "', date: '"; // line 94 echo twig_escape_filter($this->env, _gettext("Please enter a valid date"), "js", null, true); echo "', dateISO: '"; // line 95 echo twig_escape_filter($this->env, _gettext("Please enter a valid date ( ISO )"), "js", null, true); echo "', number: '"; // line 96 echo twig_escape_filter($this->env, _gettext("Please enter a valid number"), "js", null, true); echo "', creditcard: '"; // line 97 echo twig_escape_filter($this->env, _gettext("Please enter a valid credit card number"), "js", null, true); echo "', digits: '"; // line 98 echo twig_escape_filter($this->env, _gettext("Please enter only digits"), "js", null, true); echo "', equalTo: '"; // line 99 echo twig_escape_filter($this->env, _gettext("Please enter the same value again"), "js", null, true); echo "', maxlength: \$.validator.format('"; // line 100 echo twig_escape_filter($this->env, _gettext("Please enter no more than {0} characters"), "js", null, true); echo "'), minlength: \$.validator.format('"; // line 101 echo twig_escape_filter($this->env, _gettext("Please enter at least {0} characters"), "js", null, true); echo "'), rangelength: \$.validator.format('"; // line 102 echo twig_escape_filter($this->env, _gettext("Please enter a value between {0} and {1} characters long"), "js", null, true); echo "'), range: \$.validator.format('"; // line 103 echo twig_escape_filter($this->env, _gettext("Please enter a value between {0} and {1}"), "js", null, true); echo "'), max: \$.validator.format('"; // line 104 echo twig_escape_filter($this->env, _gettext("Please enter a value less than or equal to {0}"), "js", null, true); echo "'), min: \$.validator.format('"; // line 105 echo twig_escape_filter($this->env, _gettext("Please enter a value greater than or equal to {0}"), "js", null, true); echo "'), validationFunctionForDateTime: \$.validator.format('"; // line 106 echo twig_escape_filter($this->env, _gettext("Please enter a valid date or time"), "js", null, true); echo "'), validationFunctionForHex: \$.validator.format('"; // line 107 echo twig_escape_filter($this->env, _gettext("Please enter a valid HEX input"), "js", null, true); echo "'), validationFunctionForMd5: \$.validator.format('"; // line 108 ob_start(function () { return ''; }); // l10n: To validate the usage of a MD5 function on the column echo _gettext("This column can not contain a 32 chars value"); $___internal_parse_32_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_32_, "js"); echo "'), validationFunctionForAesDesEncrypt: \$.validator.format('"; // line 109 ob_start(function () { return ''; }); // l10n: To validate the usage of a AES_ENCRYPT/DES_ENCRYPT function on the column echo _gettext("These functions are meant to return a binary result; to avoid inconsistent results you should store it in a BINARY, VARBINARY, or BLOB column."); $___internal_parse_33_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_33_, "js"); echo "') }); } "; } public function getTemplateName() { return "javascript/variables.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 515 => 109, 507 => 108, 503 => 107, 499 => 106, 495 => 105, 491 => 104, 487 => 103, 483 => 102, 479 => 101, 475 => 100, 471 => 99, 467 => 98, 463 => 97, 459 => 96, 455 => 95, 451 => 94, 447 => 93, 443 => 92, 439 => 91, 435 => 90, 426 => 84, 422 => 83, 418 => 82, 414 => 81, 406 => 76, 402 => 75, 394 => 74, 385 => 72, 377 => 71, 369 => 70, 361 => 69, 353 => 68, 345 => 67, 337 => 66, 327 => 63, 319 => 62, 311 => 61, 303 => 60, 295 => 59, 287 => 58, 279 => 57, 273 => 54, 269 => 53, 265 => 52, 261 => 51, 257 => 50, 253 => 49, 249 => 48, 239 => 45, 231 => 44, 223 => 43, 215 => 42, 207 => 41, 199 => 40, 191 => 39, 183 => 38, 175 => 37, 167 => 36, 159 => 35, 151 => 34, 145 => 31, 141 => 30, 137 => 29, 133 => 28, 129 => 27, 125 => 26, 121 => 25, 117 => 24, 113 => 23, 109 => 22, 105 => 21, 101 => 20, 92 => 18, 84 => 17, 76 => 16, 68 => 15, 65 => 14, 60 => 10, 55 => 7, 50 => 5, 46 => 4, 42 => 3, 37 => 2,); } public function getSourceContext() { return new Source("", "javascript/variables.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/javascript/variables.twig"); } } twig/61/61c68c56102229b79c574270b02b48a5.php 0000644 00000052615 15114741573 0012471 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/search/index.twig */ class __TwigTemplate_d5e802d0f6d1e171672e264f9bba51c6 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 echo "<ul class=\"nav nav-pills m-2\"> <li class=\"nav-item\"> <a class=\"nav-link active\" href=\""; // line 3 echo PhpMyAdmin\Url::getFromRoute("/table/search", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "pos" => 0]); echo "\"> "; // line 4 echo PhpMyAdmin\Html\Generator::getIcon("b_search", _gettext("Table search"), false, false, "TabsMode"); echo " </a> </li> <li class=\"nav-item\"> <a class=\"nav-link\" href=\""; // line 9 echo PhpMyAdmin\Url::getFromRoute("/table/zoom-search", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); echo "\"> "; // line 10 echo PhpMyAdmin\Html\Generator::getIcon("b_select", _gettext("Zoom search"), false, false, "TabsMode"); echo " </a> </li> <li class=\"nav-item\"> <a class=\"nav-link\" href=\""; // line 15 echo PhpMyAdmin\Url::getFromRoute("/table/find-replace", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); echo "\"> "; // line 16 echo PhpMyAdmin\Html\Generator::getIcon("b_find_replace", _gettext("Find and replace"), false, false, "TabsMode"); echo " </a> </li> </ul> <form method=\"post\" action=\""; // line 21 echo PhpMyAdmin\Url::getFromRoute("/table/search"); echo "\" name=\"insertForm\" id=\"tbl_search_form\" class=\"ajax lock-page\"> "; // line 22 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"goto\" value=\""; // line 23 echo twig_escape_filter($this->env, ($context["goto"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" name=\"back\" value=\""; // line 24 echo PhpMyAdmin\Url::getFromRoute("/table/search"); echo "\"> <div class=\"card\"> <div class=\"card-header\">"; echo _gettext("Do a \"query by example\" (wildcard: \"%\")"); // line 27 echo "</div> <div class=\"card-body\"> <div id=\"fieldset_table_qbe\"> <div class=\"table-responsive-md jsresponsive\"> <table class=\"table table-striped table-hover table-sm w-auto\"> <thead> <tr> "; // line 35 if (($context["geom_column_flag"] ?? null)) { // line 36 echo " <th>"; echo _gettext("Function"); echo "</th> "; } // line 38 echo " <th>"; echo _gettext("Column"); echo "</th> <th>"; echo _gettext("Type"); // line 39 echo "</th> <th>"; echo _gettext("Collation"); // line 40 echo "</th> <th>"; echo _gettext("Operator"); // line 41 echo "</th> <th>"; echo _gettext("Value"); // line 42 echo "</th> </tr> </thead> <tbody> "; // line 46 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(range(0, (twig_length_filter($this->env, ($context["column_names"] ?? null)) - 1))); foreach ($context['_seq'] as $context["_key"] => $context["column_index"]) { // line 47 echo " <tr class=\"noclick\"> "; // line 49 echo " "; if (($context["geom_column_flag"] ?? null)) { // line 50 echo " "; // line 51 echo " <td> "; // line 52 $context["geom_types"] = PhpMyAdmin\Utils\Gis::getDataTypes(); // line 53 echo " "; if (twig_in_filter((($__internal_compile_0 = ($context["column_types"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[$context["column_index"]] ?? null) : null), ($context["geom_types"] ?? null))) { // line 54 echo " <select class=\"geom_func\" name=\"geom_func["; echo twig_escape_filter($this->env, $context["column_index"], "html", null, true); echo "]\"> "; // line 56 echo " "; $context["funcs"] = PhpMyAdmin\Utils\Gis::getFunctions((($__internal_compile_1 = ($context["column_types"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[$context["column_index"]] ?? null) : null), true, true); // line 57 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["funcs"] ?? null)); foreach ($context['_seq'] as $context["func_name"] => $context["func"]) { // line 58 echo " "; $context["name"] = ((twig_get_attribute($this->env, $this->source, $context["func"], "display", [], "array", true, true, false, 58)) ? ((($__internal_compile_2 = $context["func"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["display"] ?? null) : null)) : ($context["func_name"])); // line 59 echo " <option value=\""; echo twig_escape_filter($this->env, ($context["name"] ?? null), "html", null, true); echo "\"> "; // line 60 echo twig_escape_filter($this->env, ($context["name"] ?? null), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['func_name'], $context['func'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 63 echo " </select> "; } // line 65 echo " </td> "; } // line 67 echo " "; // line 68 echo " <th>"; // line 70 echo twig_escape_filter($this->env, (($__internal_compile_3 = ($context["column_names"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[$context["column_index"]] ?? null) : null), "html", null, true); // line 71 echo "</th> "; // line 72 $context["properties"] = twig_get_attribute($this->env, $this->source, ($context["self"] ?? null), "getColumnProperties", [0 => $context["column_index"], 1 => $context["column_index"]], "method", false, false, false, 72); // line 73 echo " <td dir=\"ltr\"> "; // line 74 echo twig_escape_filter($this->env, (($__internal_compile_4 = ($context["properties"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["type"] ?? null) : null), "html", null, true); echo " </td> <td> "; // line 77 echo twig_escape_filter($this->env, (($__internal_compile_5 = ($context["properties"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["collation"] ?? null) : null), "html", null, true); echo " </td> <td> "; // line 80 echo (($__internal_compile_6 = ($context["properties"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["func"] ?? null) : null); echo " </td> "; // line 83 echo " <td data-type=\""; echo twig_escape_filter($this->env, (($__internal_compile_7 = ($context["properties"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["type"] ?? null) : null), "html", null, true); echo "\"> "; // line 84 echo (($__internal_compile_8 = ($context["properties"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["value"] ?? null) : null); echo " "; // line 86 echo " <input type=\"hidden\" name=\"criteriaColumnNames["; echo twig_escape_filter($this->env, $context["column_index"], "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, (($__internal_compile_9 = ($context["column_names"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9[$context["column_index"]] ?? null) : null), "html", null, true); echo "\"> <input type=\"hidden\" name=\"criteriaColumnTypes["; // line 87 echo twig_escape_filter($this->env, $context["column_index"], "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, (($__internal_compile_10 = ($context["column_types"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10[$context["column_index"]] ?? null) : null), "html", null, true); echo "\"> <input type=\"hidden\" name=\"criteriaColumnCollations["; // line 88 echo twig_escape_filter($this->env, $context["column_index"], "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, (($__internal_compile_11 = ($context["column_collations"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11[$context["column_index"]] ?? null) : null), "html", null, true); echo "\"> </td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column_index'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 92 echo " </tbody> </table> </div> <div id=\"gis_editor\"></div> <div id=\"popup_background\"></div> </div> "; // line 99 if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 100 echo " <div> <button class=\"btn btn-sm btn-secondary\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#searchExtraOptions\" aria-expanded=\""; // line 101 echo (((($context["default_sliders_state"] ?? null) == "open")) ? ("true") : ("false")); echo "\" aria-controls=\"searchExtraOptions\"> "; echo _gettext("Extra options"); // line 103 echo " </button> </div> <div class=\"collapse mt-3"; // line 105 echo (((($context["default_sliders_state"] ?? null) == "open")) ? (" show") : ("")); echo "\" id=\"searchExtraOptions\"> "; } // line 107 echo " "; // line 109 echo " <fieldset> <div class=\"mb-3\"> <label class=\"form-label\" for=\"columnsToDisplaySelect\">"; echo _gettext("Select columns (at least one):"); // line 111 echo "</label> <select class=\"form-select resize-vertical\" id=\"columnsToDisplaySelect\" name=\"columnsToDisplay[]\" size=\""; // line 112 echo twig_escape_filter($this->env, min(twig_length_filter($this->env, ($context["column_names"] ?? null)), 10), "html", null, true); echo "\" multiple> "; // line 113 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["column_names"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["each_field"]) { // line 114 echo " <option value=\""; echo twig_escape_filter($this->env, $context["each_field"], "html", null, true); echo "\" selected> "; // line 115 echo twig_escape_filter($this->env, $context["each_field"], "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['each_field'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 118 echo " </select> </div> <div class=\"form-check mb-3\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"distinct\" value=\"DISTINCT\" id=\"oDistinct\"> <label class=\"form-check-label\" for=\"oDistinct\" dir=\"ltr\" lang=\"en\">DISTINCT</label> </div> </fieldset> "; // line 127 echo " <div class=\"mb-3\"> <label class=\"form-label\" for=\"customWhereClauseInput\"> <em>"; echo _gettext("Or"); // line 129 echo "</em> "; echo _gettext("Add search conditions (body of the \"where\" clause):"); // line 131 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("Functions"); echo " </label> <input class=\"form-control\" id=\"customWhereClauseInput\" type=\"text\" name=\"customWhereClause\" size=\"64\"> </div> "; // line 137 echo " <div class=\"mb-3\"> <label class=\"form-label\" for=\"maxRowsInput\">"; echo _gettext("Number of rows per page"); // line 138 echo "</label> <input class=\"form-control\" id=\"maxRowsInput\" type=\"number\" name=\"session_max_rows\" min=\"1\" value=\""; // line 139 echo twig_escape_filter($this->env, ($context["max_rows"] ?? null), "html", null, true); echo "\" required> </div> "; // line 143 echo " <fieldset> <legend class=\"visually-hidden\">"; echo _gettext("Display order:"); // line 144 echo "</legend> <div class=\"mb-3\"> <label class=\"form-label\" for=\"orderByColumnSelect\">"; echo _gettext("Order by:"); // line 146 echo "</label> <select class=\"form-select\" id=\"orderByColumnSelect\" name=\"orderByColumn\"> <option value=\"--nil--\" selected></option> "; // line 149 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["column_names"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["each_field"]) { // line 150 echo " <option value=\""; echo twig_escape_filter($this->env, $context["each_field"], "html", null, true); echo "\"> "; // line 151 echo twig_escape_filter($this->env, $context["each_field"], "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['each_field'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 154 echo " </select> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"order\" id=\"orderByAscRadio\" value=\"ASC\" checked> <label class=\"form-check-label\" for=\"orderByAscRadio\">"; echo _gettext("Ascending"); // line 159 echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"order\" id=\"orderByDescRadio\" value=\"DESC\"> <label class=\"form-check-label\" for=\"orderByDescRadio\">"; echo _gettext("Descending"); // line 163 echo "</label> </div> </fieldset> "; // line 166 if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 167 echo " </div> "; } // line 169 echo " </div> <div class=\"card-footer\"> <input class=\"btn btn-primary\" type=\"submit\" name=\"submit\" value=\""; echo _gettext("Go"); // line 172 echo "\"> </div> </div> </form> <div class=\"modal fade\" id=\"rangeSearchModal\" tabindex=\"-1\" aria-labelledby=\"rangeSearchModalLabel\" aria-hidden=\"false\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"rangeSearchModalLabel\">"; echo _gettext("Range search"); // line 181 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 182 echo "\"></button> </div> <div class=\"modal-body\"> <fieldset class=\"pma-fieldset\"> <legend id=\"rangeSearchLegend\"></legend> <label for=\"min_value\">"; echo _gettext("Minimum value:"); // line 187 echo "</label> <input type=\"text\" id=\"min_value\"><br> <span class=\"small_font\" id=\"rangeSearchMin\"></span><br> <label for=\"max_value\">"; echo _gettext("Maximum value:"); // line 190 echo "</label> <input type=\"text\" id=\"max_value\"><br> <span class=\"small_font\" id=\"rangeSearchMax\"></span> </fieldset> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"rangeSearchModalGo\">"; echo _gettext("Go"); // line 196 echo "</button> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Cancel"); // line 197 echo "</button> </div> </div> </div> </div> <div id=\"sqlqueryresultsouter\"></div> "; } public function getTemplateName() { return "table/search/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 470 => 197, 466 => 196, 457 => 190, 451 => 187, 443 => 182, 439 => 181, 427 => 172, 421 => 169, 417 => 167, 415 => 166, 410 => 163, 403 => 159, 395 => 154, 386 => 151, 381 => 150, 377 => 149, 372 => 146, 367 => 144, 363 => 143, 357 => 139, 354 => 138, 350 => 137, 341 => 131, 337 => 129, 332 => 127, 322 => 118, 313 => 115, 308 => 114, 304 => 113, 300 => 112, 297 => 111, 292 => 109, 289 => 107, 284 => 105, 280 => 103, 275 => 101, 272 => 100, 270 => 99, 261 => 92, 249 => 88, 243 => 87, 236 => 86, 232 => 84, 227 => 83, 222 => 80, 216 => 77, 210 => 74, 207 => 73, 205 => 72, 202 => 71, 200 => 70, 198 => 68, 196 => 67, 192 => 65, 188 => 63, 179 => 60, 174 => 59, 171 => 58, 166 => 57, 163 => 56, 158 => 54, 155 => 53, 153 => 52, 150 => 51, 148 => 50, 145 => 49, 142 => 47, 138 => 46, 132 => 42, 128 => 41, 124 => 40, 120 => 39, 114 => 38, 108 => 36, 106 => 35, 96 => 27, 89 => 24, 85 => 23, 81 => 22, 77 => 21, 69 => 16, 65 => 15, 57 => 10, 53 => 9, 45 => 4, 41 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "table/search/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/search/index.twig"); } } twig/df/df0a2fbdd21ad8077759b9b5605d08d1.php 0000644 00000021341 15114741573 0013266 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/search/main.twig */ class __TwigTemplate_d4d3615a1b79d287b80ed69af97c347a 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 echo "<a id=\"db_search\"></a> <form id=\"db_search_form\" method=\"post\" action=\""; // line 2 echo PhpMyAdmin\Url::getFromRoute("/database/search"); echo "\" name=\"db_search\" class=\"ajax lock-page\"> "; // line 3 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <fieldset class=\"pma-fieldset\"> <legend>"; echo _gettext("Search in database"); // line 5 echo "</legend> <p> <label for=\"criteriaSearchString\" class=\"d-block\"> "; echo _gettext("Words or values to search for (wildcard: \"%\"):"); // line 9 echo " </label> <input id=\"criteriaSearchString\" name=\"criteriaSearchString\" class=\"w-75\" type=\"text\" value=\""; // line 11 echo twig_escape_filter($this->env, ($context["criteria_search_string"] ?? null), "html", null, true); echo "\"> </p> <fieldset class=\"pma-fieldset\"> <legend>"; echo _gettext("Find:"); // line 15 echo "</legend> <div> <input type=\"radio\" name=\"criteriaSearchType\" id=\"criteriaSearchTypeRadio1\" value=\"1\""; // line 18 echo (((($context["criteria_search_type"] ?? null) == "1")) ? (" checked") : ("")); echo "> <label for=\"criteriaSearchTypeRadio1\">"; echo _gettext("at least one of the words"); // line 19 echo " "; echo PhpMyAdmin\Html\Generator::showHint(_gettext("Words are separated by a space character (\" \").")); echo "</label> </div> <div> <input type=\"radio\" name=\"criteriaSearchType\" id=\"criteriaSearchTypeRadio2\" value=\"2\""; // line 22 echo (((($context["criteria_search_type"] ?? null) == "2")) ? (" checked") : ("")); echo "> <label for=\"criteriaSearchTypeRadio2\">"; echo _gettext("all of the words"); // line 23 echo " "; echo PhpMyAdmin\Html\Generator::showHint(_gettext("Words are separated by a space character (\" \").")); echo "</label> </div> <div> <input type=\"radio\" name=\"criteriaSearchType\" id=\"criteriaSearchTypeRadio3\" value=\"3\""; // line 26 echo (((($context["criteria_search_type"] ?? null) == "3")) ? (" checked") : ("")); echo "> <label for=\"criteriaSearchTypeRadio3\">"; echo _gettext("the exact phrase as substring"); // line 27 echo "</label> </div> <div> <input type=\"radio\" name=\"criteriaSearchType\" id=\"criteriaSearchTypeRadio4\" value=\"4\""; // line 30 echo (((($context["criteria_search_type"] ?? null) == "4")) ? (" checked") : ("")); echo "> <label for=\"criteriaSearchTypeRadio4\">"; echo _gettext("the exact phrase as whole field"); // line 31 echo "</label> </div> <div> <input type=\"radio\" name=\"criteriaSearchType\" id=\"criteriaSearchTypeRadio5\" value=\"5\""; // line 34 echo (((($context["criteria_search_type"] ?? null) == "5")) ? (" checked") : ("")); echo "> <label for=\"criteriaSearchTypeRadio5\">"; echo _gettext("as regular expression"); // line 35 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("Regexp"); echo "</label> </div> </fieldset> <fieldset class=\"pma-fieldset\"> <legend>"; echo _gettext("Inside tables:"); // line 40 echo "</legend> <p> <a href=\"#\" id=\"select_all\"> "; echo _gettext("Select all"); // line 44 echo " </a> / <a href=\"#\" id=\"unselect_all\"> "; echo _gettext("Unselect all"); // line 47 echo " </a> </p> <select class=\"resize-vertical\" id=\"criteriaTables\" name=\"criteriaTables[]\" multiple> "; // line 50 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["tables_names_only"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["each_table"]) { // line 51 echo " <option value=\""; echo twig_escape_filter($this->env, $context["each_table"], "html", null, true); echo "\" "; // line 52 if ((twig_length_filter($this->env, ($context["criteria_tables"] ?? null)) > 0)) { // line 53 echo ((twig_in_filter($context["each_table"], ($context["criteria_tables"] ?? null))) ? (" selected") : ("")); echo " "; } else { // line 55 echo " selected"; echo " "; } // line 57 echo " > "; // line 58 echo twig_escape_filter($this->env, $context["each_table"], "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['each_table'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 61 echo " </select> </fieldset> <p> "; // line 66 echo " <label for=\"criteriaColumnName\" class=\"d-block\"> "; echo _gettext("Inside column:"); // line 68 echo " </label> <input id=\"criteriaColumnName\" type=\"text\" name=\"criteriaColumnName\" class=\"w-75\" value=\""; // line 70 (( !twig_test_empty(($context["criteria_column_name"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["criteria_column_name"] ?? null), "html", null, true))) : (print (""))); echo "\"> </p> </fieldset> <fieldset class=\"pma-fieldset tblFooters\"> <input id=\"buttonGo\" class=\"btn btn-primary\" type=\"submit\" name=\"submit_search\" value=\""; echo _gettext("Go"); // line 74 echo "\"> </fieldset> </form> <div id=\"togglesearchformdiv\"> <a id=\"togglesearchformlink\"></a> </div> <div id=\"searchresults\"></div> <div id=\"togglesearchresultsdiv\"><a id=\"togglesearchresultlink\"></a></div> <br class=\"clearfloat\"> "; // line 84 echo "<div id=\"table-info\"> <a id=\"table-link\" class=\"item\"></a> </div> "; // line 88 echo "<div id=\"browse-results\"> "; // line 90 echo "</div> <div id=\"sqlqueryform\" class=\"clearfloat\"> "; // line 93 echo "</div> "; // line 95 echo "<button class=\"btn btn-secondary\" id=\"togglequerybox\"></button> "; } public function getTemplateName() { return "database/search/main.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 227 => 95, 224 => 93, 220 => 90, 217 => 88, 212 => 84, 201 => 74, 193 => 70, 190 => 68, 186 => 66, 180 => 61, 171 => 58, 168 => 57, 163 => 55, 158 => 53, 156 => 52, 151 => 51, 147 => 50, 142 => 47, 137 => 44, 131 => 40, 121 => 35, 116 => 34, 111 => 31, 106 => 30, 101 => 27, 96 => 26, 89 => 23, 84 => 22, 77 => 19, 72 => 18, 67 => 15, 59 => 11, 56 => 9, 50 => 5, 44 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "database/search/main.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/search/main.twig"); } } twig/df/df024f615c2b925b77e0c61bdf121a44.php 0000644 00000037562 15114741573 0013205 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* config/form_display/input.twig */ class __TwigTemplate_3d9fbbf91db1553cfa749e4ac91ddad9 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 echo " "; $context["tr_class"] = (($context["tr_class"] ?? null) . " disabled-field"); } // line 4 echo "<tr"; if (($context["tr_class"] ?? null)) { echo " class=\""; echo twig_escape_filter($this->env, ($context["tr_class"] ?? null), "html", null, true); echo "\""; } echo "> <th> <label for=\""; // line 6 echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\">"; echo ($context["name"] ?? null); echo "</label> "; // line 8 if ( !twig_test_empty(($context["doc"] ?? null))) { // line 9 echo " <span class=\"doc\"> <a href=\""; // line 10 echo twig_escape_filter($this->env, ($context["doc"] ?? null), "html", null, true); echo "\" target=\"documentation\">"; echo PhpMyAdmin\Html\Generator::getImage("b_help", _gettext("Documentation")); echo "</a> </span> "; } // line 13 echo " "; // line 14 if (($context["option_is_disabled"] ?? null)) { // line 15 echo " <span class=\"disabled-notice\" title=\""; echo _gettext("This setting is disabled, it will not be applied to your configuration."); echo "\"> "; echo _gettext("Disabled"); // line 17 echo " </span> "; } // line 19 echo " "; // line 20 if ( !twig_test_empty(($context["description"] ?? null))) { // line 21 echo " <small>"; echo ($context["description"] ?? null); echo "</small> "; } // line 23 echo " </th> <td> "; // line 26 if ((($context["type"] ?? null) == "text")) { // line 27 echo " <input type=\"text\" name=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" id=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true); echo "\" class=\"w-75"; echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : ("")); echo "\"> "; } elseif (( // line 28 ($context["type"] ?? null) == "password")) { // line 29 echo " <input type=\"password\" name=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" id=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true); echo "\" class=\"w-75"; echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : ("")); echo "\" spellcheck=\"false\"> "; } elseif ((( // line 30 ($context["type"] ?? null) == "short_text") && !twig_test_iterable(($context["value"] ?? null)))) { // line 31 echo " "; // line 32 echo " <input type=\"text\" size=\"25\" name=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" id=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true); echo "\" class=\""; echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? ("custom field-error") : ("custom"))) : ("")); echo "\"> "; } elseif (( // line 33 ($context["type"] ?? null) == "number_text")) { // line 34 echo " <input type=\"number\" name=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" id=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true); echo "\" class=\""; echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? ("custom field-error") : ("custom"))) : ("")); echo "\"> "; } elseif (( // line 35 ($context["type"] ?? null) == "checkbox")) { // line 36 echo " <span class=\"checkbox"; echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : ("")); echo "\"> <input type=\"checkbox\" name=\""; // line 37 echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" id=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\""; echo ((($context["value"] ?? null)) ? (" checked") : ("")); echo "> </span> "; } elseif (( // line 39 ($context["type"] ?? null) == "select")) { // line 40 echo " <select name=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" id=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" class=\"w-75"; echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : ("")); echo "\"> "; // line 41 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["select_values"] ?? null)); foreach ($context['_seq'] as $context["key"] => $context["val"]) { // line 42 echo " "; if (($context["val"] === true)) { $context["val"] = _gettext("Yes"); } elseif (($context["val"] === false)) { $context["val"] = _gettext("No"); } // line 43 echo " <option value=\""; echo twig_escape_filter($this->env, $context["key"], "html", null, true); echo "\""; echo ((((($context["key"] === ($context["value"] ?? null)) || ((($context["value"] ?? null) === true) && ($context["key"] === 1))) || ((($context["value"] ?? null) === false) && ($context["key"] === 0)))) ? (" selected") : ("")); echo ((twig_in_filter($context["key"], ($context["select_values_disabled"] ?? null))) ? (" disabled") : ("")); echo ">"; echo twig_escape_filter($this->env, $context["val"], "html", null, true); echo "</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 echo " </select> "; } elseif (( // line 46 ($context["type"] ?? null) == "list")) { // line 47 echo " <textarea cols=\"35\" rows=\"5\" name=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" id=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" class=\""; echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? ("custom field-error") : ("custom"))) : ("")); echo "\">"; // line 48 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($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")) { echo twig_escape_filter($this->env, $context["val"], "html", null, true); echo (( !twig_get_attribute($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 echo "</textarea> "; } // line 51 echo " "; // line 52 if ((($context["is_setup"] ?? null) && ($context["comment"] ?? null))) { // line 53 echo " <a class=\"userprefs-comment\" title=\""; echo twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true); echo "\">"; echo PhpMyAdmin\Html\Generator::getImage("b_tblops", _gettext("Comment")); echo "</a> "; } // line 55 echo " "; // line 56 if (($context["set_value"] ?? null)) { // line 57 echo " <a class=\"set-value hide\" href=\"#"; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "="; echo twig_escape_filter($this->env, ($context["set_value"] ?? null), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_sprintf(_gettext("Set value: %s"), ($context["set_value"] ?? null)), "html", null, true); echo "\">"; // line 58 echo PhpMyAdmin\Html\Generator::getImage("b_edit", twig_sprintf(_gettext("Set value: %s"), ($context["set_value"] ?? null))); // line 59 echo "</a> "; } // line 61 echo " "; // line 62 if (($context["show_restore_default"] ?? null)) { // line 63 echo " <a class=\"restore-default hide\" href=\"#"; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" title=\""; echo _gettext("Restore default value"); echo "\">"; // line 64 echo PhpMyAdmin\Html\Generator::getImage("s_reload", _gettext("Restore default value")); // line 65 echo "</a> "; } // line 67 echo " "; // line 69 echo " "; if (($context["has_errors"] ?? null)) { // line 70 echo " <dl class=\"inline_errors\"> "; // line 71 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["errors"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["error"]) { // line 72 echo " <dd>"; echo $context["error"]; echo "</dd> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 74 echo " </dl> "; } // line 76 echo " </td> "; // line 78 if ((($context["is_setup"] ?? null) && !(null === ($context["allows_customization"] ?? null)))) { // line 79 echo " <td class=\"userprefs-allow\" title=\""; echo _gettext("Allow users to customize this value"); echo "\"> <input type=\"checkbox\" name=\""; // line 80 echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "-userprefs-allow\""; echo ((($context["allows_customization"] ?? null)) ? (" checked") : ("")); echo " aria-label=\""; echo _gettext("Allow users to customize this value"); echo "\"> </td> "; } elseif ( // line 82 ($context["is_setup"] ?? null)) { // line 83 echo " <td> </td> "; } // line 85 echo "</tr> "; } public function getTemplateName() { return "config/form_display/input.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 362 => 85, 358 => 83, 356 => 82, 347 => 80, 342 => 79, 340 => 78, 336 => 76, 332 => 74, 323 => 72, 319 => 71, 316 => 70, 313 => 69, 310 => 67, 306 => 65, 304 => 64, 298 => 63, 296 => 62, 293 => 61, 289 => 59, 287 => 58, 279 => 57, 277 => 56, 274 => 55, 266 => 53, 264 => 52, 261 => 51, 257 => 49, 223 => 48, 215 => 47, 213 => 46, 210 => 45, 196 => 43, 189 => 42, 185 => 41, 176 => 40, 174 => 39, 165 => 37, 160 => 36, 158 => 35, 147 => 34, 145 => 33, 134 => 32, 132 => 31, 130 => 30, 119 => 29, 117 => 28, 106 => 27, 104 => 26, 99 => 23, 93 => 21, 91 => 20, 88 => 19, 84 => 17, 78 => 15, 76 => 14, 73 => 13, 65 => 10, 62 => 9, 60 => 8, 53 => 6, 43 => 4, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "config/form_display/input.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/config/form_display/input.twig"); } } twig/c7/c7d07488f88e71f6ecdaafee0750b3ac.php 0000644 00000003626 15114741573 0013451 0 ustar 00 <?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_640358dbdd34fd4a3f49462244318faf 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/quick_warp.twig"); } } twig/c7/c70d86746879580aa115022c88d500bd.php 0000644 00000004473 15114741573 0012640 0 ustar 00 <?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_ca100332df68481966167af3372a21bf 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/preview_sql_modal.twig"); } } twig/c7/c78c227ca21c7bf232e7c8a31c7e718c.php 0000644 00000005277 15114741573 0013220 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* navigation/tree/fast_filter.twig */ class __TwigTemplate_1c810557977fe441311d38db7ef35532 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 echo " <li class=\"fast_filter"; if (($context["is_root_node"] ?? null)) { echo " db_fast_filter"; } echo "\"> <form class=\"ajax fast_filter\"> "; // line 4 echo PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null)); echo " <div class=\"input-group\"> <input class=\"searchClause form-control\" type=\"text\" name=\""; // line 9 echo ((($context["is_root_node"] ?? null)) ? ("searchClause") : ("searchClause2")); echo "\" accesskey=\"q\" aria-label=\""; echo _gettext("Type to filter these, Enter to search all"); // line 11 echo "\" placeholder=\""; echo _gettext("Type to filter these, Enter to search all"); // line 12 echo "\" > <button class=\"btn btn-outline-secondary searchClauseClear\" type=\"button\" aria-label=\""; echo _gettext("Clear fast filter"); // line 16 echo "\">X</button> </div> </form> </li> "; } } public function getTemplateName() { return "navigation/tree/fast_filter.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 72 => 16, 65 => 12, 61 => 11, 55 => 9, 47 => 4, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "navigation/tree/fast_filter.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/fast_filter.twig"); } } twig/c7/c7a5b65dfde0120fb650f42a7dacd41c.php 0000644 00000011346 15114741573 0013412 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/page_with_secondary_tabs.twig */ class __TwigTemplate_eb0b4102a7e31212e1f24e0647eb148e 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 if (( !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "relationFeature", [], "any", false, false, false, 1)) || ($context["is_foreign_key_supported"] ?? null))) { // line 2 echo " <ul class=\"nav nav-pills m-2 d-print-none\"> <li class=\"nav-item\"> <a href=\""; // line 4 echo PhpMyAdmin\Url::getFromRoute("/table/structure", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); echo "\" id=\"table_structure_id\" class=\"nav-link"; echo (((($context["route"] ?? null) == "/table/structure")) ? (" active") : ("")); echo "\"> "; // line 5 echo PhpMyAdmin\Html\Generator::getIcon("b_props", _gettext("Table structure"), true); echo " </a> </li> <li class=\"nav-item\"> <a href=\""; // line 10 echo PhpMyAdmin\Url::getFromRoute("/table/relation", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); echo "\" id=\"table_relation_id\" class=\"nav-link"; echo (((($context["route"] ?? null) == "/table/relation")) ? (" active") : ("")); echo "\"> "; // line 11 echo PhpMyAdmin\Html\Generator::getIcon("b_relations", _gettext("Relation view"), true); echo " </a> </li> </ul> "; } // line 16 echo " "; // line 17 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->env->getRuntime('PhpMyAdmin\FlashMessages')->getMessages()); foreach ($context['_seq'] as $context["flash_key"] => $context["flash_messages"]) { // line 18 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($context["flash_messages"]); foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) { // line 19 echo " <div class=\"alert alert-"; echo twig_escape_filter($this->env, $context["flash_key"], "html", null, true); echo "\" role=\"alert\"> "; // line 20 echo twig_escape_filter($this->env, $context["flash_message"], "html", null, true); echo " </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash_message'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['flash_key'], $context['flash_messages'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 24 echo " <div id=\"structure_content\"> "; // line 26 $this->displayBlock('content', $context, $blocks); // line 27 echo "</div> "; } // line 26 public function block_content($context, array $blocks = []) { $macros = $this->macros; } public function getTemplateName() { return "table/page_with_secondary_tabs.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 113 => 26, 108 => 27, 106 => 26, 102 => 24, 89 => 20, 84 => 19, 79 => 18, 75 => 17, 72 => 16, 64 => 11, 58 => 10, 50 => 5, 44 => 4, 40 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "table/page_with_secondary_tabs.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/page_with_secondary_tabs.twig"); } } twig/c6/c6e679bc1d499bc89f1b39cb0381211f.php 0000644 00000005331 15114741573 0013142 0 ustar 00 <?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_c0cda9bb72e57e2f2efa8d5ac8c3e520 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/preferences/autoload.twig"); } } twig/8c/8ca2a1f045625264f1876f281f2998dc.php 0000644 00000046667 15114741573 0012751 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/operations/index.twig */ class __TwigTemplate_66ad626f053178913b041e039f33d640 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 echo "<div class=\"container-fluid\"> "; // line 3 echo ($context["message"] ?? null); echo " "; // line 5 if (($context["has_comment"] ?? null)) { // line 6 echo " <form method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/database/operations"); echo "\" id=\"formDatabaseComment\"> "; // line 7 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <div class=\"card mb-2\"> <div class=\"card-header\">"; // line 9 echo PhpMyAdmin\Html\Generator::getIcon("b_comment", _gettext("Database comment"), true); echo "</div> <div class=\"card-body\"> <div class=\"row g-3\"> <div class=\"col-auto\"> <label class=\"visually-hidden\" for=\"databaseCommentInput\">"; echo _gettext("Database comment"); // line 13 echo "</label> <input class=\"form-control textfield\" id=\"databaseCommentInput\" type=\"text\" name=\"comment\" value=\""; // line 14 echo twig_escape_filter($this->env, ($context["db_comment"] ?? null), "html", null, true); echo "\"> </div> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 19 echo "\"> </div> </div> </form> "; } // line 24 echo " <form id=\"createTableMinimalForm\" method=\"post\" action=\""; // line 25 echo PhpMyAdmin\Url::getFromRoute("/table/create"); echo "\" class=\"card mb-2 lock-page\"> "; // line 26 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <div class=\"card-header\">"; // line 27 echo PhpMyAdmin\Html\Generator::getIcon("b_table_add", _gettext("Create new table"), true); echo "</div> <div class=\"card-body row row-cols-lg-auto g-3\"> <div class=\"col-md-6\"> <label for=\"createTableNameInput\" class=\"form-label\">"; echo _gettext("Table name"); // line 30 echo "</label> <input type=\"text\" class=\"form-control\" name=\"table\" id=\"createTableNameInput\" maxlength=\"64\" required> </div> <div class=\"col-md-6\"> <label for=\"createTableNumFieldsInput\" class=\"form-label\">"; echo _gettext("Number of columns"); // line 34 echo "</label> <input type=\"number\" class=\"form-control\" name=\"num_fields\" id=\"createTableNumFieldsInput\" min=\"1\" value=\"4\" required> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Create"); // line 39 echo "\"> </div> </form> "; // line 43 if ((($context["db"] ?? null) != "mysql")) { // line 44 echo " <form id=\"rename_db_form\" class=\"ajax\" method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/database/operations"); echo "\"> "; // line 45 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <input type=\"hidden\" name=\"what\" value=\"data\"> <input type=\"hidden\" name=\"db_rename\" value=\"true\"> "; // line 49 if ( !twig_test_empty(($context["db_collation"] ?? null))) { // line 50 echo " <input type=\"hidden\" name=\"db_collation\" value=\""; echo twig_escape_filter($this->env, ($context["db_collation"] ?? null), "html", null, true); echo "\"> "; } // line 52 echo " <div class=\"card mb-2\"> <div class=\"card-header\">"; // line 54 echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Rename database to"), true); echo "</div> <div class=\"card-body\"> <div class=\"mb-3 row g-3\"> <div class=\"col-auto\"> <label class=\"visually-hidden\" for=\"new_db_name\">"; echo _gettext("New database name"); // line 58 echo "</label> <input class=\"form-control textfield\" id=\"new_db_name\" type=\"text\" name=\"newname\" maxlength=\"64\" required> </div> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"adjust_privileges\" value=\"1\" id=\"checkbox_adjust_privileges\""; // line 65 if (($context["has_adjust_privileges"] ?? null)) { echo " checked"; } else { echo " title=\""; echo _gettext("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details."); // line 66 echo "\" disabled"; } echo "> <label class=\"form-check-label\" for=\"checkbox_adjust_privileges\"> "; echo _gettext("Adjust privileges"); // line 69 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39"); echo " </label> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 75 echo "\"> </div> </div> </form> "; } // line 80 echo " "; // line 81 if (($context["is_drop_database_allowed"] ?? null)) { // line 82 echo " <div class=\"card mb-2\"> <div class=\"card-header\">"; // line 83 echo PhpMyAdmin\Html\Generator::getIcon("b_deltbl", _gettext("Remove database"), true); echo "</div> <div class=\"card-body\"> <div class=\"card-text\"> "; // line 86 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), ["sql_query" => ("DROP DATABASE " . PhpMyAdmin\Util::backquote( // line 89 ($context["db"] ?? null))), "back" => PhpMyAdmin\Url::getFromRoute("/database/operations"), "goto" => PhpMyAdmin\Url::getFromRoute("/"), "reload" => true, "purge" => true, "message_to_show" => twig_escape_filter($this->env, twig_sprintf(_gettext("Database %s has been dropped."), PhpMyAdmin\Util::backquote( // line 94 ($context["db"] ?? null)))), "db" => null], _gettext("Drop the database (DROP)"), ["id" => "drop_db_anchor", "class" => "ajax text-danger"]); // line 102 echo " "; // line 103 echo PhpMyAdmin\Html\MySQLDocumentation::show("DROP_DATABASE"); echo " </div> </div> </div> "; } // line 108 echo " <form id=\"copy_db_form\" class=\"ajax\" method=\"post\" action=\""; // line 109 echo PhpMyAdmin\Url::getFromRoute("/database/operations"); echo "\"> "; // line 110 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <input type=\"hidden\" name=\"db_copy\" value=\"true\"> "; // line 113 if ( !twig_test_empty(($context["db_collation"] ?? null))) { // line 114 echo " <input type=\"hidden\" name=\"db_collation\" value=\""; echo twig_escape_filter($this->env, ($context["db_collation"] ?? null), "html", null, true); echo "\"> "; } // line 116 echo " <div class=\"card mb-2\"> <div class=\"card-header\">"; // line 118 echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Copy database to"), true); echo "</div> <div class=\"card-body\"> <div class=\"mb-3 row g-3\"> <div class=\"col-auto\"> <label class=\"visually-hidden\" for=\"renameDbNameInput\">"; echo _gettext("Database name"); // line 122 echo "</label> <input class=\"form-control textfield\" id=\"renameDbNameInput\" type=\"text\" maxlength=\"64\" name=\"newname\" required> </div> </div> <div class=\"mb-3\"> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"what\" id=\"whatRadio1\" value=\"structure\"> <label class=\"form-check-label\" for=\"whatRadio1\"> "; echo _gettext("Structure only"); // line 132 echo " </label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"what\" id=\"whatRadio2\" value=\"data\" checked> <label class=\"form-check-label\" for=\"whatRadio2\"> "; echo _gettext("Structure and data"); // line 138 echo " </label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"what\" id=\"whatRadio3\" value=\"dataonly\"> <label class=\"form-check-label\" for=\"whatRadio3\"> "; echo _gettext("Data only"); // line 144 echo " </label> </div> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"create_database_before_copying\" value=\"1\" id=\"checkbox_create_database_before_copying\" checked> <label class=\"form-check-label\" for=\"checkbox_create_database_before_copying\">"; echo _gettext("CREATE DATABASE before copying"); // line 150 echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"drop_if_exists\" value=\"true\" id=\"checkbox_drop\"> <label class=\"form-check-label\" for=\"checkbox_drop\">"; // line 155 echo twig_escape_filter($this->env, twig_sprintf(_gettext("Add %s"), "DROP TABLE / DROP VIEW"), "html", null, true); echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"sql_auto_increment\" value=\"1\" id=\"checkbox_auto_increment\" checked> <label class=\"form-check-label\" for=\"checkbox_auto_increment\">"; echo _gettext("Add AUTO_INCREMENT value"); // line 160 echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"add_constraints\" value=\"1\" id=\"checkbox_constraints\" checked> <label class=\"form-check-label\" for=\"checkbox_constraints\">"; echo _gettext("Add constraints"); // line 165 echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"adjust_privileges\" value=\"1\" id=\"checkbox_privileges\""; // line 170 if (($context["has_adjust_privileges"] ?? null)) { echo " checked"; } else { echo " title=\""; echo _gettext("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details."); // line 171 echo "\" disabled"; } echo "> <label class=\"form-check-label\" for=\"checkbox_privileges\"> "; echo _gettext("Adjust privileges"); // line 174 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39"); echo " </label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"switch_to_new\" value=\"true\" id=\"checkbox_switch\""; // line 179 echo ((($context["switch_to_new"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"checkbox_switch\">"; echo _gettext("Switch to copied database"); // line 180 echo "</label> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" name=\"submit_copy\" value=\""; echo _gettext("Go"); // line 185 echo "\"> </div> </div> </form> <form id=\"change_db_charset_form\" class=\"ajax\" method=\"post\" action=\""; // line 190 echo PhpMyAdmin\Url::getFromRoute("/database/operations/collation"); echo "\"> "; // line 191 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <div class=\"card mb-2\"> <div class=\"card-header\">"; // line 194 echo PhpMyAdmin\Html\Generator::getIcon("s_asci", _gettext("Collation"), true); echo "</div> <div class=\"card-body\"> <div class=\"mb-3 row g-3\"> <div class=\"col-auto\"> <label class=\"visually-hidden\" for=\"select_db_collation\">"; echo _gettext("Collation"); // line 198 echo "</label> <select class=\"form-select\" lang=\"en\" dir=\"ltr\" name=\"db_collation\" id=\"select_db_collation\"> <option value=\"\"></option> "; // line 201 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 202 echo " <optgroup label=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 202), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getDescription", [], "method", false, false, false, 202), "html", null, true); echo "\"> "; // line 203 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((($__internal_compile_0 = ($context["collations"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 203)] ?? null) : null)); foreach ($context['_seq'] as $context["_key"] => $context["collation"]) { // line 204 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "getName", [], "method", false, false, false, 204), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "getDescription", [], "method", false, false, false, 204), "html", null, true); echo "\""; echo (((($context["db_collation"] ?? null) == twig_get_attribute($this->env, $this->source, $context["collation"], "getName", [], "method", false, false, false, 204))) ? (" selected") : ("")); echo "> "; // line 205 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "getName", [], "method", false, false, false, 205), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 208 echo " </optgroup> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 210 echo " </select> </div> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"change_all_tables_collations\" id=\"checkbox_change_all_tables_collations\"> <label class=\"form-check-label\" for=\"checkbox_change_all_tables_collations\">"; echo _gettext("Change all tables collations"); // line 216 echo "</label> </div> <div class=\"form-check\" id=\"span_change_all_tables_columns_collations\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"change_all_tables_columns_collations\" id=\"checkbox_change_all_tables_columns_collations\"> <label class=\"form-check-label\" for=\"checkbox_change_all_tables_columns_collations\">"; echo _gettext("Change all tables columns collations"); // line 220 echo "</label> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 225 echo "\"> </div> </div> </form> </div> "; } public function getTemplateName() { return "database/operations/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 455 => 225, 447 => 220, 440 => 216, 431 => 210, 424 => 208, 415 => 205, 406 => 204, 402 => 203, 395 => 202, 391 => 201, 386 => 198, 378 => 194, 372 => 191, 368 => 190, 361 => 185, 353 => 180, 348 => 179, 339 => 174, 332 => 171, 326 => 170, 320 => 165, 312 => 160, 303 => 155, 296 => 150, 287 => 144, 279 => 138, 271 => 132, 259 => 122, 251 => 118, 247 => 116, 241 => 114, 239 => 113, 233 => 110, 229 => 109, 226 => 108, 218 => 103, 215 => 102, 213 => 94, 212 => 89, 211 => 86, 205 => 83, 202 => 82, 200 => 81, 197 => 80, 190 => 75, 179 => 69, 172 => 66, 166 => 65, 158 => 58, 150 => 54, 146 => 52, 140 => 50, 138 => 49, 131 => 45, 126 => 44, 124 => 43, 118 => 39, 110 => 34, 103 => 30, 96 => 27, 92 => 26, 88 => 25, 85 => 24, 78 => 19, 69 => 14, 66 => 13, 58 => 9, 53 => 7, 48 => 6, 46 => 5, 41 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "database/operations/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/operations/index.twig"); } } twig/8c/8c5c237cb9bee040041bb2306045d943.php 0000644 00000004706 15114741573 0012755 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* modals/preview_sql_confirmation.twig */ class __TwigTemplate_d8724424e0d208ff9301daa99d2cea5a 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 echo "<div class=\"modal fade\" id=\"previewSqlConfirmModal\" tabindex=\"-1\" aria-labelledby=\"previewSqlConfirmModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"previewSqlConfirmModalLabel\">"; echo _gettext("Loading"); // line 5 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 6 echo "\"></button> </div> <div class=\"modal-body preview_sql\"> <code class=\"sql\"> <pre id=\"previewSqlConfirmCode\"></pre> </code> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"previewSQLConfirmOkButton\">"; echo _gettext("OK"); // line 14 echo "</button> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 15 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "modals/preview_sql_confirmation.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 63 => 15, 59 => 14, 48 => 6, 44 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "modals/preview_sql_confirmation.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/preview_sql_confirmation.twig"); } } twig/f8/f859ed72d0dc074f9ccc5ac2ead122c7.php 0000644 00000013671 15114741573 0013443 0 ustar 00 <?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; /* table/insert/actions_panel.twig */ class __TwigTemplate_852afb2d44c79ca3e6bafce652a07442 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 "<fieldset class=\"pma-fieldset\" id=\"actions_panel\"> <table class=\"table table-borderless w-auto tdblock\"> <tr> <td class=\"text-nowrap align-middle\"> <select name=\"submit_type\" class=\"control_at_footer\"> "; // line 6 if ( !Twig\Extension\CoreExtension::testEmpty(($context["where_clause"] ?? null))) { // line 7 yield " <option value=\"save\">"; yield _gettext("Save"); yield "</option> "; } // line 9 yield " <option value=\"insert\">"; yield _gettext("Insert as new row"); yield "</option> <option value=\"insertignore\">"; yield _gettext("Insert as new row and ignore errors"); // line 10 yield "</option> <option value=\"showinsert\">"; yield _gettext("Show insert query"); // line 11 yield "</option> </select> </td> <td class=\"align-middle\"> <strong>"; yield _gettext("and then"); // line 15 yield "</strong> </td> <td class=\"text-nowrap align-middle\"> <select name=\"after_insert\" class=\"control_at_footer\"> <option value=\"back\""; // line 19 yield (((($context["after_insert"] ?? null) == "back")) ? (" selected") : ("")); yield ">"; yield _gettext("Go back to previous page"); yield "</option> <option value=\"new_insert\""; // line 20 yield (((($context["after_insert"] ?? null) == "new_insert")) ? (" selected") : ("")); yield ">"; yield _gettext("Insert another new row"); yield "</option> "; // line 21 if ( !Twig\Extension\CoreExtension::testEmpty(($context["where_clause"] ?? null))) { // line 22 yield " <option value=\"same_insert\""; yield (((($context["after_insert"] ?? null) == "same_insert")) ? (" selected") : ("")); yield ">"; yield _gettext("Go back to this page"); yield "</option> "; // line 23 if ((($context["found_unique_key"] ?? null) && ($context["is_numeric"] ?? null))) { // line 24 yield " <option value=\"edit_next\""; yield (((($context["after_insert"] ?? null) == "edit_next")) ? (" selected") : ("")); yield ">"; yield _gettext("Edit next row"); yield "</option> "; } // line 26 yield " "; } // line 27 yield " </select> </td> </tr> <tr> <td> "; // line 32 yield PhpMyAdmin\Html\Generator::showHint(_gettext("Use TAB key to move from value to value, or CTRL+arrows to move anywhere.")); yield " </td> <td colspan=\"3\" class=\"text-end align-middle\"> <input type=\"button\" class=\"btn btn-secondary preview_sql control_at_footer\" value=\""; yield _gettext("Preview SQL"); // line 35 yield "\"> <input type=\"reset\" class=\"btn btn-secondary control_at_footer\" value=\""; yield _gettext("Reset"); // line 36 yield "\"> <input type=\"submit\" class=\"btn btn-primary control_at_footer\" value=\""; yield _gettext("Go"); // line 37 yield "\" id=\"buttonYes\"> </td> </tr> </table> </fieldset> <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 46 yield "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Close"); // line 47 yield "\"></button> </div> <div class=\"modal-body\"> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"previewSQLCloseButton\" data-bs-dismiss=\"modal\">"; yield _gettext("Close"); // line 52 yield "</button> </div> </div> </div> </div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/insert/actions_panel.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 156 => 52, 148 => 47, 144 => 46, 132 => 37, 128 => 36, 124 => 35, 117 => 32, 110 => 27, 107 => 26, 99 => 24, 97 => 23, 90 => 22, 88 => 21, 82 => 20, 76 => 19, 70 => 15, 63 => 11, 59 => 10, 53 => 9, 47 => 7, 45 => 6, 38 => 1,); } public function getSourceContext() { return new Source("", "table/insert/actions_panel.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/actions_panel.twig"); } } twig/f8/f83efe7a9b9636b9079263e8f4819975.php 0000644 00000004641 15114741573 0013000 0 ustar 00 <?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_49be2eefaf703f038e0cb8ffe1cecd45 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/row_data.twig"); } } twig/a3/a358c5d58acea1b6724e0454fd31754c.php 0000644 00000003777 15114741573 0013134 0 ustar 00 <?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; /* table/insert/get_html_for_insert_edit_form_header.twig */ class __TwigTemplate_67658e08f2daefd5bf980359b6145ca3 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 id=\"insertForm\" class=\"lock-page"; yield (((($context["has_blob_field"] ?? null) && ($context["is_upload"] ?? null))) ? (" disableAjax") : ("")); yield "\" method=\"post\" action=\""; yield PhpMyAdmin\Url::getFromRoute("/table/replace"); yield "\" name=\"insertForm\""; yield ((($context["is_upload"] ?? null)) ? (" enctype=\"multipart/form-data\"") : ("")); yield ">"; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/insert/get_html_for_insert_edit_form_header.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 38 => 1,); } public function getSourceContext() { return new Source("", "table/insert/get_html_for_insert_edit_form_header.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/get_html_for_insert_edit_form_header.twig"); } } twig/a3/a3906b39ab56c71d1d40da8fcc34be47.php 0000644 00000004103 15114741573 0013250 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/row_data.twig */ class __TwigTemplate_dee3bef2cb08044c9ecf5479951b78eb 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 echo "<td data-decimals=\""; echo twig_escape_filter($this->env, ($context["decimals"] ?? null), "html", null, true); echo "\" data-type=\""; echo twig_escape_filter($this->env, ($context["type"] ?? null), "html", null, true); echo "\""; if ( !twig_test_empty(($context["original_length"] ?? null))) { echo " data-originallength=\""; echo twig_escape_filter($this->env, ($context["original_length"] ?? null), "html", null, true); echo "\""; } echo " class=\""; echo twig_escape_filter($this->env, ($context["td_class"] ?? null), "html", null, true); echo "\">"; // line 2 echo ($context["value"] ?? null); // line 3 echo "</td> "; } public function getTemplateName() { return "display/results/row_data.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 53 => 3, 51 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/row_data.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/row_data.twig"); } } twig/6b/6ba9196125e333ef593d5f3959049e24.php 0000644 00000005222 15114741573 0012653 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/create_table.twig */ class __TwigTemplate_c5ff86f2db9a83827260c8c02b8892c0 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 echo "<form id=\"createTableMinimalForm\" method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/table/create"); echo "\" class=\"card d-print-none lock-page\"> "; // line 2 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <div class=\"card-header\">"; // line 3 echo PhpMyAdmin\Html\Generator::getIcon("b_table_add", _gettext("Create new table"), true); echo "</div> <div class=\"card-body row row-cols-lg-auto g-3\"> <div class=\"col-12\"> <label for=\"createTableNameInput\" class=\"form-label\">"; echo _gettext("Table name"); // line 6 echo "</label> <input type=\"text\" class=\"form-control\" name=\"table\" id=\"createTableNameInput\" maxlength=\"64\" required> </div> <div class=\"col-12\"> <label for=\"createTableNumFieldsInput\" class=\"form-label\">"; echo _gettext("Number of columns"); // line 10 echo "</label> <input type=\"number\" class=\"form-control\" name=\"num_fields\" id=\"createTableNumFieldsInput\" min=\"1\" value=\"4\" required> </div> <div class=\"col-12 align-self-lg-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Create"); // line 14 echo "\"> </div> </div> </form> "; } public function getTemplateName() { return "database/create_table.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 67 => 14, 60 => 10, 53 => 6, 46 => 3, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "database/create_table.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/create_table.twig"); } } twig/6b/6b94fcd164fc5bded6e5774c9e1b00d3.php 0000644 00000003324 15114741573 0013356 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* navigation/tree/quick_warp.twig */ class __TwigTemplate_38a2c48e0b6b029b4caefeb9d89038b8 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 echo "<div class=\"pma_quick_warp\"> "; // line 2 if (($context["recent"] ?? null)) { echo ($context["recent"] ?? null); } // line 3 echo " "; if (($context["favorite"] ?? null)) { echo ($context["favorite"] ?? null); } // line 4 echo " <div class=\"clearfloat\"></div> </div> "; } public function getTemplateName() { return "navigation/tree/quick_warp.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 49 => 4, 44 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "navigation/tree/quick_warp.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/quick_warp.twig"); } } twig/6b/6b0bff33c83e5be7ec89b6579698723e.php 0000644 00000002761 15114741573 0013173 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* message.twig */ class __TwigTemplate_8adfeda4e781f50eff19b8080ac5d26a 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 echo "<div class=\"alert alert-"; echo twig_escape_filter($this->env, ($context["context"] ?? null), "html", null, true); echo "\" role=\"alert\"> "; // line 2 echo ($context["message"] ?? null); echo " </div> "; } public function getTemplateName() { return "message.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "message.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/message.twig"); } } twig/6b/6bef0b5314c619cec0fec376af5f01e7.php 0000644 00000136044 15114741573 0013352 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* export.twig */ class __TwigTemplate_6e6cea501edba7b3dbfe0c8f879470a2 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ 'title' => [$this, 'block_title'], 'message' => [$this, 'block_message'], 'selection_options' => [$this, 'block_selection_options'], ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class=\"container\"> <h2 class=\"my-3\"> "; // line 3 echo PhpMyAdmin\Html\Generator::getImage("b_export", _gettext("Export")); echo " "; // line 4 $this->displayBlock('title', $context, $blocks); // line 5 echo " </h2> "; // line 7 echo ($context["page_settings_error_html"] ?? null); echo " "; // line 8 echo ($context["page_settings_html"] ?? null); echo " "; // line 10 $this->displayBlock('message', $context, $blocks); // line 11 echo " "; // line 12 if (twig_get_attribute($this->env, $this->source, ($context["templates"] ?? null), "is_enabled", [], "any", false, false, false, 12)) { // line 13 echo " <div class=\"card mb-3\"> <div class=\"card-header\">"; echo _gettext("Export templates:"); // line 14 echo "</div> <div class=\"card-body row gy-3\"> <form method=\"post\" action=\""; // line 16 echo PhpMyAdmin\Url::getFromRoute("/export/template/create"); echo "\" class=\"col-12 col-md ajax\"> <fieldset> <legend>"; echo _gettext("New template:"); // line 18 echo "</legend> <div class=\"row g-3 align-items-center\"> <div class=\"col-auto\"> <label for=\"templateName\" class=\"col-form-label\">"; echo _gettext("Template name"); // line 21 echo "</label> </div> <div class=\"col-auto\"> <input class=\"form-control\" type=\"text\" name=\"templateName\" id=\"templateName\" maxlength=\"64\" placeholder=\""; echo _gettext("Template name"); // line 24 echo "\" required> </div> <div class=\"col-auto\"> <input class=\"btn btn-secondary\" type=\"submit\" name=\"createTemplate\" id=\"createTemplate\" value=\""; echo _gettext("Create"); // line 27 echo "\"> </div> </div> </fieldset> </form> <form method=\"post\" id=\"existingTemplatesForm\" class=\"col-12 col-md ajax\"> <fieldset> <legend>"; echo _gettext("Existing templates:"); // line 35 echo "</legend> <div class=\"row g-3 align-items-center\"> <div class=\"col-auto\"> <label for=\"template\" class=\"col-form-label\">"; echo _gettext("Template:"); // line 38 echo "</label> </div> <div class=\"col-auto\"> <select class=\"form-select\" name=\"template\" id=\"template\" required> <option value=\"\">-- "; echo _gettext("Select a template"); // line 42 echo " --</option> "; // line 43 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["templates"] ?? null), "templates", [], "any", false, false, false, 43)); foreach ($context['_seq'] as $context["_key"] => $context["template"]) { // line 44 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["template"], "getId", [], "method", false, false, false, 44), "html", null, true); echo "\""; echo (((twig_get_attribute($this->env, $this->source, $context["template"], "getId", [], "method", false, false, false, 44) == twig_get_attribute($this->env, $this->source, ($context["templates"] ?? null), "selected", [], "any", false, false, false, 44))) ? (" selected") : ("")); echo "> "; // line 45 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["template"], "getName", [], "method", false, false, false, 45), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['template'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 48 echo " </select> </div> <div class=\"col-auto\"> <input class=\"btn btn-secondary\" type=\"submit\" formaction=\""; // line 51 echo PhpMyAdmin\Url::getFromRoute("/export/template/update"); echo "\" name=\"updateTemplate\" id=\"updateTemplate\" value=\""; echo _gettext("Update"); echo "\"> </div> <div class=\"col-auto\"> <input class=\"btn btn-secondary\" type=\"submit\" formaction=\""; // line 54 echo PhpMyAdmin\Url::getFromRoute("/export/template/delete"); echo "\" name=\"deleteTemplate\" id=\"deleteTemplate\" value=\""; echo _gettext("Delete"); echo "\"> </div> </div> </fieldset> </form> </div> </div> "; } // line 62 echo " "; // line 63 if ( !twig_test_empty(($context["sql_query"] ?? null))) { // line 64 echo " <div class=\"card mb-3\"> <div class=\"card-header\"> "; // line 67 echo " "; echo _gettext("SQL query:"); // line 68 echo " </div> <div class=\"card-body\"> <div id=\"sqlqueryform\"> "; // line 72 echo " <input class=\"btn btn-secondary\" type=\"submit\" id=\"showsqlquery\" value=\""; echo _gettext("Show SQL query"); echo "\"> </div> <div class=\"d-none\"></div> </div> </div> <div class=\"modal fade\" id=\"showSqlQueryModal\" tabindex=\"-1\" aria-labelledby=\"showSqlQueryModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"showSqlQueryModalLabel\">"; echo _gettext("Loading"); // line 81 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 82 echo "\"></button> </div> <div class=\"modal-body\"> <div id=\"export_sql_modal_content\"> <code class=\"sql\"> <pre id=\"sql_preview_query\">"; // line 87 echo twig_escape_filter($this->env, ($context["sql_query"] ?? null), "html", null, true); echo "</pre> </code> </div> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 92 echo "</button> </div> </div> </div> </div> "; } // line 98 echo " <form method=\"post\" action=\""; // line 99 echo PhpMyAdmin\Url::getFromRoute("/export"); echo "\" name=\"dump\" class=\"disableAjax\"> "; // line 100 echo PhpMyAdmin\Url::getHiddenInputs(($context["hidden_inputs"] ?? null)); echo " "; // line 102 if ((($context["export_method"] ?? null) != "custom-no-form")) { // line 103 echo " <div class=\"card mb-3\" id=\"quick_or_custom\"> <div class=\"card-header\">"; echo _gettext("Export method:"); // line 104 echo "</div> <div class=\"card-body\"> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"quick_or_custom\" value=\"quick\" id=\"radio_quick_export\""; // line 107 echo (((($context["export_method"] ?? null) == "quick")) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"radio_quick_export\">"; echo _gettext("Quick - display only the minimal options"); // line 108 echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"quick_or_custom\" value=\"custom\" id=\"radio_custom_export\""; // line 111 echo (((($context["export_method"] ?? null) == "custom")) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"radio_custom_export\">"; echo _gettext("Custom - display all possible options"); // line 112 echo "</label> </div> </div> </div> "; } // line 117 echo " <div class=\"card mb-3\" id=\"format\"> <div class=\"card-header\">"; echo _gettext("Format:"); // line 119 echo "</div> <div class=\"card-body\"> <select class=\"form-select\" id=\"plugins\" name=\"what\" aria-label=\""; echo _gettext("File format to export"); // line 121 echo "\"> "; // line 122 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["plugins_choice"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 123 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 123), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["option"], "is_selected", [], "any", false, false, false, 123)) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "text", [], "any", false, false, false, 123), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 125 echo " </select> "; // line 127 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["plugins_choice"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 128 echo " <input type=\"hidden\" id=\"force_file_"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 128), "html", null, true); echo "\" value=\""; echo ((twig_get_attribute($this->env, $this->source, $context["option"], "force_file", [], "any", false, false, false, 128)) ? ("true") : ("false")); echo "\"> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 130 echo " </div> </div> "; // line 133 $this->displayBlock('selection_options', $context, $blocks); // line 134 echo " "; // line 135 if ( !twig_test_empty(($context["rows"] ?? null))) { // line 136 echo " <div class=\"card mb-3\" id=\"rows\"> <div class=\"card-header\">"; echo _gettext("Rows:"); // line 137 echo "</div> <div class=\"card-body\"> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"allrows\" value=\"1\" id=\"radio_allrows_1\""; // line 140 echo ((((null === twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "allrows", [], "any", false, false, false, 140)) || (twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "allrows", [], "any", false, false, false, 140) == 1))) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"radio_allrows_1\">"; echo _gettext("Dump all rows"); // line 141 echo "</label> </div> <div class=\"form-check mb-2\"> <input class=\"form-check-input\" type=\"radio\" name=\"allrows\" value=\"0\" id=\"radio_allrows_0\""; // line 144 echo ((( !(null === twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "allrows", [], "any", false, false, false, 144)) && (twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "allrows", [], "any", false, false, false, 144) == 0))) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"radio_allrows_0\">"; echo _gettext("Dump some row(s)"); // line 145 echo "</label> </div> <ul class=\"list-group\"> <li class=\"list-group-item\"> <label class=\"form-label\" for=\"limit_to\">"; echo _gettext("Number of rows:"); // line 149 echo "</label> <input class=\"form-control\" type=\"text\" id=\"limit_to\" name=\"limit_to\" size=\"5\" value=\""; // line 151 if ( !(null === twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "limit_to", [], "any", false, false, false, 151))) { // line 152 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "limit_to", [], "any", false, false, false, 152), "html", null, true); } elseif (( !twig_test_empty(twig_get_attribute($this->env, $this->source, // line 153 ($context["rows"] ?? null), "unlim_num_rows", [], "any", false, false, false, 153)) && (twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "unlim_num_rows", [], "any", false, false, false, 153) != 0))) { // line 154 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "unlim_num_rows", [], "any", false, false, false, 154), "html", null, true); } else { // line 156 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "number_of_rows", [], "any", false, false, false, 156), "html", null, true); } // line 157 echo "\" onfocus=\"this.select()\"> </li> <li class=\"list-group-item\"> <label class=\"form-label\" for=\"limit_from\">"; echo _gettext("Row to begin at:"); // line 160 echo "</label> <input class=\"form-control\" type=\"text\" id=\"limit_from\" name=\"limit_from\" size=\"5\" value=\""; // line 161 (( !(null === twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "limit_from", [], "any", false, false, false, 161))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "limit_from", [], "any", false, false, false, 161), "html", null, true))) : (print (0))); echo "\" onfocus=\"this.select()\"> </li> </ul> </div> </div> "; } // line 167 echo " "; // line 168 if (($context["has_save_dir"] ?? null)) { // line 169 echo " <div class=\"card mb-3 d-none\" id=\"output_quick_export\"> <div class=\"card-header\">"; echo _gettext("Output:"); // line 170 echo "</div> <div class=\"card-body\"> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"quick_export_onserver\" value=\"saveit\" id=\"checkbox_quick_dump_onserver\""; // line 173 echo ((($context["export_is_checked"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"checkbox_quick_dump_onserver\"> "; // line 175 echo twig_sprintf(_gettext("Save on server in the directory <strong>%s</strong>"), twig_escape_filter($this->env, ($context["save_dir"] ?? null))); echo " </label> </div> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"quick_export_onserver_overwrite\" value=\"saveitover\" id=\"checkbox_quick_dump_onserver_overwrite\""; // line 180 echo ((($context["export_overwrite_is_checked"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"checkbox_quick_dump_onserver_overwrite\"> "; echo _gettext("Overwrite existing file(s)"); // line 183 echo " </label> </div> </div> </div> "; } // line 188 echo " <div class=\"modal fade\" id=\"renameExportModal\" tabindex=\"-1\" aria-labelledby=\"renameExportModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog modal-xl\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"renameExportModalLabel\">"; echo _gettext("Rename exported databases/tables/columns"); // line 193 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 194 echo "\"></button> </div> <div class=\"modal-body overflow-auto\"> <table class=\"table align-middle mb-3\" id=\"alias_data\"> <thead> <tr> <th colspan=\"4\"> "; echo _gettext("Defined aliases"); // line 202 echo " </th> </tr> </thead> <tbody> "; // line 207 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["aliases"] ?? null)); foreach ($context['_seq'] as $context["db"] => $context["db_data"]) { // line 208 echo " "; if ((twig_get_attribute($this->env, $this->source, $context["db_data"], "alias", [], "any", true, true, false, 208) && !(null === twig_get_attribute($this->env, $this->source, $context["db_data"], "alias", [], "any", false, false, false, 208)))) { // line 209 echo " <tr> <th>"; echo _pgettext("Alias", "Database"); // line 210 echo "</th> <td>"; // line 211 echo twig_escape_filter($this->env, $context["db"], "html", null, true); echo "</td> <td> <input name=\"aliases["; // line 213 echo twig_escape_filter($this->env, $context["db"], "html", null, true); echo "][alias]\" value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["db_data"], "alias", [], "any", false, false, false, 213), "html", null, true); echo "\" type=\"text\"> </td> <td> <button class=\"alias_remove btn btn-secondary\">"; echo _gettext("Remove"); // line 216 echo "</button> </td> </tr> "; } // line 220 echo " "; // line 221 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((((twig_get_attribute($this->env, $this->source, $context["db_data"], "tables", [], "any", true, true, false, 221) && !(null === twig_get_attribute($this->env, $this->source, $context["db_data"], "tables", [], "any", false, false, false, 221)))) ? (twig_get_attribute($this->env, $this->source, $context["db_data"], "tables", [], "any", false, false, false, 221)) : ([]))); foreach ($context['_seq'] as $context["table"] => $context["table_data"]) { // line 222 echo " "; if ((twig_get_attribute($this->env, $this->source, $context["table_data"], "alias", [], "any", true, true, false, 222) && !(null === twig_get_attribute($this->env, $this->source, $context["table_data"], "alias", [], "any", false, false, false, 222)))) { // line 223 echo " <tr> <th>"; echo _pgettext("Alias", "Table"); // line 224 echo "</th> <td>"; // line 225 echo twig_escape_filter($this->env, $context["db"], "html", null, true); echo "."; echo twig_escape_filter($this->env, $context["table"], "html", null, true); echo "</td> <td> <input name=\"aliases["; // line 227 echo twig_escape_filter($this->env, $context["db"], "html", null, true); echo "][tables]["; echo twig_escape_filter($this->env, $context["table"], "html", null, true); echo "][alias]\" value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["table_data"], "alias", [], "any", false, false, false, 227), "html", null, true); echo "\" type=\"text\"> </td> <td> <button class=\"alias_remove btn btn-secondary\">"; echo _gettext("Remove"); // line 230 echo "</button> </td> </tr> "; } // line 234 echo " "; // line 235 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((((twig_get_attribute($this->env, $this->source, $context["table_data"], "columns", [], "any", true, true, false, 235) && !(null === twig_get_attribute($this->env, $this->source, $context["table_data"], "columns", [], "any", false, false, false, 235)))) ? (twig_get_attribute($this->env, $this->source, $context["table_data"], "columns", [], "any", false, false, false, 235)) : ([]))); foreach ($context['_seq'] as $context["column"] => $context["column_name"]) { // line 236 echo " <tr> <th>"; echo _pgettext("Alias", "Column"); // line 237 echo "</th> <td>"; // line 238 echo twig_escape_filter($this->env, $context["db"], "html", null, true); echo "."; echo twig_escape_filter($this->env, $context["table"], "html", null, true); echo "."; echo twig_escape_filter($this->env, $context["column"], "html", null, true); echo "</td> <td> <input name=\"aliases["; // line 240 echo twig_escape_filter($this->env, $context["db"], "html", null, true); echo "][tables]["; echo twig_escape_filter($this->env, $context["table"], "html", null, true); echo "][colums]["; echo twig_escape_filter($this->env, $context["column"], "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, $context["column_name"], "html", null, true); echo "\" type=\"text\"> </td> <td> <button class=\"alias_remove btn btn-secondary\">"; echo _gettext("Remove"); // line 243 echo "</button> </td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['column'], $context['column_name'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 247 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['table'], $context['table_data'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 248 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['db'], $context['db_data'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 249 echo " </tbody> "; // line 252 echo " <tfoot class=\"hide\"> <tr> <th></th> <td></td> <td> <input name=\"aliases_new\" value=\"\" type=\"text\"> </td> <td> <button class=\"alias_remove btn btn-secondary\">"; echo _gettext("Remove"); // line 260 echo "</button> </td> </tr> </tfoot> </table> <table class=\"table align-middle\"> <thead> <tr> <th colspan=\"4\">"; echo _gettext("Define new aliases"); // line 269 echo "</th> </tr> </thead> <tr> <td> <label>"; echo _gettext("Select database:"); // line 274 echo "</label> </td> <td> <select id=\"db_alias_select\"> <option value=\"\"></option> </select> </td> <td> <input id=\"db_alias_name\" placeholder=\""; echo _gettext("New database name"); // line 282 echo "\" disabled=\"1\"> </td> <td> <button id=\"db_alias_button\" class=\"btn btn-secondary\" disabled=\"1\">"; echo _gettext("Add"); // line 285 echo "</button> </td> </tr> <tr> <td> <label>"; echo _gettext("Select table:"); // line 290 echo "</label> </td> <td> <select id=\"table_alias_select\"> <option value=\"\"></option> </select> </td> <td> <input id=\"table_alias_name\" placeholder=\""; echo _gettext("New table name"); // line 298 echo "\" disabled=\"1\"> </td> <td> <button id=\"table_alias_button\" class=\"btn btn-secondary\" disabled=\"1\">"; echo _gettext("Add"); // line 301 echo "</button> </td> </tr> <tr> <td> <label>"; echo _gettext("Select column:"); // line 306 echo "</label> </td> <td> <select id=\"column_alias_select\"> <option value=\"\"></option> </select> </td> <td> <input id=\"column_alias_name\" placeholder=\""; echo _gettext("New column name"); // line 314 echo "\" disabled=\"1\"> </td> <td> <button id=\"column_alias_button\" class=\"btn btn-secondary\" disabled=\"1\">"; echo _gettext("Add"); // line 317 echo "</button> </td> </tr> </table> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"saveAndCloseBtn\" data-bs-dismiss=\"modal\"> "; echo _gettext("Save & close"); // line 325 echo " </button> </div> </div> </div> </div> <div class=\"card mb-3\" id=\"output\"> <div class=\"card-header\">"; echo _gettext("Output:"); // line 332 echo "</div> <ul class=\"list-group list-group-flush\"> <li class=\"list-group-item\"> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" id=\"btn_alias_config\""; // line 336 echo ((($context["has_aliases"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"btn_alias_config\">"; echo _gettext("Rename exported databases/tables/columns"); // line 337 echo "</label> </div> </li> "; // line 341 if ((($context["export_type"] ?? null) != "server")) { // line 342 echo " <li class=\"list-group-item\"> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"lock_tables\" value=\"something\" id=\"checkbox_lock_tables\""; // line 345 echo (((( !($context["repopulate"] ?? null) && ($context["is_checked_lock_tables"] ?? null)) || ($context["lock_tables"] ?? null))) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"checkbox_lock_tables\"> "; // line 347 echo twig_sprintf(_gettext("Use %s statement"), "<code>LOCK TABLES</code>"); echo " </label> </div> </li> "; } // line 352 echo " <li class=\"list-group-item\"> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" id=\"radio_view_as_text\" name=\"output_format\" value=\"astext\""; // line 355 echo (((($context["repopulate"] ?? null) || (($context["export_asfile"] ?? null) == false))) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"radio_view_as_text\">"; echo _gettext("View output as text"); // line 356 echo "</label> </div> <div class=\"form-check mb-2\"> <input class=\"form-check-input\" type=\"radio\" name=\"output_format\" value=\"sendit\" id=\"radio_dump_asfile\""; // line 359 echo ((( !($context["repopulate"] ?? null) && ($context["is_checked_asfile"] ?? null))) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"radio_dump_asfile\">"; echo _gettext("Save output to a file"); // line 360 echo "</label> </div> <div class=\"hstack gap-3\"> <div class=\"vr\"></div> <ul class=\"list-group\" id=\"ul_save_asfile\"> "; // line 365 if (($context["has_save_dir"] ?? null)) { // line 366 echo " <li class=\"list-group-item\"> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"onserver\" value=\"saveit\" id=\"checkbox_dump_onserver\""; // line 368 echo ((($context["is_checked_export"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"checkbox_dump_onserver\"> "; // line 370 echo twig_sprintf(_gettext("Save on server in the directory <strong>%s</strong>"), twig_escape_filter($this->env, ($context["save_dir"] ?? null))); echo " </label> </div> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"onserver_overwrite\" value=\"saveitover\" id=\"checkbox_dump_onserver_overwrite\""; // line 375 echo ((($context["is_checked_export_overwrite"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"checkbox_dump_onserver_overwrite\"> "; echo _gettext("Overwrite existing file(s)"); // line 378 echo " </label> </div> </li> "; } // line 382 echo " <li class=\"list-group-item\"> <div class=\"row g-3 align-items-center\"> <div class=\"col-auto\"> <label for=\"filename_template\" class=\"col-form-label\"> "; echo _gettext("File name template:"); // line 388 echo " "; echo PhpMyAdmin\Html\Generator::showHint(twig_sprintf(_gettext("This value is interpreted using the 'strftime' function, so you can use time formatting strings. Additionally the following transformations will happen: %s Other text will be kept as is. See the FAQ 6.27 for details."), ($context["filename_hint"] ?? null))); echo " </label> </div> <div class=\"col-auto\"> <input type=\"text\" class=\"form-control\" name=\"filename_template\" id=\"filename_template\" value=\""; // line 392 echo twig_escape_filter($this->env, ($context["filename_template"] ?? null), "html", null, true); echo "\"> </div> <div class=\"col-auto\"> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"remember_template\" id=\"checkbox_remember_template\""; // line 396 echo ((($context["is_checked_remember_file_template"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"checkbox_remember_template\"> "; echo _gettext("Use this for future exports"); // line 399 echo " </label> </div> </div> </div> </li> "; // line 405 if (($context["is_encoding_supported"] ?? null)) { // line 406 echo " <li class=\"list-group-item\"> <div class=\"row\"> <div class=\"col-auto\"> <label for=\"select_charset\" class=\"col-form-label\">"; echo _gettext("Character set of the file:"); // line 409 echo "</label> </div> <div class=\"col-auto\"> <select class=\"form-select\" id=\"select_charset\" name=\"charset\"> "; // line 413 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["encodings"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 414 echo " <option value=\""; echo twig_escape_filter($this->env, $context["charset"], "html", null, true); echo "\""; // line 415 echo ((((twig_test_empty(($context["export_charset"] ?? null)) && ($context["charset"] == "utf-8")) || ($context["charset"] == ($context["export_charset"] ?? null)))) ? (" selected") : ("")); echo ">"; // line 416 echo twig_escape_filter($this->env, $context["charset"], "html", null, true); // line 417 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 419 echo " </select> </div> </div> </li> "; } // line 424 echo " "; // line 425 if ((($context["has_zip"] ?? null) || ($context["has_gzip"] ?? null))) { // line 426 echo " <li class=\"list-group-item\"> <div class=\"row\"> <div class=\"col-auto\"> <label for=\"compression\" class=\"col-form-label\">"; echo _gettext("Compression:"); // line 429 echo "</label> </div> <div class=\"col-auto\"> <select class=\"form-select\" id=\"compression\" name=\"compression\"> <option value=\"none\">"; echo _gettext("None"); // line 433 echo "</option> "; // line 434 if (($context["has_zip"] ?? null)) { // line 435 echo " <option value=\"zip\""; // line 436 echo (((($context["selected_compression"] ?? null) == "zip")) ? (" selected") : ("")); echo "> "; echo _gettext("zipped"); // line 438 echo " </option> "; } // line 440 echo " "; if (($context["has_gzip"] ?? null)) { // line 441 echo " <option value=\"gzip\""; // line 442 echo (((($context["selected_compression"] ?? null) == "gzip")) ? (" selected") : ("")); echo "> "; echo _gettext("gzipped"); // line 444 echo " </option> "; } // line 446 echo " </select> </div> </div> </li> "; } else { // line 451 echo " <input type=\"hidden\" name=\"compression\" value=\""; echo twig_escape_filter($this->env, ($context["selected_compression"] ?? null), "html", null, true); echo "\"> "; } // line 453 echo " "; // line 454 if (((($context["export_type"] ?? null) == "server") || (($context["export_type"] ?? null) == "database"))) { // line 455 echo " <li class=\"list-group-item\"> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" id=\"checkbox_as_separate_files\" name=\"as_separate_files\" value=\""; // line 457 echo twig_escape_filter($this->env, ($context["export_type"] ?? null), "html", null, true); echo "\""; // line 458 echo ((($context["is_checked_as_separate_files"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"checkbox_as_separate_files\"> "; // line 460 if ((($context["export_type"] ?? null) == "server")) { // line 461 echo " "; echo _gettext("Export databases as separate files"); // line 462 echo " "; } elseif ((($context["export_type"] ?? null) == "database")) { // line 463 echo " "; echo _gettext("Export tables as separate files"); // line 464 echo " "; } // line 465 echo " </label> </div> </li> "; } // line 469 echo " </ul> </div> </li> <li class=\"list-group-item\"> <label for=\"maxsize\" class=\"form-label\">"; echo _gettext("Skip tables larger than:"); // line 474 echo "</label> <input class=\"form-control\" type=\"number\" id=\"maxsize\" name=\"maxsize\" aria-describedby=\"maxsizeHelp\"> <div id=\"maxsizeHelp\" class=\"form-text\">"; echo _gettext("The size is measured in MiB."); // line 476 echo "</div> </li> </ul> </div> <div class=\"card mb-3\" id=\"format_specific_opts\"> <div class=\"card-header\">"; echo _gettext("Format-specific options:"); // line 482 echo "</div> <div class=\"card-body\"> "; // line 484 echo ($context["options"] ?? null); echo " </div> </div> "; // line 488 if (($context["can_convert_kanji"] ?? null)) { // line 489 echo " "; // line 490 echo " <div class=\"card mb-3\" id=\"kanji_encoding\"> <div class=\"card-header\">"; echo _gettext("Encoding Conversion:"); // line 491 echo "</div> <div class=\"card-body\"> "; // line 493 $this->loadTemplate("encoding/kanji_encoding_form.twig", "export.twig", 493)->display($context); // line 494 echo " </div> </div> "; } // line 497 echo " <div id=\"submit\"> <input id=\"buttonGo\" class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Export"); // line 499 echo "\" data-exec-time-limit=\""; echo twig_escape_filter($this->env, ($context["exec_time_limit"] ?? null), "html", null, true); echo "\"> </div> </form> </div> "; } // line 4 public function block_title($context, array $blocks = []) { $macros = $this->macros; } // line 10 public function block_message($context, array $blocks = []) { $macros = $this->macros; } // line 133 public function block_selection_options($context, array $blocks = []) { $macros = $this->macros; } public function getTemplateName() { return "export.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 1074 => 133, 1068 => 10, 1062 => 4, 1052 => 499, 1047 => 497, 1042 => 494, 1040 => 493, 1036 => 491, 1032 => 490, 1030 => 489, 1028 => 488, 1021 => 484, 1017 => 482, 1008 => 476, 1003 => 474, 995 => 469, 989 => 465, 986 => 464, 983 => 463, 980 => 462, 977 => 461, 975 => 460, 970 => 458, 967 => 457, 963 => 455, 961 => 454, 958 => 453, 952 => 451, 945 => 446, 941 => 444, 936 => 442, 934 => 441, 931 => 440, 927 => 438, 922 => 436, 920 => 435, 918 => 434, 915 => 433, 908 => 429, 902 => 426, 900 => 425, 897 => 424, 890 => 419, 883 => 417, 881 => 416, 878 => 415, 874 => 414, 870 => 413, 864 => 409, 858 => 406, 856 => 405, 848 => 399, 842 => 396, 835 => 392, 827 => 388, 819 => 382, 813 => 378, 807 => 375, 800 => 370, 795 => 368, 791 => 366, 789 => 365, 782 => 360, 777 => 359, 772 => 356, 767 => 355, 762 => 352, 754 => 347, 749 => 345, 745 => 342, 743 => 341, 737 => 337, 732 => 336, 726 => 332, 716 => 325, 706 => 317, 700 => 314, 689 => 306, 681 => 301, 675 => 298, 664 => 290, 656 => 285, 650 => 282, 639 => 274, 631 => 269, 619 => 260, 608 => 252, 604 => 249, 598 => 248, 592 => 247, 583 => 243, 570 => 240, 561 => 238, 558 => 237, 554 => 236, 550 => 235, 547 => 234, 541 => 230, 530 => 227, 523 => 225, 520 => 224, 516 => 223, 513 => 222, 509 => 221, 506 => 220, 500 => 216, 491 => 213, 486 => 211, 483 => 210, 479 => 209, 476 => 208, 472 => 207, 465 => 202, 455 => 194, 451 => 193, 443 => 188, 436 => 183, 430 => 180, 423 => 175, 418 => 173, 413 => 170, 409 => 169, 407 => 168, 404 => 167, 395 => 161, 392 => 160, 386 => 157, 383 => 156, 380 => 154, 378 => 153, 376 => 152, 374 => 151, 371 => 149, 364 => 145, 359 => 144, 354 => 141, 349 => 140, 344 => 137, 340 => 136, 338 => 135, 335 => 134, 333 => 133, 328 => 130, 317 => 128, 313 => 127, 309 => 125, 296 => 123, 292 => 122, 289 => 121, 284 => 119, 279 => 117, 272 => 112, 267 => 111, 262 => 108, 257 => 107, 252 => 104, 248 => 103, 246 => 102, 241 => 100, 237 => 99, 234 => 98, 226 => 92, 217 => 87, 210 => 82, 206 => 81, 192 => 72, 187 => 68, 184 => 67, 180 => 64, 178 => 63, 175 => 62, 162 => 54, 154 => 51, 149 => 48, 140 => 45, 133 => 44, 129 => 43, 126 => 42, 119 => 38, 113 => 35, 102 => 27, 96 => 24, 90 => 21, 84 => 18, 78 => 16, 74 => 14, 70 => 13, 68 => 12, 65 => 11, 63 => 10, 58 => 8, 54 => 7, 50 => 5, 48 => 4, 44 => 3, 40 => 1,); } public function getSourceContext() { return new Source("", "export.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/export.twig"); } } twig/6b/6b0c2f277a919c23e5ecc3a913ff077a.php 0000644 00000011346 15114741573 0013212 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/page_with_secondary_tabs.twig */ class __TwigTemplate_912e42c86ba46725cad62b5f60333ef0 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 if (( !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "relationFeature", [], "any", false, false, false, 1)) || ($context["is_foreign_key_supported"] ?? null))) { // line 2 echo " <ul class=\"nav nav-pills m-2 d-print-none\"> <li class=\"nav-item\"> <a href=\""; // line 4 echo PhpMyAdmin\Url::getFromRoute("/table/structure", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); echo "\" id=\"table_structure_id\" class=\"nav-link"; echo (((($context["route"] ?? null) == "/table/structure")) ? (" active") : ("")); echo "\"> "; // line 5 echo PhpMyAdmin\Html\Generator::getIcon("b_props", _gettext("Table structure"), true); echo " </a> </li> <li class=\"nav-item\"> <a href=\""; // line 10 echo PhpMyAdmin\Url::getFromRoute("/table/relation", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); echo "\" id=\"table_relation_id\" class=\"nav-link"; echo (((($context["route"] ?? null) == "/table/relation")) ? (" active") : ("")); echo "\"> "; // line 11 echo PhpMyAdmin\Html\Generator::getIcon("b_relations", _gettext("Relation view"), true); echo " </a> </li> </ul> "; } // line 16 echo " "; // line 17 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->env->getRuntime('PhpMyAdmin\FlashMessages')->getMessages()); foreach ($context['_seq'] as $context["flash_key"] => $context["flash_messages"]) { // line 18 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($context["flash_messages"]); foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) { // line 19 echo " <div class=\"alert alert-"; echo twig_escape_filter($this->env, $context["flash_key"], "html", null, true); echo "\" role=\"alert\"> "; // line 20 echo twig_escape_filter($this->env, $context["flash_message"], "html", null, true); echo " </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash_message'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['flash_key'], $context['flash_messages'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 24 echo " <div id=\"structure_content\"> "; // line 26 $this->displayBlock('content', $context, $blocks); // line 27 echo "</div> "; } // line 26 public function block_content($context, array $blocks = []) { $macros = $this->macros; } public function getTemplateName() { return "table/page_with_secondary_tabs.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 113 => 26, 108 => 27, 106 => 26, 102 => 24, 89 => 20, 84 => 19, 79 => 18, 75 => 17, 72 => 16, 64 => 11, 58 => 10, 50 => 5, 44 => 4, 40 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "table/page_with_secondary_tabs.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/page_with_secondary_tabs.twig"); } } twig/f3/f3ca4a18f0d49dbaf6c8a3e5d1acdf8c.php 0000644 00000014604 15114741573 0013647 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* preferences/header.twig */ class __TwigTemplate_08dd611755a6fd1d6e8202aa45193a99 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 echo "<div class=\"container-fluid\"> <div class=\"row\"> <ul id=\"user_prefs_tabs\" class=\"nav nav-pills m-2\"> <li class=\"nav-item\"> <a href=\""; // line 5 echo PhpMyAdmin\Url::getFromRoute("/preferences/manage"); echo "\" class=\"nav-link"; echo (((($context["route"] ?? null) == "/preferences/manage")) ? (" active") : ("")); echo "\"> "; echo _gettext("Manage your settings"); // line 7 echo " </a> </li> <li class=\"nav-item\"> <a href=\""; // line 11 echo PhpMyAdmin\Url::getFromRoute("/preferences/two-factor"); echo "\" class=\"nav-link"; echo (((($context["route"] ?? null) == "/preferences/two-factor")) ? (" active") : ("")); echo "\"> "; echo _gettext("Two-factor authentication"); // line 13 echo " </a> </li> <li class=\"nav-item\"> <a href=\""; // line 17 echo PhpMyAdmin\Url::getFromRoute("/preferences/features"); echo "\" class=\"nav-link"; echo (((($context["route"] ?? null) == "/preferences/features")) ? (" active") : ("")); echo "\"> "; // line 18 echo PhpMyAdmin\Html\Generator::getIcon("b_tblops", _gettext("Features"), false, false, "TabsMode"); echo " </a> </li> <li class=\"nav-item\"> <a href=\""; // line 23 echo PhpMyAdmin\Url::getFromRoute("/preferences/sql"); echo "\" class=\"nav-link"; echo (((($context["route"] ?? null) == "/preferences/sql")) ? (" active") : ("")); echo "\"> "; // line 24 echo PhpMyAdmin\Html\Generator::getIcon("b_sql", _gettext("SQL queries"), false, false, "TabsMode"); echo " </a> </li> <li class=\"nav-item\"> <a href=\""; // line 29 echo PhpMyAdmin\Url::getFromRoute("/preferences/navigation"); echo "\" class=\"nav-link"; echo (((($context["route"] ?? null) == "/preferences/navigation")) ? (" active") : ("")); echo "\"> "; // line 30 echo PhpMyAdmin\Html\Generator::getIcon("b_select", _gettext("Navigation panel"), false, false, "TabsMode"); echo " </a> </li> <li class=\"nav-item\"> <a href=\""; // line 35 echo PhpMyAdmin\Url::getFromRoute("/preferences/main-panel"); echo "\" class=\"nav-link"; echo (((($context["route"] ?? null) == "/preferences/main-panel")) ? (" active") : ("")); echo "\"> "; // line 36 echo PhpMyAdmin\Html\Generator::getIcon("b_props", _gettext("Main panel"), false, false, "TabsMode"); echo " </a> </li> <li class=\"nav-item\"> <a href=\""; // line 41 echo PhpMyAdmin\Url::getFromRoute("/preferences/export"); echo "\" class=\"nav-link"; echo (((($context["route"] ?? null) == "/preferences/export")) ? (" active") : ("")); echo "\"> "; // line 42 echo PhpMyAdmin\Html\Generator::getIcon("b_export", _gettext("Export"), false, false, "TabsMode"); echo " </a> </li> <li class=\"nav-item\"> <a href=\""; // line 47 echo PhpMyAdmin\Url::getFromRoute("/preferences/import"); echo "\" class=\"nav-link"; echo (((($context["route"] ?? null) == "/preferences/import")) ? (" active") : ("")); echo "\"> "; // line 48 echo PhpMyAdmin\Html\Generator::getIcon("b_import", _gettext("Import"), false, false, "TabsMode"); echo " </a> </li> </ul> </div> "; // line 54 if (($context["is_saved"] ?? null)) { // line 55 echo " "; echo $this->env->getFilter('raw_success')->getCallable()(_gettext("Configuration has been saved.")); echo " "; } // line 57 echo " "; // line 58 if ( !($context["has_config_storage"] ?? null)) { // line 59 echo " "; ob_start(function () { return ''; }); // line 60 echo " "; echo _gettext("Your preferences will be saved for current session only. Storing them permanently requires %sphpMyAdmin configuration storage%s."); // line 61 echo " "; $___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 59 echo $this->env->getFilter('notice')->getCallable()(twig_sprintf($___internal_parse_0_, (("<a href=\"" . PhpMyAdmin\Html\MySQLDocumentation::getDocumentationLink("setup", "linked-tables")) . "\" target=\"_blank\" rel=\"noopener noreferrer\">"), "</a>")); // line 62 echo " "; } } public function getTemplateName() { return "preferences/header.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 178 => 62, 176 => 59, 173 => 61, 170 => 60, 167 => 59, 165 => 58, 162 => 57, 156 => 55, 154 => 54, 145 => 48, 139 => 47, 131 => 42, 125 => 41, 117 => 36, 111 => 35, 103 => 30, 97 => 29, 89 => 24, 83 => 23, 75 => 18, 69 => 17, 63 => 13, 56 => 11, 50 => 7, 43 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "preferences/header.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/preferences/header.twig"); } } twig/05/0595e31bd0406c5a4f25d64b15faf4fb.php 0000644 00000024330 15114741573 0013111 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* preferences/manage/main.twig */ class __TwigTemplate_569d64ce3a5cd7726dcc2fa327f7659c 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 echo ($context["error"] ?? null); echo " <script type=\"text/javascript\"> "; // line 3 echo PhpMyAdmin\Sanitize::getJsValue("Messages.strSavedOn", _gettext("Saved on: @DATE@")); echo " </script> <div class=\"row\"> <div id=\"maincontainer\" class=\"container-fluid\"> <div class=\"row\"> <div class=\"col-12 col-md-7\"> <div class=\"card mt-4\"> <div class=\"card-header\"> "; echo _gettext("Import"); // line 12 echo " </div> <div class=\"card-body\"> <form class=\"prefs-form disableAjax\" name=\"prefs_import\" action=\""; // line 14 echo PhpMyAdmin\Url::getFromRoute("/preferences/manage"); echo "\" method=\"post\" enctype=\"multipart/form-data\"> "; // line 16 echo PhpMyAdmin\Url::getHiddenInputs(); echo " <input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\""; // line 17 echo twig_escape_filter($this->env, ($context["max_upload_size"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" name=\"json\" value=\"\"> <input type=\"radio\" id=\"import_text_file\" name=\"import_type\" value=\"text_file\" checked=\"checked\"> <label for=\"import_text_file\"> "; echo _gettext("Import from file"); // line 20 echo " </label> <div id=\"opts_import_text_file\" class=\"prefsmanage_opts\"> <label for=\"input_import_file\"> "; echo _gettext("Browse your computer:"); // line 22 echo " </label> <input type=\"file\" name=\"import_file\" id=\"input_import_file\"> </div> <input type=\"radio\" id=\"import_local_storage\" name=\"import_type\" value=\"local_storage\" disabled=\"disabled\"> <label for=\"import_local_storage\"> "; echo _gettext("Import from browser's storage"); // line 27 echo " </label> <div id=\"opts_import_local_storage\" class=\"prefsmanage_opts disabled\"> <div class=\"localStorage-supported\"> "; echo _gettext("Settings will be imported from your browser's local storage."); // line 31 echo " <br> <div class=\"localStorage-exists\"> "; echo _gettext("Saved on: @DATE@"); // line 34 echo " </div> <div class=\"localStorage-empty\"> "; // line 36 echo $this->env->getFilter('notice')->getCallable()(_gettext("You have no saved settings!")); echo " </div> </div> <div class=\"localStorage-unsupported\"> "; // line 40 echo $this->env->getFilter('notice')->getCallable()(_gettext("This feature is not supported by your web browser")); echo " </div> </div> <input type=\"checkbox\" id=\"import_merge\" name=\"import_merge\"> <label for=\"import_merge\"> "; echo _gettext("Merge with current configuration"); // line 44 echo " </label> <br><br> <input class=\"btn btn-primary\" type=\"submit\" name=\"submit_import\" value=\""; // line 46 echo twig_escape_filter($this->env, _gettext("Go"), "html", null, true); echo "\"> </form> </div> </div> "; // line 50 if (($context["exists_setup_and_not_exists_config"] ?? null)) { // line 51 echo " "; // line 52 echo " "; // line 53 echo " "; // line 54 echo " <div class=\"card mt-4\"> <div class=\"card-header\"> "; echo _gettext("More settings"); // line 57 echo " </div> <div class=\"card-body\"> "; // line 59 echo twig_sprintf(_gettext("You can set more settings by modifying config.inc.php, eg. by using %sSetup script%s."), "<a href=\"setup/index.php\" target=\"_blank\">", "</a>"); echo " "; // line 60 echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("setup", "setup-script"); echo " </div> </div> "; } // line 64 echo " </div> <div class=\"col-12 col-md-5\"> <div class=\"card mt-4\"> <div class=\"card-header\"> "; echo _gettext("Export"); // line 69 echo " </div> <div class=\"card-body\"> <div class=\"click-hide-message hide\"> "; // line 72 echo $this->env->getFilter('raw_success')->getCallable()(_gettext("Configuration has been saved.")); echo " </div> <form class=\"prefs-form disableAjax\" name=\"prefs_export\" action=\""; // line 75 echo PhpMyAdmin\Url::getFromRoute("/preferences/manage"); echo "\" method=\"post\"> "; // line 76 echo PhpMyAdmin\Url::getHiddenInputs(); echo " <div> <input type=\"radio\" id=\"export_text_file\" name=\"export_type\" value=\"text_file\" checked=\"checked\"> <label for=\"export_text_file\"> "; echo _gettext("Save as JSON file"); // line 82 echo " </label><br> <input type=\"radio\" id=\"export_php_file\" name=\"export_type\" value=\"php_file\"> <label for=\"export_php_file\"> "; echo _gettext("Save as PHP file"); // line 86 echo " </label><br> <input type=\"radio\" id=\"export_local_storage\" name=\"export_type\" value=\"local_storage\" disabled=\"disabled\"> <label for=\"export_local_storage\"> "; echo _gettext("Save to browser's storage"); // line 91 echo " </label> </div> <div id=\"opts_export_local_storage\" class=\"prefsmanage_opts disabled\"> <span class=\"localStorage-supported\"> "; echo _gettext("Settings will be saved in your browser's local storage."); // line 97 echo " <div class=\"localStorage-exists\"> <b> "; echo _gettext("Existing settings will be overwritten!"); // line 100 echo " </b> </div> </span> <div class=\"localStorage-unsupported\"> "; // line 104 echo $this->env->getFilter('notice')->getCallable()(_gettext("This feature is not supported by your web browser")); echo " </div> </div> <br> <input class=\"btn btn-primary\" type=\"submit\" name=\"submit_export\" value=\""; echo _gettext("Go"); // line 108 echo "\"> </form> </div> </div> <div class=\"card mt-4\"> <div class=\"card-header\"> "; echo _gettext("Reset"); // line 115 echo " </div> <div class=\"card-body\"> <form class=\"prefs-form disableAjax\" name=\"prefs_reset\" action=\""; // line 118 echo PhpMyAdmin\Url::getFromRoute("/preferences/manage"); echo "\" method=\"post\"> "; // line 119 echo PhpMyAdmin\Url::getHiddenInputs(); echo " "; echo _gettext("You can reset all your settings and restore them to default values."); // line 121 echo " <br><br> <input class=\"btn btn-secondary\" type=\"submit\" name=\"submit_clear\" value=\""; echo _gettext("Reset"); // line 122 echo "\"> </form> </div> </div> </div> </div> <br class=\"clearfloat\"> </div> </div> </div> "; } public function getTemplateName() { return "preferences/manage/main.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 254 => 122, 250 => 121, 245 => 119, 241 => 118, 236 => 115, 227 => 108, 219 => 104, 213 => 100, 208 => 97, 200 => 91, 193 => 86, 187 => 82, 178 => 76, 174 => 75, 168 => 72, 163 => 69, 156 => 64, 149 => 60, 145 => 59, 141 => 57, 136 => 54, 134 => 53, 132 => 52, 130 => 51, 128 => 50, 121 => 46, 117 => 44, 109 => 40, 102 => 36, 98 => 34, 93 => 31, 87 => 27, 79 => 22, 74 => 20, 67 => 17, 63 => 16, 58 => 14, 54 => 12, 42 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "preferences/manage/main.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/preferences/manage/main.twig"); } } twig/d6/d6e7d47df96259be2a26a67da4670136.php 0000644 00000006421 15114741573 0013070 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* console/toolbar.twig */ class __TwigTemplate_1ed934812d1dece796265f2f3201d31f 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 echo "<div class=\"toolbar "; echo twig_escape_filter($this->env, ($context["parent_div_classes"] ?? null), "html", null, true); echo "\"> "; // line 2 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["content_array"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["content"]) { // line 3 echo " "; if ((array_key_exists("content", $context) && !(null === $context["content"]))) { // line 4 echo " <div class=\""; echo twig_escape_filter($this->env, (($__internal_compile_0 = $context["content"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true); echo "\"> "; // line 5 echo ((twig_get_attribute($this->env, $this->source, $context["content"], "image", [], "array", true, true, false, 5)) ? ((($__internal_compile_1 = $context["content"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["image"] ?? null) : null)) : ("")); echo " <span>"; // line 6 echo twig_escape_filter($this->env, (($__internal_compile_2 = $context["content"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[1] ?? null) : null), "html", null, true); echo "</span> </div> "; } // line 9 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 10 echo "</div> "; } public function getTemplateName() { return "console/toolbar.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 70 => 10, 64 => 9, 58 => 6, 54 => 5, 49 => 4, 46 => 3, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "console/toolbar.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/console/toolbar.twig"); } } twig/d6/d6c9729880a15b4209b769cd4835ca86.php 0000644 00000015307 15114741573 0012742 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* footer.twig */ class __TwigTemplate_ab75ab8f3702268087ef8ba45f6197fc 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 echo " </div> "; } // line 4 if (( !($context["is_ajax"] ?? null) && !($context["is_minimal"] ?? null))) { // line 5 echo " "; if ( !twig_test_empty(($context["self_url"] ?? null))) { // line 6 echo " <div id=\"selflink\" class=\"d-print-none\"> <a href=\""; // line 7 echo twig_escape_filter($this->env, ($context["self_url"] ?? null), "html", null, true); echo "\" title=\""; echo _gettext("Open new phpMyAdmin window"); echo "\" target=\"_blank\" rel=\"noopener noreferrer\"> "; // line 8 if (PhpMyAdmin\Util::showIcons("TabsMode")) { // line 9 echo " "; echo PhpMyAdmin\Html\Generator::getImage("window-new", _gettext("Open new phpMyAdmin window")); echo " "; } else { // line 11 echo " "; echo _gettext("Open new phpMyAdmin window"); // line 12 echo " "; } // line 13 echo " </a> </div> "; } // line 16 echo " <div class=\"clearfloat d-print-none\" id=\"pma_errors\"> "; // line 18 echo ($context["error_messages"] ?? null); echo " </div> "; // line 21 echo ($context["scripts"] ?? null); echo " "; // line 23 if (($context["is_demo"] ?? null)) { // line 24 echo " <div id=\"pma_demo\" class=\"d-print-none\"> "; // line 25 ob_start(function () { return ''; }); // line 26 echo " <a href=\""; echo PhpMyAdmin\Url::getFromRoute("/"); echo "\">"; echo _gettext("phpMyAdmin Demo Server"); echo ":</a> "; // line 27 if ( !twig_test_empty(($context["git_revision_info"] ?? null))) { // line 28 echo " "; ob_start(function () { return ''; }); // line 29 echo "<a target=\"_blank\" rel=\"noopener noreferrer\" href=\""; echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL(twig_get_attribute($this->env, $this->source, ($context["git_revision_info"] ?? null), "revisionUrl", [], "any", false, false, false, 29)), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["git_revision_info"] ?? null), "revision", [], "any", false, false, false, 29), "html", null, true); echo "</a>"; $context["revision_info"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 31 echo " "; ob_start(function () { return ''; }); // line 32 echo "<a target=\"_blank\" rel=\"noopener noreferrer\" href=\""; echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL(twig_get_attribute($this->env, $this->source, ($context["git_revision_info"] ?? null), "branchUrl", [], "any", false, false, false, 32)), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["git_revision_info"] ?? null), "branch", [], "any", false, false, false, 32), "html", null, true); echo "</a>"; $context["branch_info"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 34 echo " "; echo twig_sprintf(_gettext("Currently running Git revision %1\$s from the %2\$s branch."), ($context["revision_info"] ?? null), ($context["branch_info"] ?? null)); echo " "; } else { // line 36 echo " "; echo _gettext("Git information missing!"); // line 37 echo " "; } // line 38 echo " "; $___internal_parse_34_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 25 echo $this->env->getFilter('notice')->getCallable()($___internal_parse_34_); // line 39 echo " </div> "; } // line 41 echo " "; // line 42 echo ($context["footer"] ?? null); echo " "; } // line 44 if ( !($context["is_ajax"] ?? null)) { // line 45 echo " </body> </html> "; } } public function getTemplateName() { return "footer.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 158 => 45, 156 => 44, 151 => 42, 148 => 41, 144 => 39, 142 => 25, 139 => 38, 136 => 37, 133 => 36, 127 => 34, 120 => 32, 117 => 31, 110 => 29, 107 => 28, 105 => 27, 98 => 26, 96 => 25, 93 => 24, 91 => 23, 86 => 21, 80 => 18, 76 => 16, 71 => 13, 68 => 12, 65 => 11, 59 => 9, 57 => 8, 51 => 7, 48 => 6, 45 => 5, 43 => 4, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "footer.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/footer.twig"); } } twig/d6/d6d437a6121cc55a20186412888bfd61.php 0000644 00000020426 15114741573 0012706 0 ustar 00 <?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_eee531d89f3b537fa475e1bd7dbaa76a 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/list_navigator.twig"); } } twig/d6/d64dfd2e3e8b7a9e71de032a028f9c33.php 0000644 00000004425 15114741573 0013300 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* navigation/tree/path.twig */ class __TwigTemplate_b7047152d0d6ebae285edf248eba5dc6 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 echo "<div class='list_container hide'> <ul"; // line 2 echo ((($context["has_search_results"] ?? null)) ? (" class=\"search_results\"") : ("")); echo "> "; // line 3 echo ($context["list_content"] ?? null); echo " </ul> "; // line 6 if ( !($context["is_tree"] ?? null)) { // line 7 echo " <span class='hide loaded_db'>"; echo twig_escape_filter($this->env, twig_urlencode_filter(($context["parent_name"] ?? null)), "html", null, true); echo "</span> "; // line 8 if (twig_test_empty(($context["list_content"] ?? null))) { // line 9 echo " <div>"; echo _gettext("No tables found in database."); echo "</div> "; } // line 11 echo " "; } // line 12 echo "</div> "; } public function getTemplateName() { return "navigation/tree/path.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 68 => 12, 65 => 11, 59 => 9, 57 => 8, 52 => 7, 50 => 6, 44 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "navigation/tree/path.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/path.twig"); } } twig/93/93f6c07e17baf0c7a6a9eb501245cf0a.php 0000644 00000057765 15114741573 0013222 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/structure_table_row.twig */ class __TwigTemplate_72f65346d448bd2e28385c77bcc5e9b7 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 echo "<tr id=\"row_tbl_"; echo twig_escape_filter($this->env, ($context["curr"] ?? null), "html", null, true); echo "\""; echo ((($context["table_is_view"] ?? null)) ? (" class=\"is_view\"") : ("")); echo " data-filter-row=\""; echo twig_escape_filter($this->env, twig_upper_filter($this->env, (($__internal_compile_0 = ($context["current_table"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["TABLE_NAME"] ?? null) : null)), "html", null, true); echo "\"> <td class=\"text-center d-print-none\"> <input type=\"checkbox\" name=\"selected_tbl[]\" class=\""; // line 5 echo twig_escape_filter($this->env, ($context["input_class"] ?? null), "html", null, true); echo "\" value=\""; // line 6 echo twig_escape_filter($this->env, (($__internal_compile_1 = ($context["current_table"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["TABLE_NAME"] ?? null) : null), "html", null, true); echo "\" id=\"checkbox_tbl_"; // line 7 echo twig_escape_filter($this->env, ($context["curr"] ?? null), "html", null, true); echo "\"> </td> <th> <a href=\""; // line 10 echo PhpMyAdmin\Url::getFromRoute("/sql", twig_array_merge(($context["table_url_params"] ?? null), ["pos" => 0])); echo "\" title=\""; echo twig_escape_filter($this->env, ($context["browse_table_label_title"] ?? null), "html", null, true); echo "\">"; // line 11 echo twig_escape_filter($this->env, ($context["browse_table_label_truename"] ?? null), "html", null, true); // line 12 echo "</a> "; // line 13 echo ($context["tracking_icon"] ?? null); echo " </th> "; // line 15 if (($context["server_replica_status"] ?? null)) { // line 16 echo " <td class=\"text-center\"> "; // line 17 echo ((($context["ignored"] ?? null)) ? (PhpMyAdmin\Html\Generator::getImage("s_cancel", _gettext("Not replicated"))) : ("")); echo " "; // line 18 echo ((($context["do"] ?? null)) ? (PhpMyAdmin\Html\Generator::getImage("s_success", _gettext("Replicated"))) : ("")); echo " </td> "; } // line 21 echo " "; // line 23 echo " "; if ((($context["num_favorite_tables"] ?? null) > 0)) { // line 24 echo " <td class=\"text-center d-print-none\"> "; // line 26 echo " "; $context["fav_params"] = ["db" => // line 27 ($context["db"] ?? null), "ajax_request" => true, "favorite_table" => (($__internal_compile_2 = // line 29 ($context["current_table"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["TABLE_NAME"] ?? null) : null), ((( // line 30 ($context["already_favorite"] ?? null)) ? ("remove") : ("add")) . "_favorite") => true]; // line 32 echo " "; $this->loadTemplate("database/structure/favorite_anchor.twig", "database/structure/structure_table_row.twig", 32)->display(twig_to_array(["table_name_hash" => // line 33 ($context["table_name_hash"] ?? null), "db_table_name_hash" => // line 34 ($context["db_table_name_hash"] ?? null), "fav_params" => // line 35 ($context["fav_params"] ?? null), "already_favorite" => // line 36 ($context["already_favorite"] ?? null)])); // line 38 echo " </td> "; } // line 40 echo " <td class=\"text-center d-print-none\"> <a href=\""; // line 42 echo PhpMyAdmin\Url::getFromRoute("/sql", twig_array_merge(($context["table_url_params"] ?? null), ["pos" => 0])); echo "\"> "; // line 43 echo ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_browse", _gettext("Browse")))); echo " </a> </td> <td class=\"text-center d-print-none\"> <a href=\""; // line 47 echo PhpMyAdmin\Url::getFromRoute("/table/structure", ($context["table_url_params"] ?? null)); echo "\"> "; // line 48 echo PhpMyAdmin\Html\Generator::getIcon("b_props", _gettext("Structure")); echo " </a> </td> <td class=\"text-center d-print-none\"> <a href=\""; // line 52 echo PhpMyAdmin\Url::getFromRoute("/table/search", ($context["table_url_params"] ?? null)); echo "\"> "; // line 53 echo ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_select", _gettext("Search"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_select", _gettext("Search")))); echo " </a> </td> "; // line 57 if ( !($context["db_is_system_schema"] ?? null)) { // line 58 echo " <td class=\"insert_table text-center d-print-none\"> <a href=\""; // line 59 echo PhpMyAdmin\Url::getFromRoute("/table/change", ($context["table_url_params"] ?? null)); echo "\">"; echo PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Insert")); echo "</a> </td> "; // line 61 if (($context["table_is_view"] ?? null)) { // line 62 echo " <td class=\"text-center d-print-none\"> <a href=\""; // line 63 echo PhpMyAdmin\Url::getFromRoute("/view/create", ["db" => // line 64 ($context["db"] ?? null), "table" => (($__internal_compile_3 = // line 65 ($context["current_table"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["TABLE_NAME"] ?? null) : null)]); // line 66 echo "\">"; echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit")); echo "</a> </td> "; } else { // line 69 echo " <td class=\"text-center d-print-none\"> <a class=\"truncate_table_anchor ajax\" href=\""; // line 70 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["table_url_params"] ?? null), ["sql_query" => // line 71 ($context["empty_table_sql_query"] ?? null), "message_to_show" => // line 72 ($context["empty_table_message_to_show"] ?? null)]), ""); // line 73 echo "\"> "; // line 74 echo ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_empty", _gettext("Empty"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_empty", _gettext("Empty")))); echo " </a> </td> "; } // line 78 echo " <td class=\"text-center d-print-none\"> <a class=\"ajax drop_table_anchor"; // line 80 echo (((($context["table_is_view"] ?? null) || ((($__internal_compile_4 = ($context["current_table"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["ENGINE"] ?? null) : null) == null))) ? (" view") : ("")); echo "\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" data-post=\""; // line 81 echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["table_url_params"] ?? null), ["reload" => 1, "purge" => 1, "sql_query" => // line 84 ($context["drop_query"] ?? null), "message_to_show" => // line 85 ($context["drop_message"] ?? null)]), ""); // line 86 echo "\"> "; // line 87 echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); echo " </a> </td> "; } // line 91 echo " "; // line 92 if ((twig_get_attribute($this->env, $this->source, ($context["current_table"] ?? null), "TABLE_ROWS", [], "array", true, true, false, 92) && (((($__internal_compile_5 = // line 93 ($context["current_table"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["ENGINE"] ?? null) : null) != null) || ($context["table_is_view"] ?? null)))) { // line 94 echo " "; // line 95 echo " "; $context["row_count"] = PhpMyAdmin\Util::formatNumber((($__internal_compile_6 = ($context["current_table"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["TABLE_ROWS"] ?? null) : null), 0); // line 96 echo " "; // line 99 echo " <td class=\"value tbl_rows font-monospace text-end\" data-table=\""; // line 100 echo twig_escape_filter($this->env, (($__internal_compile_7 = ($context["current_table"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["TABLE_NAME"] ?? null) : null), "html", null, true); echo "\"> "; // line 101 if (($context["approx_rows"] ?? null)) { // line 102 echo " <a href=\""; echo PhpMyAdmin\Url::getFromRoute("/database/structure/real-row-count", ["ajax_request" => true, "db" => // line 104 ($context["db"] ?? null), "table" => (($__internal_compile_8 = // line 105 ($context["current_table"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["TABLE_NAME"] ?? null) : null)]); // line 106 echo "\" class=\"ajax real_row_count\"> <bdi> ~"; // line 108 echo twig_escape_filter($this->env, ($context["row_count"] ?? null), "html", null, true); echo " </bdi> </a> "; } else { // line 112 echo " "; echo twig_escape_filter($this->env, ($context["row_count"] ?? null), "html", null, true); echo " "; } // line 114 echo " "; echo ($context["show_superscript"] ?? null); echo " </td> "; // line 117 if ( !(($context["properties_num_columns"] ?? null) > 1)) { // line 118 echo " <td class=\"text-nowrap\"> "; // line 119 if ( !twig_test_empty((($__internal_compile_9 = ($context["current_table"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["ENGINE"] ?? null) : null))) { // line 120 echo " "; echo twig_escape_filter($this->env, (($__internal_compile_10 = ($context["current_table"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["ENGINE"] ?? null) : null), "html", null, true); echo " "; } elseif ( // line 121 ($context["table_is_view"] ?? null)) { // line 122 echo " "; echo _gettext("View"); // line 123 echo " "; } // line 124 echo " </td> "; // line 125 if ((twig_length_filter($this->env, ($context["collation"] ?? null)) > 0)) { // line 126 echo " <td class=\"text-nowrap\"> "; // line 127 echo ($context["collation"] ?? null); echo " </td> "; } // line 130 echo " "; } // line 131 echo " "; // line 132 if (($context["is_show_stats"] ?? null)) { // line 133 echo " <td class=\"value tbl_size font-monospace text-end\"> <a href=\""; // line 134 echo PhpMyAdmin\Url::getFromRoute("/table/structure", ($context["table_url_params"] ?? null)); echo "#showusage\"> <span>"; // line 135 echo twig_escape_filter($this->env, ($context["formatted_size"] ?? null), "html", null, true); echo "</span> <span class=\"unit\">"; echo twig_escape_filter($this->env, ($context["unit"] ?? null), "html", null, true); echo "</span> </a> </td> <td class=\"value tbl_overhead font-monospace text-end\"> "; // line 139 echo ($context["overhead"] ?? null); echo " </td> "; } // line 142 echo " "; // line 143 if ( !(($context["show_charset"] ?? null) > 1)) { // line 144 echo " "; if ((twig_length_filter($this->env, ($context["charset"] ?? null)) > 0)) { // line 145 echo " <td class=\"text-nowrap\"> "; // line 146 echo ($context["charset"] ?? null); echo " </td> "; } // line 149 echo " "; } // line 150 echo " "; // line 151 if (($context["show_comment"] ?? null)) { // line 152 echo " "; $context["comment"] = (($__internal_compile_11 = ($context["current_table"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["Comment"] ?? null) : null); // line 153 echo " <td> "; // line 154 if ((twig_length_filter($this->env, ($context["comment"] ?? null)) > ($context["limit_chars"] ?? null))) { // line 155 echo " <abbr title=\""; echo twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true); echo "\"> "; // line 156 echo twig_escape_filter($this->env, twig_slice($this->env, ($context["comment"] ?? null), 0, ($context["limit_chars"] ?? null)), "html", null, true); echo " ... </abbr> "; } else { // line 160 echo " "; echo twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true); echo " "; } // line 162 echo " </td> "; } // line 164 echo " "; // line 165 if (($context["show_creation"] ?? null)) { // line 166 echo " <td class=\"value tbl_creation font-monospace text-end\"> "; // line 167 echo twig_escape_filter($this->env, ($context["create_time"] ?? null), "html", null, true); echo " </td> "; } // line 170 echo " "; // line 171 if (($context["show_last_update"] ?? null)) { // line 172 echo " <td class=\"value tbl_last_update font-monospace text-end\"> "; // line 173 echo twig_escape_filter($this->env, ($context["update_time"] ?? null), "html", null, true); echo " </td> "; } // line 176 echo " "; // line 177 if (($context["show_last_check"] ?? null)) { // line 178 echo " <td class=\"value tbl_last_check font-monospace text-end\"> "; // line 179 echo twig_escape_filter($this->env, ($context["check_time"] ?? null), "html", null, true); echo " </td> "; } // line 182 echo " "; } elseif ( // line 183 ($context["table_is_view"] ?? null)) { // line 184 echo " <td class=\"value tbl_rows font-monospace text-end\">-</td> <td class=\"text-nowrap\"> "; echo _gettext("View"); // line 187 echo " </td> <td class=\"text-nowrap\">---</td> "; // line 189 if (($context["is_show_stats"] ?? null)) { // line 190 echo " <td class=\"value tbl_size font-monospace text-end\">-</td> <td class=\"value tbl_overhead font-monospace text-end\">-</td> "; } // line 193 echo " "; if (($context["show_charset"] ?? null)) { // line 194 echo " <td></td> "; } // line 196 echo " "; if (($context["show_comment"] ?? null)) { // line 197 echo " <td></td> "; } // line 199 echo " "; if (($context["show_creation"] ?? null)) { // line 200 echo " <td class=\"value tbl_creation font-monospace text-end\">-</td> "; } // line 202 echo " "; if (($context["show_last_update"] ?? null)) { // line 203 echo " <td class=\"value tbl_last_update font-monospace text-end\">-</td> "; } // line 205 echo " "; if (($context["show_last_check"] ?? null)) { // line 206 echo " <td class=\"value tbl_last_check font-monospace text-end\">-</td> "; } // line 208 echo " "; } else { // line 210 echo " "; // line 211 if (($context["db_is_system_schema"] ?? null)) { // line 212 echo " "; $context["action_colspan"] = 3; // line 213 echo " "; } else { // line 214 echo " "; $context["action_colspan"] = 6; // line 215 echo " "; } // line 216 echo " "; if ((($context["num_favorite_tables"] ?? null) > 0)) { // line 217 echo " "; $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); // line 218 echo " "; } // line 219 echo " "; // line 220 $context["colspan_for_structure"] = (($context["action_colspan"] ?? null) + 3); // line 221 echo " <td colspan=\""; echo (((($context["colspan_for_structure"] ?? null) - ($context["db_is_system_schema"] ?? null))) ? (6) : (9)); echo "\" class=\"text-center\"> "; echo _gettext("in use"); // line 224 echo " </td> "; } // line 226 echo "</tr> "; } public function getTemplateName() { return "database/structure/structure_table_row.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 540 => 226, 536 => 224, 529 => 221, 527 => 220, 524 => 219, 521 => 218, 518 => 217, 515 => 216, 512 => 215, 509 => 214, 506 => 213, 503 => 212, 501 => 211, 498 => 210, 494 => 208, 490 => 206, 487 => 205, 483 => 203, 480 => 202, 476 => 200, 473 => 199, 469 => 197, 466 => 196, 462 => 194, 459 => 193, 454 => 190, 452 => 189, 448 => 187, 443 => 184, 441 => 183, 438 => 182, 432 => 179, 429 => 178, 427 => 177, 424 => 176, 418 => 173, 415 => 172, 413 => 171, 410 => 170, 404 => 167, 401 => 166, 399 => 165, 396 => 164, 392 => 162, 386 => 160, 379 => 156, 374 => 155, 372 => 154, 369 => 153, 366 => 152, 364 => 151, 361 => 150, 358 => 149, 352 => 146, 349 => 145, 346 => 144, 344 => 143, 341 => 142, 335 => 139, 326 => 135, 322 => 134, 319 => 133, 317 => 132, 314 => 131, 311 => 130, 305 => 127, 302 => 126, 300 => 125, 297 => 124, 294 => 123, 291 => 122, 289 => 121, 284 => 120, 282 => 119, 279 => 118, 277 => 117, 270 => 114, 264 => 112, 257 => 108, 253 => 106, 251 => 105, 250 => 104, 248 => 102, 246 => 101, 242 => 100, 239 => 99, 236 => 96, 233 => 95, 231 => 94, 229 => 93, 228 => 92, 225 => 91, 218 => 87, 215 => 86, 213 => 85, 212 => 84, 211 => 81, 206 => 80, 203 => 78, 196 => 74, 193 => 73, 191 => 72, 190 => 71, 187 => 70, 184 => 69, 177 => 66, 175 => 65, 174 => 64, 173 => 63, 170 => 62, 168 => 61, 161 => 59, 158 => 58, 156 => 57, 149 => 53, 145 => 52, 138 => 48, 134 => 47, 127 => 43, 123 => 42, 119 => 40, 115 => 38, 113 => 36, 112 => 35, 111 => 34, 110 => 33, 108 => 32, 106 => 30, 105 => 29, 104 => 27, 102 => 26, 99 => 24, 96 => 23, 93 => 21, 87 => 18, 83 => 17, 80 => 16, 78 => 15, 73 => 13, 70 => 12, 68 => 11, 63 => 10, 57 => 7, 53 => 6, 49 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/structure_table_row.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/structure_table_row.twig"); } } twig/93/939c170c2819b836d0a80ba5bf52bb56.php 0000644 00000004227 15114741573 0012773 0 ustar 00 <?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_6ec64eeb658cbdb4d82de60a91b36dc4 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/sql/sql_query_results.twig"); } } twig/91/91da1343c38f9cd7b423467eebba5ab0.php 0000644 00000006325 15114741573 0013205 0 ustar 00 <?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_navigation_button.twig */ class __TwigTemplate_815323d6853681d46cc8a1877d086f3f 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> <form action=\""; // line 2 yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" method=\"post\" "; yield ($context["onsubmit"] ?? null); yield "> "; // line 3 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); yield " <input type=\"hidden\" name=\"sql_query\" value=\""; // line 4 yield ($context["sql_query"] ?? null); yield "\"> <input type=\"hidden\" name=\"pos\" value=\""; // line 5 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["pos"] ?? null), "html", null, true); yield "\"> <input type=\"hidden\" name=\"is_browse_distinct\" value=\""; // line 6 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["is_browse_distinct"] ?? null), "html", null, true); yield "\"> <input type=\"hidden\" name=\"goto\" value=\""; // line 7 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["goto"] ?? null), "html", null, true); yield "\"> "; // line 8 yield ($context["input_for_real_end"] ?? null); yield " <input type=\"submit\" name=\"navig\" class=\"btn btn-secondary ajax\" value=\""; // line 9 yield ($context["caption_output"] ?? null); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["title"] ?? null), "html", null, true); yield "\"> </form> </td> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "display/results/table_navigation_button.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 71 => 9, 67 => 8, 63 => 7, 59 => 6, 55 => 5, 51 => 4, 47 => 3, 41 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "display/results/table_navigation_button.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/table_navigation_button.twig"); } } twig/24/240a4f6a2afd7c7a35b9e09c00d22ef9.php 0000644 00000011377 15114741573 0013203 0 ustar 00 <?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; /* database/structure/index.twig */ class __TwigTemplate_c8ff58c05dad9dd158a9bc4f66097fb4 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($this->env->getRuntime('PhpMyAdmin\FlashMessages')->getMessages()); foreach ($context['_seq'] as $context["flash_key"] => $context["flash_messages"]) { // line 2 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable($context["flash_messages"]); foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) { // line 3 yield " <div class=\"alert alert-"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_key"], "html", null, true); yield "\" role=\"alert\"> "; // line 4 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_message"], "html", null, true); yield " </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash_message'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['flash_key'], $context['flash_messages'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 8 yield " "; // line 9 if (($context["has_tables"] ?? null)) { // line 10 yield " <div id=\"tableslistcontainer\"> "; // line 11 yield ($context["list_navigator_html"] ?? null); yield " "; // line 13 yield ($context["table_list_html"] ?? null); yield " "; // line 15 yield ($context["list_navigator_html"] ?? null); yield " </div> <hr> <p class=\"d-print-none\"> <button type=\"button\" class=\"btn btn-link p-0 jsPrintButton\">"; // line 19 yield PhpMyAdmin\Html\Generator::getIcon("b_print", _gettext("Print"), true); yield "</button> <a href=\""; // line 20 yield PhpMyAdmin\Url::getFromRoute("/database/data-dictionary", ["db" => ($context["database"] ?? null), "goto" => PhpMyAdmin\Url::getFromRoute("/database/structure")]); yield "\"> "; // line 21 yield PhpMyAdmin\Html\Generator::getIcon("b_tblanalyse", _gettext("Data dictionary"), true); yield " </a> </p> "; } else { // line 25 yield " "; yield $this->env->getFilter('notice')->getCallable()(_gettext("No tables found in database.")); yield " "; } // line 27 yield " "; // line 28 if ( !($context["is_system_schema"] ?? null)) { // line 29 yield " "; yield ($context["create_table_html"] ?? null); yield " "; } return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/structure/index.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 116 => 29, 114 => 28, 111 => 27, 105 => 25, 98 => 21, 94 => 20, 90 => 19, 83 => 15, 78 => 13, 73 => 11, 70 => 10, 68 => 9, 65 => 8, 52 => 4, 47 => 3, 42 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "database/structure/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/index.twig"); } } twig/29/29a91e3f0d7af2b9ea5f095f8950a1ff.php 0000644 00000003153 15114741573 0013226 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/collation_definition.twig */ class __TwigTemplate_3e039bc1d307b818aa42ada048c5e614 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 echo "<dfn title=\""; echo twig_escape_filter($this->env, ($context["valueTitle"] ?? null), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true); echo "</dfn> "; } public function getTemplateName() { return "database/structure/collation_definition.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/collation_definition.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/collation_definition.twig"); } } twig/ab/ab84cc3ab02f4aa3c84e87c119e4648b.php 0000644 00000014433 15114741573 0013337 0 ustar 00 <?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_05507570e0a1981a974480c389b478de 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/scripts.twig"); } } twig/c9/c903f0910b7e1b401d0a288545ae05f7.php 0000644 00000067037 15114741573 0012770 0 ustar 00 <?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_deef09c55cbce8fba870bf7c16c4140d 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/javascript/variables.twig"); } } twig/c9/c9646c7319327f3df54bdeb34e6a8d85.php 0000644 00000003210 15114741573 0013151 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* navigation/tree/controls.twig */ class __TwigTemplate_d4c8dfa8b93ee98fbecde45afe026262 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 echo "<!-- CONTROLS START --> <li id=\"navigation_controls_outer\"> <div id=\"navigation_controls\"> "; // line 4 echo ($context["collapse_all"] ?? null); echo " "; // line 5 echo ($context["unlink"] ?? null); echo " </div> </li> <!-- CONTROLS ENDS --> "; } public function getTemplateName() { return "navigation/tree/controls.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 46 => 5, 42 => 4, 37 => 1,); } public function getSourceContext() { return new Source("", "navigation/tree/controls.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/controls.twig"); } } twig/97/976b2e0193f2eb74c438dfbae1d5ebc1.php 0000644 00000024302 15114741573 0013275 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* columns_definitions/table_fields_definitions.twig */ class __TwigTemplate_03ae9f274690423717f183a90adc8f6e 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 echo "<div class=\"responsivetable\"> <table id=\"table_columns\" class=\"table table-striped caption-top align-middle mb-0 noclick\"> <caption class=\"tblHeaders\"> "; echo _gettext("Structure"); // line 5 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("CREATE_TABLE"); echo " </caption> <tr> <th> "; echo _gettext("Name"); // line 10 echo " </th> <th> "; echo _gettext("Type"); // line 13 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("data-types"); echo " </th> <th> "; echo _gettext("Length/Values"); // line 17 echo " "; echo PhpMyAdmin\Html\Generator::showHint(_gettext("If column type is \"enum\" or \"set\", please enter the values using this format: 'a','b','c'…<br>If you ever need to put a backslash (\"\\\") or a single quote (\"'\") amongst those values, precede it with a backslash (for example '\\\\xyz' or 'a\\'b').")); echo " </th> <th> "; echo _gettext("Default"); // line 21 echo " "; echo PhpMyAdmin\Html\Generator::showHint(_gettext("For default values, please enter just a single value, without backslash escaping or quotes, using this format: a")); echo " </th> <th> "; echo _gettext("Collation"); // line 25 echo " </th> <th> "; echo _gettext("Attributes"); // line 28 echo " </th> <th> "; echo _gettext("Null"); // line 31 echo " </th> "; // line 34 echo " "; if ((array_key_exists("change_column", $context) && !twig_test_empty(($context["change_column"] ?? null)))) { // line 35 echo " <th> "; echo _gettext("Adjust privileges"); // line 37 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39"); echo " </th> "; } // line 40 echo " "; // line 44 echo " "; if ( !($context["is_backup"] ?? null)) { // line 45 echo " <th> "; echo _gettext("Index"); // line 47 echo " </th> "; } // line 49 echo " <th> <abbr title=\"AUTO_INCREMENT\">A_I</abbr> </th> <th> "; echo _gettext("Comments"); // line 55 echo " </th> "; // line 57 if (($context["is_virtual_columns_supported"] ?? null)) { // line 58 echo " <th> "; echo _gettext("Virtuality"); // line 60 echo " </th> "; } // line 62 echo " "; // line 63 if (array_key_exists("fields_meta", $context)) { // line 64 echo " <th> "; echo _gettext("Move column"); // line 66 echo " </th> "; } // line 68 echo " "; // line 69 if (( !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "browserTransformationFeature", [], "any", false, false, false, 69)) && ($context["browse_mime"] ?? null))) { // line 70 echo " <th> "; echo _gettext("Media type"); // line 72 echo " </th> <th> <a href=\""; // line 74 echo PhpMyAdmin\Url::getFromRoute("/transformation/overview"); echo "#transformation\" title=\""; echo _gettext("List of available transformations and their options"); // line 76 echo "\" target=\"_blank\"> "; echo _gettext("Browser display transformation"); // line 78 echo " </a> </th> <th> "; echo _gettext("Browser display transformation options"); // line 82 echo " "; echo PhpMyAdmin\Html\Generator::showHint(_gettext("Please enter the values for transformation options using this format: 'a', 100, b,'c'…<br>If you ever need to put a backslash (\"\\\") or a single quote (\"'\") amongst those values, precede it with a backslash (for example '\\\\xyz' or 'a\\'b').")); echo " </th> <th> <a href=\""; // line 85 echo PhpMyAdmin\Url::getFromRoute("/transformation/overview"); echo "#input_transformation\" title=\""; echo _gettext("List of available transformations and their options"); // line 86 echo "\" target=\"_blank\"> "; echo _gettext("Input transformation"); // line 89 echo " </a> </th> <th> "; echo _gettext("Input transformation options"); // line 93 echo " "; echo PhpMyAdmin\Html\Generator::showHint(_gettext("Please enter the values for transformation options using this format: 'a', 100, b,'c'…<br>If you ever need to put a backslash (\"\\\") or a single quote (\"'\") amongst those values, precede it with a backslash (for example '\\\\xyz' or 'a\\'b').")); echo " </th> "; } // line 96 echo " </tr> "; // line 97 $context["options"] = ["" => "", "VIRTUAL" => "VIRTUAL"]; // line 98 echo " "; if (($context["supports_stored_keyword"] ?? null)) { // line 99 echo " "; $context["options"] = twig_array_merge(($context["options"] ?? null), ["STORED" => "STORED"]); // line 100 echo " "; } else { // line 101 echo " "; $context["options"] = twig_array_merge(($context["options"] ?? null), ["PERSISTENT" => "PERSISTENT"]); // line 102 echo " "; } // line 103 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["content_cells"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["content_row"]) { // line 104 echo " <tr> "; // line 105 $this->loadTemplate("columns_definitions/column_attributes.twig", "columns_definitions/table_fields_definitions.twig", 105)->display(twig_to_array(twig_array_merge($context["content_row"], ["options" => // line 106 ($context["options"] ?? null), "change_column" => // line 107 ($context["change_column"] ?? null), "is_virtual_columns_supported" => // line 108 ($context["is_virtual_columns_supported"] ?? null), "browse_mime" => // line 109 ($context["browse_mime"] ?? null), "max_rows" => // line 110 ($context["max_rows"] ?? null), "char_editing" => // line 111 ($context["char_editing"] ?? null), "attribute_types" => // line 112 ($context["attribute_types"] ?? null), "privs_available" => // line 113 ($context["privs_available"] ?? null), "max_length" => // line 114 ($context["max_length"] ?? null), "charsets" => // line 115 ($context["charsets"] ?? null), "relation_parameters" => // line 116 ($context["relation_parameters"] ?? null)]))); // line 118 echo " </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content_row'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 120 echo "</table> </div> "; } public function getTemplateName() { return "columns_definitions/table_fields_definitions.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 263 => 120, 256 => 118, 254 => 116, 253 => 115, 252 => 114, 251 => 113, 250 => 112, 249 => 111, 248 => 110, 247 => 109, 246 => 108, 245 => 107, 244 => 106, 243 => 105, 240 => 104, 235 => 103, 232 => 102, 229 => 101, 226 => 100, 223 => 99, 220 => 98, 218 => 97, 215 => 96, 208 => 93, 202 => 89, 197 => 86, 192 => 85, 185 => 82, 179 => 78, 175 => 76, 171 => 74, 167 => 72, 163 => 70, 161 => 69, 158 => 68, 154 => 66, 150 => 64, 148 => 63, 145 => 62, 141 => 60, 137 => 58, 135 => 57, 131 => 55, 123 => 49, 119 => 47, 115 => 45, 112 => 44, 109 => 40, 102 => 37, 98 => 35, 95 => 34, 91 => 31, 86 => 28, 81 => 25, 73 => 21, 65 => 17, 57 => 13, 52 => 10, 43 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "columns_definitions/table_fields_definitions.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/columns_definitions/table_fields_definitions.twig"); } } twig/09/09fdaf528e939642a123f9efa1f7734f.php 0000644 00000004465 15114741573 0013102 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* modals/enum_set_editor.twig */ class __TwigTemplate_b9bd4b8f05c3916f28b7cf9944549fc6 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 echo "<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\">"; echo _gettext("ENUM/SET editor"); // line 5 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 6 echo "\"></button> </div> <div class=\"modal-body\"></div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"enumEditorGoButton\" data-bs-dismiss=\"modal\">"; echo _gettext("Go"); // line 10 echo "</button> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 11 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "modals/enum_set_editor.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 59 => 11, 55 => 10, 48 => 6, 44 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "modals/enum_set_editor.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/enum_set_editor.twig"); } } twig/0d/0db8cfffd3d09171c872ac1e72f62ca0.php 0000644 00000147175 15114741573 0013351 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/operations/index.twig */ class __TwigTemplate_b70a92da4e726ec35f1c669c8247487c 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 echo "<div class=\"container-fluid\"> "; // line 3 if ( !($context["hide_order_table"] ?? null)) { // line 4 echo " <form method=\"post\" id=\"alterTableOrderby\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/table/operations"); echo "\"> "; // line 5 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"submitorderby\" value=\"1\"> <div class=\"card mb-2\"> <div class=\"card-header\">"; echo _gettext("Alter table order by"); // line 9 echo "</div> <div class=\"card-body\"> <div class=\"row g-3\"> <div class=\"col-auto\"> <label class=\"visually-hidden\" for=\"tableOrderFieldSelect\">"; echo _gettext("Column"); // line 13 echo "</label> <select id=\"tableOrderFieldSelect\" class=\"form-select\" name=\"order_field\" aria-describedby=\"tableOrderFieldSelectHelp\"> "; // line 15 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["columns"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["column"]) { // line 16 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "Field", [], "any", false, false, false, 16), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "Field", [], "any", false, false, false, 16), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 18 echo " </select> <small id=\"tableOrderFieldSelectHelp\" class=\"form-text text-muted\"> "; echo _pgettext("Alter table order by a single field.", "(singly)"); // line 21 echo " </small> </div> <div class=\"col-auto\"> <div class=\"form-check\"> <input class=\"form-check-input\" id=\"tableOrderAscRadio\" name=\"order_order\" type=\"radio\" value=\"asc\" checked> <label class=\"form-check-label\" for=\"tableOrderAscRadio\">"; echo _gettext("Ascending"); // line 27 echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" id=\"tableOrderDescRadio\" name=\"order_order\" type=\"radio\" value=\"desc\"> <label class=\"form-check-label\" for=\"tableOrderDescRadio\">"; echo _gettext("Descending"); // line 31 echo "</label> </div> </div> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 38 echo "\"> </div> </div> </form> "; } // line 43 echo " <form method=\"post\" action=\""; // line 44 echo PhpMyAdmin\Url::getFromRoute("/table/operations"); echo "\" id=\"moveTableForm\" class=\"ajax\" onsubmit=\"return Functions.emptyCheckTheField(this, 'new_name')\"> "; // line 45 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"reload\" value=\"1\"> <input type=\"hidden\" name=\"what\" value=\"data\"> <div class=\"card mb-2\"> <div class=\"card-header\">"; echo _gettext("Move table to (database.table)"); // line 50 echo "</div> <div class=\"card-body\"> <div class=\"mb-3 row g-3\"> <div class=\"col-auto\"> <div class=\"input-group\"> "; // line 55 if ( !twig_test_empty(($context["database_list"] ?? null))) { // line 56 echo " <select id=\"moveTableDatabaseInput\" class=\"form-select\" name=\"target_db\" aria-label=\""; echo _gettext("Database"); echo "\"> "; // line 57 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["database_list"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["each_db"]) { // line 58 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["each_db"], "name", [], "any", false, false, false, 58), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["each_db"], "is_selected", [], "any", false, false, false, 58)) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["each_db"], "name", [], "any", false, false, false, 58), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['each_db'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 60 echo " </select> "; } else { // line 62 echo " <input id=\"moveTableDatabaseInput\" class=\"form-control\" type=\"text\" maxlength=\"100\" name=\"target_db\" value=\""; echo twig_escape_filter($this->env, ($context["db"] ?? null), "html", null, true); echo "\" aria-label=\""; echo _gettext("Database"); echo "\"> "; } // line 64 echo " <span class=\"input-group-text\">.</span> <input class=\"form-control\" type=\"text\" required=\"required\" name=\"new_name\" maxlength=\"64\" value=\""; // line 65 echo twig_escape_filter($this->env, ($context["table"] ?? null), "html", null, true); echo "\" aria-label=\""; echo _gettext("Table"); echo "\"> </div> </div> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"sql_auto_increment\" value=\"1\" id=\"checkbox_auto_increment_mv\"> <label class=\"form-check-label\" for=\"checkbox_auto_increment_mv\">"; echo _gettext("Add AUTO_INCREMENT value"); // line 72 echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"adjust_privileges\" value=\"1\" id=\"checkbox_privileges_tables_move\""; // line 76 if (($context["has_privileges"] ?? null)) { echo " checked"; } else { echo " title=\""; echo _gettext("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details."); // line 77 echo "\" disabled"; } echo "> <label class=\"form-check-label\" for=\"checkbox_privileges_tables_move\"> "; echo _gettext("Adjust privileges"); // line 80 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39"); echo " </label> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" name=\"submit_move\" value=\""; echo _gettext("Go"); // line 86 echo "\"> </div> </div> </form> <form method=\"post\" action=\""; // line 91 echo PhpMyAdmin\Url::getFromRoute("/table/operations"); echo "\" id=\"tableOptionsForm\" class=\"ajax\"> "; // line 92 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"reload\" value=\"1\"> <input type=\"hidden\" name=\"submitoptions\" value=\"1\"> <input type=\"hidden\" name=\"prev_comment\" value=\""; // line 95 echo twig_escape_filter($this->env, ($context["table_comment"] ?? null), "html", null, true); echo "\"> "; // line 96 if (($context["has_auto_increment"] ?? null)) { // line 97 echo " <input type=\"hidden\" name=\"hidden_auto_increment\" value=\""; echo twig_escape_filter($this->env, ($context["auto_increment"] ?? null), "html", null, true); echo "\"> "; } // line 99 echo " <div class=\"card mb-2\"> <div class=\"card-header\">"; echo _gettext("Table options"); // line 101 echo "</div> <div class=\"card-body\"> <div class=\"mb-3 row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-6\"> <label for=\"renameTableInput\">"; echo _gettext("Rename table to"); // line 105 echo "</label> </div> <div class=\"col-6\"> <input class=\"form-control\" id=\"renameTableInput\" type=\"text\" name=\"new_name\" maxlength=\"64\" value=\""; // line 108 echo twig_escape_filter($this->env, ($context["table"] ?? null), "html", null, true); echo "\" required> </div> <div class=\"form-check col-12\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"adjust_privileges\" value=\"1\" id=\"checkbox_privileges_table_options\""; // line 112 if (($context["has_privileges"] ?? null)) { echo " checked"; } else { echo " title=\""; echo _gettext("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details."); // line 113 echo "\" disabled"; } echo "> <label class=\"form-check-label\" for=\"checkbox_privileges_table_options\"> "; echo _gettext("Adjust privileges"); // line 116 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39"); echo " </label> </div> </div> <div class=\"mb-3 row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-6\"> <label for=\"tableCommentsInput\">"; echo _gettext("Table comments"); // line 123 echo "</label> </div> <div class=\"col-6\"> <input class=\"form-control\" id=\"tableCommentsInput\" type=\"text\" name=\"comment\" maxlength=\"2048\" value=\""; // line 126 echo twig_escape_filter($this->env, ($context["table_comment"] ?? null), "html", null, true); echo "\"> </div> </div> <div class=\"mb-3 row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-6\"> <label class=\"text-nowrap\" for=\"newTableStorageEngineSelect\"> "; echo _gettext("Storage engine"); // line 134 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("Storage_engines"); echo " </label> </div> <div class=\"col-6\"> <select class=\"form-select\" name=\"new_tbl_storage_engine\" id=\"newTableStorageEngineSelect\"> "; // line 139 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["storage_engines"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["engine"]) { // line 140 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 140), "html", null, true); echo "\""; if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 140))) { echo " title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 140), "html", null, true); echo "\""; } // line 141 echo ((((twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 141)) == twig_lower_filter($this->env, ($context["storage_engine"] ?? null))) || (twig_test_empty(($context["storage_engine"] ?? null)) && twig_get_attribute($this->env, $this->source, $context["engine"], "is_default", [], "any", false, false, false, 141)))) ? (" selected") : ("")); echo ">"; // line 142 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 142), "html", null, true); // line 143 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['engine'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 145 echo " </select> </div> </div> <div class=\"mb-3 row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-6\"> <label for=\"collationSelect\">"; echo _gettext("Collation"); // line 151 echo "</label> </div> <div class=\"col-6\"> <select class=\"form-select\" id=\"collationSelect\" lang=\"en\" dir=\"ltr\" name=\"tbl_collation\"> <option value=\"\"></option> "; // line 156 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 157 echo " <optgroup label=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 157), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getDescription", [], "method", false, false, false, 157), "html", null, true); echo "\"> "; // line 158 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((($__internal_compile_0 = ($context["collations"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 158)] ?? null) : null)); foreach ($context['_seq'] as $context["_key"] => $context["collation"]) { // line 159 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "getName", [], "method", false, false, false, 159), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "getDescription", [], "method", false, false, false, 159), "html", null, true); echo "\""; echo (((($context["tbl_collation"] ?? null) == twig_get_attribute($this->env, $this->source, $context["collation"], "getName", [], "method", false, false, false, 159))) ? (" selected") : ("")); echo "> "; // line 160 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "getName", [], "method", false, false, false, 160), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 163 echo " </optgroup> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 165 echo " </select> </div> <div class=\"form-check col-12 ms-3\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"change_all_collations\" value=\"1\" id=\"checkbox_change_all_collations\"> <label class=\"form-check-label\" for=\"checkbox_change_all_collations\">"; echo _gettext("Change all column collations"); // line 170 echo "</label> </div> </div> "; // line 174 if (($context["has_pack_keys"] ?? null)) { // line 175 echo " <div class=\"mb-3 row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-6\"> <label for=\"new_pack_keys\">PACK_KEYS</label> </div> <div class=\"col-6\"> <select class=\"form-select\" name=\"new_pack_keys\" id=\"new_pack_keys\"> <option value=\"DEFAULT\""; // line 181 echo (((($context["pack_keys"] ?? null) == "DEFAULT")) ? (" selected") : ("")); echo ">DEFAULT</option> <option value=\"0\""; // line 182 echo (((($context["pack_keys"] ?? null) == "0")) ? (" selected") : ("")); echo ">0</option> <option value=\"1\""; // line 183 echo (((($context["pack_keys"] ?? null) == "1")) ? (" selected") : ("")); echo ">1</option> </select> </div> </div> "; } // line 188 echo " "; // line 189 if (($context["has_checksum_and_delay_key_write"] ?? null)) { // line 190 echo " <div class=\"mb-3 form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"new_checksum\" id=\"new_checksum\" value=\"1\""; // line 191 echo (((($context["checksum"] ?? null) == "1")) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"new_checksum\">CHECKSUM</label> </div> <div class=\"mb-3 form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"new_delay_key_write\" id=\"new_delay_key_write\" value=\"1\""; // line 196 echo (((($context["delay_key_write"] ?? null) == "1")) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"new_delay_key_write\">DELAY_KEY_WRITE</label> </div> "; } // line 200 echo " "; // line 201 if (($context["has_transactional_and_page_checksum"] ?? null)) { // line 202 echo " <div class=\"mb-3 form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"new_transactional\" id=\"new_transactional\" value=\"1\""; // line 203 echo (((($context["transactional"] ?? null) == "1")) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"new_transactional\">TRANSACTIONAL</label> </div> <div class=\"mb-3 form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"new_page_checksum\" id=\"new_page_checksum\" value=\"1\""; // line 208 echo (((($context["page_checksum"] ?? null) == "1")) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"new_page_checksum\">PAGE_CHECKSUM</label> </div> "; } // line 212 echo " "; // line 213 if (($context["has_auto_increment"] ?? null)) { // line 214 echo " <div class=\"mb-3 row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-12\"> <label for=\"auto_increment_opt\">AUTO_INCREMENT</label> </div> <div class=\"col-12\"> <input class=\"form-control\" id=\"auto_increment_opt\" type=\"number\" name=\"new_auto_increment\" value=\""; // line 219 echo twig_escape_filter($this->env, ($context["auto_increment"] ?? null), "html", null, true); echo "\"> </div> </div> "; } // line 223 echo " "; // line 224 if ( !twig_test_empty(($context["row_formats"] ?? null))) { // line 225 echo " <div class=\"mb-3 row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-12\"> <label for=\"new_row_format\">ROW_FORMAT</label> </div> <div class=\"col-12\"> <select class=\"form-select\" id=\"new_row_format\" name=\"new_row_format\"> "; // line 231 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["row_formats"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["row_format"]) { // line 232 echo " <option value=\""; echo twig_escape_filter($this->env, $context["row_format"], "html", null, true); echo "\""; echo ((($context["row_format"] == twig_upper_filter($this->env, ($context["row_format_current"] ?? null)))) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, $context["row_format"], "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row_format'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 234 echo " </select> </div> </div> "; } // line 238 echo " </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 241 echo "\"> </div> </div> </form> <form method=\"post\" action=\""; // line 246 echo PhpMyAdmin\Url::getFromRoute("/table/operations"); echo "\" name=\"copyTable\" id=\"copyTable\" class=\"ajax\" onsubmit=\"return Functions.emptyCheckTheField(this, 'new_name')\"> "; // line 247 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"reload\" value=\"1\"> <div class=\"card mb-2\"> <div class=\"card-header\">"; echo _gettext("Copy table to (database.table)"); // line 251 echo "</div> <div class=\"card-body\"> <div class=\"mb-3 row g-3\"> <div class=\"col-auto\"> <div class=\"input-group\"> "; // line 256 if ( !twig_test_empty(($context["database_list"] ?? null))) { // line 257 echo " <select class=\"form-select\" name=\"target_db\" aria-label=\""; echo _gettext("Database"); echo "\"> "; // line 258 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["database_list"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["each_db"]) { // line 259 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["each_db"], "name", [], "any", false, false, false, 259), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["each_db"], "is_selected", [], "any", false, false, false, 259)) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["each_db"], "name", [], "any", false, false, false, 259), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['each_db'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 261 echo " </select> "; } else { // line 263 echo " <input class=\"form-control\" type=\"text\" maxlength=\"100\" name=\"target_db\" value=\""; echo twig_escape_filter($this->env, ($context["db"] ?? null), "html", null, true); echo "\" aria-label=\""; echo _gettext("Database"); echo "\"> "; } // line 265 echo " <span class=\"input-group-text\">.</span> <input class=\"form-control\" type=\"text\" name=\"new_name\" maxlength=\"64\" value=\""; // line 266 echo twig_escape_filter($this->env, ($context["table"] ?? null), "html", null, true); echo "\" aria-label=\""; echo _gettext("Table"); echo "\" required> </div> </div> </div> <div class=\"mb-3\"> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"what\" id=\"whatRadio1\" value=\"structure\"> <label class=\"form-check-label\" for=\"whatRadio1\"> "; echo _gettext("Structure only"); // line 276 echo " </label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"what\" id=\"whatRadio2\" value=\"data\" checked> <label class=\"form-check-label\" for=\"whatRadio2\"> "; echo _gettext("Structure and data"); // line 282 echo " </label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"what\" id=\"whatRadio3\" value=\"dataonly\"> <label class=\"form-check-label\" for=\"whatRadio3\"> "; echo _gettext("Data only"); // line 288 echo " </label> </div> </div> <div class=\"mb-3\"> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"drop_if_exists\" value=\"true\" id=\"checkbox_drop\"> <label class=\"form-check-label\" for=\"checkbox_drop\">"; // line 295 echo twig_escape_filter($this->env, twig_sprintf(_gettext("Add %s"), "DROP TABLE"), "html", null, true); echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"sql_auto_increment\" value=\"1\" id=\"checkbox_auto_increment_cp\"> <label class=\"form-check-label\" for=\"checkbox_auto_increment_cp\">"; echo _gettext("Add AUTO_INCREMENT value"); // line 300 echo "</label> </div> "; // line 303 if (($context["has_foreign_keys"] ?? null)) { // line 304 echo " <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"add_constraints\" value=\"1\" id=\"checkbox_constraints\" checked> <label class=\"form-check-label\" for=\"checkbox_constraints\">"; echo _gettext("Add constraints"); // line 306 echo "</label> </div> "; } // line 309 echo " <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"adjust_privileges\" value=\"1\" id=\"checkbox_adjust_privileges\""; // line 312 if (($context["has_privileges"] ?? null)) { echo " checked"; } else { echo " title=\""; echo _gettext("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details."); // line 313 echo "\" disabled"; } echo "> <label class=\"form-check-label\" for=\"checkbox_adjust_privileges\"> "; echo _gettext("Adjust privileges"); // line 316 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39"); echo " </label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"switch_to_new\" value=\"true\" id=\"checkbox_switch\""; // line 321 echo ((($context["switch_to_new"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"checkbox_switch\">"; echo _gettext("Switch to copied table"); // line 322 echo "</label> </div> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" name=\"submit_copy\" value=\""; echo _gettext("Go"); // line 328 echo "\"> </div> </div> </form> <div class=\"card mb-2\"> <div class=\"card-header\">"; echo _gettext("Table maintenance"); // line 334 echo "</div> <ul class=\"list-group list-group-flush\" id=\"tbl_maintenance\"> "; // line 336 if (twig_in_filter(($context["storage_engine"] ?? null), [0 => "MYISAM", 1 => "ARIA", 2 => "INNODB", 3 => "BERKELEYDB", 4 => "TOKUDB"])) { // line 337 echo " <li class=\"list-group-item\"> <a href=\""; // line 338 echo PhpMyAdmin\Url::getFromRoute("/table/maintenance/analyze"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "selected_tbl" => [0 => ($context["table"] ?? null)]], "", false); echo "\"> "; echo _gettext("Analyze table"); // line 340 echo " </a> "; // line 341 echo PhpMyAdmin\Html\MySQLDocumentation::show("ANALYZE_TABLE"); echo " </li> "; } // line 344 echo " "; // line 345 if (twig_in_filter(($context["storage_engine"] ?? null), [0 => "MYISAM", 1 => "ARIA", 2 => "INNODB", 3 => "TOKUDB"])) { // line 346 echo " <li class=\"list-group-item\"> <a href=\""; // line 347 echo PhpMyAdmin\Url::getFromRoute("/table/maintenance/check"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "selected_tbl" => [0 => ($context["table"] ?? null)]], "", false); echo "\"> "; echo _gettext("Check table"); // line 349 echo " </a> "; // line 350 echo PhpMyAdmin\Html\MySQLDocumentation::show("CHECK_TABLE"); echo " </li> "; } // line 353 echo " <li class=\"list-group-item\"> <a href=\""; // line 355 echo PhpMyAdmin\Url::getFromRoute("/table/maintenance/checksum"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "selected_tbl" => [0 => ($context["table"] ?? null)]], "", false); echo "\"> "; echo _gettext("Checksum table"); // line 357 echo " </a> "; // line 358 echo PhpMyAdmin\Html\MySQLDocumentation::show("CHECKSUM_TABLE"); echo " </li> "; // line 361 if ((($context["storage_engine"] ?? null) == "INNODB")) { // line 362 echo " <li class=\"list-group-item\"> <a class=\"maintain_action ajax\" href=\""; // line 363 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["url_params"] ?? null), ["sql_query" => (("ALTER TABLE " . PhpMyAdmin\Util::backquote(($context["table"] ?? null))) . " ENGINE = InnoDB;")]), "", false); echo "\"> "; echo _gettext("Defragment table"); // line 365 echo " </a> "; // line 366 echo PhpMyAdmin\Html\MySQLDocumentation::show("InnoDB_File_Defragmenting"); echo " </li> "; } // line 369 echo " <li class=\"list-group-item\"> <a class=\"maintain_action ajax\" href=\""; // line 371 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["url_params"] ?? null), ["sql_query" => ("FLUSH TABLE " . PhpMyAdmin\Util::backquote( // line 372 ($context["table"] ?? null))), "message_to_show" => twig_sprintf(_gettext("Table %s has been flushed."), twig_escape_filter($this->env, // line 373 ($context["table"] ?? null))), "reload" => true]), "", false); // line 375 echo "\"> "; echo _gettext("Flush the table (FLUSH)"); // line 377 echo " </a> "; // line 378 echo PhpMyAdmin\Html\MySQLDocumentation::show("FLUSH"); echo " </li> "; // line 381 if (twig_in_filter(($context["storage_engine"] ?? null), [0 => "MYISAM", 1 => "ARIA", 2 => "INNODB", 3 => "BERKELEYDB", 4 => "TOKUDB"])) { // line 382 echo " <li class=\"list-group-item\"> <a href=\""; // line 383 echo PhpMyAdmin\Url::getFromRoute("/table/maintenance/optimize"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "selected_tbl" => [0 => ($context["table"] ?? null)]], "", false); echo "\"> "; echo _gettext("Optimize table"); // line 385 echo " </a> "; // line 386 echo PhpMyAdmin\Html\MySQLDocumentation::show("OPTIMIZE_TABLE"); echo " </li> "; } // line 389 echo " "; // line 390 if (twig_in_filter(($context["storage_engine"] ?? null), [0 => "MYISAM", 1 => "ARIA"])) { // line 391 echo " <li class=\"list-group-item\"> <a href=\""; // line 392 echo PhpMyAdmin\Url::getFromRoute("/table/maintenance/repair"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "selected_tbl" => [0 => ($context["table"] ?? null)]], "", false); echo "\"> "; echo _gettext("Repair table"); // line 394 echo " </a> "; // line 395 echo PhpMyAdmin\Html\MySQLDocumentation::show("REPAIR_TABLE"); echo " </li> "; } // line 398 echo " </ul> </div> "; // line 401 if ( !($context["is_system_schema"] ?? null)) { // line 402 echo " <div class=\"card mb-2\"> <div class=\"card-header\">"; echo _gettext("Delete data or table"); // line 403 echo "</div> <ul class=\"list-group list-group-flush\"> "; // line 405 if ( !($context["is_view"] ?? null)) { // line 406 echo " <li class=\"list-group-item\"> "; // line 407 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), twig_array_merge( // line 409 ($context["url_params"] ?? null), ["sql_query" => ((("TRUNCATE TABLE " . PhpMyAdmin\Util::backquote( // line 410 ($context["db"] ?? null))) . ".") . PhpMyAdmin\Util::backquote(($context["table"] ?? null))), "goto" => PhpMyAdmin\Url::getFromRoute("/table/structure"), "reload" => true, "message_to_show" => twig_escape_filter($this->env, twig_sprintf(_gettext("Table %s has been emptied."), // line 413 ($context["table"] ?? null)))]), _gettext("Empty the table (TRUNCATE)"), ["id" => "truncate_tbl_anchor", "class" => "text-danger ajax", "data-query" => ((("TRUNCATE TABLE " . PhpMyAdmin\Util::backquote( // line 419 ($context["db"] ?? null))) . ".") . PhpMyAdmin\Util::backquote(($context["table"] ?? null)))]); // line 421 echo " "; // line 422 echo PhpMyAdmin\Html\MySQLDocumentation::show("TRUNCATE_TABLE"); echo " </li> <li class=\"list-group-item\"> "; // line 425 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), twig_array_merge( // line 427 ($context["url_params"] ?? null), ["sql_query" => ((("DELETE FROM " . PhpMyAdmin\Util::backquote( // line 428 ($context["db"] ?? null))) . ".") . PhpMyAdmin\Util::backquote(($context["table"] ?? null))), "goto" => PhpMyAdmin\Url::getFromRoute("/table/structure"), "reload" => true, "message_to_show" => twig_escape_filter($this->env, twig_sprintf(_gettext("Table %s has been emptied."), // line 431 ($context["table"] ?? null)))]), _gettext("Empty the table (DELETE FROM)"), ["id" => "delete_tbl_anchor", "class" => "text-danger ajax", "data-query" => ((("DELETE FROM " . PhpMyAdmin\Util::backquote( // line 437 ($context["db"] ?? null))) . ".") . PhpMyAdmin\Util::backquote(($context["table"] ?? null)))]); // line 439 echo " "; // line 440 echo PhpMyAdmin\Html\MySQLDocumentation::show("DELETE"); echo " </li> "; } // line 443 echo " <li class=\"list-group-item\"> "; // line 444 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), twig_array_merge( // line 446 ($context["url_params"] ?? null), ["sql_query" => ((("DROP TABLE " . PhpMyAdmin\Util::backquote( // line 447 ($context["db"] ?? null))) . ".") . PhpMyAdmin\Util::backquote(($context["table"] ?? null))), "goto" => PhpMyAdmin\Url::getFromRoute("/database/operations"), "reload" => true, "purge" => true, "message_to_show" => (( // line 451 ($context["is_view"] ?? null)) ? (twig_escape_filter($this->env, twig_sprintf(_gettext("View %s has been dropped."), ($context["table"] ?? null)))) : (twig_escape_filter($this->env, twig_sprintf(_gettext("Table %s has been dropped."), ($context["table"] ?? null))))), "table" => // line 452 ($context["table"] ?? null)]), _gettext("Delete the table (DROP)"), ["id" => "drop_tbl_anchor", "class" => "text-danger ajax", "data-query" => ((("DROP TABLE " . PhpMyAdmin\Util::backquote( // line 458 ($context["db"] ?? null))) . ".") . PhpMyAdmin\Util::backquote(($context["table"] ?? null)))]); // line 460 echo " "; // line 461 echo PhpMyAdmin\Html\MySQLDocumentation::show("DROP_TABLE"); echo " </li> </ul> </div> "; } // line 466 echo " "; // line 467 if ( !twig_test_empty(($context["partitions"] ?? null))) { // line 468 echo " <form id=\"partitionsForm\" class=\"ajax\" method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/table/operations"); echo "\"> "; // line 469 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"submit_partition\" value=\"1\"> <div class=\"card mb-2\"> <div class=\"card-header\"> "; echo _gettext("Partition maintenance"); // line 475 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("partitioning_maintenance"); echo " </div> <div class=\"card-body\"> <div class=\"mb-3\"> <label for=\"partition_name\">"; echo _gettext("Partition"); // line 480 echo "</label> <select class=\"form-select resize-vertical\" id=\"partition_name\" name=\"partition_name[]\" multiple required> "; // line 482 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["partitions"] ?? 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["partition"]) { // line 483 echo " <option value=\""; echo twig_escape_filter($this->env, $context["partition"], "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 483)) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, $context["partition"], "html", null, true); echo "</option> "; ++$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['partition'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 485 echo " </select> </div> <div class=\"mb-3 form-check-inline\"> "; // line 489 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["partitions_choices"] ?? null)); foreach ($context['_seq'] as $context["value"] => $context["description"]) { // line 490 echo " <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"partition_operation\" id=\"partitionOperationRadio"; // line 491 echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $context["value"]), "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, $context["value"], "html", null, true); echo "\""; echo ((($context["value"] == "ANALYZE")) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"partitionOperationRadio"; // line 492 echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $context["value"]), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $context["description"], "html", null, true); echo "</label> </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['value'], $context['description'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 495 echo " </div> <div class=\"form-text\"> <a href=\""; // line 498 echo PhpMyAdmin\Url::getFromRoute("/sql", twig_array_merge(($context["url_params"] ?? null), ["sql_query" => (("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 499 ($context["table"] ?? null))) . " REMOVE PARTITIONING;")])); // line 500 echo "\">"; echo _gettext("Remove partitioning"); echo "</a> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 505 echo "\"> </div> </div> </form> "; } // line 510 echo " "; // line 511 if ( !twig_test_empty(($context["foreigners"] ?? null))) { // line 512 echo " <div class=\"card mb-2\"> <div class=\"card-header\">"; echo _gettext("Check referential integrity"); // line 513 echo "</div> <ul class=\"list-group list-group-flush\"> "; // line 515 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["foreigners"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["foreign"]) { // line 516 echo " <li class=\"list-group-item\"> <a class=\"text-nowrap\" href=\""; // line 517 echo PhpMyAdmin\Url::getFromRoute("/sql", twig_get_attribute($this->env, $this->source, $context["foreign"], "params", [], "any", false, false, false, 517)); echo "\"> "; // line 518 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["foreign"], "master", [], "any", false, false, false, 518), "html", null, true); echo " -> "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["foreign"], "db", [], "any", false, false, false, 518), "html", null, true); echo "."; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["foreign"], "table", [], "any", false, false, false, 518), "html", null, true); echo "."; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["foreign"], "field", [], "any", false, false, false, 518), "html", null, true); echo " </a> </li> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['foreign'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 522 echo " </ul> </div> "; } // line 525 echo " </div> "; } public function getTemplateName() { return "table/operations/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 1136 => 525, 1131 => 522, 1115 => 518, 1111 => 517, 1108 => 516, 1104 => 515, 1100 => 513, 1096 => 512, 1094 => 511, 1091 => 510, 1084 => 505, 1074 => 500, 1072 => 499, 1071 => 498, 1066 => 495, 1055 => 492, 1047 => 491, 1044 => 490, 1040 => 489, 1034 => 485, 1013 => 483, 996 => 482, 992 => 480, 982 => 475, 973 => 469, 968 => 468, 966 => 467, 963 => 466, 955 => 461, 952 => 460, 950 => 458, 949 => 452, 948 => 451, 947 => 447, 946 => 446, 945 => 444, 942 => 443, 936 => 440, 933 => 439, 931 => 437, 930 => 431, 929 => 428, 928 => 427, 927 => 425, 921 => 422, 918 => 421, 916 => 419, 915 => 413, 914 => 410, 913 => 409, 912 => 407, 909 => 406, 907 => 405, 903 => 403, 899 => 402, 897 => 401, 892 => 398, 886 => 395, 883 => 394, 876 => 392, 873 => 391, 871 => 390, 868 => 389, 862 => 386, 859 => 385, 852 => 383, 849 => 382, 847 => 381, 841 => 378, 838 => 377, 834 => 375, 832 => 373, 831 => 372, 828 => 371, 824 => 369, 818 => 366, 815 => 365, 808 => 363, 805 => 362, 803 => 361, 797 => 358, 794 => 357, 787 => 355, 783 => 353, 777 => 350, 774 => 349, 767 => 347, 764 => 346, 762 => 345, 759 => 344, 753 => 341, 750 => 340, 743 => 338, 740 => 337, 738 => 336, 734 => 334, 725 => 328, 716 => 322, 711 => 321, 702 => 316, 695 => 313, 689 => 312, 685 => 309, 680 => 306, 675 => 304, 673 => 303, 668 => 300, 659 => 295, 650 => 288, 642 => 282, 634 => 276, 619 => 266, 616 => 265, 608 => 263, 604 => 261, 591 => 259, 587 => 258, 582 => 257, 580 => 256, 573 => 251, 565 => 247, 561 => 246, 554 => 241, 548 => 238, 542 => 234, 529 => 232, 525 => 231, 517 => 225, 515 => 224, 512 => 223, 505 => 219, 498 => 214, 496 => 213, 493 => 212, 486 => 208, 478 => 203, 475 => 202, 473 => 201, 470 => 200, 463 => 196, 455 => 191, 452 => 190, 450 => 189, 447 => 188, 439 => 183, 435 => 182, 431 => 181, 423 => 175, 421 => 174, 415 => 170, 407 => 165, 400 => 163, 391 => 160, 382 => 159, 378 => 158, 371 => 157, 367 => 156, 360 => 151, 351 => 145, 344 => 143, 342 => 142, 339 => 141, 330 => 140, 326 => 139, 317 => 134, 306 => 126, 301 => 123, 289 => 116, 282 => 113, 276 => 112, 270 => 108, 265 => 105, 258 => 101, 253 => 99, 247 => 97, 245 => 96, 241 => 95, 235 => 92, 231 => 91, 224 => 86, 213 => 80, 206 => 77, 200 => 76, 195 => 72, 182 => 65, 179 => 64, 171 => 62, 167 => 60, 154 => 58, 150 => 57, 145 => 56, 143 => 55, 136 => 50, 127 => 45, 123 => 44, 120 => 43, 113 => 38, 103 => 31, 96 => 27, 87 => 21, 82 => 18, 71 => 16, 67 => 15, 63 => 13, 56 => 9, 48 => 5, 43 => 4, 41 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "table/operations/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/operations/index.twig"); } } twig/0d/0d1a43ef83d2e7891ddf14227bdb43ee.php 0000644 00000015307 15114741573 0013265 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* footer.twig */ class __TwigTemplate_08988c4f1a2e9b9dfcaad85a29eb4f30 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 echo " </div> "; } // line 4 if (( !($context["is_ajax"] ?? null) && !($context["is_minimal"] ?? null))) { // line 5 echo " "; if ( !twig_test_empty(($context["self_url"] ?? null))) { // line 6 echo " <div id=\"selflink\" class=\"d-print-none\"> <a href=\""; // line 7 echo twig_escape_filter($this->env, ($context["self_url"] ?? null), "html", null, true); echo "\" title=\""; echo _gettext("Open new phpMyAdmin window"); echo "\" target=\"_blank\" rel=\"noopener noreferrer\"> "; // line 8 if (PhpMyAdmin\Util::showIcons("TabsMode")) { // line 9 echo " "; echo PhpMyAdmin\Html\Generator::getImage("window-new", _gettext("Open new phpMyAdmin window")); echo " "; } else { // line 11 echo " "; echo _gettext("Open new phpMyAdmin window"); // line 12 echo " "; } // line 13 echo " </a> </div> "; } // line 16 echo " <div class=\"clearfloat d-print-none\" id=\"pma_errors\"> "; // line 18 echo ($context["error_messages"] ?? null); echo " </div> "; // line 21 echo ($context["scripts"] ?? null); echo " "; // line 23 if (($context["is_demo"] ?? null)) { // line 24 echo " <div id=\"pma_demo\" class=\"d-print-none\"> "; // line 25 ob_start(function () { return ''; }); // line 26 echo " <a href=\""; echo PhpMyAdmin\Url::getFromRoute("/"); echo "\">"; echo _gettext("phpMyAdmin Demo Server"); echo ":</a> "; // line 27 if ( !twig_test_empty(($context["git_revision_info"] ?? null))) { // line 28 echo " "; ob_start(function () { return ''; }); // line 29 echo "<a target=\"_blank\" rel=\"noopener noreferrer\" href=\""; echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL(twig_get_attribute($this->env, $this->source, ($context["git_revision_info"] ?? null), "revisionUrl", [], "any", false, false, false, 29)), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["git_revision_info"] ?? null), "revision", [], "any", false, false, false, 29), "html", null, true); echo "</a>"; $context["revision_info"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 31 echo " "; ob_start(function () { return ''; }); // line 32 echo "<a target=\"_blank\" rel=\"noopener noreferrer\" href=\""; echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL(twig_get_attribute($this->env, $this->source, ($context["git_revision_info"] ?? null), "branchUrl", [], "any", false, false, false, 32)), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["git_revision_info"] ?? null), "branch", [], "any", false, false, false, 32), "html", null, true); echo "</a>"; $context["branch_info"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 34 echo " "; echo twig_sprintf(_gettext("Currently running Git revision %1\$s from the %2\$s branch."), ($context["revision_info"] ?? null), ($context["branch_info"] ?? null)); echo " "; } else { // line 36 echo " "; echo _gettext("Git information missing!"); // line 37 echo " "; } // line 38 echo " "; $___internal_parse_34_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 25 echo $this->env->getFilter('notice')->getCallable()($___internal_parse_34_); // line 39 echo " </div> "; } // line 41 echo " "; // line 42 echo ($context["footer"] ?? null); echo " "; } // line 44 if ( !($context["is_ajax"] ?? null)) { // line 45 echo " </body> </html> "; } } public function getTemplateName() { return "footer.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 158 => 45, 156 => 44, 151 => 42, 148 => 41, 144 => 39, 142 => 25, 139 => 38, 136 => 37, 133 => 36, 127 => 34, 120 => 32, 117 => 31, 110 => 29, 107 => 28, 105 => 27, 98 => 26, 96 => 25, 93 => 24, 91 => 23, 86 => 21, 80 => 18, 76 => 16, 71 => 13, 68 => 12, 65 => 11, 59 => 9, 57 => 8, 51 => 7, 48 => 6, 45 => 5, 43 => 4, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "footer.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/footer.twig"); } } twig/33/33ed200de7b75d41e458270339f51d67.php 0000644 00000007417 15114741573 0012637 0 ustar 00 <?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/index_dialog_modal.twig */ class __TwigTemplate_246d99aad8476b8bfea05249b0f5f037 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=\"indexDialogModal\" tabindex=\"-1\" aria-labelledby=\"indexDialogModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"indexDialogModalLabel\">"; 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-primary\" id=\"indexDialogModalGoButton\">"; yield _gettext("Go"); // line 10 yield "</button> <button type=\"button\" class=\"btn btn-secondary\" data-bs-target=\"#indexDialogPreviewModal\" data-bs-toggle=\"modal\">"; yield _gettext("Preview SQL"); // line 11 yield "</button> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; yield _gettext("Close"); // line 12 yield "</button> </div> </div> </div> </div> <div class=\"modal fade\" id=\"indexDialogPreviewModal\" aria-hidden=\"true\" aria-labelledby=\"indexDialogPreviewModalLabel\" tabindex=\"-1\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"indexDialogPreviewModalLabel\">"; yield _gettext("Preview SQL"); // line 21 yield "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Close"); // line 22 yield "\"></button> </div> <div class=\"modal-body\"> <div class=\"spinner-border\" role=\"status\"> <span class=\"visually-hidden\">"; yield _gettext("Loading…"); // line 26 yield "</span> </div> </div> <div class=\"modal-footer\"> <button class=\"btn btn-primary\" data-bs-target=\"#indexDialogModal\" data-bs-toggle=\"modal\">"; yield _gettext("Go back"); // line 30 yield "</button> </div> </div> </div> </div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "modals/index_dialog_modal.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 94 => 30, 87 => 26, 80 => 22, 76 => 21, 64 => 12, 60 => 11, 56 => 10, 49 => 6, 45 => 5, 38 => 1,); } public function getSourceContext() { return new Source("", "modals/index_dialog_modal.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/index_dialog_modal.twig"); } } twig/33/33d2de88382f89a19296e520033068cd.php 0000644 00000010111 15114741573 0012551 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/insert/continue_insertion_form.twig */ class __TwigTemplate_792a41a41a6a9fd2f56b8011ad6349ba 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 echo "<form id=\"continueForm\" method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/table/replace"); echo "\" name=\"continueForm\"> "; // line 2 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"goto\" value=\""; // line 3 echo twig_escape_filter($this->env, ($context["goto"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" name=\"err_url\" value=\""; // line 4 echo twig_escape_filter($this->env, ($context["err_url"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" name=\"sql_query\" value=\""; // line 5 echo twig_escape_filter($this->env, ($context["sql_query"] ?? null), "html", null, true); echo "\"> "; // line 7 if (($context["has_where_clause"] ?? null)) { // line 8 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["where_clause_array"] ?? null)); foreach ($context['_seq'] as $context["key_id"] => $context["where_clause"]) { // line 9 echo " <input type=\"hidden\" name=\"where_clause["; echo twig_escape_filter($this->env, $context["key_id"], "html", null, true); echo "]\" value=\""; // line 10 echo twig_escape_filter($this->env, twig_trim_filter($context["where_clause"]), "html", null, true); echo "\"> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key_id'], $context['where_clause'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 12 echo " "; } // line 13 echo " "; // line 14 ob_start(function () { return ''; }); // line 15 echo " <input type=\"number\" name=\"insert_rows\" id=\"insert_rows\" value=\""; // line 16 echo twig_escape_filter($this->env, ($context["insert_rows_default"] ?? null), "html", null, true); echo "\" min=\"1\"> "; $context["insert_rows"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 18 echo " "; echo twig_sprintf(_gettext("Continue insertion with %s rows"), ($context["insert_rows"] ?? null)); echo " </form> "; } public function getTemplateName() { return "table/insert/continue_insertion_form.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 93 => 18, 88 => 16, 86 => 15, 84 => 14, 81 => 13, 78 => 12, 70 => 10, 66 => 9, 61 => 8, 59 => 7, 54 => 5, 50 => 4, 46 => 3, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "table/insert/continue_insertion_form.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/continue_insertion_form.twig"); } } twig/af/af21d6d93ec1312843e3523d45313517.php 0000644 00000034500 15114741573 0012673 0 ustar 00 <?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_8be35665cc910806eb8fa87a5ef00ecb 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/console/display.twig"); } } twig/af/afbe484554aa323256feb48e1be8d735.php 0000644 00000042343 15114741573 0013276 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/multi_table_query/form.twig */ class __TwigTemplate_e4a4812e9a760c7ea94fb55329b737fb 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 echo "<ul class=\"nav nav-pills m-2\"> <li class=\"nav-item\"> <a class=\"nav-link active\" href=\""; // line 3 echo PhpMyAdmin\Url::getFromRoute("/database/multi-table-query", ["db" => ($context["db"] ?? null)]); echo "\"> "; echo _gettext("Multi-table query"); // line 5 echo " </a> </li> <li class=\"nav-item\"> <a class=\"nav-link\" href=\""; // line 9 echo PhpMyAdmin\Url::getFromRoute("/database/qbe", ["db" => ($context["db"] ?? null)]); echo "\"> "; echo _gettext("Query by example"); // line 11 echo " </a> </li> </ul> <div class=\"mb-3\"> <button class=\"btn btn-sm btn-secondary\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#queryWindow\" aria-expanded=\"true\" aria-controls=\"queryWindow\"> "; echo _gettext("Query window"); // line 18 echo " </button> </div> <div class=\"collapse show mb-3\" id=\"queryWindow\"> <form action=\"\" id=\"multi_table_query_form\" class=\"multi_table_query_form query_form\"> <input type=\"hidden\" id=\"db_name\" value=\""; // line 23 echo twig_escape_filter($this->env, ($context["db"] ?? null), "html", null, true); echo "\"> <fieldset class=\"pma-fieldset\"> "; // line 25 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["tables"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["table"]) { // line 26 echo " <div class=\"d-none\" id=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["table"], "hash", [], "any", false, false, false, 26), "html", null, true); echo "\"> <option value=\"*\">*</option> "; // line 28 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["table"], "columns", [], "any", false, false, false, 28)); foreach ($context['_seq'] as $context["_key"] => $context["column"]) { // line 29 echo " <option value=\""; echo twig_escape_filter($this->env, $context["column"], "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $context["column"], "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 31 echo " </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['table'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 33 echo " "; // line 34 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(range(0, ($context["default_no_of_columns"] ?? null))); foreach ($context['_seq'] as $context["_key"] => $context["id"]) { // line 35 echo " "; if (($context["id"] == 0)) { echo "<div class=\"d-none\" id=\"new_column_layout\">"; } // line 36 echo " <fieldset class=\"pma-fieldset column_details query-form__fieldset--inline position-relative\"> <select class=\"tableNameSelect query-form__select--inline\"> <option value=\"\">"; echo _gettext("select table"); // line 38 echo "</option> "; // line 39 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["tables"] ?? null)); foreach ($context['_seq'] as $context["keyTableName"] => $context["table"]) { // line 40 echo " <option data-hash=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["table"], "hash", [], "any", false, false, false, 40), "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, $context["keyTableName"], "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $context["keyTableName"], "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['keyTableName'], $context['table'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 42 echo " </select> <span>.</span> <select class=\"columnNameSelect query-form__select--inline\"> <option value=\"\">"; echo _gettext("select column"); // line 45 echo "</option> </select> <br> <input type=\"checkbox\" checked=\"checked\" class=\"show_col\"> <span>"; echo _gettext("Show"); // line 49 echo "</span> <br> <input type=\"text\" placeholder=\""; echo _gettext("Table alias"); // line 51 echo "\" class=\"table_alias\"> <input type=\"text\" placeholder=\""; echo _gettext("Column alias"); // line 52 echo "\" class=\"col_alias\"> <br> <input type=\"checkbox\" title=\""; echo _gettext("Use this column in criteria"); // line 55 echo "\" class=\"criteria_col\"> <button class=\"btn btn-link p-0 jsCriteriaButton\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#criteriaOptions"; // line 58 echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "\" aria-expanded=\"false\" aria-controls=\"criteriaOptions"; echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "\"> "; echo _gettext("criteria"); // line 60 echo " </button> <div class=\"collapse jsCriteriaOptions\" id=\"criteriaOptions"; // line 61 echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "\"> <div> <table class=\"table table-sm table-borderless align-middle w-auto\"> <tr class=\"sort_order query-form__tr--bg-none\"> <td>"; echo _gettext("Sort"); // line 67 echo "</td> <td><input type=\"radio\" name=\"sort["; // line 68 echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "]\">"; echo _gettext("Ascending"); echo "</td> <td><input type=\"radio\" name=\"sort["; // line 69 echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "]\">"; echo _gettext("Descending"); echo "</td> </tr> <tr class=\"logical_operator query-form__tr--bg-none query-form__tr--hide\"> <td>"; echo _gettext("Add as"); // line 73 echo "</td> <td> <input type=\"radio\" name=\"logical_op["; // line 76 echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "]\" value=\"AND\" class=\"logical_op\" checked=\"checked\"> AND </td> <td> <input type=\"radio\" name=\"logical_op["; // line 84 echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "]\" value=\"OR\" class=\"logical_op\"> OR </td> </tr> <tr class=\"query-form__tr--bg-none\"> <td>Op </td> <td> <select class=\"criteria_op\"> <option value=\"=\">=</option> <option value=\">\">></option> <option value=\">=\">>=</option> <option value=\"<\"><</option> <option value=\"<=\"><=</option> <option value=\"!=\">!=</option> <option value=\"LIKE\">LIKE</option> <option value=\"LIKE %...%\">LIKE %...%</option> <option value=\"NOT LIKE\">NOT LIKE</option> <option value=\"NOT LIKE %...%\">NOT LIKE %...%</option> <option value=\"IN (...)\">IN (...)</option> <option value=\"NOT IN (...)\">NOT IN (...)</option> <option value=\"BETWEEN\">BETWEEN</option> <option value=\"NOT BETWEEN\">NOT BETWEEN</option> <option value=\"IS NULL\">IS NULL</option> <option value=\"IS NOT NULL\">IS NOT NULL</option> <option value=\"REGEXP\">REGEXP</option> <option value=\"REGEXP ^...\$\">REGEXP ^...\$</option> <option value=\"NOT REGEXP\">NOT REGEXP</option> </select> </td> <td> <select class=\"criteria_rhs\"> <option value=\"text\">"; echo _gettext("Text"); // line 118 echo "</option> <option value=\"anotherColumn\">"; echo _gettext("Another column"); // line 119 echo "</option> </select> </td> </tr> <tr class=\"rhs_table query-form__tr--hide query-form__tr--bg-none\"> <td></td> <td> <select class=\"tableNameSelect\"> <option value=\"\">"; echo _gettext("select table"); // line 128 echo "</option> "; // line 129 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["tables"] ?? null)); foreach ($context['_seq'] as $context["keyTableName"] => $context["table"]) { // line 130 echo " <option data-hash=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["table"], "hash", [], "any", false, false, false, 130), "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, $context["keyTableName"], "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $context["keyTableName"], "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['keyTableName'], $context['table'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 132 echo " </select><span>.</span> </td> <td> <select class=\"columnNameSelect query-form__select--inline\"> <option value=\"\">"; echo _gettext("select column"); // line 136 echo "</option> </select> </td> </tr> <tr class=\"rhs_text query-form__tr--bg-none\"> <td></td> <td colspan=\"2\"> <input type=\"text\" class=\"rhs_text_val query-form__input--wide\" placeholder=\""; echo _gettext("Enter criteria as free text"); // line 146 echo "\"> </td> </tr> </table> </div> </div> <button type=\"button\" class=\"btn-close position-absolute top-0 end-0 jsRemoveColumn\" aria-label=\""; echo _gettext("Remove this column"); // line 153 echo "\"></button> </fieldset> "; // line 155 if (($context["id"] == 0)) { echo "</div>"; } // line 156 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['id'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 157 echo " <fieldset class=\"pma-fieldset query-form__fieldset--inline\"> <input class=\"btn btn-secondary\" type=\"button\" value=\""; echo _gettext("+ Add column"); // line 159 echo "\" id=\"add_column_button\"> </fieldset> <fieldset class=\"pma-fieldset\"> "; // line 164 echo " <textarea id=\"MultiSqlquery\" class=\"query-form__multi-sql-query\" cols=\"80\" rows=\"4\" name=\"sql_query\" dir=\"ltr\"></textarea> </fieldset> </fieldset> <fieldset class=\"pma-fieldset tblFooters\"> <input class=\"btn btn-secondary\" type=\"button\" id=\"update_query_button\" value=\""; echo _gettext("Update query"); // line 174 echo "\"> <input class=\"btn btn-primary\" type=\"button\" id=\"submit_query\" value=\""; echo _gettext("Submit query"); // line 175 echo "\"> </fieldset> </form> </div> <div id=\"sql_results\"></div> "; } public function getTemplateName() { return "database/multi_table_query/form.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 381 => 175, 377 => 174, 364 => 164, 358 => 159, 353 => 157, 347 => 156, 343 => 155, 339 => 153, 329 => 146, 316 => 136, 309 => 132, 296 => 130, 292 => 129, 289 => 128, 277 => 119, 273 => 118, 235 => 84, 224 => 76, 219 => 73, 209 => 69, 203 => 68, 200 => 67, 190 => 61, 187 => 60, 180 => 58, 175 => 55, 169 => 52, 165 => 51, 160 => 49, 153 => 45, 147 => 42, 134 => 40, 130 => 39, 127 => 38, 122 => 36, 117 => 35, 113 => 34, 110 => 33, 103 => 31, 92 => 29, 88 => 28, 82 => 26, 78 => 25, 73 => 23, 66 => 18, 57 => 11, 52 => 9, 46 => 5, 41 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "database/multi_table_query/form.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/multi_table_query/form.twig"); } } twig/e5/e5d842adee5497e7d0b20be9ec56df0a.php 0000644 00000003504 15114741573 0013437 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/null_display.twig */ class __TwigTemplate_46a95cb20186d4b6303af153a8e79cd2 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 echo "<td data-decimals=\""; echo twig_escape_filter($this->env, ($context["data_decimals"] ?? null), "html", null, true); echo "\" data-type=\""; // line 2 echo twig_escape_filter($this->env, ($context["data_type"] ?? null), "html", null, true); echo "\" "; // line 4 echo " class=\""; echo twig_escape_filter($this->env, ($context["classes"] ?? null), "html", null, true); echo " null\"> <em>NULL</em> </td> "; } public function getTemplateName() { return "display/results/null_display.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 46 => 4, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/null_display.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/null_display.twig"); } } twig/5a/5a985162035ca6b2097e9e4cd31adb71.php 0000644 00000030662 15114741573 0013046 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* import/javascript.twig */ class __TwigTemplate_d2f69ca8592f3c0d5d81de73c4baf727 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 echo "\$( function() { "; // line 3 echo " \$(\"#buttonGo\").on(\"click\", function() { "; // line 5 echo " \$(\"#upload_form_form\").css(\"display\", \"none\"); "; // line 7 if ((($context["handler"] ?? null) != "PhpMyAdmin\\Plugins\\Import\\Upload\\UploadNoplugin")) { // line 8 echo " "; // line 9 echo " "; $context["ajax_url"] = (("index.php?route=/import-status&id=" . ($context["upload_id"] ?? null)) . PhpMyAdmin\Url::getCommonRaw(["import_status" => 1], "&")); // line 12 echo " "; $context["promot_str"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("The file being uploaded is probably larger than the maximum allowed size or this is a known bug in webkit based (Safari, Google Chrome, Arora etc.) browsers."), false); // line 13 echo " "; $context["statustext_str"] = PhpMyAdmin\Sanitize::escapeJsString(_gettext("%s of %s")); // line 14 echo " "; $context["second_str"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("%s/sec."), false); // line 15 echo " "; $context["remaining_min"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("About %MIN min. %SEC sec. remaining."), false); // line 16 echo " "; $context["remaining_second"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("About %SEC sec. remaining."), false); // line 17 echo " "; $context["processed_str"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("The file is being processed, please be patient."), false); // line 18 echo " "; $context["import_url"] = PhpMyAdmin\Url::getCommonRaw(["import_status" => 1], "&"); // line 19 echo " "; // line 20 ob_start(function () { return ''; }); // line 21 echo " <div class=\"upload_progress\"> <div class=\"upload_progress_bar_outer\"> <div class=\"percentage\"></div> <div id=\"status\" class=\"upload_progress_bar_inner\"> <div class=\"percentage\"></div> </div> </div> <div> <img src=\""; // line 29 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true); echo "\" width=\"16\" height=\"16\" alt=\"ajax clock\"> "; echo PhpMyAdmin\Sanitize::jsFormat(_gettext("Uploading your import file…"), false); // line 30 echo "</div> <div id=\"statustext\"></div> </div> "; $context["upload_html"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 34 echo " "; // line 36 echo " var finished = false; var percent = 0.0; var total = 0; var complete = 0; var original_title = parent && parent.document ? parent.document.title : false; var import_start; var perform_upload = function () { new \$.getJSON( \""; // line 45 echo ($context["ajax_url"] ?? null); echo "\", {}, function(response) { finished = response.finished; percent = response.percent; total = response.total; complete = response.complete; if (total==0 && complete==0 && percent==0) { \$(\"#upload_form_status_info\").html('<img src=\""; // line 54 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true); echo "\" width=\"16\" height=\"16\" alt=\"ajax clock\"> "; echo ($context["promot_str"] ?? null); echo "'); \$(\"#upload_form_status\").css(\"display\", \"none\"); } else { var now = new Date(); now = Date.UTC( now.getFullYear(), now.getMonth(), now.getDate(), now.getHours(), now.getMinutes(), now.getSeconds()) + now.getMilliseconds() - 1000; var statustext = Functions.sprintf( \""; // line 67 echo ($context["statustext_str"] ?? null); echo "\", Functions.formatBytes( complete, 1, Messages.strDecimalSeparator ), Functions.formatBytes( total, 1, Messages.strDecimalSeparator ) ); if (\$(\"#importmain\").is(\":visible\")) { "; // line 78 echo " \$(\"#importmain\").hide(); \$(\"#import_form_status\") .html('"; // line 80 echo twig_spaceless(($context["upload_html"] ?? null)); echo "') .show(); import_start = now; } else if (percent > 9 || complete > 2000000) { "; // line 86 echo " var used_time = now - import_start; var seconds = parseInt(((total - complete) / complete) * used_time / 1000); var speed = Functions.sprintf( \""; // line 89 echo ($context["second_str"] ?? null); echo "\", Functions.formatBytes(complete / used_time * 1000, 1, Messages.strDecimalSeparator) ); var minutes = parseInt(seconds / 60); seconds %= 60; var estimated_time; if (minutes > 0) { estimated_time = \""; // line 97 echo ($context["remaining_min"] ?? null); echo "\" .replace(\"%MIN\", minutes) .replace(\"%SEC\", seconds); } else { estimated_time = \""; // line 102 echo ($context["remaining_second"] ?? null); echo "\" .replace(\"%SEC\", seconds); } statustext += \"<br>\" + speed + \"<br><br>\" + estimated_time; } var percent_str = Math.round(percent) + \"%\"; \$(\"#status\").animate({width: percent_str}, 150); \$(\".percentage\").text(percent_str); "; // line 114 echo " if (original_title !== false) { parent.document.title = percent_str + \" - \" + original_title; } else { document.title = percent_str + \" - \" + original_title; } \$(\"#statustext\").html(statustext); } if (finished == true) { if (original_title !== false) { parent.document.title = original_title; } else { document.title = original_title; } \$(\"#importmain\").hide(); "; // line 134 echo " \$(\"#import_form_status\") .html('<img src=\""; // line 135 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true); echo "\" width=\"16\" height=\"16\" alt=\"ajax clock\"> "; echo ($context["processed_str"] ?? null); echo "') .show(); \$(\"#import_form_status\").load(\"index.php?route=/import-status&message=true&"; // line 137 echo ($context["import_url"] ?? null); echo "\"); Navigation.reload(); "; // line 141 echo " } else { setTimeout(perform_upload, 1000); } }); }; setTimeout(perform_upload, 1000); "; } else { // line 149 echo " "; // line 150 echo " "; ob_start(function () { return ''; }); // line 151 echo "<img src=\""; echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true); echo "\" width=\"16\" height=\"16\" alt=\"ajax clock\">"; // line 152 echo PhpMyAdmin\Sanitize::jsFormat(_gettext("Please be patient, the file is being uploaded. Details about the upload are not available."), false); // line 153 echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq2-9"); $context["image_tag"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 155 echo " \$('#upload_form_status_info').html('"; echo ($context["image_tag"] ?? null); echo "'); \$(\"#upload_form_status\").css(\"display\", \"none\"); "; } // line 158 echo " }); }); "; } public function getTemplateName() { return "import/javascript.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 275 => 158, 268 => 155, 265 => 153, 263 => 152, 259 => 151, 256 => 150, 254 => 149, 244 => 141, 238 => 137, 231 => 135, 228 => 134, 207 => 114, 193 => 102, 185 => 97, 174 => 89, 169 => 86, 161 => 80, 157 => 78, 144 => 67, 126 => 54, 114 => 45, 103 => 36, 100 => 34, 94 => 30, 90 => 29, 80 => 21, 78 => 20, 75 => 19, 72 => 18, 69 => 17, 66 => 16, 63 => 15, 60 => 14, 57 => 13, 54 => 12, 51 => 9, 49 => 8, 47 => 7, 43 => 5, 40 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "import/javascript.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/import/javascript.twig"); } } twig/9c/9cf9faa1525302a30ca590c603216827.php 0000644 00000005053 15114741573 0012675 0 ustar 00 <?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/enum_column_dropdown.twig */ class __TwigTemplate_8cd065190471f6ade0c8a24111c63cf7 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 "<select> "; // line 2 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["values"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["value"]) { // line 3 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["value"], "html", null, true); yield "\""; yield ((CoreExtension::inFilter($context["value"], ($context["selected_values"] ?? null))) ? (" selected") : ("")); yield ">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["value"], "html", null, true); yield "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 5 yield "</select> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "sql/enum_column_dropdown.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 58 => 5, 45 => 3, 41 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "sql/enum_column_dropdown.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/sql/enum_column_dropdown.twig"); } } twig/cf/cf151a987d451dbed37630dfabb6c91d.php 0000644 00000010111 15114741573 0013417 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/insert/continue_insertion_form.twig */ class __TwigTemplate_904307a5a5f694a38d058a83a4fa8120 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 echo "<form id=\"continueForm\" method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/table/replace"); echo "\" name=\"continueForm\"> "; // line 2 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"goto\" value=\""; // line 3 echo twig_escape_filter($this->env, ($context["goto"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" name=\"err_url\" value=\""; // line 4 echo twig_escape_filter($this->env, ($context["err_url"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" name=\"sql_query\" value=\""; // line 5 echo twig_escape_filter($this->env, ($context["sql_query"] ?? null), "html", null, true); echo "\"> "; // line 7 if (($context["has_where_clause"] ?? null)) { // line 8 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["where_clause_array"] ?? null)); foreach ($context['_seq'] as $context["key_id"] => $context["where_clause"]) { // line 9 echo " <input type=\"hidden\" name=\"where_clause["; echo twig_escape_filter($this->env, $context["key_id"], "html", null, true); echo "]\" value=\""; // line 10 echo twig_escape_filter($this->env, twig_trim_filter($context["where_clause"]), "html", null, true); echo "\"> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key_id'], $context['where_clause'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 12 echo " "; } // line 13 echo " "; // line 14 ob_start(function () { return ''; }); // line 15 echo " <input type=\"number\" name=\"insert_rows\" id=\"insert_rows\" value=\""; // line 16 echo twig_escape_filter($this->env, ($context["insert_rows_default"] ?? null), "html", null, true); echo "\" min=\"1\"> "; $context["insert_rows"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 18 echo " "; echo twig_sprintf(_gettext("Continue insertion with %s rows"), ($context["insert_rows"] ?? null)); echo " </form> "; } public function getTemplateName() { return "table/insert/continue_insertion_form.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 93 => 18, 88 => 16, 86 => 15, 84 => 14, 81 => 13, 78 => 12, 70 => 10, 66 => 9, 61 => 8, 59 => 7, 54 => 5, 50 => 4, 46 => 3, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "table/insert/continue_insertion_form.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/continue_insertion_form.twig"); } } twig/56/56f24d4e74f759303f4a8aa0d10081a1.php 0000644 00000010227 15114741573 0012677 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* top_menu.twig */ class __TwigTemplate_de626ffd8a207ff8c4228c6b23e10ca3 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 echo "<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 echo _gettext("Toggle navigation"); // line 4 echo "\" aria-controls=\"navbarNav\" aria-expanded=\"false\"> <span class=\"navbar-toggler-icon\"></span> </button> <div class=\"collapse navbar-collapse\" id=\"navbarNav\"> <ul id=\"topmenu\" class=\"navbar-nav\"> "; // line 9 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["tabs"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["tab"]) { // line 10 echo " <li class=\"nav-item"; echo ((twig_get_attribute($this->env, $this->source, $context["tab"], "active", [], "any", false, false, false, 10)) ? (" active") : ("")); echo "\"> <a class=\"nav-link text-nowrap\" href=\""; // line 11 echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, $context["tab"], "route", [], "any", false, false, false, 11), twig_array_merge(($context["url_params"] ?? null), (((twig_get_attribute($this->env, $this->source, $context["tab"], "args", [], "any", true, true, false, 11) && !(null === twig_get_attribute($this->env, $this->source, $context["tab"], "args", [], "any", false, false, false, 11)))) ? (twig_get_attribute($this->env, $this->source, $context["tab"], "args", [], "any", false, false, false, 11)) : ([])))); echo "\"> "; // line 12 echo PhpMyAdmin\Html\Generator::getIcon(twig_get_attribute($this->env, $this->source, $context["tab"], "icon", [], "any", false, false, false, 12), twig_get_attribute($this->env, $this->source, $context["tab"], "text", [], "any", false, false, false, 12), false, true, "TabsMode"); echo " "; // line 13 if (twig_get_attribute($this->env, $this->source, $context["tab"], "active", [], "any", false, false, false, 13)) { // line 14 echo " <span class=\"visually-hidden\">"; // l10n: Current page echo _gettext("(current)"); echo "</span> "; } // line 16 echo " </a> </li> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tab'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 19 echo " </ul> </div> </nav> </div> "; } public function getTemplateName() { return "top_menu.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 84 => 19, 76 => 16, 69 => 14, 67 => 13, 63 => 12, 59 => 11, 54 => 10, 50 => 9, 43 => 4, 37 => 1,); } public function getSourceContext() { return new Source("", "top_menu.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/top_menu.twig"); } } twig/56/56bece8e5eb4bb45c7e35ee60a186382.php 0000644 00000006421 15114741573 0013223 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* console/toolbar.twig */ class __TwigTemplate_a9923f986736199124180a1a38ceb43c 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 echo "<div class=\"toolbar "; echo twig_escape_filter($this->env, ($context["parent_div_classes"] ?? null), "html", null, true); echo "\"> "; // line 2 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["content_array"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["content"]) { // line 3 echo " "; if ((array_key_exists("content", $context) && !(null === $context["content"]))) { // line 4 echo " <div class=\""; echo twig_escape_filter($this->env, (($__internal_compile_0 = $context["content"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true); echo "\"> "; // line 5 echo ((twig_get_attribute($this->env, $this->source, $context["content"], "image", [], "array", true, true, false, 5)) ? ((($__internal_compile_1 = $context["content"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["image"] ?? null) : null)) : ("")); echo " <span>"; // line 6 echo twig_escape_filter($this->env, (($__internal_compile_2 = $context["content"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[1] ?? null) : null), "html", null, true); echo "</span> </div> "; } // line 9 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 10 echo "</div> "; } public function getTemplateName() { return "console/toolbar.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 70 => 10, 64 => 9, 58 => 6, 54 => 5, 49 => 4, 46 => 3, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "console/toolbar.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/console/toolbar.twig"); } } twig/56/5652523386c87d628c68c83e0d5ccd53.php 0000644 00000037143 15114741573 0012662 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* navigation/tree/node.twig */ class __TwigTemplate_b9f68f4f66984ce7f7337b97daba0816 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 echo " <li class=\""; echo twig_escape_filter($this->env, ($context["li_classes"] ?? null), "html", null, true); echo "\"> <div class=\"block\"> <i"; // line 4 echo (((($context["class"] ?? null) == "first")) ? (" class=\"first\"") : ("")); echo "></i> "; // line 5 if (($context["node_is_group"] ?? null)) { // line 6 echo " "; echo ((!twig_in_filter("last", ($context["class"] ?? null))) ? ("<b></b>") : ("")); echo " <a class=\""; // line 7 echo twig_escape_filter($this->env, ($context["link_classes"] ?? null), "html", null, true); echo "\" href=\"#\"> <span class=\"hide paths_nav\" data-apath=\""; // line 8 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["paths"] ?? null), "a_path", [], "any", false, false, false, 8), "html", null, true); echo "\" data-vpath=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["paths"] ?? null), "v_path", [], "any", false, false, false, 8), "html", null, true); echo "\" data-pos=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["paths"] ?? null), "pos", [], "any", false, false, false, 8), "html", null, true); echo "\"></span> "; // line 9 if ( !twig_test_empty(($context["pagination_params"] ?? null))) { // line 10 echo " <span class=\"hide "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "position", [], "any", false, false, false, 10), "html", null, true); echo "\" data-name=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_name", [], "any", false, false, false, 10), "html", null, true); echo "\" data-value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_value", [], "any", false, false, false, 10), "html", null, true); echo "\"></span> "; } // line 12 echo " "; echo ($context["node_icon"] ?? null); echo " </a> "; } elseif ( !twig_test_empty( // line 14 ($context["pagination_params"] ?? null))) { // line 15 echo " <span class=\"hide "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "position", [], "any", false, false, false, 15), "html", null, true); echo "\" data-name=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_name", [], "any", false, false, false, 15), "html", null, true); echo "\" data-value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_value", [], "any", false, false, false, 15), "html", null, true); echo "\"></span> "; } // line 17 echo " </div> "; // line 18 if (($context["node_is_container"] ?? null)) { // line 19 echo " <div class=\"fst-italic\"> "; } // line 21 echo " "; // line 22 if (twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "isGroup", [], "any", false, false, false, 22)) { // line 23 echo " <div class=\"block second"; echo ((($context["has_second_icon"] ?? null)) ? (" double") : ("")); echo "\"> <u>"; // line 24 echo PhpMyAdmin\Html\Generator::getImage((($__internal_compile_0 = twig_get_attribute($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 = twig_get_attribute($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)); echo "</u> </div> "; // line 26 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "name", [], "any", false, false, false, 26), "html", null, true); echo " "; } else { // line 28 echo " <div class=\"block second"; echo ((($context["has_second_icon"] ?? null)) ? (" double") : ("")); echo "\"> "; // line 29 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["icon_links"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["link"]) { // line 30 echo " <a href=\""; echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, $context["link"], "route", [], "any", false, false, false, 30), twig_get_attribute($this->env, $this->source, $context["link"], "params", [], "any", false, false, false, 30)); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["link"], "is_ajax", [], "any", false, false, false, 30)) ? (" class=\"ajax\"") : ("")); echo ">"; // line 31 echo PhpMyAdmin\Html\Generator::getImage(twig_get_attribute($this->env, $this->source, $context["link"], "image", [], "any", false, false, false, 31), twig_get_attribute($this->env, $this->source, $context["link"], "title", [], "any", false, false, false, 31)); // line 32 echo "</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 echo " </div> "; // line 36 if (($context["node_is_container"] ?? null)) { // line 37 echo " <a class=\"hover_show_full\" href=\""; echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "route", [], "any", false, false, false, 37), twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "params", [], "any", false, false, false, 37)); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "name", [], "any", false, false, false, 37), "html", null, true); echo "</a> "; } elseif (twig_in_filter("index", twig_get_attribute($this->env, $this->source, // line 38 ($context["node"] ?? null), "classes", [], "any", false, false, false, 38))) { // line 39 echo " <a class=\"hover_show_full\" href=\""; echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "route", [], "any", false, false, false, 39)); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_merge(twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "params", [], "any", false, false, false, 39), ["is_from_nav" => true])); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "title", [], "any", false, false, false, 39), "html", null, true); echo "\">"; // line 40 echo twig_escape_filter($this->env, (((twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", true, true, false, 40) && !(null === twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", false, false, false, 40)))) ? (twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", false, false, false, 40)) : (twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "realName", [], "any", false, false, false, 40))), "html", null, true); // line 41 echo "</a> "; } else { // line 43 echo " <a class=\"hover_show_full"; echo ((twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "is_ajax", [], "any", false, false, false, 43)) ? (" ajax") : ("")); echo "\" href=\""; echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "route", [], "any", false, false, false, 43), twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "params", [], "any", false, false, false, 43)); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "title", [], "any", false, false, false, 43), "html", null, true); echo "\">"; // line 44 echo twig_escape_filter($this->env, (((twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", true, true, false, 44) && !(null === twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", false, false, false, 44)))) ? (twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", false, false, false, 44)) : (twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "realName", [], "any", false, false, false, 44))), "html", null, true); // line 45 echo "</a> "; } // line 47 echo " "; } // line 48 echo " "; // line 49 echo ($context["control_buttons"] ?? null); echo " "; // line 51 if (($context["node_is_container"] ?? null)) { // line 52 echo " </div> "; } // line 54 echo " <div class=\"clearfloat\"></div> "; } elseif ( !twig_test_empty( // line 56 ($context["pagination_params"] ?? null))) { // line 57 echo " <span class=\"hide "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "position", [], "any", false, false, false, 57), "html", null, true); echo "\" data-name=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_name", [], "any", false, false, false, 57), "html", null, true); echo "\" data-value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_value", [], "any", false, false, false, 57), "html", null, true); echo "\"></span> "; } // line 59 echo " "; // line 60 if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "html", [], "any", false, false, false, 60)) && twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "has_wrapper", [], "any", false, false, false, 60))) { // line 61 echo " <div class=\"list_container\""; echo ((twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "is_hidden", [], "any", false, false, false, 61)) ? (" style=\"display: none;\"") : ("")); echo "> <ul> "; } // line 64 echo twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "html", [], "any", false, false, false, 64); echo " "; // line 65 if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "html", [], "any", false, false, false, 65)) && twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "has_wrapper", [], "any", false, false, false, 65))) { // line 66 echo " </ul> </div> "; } // line 69 echo " "; // line 70 if (($context["has_siblings"] ?? null)) { // line 71 echo " </li> "; } } public function getTemplateName() { return "navigation/tree/node.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 255 => 71, 253 => 70, 250 => 69, 245 => 66, 243 => 65, 239 => 64, 232 => 61, 230 => 60, 227 => 59, 217 => 57, 215 => 56, 211 => 54, 207 => 52, 205 => 51, 200 => 49, 197 => 48, 194 => 47, 190 => 45, 188 => 44, 180 => 43, 176 => 41, 174 => 40, 166 => 39, 164 => 38, 157 => 37, 155 => 36, 151 => 34, 144 => 32, 142 => 31, 136 => 30, 132 => 29, 127 => 28, 122 => 26, 117 => 24, 112 => 23, 110 => 22, 107 => 21, 103 => 19, 101 => 18, 98 => 17, 88 => 15, 86 => 14, 80 => 12, 70 => 10, 68 => 9, 60 => 8, 56 => 7, 51 => 6, 49 => 5, 45 => 4, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "navigation/tree/node.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/node.twig"); } } twig/ba/ba8b3e3e803ac5500d0ae984e36e35f1.php 0000644 00000003322 15114741573 0013247 0 ustar 00 <?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_894e759e12d72bdcf3d1438db64ea6af 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/message.twig"); } } twig/ba/ba5134f9075072581872ad0aacda670d.php 0000644 00000004507 15114741573 0013111 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/favorite_anchor.twig */ class __TwigTemplate_31c8f23c722c699df5d9ea98ac4576e5 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 echo "<a id=\""; echo twig_escape_filter($this->env, ($context["table_name_hash"] ?? null), "html", null, true); echo "_favorite_anchor\" class=\"ajax favorite_table_anchor\" href=\""; // line 3 echo PhpMyAdmin\Url::getFromRoute("/database/structure/favorite-table", ($context["fav_params"] ?? null)); echo "\" title=\""; // line 4 echo twig_escape_filter($this->env, ((($context["already_favorite"] ?? null)) ? (_gettext("Remove from Favorites")) : (_gettext("Add to Favorites"))), "html", null, true); echo "\" data-favtargets=\""; // line 5 echo twig_escape_filter($this->env, ($context["db_table_name_hash"] ?? null), "html", null, true); echo "\"> "; // line 6 echo ((($context["already_favorite"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_favorite")) : (PhpMyAdmin\Html\Generator::getIcon("b_no_favorite"))); echo " </a> "; } public function getTemplateName() { return "database/structure/favorite_anchor.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 55 => 6, 51 => 5, 47 => 4, 43 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/favorite_anchor.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/favorite_anchor.twig"); } } twig/2b/2b07607b976776cfb6425dca01607093.php 0000644 00000062725 15114741573 0012637 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/structure/display_partitions.twig */ class __TwigTemplate_8e1846a07d1731e6a54b76c8ebb02776 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 echo "<div id=\"partitions\"> <fieldset class=\"pma-fieldset\"> <legend> "; echo _gettext("Partitions"); // line 5 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("partitioning"); echo " </legend> "; // line 7 if (twig_test_empty(($context["partitions"] ?? null))) { // line 8 echo " "; echo $this->env->getFilter('notice')->getCallable()(_gettext("No partitioning defined!")); echo " "; } else { // line 10 echo " <p> "; echo _gettext("Partitioned by:"); // line 12 echo " <code>"; echo twig_escape_filter($this->env, ($context["partition_method"] ?? null), "html", null, true); echo "("; echo twig_escape_filter($this->env, ($context["partition_expression"] ?? null), "html", null, true); echo ")</code> </p> "; // line 14 if (($context["has_sub_partitions"] ?? null)) { // line 15 echo " <p> "; echo _gettext("Sub partitioned by:"); // line 17 echo " <code>"; echo twig_escape_filter($this->env, ($context["sub_partition_method"] ?? null), "html", null, true); echo "("; echo twig_escape_filter($this->env, ($context["sub_partition_expression"] ?? null), "html", null, true); echo ")</code> <p> "; } // line 20 echo " <table class=\"table table-striped table-hover table-sm\"> <thead> <tr> <th colspan=\"2\">#</th> <th>"; echo _gettext("Partition"); // line 24 echo "</th> "; // line 25 if (($context["has_description"] ?? null)) { // line 26 echo " <th>"; echo _gettext("Expression"); echo "</th> "; } // line 28 echo " <th>"; echo _gettext("Rows"); echo "</th> <th>"; echo _gettext("Data length"); // line 29 echo "</th> <th>"; echo _gettext("Index length"); // line 30 echo "</th> <th>"; echo _gettext("Comment"); // line 31 echo "</th> <th colspan=\""; // line 32 echo ((($context["range_or_list"] ?? null)) ? ("7") : ("6")); echo "\"> "; echo _gettext("Action"); // line 34 echo " </th> </tr> </thead> <tbody> "; // line 38 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["partitions"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["partition"]) { // line 39 echo " <tr class=\"noclick"; echo ((($context["has_sub_partitions"] ?? null)) ? (" table-active") : ("")); echo "\"> "; // line 40 if (($context["has_sub_partitions"] ?? null)) { // line 41 echo " <td>"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getOrdinal", [], "method", false, false, false, 41), "html", null, true); echo "</td> <td></td> "; } else { // line 44 echo " <td colspan=\"2\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getOrdinal", [], "method", false, false, false, 44), "html", null, true); echo "</td> "; } // line 46 echo " <th>"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getName", [], "method", false, false, false, 46), "html", null, true); echo "</th> "; // line 47 if (($context["has_description"] ?? null)) { // line 48 echo " <td> <code>"; // line 50 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getExpression", [], "method", false, false, false, 50), "html", null, true); // line 51 echo (((twig_get_attribute($this->env, $this->source, $context["partition"], "getMethod", [], "method", false, false, false, 51) == "LIST")) ? (" IN (") : (" < ")); // line 52 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getDescription", [], "method", false, false, false, 52), "html", null, true); // line 53 echo (((twig_get_attribute($this->env, $this->source, $context["partition"], "getMethod", [], "method", false, false, false, 53) == "LIST")) ? (")") : ("")); // line 54 echo "</code> </td> "; } // line 57 echo " <td class=\"value\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getRows", [], "method", false, false, false, 57), "html", null, true); echo "</td> <td class=\"value\"> "; // line 59 $context["data_length"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, // line 60 $context["partition"], "getDataLength", [], "method", false, false, false, 60), 3, 1); // line 64 echo " <span>"; echo twig_escape_filter($this->env, (($__internal_compile_0 = ($context["data_length"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true); echo "</span> <span class=\"unit\">"; // line 65 echo twig_escape_filter($this->env, (($__internal_compile_1 = ($context["data_length"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null), "html", null, true); echo "</span> </td> <td class=\"value\"> "; // line 68 $context["index_length"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, // line 69 $context["partition"], "getIndexLength", [], "method", false, false, false, 69), 3, 1); // line 73 echo " <span>"; echo twig_escape_filter($this->env, (($__internal_compile_2 = ($context["index_length"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[0] ?? null) : null), "html", null, true); echo "</span> <span class=\"unit\">"; // line 74 echo twig_escape_filter($this->env, (($__internal_compile_3 = ($context["index_length"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[1] ?? null) : null), "html", null, true); echo "</span> </td> <td>"; // line 76 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getComment", [], "method", false, false, false, 76), "html", null, true); echo "</td> <td> <a id=\"partition_action_ANALYZE\" class=\"ajax\" href=\""; // line 79 echo PhpMyAdmin\Url::getFromRoute("/table/partition/analyze"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 80 ($context["db"] ?? null), "table" => // line 81 ($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 82 $context["partition"], "getName", [], "method", false, false, false, 82)], "", false); // line 83 echo "\"> "; // line 84 echo PhpMyAdmin\Html\Generator::getIcon("b_search", _gettext("Analyze")); echo " </a> </td> <td> <a id=\"partition_action_CHECK\" class=\"ajax\" href=\""; // line 89 echo PhpMyAdmin\Url::getFromRoute("/table/partition/check"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 90 ($context["db"] ?? null), "table" => // line 91 ($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 92 $context["partition"], "getName", [], "method", false, false, false, 92)], "", false); // line 93 echo "\"> "; // line 94 echo PhpMyAdmin\Html\Generator::getIcon("eye", _gettext("Check")); echo " </a> </td> <td> <a id=\"partition_action_OPTIMIZE\" class=\"ajax\" href=\""; // line 99 echo PhpMyAdmin\Url::getFromRoute("/table/partition/optimize"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 100 ($context["db"] ?? null), "table" => // line 101 ($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 102 $context["partition"], "getName", [], "method", false, false, false, 102)], "", false); // line 103 echo "\"> "; // line 104 echo PhpMyAdmin\Html\Generator::getIcon("normalize", _gettext("Optimize")); echo " </a> </td> <td> <a id=\"partition_action_REBUILD\" class=\"ajax\" href=\""; // line 109 echo PhpMyAdmin\Url::getFromRoute("/table/partition/rebuild"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 110 ($context["db"] ?? null), "table" => // line 111 ($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 112 $context["partition"], "getName", [], "method", false, false, false, 112)], "", false); // line 113 echo "\"> "; // line 114 echo PhpMyAdmin\Html\Generator::getIcon("s_tbl", _gettext("Rebuild")); echo " </a> </td> <td> <a id=\"partition_action_REPAIR\" class=\"ajax\" href=\""; // line 119 echo PhpMyAdmin\Url::getFromRoute("/table/partition/repair"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 120 ($context["db"] ?? null), "table" => // line 121 ($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 122 $context["partition"], "getName", [], "method", false, false, false, 122)], "", false); // line 123 echo "\"> "; // line 124 echo PhpMyAdmin\Html\Generator::getIcon("b_tblops", _gettext("Repair")); echo " </a> </td> <td> <a id=\"partition_action_TRUNCATE\" class=\"ajax\" href=\""; // line 129 echo PhpMyAdmin\Url::getFromRoute("/table/partition/truncate"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 130 ($context["db"] ?? null), "table" => // line 131 ($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 132 $context["partition"], "getName", [], "method", false, false, false, 132)], "", false); // line 133 echo "\"> "; // line 134 echo PhpMyAdmin\Html\Generator::getIcon("b_empty", _gettext("Truncate")); echo " </a> </td> "; // line 138 if (($context["range_or_list"] ?? null)) { // line 139 echo " <td> <a id=\"partition_action_DROP\" class=\"ajax\" href=\""; // line 140 echo PhpMyAdmin\Url::getFromRoute("/table/partition/drop"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 141 ($context["db"] ?? null), "table" => // line 142 ($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 143 $context["partition"], "getName", [], "method", false, false, false, 143)], "", false); // line 144 echo "\"> "; // line 145 echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); echo " </a> </td> "; } // line 149 echo " "; // line 150 if (($context["has_sub_partitions"] ?? null)) { // line 151 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["partition"], "getSubPartitions", [], "method", false, false, false, 151)); foreach ($context['_seq'] as $context["_key"] => $context["sub_partition"]) { // line 152 echo " <tr class=\"noclick\"> <td></td> <td>"; // line 154 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sub_partition"], "getOrdinal", [], "method", false, false, false, 154), "html", null, true); echo "</td> <td>"; // line 155 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sub_partition"], "getName", [], "method", false, false, false, 155), "html", null, true); echo "</td> "; // line 156 if (($context["has_description"] ?? null)) { // line 157 echo " <td></td> "; } // line 159 echo " <td class=\"value\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sub_partition"], "getRows", [], "method", false, false, false, 159), "html", null, true); echo "</td> <td class=\"value\"> "; // line 161 $context["data_length"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, // line 162 $context["sub_partition"], "getDataLength", [], "method", false, false, false, 162), 3, 1); // line 166 echo " <span>"; echo twig_escape_filter($this->env, (($__internal_compile_4 = ($context["data_length"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4[0] ?? null) : null), "html", null, true); echo "</span> <span class=\"unit\">"; // line 167 echo twig_escape_filter($this->env, (($__internal_compile_5 = ($context["data_length"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[1] ?? null) : null), "html", null, true); echo "</span> </td> <td class=\"value\"> "; // line 170 $context["index_length"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, // line 171 $context["sub_partition"], "getIndexLength", [], "method", false, false, false, 171), 3, 1); // line 175 echo " <span>"; echo twig_escape_filter($this->env, (($__internal_compile_6 = ($context["index_length"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6[0] ?? null) : null), "html", null, true); echo "</span> <span class=\"unit\">"; // line 176 echo twig_escape_filter($this->env, (($__internal_compile_7 = ($context["index_length"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7[1] ?? null) : null), "html", null, true); echo "</span> </td> <td>"; // line 178 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sub_partition"], "getComment", [], "method", false, false, false, 178), "html", null, true); echo "</td> <td colspan=\""; // line 179 echo ((($context["range_or_list"] ?? null)) ? ("7") : ("6")); echo "\"></td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sub_partition'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 182 echo " "; } // line 183 echo " </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['partition'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 185 echo " </tbody> </table> "; } // line 188 echo " </fieldset> <fieldset class=\"pma-fieldset tblFooters d-print-none\"> <form action=\""; // line 190 echo PhpMyAdmin\Url::getFromRoute("/table/structure/partitioning"); echo "\" method=\"post\"> "; // line 191 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " "; // line 193 if (twig_test_empty(($context["partitions"] ?? null))) { // line 194 echo " <input class=\"btn btn-secondary\" type=\"submit\" value=\""; echo _gettext("Partition table"); echo "\"> "; } else { // line 196 echo " "; echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), ["db" => // line 199 ($context["db"] ?? null), "table" => // line 200 ($context["table"] ?? null), "sql_query" => (("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 201 ($context["table"] ?? null))) . " REMOVE PARTITIONING")], _gettext("Remove partitioning"), ["class" => "btn btn-secondary ajax", "id" => "remove_partitioning"]); // line 206 echo " <input class=\"btn btn-secondary\" type=\"submit\" value=\""; echo _gettext("Edit partitioning"); // line 207 echo "\"> "; } // line 209 echo " </form> </fieldset> </div> "; } public function getTemplateName() { return "table/structure/display_partitions.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 469 => 209, 465 => 207, 461 => 206, 459 => 201, 458 => 200, 457 => 199, 455 => 196, 449 => 194, 447 => 193, 442 => 191, 438 => 190, 434 => 188, 429 => 185, 422 => 183, 419 => 182, 410 => 179, 406 => 178, 401 => 176, 396 => 175, 394 => 171, 393 => 170, 387 => 167, 382 => 166, 380 => 162, 379 => 161, 373 => 159, 369 => 157, 367 => 156, 363 => 155, 359 => 154, 355 => 152, 350 => 151, 348 => 150, 345 => 149, 338 => 145, 335 => 144, 333 => 143, 332 => 142, 331 => 141, 328 => 140, 325 => 139, 323 => 138, 316 => 134, 313 => 133, 311 => 132, 310 => 131, 309 => 130, 306 => 129, 298 => 124, 295 => 123, 293 => 122, 292 => 121, 291 => 120, 288 => 119, 280 => 114, 277 => 113, 275 => 112, 274 => 111, 273 => 110, 270 => 109, 262 => 104, 259 => 103, 257 => 102, 256 => 101, 255 => 100, 252 => 99, 244 => 94, 241 => 93, 239 => 92, 238 => 91, 237 => 90, 234 => 89, 226 => 84, 223 => 83, 221 => 82, 220 => 81, 219 => 80, 216 => 79, 210 => 76, 205 => 74, 200 => 73, 198 => 69, 197 => 68, 191 => 65, 186 => 64, 184 => 60, 183 => 59, 177 => 57, 172 => 54, 170 => 53, 168 => 52, 166 => 51, 164 => 50, 161 => 48, 159 => 47, 154 => 46, 148 => 44, 141 => 41, 139 => 40, 134 => 39, 130 => 38, 124 => 34, 119 => 32, 116 => 31, 112 => 30, 108 => 29, 102 => 28, 96 => 26, 94 => 25, 91 => 24, 84 => 20, 75 => 17, 71 => 15, 69 => 14, 61 => 12, 57 => 10, 51 => 8, 49 => 7, 43 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "table/structure/display_partitions.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/structure/display_partitions.twig"); } } twig/2b/2b07cc8c944f2e71c944afbc8e27968c.php 0000644 00000004337 15114741573 0013232 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* select_all.twig */ class __TwigTemplate_a4dd13dc9e11b4ec705c02f72ed16d3e 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 echo "<img class=\"selectallarrow\" src=\""; echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath((("arrow_" . ($context["text_dir"] ?? null)) . ".png")), "html", null, true); echo "\" width=\"38\" height=\"22\" alt=\""; echo _gettext("With selected:"); // line 2 echo "\"> <input type=\"checkbox\" id=\""; // line 3 echo twig_escape_filter($this->env, ($context["form_name"] ?? null), "html", null, true); echo "_checkall\" class=\"checkall_box\" title=\""; echo _gettext("Check all"); // line 4 echo "\"> <label for=\""; // line 5 echo twig_escape_filter($this->env, ($context["form_name"] ?? null), "html", null, true); echo "_checkall\">"; echo _gettext("Check all"); echo "</label> <em class=\"with-selected\">"; echo _gettext("With selected:"); // line 6 echo "</em> "; } public function getTemplateName() { return "select_all.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 61 => 6, 54 => 5, 51 => 4, 46 => 3, 43 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "select_all.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/select_all.twig"); } } twig/2b/2b1312171d9073eec5e7edd3eff03bde.php 0000644 00000005550 15114741573 0013336 0 ustar 00 <?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/no_results_returned.twig */ class __TwigTemplate_2d167efa0bdb948fa10aa9cc5f4c88ff 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["message"] ?? null); yield " "; // line 3 yield ($context["sql_query_results_table"] ?? null); yield " "; // line 5 yield ($context["profiling_chart"] ?? null); yield " "; // line 7 if ( !($context["is_procedure"] ?? null)) { // line 8 yield " <fieldset class=\"pma-fieldset d-print-none\"> <legend>"; yield _gettext("Query results operations"); // line 9 yield "</legend> <span> "; // line 11 yield PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/view/create"), ["db" => // line 13 ($context["db"] ?? null), "table" => ($context["table"] ?? null), "printview" => "1", "sql_query" => ($context["sql_query"] ?? null)], PhpMyAdmin\Html\Generator::getIcon("b_view_add", _gettext("Create view"), true), ["class" => "create_view ajax btn"]); // line 16 yield " </span> </fieldset> "; } // line 20 yield " "; // line 21 yield ($context["bookmark"] ?? null); yield " "; // line 23 yield Twig\Extension\CoreExtension::include($this->env, $context, "modals/create_view.twig"); yield " "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "sql/no_results_returned.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 80 => 23, 75 => 21, 72 => 20, 66 => 16, 64 => 13, 63 => 11, 59 => 9, 55 => 8, 53 => 7, 48 => 5, 43 => 3, 38 => 1,); } public function getSourceContext() { return new Source("", "sql/no_results_returned.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/sql/no_results_returned.twig"); } } twig/63/63b32ce407b49c269216ab1c416ebb26.php 0000644 00000004134 15114741573 0012752 0 ustar 00 <?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_cecddca5677f65b039ed536a1b9320d4 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/config/form_display/group_header.twig"); } } twig/63/63d2dec2944983c8c63037c6bf95898f.php 0000644 00000005561 15114741573 0012756 0 ustar 00 <?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; /* database/create_table.twig */ class __TwigTemplate_ee554f7ad69e8f62c2227d472fab506e 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 id=\"createTableMinimalForm\" method=\"post\" action=\""; yield PhpMyAdmin\Url::getFromRoute("/table/create"); yield "\" class=\"card d-print-none lock-page\"> "; // line 2 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); yield " <div class=\"card-header\">"; // line 3 yield PhpMyAdmin\Html\Generator::getIcon("b_table_add", _gettext("Create new table"), true); yield "</div> <div class=\"card-body row row-cols-lg-auto g-3\"> <div class=\"col-12\"> <label for=\"createTableNameInput\" class=\"form-label\">"; yield _gettext("Table name"); // line 6 yield "</label> <input autocomplete=\"off\" type=\"text\" class=\"form-control\" name=\"table\" id=\"createTableNameInput\" maxlength=\"64\" required> </div> <div class=\"col-12\"> <label for=\"createTableNumFieldsInput\" class=\"form-label\">"; yield _gettext("Number of columns"); // line 10 yield "</label> <input type=\"number\" class=\"form-control\" name=\"num_fields\" id=\"createTableNumFieldsInput\" min=\"1\" value=\"4\" required> </div> <div class=\"col-12 align-self-lg-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; yield _gettext("Create"); // line 14 yield "\"> </div> </div> </form> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/create_table.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 68 => 14, 61 => 10, 54 => 6, 47 => 3, 43 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "database/create_table.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/create_table.twig"); } } twig/58/58b7e345246f92fe885b4b542a1979af.php 0000644 00000003553 15114741573 0012751 0 ustar 00 <?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; /* database/structure/collation_definition.twig */ class __TwigTemplate_5a0afb6429ec0448f04994d55ed81f0f 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 "<dfn title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["valueTitle"] ?? null), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["value"] ?? null), "html", null, true); yield "</dfn> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/structure/collation_definition.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 38 => 1,); } public function getSourceContext() { return new Source("", "database/structure/collation_definition.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/collation_definition.twig"); } } twig/0e/0ebf2acb48cb46954aa75f1af1e9059e.php 0000644 00000021670 15114741573 0013350 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* server/plugins/index.twig */ class __TwigTemplate_82098a7e45175347bae38ab7b59478b3 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 echo "<div class=\"container-fluid\"> <h2> "; // line 3 echo PhpMyAdmin\Html\Generator::getImage("b_plugin"); echo " "; echo _gettext("Plugins"); // line 5 echo "</h2> <div id=\"plugins_plugins\"> <div class=\"card\"> <div class=\"card-body\"> "; // line 10 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_array_keys_filter(($context["plugins"] ?? null))); foreach ($context['_seq'] as $context["_key"] => $context["type"]) { // line 11 echo " <a class=\"btn btn-primary\" href=\"#plugins-"; echo twig_escape_filter($this->env, (($__internal_compile_0 = ($context["clean_types"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[$context["type"]] ?? null) : null), "html", null, true); echo "\"> "; // line 12 echo twig_escape_filter($this->env, $context["type"], "html", null, true); echo " </a> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['type'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 15 echo " </div> </div> "; // line 17 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["plugins"] ?? null)); foreach ($context['_seq'] as $context["type"] => $context["list"]) { // line 18 echo " <div class=\"row\"> <div class=\"table-responsive col-12\"> <table class=\"table table-striped table-hover caption-top w-auto\" id=\"plugins-"; // line 20 echo twig_escape_filter($this->env, (($__internal_compile_1 = ($context["clean_types"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[$context["type"]] ?? null) : null), "html", null, true); echo "\"> <caption> "; // line 22 echo twig_escape_filter($this->env, $context["type"], "html", null, true); echo " </caption> <thead> <tr> <th scope=\"col\">"; echo _gettext("Plugin"); // line 26 echo "</th> <th scope=\"col\">"; echo _gettext("Description"); // line 27 echo "</th> <th scope=\"col\">"; echo _gettext("Version"); // line 28 echo "</th> <th scope=\"col\">"; echo _gettext("Author"); // line 29 echo "</th> <th scope=\"col\">"; echo _gettext("License"); // line 30 echo "</th> </tr> </thead> <tbody> "; // line 34 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($context["list"]); foreach ($context['_seq'] as $context["_key"] => $context["plugin"]) { // line 35 echo " <tr class=\"noclick\"> <th> "; // line 37 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["plugin"], "name", [], "any", false, false, false, 37), "html", null, true); echo " "; // line 38 if ((twig_get_attribute($this->env, $this->source, $context["plugin"], "status", [], "any", false, false, false, 38) != "ACTIVE")) { // line 39 echo " <span class=\"badge bg-danger\"> "; // line 40 if ((twig_get_attribute($this->env, $this->source, $context["plugin"], "status", [], "any", false, false, false, 40) == "INACTIVE")) { // line 41 echo " "; echo _gettext("inactive"); // line 42 echo " "; } elseif ((twig_get_attribute($this->env, $this->source, $context["plugin"], "status", [], "any", false, false, false, 42) == "DISABLED")) { // line 43 echo " "; echo _gettext("disabled"); // line 44 echo " "; } elseif ((twig_get_attribute($this->env, $this->source, $context["plugin"], "status", [], "any", false, false, false, 44) == "DELETING")) { // line 45 echo " "; echo _gettext("deleting"); // line 46 echo " "; } elseif ((twig_get_attribute($this->env, $this->source, $context["plugin"], "status", [], "any", false, false, false, 46) == "DELETED")) { // line 47 echo " "; echo _gettext("deleted"); // line 48 echo " "; } // line 49 echo " </span> "; } // line 51 echo " </th> <td>"; // line 52 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["plugin"], "description", [], "any", false, false, false, 52), "html", null, true); echo "</td> <td>"; // line 53 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["plugin"], "version", [], "any", false, false, false, 53), "html", null, true); echo "</td> <td>"; // line 54 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["plugin"], "author", [], "any", false, false, false, 54), "html", null, true); echo "</td> <td>"; // line 55 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["plugin"], "license", [], "any", false, false, false, 55), "html", null, true); echo "</td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['plugin'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 58 echo " </tbody> </table> </div> </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['type'], $context['list'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 63 echo "</div> </div> "; } public function getTemplateName() { return "server/plugins/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 199 => 63, 189 => 58, 180 => 55, 176 => 54, 172 => 53, 168 => 52, 165 => 51, 161 => 49, 158 => 48, 155 => 47, 152 => 46, 149 => 45, 146 => 44, 143 => 43, 140 => 42, 137 => 41, 135 => 40, 132 => 39, 130 => 38, 126 => 37, 122 => 35, 118 => 34, 112 => 30, 108 => 29, 104 => 28, 100 => 27, 96 => 26, 88 => 22, 83 => 20, 79 => 18, 75 => 17, 71 => 15, 62 => 12, 57 => 11, 53 => 10, 46 => 5, 41 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "server/plugins/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/server/plugins/index.twig"); } } twig/9f/9fe19f4ee25c655feab0874afb9f92db.php 0000644 00000034474 15114741573 0013476 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* console/display.twig */ class __TwigTemplate_f88c8fbab09723c278d29d5623cbd2e8 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 echo "<div id=\"pma_console_container\" class=\"d-print-none\"> <div id=\"pma_console\"> "; // line 4 echo " "; $this->loadTemplate("console/toolbar.twig", "console/display.twig", 4)->display(twig_to_array(["parent_div_classes" => "collapsed", "content_array" => [0 => [0 => "switch_button console_switch", 1 => _gettext("Console"), "image" => // line 7 ($context["image"] ?? null)], 1 => [0 => "button clear", 1 => _gettext("Clear")], 2 => [0 => "button history", 1 => _gettext("History")], 3 => [0 => "button options", 1 => _gettext("Options")], 4 => (( // line 11 ($context["has_bookmark_feature"] ?? null)) ? ([0 => "button bookmarks", 1 => _gettext("Bookmarks")]) : (null)), 5 => [0 => "button debug hide", 1 => _gettext("Debug SQL")]]])); // line 15 echo " "; // line 16 echo " <div class=\"content\"> <div class=\"console_message_container\"> <div class=\"message welcome\"> <span id=\"instructions-0\"> "; echo _gettext("Press Ctrl+Enter to execute query"); // line 21 echo " </span> <span class=\"hide\" id=\"instructions-1\"> "; echo _gettext("Press Enter to execute query"); // line 24 echo " </span> </div> "; // line 26 if ( !twig_test_empty(($context["sql_history"] ?? null))) { // line 27 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_reverse_filter($this->env, ($context["sql_history"] ?? null))); foreach ($context['_seq'] as $context["_key"] => $context["record"]) { // line 28 echo " <div class=\"message history collapsed hide"; // line 29 echo ((twig_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") : ("")); echo "\" targetdb=\""; // line 30 echo twig_escape_filter($this->env, (($__internal_compile_1 = $context["record"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["db"] ?? null) : null), "html", null, true); echo "\" targettable=\""; echo twig_escape_filter($this->env, (($__internal_compile_2 = $context["record"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["table"] ?? null) : null), "html", null, true); echo "\"> "; // line 31 $this->loadTemplate("console/query_action.twig", "console/display.twig", 31)->display(twig_to_array(["parent_div_classes" => "action_content", "content_array" => [0 => [0 => "action collapse", 1 => _gettext("Collapse")], 1 => [0 => "action expand", 1 => _gettext("Expand")], 2 => [0 => "action requery", 1 => _gettext("Requery")], 3 => [0 => "action edit", 1 => _gettext("Edit")], 4 => [0 => "action explain", 1 => _gettext("Explain")], 5 => [0 => "action profiling", 1 => _gettext("Profiling")], 6 => (( // line 40 ($context["has_bookmark_feature"] ?? null)) ? ([0 => "action bookmark", 1 => _gettext("Bookmark")]) : (null)), 7 => [0 => "text failed", 1 => _gettext("Query failed")], 8 => [0 => "text targetdb", 1 => _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)], 9 => [0 => "text query_time", 1 => _gettext("Queried time"), "extraSpan" => ((twig_get_attribute($this->env, $this->source, // line 46 $context["record"], "timevalue", [], "array", true, true, false, 46)) ? ((($__internal_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 echo " <span class=\"query\">"; echo twig_escape_filter($this->env, (($__internal_compile_5 = $context["record"]) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["sqlquery"] ?? null) : null), "html", null, true); echo "</span> </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['record'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 54 echo " "; } // line 55 echo " </div><!-- console_message_container --> <div class=\"query_input\"> <span class=\"console_query_input\"></span> </div> </div><!-- message end --> "; // line 61 echo " <div class=\"mid_layer\"></div> "; // line 63 echo " <div class=\"card\" id=\"debug_console\"> "; // line 64 $this->loadTemplate("console/toolbar.twig", "console/display.twig", 64)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "button order order_asc", 1 => _gettext("ascending")], 1 => [0 => "button order order_desc", 1 => _gettext("descending")], 2 => [0 => "text", 1 => _gettext("Order:")], 3 => [0 => "switch_button", 1 => _gettext("Debug SQL")], 4 => [0 => "button order_by sort_count", 1 => _gettext("Count")], 5 => [0 => "button order_by sort_exec", 1 => _gettext("Execution order")], 6 => [0 => "button order_by sort_time", 1 => _gettext("Time taken")], 7 => [0 => "text", 1 => _gettext("Order by:")], 8 => [0 => "button group_queries", 1 => _gettext("Group queries")], 9 => [0 => "button ungroup_queries", 1 => _gettext("Ungroup queries")]]])); // line 79 echo " <div class=\"content debug\"> <div class=\"message welcome\"></div> <div class=\"debugLog\"></div> </div> <!-- Content --> <div class=\"templates\"> "; // line 84 $this->loadTemplate("console/query_action.twig", "console/display.twig", 84)->display(twig_to_array(["parent_div_classes" => "debug_query action_content", "content_array" => [0 => [0 => "action collapse", 1 => _gettext("Collapse")], 1 => [0 => "action expand", 1 => _gettext("Expand")], 2 => [0 => "action dbg_show_trace", 1 => _gettext("Show trace")], 3 => [0 => "action dbg_hide_trace", 1 => _gettext("Hide trace")], 4 => [0 => "text count hide", 1 => _gettext("Count"), "extraSpan" => ""], 5 => [0 => "text time", 1 => _gettext("Time taken"), "extraSpan" => ""]]])); // line 95 echo " </div> <!-- Template --> </div> <!-- Debug SQL card --> "; // line 97 if (($context["has_bookmark_feature"] ?? null)) { // line 98 echo " <div class=\"card\" id=\"pma_bookmarks\"> "; // line 99 $this->loadTemplate("console/toolbar.twig", "console/display.twig", 99)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "switch_button", 1 => _gettext("Bookmarks")], 1 => [0 => "button refresh", 1 => _gettext("Refresh")], 2 => [0 => "button add", 1 => _gettext("Add")]]])); // line 107 echo " <div class=\"content bookmark\"> "; // line 108 echo ($context["bookmark_content"] ?? null); echo " </div> <div class=\"mid_layer\"></div> <div class=\"card add\"> "; // line 112 $this->loadTemplate("console/toolbar.twig", "console/display.twig", 112)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "switch_button", 1 => _gettext("Add bookmark")]]])); // line 118 echo " <div class=\"content add_bookmark\"> <div class=\"options\"> <label> "; echo _gettext("Label"); // line 121 echo ": <input type=\"text\" name=\"label\"> </label> <label> "; echo _gettext("Target database"); // line 124 echo ": <input type=\"text\" name=\"targetdb\"> </label> <label> <input type=\"checkbox\" name=\"shared\">"; echo _gettext("Share this bookmark"); // line 128 echo " </label> <button class=\"btn btn-primary\" type=\"submit\" name=\"submit\">"; echo _gettext("OK"); // line 129 echo "</button> </div> <!-- options --> <div class=\"query_input\"> <span class=\"bookmark_add_input\"></span> </div> </div> </div> <!-- Add bookmark card --> </div> <!-- Bookmarks card --> "; } // line 138 echo " "; // line 139 echo " <div class=\"card\" id=\"pma_console_options\"> "; // line 140 $this->loadTemplate("console/toolbar.twig", "console/display.twig", 140)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "switch_button", 1 => _gettext("Options")], 1 => [0 => "button default", 1 => _gettext("Set default")]]])); // line 147 echo " <div class=\"content\"> <label> <input type=\"checkbox\" name=\"always_expand\">"; echo _gettext("Always expand query messages"); // line 150 echo " </label> <br> <label> <input type=\"checkbox\" name=\"start_history\">"; echo _gettext("Show query history at start"); // line 154 echo " </label> <br> <label> <input type=\"checkbox\" name=\"current_query\">"; echo _gettext("Show current browsing query"); // line 158 echo " </label> <br> <label> <input type=\"checkbox\" name=\"enter_executes\"> "; echo _gettext("Execute queries on Enter and insert new line with Shift+Enter. To make this permanent, view settings."); // line 165 echo " </label> <br> <label> <input type=\"checkbox\" name=\"dark_theme\">"; echo _gettext("Switch to dark theme"); // line 169 echo " </label> <br> </div> </div> <!-- Options card --> <div class=\"templates\"> "; // line 175 echo " "; $this->loadTemplate("console/query_action.twig", "console/display.twig", 175)->display(twig_to_array(["parent_div_classes" => "query_actions", "content_array" => [0 => [0 => "action collapse", 1 => _gettext("Collapse")], 1 => [0 => "action expand", 1 => _gettext("Expand")], 2 => [0 => "action requery", 1 => _gettext("Requery")], 3 => [0 => "action edit", 1 => _gettext("Edit")], 4 => [0 => "action explain", 1 => _gettext("Explain")], 5 => [0 => "action profiling", 1 => _gettext("Profiling")], 6 => (( // line 184 ($context["has_bookmark_feature"] ?? null)) ? ([0 => "action bookmark", 1 => _gettext("Bookmark")]) : (null)), 7 => [0 => "text failed", 1 => _gettext("Query failed")], 8 => [0 => "text targetdb", 1 => _gettext("Database"), "extraSpan" => ""], 9 => [0 => "text query_time", 1 => _gettext("Queried time"), "extraSpan" => ""]]])); // line 190 echo " </div> </div> <!-- #console end --> </div> <!-- #console_container end --> "; } public function getTemplateName() { return "console/display.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 230 => 190, 228 => 184, 226 => 175, 219 => 169, 213 => 165, 206 => 158, 200 => 154, 194 => 150, 189 => 147, 187 => 140, 184 => 139, 182 => 138, 171 => 129, 167 => 128, 161 => 124, 155 => 121, 149 => 118, 147 => 112, 140 => 108, 137 => 107, 135 => 99, 132 => 98, 130 => 97, 126 => 95, 124 => 84, 117 => 79, 115 => 64, 112 => 63, 109 => 61, 102 => 55, 99 => 54, 89 => 51, 87 => 47, 86 => 46, 85 => 42, 84 => 40, 83 => 31, 77 => 30, 73 => 29, 71 => 28, 66 => 27, 64 => 26, 60 => 24, 55 => 21, 48 => 16, 46 => 15, 44 => 11, 43 => 7, 41 => 4, 37 => 1,); } public function getSourceContext() { return new Source("", "console/display.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/console/display.twig"); } } twig/9f/9f28ad63af1b761e2f7f6db310290485.php 0000644 00000005050 15114741573 0013061 0 ustar 00 <?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_d6c5ecb61c9ace5554f555200c9be9bf 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/path.twig"); } } twig/6d/6d40d80ffc2358e2cb61885c5eb8078b.php 0000644 00000020753 15114741573 0013151 0 ustar 00 <?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_2f69974b6289bf84f343dc5427430531 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/menu/breadcrumbs.twig"); } } twig/6d/6da2917c0c48276c74a7cccb2dd07699.php 0000644 00000012127 15114741573 0013143 0 ustar 00 <?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; /* table/page_with_secondary_tabs.twig */ class __TwigTemplate_140be48f4a96d8016d701e465376293d 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 if (( !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "relationFeature", [], "any", false, false, false, 1)) || ($context["is_foreign_key_supported"] ?? null))) { // line 2 yield " <ul class=\"nav nav-pills m-2 d-print-none\"> <li class=\"nav-item\"> <a href=\""; // line 4 yield PhpMyAdmin\Url::getFromRoute("/table/structure", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); yield "\" id=\"table_structure_id\" class=\"nav-link"; yield (((($context["route"] ?? null) == "/table/structure")) ? (" active") : ("")); yield " disableAjax\"> "; // line 5 yield PhpMyAdmin\Html\Generator::getIcon("b_props", _gettext("Table structure"), true); yield " </a> </li> <li class=\"nav-item\"> <a href=\""; // line 10 yield PhpMyAdmin\Url::getFromRoute("/table/relation", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); yield "\" id=\"table_relation_id\" class=\"nav-link"; yield (((($context["route"] ?? null) == "/table/relation")) ? (" active") : ("")); yield " disableAjax\"> "; // line 11 yield PhpMyAdmin\Html\Generator::getIcon("b_relations", _gettext("Relation view"), true); yield " </a> </li> </ul> "; } // line 16 yield " "; // line 17 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable($this->env->getRuntime('PhpMyAdmin\FlashMessages')->getMessages()); foreach ($context['_seq'] as $context["flash_key"] => $context["flash_messages"]) { // line 18 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable($context["flash_messages"]); foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) { // line 19 yield " <div class=\"alert alert-"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_key"], "html", null, true); yield "\" role=\"alert\"> "; // line 20 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_message"], "html", null, true); yield " </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash_message'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['flash_key'], $context['flash_messages'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 24 yield " <div id=\"structure_content\"> "; // line 26 yield from $this->unwrap()->yieldBlock('content', $context, $blocks); // line 27 yield "</div> "; return; yield ''; } // line 26 public function block_content($context, array $blocks = []) { $macros = $this->macros; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/page_with_secondary_tabs.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 115 => 26, 109 => 27, 107 => 26, 103 => 24, 90 => 20, 85 => 19, 80 => 18, 76 => 17, 73 => 16, 65 => 11, 59 => 10, 51 => 5, 45 => 4, 41 => 2, 39 => 1,); } public function getSourceContext() { return new Source("", "table/page_with_secondary_tabs.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/page_with_secondary_tabs.twig"); } } twig/60/60f93d5a64535cbb26666118c44264d1.php 0000644 00000011156 15114741573 0012547 0 ustar 00 <?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; /* table/insert/continue_insertion_form.twig */ class __TwigTemplate_76965e3f00b59c602a700a2e625c85af 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 id=\"continueForm\" method=\"post\" action=\""; yield PhpMyAdmin\Url::getFromRoute("/table/replace"); yield "\" name=\"continueForm\"> "; // line 2 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); yield " <input type=\"hidden\" name=\"goto\" value=\""; // line 3 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["goto"] ?? null), "html", null, true); yield "\"> <input type=\"hidden\" name=\"err_url\" value=\""; // line 4 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["err_url"] ?? null), "html", null, true); yield "\"> <input type=\"hidden\" name=\"sql_query\" value=\""; // line 5 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["sql_query"] ?? null), "html", null, true); yield "\"> "; // line 7 if (($context["has_where_clause"] ?? null)) { // line 8 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["where_clause_array"] ?? null)); foreach ($context['_seq'] as $context["key_id"] => $context["where_clause"]) { // line 9 yield " <input type=\"hidden\" name=\"where_clause["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key_id"], "html", null, true); yield "]\" value=\""; // line 10 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::trim($context["where_clause"]), "html", null, true); yield "\"> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key_id'], $context['where_clause'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 12 yield " "; } // line 13 yield " "; // line 14 $context["insert_rows"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) { // line 15 yield " <input type=\"number\" name=\"insert_rows\" id=\"insert_rows\" value=\""; // line 16 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["insert_rows_default"] ?? null), "html", null, true); yield "\" min=\"1\"> "; return; yield ''; })())) ? '' : new Markup($tmp, $this->env->getCharset()); // line 18 yield " "; yield Twig\Extension\CoreExtension::sprintf(_gettext("Continue insertion with %s rows"), ($context["insert_rows"] ?? null)); yield " </form> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/insert/continue_insertion_form.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 95 => 18, 89 => 16, 87 => 15, 85 => 14, 82 => 13, 79 => 12, 71 => 10, 67 => 9, 62 => 8, 60 => 7, 55 => 5, 51 => 4, 47 => 3, 43 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "table/insert/continue_insertion_form.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/continue_insertion_form.twig"); } } twig/47/47109368ae86bdcb5a6d1ca94b5ab405.php 0000644 00000054742 15114741573 0013136 0 ustar 00 <?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; /* table/search/index.twig */ class __TwigTemplate_141c7e46af3bca7e69c42d2df05824a6 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 "<ul class=\"nav nav-pills m-2\"> <li class=\"nav-item\"> <a class=\"nav-link active disableAjax\" href=\""; // line 3 yield PhpMyAdmin\Url::getFromRoute("/table/search", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "pos" => 0]); yield "\"> "; // line 4 yield PhpMyAdmin\Html\Generator::getIcon("b_search", _gettext("Table search"), false, false, "TabsMode"); yield " </a> </li> <li class=\"nav-item\"> <a class=\"nav-link disableAjax\" href=\""; // line 9 yield PhpMyAdmin\Url::getFromRoute("/table/zoom-search", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); yield "\"> "; // line 10 yield PhpMyAdmin\Html\Generator::getIcon("b_select", _gettext("Zoom search"), false, false, "TabsMode"); yield " </a> </li> <li class=\"nav-item\"> <a class=\"nav-link disableAjax\" href=\""; // line 15 yield PhpMyAdmin\Url::getFromRoute("/table/find-replace", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); yield "\"> "; // line 16 yield PhpMyAdmin\Html\Generator::getIcon("b_find_replace", _gettext("Find and replace"), false, false, "TabsMode"); yield " </a> </li> </ul> <form method=\"post\" action=\""; // line 21 yield PhpMyAdmin\Url::getFromRoute("/table/search"); yield "\" name=\"insertForm\" id=\"tbl_search_form\" class=\"ajax lock-page\"> "; // line 22 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); yield " <input type=\"hidden\" name=\"goto\" value=\""; // line 23 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["goto"] ?? null), "html", null, true); yield "\"> <input type=\"hidden\" name=\"back\" value=\""; // line 24 yield PhpMyAdmin\Url::getFromRoute("/table/search"); yield "\"> <div class=\"card\"> <div class=\"card-header\">"; yield _gettext("Do a \"query by example\" (wildcard: \"%\")"); // line 27 yield "</div> <div class=\"card-body\"> <div id=\"fieldset_table_qbe\"> <div class=\"table-responsive-md jsresponsive\"> <table class=\"table table-striped table-hover table-sm w-auto\"> <thead> <tr> "; // line 35 if (($context["geom_column_flag"] ?? null)) { // line 36 yield " <th>"; yield _gettext("Function"); yield "</th> "; } // line 38 yield " <th>"; yield _gettext("Column"); yield "</th> <th>"; yield _gettext("Type"); // line 39 yield "</th> <th>"; yield _gettext("Collation"); // line 40 yield "</th> <th>"; yield _gettext("Operator"); // line 41 yield "</th> <th>"; yield _gettext("Value"); // line 42 yield "</th> </tr> </thead> <tbody> "; // line 46 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(range(0, (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["column_names"] ?? null)) - 1))); foreach ($context['_seq'] as $context["_key"] => $context["column_index"]) { // line 47 yield " <tr class=\"noclick\"> "; // line 49 yield " "; if (($context["geom_column_flag"] ?? null)) { // line 50 yield " "; // line 51 yield " <td> "; // line 52 $context["geom_types"] = PhpMyAdmin\Utils\Gis::getDataTypes(); // line 53 yield " "; if (CoreExtension::inFilter((($__internal_compile_0 = ($context["column_types"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[$context["column_index"]] ?? null) : null), ($context["geom_types"] ?? null))) { // line 54 yield " <select class=\"geom_func\" name=\"geom_func["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["column_index"], "html", null, true); yield "]\"> "; // line 56 yield " "; $context["funcs"] = PhpMyAdmin\Utils\Gis::getFunctions((($__internal_compile_1 = ($context["column_types"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[$context["column_index"]] ?? null) : null), true, true); // line 57 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["funcs"] ?? null)); foreach ($context['_seq'] as $context["func_name"] => $context["func"]) { // line 58 yield " "; $context["name"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["func"], "display", [], "array", true, true, false, 58)) ? ((($__internal_compile_2 = $context["func"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["display"] ?? null) : null)) : ($context["func_name"])); // line 59 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["name"] ?? null), "html", null, true); yield "\"> "; // line 60 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["name"] ?? null), "html", null, true); yield " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['func_name'], $context['func'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 63 yield " </select> "; } // line 65 yield " </td> "; } // line 67 yield " "; // line 68 yield " <th>"; // line 70 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_3 = ($context["column_names"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[$context["column_index"]] ?? null) : null), "html", null, true); // line 71 yield "</th> "; // line 72 $context["properties"] = CoreExtension::getAttribute($this->env, $this->source, ($context["self"] ?? null), "getColumnProperties", [$context["column_index"], $context["column_index"]], "method", false, false, false, 72); // line 73 yield " <td dir=\"ltr\"> "; // line 74 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_4 = ($context["properties"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["type"] ?? null) : null), "html", null, true); yield " </td> <td> "; // line 77 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_5 = ($context["properties"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["collation"] ?? null) : null), "html", null, true); yield " </td> <td> "; // line 80 yield (($__internal_compile_6 = ($context["properties"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["func"] ?? null) : null); yield " </td> "; // line 83 yield " <td data-type=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_7 = ($context["properties"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["type"] ?? null) : null), "html", null, true); yield "\"> "; // line 84 yield (($__internal_compile_8 = ($context["properties"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["value"] ?? null) : null); yield " "; // line 86 yield " <input type=\"hidden\" name=\"criteriaColumnNames["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["column_index"], "html", null, true); yield "]\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_9 = ($context["column_names"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9[$context["column_index"]] ?? null) : null), "html", null, true); yield "\"> <input type=\"hidden\" name=\"criteriaColumnTypes["; // line 87 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["column_index"], "html", null, true); yield "]\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_10 = ($context["column_types"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10[$context["column_index"]] ?? null) : null), "html", null, true); yield "\"> <input type=\"hidden\" name=\"criteriaColumnCollations["; // line 88 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["column_index"], "html", null, true); yield "]\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_11 = ($context["column_collations"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11[$context["column_index"]] ?? null) : null), "html", null, true); yield "\"> </td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column_index'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 92 yield " </tbody> </table> </div> <div id=\"gis_editor\"></div> <div id=\"popup_background\"></div> </div> "; // line 99 if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 100 yield " <div> <button class=\"btn btn-sm btn-secondary\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#searchExtraOptions\" aria-expanded=\""; // line 101 yield (((($context["default_sliders_state"] ?? null) == "open")) ? ("true") : ("false")); yield "\" aria-controls=\"searchExtraOptions\"> "; yield _gettext("Extra options"); // line 103 yield " </button> </div> <div class=\"collapse mt-3"; // line 105 yield (((($context["default_sliders_state"] ?? null) == "open")) ? (" show") : ("")); yield "\" id=\"searchExtraOptions\"> "; } // line 107 yield " "; // line 109 yield " <fieldset> <div class=\"mb-3\"> <label class=\"form-label\" for=\"columnsToDisplaySelect\">"; yield _gettext("Select columns (at least one):"); // line 111 yield "</label> <select class=\"form-select resize-vertical\" id=\"columnsToDisplaySelect\" name=\"columnsToDisplay[]\" size=\""; // line 112 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(min(Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["column_names"] ?? null)), 10), "html", null, true); yield "\" multiple> "; // line 113 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["column_names"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["each_field"]) { // line 114 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["each_field"], "html", null, true); yield "\" selected> "; // line 115 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["each_field"], "html", null, true); yield " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['each_field'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 118 yield " </select> </div> <div class=\"form-check mb-3\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"distinct\" value=\"DISTINCT\" id=\"oDistinct\"> <label class=\"form-check-label\" for=\"oDistinct\" dir=\"ltr\" lang=\"en\">DISTINCT</label> </div> </fieldset> "; // line 127 yield " <div class=\"mb-3\"> <label class=\"form-label\" for=\"customWhereClauseInput\"> <em>"; yield _gettext("Or"); // line 129 yield "</em> "; yield _gettext("Add search conditions (body of the \"where\" clause):"); // line 131 yield " "; yield PhpMyAdmin\Html\MySQLDocumentation::show("Functions"); yield " </label> <input class=\"form-control\" id=\"customWhereClauseInput\" type=\"text\" name=\"customWhereClause\" size=\"64\"> </div> "; // line 137 yield " <div class=\"mb-3\"> <label class=\"form-label\" for=\"maxRowsInput\">"; yield _gettext("Number of rows per page"); // line 138 yield "</label> <input class=\"form-control\" id=\"maxRowsInput\" type=\"number\" name=\"session_max_rows\" min=\"1\" value=\""; // line 139 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["max_rows"] ?? null), "html", null, true); yield "\" required> </div> "; // line 143 yield " <fieldset> <legend class=\"visually-hidden\">"; yield _gettext("Display order:"); // line 144 yield "</legend> <div class=\"mb-3\"> <label class=\"form-label\" for=\"orderByColumnSelect\">"; yield _gettext("Order by:"); // line 146 yield "</label> <select class=\"form-select\" id=\"orderByColumnSelect\" name=\"orderByColumn\"> <option value=\"--nil--\" selected></option> "; // line 149 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["column_names"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["each_field"]) { // line 150 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["each_field"], "html", null, true); yield "\"> "; // line 151 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["each_field"], "html", null, true); yield " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['each_field'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 154 yield " </select> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"order\" id=\"orderByAscRadio\" value=\"ASC\" checked> <label class=\"form-check-label\" for=\"orderByAscRadio\">"; yield _gettext("Ascending"); // line 159 yield "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"order\" id=\"orderByDescRadio\" value=\"DESC\"> <label class=\"form-check-label\" for=\"orderByDescRadio\">"; yield _gettext("Descending"); // line 163 yield "</label> </div> </fieldset> "; // line 166 if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 167 yield " </div> "; } // line 169 yield " </div> <div class=\"card-footer\"> <input class=\"btn btn-primary\" type=\"submit\" name=\"submit\" value=\""; yield _gettext("Go"); // line 172 yield "\"> </div> </div> </form> <div class=\"modal fade\" id=\"rangeSearchModal\" tabindex=\"-1\" aria-labelledby=\"rangeSearchModalLabel\" aria-hidden=\"false\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"rangeSearchModalLabel\">"; yield _gettext("Range search"); // line 181 yield "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Close"); // line 182 yield "\"></button> </div> <div class=\"modal-body\"> <fieldset class=\"pma-fieldset\"> <legend id=\"rangeSearchLegend\"></legend> <label for=\"min_value\">"; yield _gettext("Minimum value:"); // line 187 yield "</label> <input type=\"text\" id=\"min_value\"><br> <span class=\"small_font\" id=\"rangeSearchMin\"></span><br> <label for=\"max_value\">"; yield _gettext("Maximum value:"); // line 190 yield "</label> <input type=\"text\" id=\"max_value\"><br> <span class=\"small_font\" id=\"rangeSearchMax\"></span> </fieldset> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"rangeSearchModalGo\">"; yield _gettext("Go"); // line 196 yield "</button> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; yield _gettext("Cancel"); // line 197 yield "</button> </div> </div> </div> </div> <div id=\"sqlqueryresultsouter\"></div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/search/index.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 471 => 197, 467 => 196, 458 => 190, 452 => 187, 444 => 182, 440 => 181, 428 => 172, 422 => 169, 418 => 167, 416 => 166, 411 => 163, 404 => 159, 396 => 154, 387 => 151, 382 => 150, 378 => 149, 373 => 146, 368 => 144, 364 => 143, 358 => 139, 355 => 138, 351 => 137, 342 => 131, 338 => 129, 333 => 127, 323 => 118, 314 => 115, 309 => 114, 305 => 113, 301 => 112, 298 => 111, 293 => 109, 290 => 107, 285 => 105, 281 => 103, 276 => 101, 273 => 100, 271 => 99, 262 => 92, 250 => 88, 244 => 87, 237 => 86, 233 => 84, 228 => 83, 223 => 80, 217 => 77, 211 => 74, 208 => 73, 206 => 72, 203 => 71, 201 => 70, 199 => 68, 197 => 67, 193 => 65, 189 => 63, 180 => 60, 175 => 59, 172 => 58, 167 => 57, 164 => 56, 159 => 54, 156 => 53, 154 => 52, 151 => 51, 149 => 50, 146 => 49, 143 => 47, 139 => 46, 133 => 42, 129 => 41, 125 => 40, 121 => 39, 115 => 38, 109 => 36, 107 => 35, 97 => 27, 90 => 24, 86 => 23, 82 => 22, 78 => 21, 70 => 16, 66 => 15, 58 => 10, 54 => 9, 46 => 4, 42 => 3, 38 => 1,); } public function getSourceContext() { return new Source("", "table/search/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/search/index.twig"); } } twig/47/47a1206967cbe67727a96aded1e567ad.php 0000644 00000004521 15114741573 0013067 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/bulk_action_modal.twig */ class __TwigTemplate_78721392c04ff23ce9f05d811e38f708 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 echo "<div class=\"modal fade\" id=\"bulkActionModal\" data-bs-backdrop=\"static\" data-bs-keyboard=\"false\" tabindex=\"-1\" aria-labelledby=\"bulkActionLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog modal-dialog-centered\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"bulkActionLabel\"></h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Cancel"); // line 7 echo "\"></button> </div> <div class=\"modal-body\"></div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Cancel"); // line 11 echo "</button> <button type=\"button\" class=\"btn btn-primary\" id=\"bulkActionContinue\">"; echo _gettext("Continue"); // line 12 echo "</button> </div> </div> </div> </div>"; } public function getTemplateName() { return "database/structure/bulk_action_modal.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 57 => 12, 53 => 11, 46 => 7, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/bulk_action_modal.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/bulk_action_modal.twig"); } } twig/d8/d8841f1f1620926afc9c943b58ba0506.php 0000644 00000005050 15114741573 0012774 0 ustar 00 <?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_fb52c8cbc8b1d8dff050b49ed8a327f9 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/path.twig"); } } twig/0f/0f1c1926427ee95239f92050d508d516.php 0000644 00000046667 15114741573 0012574 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/operations/index.twig */ class __TwigTemplate_e4d6f22f24731edc4c7ea5918114f4cb 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 echo "<div class=\"container-fluid\"> "; // line 3 echo ($context["message"] ?? null); echo " "; // line 5 if (($context["has_comment"] ?? null)) { // line 6 echo " <form method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/database/operations"); echo "\" id=\"formDatabaseComment\"> "; // line 7 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <div class=\"card mb-2\"> <div class=\"card-header\">"; // line 9 echo PhpMyAdmin\Html\Generator::getIcon("b_comment", _gettext("Database comment"), true); echo "</div> <div class=\"card-body\"> <div class=\"row g-3\"> <div class=\"col-auto\"> <label class=\"visually-hidden\" for=\"databaseCommentInput\">"; echo _gettext("Database comment"); // line 13 echo "</label> <input class=\"form-control textfield\" id=\"databaseCommentInput\" type=\"text\" name=\"comment\" value=\""; // line 14 echo twig_escape_filter($this->env, ($context["db_comment"] ?? null), "html", null, true); echo "\"> </div> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 19 echo "\"> </div> </div> </form> "; } // line 24 echo " <form id=\"createTableMinimalForm\" method=\"post\" action=\""; // line 25 echo PhpMyAdmin\Url::getFromRoute("/table/create"); echo "\" class=\"card mb-2 lock-page\"> "; // line 26 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <div class=\"card-header\">"; // line 27 echo PhpMyAdmin\Html\Generator::getIcon("b_table_add", _gettext("Create new table"), true); echo "</div> <div class=\"card-body row row-cols-lg-auto g-3\"> <div class=\"col-md-6\"> <label for=\"createTableNameInput\" class=\"form-label\">"; echo _gettext("Table name"); // line 30 echo "</label> <input type=\"text\" class=\"form-control\" name=\"table\" id=\"createTableNameInput\" maxlength=\"64\" required> </div> <div class=\"col-md-6\"> <label for=\"createTableNumFieldsInput\" class=\"form-label\">"; echo _gettext("Number of columns"); // line 34 echo "</label> <input type=\"number\" class=\"form-control\" name=\"num_fields\" id=\"createTableNumFieldsInput\" min=\"1\" value=\"4\" required> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Create"); // line 39 echo "\"> </div> </form> "; // line 43 if ((($context["db"] ?? null) != "mysql")) { // line 44 echo " <form id=\"rename_db_form\" class=\"ajax\" method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/database/operations"); echo "\"> "; // line 45 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <input type=\"hidden\" name=\"what\" value=\"data\"> <input type=\"hidden\" name=\"db_rename\" value=\"true\"> "; // line 49 if ( !twig_test_empty(($context["db_collation"] ?? null))) { // line 50 echo " <input type=\"hidden\" name=\"db_collation\" value=\""; echo twig_escape_filter($this->env, ($context["db_collation"] ?? null), "html", null, true); echo "\"> "; } // line 52 echo " <div class=\"card mb-2\"> <div class=\"card-header\">"; // line 54 echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Rename database to"), true); echo "</div> <div class=\"card-body\"> <div class=\"mb-3 row g-3\"> <div class=\"col-auto\"> <label class=\"visually-hidden\" for=\"new_db_name\">"; echo _gettext("New database name"); // line 58 echo "</label> <input class=\"form-control textfield\" id=\"new_db_name\" type=\"text\" name=\"newname\" maxlength=\"64\" required> </div> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"adjust_privileges\" value=\"1\" id=\"checkbox_adjust_privileges\""; // line 65 if (($context["has_adjust_privileges"] ?? null)) { echo " checked"; } else { echo " title=\""; echo _gettext("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details."); // line 66 echo "\" disabled"; } echo "> <label class=\"form-check-label\" for=\"checkbox_adjust_privileges\"> "; echo _gettext("Adjust privileges"); // line 69 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39"); echo " </label> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 75 echo "\"> </div> </div> </form> "; } // line 80 echo " "; // line 81 if (($context["is_drop_database_allowed"] ?? null)) { // line 82 echo " <div class=\"card mb-2\"> <div class=\"card-header\">"; // line 83 echo PhpMyAdmin\Html\Generator::getIcon("b_deltbl", _gettext("Remove database"), true); echo "</div> <div class=\"card-body\"> <div class=\"card-text\"> "; // line 86 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), ["sql_query" => ("DROP DATABASE " . PhpMyAdmin\Util::backquote( // line 89 ($context["db"] ?? null))), "back" => PhpMyAdmin\Url::getFromRoute("/database/operations"), "goto" => PhpMyAdmin\Url::getFromRoute("/"), "reload" => true, "purge" => true, "message_to_show" => twig_escape_filter($this->env, twig_sprintf(_gettext("Database %s has been dropped."), PhpMyAdmin\Util::backquote( // line 94 ($context["db"] ?? null)))), "db" => null], _gettext("Drop the database (DROP)"), ["id" => "drop_db_anchor", "class" => "ajax text-danger"]); // line 102 echo " "; // line 103 echo PhpMyAdmin\Html\MySQLDocumentation::show("DROP_DATABASE"); echo " </div> </div> </div> "; } // line 108 echo " <form id=\"copy_db_form\" class=\"ajax\" method=\"post\" action=\""; // line 109 echo PhpMyAdmin\Url::getFromRoute("/database/operations"); echo "\"> "; // line 110 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <input type=\"hidden\" name=\"db_copy\" value=\"true\"> "; // line 113 if ( !twig_test_empty(($context["db_collation"] ?? null))) { // line 114 echo " <input type=\"hidden\" name=\"db_collation\" value=\""; echo twig_escape_filter($this->env, ($context["db_collation"] ?? null), "html", null, true); echo "\"> "; } // line 116 echo " <div class=\"card mb-2\"> <div class=\"card-header\">"; // line 118 echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Copy database to"), true); echo "</div> <div class=\"card-body\"> <div class=\"mb-3 row g-3\"> <div class=\"col-auto\"> <label class=\"visually-hidden\" for=\"renameDbNameInput\">"; echo _gettext("Database name"); // line 122 echo "</label> <input class=\"form-control textfield\" id=\"renameDbNameInput\" type=\"text\" maxlength=\"64\" name=\"newname\" required> </div> </div> <div class=\"mb-3\"> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"what\" id=\"whatRadio1\" value=\"structure\"> <label class=\"form-check-label\" for=\"whatRadio1\"> "; echo _gettext("Structure only"); // line 132 echo " </label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"what\" id=\"whatRadio2\" value=\"data\" checked> <label class=\"form-check-label\" for=\"whatRadio2\"> "; echo _gettext("Structure and data"); // line 138 echo " </label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"what\" id=\"whatRadio3\" value=\"dataonly\"> <label class=\"form-check-label\" for=\"whatRadio3\"> "; echo _gettext("Data only"); // line 144 echo " </label> </div> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"create_database_before_copying\" value=\"1\" id=\"checkbox_create_database_before_copying\" checked> <label class=\"form-check-label\" for=\"checkbox_create_database_before_copying\">"; echo _gettext("CREATE DATABASE before copying"); // line 150 echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"drop_if_exists\" value=\"true\" id=\"checkbox_drop\"> <label class=\"form-check-label\" for=\"checkbox_drop\">"; // line 155 echo twig_escape_filter($this->env, twig_sprintf(_gettext("Add %s"), "DROP TABLE / DROP VIEW"), "html", null, true); echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"sql_auto_increment\" value=\"1\" id=\"checkbox_auto_increment\" checked> <label class=\"form-check-label\" for=\"checkbox_auto_increment\">"; echo _gettext("Add AUTO_INCREMENT value"); // line 160 echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"add_constraints\" value=\"1\" id=\"checkbox_constraints\" checked> <label class=\"form-check-label\" for=\"checkbox_constraints\">"; echo _gettext("Add constraints"); // line 165 echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"adjust_privileges\" value=\"1\" id=\"checkbox_privileges\""; // line 170 if (($context["has_adjust_privileges"] ?? null)) { echo " checked"; } else { echo " title=\""; echo _gettext("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details."); // line 171 echo "\" disabled"; } echo "> <label class=\"form-check-label\" for=\"checkbox_privileges\"> "; echo _gettext("Adjust privileges"); // line 174 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39"); echo " </label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"switch_to_new\" value=\"true\" id=\"checkbox_switch\""; // line 179 echo ((($context["switch_to_new"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"checkbox_switch\">"; echo _gettext("Switch to copied database"); // line 180 echo "</label> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" name=\"submit_copy\" value=\""; echo _gettext("Go"); // line 185 echo "\"> </div> </div> </form> <form id=\"change_db_charset_form\" class=\"ajax\" method=\"post\" action=\""; // line 190 echo PhpMyAdmin\Url::getFromRoute("/database/operations/collation"); echo "\"> "; // line 191 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <div class=\"card mb-2\"> <div class=\"card-header\">"; // line 194 echo PhpMyAdmin\Html\Generator::getIcon("s_asci", _gettext("Collation"), true); echo "</div> <div class=\"card-body\"> <div class=\"mb-3 row g-3\"> <div class=\"col-auto\"> <label class=\"visually-hidden\" for=\"select_db_collation\">"; echo _gettext("Collation"); // line 198 echo "</label> <select class=\"form-select\" lang=\"en\" dir=\"ltr\" name=\"db_collation\" id=\"select_db_collation\"> <option value=\"\"></option> "; // line 201 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 202 echo " <optgroup label=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 202), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getDescription", [], "method", false, false, false, 202), "html", null, true); echo "\"> "; // line 203 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((($__internal_compile_0 = ($context["collations"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 203)] ?? null) : null)); foreach ($context['_seq'] as $context["_key"] => $context["collation"]) { // line 204 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "getName", [], "method", false, false, false, 204), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "getDescription", [], "method", false, false, false, 204), "html", null, true); echo "\""; echo (((($context["db_collation"] ?? null) == twig_get_attribute($this->env, $this->source, $context["collation"], "getName", [], "method", false, false, false, 204))) ? (" selected") : ("")); echo "> "; // line 205 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "getName", [], "method", false, false, false, 205), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 208 echo " </optgroup> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 210 echo " </select> </div> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"change_all_tables_collations\" id=\"checkbox_change_all_tables_collations\"> <label class=\"form-check-label\" for=\"checkbox_change_all_tables_collations\">"; echo _gettext("Change all tables collations"); // line 216 echo "</label> </div> <div class=\"form-check\" id=\"span_change_all_tables_columns_collations\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"change_all_tables_columns_collations\" id=\"checkbox_change_all_tables_columns_collations\"> <label class=\"form-check-label\" for=\"checkbox_change_all_tables_columns_collations\">"; echo _gettext("Change all tables columns collations"); // line 220 echo "</label> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 225 echo "\"> </div> </div> </form> </div> "; } public function getTemplateName() { return "database/operations/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 455 => 225, 447 => 220, 440 => 216, 431 => 210, 424 => 208, 415 => 205, 406 => 204, 402 => 203, 395 => 202, 391 => 201, 386 => 198, 378 => 194, 372 => 191, 368 => 190, 361 => 185, 353 => 180, 348 => 179, 339 => 174, 332 => 171, 326 => 170, 320 => 165, 312 => 160, 303 => 155, 296 => 150, 287 => 144, 279 => 138, 271 => 132, 259 => 122, 251 => 118, 247 => 116, 241 => 114, 239 => 113, 233 => 110, 229 => 109, 226 => 108, 218 => 103, 215 => 102, 213 => 94, 212 => 89, 211 => 86, 205 => 83, 202 => 82, 200 => 81, 197 => 80, 190 => 75, 179 => 69, 172 => 66, 166 => 65, 158 => 58, 150 => 54, 146 => 52, 140 => 50, 138 => 49, 131 => 45, 126 => 44, 124 => 43, 118 => 39, 110 => 34, 103 => 30, 96 => 27, 92 => 26, 88 => 25, 85 => 24, 78 => 19, 69 => 14, 66 => 13, 58 => 9, 53 => 7, 48 => 6, 46 => 5, 41 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "database/operations/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/operations/index.twig"); } } twig/0f/0f4c1fc5fe66f0989d54cbc2a00fc662.php 0000644 00000003521 15114741573 0013266 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* recent_favorite_table_no_tables.twig */ class __TwigTemplate_1578ca7a9b767160f258021e3c2213d7 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 echo "<li class=\"warp_link\"> "; // line 2 if (($context["is_recent"] ?? null)) { // line 3 echo " "; echo _gettext("There are no recent tables."); // line 4 echo " "; } else { // line 5 echo " "; echo _gettext("There are no favorite tables."); // line 6 echo " "; } // line 7 echo "</li> "; } public function getTemplateName() { return "recent_favorite_table_no_tables.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 54 => 7, 51 => 6, 48 => 5, 45 => 4, 42 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "recent_favorite_table_no_tables.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/recent_favorite_table_no_tables.twig"); } } twig/39/39295d6ffc8800d5bdceddfb1068bfc3.php 0000644 00000161015 15114741573 0013366 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* columns_definitions/column_attributes.twig */ class __TwigTemplate_d6f2c643dbfa7492313578ac0308c248 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 $context["ci"] = 0; // line 3 echo " "; // line 6 $context["ci_offset"] = -1; // line 7 echo " <td class=\"text-center\"> "; // line 10 echo " "; $this->loadTemplate("columns_definitions/column_name.twig", "columns_definitions/column_attributes.twig", 10)->display(twig_to_array(["column_number" => // line 11 ($context["column_number"] ?? null), "ci" => // line 12 ($context["ci"] ?? null), "ci_offset" => // line 13 ($context["ci_offset"] ?? null), "column_meta" => // line 14 ($context["column_meta"] ?? null), "has_central_columns_feature" => !(null === twig_get_attribute($this->env, $this->source, // line 15 ($context["relation_parameters"] ?? null), "centralColumnsFeature", [], "any", false, false, false, 15)), "max_rows" => // line 16 ($context["max_rows"] ?? null)])); // line 18 echo " "; $context["ci"] = (($context["ci"] ?? null) + 1); // line 19 echo "</td> <td class=\"text-center\"> <select class=\"column_type\" name=\"field_type["; // line 21 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\""; // line 22 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "column_status", [], "array", true, true, false, 22) && !(($__internal_compile_0 = (($__internal_compile_1 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["column_status"] ?? null) : null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["isEditable"] ?? null) : null))) ? (" disabled") : ("")); echo "> "; // line 23 echo PhpMyAdmin\Util::getSupportedDatatypes(true, ($context["type_upper"] ?? null)); echo " </select> "; // line 25 $context["ci"] = (($context["ci"] ?? null) + 1); // line 26 echo "</td> <td class=\"text-center\"> <input id=\"field_"; // line 28 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" type=\"text\" name=\"field_length["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" size=\""; // line 29 echo twig_escape_filter($this->env, ($context["length_values_input_size"] ?? null), "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, ($context["length"] ?? null), "html", null, true); echo "\" class=\"textfield\"> <p class=\"enum_notice\" id=\"enum_notice_"; // line 30 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\"> <a href=\"#\" class=\"open_enum_editor\">"; echo _gettext("Edit ENUM/SET values"); // line 31 echo "</a> </p> "; // line 33 $context["ci"] = (($context["ci"] ?? null) + 1); // line 34 echo "</td> <td class=\"text-center\"> <select name=\"field_default_type["; // line 36 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" class=\"default_type\"> <option value=\"NONE\""; // line 37 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "DefaultType", [], "array", true, true, false, 37) && ((($__internal_compile_2 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["DefaultType"] ?? null) : null) == "NONE"))) ? (" selected") : ("")); echo "> "; echo _pgettext("for default", "None"); // line 39 echo " </option> <option value=\"USER_DEFINED\""; // line 40 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "DefaultType", [], "array", true, true, false, 40) && ((($__internal_compile_3 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["DefaultType"] ?? null) : null) == "USER_DEFINED"))) ? (" selected") : ("")); echo "> "; echo _gettext("As defined:"); // line 42 echo " </option> <option value=\"NULL\""; // line 43 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "DefaultType", [], "array", true, true, false, 43) && ((($__internal_compile_4 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["DefaultType"] ?? null) : null) == "NULL"))) ? (" selected") : ("")); echo "> NULL </option> <option value=\"CURRENT_TIMESTAMP\""; // line 46 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "DefaultType", [], "array", true, true, false, 46) && ((($__internal_compile_5 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["DefaultType"] ?? null) : null) == "CURRENT_TIMESTAMP"))) ? (" selected") : ("")); echo "> CURRENT_TIMESTAMP </option> "; // line 49 if (PhpMyAdmin\Util::isUUIDSupported()) { // line 50 echo " <option value=\"UUID\""; echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "DefaultType", [], "array", true, true, false, 50) && ((($__internal_compile_6 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["DefaultType"] ?? null) : null) == "UUID"))) ? (" selected") : ("")); echo "> UUID </option> "; } // line 54 echo " </select> "; // line 55 if ((($context["char_editing"] ?? null) == "textarea")) { // line 56 echo " <textarea name=\"field_default_value["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" cols=\"15\" class=\"textfield default_value\">"; echo twig_escape_filter($this->env, ($context["default_value"] ?? null), "html", null, true); echo "</textarea> "; } else { // line 58 echo " <input type=\"text\" name=\"field_default_value["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" size=\"12\" value=\""; echo twig_escape_filter($this->env, ($context["default_value"] ?? null), "html", null, true); echo "\" class=\"textfield default_value\"> "; } // line 60 echo " "; $context["ci"] = (($context["ci"] ?? null) + 1); // line 61 echo "</td> <td class=\"text-center\"> "; // line 64 echo " <select lang=\"en\" dir=\"ltr\" name=\"field_collation["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\"> <option value=\"\"></option> "; // line 66 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 67 echo " <optgroup label=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 67), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 67), "html", null, true); echo "\"> "; // line 68 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 68)); foreach ($context['_seq'] as $context["_key"] => $context["collation"]) { // line 69 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 69), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "description", [], "any", false, false, false, 69), "html", null, true); echo "\""; // line 70 echo (((twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 70) == (($__internal_compile_7 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["Collation"] ?? null) : null))) ? (" selected") : ("")); echo ">"; // line 71 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 71), "html", null, true); // line 72 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 74 echo " </optgroup> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 76 echo " </select> "; // line 77 $context["ci"] = (($context["ci"] ?? null) + 1); // line 78 echo "</td> <td class=\"text-center\"> "; // line 81 echo " "; $this->loadTemplate("columns_definitions/column_attribute.twig", "columns_definitions/column_attributes.twig", 81)->display(twig_to_array(["column_number" => // line 82 ($context["column_number"] ?? null), "ci" => // line 83 ($context["ci"] ?? null), "ci_offset" => // line 84 ($context["ci_offset"] ?? null), "column_meta" => // line 85 ($context["column_meta"] ?? null), "extracted_columnspec" => // line 86 ($context["extracted_columnspec"] ?? null), "submit_attribute" => // line 87 ($context["submit_attribute"] ?? null), "attribute_types" => // line 88 ($context["attribute_types"] ?? null)])); // line 90 echo " "; $context["ci"] = (($context["ci"] ?? null) + 1); // line 91 echo "</td> <td class=\"text-center\"> <input name=\"field_null["; // line 93 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" type=\"checkbox\" value=\"YES\" class=\"allow_null\""; // line 94 echo (((( !twig_test_empty((($__internal_compile_8 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["Null"] ?? null) : null)) && ((($__internal_compile_9 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["Null"] ?? null) : null) != "NO")) && ((($__internal_compile_10 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["Null"] ?? null) : null) != "NOT NULL"))) ? (" checked") : ("")); echo "> "; // line 95 $context["ci"] = (($context["ci"] ?? null) + 1); // line 96 echo "</td> "; // line 97 if ((array_key_exists("change_column", $context) && !twig_test_empty(($context["change_column"] ?? null)))) { // line 98 echo " "; // line 99 echo " <td class=\"text-center\"> <input name=\"field_adjust_privileges["; // line 100 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" type=\"checkbox\" value=\"NULL\" class=\"allow_null\""; // line 101 if (($context["privs_available"] ?? null)) { echo " checked>"; } else { // line 102 echo " title=\""; echo _gettext("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details"); echo "\" disabled>"; } // line 104 echo " "; $context["ci"] = (($context["ci"] ?? null) + 1); // line 105 echo " </td> "; } // line 107 if ( !($context["is_backup"] ?? null)) { // line 108 echo " "; // line 109 echo " <td class=\"text-center\"> <select name=\"field_key["; // line 110 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" data-index=\"\"> <option value=\"none_"; // line 111 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "\">---</option> <option value=\"primary_"; // line 112 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "\" title=\""; echo _gettext("Primary"); echo "\""; // line 113 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Key", [], "array", true, true, false, 113) && ((($__internal_compile_11 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["Key"] ?? null) : null) == "PRI"))) ? (" selected") : ("")); echo "> PRIMARY </option> <option value=\"unique_"; // line 116 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "\" title=\""; echo _gettext("Unique"); echo "\""; // line 117 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Key", [], "array", true, true, false, 117) && ((($__internal_compile_12 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_12) || $__internal_compile_12 instanceof ArrayAccess ? ($__internal_compile_12["Key"] ?? null) : null) == "UNI"))) ? (" selected") : ("")); echo "> UNIQUE </option> <option value=\"index_"; // line 120 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "\" title=\""; echo _gettext("Index"); echo "\""; // line 121 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Key", [], "array", true, true, false, 121) && ((($__internal_compile_13 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_13) || $__internal_compile_13 instanceof ArrayAccess ? ($__internal_compile_13["Key"] ?? null) : null) == "MUL"))) ? (" selected") : ("")); echo "> INDEX </option> <option value=\"fulltext_"; // line 124 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "\" title=\""; echo _gettext("Fulltext"); echo "\""; // line 125 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Key", [], "array", true, true, false, 125) && ((($__internal_compile_14 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14["Key"] ?? null) : null) == "FULLTEXT"))) ? (" selected") : ("")); echo "> FULLTEXT </option> <option value=\"spatial_"; // line 128 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "\" title=\""; echo _gettext("Spatial"); echo "\""; // line 129 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Key", [], "array", true, true, false, 129) && ((($__internal_compile_15 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15["Key"] ?? null) : null) == "SPATIAL"))) ? (" selected") : ("")); echo "> SPATIAL </option> </select> "; // line 133 $context["ci"] = (($context["ci"] ?? null) + 1); // line 134 echo " </td> "; } // line 136 echo "<td class=\"text-center\"> <input name=\"field_extra["; // line 137 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" type=\"checkbox\" value=\"AUTO_INCREMENT\""; // line 138 echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Extra", [], "array", true, true, false, 138) && (twig_lower_filter($this->env, (($__internal_compile_16 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16["Extra"] ?? null) : null)) == "auto_increment"))) ? (" checked") : ("")); echo "> "; // line 139 $context["ci"] = (($context["ci"] ?? null) + 1); // line 140 echo "</td> <td class=\"text-center\"> <textarea id=\"field_"; // line 142 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" rows=\"1\" name=\"field_comments["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" maxlength=\""; echo twig_escape_filter($this->env, ($context["max_length"] ?? null), "html", null, true); echo "\">"; // line 143 ((((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 143) && twig_test_iterable(($context["comments_map"] ?? null))) && twig_get_attribute($this->env, $this->source, ($context["comments_map"] ?? null), (($__internal_compile_17 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17["Field"] ?? null) : null), [], "array", true, true, false, 143))) ? (print (twig_escape_filter($this->env, (($__internal_compile_18 = ($context["comments_map"] ?? null)) && is_array($__internal_compile_18) || $__internal_compile_18 instanceof ArrayAccess ? ($__internal_compile_18[(($__internal_compile_19 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_19) || $__internal_compile_19 instanceof ArrayAccess ? ($__internal_compile_19["Field"] ?? null) : null)] ?? null) : null), "html", null, true))) : (print (""))); // line 144 echo "</textarea> "; // line 145 $context["ci"] = (($context["ci"] ?? null) + 1); // line 146 echo "</td> "; // line 148 if (($context["is_virtual_columns_supported"] ?? null)) { // line 149 echo " <td class=\"text-center\"> <select name=\"field_virtuality["; // line 150 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" class=\"virtuality\"> "; // line 151 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["options"] ?? null)); foreach ($context['_seq'] as $context["key"] => $context["value"]) { // line 152 echo " "; $context["virtuality"] = ((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Extra", [], "array", true, true, false, 152)) ? ((($__internal_compile_20 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_20) || $__internal_compile_20 instanceof ArrayAccess ? ($__internal_compile_20["Extra"] ?? null) : null)) : (null)); // line 153 echo " "; // line 154 echo " "; $context["virtuality"] = ((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Virtuality", [], "array", true, true, false, 154)) ? ((($__internal_compile_21 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_21) || $__internal_compile_21 instanceof ArrayAccess ? ($__internal_compile_21["Virtuality"] ?? null) : null)) : (($context["virtuality"] ?? null))); // line 155 echo " <option value=\""; // line 156 echo twig_escape_filter($this->env, $context["key"], "html", null, true); echo "\""; echo (((( !(null === ($context["virtuality"] ?? null)) && ($context["key"] != "")) && (twig_slice($this->env, ($context["virtuality"] ?? null), 0, twig_length_filter($this->env, $context["key"])) === $context["key"]))) ? (" selected") : ("")); echo "> "; // line 157 echo twig_escape_filter($this->env, $context["value"], "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 160 echo " </select> "; // line 162 if ((($context["char_editing"] ?? null) == "textarea")) { // line 163 echo " <textarea name=\"field_expression["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" cols=\"15\" class=\"textfield expression\">"; ((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Expression", [], "array", true, true, false, 163)) ? (print (twig_escape_filter($this->env, (($__internal_compile_22 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_22) || $__internal_compile_22 instanceof ArrayAccess ? ($__internal_compile_22["Expression"] ?? null) : null), "html", null, true))) : (print (""))); echo "</textarea> "; } else { // line 165 echo " <input type=\"text\" name=\"field_expression["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" size=\"12\" value=\""; ((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Expression", [], "array", true, true, false, 165)) ? (print (twig_escape_filter($this->env, (($__internal_compile_23 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_23) || $__internal_compile_23 instanceof ArrayAccess ? ($__internal_compile_23["Expression"] ?? null) : null), "html", null, true))) : (print (""))); echo "\" placeholder=\""; echo _gettext("Expression"); echo "\" class=\"textfield expression\"> "; } // line 167 echo " "; $context["ci"] = (($context["ci"] ?? null) + 1); // line 168 echo " </td> "; } // line 171 if (array_key_exists("fields_meta", $context)) { // line 172 echo " "; $context["current_index"] = 0; // line 173 echo " "; $context["cols"] = (twig_length_filter($this->env, ($context["move_columns"] ?? null)) - 1); // line 174 echo " "; $context["break"] = false; // line 175 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(range(0, ($context["cols"] ?? null))); foreach ($context['_seq'] as $context["_key"] => $context["mi"]) { // line 176 echo " "; if (((twig_get_attribute($this->env, $this->source, (($__internal_compile_24 = ($context["move_columns"] ?? null)) && is_array($__internal_compile_24) || $__internal_compile_24 instanceof ArrayAccess ? ($__internal_compile_24[$context["mi"]] ?? null) : null), "name", [], "any", false, false, false, 176) == (($__internal_compile_25 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_25) || $__internal_compile_25 instanceof ArrayAccess ? ($__internal_compile_25["Field"] ?? null) : null)) && !($context["break"] ?? null))) { // line 177 echo " "; $context["current_index"] = $context["mi"]; // line 178 echo " "; $context["break"] = true; // line 179 echo " "; } // line 180 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['mi'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 181 echo " <td class=\"text-center\"> <select id=\"field_"; // line 183 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" name=\"field_move_to["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" size=\"1\" width=\"5em\"> <option value=\"\" selected=\"selected\"> </option> <option value=\"-first\""; // line 185 echo (((($context["current_index"] ?? null) == 0)) ? (" disabled=\"disabled\"") : ("")); echo "> "; echo _gettext("first"); // line 187 echo " </option> "; // line 188 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(range(0, (twig_length_filter($this->env, ($context["move_columns"] ?? null)) - 1))); foreach ($context['_seq'] as $context["_key"] => $context["mi"]) { // line 189 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_compile_26 = ($context["move_columns"] ?? null)) && is_array($__internal_compile_26) || $__internal_compile_26 instanceof ArrayAccess ? ($__internal_compile_26[$context["mi"]] ?? null) : null), "name", [], "any", false, false, false, 189), "html", null, true); echo "\""; // line 190 echo ((((($context["current_index"] ?? null) == $context["mi"]) || (($context["current_index"] ?? null) == ($context["mi"] + 1)))) ? (" disabled") : ("")); echo "> "; // line 191 echo twig_escape_filter($this->env, twig_sprintf(_gettext("after %s"), PhpMyAdmin\Util::backquote(twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_compile_27 = ($context["move_columns"] ?? null)) && is_array($__internal_compile_27) || $__internal_compile_27 instanceof ArrayAccess ? ($__internal_compile_27[$context["mi"]] ?? null) : null), "name", [], "any", false, false, false, 191)))), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['mi'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 194 echo " </select> "; // line 195 $context["ci"] = (($context["ci"] ?? null) + 1); // line 196 echo " </td> "; } // line 198 echo " "; // line 199 if ((( !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "browserTransformationFeature", [], "any", false, false, false, 199)) && !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "columnCommentsFeature", [], "any", false, false, false, 199))) && ($context["browse_mime"] ?? null))) { // line 200 echo " <td class=\"text-center\"> <select id=\"field_"; // line 201 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" size=\"1\" name=\"field_mimetype["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\"> <option value=\"\"> </option> "; // line 203 if ((twig_get_attribute($this->env, $this->source, ($context["available_mime"] ?? null), "mimetype", [], "array", true, true, false, 203) && twig_test_iterable((($__internal_compile_28 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_28) || $__internal_compile_28 instanceof ArrayAccess ? ($__internal_compile_28["mimetype"] ?? null) : null)))) { // line 204 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((($__internal_compile_29 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_29) || $__internal_compile_29 instanceof ArrayAccess ? ($__internal_compile_29["mimetype"] ?? null) : null)); foreach ($context['_seq'] as $context["_key"] => $context["media_type"]) { // line 205 echo " <option value=\""; echo twig_escape_filter($this->env, twig_replace_filter($context["media_type"], ["/" => "_"]), "html", null, true); echo "\""; // line 206 echo ((((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 206) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["mime_map"] ?? null), (($__internal_compile_30 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_30) || $__internal_compile_30 instanceof ArrayAccess ? ($__internal_compile_30["Field"] ?? null) : null), [], "array", false, true, false, 206), "mimetype", [], "array", true, true, false, 206)) && ((($__internal_compile_31 = (($__internal_compile_32 = // line 207 ($context["mime_map"] ?? null)) && is_array($__internal_compile_32) || $__internal_compile_32 instanceof ArrayAccess ? ($__internal_compile_32[(($__internal_compile_33 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_33) || $__internal_compile_33 instanceof ArrayAccess ? ($__internal_compile_33["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_31) || $__internal_compile_31 instanceof ArrayAccess ? ($__internal_compile_31["mimetype"] ?? null) : null) == twig_replace_filter($context["media_type"], ["/" => "_"])))) ? (" selected") : ("")); echo "> "; // line 208 echo twig_escape_filter($this->env, twig_lower_filter($this->env, $context["media_type"]), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media_type'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 211 echo " "; } // line 212 echo " </select> "; // line 213 $context["ci"] = (($context["ci"] ?? null) + 1); // line 214 echo " </td> <td class=\"text-center\"> <select id=\"field_"; // line 216 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" size=\"1\" name=\"field_transformation["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\"> <option value=\"\" title=\""; echo _gettext("None"); // line 217 echo "\"></option> "; // line 218 if ((twig_get_attribute($this->env, $this->source, ($context["available_mime"] ?? null), "transformation", [], "array", true, true, false, 218) && twig_test_iterable((($__internal_compile_34 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_34) || $__internal_compile_34 instanceof ArrayAccess ? ($__internal_compile_34["transformation"] ?? null) : null)))) { // line 219 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((($__internal_compile_35 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_35) || $__internal_compile_35 instanceof ArrayAccess ? ($__internal_compile_35["transformation"] ?? null) : null)); foreach ($context['_seq'] as $context["mimekey"] => $context["transform"]) { // line 220 echo " "; $context["parts"] = twig_split_filter($this->env, $context["transform"], ":"); // line 221 echo " <option value=\""; echo twig_escape_filter($this->env, (($__internal_compile_36 = (($__internal_compile_37 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_37) || $__internal_compile_37 instanceof ArrayAccess ? ($__internal_compile_37["transformation_file"] ?? null) : null)) && is_array($__internal_compile_36) || $__internal_compile_36 instanceof ArrayAccess ? ($__internal_compile_36[$context["mimekey"]] ?? null) : null), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, $this->env->getFunction('get_description')->getCallable()((($__internal_compile_38 = (($__internal_compile_39 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_39) || $__internal_compile_39 instanceof ArrayAccess ? ($__internal_compile_39["transformation_file"] ?? null) : null)) && is_array($__internal_compile_38) || $__internal_compile_38 instanceof ArrayAccess ? ($__internal_compile_38[$context["mimekey"]] ?? null) : null)), "html", null, true); echo "\""; // line 222 echo (((((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 222) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 223 ($context["mime_map"] ?? null), (($__internal_compile_40 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_40) || $__internal_compile_40 instanceof ArrayAccess ? ($__internal_compile_40["Field"] ?? null) : null), [], "array", false, true, false, 223), "transformation", [], "array", true, true, false, 223)) && !(null === (($__internal_compile_41 = (($__internal_compile_42 = // line 224 ($context["mime_map"] ?? null)) && is_array($__internal_compile_42) || $__internal_compile_42 instanceof ArrayAccess ? ($__internal_compile_42[(($__internal_compile_43 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_43) || $__internal_compile_43 instanceof ArrayAccess ? ($__internal_compile_43["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_41) || $__internal_compile_41 instanceof ArrayAccess ? ($__internal_compile_41["transformation"] ?? null) : null))) && twig_matches((("@" . (($__internal_compile_44 = (($__internal_compile_45 = // line 225 ($context["available_mime"] ?? null)) && is_array($__internal_compile_45) || $__internal_compile_45 instanceof ArrayAccess ? ($__internal_compile_45["transformation_file_quoted"] ?? null) : null)) && is_array($__internal_compile_44) || $__internal_compile_44 instanceof ArrayAccess ? ($__internal_compile_44[$context["mimekey"]] ?? null) : null)) . "3?@i"), (($__internal_compile_46 = (($__internal_compile_47 = ($context["mime_map"] ?? null)) && is_array($__internal_compile_47) || $__internal_compile_47 instanceof ArrayAccess ? ($__internal_compile_47[(($__internal_compile_48 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_48) || $__internal_compile_48 instanceof ArrayAccess ? ($__internal_compile_48["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_46) || $__internal_compile_46 instanceof ArrayAccess ? ($__internal_compile_46["transformation"] ?? null) : null)))) ? (" selected") : ("")); echo "> "; // line 226 echo twig_escape_filter($this->env, ((((($this->env->getFunction('get_name')->getCallable()((($__internal_compile_49 = (($__internal_compile_50 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_50) || $__internal_compile_50 instanceof ArrayAccess ? ($__internal_compile_50["transformation_file"] ?? null) : null)) && is_array($__internal_compile_49) || $__internal_compile_49 instanceof ArrayAccess ? ($__internal_compile_49[$context["mimekey"]] ?? null) : null)) . " (") . twig_lower_filter($this->env, (($__internal_compile_51 = ($context["parts"] ?? null)) && is_array($__internal_compile_51) || $__internal_compile_51 instanceof ArrayAccess ? ($__internal_compile_51[0] ?? null) : null))) . ":") . (($__internal_compile_52 = ($context["parts"] ?? null)) && is_array($__internal_compile_52) || $__internal_compile_52 instanceof ArrayAccess ? ($__internal_compile_52[1] ?? null) : null)) . ")"), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['mimekey'], $context['transform'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 229 echo " "; } // line 230 echo " </select> "; // line 231 $context["ci"] = (($context["ci"] ?? null) + 1); // line 232 echo " </td> <td class=\"text-center\"> <input id=\"field_"; // line 234 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" type=\"text\" name=\"field_transformation_options["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" size=\"16\" class=\"textfield\" value=\""; // line 235 (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 235) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["mime_map"] ?? null), (($__internal_compile_53 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_53) || $__internal_compile_53 instanceof ArrayAccess ? ($__internal_compile_53["Field"] ?? null) : null), [], "array", false, true, false, 235), "transformation_options", [], "array", true, true, false, 235))) ? (print (twig_escape_filter($this->env, (($__internal_compile_54 = (($__internal_compile_55 = ($context["mime_map"] ?? null)) && is_array($__internal_compile_55) || $__internal_compile_55 instanceof ArrayAccess ? ($__internal_compile_55[(($__internal_compile_56 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_56) || $__internal_compile_56 instanceof ArrayAccess ? ($__internal_compile_56["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_54) || $__internal_compile_54 instanceof ArrayAccess ? ($__internal_compile_54["transformation_options"] ?? null) : null), "html", null, true))) : (print (""))); echo "\"> "; // line 236 $context["ci"] = (($context["ci"] ?? null) + 1); // line 237 echo " </td> <td class=\"text-center\"> <select id=\"field_"; // line 239 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" size=\"1\" name=\"field_input_transformation["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\"> <option value=\"\" title=\""; echo _gettext("None"); // line 240 echo "\"></option> "; // line 241 if ((twig_get_attribute($this->env, $this->source, ($context["available_mime"] ?? null), "input_transformation", [], "array", true, true, false, 241) && twig_test_iterable((($__internal_compile_57 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_57) || $__internal_compile_57 instanceof ArrayAccess ? ($__internal_compile_57["input_transformation"] ?? null) : null)))) { // line 242 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((($__internal_compile_58 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_58) || $__internal_compile_58 instanceof ArrayAccess ? ($__internal_compile_58["input_transformation"] ?? null) : null)); foreach ($context['_seq'] as $context["mimekey"] => $context["transform"]) { // line 243 echo " "; $context["parts"] = twig_split_filter($this->env, $context["transform"], ":"); // line 244 echo " <option value=\""; echo twig_escape_filter($this->env, (($__internal_compile_59 = (($__internal_compile_60 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_60) || $__internal_compile_60 instanceof ArrayAccess ? ($__internal_compile_60["input_transformation_file"] ?? null) : null)) && is_array($__internal_compile_59) || $__internal_compile_59 instanceof ArrayAccess ? ($__internal_compile_59[$context["mimekey"]] ?? null) : null), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, $this->env->getFunction('get_description')->getCallable()((($__internal_compile_61 = (($__internal_compile_62 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_62) || $__internal_compile_62 instanceof ArrayAccess ? ($__internal_compile_62["input_transformation_file"] ?? null) : null)) && is_array($__internal_compile_61) || $__internal_compile_61 instanceof ArrayAccess ? ($__internal_compile_61[$context["mimekey"]] ?? null) : null)), "html", null, true); echo "\""; // line 245 echo ((((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 245) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["mime_map"] ?? null), (($__internal_compile_63 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_63) || $__internal_compile_63 instanceof ArrayAccess ? ($__internal_compile_63["Field"] ?? null) : null), [], "array", false, true, false, 245), "input_transformation", [], "array", true, true, false, 245)) && twig_matches((("@" . (($__internal_compile_64 = (($__internal_compile_65 = // line 246 ($context["available_mime"] ?? null)) && is_array($__internal_compile_65) || $__internal_compile_65 instanceof ArrayAccess ? ($__internal_compile_65["input_transformation_file_quoted"] ?? null) : null)) && is_array($__internal_compile_64) || $__internal_compile_64 instanceof ArrayAccess ? ($__internal_compile_64[$context["mimekey"]] ?? null) : null)) . "3?@i"), (($__internal_compile_66 = (($__internal_compile_67 = ($context["mime_map"] ?? null)) && is_array($__internal_compile_67) || $__internal_compile_67 instanceof ArrayAccess ? ($__internal_compile_67[(($__internal_compile_68 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_68) || $__internal_compile_68 instanceof ArrayAccess ? ($__internal_compile_68["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_66) || $__internal_compile_66 instanceof ArrayAccess ? ($__internal_compile_66["input_transformation"] ?? null) : null)))) ? (" selected") : ("")); echo "> "; // line 247 echo twig_escape_filter($this->env, ((((($this->env->getFunction('get_name')->getCallable()((($__internal_compile_69 = (($__internal_compile_70 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_70) || $__internal_compile_70 instanceof ArrayAccess ? ($__internal_compile_70["input_transformation_file"] ?? null) : null)) && is_array($__internal_compile_69) || $__internal_compile_69 instanceof ArrayAccess ? ($__internal_compile_69[$context["mimekey"]] ?? null) : null)) . " (") . twig_lower_filter($this->env, (($__internal_compile_71 = ($context["parts"] ?? null)) && is_array($__internal_compile_71) || $__internal_compile_71 instanceof ArrayAccess ? ($__internal_compile_71[0] ?? null) : null))) . ":") . (($__internal_compile_72 = ($context["parts"] ?? null)) && is_array($__internal_compile_72) || $__internal_compile_72 instanceof ArrayAccess ? ($__internal_compile_72[1] ?? null) : null)) . ")"), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['mimekey'], $context['transform'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 250 echo " "; } // line 251 echo " </select> "; // line 252 $context["ci"] = (($context["ci"] ?? null) + 1); // line 253 echo " </td> <td class=\"text-center\"> <input id=\"field_"; // line 255 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\" type=\"text\" name=\"field_input_transformation_options["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" size=\"16\" class=\"textfield\" value=\""; // line 256 (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 256) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["mime_map"] ?? null), (($__internal_compile_73 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_73) || $__internal_compile_73 instanceof ArrayAccess ? ($__internal_compile_73["Field"] ?? null) : null), [], "array", false, true, false, 256), "input_transformation_options", [], "array", true, true, false, 256))) ? (print (twig_escape_filter($this->env, (($__internal_compile_74 = (($__internal_compile_75 = ($context["mime_map"] ?? null)) && is_array($__internal_compile_75) || $__internal_compile_75 instanceof ArrayAccess ? ($__internal_compile_75[(($__internal_compile_76 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_76) || $__internal_compile_76 instanceof ArrayAccess ? ($__internal_compile_76["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_74) || $__internal_compile_74 instanceof ArrayAccess ? ($__internal_compile_74["input_transformation_options"] ?? null) : null), "html", null, true))) : (print (""))); echo "\"> "; // line 257 $context["ci"] = (($context["ci"] ?? null) + 1); // line 258 echo " </td> "; } } public function getTemplateName() { return "columns_definitions/column_attributes.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 785 => 258, 783 => 257, 779 => 256, 772 => 255, 768 => 253, 766 => 252, 763 => 251, 760 => 250, 751 => 247, 747 => 246, 746 => 245, 740 => 244, 737 => 243, 732 => 242, 730 => 241, 727 => 240, 718 => 239, 714 => 237, 712 => 236, 708 => 235, 701 => 234, 697 => 232, 695 => 231, 692 => 230, 689 => 229, 680 => 226, 676 => 225, 675 => 224, 674 => 223, 673 => 222, 667 => 221, 664 => 220, 659 => 219, 657 => 218, 654 => 217, 645 => 216, 641 => 214, 639 => 213, 636 => 212, 633 => 211, 624 => 208, 620 => 207, 619 => 206, 615 => 205, 610 => 204, 608 => 203, 599 => 201, 596 => 200, 594 => 199, 591 => 198, 587 => 196, 585 => 195, 582 => 194, 573 => 191, 569 => 190, 565 => 189, 561 => 188, 558 => 187, 553 => 185, 544 => 183, 540 => 181, 534 => 180, 531 => 179, 528 => 178, 525 => 177, 522 => 176, 517 => 175, 514 => 174, 511 => 173, 508 => 172, 506 => 171, 502 => 168, 499 => 167, 489 => 165, 481 => 163, 479 => 162, 475 => 160, 466 => 157, 460 => 156, 457 => 155, 454 => 154, 452 => 153, 449 => 152, 445 => 151, 437 => 150, 434 => 149, 432 => 148, 429 => 146, 427 => 145, 424 => 144, 422 => 143, 413 => 142, 409 => 140, 407 => 139, 403 => 138, 396 => 137, 393 => 136, 389 => 134, 387 => 133, 380 => 129, 375 => 128, 369 => 125, 364 => 124, 358 => 121, 353 => 120, 347 => 117, 342 => 116, 336 => 113, 331 => 112, 327 => 111, 319 => 110, 316 => 109, 314 => 108, 312 => 107, 308 => 105, 305 => 104, 300 => 102, 296 => 101, 289 => 100, 286 => 99, 284 => 98, 282 => 97, 279 => 96, 277 => 95, 273 => 94, 266 => 93, 262 => 91, 259 => 90, 257 => 88, 256 => 87, 255 => 86, 254 => 85, 253 => 84, 252 => 83, 251 => 82, 249 => 81, 245 => 78, 243 => 77, 240 => 76, 233 => 74, 226 => 72, 224 => 71, 221 => 70, 215 => 69, 211 => 68, 204 => 67, 200 => 66, 190 => 64, 186 => 61, 183 => 60, 175 => 58, 167 => 56, 165 => 55, 162 => 54, 154 => 50, 152 => 49, 146 => 46, 140 => 43, 137 => 42, 132 => 40, 129 => 39, 124 => 37, 116 => 36, 112 => 34, 110 => 33, 106 => 31, 99 => 30, 93 => 29, 86 => 28, 82 => 26, 80 => 25, 75 => 23, 71 => 22, 64 => 21, 60 => 19, 57 => 18, 55 => 16, 54 => 15, 53 => 14, 52 => 13, 51 => 12, 50 => 11, 48 => 10, 44 => 7, 42 => 6, 39 => 3, 37 => 2,); } public function getSourceContext() { return new Source("", "columns_definitions/column_attributes.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/columns_definitions/column_attributes.twig"); } } twig/39/39de91186749060fa60737558d7bbfa6.php 0000644 00000014433 15114741573 0012662 0 ustar 00 <?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_4ccb08d2fb821587d0be8c75f6abd0ea 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/scripts.twig"); } } twig/39/39798e2e9a72a6863b4294f832d4f456.php 0000644 00000004227 15114741573 0012616 0 ustar 00 <?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_98901a6c47129bee3a569cac04c5b736 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/sql/sql_query_results.twig"); } } twig/ac/acbbb4a2387612cc01dbcf70f332b656.php 0000644 00000004026 15114741573 0013315 0 ustar 00 <?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_03ec53aeabb461b1ec98e65fbfc21023 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/recent_favorite_table_no_tables.twig"); } } twig/5b/5b3da16bd0d30a0f34ee4b585d3133c2.php 0000644 00000055624 15114741573 0013166 0 ustar 00 <?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; /* table/structure/display_table_stats.twig */ class __TwigTemplate_0e1632c32b6172ceba08ce082424a175 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=\"tablestatistics\"> <fieldset class=\"pma-fieldset\"> <legend>"; yield _gettext("Information"); // line 3 yield "</legend> "; // line 4 if ((($__internal_compile_0 = ($context["showtable"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["TABLE_COMMENT"] ?? null) : null)) { // line 5 yield " <p> <strong>"; yield _gettext("Table comments:"); // line 6 yield "</strong> "; // line 7 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_1 = ($context["showtable"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["TABLE_COMMENT"] ?? null) : null), "html", null, true); yield " </p> "; } // line 10 yield " <a id=\"showusage\"></a> "; // line 12 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 13 yield " <table class=\"table table-striped table-hover table-sm w-auto caption-top\"> <caption>"; yield _gettext("Space usage"); // line 14 yield "</caption> <tbody> <tr> <th class=\"name\">"; yield _gettext("Data"); // line 17 yield "</th> <td class=\"value\">"; // line 18 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["data_size"] ?? null), "html", null, true); yield "</td> <td class=\"unit\">"; // line 19 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["data_unit"] ?? null), "html", null, true); yield "</td> </tr> "; // line 22 if (array_key_exists("index_size", $context)) { // line 23 yield " <tr> <th class=\"name\">"; yield _gettext("Index"); // line 24 yield "</th> <td class=\"value\">"; // line 25 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["index_size"] ?? null), "html", null, true); yield "</td> <td class=\"unit\">"; // line 26 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["index_unit"] ?? null), "html", null, true); yield "</td> </tr> "; } // line 29 yield " "; // line 30 if (array_key_exists("free_size", $context)) { // line 31 yield " <tr> <th class=\"name\">"; yield _gettext("Overhead"); // line 32 yield "</th> <td class=\"value\">"; // line 33 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["free_size"] ?? null), "html", null, true); yield "</td> <td class=\"unit\">"; // line 34 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["free_unit"] ?? null), "html", null, true); yield "</td> </tr> <tr> <th class=\"name\">"; yield _gettext("Effective"); // line 37 yield "</th> <td class=\"value\">"; // line 38 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["effect_size"] ?? null), "html", null, true); yield "</td> <td class=\"unit\">"; // line 39 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["effect_unit"] ?? null), "html", null, true); yield "</td> </tr> "; } // line 42 yield " "; // line 43 if ((array_key_exists("tot_size", $context) && (($context["mergetable"] ?? null) == false))) { // line 44 yield " <tr> <th class=\"name\">"; yield _gettext("Total"); // line 45 yield "</th> <td class=\"value\">"; // line 46 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["tot_size"] ?? null), "html", null, true); yield "</td> <td class=\"unit\">"; // line 47 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["tot_unit"] ?? null), "html", null, true); yield "</td> </tr> "; } // line 50 yield " </tbody> "; // line 53 yield " "; if (((array_key_exists("free_size", $context) && (((( // line 54 ($context["tbl_storage_engine"] ?? null) == "MYISAM") || ( // line 55 ($context["tbl_storage_engine"] ?? null) == "ARIA")) || ( // line 56 ($context["tbl_storage_engine"] ?? null) == "MARIA")) || ( // line 57 ($context["tbl_storage_engine"] ?? null) == "BDB"))) || (( // line 58 ($context["tbl_storage_engine"] ?? null) == "INNODB") && (($context["innodb_file_per_table"] ?? null) == true)))) { // line 59 yield " <tfoot> <tr class=\"d-print-none\"> <th colspan=\"3\" class=\"center\"> <a href=\""; // line 62 yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 63 ($context["db"] ?? null), "table" => // line 64 ($context["table"] ?? null), "sql_query" => ("OPTIMIZE TABLE " . PhpMyAdmin\Util::backquote( // line 65 ($context["table"] ?? null))), "pos" => 0]); // line 67 yield "\"> "; // line 68 yield PhpMyAdmin\Html\Generator::getIcon("b_tbloptimize", _gettext("Optimize table")); yield " </a> </th> </tr> </tfoot> "; } // line 74 yield " </table> "; } // line 76 yield " "; // line 77 $context["avg_size"] = ((array_key_exists("avg_size", $context)) ? (($context["avg_size"] ?? null)) : (null)); // line 78 yield " "; $context["avg_unit"] = ((array_key_exists("avg_unit", $context)) ? (($context["avg_unit"] ?? null)) : (null)); // line 79 yield " <table class=\"table table-striped table-hover table-sm w-auto caption-top\"> <caption>"; yield _gettext("Row statistics"); // line 80 yield "</caption> <tbody> "; // line 82 if (CoreExtension::getAttribute($this->env, $this->source, ($context["showtable"] ?? null), "Row_format", [], "array", true, true, false, 82)) { // line 83 yield " <tr> <th class=\"name\">"; yield _gettext("Format"); // line 84 yield "</th> "; // line 85 if (((($__internal_compile_2 = ($context["showtable"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["Row_format"] ?? null) : null) == "Fixed")) { // line 86 yield " <td class=\"value\">"; yield _gettext("static"); yield "</td> "; } elseif (((($__internal_compile_3 = // line 87 ($context["showtable"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["Row_format"] ?? null) : null) == "Dynamic")) { // line 88 yield " <td class=\"value\">"; yield _gettext("dynamic"); yield "</td> "; } else { // line 90 yield " <td class=\"value\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_4 = ($context["showtable"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["Row_format"] ?? null) : null), "html", null, true); yield "</td> "; } // line 92 yield " </tr> "; } // line 94 yield " "; // line 95 if ( !Twig\Extension\CoreExtension::testEmpty((($__internal_compile_5 = ($context["showtable"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["Create_options"] ?? null) : null))) { // line 96 yield " <tr> <th class=\"name\">"; yield _gettext("Options"); // line 97 yield "</th> "; // line 98 if (((($__internal_compile_6 = ($context["showtable"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["Create_options"] ?? null) : null) == "partitioned")) { // line 99 yield " <td class=\"value\">"; yield _gettext("partitioned"); yield "</td> "; } else { // line 101 yield " <td class=\"value\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_7 = ($context["showtable"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["Create_options"] ?? null) : null), "html", null, true); yield "</td> "; } // line 103 yield " </tr> "; } // line 105 yield " "; // line 106 if ( !Twig\Extension\CoreExtension::testEmpty(($context["table_collation"] ?? null))) { // line 107 yield " <tr> <th class=\"name\">"; yield _gettext("Collation"); // line 108 yield "</th> <td class=\"value\"> <dfn title=\""; // line 110 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["table_collation"] ?? null), "description", [], "any", false, false, false, 110), "html", null, true); yield "\"> "; // line 111 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["table_collation"] ?? null), "name", [], "any", false, false, false, 111), "html", null, true); yield " </dfn> </td> </tr> "; } // line 116 yield " "; // line 117 if (( !($context["is_innodb"] ?? null) && CoreExtension::getAttribute($this->env, $this->source, ($context["showtable"] ?? null), "Rows", [], "array", true, true, false, 117))) { // line 118 yield " <tr> <th class=\"name\">"; yield _gettext("Rows"); // line 119 yield "</th> <td class=\"value\">"; // line 120 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::formatNumber((($__internal_compile_8 = ($context["showtable"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["Rows"] ?? null) : null), 0), "html", null, true); yield "</td> </tr> "; } // line 123 yield " "; // line 124 if ((( !($context["is_innodb"] ?? null) && CoreExtension::getAttribute($this->env, $this->source, // line 125 ($context["showtable"] ?? null), "Avg_row_length", [], "array", true, true, false, 125)) && ((($__internal_compile_9 = // line 126 ($context["showtable"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["Avg_row_length"] ?? null) : null) > 0))) { // line 127 yield " <tr> <th class=\"name\">"; yield _gettext("Row length"); // line 128 yield "</th> "; // line 129 $context["avg_row_length"] = PhpMyAdmin\Util::formatByteDown((($__internal_compile_10 = ($context["showtable"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["Avg_row_length"] ?? null) : null), 6, 1); // line 130 yield " <td class=\"value\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_11 = ($context["avg_row_length"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11[0] ?? null) : null), "html", null, true); yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_12 = ($context["avg_row_length"] ?? null)) && is_array($__internal_compile_12) || $__internal_compile_12 instanceof ArrayAccess ? ($__internal_compile_12[1] ?? null) : null), "html", null, true); yield "</td> </tr> "; } // line 133 yield " "; // line 134 if ((((( !($context["is_innodb"] ?? null) && CoreExtension::getAttribute($this->env, $this->source, // line 135 ($context["showtable"] ?? null), "Data_length", [], "array", true, true, false, 135)) && CoreExtension::getAttribute($this->env, $this->source, // line 136 ($context["showtable"] ?? null), "Rows", [], "array", true, true, false, 136)) && ((($__internal_compile_13 = // line 137 ($context["showtable"] ?? null)) && is_array($__internal_compile_13) || $__internal_compile_13 instanceof ArrayAccess ? ($__internal_compile_13["Rows"] ?? null) : null) > 0)) && ( // line 138 ($context["mergetable"] ?? null) == false))) { // line 139 yield " <tr> <th class=\"name\">"; yield _gettext("Row size"); // line 140 yield "</th> <td class=\"value\">"; // line 141 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["avg_size"] ?? null), "html", null, true); yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["avg_unit"] ?? null), "html", null, true); yield "</td> </tr> "; } // line 144 yield " "; // line 145 if (CoreExtension::getAttribute($this->env, $this->source, ($context["showtable"] ?? null), "Auto_increment", [], "array", true, true, false, 145)) { // line 146 yield " <tr> <th class=\"name\">"; yield _gettext("Next autoindex"); // line 147 yield "</th> <td class=\"value\">"; // line 148 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::formatNumber((($__internal_compile_14 = ($context["showtable"] ?? null)) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14["Auto_increment"] ?? null) : null), 0), "html", null, true); yield "</td> </tr> "; } // line 151 yield " "; // line 152 if (CoreExtension::getAttribute($this->env, $this->source, ($context["showtable"] ?? null), "Create_time", [], "array", true, true, false, 152)) { // line 153 yield " <tr> <th class=\"name\">"; yield _gettext("Creation"); // line 154 yield "</th> <td class=\"value\">"; // line 155 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::localisedDate($this->extensions['Twig\Extension\CoreExtension']->formatDate((($__internal_compile_15 = ($context["showtable"] ?? null)) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15["Create_time"] ?? null) : null), "U")), "html", null, true); yield "</td> </tr> "; } // line 158 yield " "; // line 159 if (CoreExtension::getAttribute($this->env, $this->source, ($context["showtable"] ?? null), "Update_time", [], "array", true, true, false, 159)) { // line 160 yield " <tr> <th class=\"name\">"; yield _gettext("Last update"); // line 161 yield "</th> <td class=\"value\">"; // line 162 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::localisedDate($this->extensions['Twig\Extension\CoreExtension']->formatDate((($__internal_compile_16 = ($context["showtable"] ?? null)) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16["Update_time"] ?? null) : null), "U")), "html", null, true); yield "</td> </tr> "; } // line 165 yield " "; // line 166 if (CoreExtension::getAttribute($this->env, $this->source, ($context["showtable"] ?? null), "Check_time", [], "array", true, true, false, 166)) { // line 167 yield " <tr> <th class=\"name\">"; yield _gettext("Last check"); // line 168 yield "</th> <td class=\"value\">"; // line 169 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::localisedDate($this->extensions['Twig\Extension\CoreExtension']->formatDate((($__internal_compile_17 = ($context["showtable"] ?? null)) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17["Check_time"] ?? null) : null), "U")), "html", null, true); yield "</td> </tr> "; } // line 172 yield " </tbody> </table> </fieldset> </div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/structure/display_table_stats.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 451 => 172, 445 => 169, 442 => 168, 438 => 167, 436 => 166, 433 => 165, 427 => 162, 424 => 161, 420 => 160, 418 => 159, 415 => 158, 409 => 155, 406 => 154, 402 => 153, 400 => 152, 397 => 151, 391 => 148, 388 => 147, 384 => 146, 382 => 145, 379 => 144, 371 => 141, 368 => 140, 364 => 139, 362 => 138, 361 => 137, 360 => 136, 359 => 135, 358 => 134, 355 => 133, 346 => 130, 344 => 129, 341 => 128, 337 => 127, 335 => 126, 334 => 125, 333 => 124, 330 => 123, 324 => 120, 321 => 119, 317 => 118, 315 => 117, 312 => 116, 304 => 111, 300 => 110, 296 => 108, 292 => 107, 290 => 106, 287 => 105, 283 => 103, 277 => 101, 271 => 99, 269 => 98, 266 => 97, 262 => 96, 260 => 95, 257 => 94, 253 => 92, 247 => 90, 241 => 88, 239 => 87, 234 => 86, 232 => 85, 229 => 84, 225 => 83, 223 => 82, 219 => 80, 215 => 79, 212 => 78, 210 => 77, 207 => 76, 203 => 74, 194 => 68, 191 => 67, 189 => 65, 188 => 64, 187 => 63, 184 => 62, 179 => 59, 177 => 58, 176 => 57, 175 => 56, 174 => 55, 173 => 54, 171 => 53, 167 => 50, 161 => 47, 157 => 46, 154 => 45, 150 => 44, 148 => 43, 145 => 42, 139 => 39, 135 => 38, 132 => 37, 125 => 34, 121 => 33, 118 => 32, 114 => 31, 112 => 30, 109 => 29, 103 => 26, 99 => 25, 96 => 24, 92 => 23, 90 => 22, 84 => 19, 80 => 18, 77 => 17, 71 => 14, 67 => 13, 65 => 12, 61 => 10, 55 => 7, 52 => 6, 48 => 5, 46 => 4, 43 => 3, 38 => 1,); } public function getSourceContext() { return new Source("", "table/structure/display_table_stats.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/structure/display_table_stats.twig"); } } twig/5b/5be3823588c710e664d2b4f3cc5a01f1.php 0000644 00000004405 15114741573 0013041 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/insert/get_head_and_foot_of_insert_row_table.twig */ class __TwigTemplate_b04689218f14b47a1bb35e38406beccf 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 echo "<div class=\"table-responsive-lg\"> <table class=\"table table-striped align-middle my-3 insertRowTable w-auto\"> <thead> <tr> <th>"; echo _gettext("Column"); // line 5 echo "</th> "; // line 6 echo ($context["type"] ?? null); echo " "; // line 7 echo ($context["function"] ?? null); echo " <th>"; echo _gettext("Null"); // line 8 echo "</th> <th class=\"w-50\">"; echo _gettext("Value"); // line 9 echo "</th> </tr> </thead> <tfoot> <tr> <th colspan=\"5\" class=\"tblFooters text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 15 echo "\"> </th> </tr> </tfoot>"; } public function getTemplateName() { return "table/insert/get_head_and_foot_of_insert_row_table.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 69 => 15, 60 => 9, 56 => 8, 51 => 7, 47 => 6, 44 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "table/insert/get_head_and_foot_of_insert_row_table.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/get_head_and_foot_of_insert_row_table.twig"); } } twig/5b/5b836614f7d529084b2e956a2572c7ff.php 0000644 00000005025 15114741573 0012732 0 ustar 00 <?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; /* database/structure/bulk_action_modal.twig */ class __TwigTemplate_02253d0791b20716677422b3c72abba0 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=\"bulkActionModal\" data-bs-backdrop=\"static\" data-bs-keyboard=\"false\" tabindex=\"-1\" aria-labelledby=\"bulkActionLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog modal-dialog-centered\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"bulkActionLabel\"></h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Cancel"); // line 7 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("Cancel"); // line 11 yield "</button> <button type=\"button\" class=\"btn btn-primary\" id=\"bulkActionContinue\">"; yield _gettext("Continue"); // line 12 yield "</button> </div> </div> </div> </div>"; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/structure/bulk_action_modal.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 58 => 12, 54 => 11, 47 => 7, 38 => 1,); } public function getSourceContext() { return new Source("", "database/structure/bulk_action_modal.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/bulk_action_modal.twig"); } } twig/e8/e820ca98fb3e97d73bc1c6fe2fc9b273.php 0000644 00000005550 15114741573 0013375 0 ustar 00 <?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/no_results_returned.twig */ class __TwigTemplate_1be7152811bb990a0f0d75239cfc0e2b 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["message"] ?? null); yield " "; // line 3 yield ($context["sql_query_results_table"] ?? null); yield " "; // line 5 yield ($context["profiling_chart"] ?? null); yield " "; // line 7 if ( !($context["is_procedure"] ?? null)) { // line 8 yield " <fieldset class=\"pma-fieldset d-print-none\"> <legend>"; yield _gettext("Query results operations"); // line 9 yield "</legend> <span> "; // line 11 yield PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/view/create"), ["db" => // line 13 ($context["db"] ?? null), "table" => ($context["table"] ?? null), "printview" => "1", "sql_query" => ($context["sql_query"] ?? null)], PhpMyAdmin\Html\Generator::getIcon("b_view_add", _gettext("Create view"), true), ["class" => "create_view ajax btn"]); // line 16 yield " </span> </fieldset> "; } // line 20 yield " "; // line 21 yield ($context["bookmark"] ?? null); yield " "; // line 23 yield Twig\Extension\CoreExtension::include($this->env, $context, "modals/create_view.twig"); yield " "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "sql/no_results_returned.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 80 => 23, 75 => 21, 72 => 20, 66 => 16, 64 => 13, 63 => 11, 59 => 9, 55 => 8, 53 => 7, 48 => 5, 43 => 3, 38 => 1,); } public function getSourceContext() { return new Source("", "sql/no_results_returned.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/sql/no_results_returned.twig"); } } twig/2c/2c3c06ce7675557d8cbf3c7c4496f1b9.php 0000644 00000004641 15114741573 0013152 0 ustar 00 <?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_7f3de2b2dec5a25cba406edb942a86d9 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/row_data.twig"); } } twig/c4/c447b22d9626b8dce2626de7bfc65112.php 0000644 00000105336 15114741573 0013137 0 ustar 00 <?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_f1f27ee09dfc971cd55dd4f74cced57c 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/home/index.twig"); } } twig/86/86a6f5bfd08058c046e257cd096ce01c.php 0000644 00000057030 15114741573 0013063 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* import.twig */ class __TwigTemplate_a64ba9f52592f55bfc827c55b1d4dd30 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ 'title' => [$this, 'block_title'], ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class=\"container\"> <h2 class=\"my-3\"> "; // line 3 echo PhpMyAdmin\Html\Generator::getImage("b_import", _gettext("Import")); echo " "; // line 4 $this->displayBlock('title', $context, $blocks); // line 5 echo " </h2> "; // line 7 echo ($context["page_settings_error_html"] ?? null); echo " "; // line 8 echo ($context["page_settings_html"] ?? null); echo " <iframe id=\"import_upload_iframe\" name=\"import_upload_iframe\" width=\"1\" height=\"1\" class=\"hide\"></iframe> <div id=\"import_form_status\" class=\"hide\"></div> <div id=\"importmain\"> <img src=\""; // line 13 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true); echo "\" width=\"16\" height=\"16\" alt=\"ajax clock\" class=\"hide\"> <script type=\"text/javascript\"> //<![CDATA[ "; // line 17 $this->loadTemplate("import/javascript.twig", "import.twig", 17)->display(twig_to_array(["upload_id" => ($context["upload_id"] ?? null), "handler" => ($context["handler"] ?? null)])); // line 18 echo "//]]> </script> <form id=\"import_file_form\" action=\""; // line 21 echo PhpMyAdmin\Url::getFromRoute("/import"); echo "\" method=\"post\" enctype=\"multipart/form-data\" name=\"import\" class=\"ajax\""; // line 22 if ((($context["handler"] ?? null) != "PhpMyAdmin\\Plugins\\Import\\Upload\\UploadNoplugin")) { echo " target=\"import_upload_iframe\""; } echo "> "; // line 23 echo PhpMyAdmin\Url::getHiddenInputs(($context["hidden_inputs"] ?? null)); echo " <div class=\"card mb-3\"> <div class=\"card-header\">"; echo _gettext("File to import:"); // line 26 echo "</div> <div class=\"card-body\"> "; // line 29 echo " "; if ( !twig_test_empty(($context["compressions"] ?? null))) { // line 30 echo " <p class=\"card-text\"> "; // line 31 echo twig_escape_filter($this->env, twig_sprintf(_gettext("File may be compressed (%s) or uncompressed."), twig_join_filter(($context["compressions"] ?? null), ", ")), "html", null, true); echo "<br> "; echo _gettext("A compressed file's name must end in <strong>.[format].[compression]</strong>. Example: <strong>.sql.zip</strong>"); // line 33 echo " </p> "; } // line 35 echo " "; // line 36 if ((($context["is_upload"] ?? null) && !twig_test_empty(($context["upload_dir"] ?? null)))) { // line 37 echo " "; $context["use_local_file_import"] = ( !twig_test_empty(($context["timeout_passed_global"] ?? null)) && !twig_test_empty(($context["local_import_file"] ?? null))); // line 38 echo " <ul class=\"nav nav-pills mb-3\" id=\"importFileTab\" role=\"tablist\"> <li class=\"nav-item\" role=\"presentation\"> <button class=\"nav-link"; // line 40 echo (( !($context["use_local_file_import"] ?? null)) ? (" active") : ("")); echo "\" id=\"uploadFileTab\" data-bs-toggle=\"tab\" data-bs-target=\"#uploadFile\" type=\"button\" role=\"tab\" aria-controls=\"uploadFile\" aria-selected=\""; echo (( !($context["use_local_file_import"] ?? null)) ? ("true") : ("false")); echo "\">"; echo _gettext("Upload a file"); echo "</button> </li> <li class=\"nav-item\" role=\"presentation\"> <button class=\"nav-link"; // line 43 echo ((($context["use_local_file_import"] ?? null)) ? (" active") : ("")); echo "\" id=\"localFileTab\" data-bs-toggle=\"tab\" data-bs-target=\"#localFile\" type=\"button\" role=\"tab\" aria-controls=\"localFile\" aria-selected=\""; echo ((($context["use_local_file_import"] ?? null)) ? ("true") : ("false")); echo "\">"; echo _gettext("Select file to import"); echo "</button> </li> </ul> <div class=\"tab-content mb-3\" id=\"importFileTabContent\"> <div class=\"tab-pane fade"; // line 47 echo (( !($context["use_local_file_import"] ?? null)) ? (" show active") : ("")); echo "\" id=\"uploadFile\" role=\"tabpanel\" aria-labelledby=\"uploadFileTab\"> <input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\""; // line 48 echo twig_escape_filter($this->env, ($context["max_upload_size"] ?? null), "html", null, true); echo "\"> <div class=\"mb-3\"> <label class=\"form-label\" for=\"input_import_file\">"; echo _gettext("Browse your computer:"); // line 50 echo " <small>"; echo twig_escape_filter($this->env, ($context["formatted_maximum_upload_size"] ?? null), "html", null, true); echo "</small></label> <input class=\"form-control\" type=\"file\" name=\"import_file\" id=\"input_import_file\"> </div> <div id=\"upload_form_status\" class=\"hide\"></div> <div id=\"upload_form_status_info\" class=\"hide\"></div> <p class=\"card-text\">"; echo _gettext("You may also drag and drop a file on any page."); // line 55 echo "</p> </div> <div class=\"tab-pane fade"; // line 58 echo ((($context["use_local_file_import"] ?? null)) ? (" show active") : ("")); echo "\" id=\"localFile\" role=\"tabpanel\" aria-labelledby=\"localFileTab\"> "; // line 59 if ((($context["local_files"] ?? null) === false)) { // line 60 echo " "; echo $this->env->getFilter('error')->getCallable()(_gettext("The directory you set for upload work cannot be reached.")); echo " "; } elseif ( !twig_test_empty( // line 61 ($context["local_files"] ?? null))) { // line 62 echo " <label class=\"form-label\" for=\"select_local_import_file\">"; echo PhpMyAdmin\Sanitize::sanitizeMessage(twig_sprintf(_gettext("Select from the web server upload directory [strong]%s[/strong]:"), ($context["user_upload_dir"] ?? null))); echo "</label> <select class=\"form-select\" size=\"1\" name=\"local_import_file\" id=\"select_local_import_file\"> <option value=\"\"></option> "; // line 65 echo ($context["local_files"] ?? null); echo " </select> "; } else { // line 68 echo " <div class=\"alert alert-info\" role=\"alert\"> "; echo _gettext("There are no files to import!"); // line 70 echo " </div> "; } // line 72 echo " </div> </div> "; } elseif ( // line 74 ($context["is_upload"] ?? null)) { // line 75 echo " <input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\""; echo twig_escape_filter($this->env, ($context["max_upload_size"] ?? null), "html", null, true); echo "\"> <div class=\"mb-3\"> <label class=\"form-label\" for=\"input_import_file\">"; echo _gettext("Browse your computer:"); // line 77 echo " <small>"; echo twig_escape_filter($this->env, ($context["formatted_maximum_upload_size"] ?? null), "html", null, true); echo "</small></label> <input class=\"form-control\" type=\"file\" name=\"import_file\" id=\"input_import_file\"> </div> <div id=\"upload_form_status\" class=\"hide\"></div> <div id=\"upload_form_status_info\" class=\"hide\"></div> <p class=\"card-text\">"; echo _gettext("You may also drag and drop a file on any page."); // line 82 echo "</p> "; } elseif ( !twig_test_empty( // line 83 ($context["upload_dir"] ?? null))) { // line 84 echo " "; if ((($context["local_files"] ?? null) === false)) { // line 85 echo " "; echo $this->env->getFilter('error')->getCallable()(_gettext("The directory you set for upload work cannot be reached.")); echo " "; } elseif ( !twig_test_empty( // line 86 ($context["local_files"] ?? null))) { // line 87 echo " <div class=\"mb-3\"> <label class=\"form-label\" for=\"select_local_import_file\">"; // line 88 echo PhpMyAdmin\Sanitize::sanitizeMessage(twig_sprintf(_gettext("Select from the web server upload directory [strong]%s[/strong]:"), ($context["user_upload_dir"] ?? null))); echo "</label> <select class=\"form-select\" size=\"1\" name=\"local_import_file\" id=\"select_local_import_file\"> <option value=\"\"></option> "; // line 91 echo ($context["local_files"] ?? null); echo " </select> </div> "; } else { // line 95 echo " <div class=\"alert alert-info\" role=\"alert\"> "; echo _gettext("There are no files to import!"); // line 97 echo " </div> "; } // line 99 echo " "; } else { // line 100 echo " "; echo $this->env->getFilter('notice')->getCallable()(_gettext("File uploads are not allowed on this server.")); echo " "; } // line 102 echo " <label class=\"form-label\" for=\"charset_of_file\">"; echo _gettext("Character set of the file:"); // line 103 echo "</label> "; // line 104 if (($context["is_encoding_supported"] ?? null)) { // line 105 echo " <select class=\"form-select\" id=\"charset_of_file\" name=\"charset_of_file\" size=\"1\"> "; // line 106 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["encodings"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 107 echo " <option value=\""; echo twig_escape_filter($this->env, $context["charset"], "html", null, true); echo "\""; if (((twig_test_empty(($context["import_charset"] ?? null)) && ($context["charset"] == "utf-8")) || ($context["charset"] == ($context["import_charset"] ?? null)))) { echo " selected"; } echo ">"; // line 108 echo twig_escape_filter($this->env, $context["charset"], "html", null, true); // line 109 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 111 echo " </select> "; } else { // line 113 echo " <select class=\"form-select\" lang=\"en\" dir=\"ltr\" name=\"charset_of_file\" id=\"charset_of_file\"> <option value=\"\"></option> "; // line 115 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 116 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 116), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getDescription", [], "method", false, false, false, 116), "html", null, true); echo "\""; echo (((twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 116) == "utf8")) ? (" selected") : ("")); echo ">"; // line 117 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 117), "html", null, true); // line 118 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 120 echo " </select> "; } // line 122 echo " </div> </div> <div class=\"card mb-3\"> <div class=\"card-header\">"; echo _gettext("Partial import:"); // line 126 echo "</div> <div class=\"card-body\"> "; // line 128 if ((array_key_exists("timeout_passed", $context) && ($context["timeout_passed"] ?? null))) { // line 129 echo " <input type=\"hidden\" name=\"skip\" value=\""; echo twig_escape_filter($this->env, ($context["offset"] ?? null), "html", null, true); echo "\"> <div class=\"alert alert-info\" role=\"alert\"> "; // line 131 echo twig_escape_filter($this->env, twig_sprintf(_gettext("Previous import timed out, after resubmitting will continue from position %d."), ($context["offset"] ?? null)), "html", null, true); echo " </div> "; } // line 134 echo " <div class=\"form-check form-switch mb-3\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"allow_interrupt\" value=\"yes\" id=\"checkbox_allow_interrupt\""; // line 136 echo ($context["is_allow_interrupt_checked"] ?? null); echo " aria-describedby=\"allowInterruptHelp\"> <label class=\"form-check-label\" for=\"checkbox_allow_interrupt\"> "; echo _gettext("Allow the interruption of an import in case the script detects it is close to the PHP timeout limit."); // line 139 echo " </label> <div id=\"allowInterruptHelp\" class=\"form-text\">"; echo _gettext("This might be a good way to import large files, however it can break transactions."); // line 140 echo "</div> </div> "; // line 143 if ( !(array_key_exists("timeout_passed", $context) && ($context["timeout_passed"] ?? null))) { // line 144 echo " <label class=\"form-label\" for=\"text_skip_queries\">"; echo _gettext("Skip this number of queries (for SQL) starting from the first one:"); echo "</label> <input class=\"form-control\" type=\"number\" name=\"skip_queries\" value=\""; // line 145 echo ($context["skip_queries_default"] ?? null); echo "\" id=\"text_skip_queries\" min=\"0\"> "; } else { // line 147 echo " "; // line 148 echo " <input type=\"hidden\" name=\"skip_queries\" value=\""; echo ($context["skip_queries_default"] ?? null); echo "\" id=\"text_skip_queries\"> "; } // line 150 echo " </div> </div> <div class=\"card mb-3\"> <div class=\"card-header\">"; echo _gettext("Other options"); // line 154 echo "</div> <div class=\"card-body\"> <input type=\"hidden\" name=\"fk_checks\" value=\"0\"> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"fk_checks\" id=\"fk_checks\" value=\"1\""; // line 158 echo ((($context["is_foreign_key_check"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"fk_checks\">"; echo _gettext("Enable foreign key checks"); // line 159 echo "</label> </div> </div> </div> <div class=\"card mb-3\"> <div class=\"card-header\">"; echo _gettext("Format"); // line 165 echo "</div> <div class=\"card-body\"> <select class=\"form-select\" id=\"plugins\" name=\"format\" aria-label=\""; echo _gettext("Format"); // line 167 echo "\"> "; // line 168 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["plugins_choice"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 169 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 169), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["option"], "is_selected", [], "any", false, false, false, 169)) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "text", [], "any", false, false, false, 169), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 171 echo " </select> "; // line 173 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["plugins_choice"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 174 echo " <input type=\"hidden\" id=\"force_file_"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 174), "html", null, true); echo "\" value=\"true\"> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 176 echo " <div id=\"import_notification\"></div> </div> </div> <div class=\"card mb-3\" id=\"format_specific_opts\"> <div class=\"card-header\">"; echo _gettext("Format-specific options:"); // line 182 echo "</div> <div class=\"card-body\"> "; // line 184 echo ($context["options"] ?? null); echo " </div> </div> "; // line 189 echo " "; if (($context["can_convert_kanji"] ?? null)) { // line 190 echo " <div class=\"card mb-3\" id=\"kanji_encoding\"> <div class=\"card-header\">"; echo _gettext("Encoding Conversion:"); // line 191 echo "</div> <div class=\"card-body\"> "; // line 193 $this->loadTemplate("encoding/kanji_encoding_form.twig", "import.twig", 193)->display($context); // line 194 echo " </div> </div> "; } // line 197 echo " <div id=\"submit\"> <input id=\"buttonGo\" class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Import"); // line 199 echo "\"> </div> </form> </div> </div> "; } // line 4 public function block_title($context, array $blocks = []) { $macros = $this->macros; } public function getTemplateName() { return "import.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 527 => 4, 518 => 199, 513 => 197, 508 => 194, 506 => 193, 502 => 191, 498 => 190, 495 => 189, 488 => 184, 484 => 182, 475 => 176, 466 => 174, 462 => 173, 458 => 171, 445 => 169, 441 => 168, 438 => 167, 433 => 165, 424 => 159, 419 => 158, 413 => 154, 406 => 150, 400 => 148, 398 => 147, 393 => 145, 388 => 144, 386 => 143, 381 => 140, 377 => 139, 371 => 136, 367 => 134, 361 => 131, 355 => 129, 353 => 128, 349 => 126, 342 => 122, 338 => 120, 331 => 118, 329 => 117, 321 => 116, 317 => 115, 313 => 113, 309 => 111, 302 => 109, 300 => 108, 292 => 107, 288 => 106, 285 => 105, 283 => 104, 280 => 103, 276 => 102, 270 => 100, 267 => 99, 263 => 97, 259 => 95, 252 => 91, 246 => 88, 243 => 87, 241 => 86, 236 => 85, 233 => 84, 231 => 83, 228 => 82, 218 => 77, 211 => 75, 209 => 74, 205 => 72, 201 => 70, 197 => 68, 191 => 65, 184 => 62, 182 => 61, 177 => 60, 175 => 59, 171 => 58, 166 => 55, 156 => 50, 150 => 48, 146 => 47, 135 => 43, 125 => 40, 121 => 38, 118 => 37, 116 => 36, 113 => 35, 109 => 33, 104 => 31, 101 => 30, 98 => 29, 94 => 26, 87 => 23, 81 => 22, 78 => 21, 73 => 18, 71 => 17, 64 => 13, 56 => 8, 52 => 7, 48 => 5, 46 => 4, 42 => 3, 38 => 1,); } public function getSourceContext() { return new Source("", "import.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/import.twig"); } } twig/38/38d6e9020b1170e956cd769d2deb3d0f.php 0000644 00000007417 15114741573 0013065 0 ustar 00 <?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/index_dialog_modal.twig */ class __TwigTemplate_5d8a2b2875ebcc4334ceed417ebafcf4 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=\"indexDialogModal\" tabindex=\"-1\" aria-labelledby=\"indexDialogModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"indexDialogModalLabel\">"; 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-primary\" id=\"indexDialogModalGoButton\">"; yield _gettext("Go"); // line 10 yield "</button> <button type=\"button\" class=\"btn btn-secondary\" data-bs-target=\"#indexDialogPreviewModal\" data-bs-toggle=\"modal\">"; yield _gettext("Preview SQL"); // line 11 yield "</button> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; yield _gettext("Close"); // line 12 yield "</button> </div> </div> </div> </div> <div class=\"modal fade\" id=\"indexDialogPreviewModal\" aria-hidden=\"true\" aria-labelledby=\"indexDialogPreviewModalLabel\" tabindex=\"-1\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"indexDialogPreviewModalLabel\">"; yield _gettext("Preview SQL"); // line 21 yield "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Close"); // line 22 yield "\"></button> </div> <div class=\"modal-body\"> <div class=\"spinner-border\" role=\"status\"> <span class=\"visually-hidden\">"; yield _gettext("Loading…"); // line 26 yield "</span> </div> </div> <div class=\"modal-footer\"> <button class=\"btn btn-primary\" data-bs-target=\"#indexDialogModal\" data-bs-toggle=\"modal\">"; yield _gettext("Go back"); // line 30 yield "</button> </div> </div> </div> </div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "modals/index_dialog_modal.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 94 => 30, 87 => 26, 80 => 22, 76 => 21, 64 => 12, 60 => 11, 56 => 10, 49 => 6, 45 => 5, 38 => 1,); } public function getSourceContext() { return new Source("", "modals/index_dialog_modal.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/index_dialog_modal.twig"); } } twig/12/1245f7567366c2d39cc0daac8e2fa139.php 0000644 00000004773 15114741573 0013054 0 ustar 00 <?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_497058a262bad1edf7a2ca51358badb4 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/enum_set_editor.twig"); } } twig/12/12b55c3fd0ad26f6572d21b8d41cd0d5.php 0000644 00000004056 15114741573 0013105 0 ustar 00 <?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; /* table/search/column_comparison_operators.twig */ class __TwigTemplate_c17eb0f2e241acabb7726eff85ceabf6 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 "<select class=\"column-operator\" id=\"ColumnOperator"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["search_index"] ?? null), "html", null, true); yield "\" name=\"criteriaColumnOperators["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["search_index"] ?? null), "html", null, true); yield "]\"> "; // line 2 yield ($context["type_operators"] ?? null); yield " </select> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/search/column_comparison_operators.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 45 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "table/search/column_comparison_operators.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/search/column_comparison_operators.twig"); } } twig/b5/b576af01d5ef2ec55d905ad2c6bf025a.php 0000644 00000017231 15114741573 0013336 0 ustar 00 <?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_567be935543f76a6194a29e2fda12f9d 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/footer.twig"); } } twig/72/7201ed6b6d5448a10e80c5da2e014598.php 0000644 00000054205 15114741573 0012704 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* javascript/variables.twig */ class __TwigTemplate_e259ad0e57219fb4e5c7c8374e9dc4f1 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 echo "var firstDayOfCalendar = '"; echo twig_escape_filter($this->env, ($context["first_day_of_calendar"] ?? null), "js", null, true); echo "'; var themeImagePath = '"; // line 3 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath(), "js", null, true); echo "'; var mysqlDocTemplate = '"; // line 4 echo twig_escape_filter($this->env, PhpMyAdmin\Util::getMySQLDocuURL("%s"), "js", null, true); echo "'; var maxInputVars = "; // line 5 echo twig_escape_filter($this->env, ($context["max_input_vars"] ?? null), "js", null, true); echo "; "; // line 7 ob_start(function () { return ''; }); // l10n: Month-year order for calendar, use either "calendar-month-year" or "calendar-year-month". echo _gettext("calendar-month-year"); $context["show_month_after_year"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 10 ob_start(function () { return ''; }); // l10n: Year suffix for calendar, "none" is empty. echo _gettext("none"); $context["year_suffix"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 14 echo "if (\$.datepicker) { \$.datepicker.regional[''].closeText = '"; // line 15 ob_start(function () { return ''; }); // l10n: Display text for calendar close link echo _gettext("Done"); $___internal_parse_1_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_1_, "js"); echo "'; \$.datepicker.regional[''].prevText = '"; // line 16 ob_start(function () { return ''; }); // l10n: Previous month. Display text for previous month link in calendar echo _gettext("Prev"); $___internal_parse_2_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_2_, "js"); echo "'; \$.datepicker.regional[''].nextText = '"; // line 17 ob_start(function () { return ''; }); // l10n: Next month. Display text for next month link in calendar echo _gettext("Next"); $___internal_parse_3_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_3_, "js"); echo "'; \$.datepicker.regional[''].currentText = '"; // line 18 ob_start(function () { return ''; }); // l10n: Display text for current month link in calendar echo _gettext("Today"); $___internal_parse_4_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_4_, "js"); echo "'; \$.datepicker.regional[''].monthNames = [ '"; // line 20 echo twig_escape_filter($this->env, _gettext("January"), "js", null, true); echo "', '"; // line 21 echo twig_escape_filter($this->env, _gettext("February"), "js", null, true); echo "', '"; // line 22 echo twig_escape_filter($this->env, _gettext("March"), "js", null, true); echo "', '"; // line 23 echo twig_escape_filter($this->env, _gettext("April"), "js", null, true); echo "', '"; // line 24 echo twig_escape_filter($this->env, _gettext("May"), "js", null, true); echo "', '"; // line 25 echo twig_escape_filter($this->env, _gettext("June"), "js", null, true); echo "', '"; // line 26 echo twig_escape_filter($this->env, _gettext("July"), "js", null, true); echo "', '"; // line 27 echo twig_escape_filter($this->env, _gettext("August"), "js", null, true); echo "', '"; // line 28 echo twig_escape_filter($this->env, _gettext("September"), "js", null, true); echo "', '"; // line 29 echo twig_escape_filter($this->env, _gettext("October"), "js", null, true); echo "', '"; // line 30 echo twig_escape_filter($this->env, _gettext("November"), "js", null, true); echo "', '"; // line 31 echo twig_escape_filter($this->env, _gettext("December"), "js", null, true); echo "', ]; \$.datepicker.regional[''].monthNamesShort = [ '"; // line 34 ob_start(function () { return ''; }); // l10n: Short month name for January echo _gettext("Jan"); $___internal_parse_5_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_5_, "js"); echo "', '"; // line 35 ob_start(function () { return ''; }); // l10n: Short month name for February echo _gettext("Feb"); $___internal_parse_6_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_6_, "js"); echo "', '"; // line 36 ob_start(function () { return ''; }); // l10n: Short month name for March echo _gettext("Mar"); $___internal_parse_7_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_7_, "js"); echo "', '"; // line 37 ob_start(function () { return ''; }); // l10n: Short month name for April echo _gettext("Apr"); $___internal_parse_8_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_8_, "js"); echo "', '"; // line 38 ob_start(function () { return ''; }); // l10n: Short month name for May echo _gettext("May"); $___internal_parse_9_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_9_, "js"); echo "', '"; // line 39 ob_start(function () { return ''; }); // l10n: Short month name for June echo _gettext("Jun"); $___internal_parse_10_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_10_, "js"); echo "', '"; // line 40 ob_start(function () { return ''; }); // l10n: Short month name for July echo _gettext("Jul"); $___internal_parse_11_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_11_, "js"); echo "', '"; // line 41 ob_start(function () { return ''; }); // l10n: Short month name for August echo _gettext("Aug"); $___internal_parse_12_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_12_, "js"); echo "', '"; // line 42 ob_start(function () { return ''; }); // l10n: Short month name for September echo _gettext("Sep"); $___internal_parse_13_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_13_, "js"); echo "', '"; // line 43 ob_start(function () { return ''; }); // l10n: Short month name for October echo _gettext("Oct"); $___internal_parse_14_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_14_, "js"); echo "', '"; // line 44 ob_start(function () { return ''; }); // l10n: Short month name for November echo _gettext("Nov"); $___internal_parse_15_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_15_, "js"); echo "', '"; // line 45 ob_start(function () { return ''; }); // l10n: Short month name for December echo _gettext("Dec"); $___internal_parse_16_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_16_, "js"); echo "', ]; \$.datepicker.regional[''].dayNames = [ '"; // line 48 echo twig_escape_filter($this->env, _gettext("Sunday"), "js", null, true); echo "', '"; // line 49 echo twig_escape_filter($this->env, _gettext("Monday"), "js", null, true); echo "', '"; // line 50 echo twig_escape_filter($this->env, _gettext("Tuesday"), "js", null, true); echo "', '"; // line 51 echo twig_escape_filter($this->env, _gettext("Wednesday"), "js", null, true); echo "', '"; // line 52 echo twig_escape_filter($this->env, _gettext("Thursday"), "js", null, true); echo "', '"; // line 53 echo twig_escape_filter($this->env, _gettext("Friday"), "js", null, true); echo "', '"; // line 54 echo twig_escape_filter($this->env, _gettext("Saturday"), "js", null, true); echo "', ]; \$.datepicker.regional[''].dayNamesShort = [ '"; // line 57 ob_start(function () { return ''; }); // l10n: Short week day name for Sunday echo _gettext("Sun"); $___internal_parse_17_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_17_, "js"); echo "', '"; // line 58 ob_start(function () { return ''; }); // l10n: Short week day name for Monday echo _gettext("Mon"); $___internal_parse_18_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_18_, "js"); echo "', '"; // line 59 ob_start(function () { return ''; }); // l10n: Short week day name for Tuesday echo _gettext("Tue"); $___internal_parse_19_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_19_, "js"); echo "', '"; // line 60 ob_start(function () { return ''; }); // l10n: Short week day name for Wednesday echo _gettext("Wed"); $___internal_parse_20_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_20_, "js"); echo "', '"; // line 61 ob_start(function () { return ''; }); // l10n: Short week day name for Thursday echo _gettext("Thu"); $___internal_parse_21_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_21_, "js"); echo "', '"; // line 62 ob_start(function () { return ''; }); // l10n: Short week day name for Friday echo _gettext("Fri"); $___internal_parse_22_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_22_, "js"); echo "', '"; // line 63 ob_start(function () { return ''; }); // l10n: Short week day name for Saturday echo _gettext("Sat"); $___internal_parse_23_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_23_, "js"); echo "', ]; \$.datepicker.regional[''].dayNamesMin = [ '"; // line 66 ob_start(function () { return ''; }); // l10n: Minimal week day name for Sunday echo _gettext("Su"); $___internal_parse_24_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_24_, "js"); echo "', '"; // line 67 ob_start(function () { return ''; }); // l10n: Minimal week day name for Monday echo _gettext("Mo"); $___internal_parse_25_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_25_, "js"); echo "', '"; // line 68 ob_start(function () { return ''; }); // l10n: Minimal week day name for Tuesday echo _gettext("Tu"); $___internal_parse_26_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_26_, "js"); echo "', '"; // line 69 ob_start(function () { return ''; }); // l10n: Minimal week day name for Wednesday echo _gettext("We"); $___internal_parse_27_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_27_, "js"); echo "', '"; // line 70 ob_start(function () { return ''; }); // l10n: Minimal week day name for Thursday echo _gettext("Th"); $___internal_parse_28_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_28_, "js"); echo "', '"; // line 71 ob_start(function () { return ''; }); // l10n: Minimal week day name for Friday echo _gettext("Fr"); $___internal_parse_29_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_29_, "js"); echo "', '"; // line 72 ob_start(function () { return ''; }); // l10n: Minimal week day name for Saturday echo _gettext("Sa"); $___internal_parse_30_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_30_, "js"); echo "', ]; \$.datepicker.regional[''].weekHeader = '"; // line 74 ob_start(function () { return ''; }); // l10n: Column header for week of the year in calendar echo _gettext("Wk"); $___internal_parse_31_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_31_, "js"); echo "'; \$.datepicker.regional[''].showMonthAfterYear = "; // line 75 echo (((($context["show_month_after_year"] ?? null) == "calendar-year-month")) ? ("true") : ("false")); echo "; \$.datepicker.regional[''].yearSuffix = '"; // line 76 echo (((($context["year_suffix"] ?? null) != "none")) ? (twig_escape_filter($this->env, ($context["year_suffix"] ?? null), "js")) : ("")); echo "'; \$.extend(\$.datepicker._defaults, \$.datepicker.regional['']); } if (\$.timepicker) { \$.timepicker.regional[''].timeText = '"; // line 81 echo twig_escape_filter($this->env, _gettext("Time"), "js", null, true); echo "'; \$.timepicker.regional[''].hourText = '"; // line 82 echo twig_escape_filter($this->env, _gettext("Hour"), "js", null, true); echo "'; \$.timepicker.regional[''].minuteText = '"; // line 83 echo twig_escape_filter($this->env, _gettext("Minute"), "js", null, true); echo "'; \$.timepicker.regional[''].secondText = '"; // line 84 echo twig_escape_filter($this->env, _gettext("Second"), "js", null, true); echo "'; \$.extend(\$.timepicker._defaults, \$.timepicker.regional['']); } function extendingValidatorMessages () { \$.extend(\$.validator.messages, { required: '"; // line 90 echo twig_escape_filter($this->env, _gettext("This field is required"), "js", null, true); echo "', remote: '"; // line 91 echo twig_escape_filter($this->env, _gettext("Please fix this field"), "js", null, true); echo "', email: '"; // line 92 echo twig_escape_filter($this->env, _gettext("Please enter a valid email address"), "js", null, true); echo "', url: '"; // line 93 echo twig_escape_filter($this->env, _gettext("Please enter a valid URL"), "js", null, true); echo "', date: '"; // line 94 echo twig_escape_filter($this->env, _gettext("Please enter a valid date"), "js", null, true); echo "', dateISO: '"; // line 95 echo twig_escape_filter($this->env, _gettext("Please enter a valid date ( ISO )"), "js", null, true); echo "', number: '"; // line 96 echo twig_escape_filter($this->env, _gettext("Please enter a valid number"), "js", null, true); echo "', creditcard: '"; // line 97 echo twig_escape_filter($this->env, _gettext("Please enter a valid credit card number"), "js", null, true); echo "', digits: '"; // line 98 echo twig_escape_filter($this->env, _gettext("Please enter only digits"), "js", null, true); echo "', equalTo: '"; // line 99 echo twig_escape_filter($this->env, _gettext("Please enter the same value again"), "js", null, true); echo "', maxlength: \$.validator.format('"; // line 100 echo twig_escape_filter($this->env, _gettext("Please enter no more than {0} characters"), "js", null, true); echo "'), minlength: \$.validator.format('"; // line 101 echo twig_escape_filter($this->env, _gettext("Please enter at least {0} characters"), "js", null, true); echo "'), rangelength: \$.validator.format('"; // line 102 echo twig_escape_filter($this->env, _gettext("Please enter a value between {0} and {1} characters long"), "js", null, true); echo "'), range: \$.validator.format('"; // line 103 echo twig_escape_filter($this->env, _gettext("Please enter a value between {0} and {1}"), "js", null, true); echo "'), max: \$.validator.format('"; // line 104 echo twig_escape_filter($this->env, _gettext("Please enter a value less than or equal to {0}"), "js", null, true); echo "'), min: \$.validator.format('"; // line 105 echo twig_escape_filter($this->env, _gettext("Please enter a value greater than or equal to {0}"), "js", null, true); echo "'), validationFunctionForDateTime: \$.validator.format('"; // line 106 echo twig_escape_filter($this->env, _gettext("Please enter a valid date or time"), "js", null, true); echo "'), validationFunctionForHex: \$.validator.format('"; // line 107 echo twig_escape_filter($this->env, _gettext("Please enter a valid HEX input"), "js", null, true); echo "'), validationFunctionForMd5: \$.validator.format('"; // line 108 ob_start(function () { return ''; }); // l10n: To validate the usage of a MD5 function on the column echo _gettext("This column can not contain a 32 chars value"); $___internal_parse_32_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_32_, "js"); echo "'), validationFunctionForAesDesEncrypt: \$.validator.format('"; // line 109 ob_start(function () { return ''; }); // l10n: To validate the usage of a AES_ENCRYPT/DES_ENCRYPT function on the column echo _gettext("These functions are meant to return a binary result; to avoid inconsistent results you should store it in a BINARY, VARBINARY, or BLOB column."); $___internal_parse_33_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_33_, "js"); echo "') }); } "; } public function getTemplateName() { return "javascript/variables.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 515 => 109, 507 => 108, 503 => 107, 499 => 106, 495 => 105, 491 => 104, 487 => 103, 483 => 102, 479 => 101, 475 => 100, 471 => 99, 467 => 98, 463 => 97, 459 => 96, 455 => 95, 451 => 94, 447 => 93, 443 => 92, 439 => 91, 435 => 90, 426 => 84, 422 => 83, 418 => 82, 414 => 81, 406 => 76, 402 => 75, 394 => 74, 385 => 72, 377 => 71, 369 => 70, 361 => 69, 353 => 68, 345 => 67, 337 => 66, 327 => 63, 319 => 62, 311 => 61, 303 => 60, 295 => 59, 287 => 58, 279 => 57, 273 => 54, 269 => 53, 265 => 52, 261 => 51, 257 => 50, 253 => 49, 249 => 48, 239 => 45, 231 => 44, 223 => 43, 215 => 42, 207 => 41, 199 => 40, 191 => 39, 183 => 38, 175 => 37, 167 => 36, 159 => 35, 151 => 34, 145 => 31, 141 => 30, 137 => 29, 133 => 28, 129 => 27, 125 => 26, 121 => 25, 117 => 24, 113 => 23, 109 => 22, 105 => 21, 101 => 20, 92 => 18, 84 => 17, 76 => 16, 68 => 15, 65 => 14, 60 => 10, 55 => 7, 50 => 5, 46 => 4, 42 => 3, 37 => 2,); } public function getSourceContext() { return new Source("", "javascript/variables.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/javascript/variables.twig"); } } twig/ef/ef603e4c5c0ac34540a9f6b8556bcec3.php 0000644 00000020051 15114741573 0013342 0 ustar 00 <?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; /* database/structure/check_all_tables.twig */ class __TwigTemplate_67abb7f922074bacda8fab81c0b70889 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=\"clearfloat d-print-none\"> <img class=\"selectallarrow\" src=\""; // line 2 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=\"tablesForm_checkall\" class=\"checkall_box\" title=\""; yield _gettext("Check all"); // line 3 yield "\"> <label for=\"tablesForm_checkall\">"; yield _gettext("Check all"); // line 4 yield "</label> "; // line 5 if ((($context["overhead_check"] ?? null) != "")) { // line 6 yield " / <a href=\"#\" class=\"checkall-filter\" data-checkall-selector=\".tbl-overhead\">"; yield _gettext("Check tables having overhead"); yield "</a> "; } // line 8 yield " <select name=\"submit_mult\" style=\"margin: 0 3em 0 3em;\"> <option value=\""; yield _gettext("With selected:"); // line 9 yield "\" selected=\"selected\">"; yield _gettext("With selected:"); yield "</option> <option value=\"copy_tbl\">"; yield _gettext("Copy table"); // line 10 yield "</option> <option value=\"show_create\">"; yield _gettext("Show create"); // line 11 yield "</option> <option value=\"export\">"; yield _gettext("Export"); // line 12 yield "</option> "; // line 13 if (( !($context["db_is_system_schema"] ?? null) && !($context["disable_multi_table"] ?? null))) { // line 14 yield " <optgroup label=\""; yield _gettext("Delete data or table"); yield "\"> <option value=\"empty_tbl\">"; yield _gettext("Empty"); // line 15 yield "</option> <option value=\"drop_tbl\">"; yield _gettext("Drop"); // line 16 yield "</option> </optgroup> <optgroup label=\""; yield _gettext("Table maintenance"); // line 18 yield "\"> <option value=\"analyze_tbl\">"; yield _gettext("Analyze table"); // line 19 yield "</option> <option value=\"check_tbl\">"; yield _gettext("Check table"); // line 20 yield "</option> <option value=\"checksum_tbl\">"; yield _gettext("Checksum table"); // line 21 yield "</option> <option value=\"optimize_tbl\">"; yield _gettext("Optimize table"); // line 22 yield "</option> <option value=\"repair_tbl\">"; yield _gettext("Repair table"); // line 23 yield "</option> </optgroup> <optgroup label=\""; yield _gettext("Prefix"); // line 25 yield "\"> <option value=\"add_prefix_tbl\">"; yield _gettext("Add prefix to table"); // line 26 yield "</option> <option value=\"replace_prefix_tbl\">"; yield _gettext("Replace table prefix"); // line 27 yield "</option> <option value=\"copy_tbl_change_prefix\">"; yield _gettext("Copy table with prefix"); // line 28 yield "</option> </optgroup> "; } // line 31 yield " "; if ((array_key_exists("central_columns_work", $context) && ($context["central_columns_work"] ?? null))) { // line 32 yield " <optgroup label=\""; yield _gettext("Central columns"); yield "\"> <option value=\"sync_unique_columns_central_list\">"; yield _gettext("Add columns to central list"); // line 33 yield "</option> <option value=\"delete_unique_columns_central_list\">"; yield _gettext("Remove columns from central list"); // line 34 yield "</option> <option value=\"make_consistent_with_central_list\">"; yield _gettext("Make consistent with central list"); // line 35 yield "</option> </optgroup> "; } // line 38 yield " </select> "; // line 39 yield Twig\Extension\CoreExtension::join(($context["hidden_fields"] ?? null), " "); yield " </div> "; // line 42 if ((array_key_exists("central_columns_work", $context) && ($context["central_columns_work"] ?? null))) { // line 43 yield " <div class=\"modal fade\" id=\"makeConsistentWithCentralListModal\" data-bs-backdrop=\"static\" data-bs-keyboard=\"false\" tabindex=\"-1\" aria-labelledby=\"makeConsistentWithCentralListModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog modal-dialog-centered\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"makeConsistentWithCentralListModalLabel\">"; yield _gettext("Are you sure?"); // line 48 yield "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Cancel"); // line 49 yield "\"></button> </div> <div class=\"modal-body\"> "; // line 52 yield PhpMyAdmin\Sanitize::sanitizeMessage(_gettext("This action may change some of the columns definition.[br]Are you sure you want to continue?")); yield " </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; yield _gettext("Cancel"); // line 55 yield "</button> <button type=\"button\" class=\"btn btn-primary\" id=\"makeConsistentWithCentralListContinue\">"; yield _gettext("Continue"); // line 56 yield "</button> </div> </div> </div> </div> "; } return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/structure/check_all_tables.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 205 => 56, 201 => 55, 194 => 52, 189 => 49, 185 => 48, 177 => 43, 175 => 42, 168 => 39, 165 => 38, 160 => 35, 156 => 34, 152 => 33, 146 => 32, 143 => 31, 138 => 28, 134 => 27, 130 => 26, 126 => 25, 121 => 23, 117 => 22, 113 => 21, 109 => 20, 105 => 19, 101 => 18, 96 => 16, 92 => 15, 86 => 14, 84 => 13, 81 => 12, 77 => 11, 73 => 10, 67 => 9, 63 => 8, 57 => 6, 55 => 5, 52 => 4, 48 => 3, 41 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "database/structure/check_all_tables.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/check_all_tables.twig"); } } twig/ef/ef45b4f30cea4eba0b2b96a1a1716482.php 0000644 00000003777 15114741573 0013343 0 ustar 00 <?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; /* table/insert/get_html_for_insert_edit_form_header.twig */ class __TwigTemplate_e11e8f2c8818b8f4d9d0d66df1f062ff 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 id=\"insertForm\" class=\"lock-page"; yield (((($context["has_blob_field"] ?? null) && ($context["is_upload"] ?? null))) ? (" disableAjax") : ("")); yield "\" method=\"post\" action=\""; yield PhpMyAdmin\Url::getFromRoute("/table/replace"); yield "\" name=\"insertForm\""; yield ((($context["is_upload"] ?? null)) ? (" enctype=\"multipart/form-data\"") : ("")); yield ">"; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/insert/get_html_for_insert_edit_form_header.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 38 => 1,); } public function getSourceContext() { return new Source("", "table/insert/get_html_for_insert_edit_form_header.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/get_html_for_insert_edit_form_header.twig"); } } twig/17/175f548a7368321d0d2fb0be2ac400a1.php 0000644 00000020051 15114741573 0012733 0 ustar 00 <?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; /* database/structure/check_all_tables.twig */ class __TwigTemplate_aced5043f0a3fa7d7bfdc4c000ad9193 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=\"clearfloat d-print-none\"> <img class=\"selectallarrow\" src=\""; // line 2 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=\"tablesForm_checkall\" class=\"checkall_box\" title=\""; yield _gettext("Check all"); // line 3 yield "\"> <label for=\"tablesForm_checkall\">"; yield _gettext("Check all"); // line 4 yield "</label> "; // line 5 if ((($context["overhead_check"] ?? null) != "")) { // line 6 yield " / <a href=\"#\" class=\"checkall-filter\" data-checkall-selector=\".tbl-overhead\">"; yield _gettext("Check tables having overhead"); yield "</a> "; } // line 8 yield " <select name=\"submit_mult\" style=\"margin: 0 3em 0 3em;\"> <option value=\""; yield _gettext("With selected:"); // line 9 yield "\" selected=\"selected\">"; yield _gettext("With selected:"); yield "</option> <option value=\"copy_tbl\">"; yield _gettext("Copy table"); // line 10 yield "</option> <option value=\"show_create\">"; yield _gettext("Show create"); // line 11 yield "</option> <option value=\"export\">"; yield _gettext("Export"); // line 12 yield "</option> "; // line 13 if (( !($context["db_is_system_schema"] ?? null) && !($context["disable_multi_table"] ?? null))) { // line 14 yield " <optgroup label=\""; yield _gettext("Delete data or table"); yield "\"> <option value=\"empty_tbl\">"; yield _gettext("Empty"); // line 15 yield "</option> <option value=\"drop_tbl\">"; yield _gettext("Drop"); // line 16 yield "</option> </optgroup> <optgroup label=\""; yield _gettext("Table maintenance"); // line 18 yield "\"> <option value=\"analyze_tbl\">"; yield _gettext("Analyze table"); // line 19 yield "</option> <option value=\"check_tbl\">"; yield _gettext("Check table"); // line 20 yield "</option> <option value=\"checksum_tbl\">"; yield _gettext("Checksum table"); // line 21 yield "</option> <option value=\"optimize_tbl\">"; yield _gettext("Optimize table"); // line 22 yield "</option> <option value=\"repair_tbl\">"; yield _gettext("Repair table"); // line 23 yield "</option> </optgroup> <optgroup label=\""; yield _gettext("Prefix"); // line 25 yield "\"> <option value=\"add_prefix_tbl\">"; yield _gettext("Add prefix to table"); // line 26 yield "</option> <option value=\"replace_prefix_tbl\">"; yield _gettext("Replace table prefix"); // line 27 yield "</option> <option value=\"copy_tbl_change_prefix\">"; yield _gettext("Copy table with prefix"); // line 28 yield "</option> </optgroup> "; } // line 31 yield " "; if ((array_key_exists("central_columns_work", $context) && ($context["central_columns_work"] ?? null))) { // line 32 yield " <optgroup label=\""; yield _gettext("Central columns"); yield "\"> <option value=\"sync_unique_columns_central_list\">"; yield _gettext("Add columns to central list"); // line 33 yield "</option> <option value=\"delete_unique_columns_central_list\">"; yield _gettext("Remove columns from central list"); // line 34 yield "</option> <option value=\"make_consistent_with_central_list\">"; yield _gettext("Make consistent with central list"); // line 35 yield "</option> </optgroup> "; } // line 38 yield " </select> "; // line 39 yield Twig\Extension\CoreExtension::join(($context["hidden_fields"] ?? null), " "); yield " </div> "; // line 42 if ((array_key_exists("central_columns_work", $context) && ($context["central_columns_work"] ?? null))) { // line 43 yield " <div class=\"modal fade\" id=\"makeConsistentWithCentralListModal\" data-bs-backdrop=\"static\" data-bs-keyboard=\"false\" tabindex=\"-1\" aria-labelledby=\"makeConsistentWithCentralListModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog modal-dialog-centered\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"makeConsistentWithCentralListModalLabel\">"; yield _gettext("Are you sure?"); // line 48 yield "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Cancel"); // line 49 yield "\"></button> </div> <div class=\"modal-body\"> "; // line 52 yield PhpMyAdmin\Sanitize::sanitizeMessage(_gettext("This action may change some of the columns definition.[br]Are you sure you want to continue?")); yield " </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; yield _gettext("Cancel"); // line 55 yield "</button> <button type=\"button\" class=\"btn btn-primary\" id=\"makeConsistentWithCentralListContinue\">"; yield _gettext("Continue"); // line 56 yield "</button> </div> </div> </div> </div> "; } return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/structure/check_all_tables.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 205 => 56, 201 => 55, 194 => 52, 189 => 49, 185 => 48, 177 => 43, 175 => 42, 168 => 39, 165 => 38, 160 => 35, 156 => 34, 152 => 33, 146 => 32, 143 => 31, 138 => 28, 134 => 27, 130 => 26, 126 => 25, 121 => 23, 117 => 22, 113 => 21, 109 => 20, 105 => 19, 101 => 18, 96 => 16, 92 => 15, 86 => 14, 84 => 13, 81 => 12, 77 => 11, 73 => 10, 67 => 9, 63 => 8, 57 => 6, 55 => 5, 52 => 4, 48 => 3, 41 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "database/structure/check_all_tables.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/check_all_tables.twig"); } } twig/17/1784cc501e7ef3a9971e9bd3430e69ed.php 0000644 00000057765 15114741573 0013111 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/structure_table_row.twig */ class __TwigTemplate_fca2a734884de5ac3e697ac93e80f198 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 echo "<tr id=\"row_tbl_"; echo twig_escape_filter($this->env, ($context["curr"] ?? null), "html", null, true); echo "\""; echo ((($context["table_is_view"] ?? null)) ? (" class=\"is_view\"") : ("")); echo " data-filter-row=\""; echo twig_escape_filter($this->env, twig_upper_filter($this->env, (($__internal_compile_0 = ($context["current_table"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["TABLE_NAME"] ?? null) : null)), "html", null, true); echo "\"> <td class=\"text-center d-print-none\"> <input type=\"checkbox\" name=\"selected_tbl[]\" class=\""; // line 5 echo twig_escape_filter($this->env, ($context["input_class"] ?? null), "html", null, true); echo "\" value=\""; // line 6 echo twig_escape_filter($this->env, (($__internal_compile_1 = ($context["current_table"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["TABLE_NAME"] ?? null) : null), "html", null, true); echo "\" id=\"checkbox_tbl_"; // line 7 echo twig_escape_filter($this->env, ($context["curr"] ?? null), "html", null, true); echo "\"> </td> <th> <a href=\""; // line 10 echo PhpMyAdmin\Url::getFromRoute("/sql", twig_array_merge(($context["table_url_params"] ?? null), ["pos" => 0])); echo "\" title=\""; echo twig_escape_filter($this->env, ($context["browse_table_label_title"] ?? null), "html", null, true); echo "\">"; // line 11 echo twig_escape_filter($this->env, ($context["browse_table_label_truename"] ?? null), "html", null, true); // line 12 echo "</a> "; // line 13 echo ($context["tracking_icon"] ?? null); echo " </th> "; // line 15 if (($context["server_replica_status"] ?? null)) { // line 16 echo " <td class=\"text-center\"> "; // line 17 echo ((($context["ignored"] ?? null)) ? (PhpMyAdmin\Html\Generator::getImage("s_cancel", _gettext("Not replicated"))) : ("")); echo " "; // line 18 echo ((($context["do"] ?? null)) ? (PhpMyAdmin\Html\Generator::getImage("s_success", _gettext("Replicated"))) : ("")); echo " </td> "; } // line 21 echo " "; // line 23 echo " "; if ((($context["num_favorite_tables"] ?? null) > 0)) { // line 24 echo " <td class=\"text-center d-print-none\"> "; // line 26 echo " "; $context["fav_params"] = ["db" => // line 27 ($context["db"] ?? null), "ajax_request" => true, "favorite_table" => (($__internal_compile_2 = // line 29 ($context["current_table"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["TABLE_NAME"] ?? null) : null), ((( // line 30 ($context["already_favorite"] ?? null)) ? ("remove") : ("add")) . "_favorite") => true]; // line 32 echo " "; $this->loadTemplate("database/structure/favorite_anchor.twig", "database/structure/structure_table_row.twig", 32)->display(twig_to_array(["table_name_hash" => // line 33 ($context["table_name_hash"] ?? null), "db_table_name_hash" => // line 34 ($context["db_table_name_hash"] ?? null), "fav_params" => // line 35 ($context["fav_params"] ?? null), "already_favorite" => // line 36 ($context["already_favorite"] ?? null)])); // line 38 echo " </td> "; } // line 40 echo " <td class=\"text-center d-print-none\"> <a href=\""; // line 42 echo PhpMyAdmin\Url::getFromRoute("/sql", twig_array_merge(($context["table_url_params"] ?? null), ["pos" => 0])); echo "\"> "; // line 43 echo ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_browse", _gettext("Browse")))); echo " </a> </td> <td class=\"text-center d-print-none\"> <a href=\""; // line 47 echo PhpMyAdmin\Url::getFromRoute("/table/structure", ($context["table_url_params"] ?? null)); echo "\"> "; // line 48 echo PhpMyAdmin\Html\Generator::getIcon("b_props", _gettext("Structure")); echo " </a> </td> <td class=\"text-center d-print-none\"> <a href=\""; // line 52 echo PhpMyAdmin\Url::getFromRoute("/table/search", ($context["table_url_params"] ?? null)); echo "\"> "; // line 53 echo ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_select", _gettext("Search"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_select", _gettext("Search")))); echo " </a> </td> "; // line 57 if ( !($context["db_is_system_schema"] ?? null)) { // line 58 echo " <td class=\"insert_table text-center d-print-none\"> <a href=\""; // line 59 echo PhpMyAdmin\Url::getFromRoute("/table/change", ($context["table_url_params"] ?? null)); echo "\">"; echo PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Insert")); echo "</a> </td> "; // line 61 if (($context["table_is_view"] ?? null)) { // line 62 echo " <td class=\"text-center d-print-none\"> <a href=\""; // line 63 echo PhpMyAdmin\Url::getFromRoute("/view/create", ["db" => // line 64 ($context["db"] ?? null), "table" => (($__internal_compile_3 = // line 65 ($context["current_table"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["TABLE_NAME"] ?? null) : null)]); // line 66 echo "\">"; echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit")); echo "</a> </td> "; } else { // line 69 echo " <td class=\"text-center d-print-none\"> <a class=\"truncate_table_anchor ajax\" href=\""; // line 70 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["table_url_params"] ?? null), ["sql_query" => // line 71 ($context["empty_table_sql_query"] ?? null), "message_to_show" => // line 72 ($context["empty_table_message_to_show"] ?? null)]), ""); // line 73 echo "\"> "; // line 74 echo ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_empty", _gettext("Empty"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_empty", _gettext("Empty")))); echo " </a> </td> "; } // line 78 echo " <td class=\"text-center d-print-none\"> <a class=\"ajax drop_table_anchor"; // line 80 echo (((($context["table_is_view"] ?? null) || ((($__internal_compile_4 = ($context["current_table"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["ENGINE"] ?? null) : null) == null))) ? (" view") : ("")); echo "\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" data-post=\""; // line 81 echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["table_url_params"] ?? null), ["reload" => 1, "purge" => 1, "sql_query" => // line 84 ($context["drop_query"] ?? null), "message_to_show" => // line 85 ($context["drop_message"] ?? null)]), ""); // line 86 echo "\"> "; // line 87 echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); echo " </a> </td> "; } // line 91 echo " "; // line 92 if ((twig_get_attribute($this->env, $this->source, ($context["current_table"] ?? null), "TABLE_ROWS", [], "array", true, true, false, 92) && (((($__internal_compile_5 = // line 93 ($context["current_table"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["ENGINE"] ?? null) : null) != null) || ($context["table_is_view"] ?? null)))) { // line 94 echo " "; // line 95 echo " "; $context["row_count"] = PhpMyAdmin\Util::formatNumber((($__internal_compile_6 = ($context["current_table"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["TABLE_ROWS"] ?? null) : null), 0); // line 96 echo " "; // line 99 echo " <td class=\"value tbl_rows font-monospace text-end\" data-table=\""; // line 100 echo twig_escape_filter($this->env, (($__internal_compile_7 = ($context["current_table"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["TABLE_NAME"] ?? null) : null), "html", null, true); echo "\"> "; // line 101 if (($context["approx_rows"] ?? null)) { // line 102 echo " <a href=\""; echo PhpMyAdmin\Url::getFromRoute("/database/structure/real-row-count", ["ajax_request" => true, "db" => // line 104 ($context["db"] ?? null), "table" => (($__internal_compile_8 = // line 105 ($context["current_table"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["TABLE_NAME"] ?? null) : null)]); // line 106 echo "\" class=\"ajax real_row_count\"> <bdi> ~"; // line 108 echo twig_escape_filter($this->env, ($context["row_count"] ?? null), "html", null, true); echo " </bdi> </a> "; } else { // line 112 echo " "; echo twig_escape_filter($this->env, ($context["row_count"] ?? null), "html", null, true); echo " "; } // line 114 echo " "; echo ($context["show_superscript"] ?? null); echo " </td> "; // line 117 if ( !(($context["properties_num_columns"] ?? null) > 1)) { // line 118 echo " <td class=\"text-nowrap\"> "; // line 119 if ( !twig_test_empty((($__internal_compile_9 = ($context["current_table"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["ENGINE"] ?? null) : null))) { // line 120 echo " "; echo twig_escape_filter($this->env, (($__internal_compile_10 = ($context["current_table"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["ENGINE"] ?? null) : null), "html", null, true); echo " "; } elseif ( // line 121 ($context["table_is_view"] ?? null)) { // line 122 echo " "; echo _gettext("View"); // line 123 echo " "; } // line 124 echo " </td> "; // line 125 if ((twig_length_filter($this->env, ($context["collation"] ?? null)) > 0)) { // line 126 echo " <td class=\"text-nowrap\"> "; // line 127 echo ($context["collation"] ?? null); echo " </td> "; } // line 130 echo " "; } // line 131 echo " "; // line 132 if (($context["is_show_stats"] ?? null)) { // line 133 echo " <td class=\"value tbl_size font-monospace text-end\"> <a href=\""; // line 134 echo PhpMyAdmin\Url::getFromRoute("/table/structure", ($context["table_url_params"] ?? null)); echo "#showusage\"> <span>"; // line 135 echo twig_escape_filter($this->env, ($context["formatted_size"] ?? null), "html", null, true); echo "</span> <span class=\"unit\">"; echo twig_escape_filter($this->env, ($context["unit"] ?? null), "html", null, true); echo "</span> </a> </td> <td class=\"value tbl_overhead font-monospace text-end\"> "; // line 139 echo ($context["overhead"] ?? null); echo " </td> "; } // line 142 echo " "; // line 143 if ( !(($context["show_charset"] ?? null) > 1)) { // line 144 echo " "; if ((twig_length_filter($this->env, ($context["charset"] ?? null)) > 0)) { // line 145 echo " <td class=\"text-nowrap\"> "; // line 146 echo ($context["charset"] ?? null); echo " </td> "; } // line 149 echo " "; } // line 150 echo " "; // line 151 if (($context["show_comment"] ?? null)) { // line 152 echo " "; $context["comment"] = (($__internal_compile_11 = ($context["current_table"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["Comment"] ?? null) : null); // line 153 echo " <td> "; // line 154 if ((twig_length_filter($this->env, ($context["comment"] ?? null)) > ($context["limit_chars"] ?? null))) { // line 155 echo " <abbr title=\""; echo twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true); echo "\"> "; // line 156 echo twig_escape_filter($this->env, twig_slice($this->env, ($context["comment"] ?? null), 0, ($context["limit_chars"] ?? null)), "html", null, true); echo " ... </abbr> "; } else { // line 160 echo " "; echo twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true); echo " "; } // line 162 echo " </td> "; } // line 164 echo " "; // line 165 if (($context["show_creation"] ?? null)) { // line 166 echo " <td class=\"value tbl_creation font-monospace text-end\"> "; // line 167 echo twig_escape_filter($this->env, ($context["create_time"] ?? null), "html", null, true); echo " </td> "; } // line 170 echo " "; // line 171 if (($context["show_last_update"] ?? null)) { // line 172 echo " <td class=\"value tbl_last_update font-monospace text-end\"> "; // line 173 echo twig_escape_filter($this->env, ($context["update_time"] ?? null), "html", null, true); echo " </td> "; } // line 176 echo " "; // line 177 if (($context["show_last_check"] ?? null)) { // line 178 echo " <td class=\"value tbl_last_check font-monospace text-end\"> "; // line 179 echo twig_escape_filter($this->env, ($context["check_time"] ?? null), "html", null, true); echo " </td> "; } // line 182 echo " "; } elseif ( // line 183 ($context["table_is_view"] ?? null)) { // line 184 echo " <td class=\"value tbl_rows font-monospace text-end\">-</td> <td class=\"text-nowrap\"> "; echo _gettext("View"); // line 187 echo " </td> <td class=\"text-nowrap\">---</td> "; // line 189 if (($context["is_show_stats"] ?? null)) { // line 190 echo " <td class=\"value tbl_size font-monospace text-end\">-</td> <td class=\"value tbl_overhead font-monospace text-end\">-</td> "; } // line 193 echo " "; if (($context["show_charset"] ?? null)) { // line 194 echo " <td></td> "; } // line 196 echo " "; if (($context["show_comment"] ?? null)) { // line 197 echo " <td></td> "; } // line 199 echo " "; if (($context["show_creation"] ?? null)) { // line 200 echo " <td class=\"value tbl_creation font-monospace text-end\">-</td> "; } // line 202 echo " "; if (($context["show_last_update"] ?? null)) { // line 203 echo " <td class=\"value tbl_last_update font-monospace text-end\">-</td> "; } // line 205 echo " "; if (($context["show_last_check"] ?? null)) { // line 206 echo " <td class=\"value tbl_last_check font-monospace text-end\">-</td> "; } // line 208 echo " "; } else { // line 210 echo " "; // line 211 if (($context["db_is_system_schema"] ?? null)) { // line 212 echo " "; $context["action_colspan"] = 3; // line 213 echo " "; } else { // line 214 echo " "; $context["action_colspan"] = 6; // line 215 echo " "; } // line 216 echo " "; if ((($context["num_favorite_tables"] ?? null) > 0)) { // line 217 echo " "; $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); // line 218 echo " "; } // line 219 echo " "; // line 220 $context["colspan_for_structure"] = (($context["action_colspan"] ?? null) + 3); // line 221 echo " <td colspan=\""; echo (((($context["colspan_for_structure"] ?? null) - ($context["db_is_system_schema"] ?? null))) ? (6) : (9)); echo "\" class=\"text-center\"> "; echo _gettext("in use"); // line 224 echo " </td> "; } // line 226 echo "</tr> "; } public function getTemplateName() { return "database/structure/structure_table_row.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 540 => 226, 536 => 224, 529 => 221, 527 => 220, 524 => 219, 521 => 218, 518 => 217, 515 => 216, 512 => 215, 509 => 214, 506 => 213, 503 => 212, 501 => 211, 498 => 210, 494 => 208, 490 => 206, 487 => 205, 483 => 203, 480 => 202, 476 => 200, 473 => 199, 469 => 197, 466 => 196, 462 => 194, 459 => 193, 454 => 190, 452 => 189, 448 => 187, 443 => 184, 441 => 183, 438 => 182, 432 => 179, 429 => 178, 427 => 177, 424 => 176, 418 => 173, 415 => 172, 413 => 171, 410 => 170, 404 => 167, 401 => 166, 399 => 165, 396 => 164, 392 => 162, 386 => 160, 379 => 156, 374 => 155, 372 => 154, 369 => 153, 366 => 152, 364 => 151, 361 => 150, 358 => 149, 352 => 146, 349 => 145, 346 => 144, 344 => 143, 341 => 142, 335 => 139, 326 => 135, 322 => 134, 319 => 133, 317 => 132, 314 => 131, 311 => 130, 305 => 127, 302 => 126, 300 => 125, 297 => 124, 294 => 123, 291 => 122, 289 => 121, 284 => 120, 282 => 119, 279 => 118, 277 => 117, 270 => 114, 264 => 112, 257 => 108, 253 => 106, 251 => 105, 250 => 104, 248 => 102, 246 => 101, 242 => 100, 239 => 99, 236 => 96, 233 => 95, 231 => 94, 229 => 93, 228 => 92, 225 => 91, 218 => 87, 215 => 86, 213 => 85, 212 => 84, 211 => 81, 206 => 80, 203 => 78, 196 => 74, 193 => 73, 191 => 72, 190 => 71, 187 => 70, 184 => 69, 177 => 66, 175 => 65, 174 => 64, 173 => 63, 170 => 62, 168 => 61, 161 => 59, 158 => 58, 156 => 57, 149 => 53, 145 => 52, 138 => 48, 134 => 47, 127 => 43, 123 => 42, 119 => 40, 115 => 38, 113 => 36, 112 => 35, 111 => 34, 110 => 33, 108 => 32, 106 => 30, 105 => 29, 104 => 27, 102 => 26, 99 => 24, 96 => 23, 93 => 21, 87 => 18, 83 => 17, 80 => 16, 78 => 15, 73 => 13, 70 => 12, 68 => 11, 63 => 10, 57 => 7, 53 => 6, 49 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/structure_table_row.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/structure_table_row.twig"); } } twig/d7/d7c3995cb4f6125a4978fed7eeb11cff.php 0000644 00000007112 15114741573 0013376 0 ustar 00 <?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_c2e52b77f812faacc66447b1706165df 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/console/toolbar.twig"); } } twig/c8/c89a593abb8807604affd9fe0a7865f6.php 0000644 00000013563 15114741573 0013250 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* scripts.twig */ class __TwigTemplate_bd7143e5da26f475b17c6ec045d82d48 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'] = twig_ensure_traversable(($context["files"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["file"]) { // line 2 echo " <script data-cfasync=\"false\" type=\"text/javascript\" src=\""; echo twig_escape_filter($this->env, ($context["base_dir"] ?? null), "html", null, true); echo "js/"; // line 3 echo twig_escape_filter($this->env, ((((is_string($__internal_compile_0 = twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)) && is_string($__internal_compile_1 = "vendor/") && ('' === $__internal_compile_1 || 0 === strpos($__internal_compile_0, $__internal_compile_1))) || (is_string($__internal_compile_2 = twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)) && is_string($__internal_compile_3 = "messages.php") && ('' === $__internal_compile_3 || 0 === strpos($__internal_compile_2, $__internal_compile_3))))) ? (twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)) : (("dist/" . twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)))), "html", null, true); // line 4 ((twig_in_filter(".php", twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 4))) ? (print (PhpMyAdmin\Url::getCommon(twig_array_merge(twig_get_attribute($this->env, $this->source, $context["file"], "params", [], "any", false, false, false, 4), ["v" => ($context["version"] ?? null)])))) : (print (twig_escape_filter($this->env, ("?v=" . twig_urlencode_filter(($context["version"] ?? null))), "html", null, true)))); echo "\"></script> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 6 echo " <script data-cfasync=\"false\" type=\"text/javascript\"> // <![CDATA[ "; // line 9 echo ($context["code"] ?? null); echo " "; // line 10 if ( !twig_test_empty(($context["files"] ?? null))) { // line 11 echo "AJAX.scriptHandler "; // line 12 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["files"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["file"]) { // line 13 echo " .add('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 13)); echo "', "; echo ((twig_get_attribute($this->env, $this->source, $context["file"], "has_onload", [], "any", false, false, false, 13)) ? (1) : (0)); echo ") "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 15 echo "; \$(function() { "; // line 17 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["files"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["file"]) { // line 18 echo " "; if (twig_get_attribute($this->env, $this->source, $context["file"], "has_onload", [], "any", false, false, false, 18)) { // line 19 echo " AJAX.fireOnload('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 19)); echo "'); "; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 22 echo "}); "; } // line 24 echo "// ]]> </script> "; } public function getTemplateName() { return "scripts.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 109 => 24, 105 => 22, 95 => 19, 92 => 18, 88 => 17, 84 => 15, 73 => 13, 69 => 12, 66 => 11, 64 => 10, 60 => 9, 55 => 6, 47 => 4, 45 => 3, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "scripts.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/scripts.twig"); } } twig/32/320149963f63e4d5d71238be9cfb666e.php 0000644 00000013235 15114741573 0012727 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/insert/actions_panel.twig */ class __TwigTemplate_9bc61de544d2a5e749d445311bdd2e24 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 echo "<fieldset class=\"pma-fieldset\" id=\"actions_panel\"> <table class=\"table table-borderless w-auto tdblock\"> <tr> <td class=\"text-nowrap align-middle\"> <select name=\"submit_type\" class=\"control_at_footer\"> "; // line 6 if ( !twig_test_empty(($context["where_clause"] ?? null))) { // line 7 echo " <option value=\"save\">"; echo _gettext("Save"); echo "</option> "; } // line 9 echo " <option value=\"insert\">"; echo _gettext("Insert as new row"); echo "</option> <option value=\"insertignore\">"; echo _gettext("Insert as new row and ignore errors"); // line 10 echo "</option> <option value=\"showinsert\">"; echo _gettext("Show insert query"); // line 11 echo "</option> </select> </td> <td class=\"align-middle\"> <strong>"; echo _gettext("and then"); // line 15 echo "</strong> </td> <td class=\"text-nowrap align-middle\"> <select name=\"after_insert\" class=\"control_at_footer\"> <option value=\"back\""; // line 19 echo (((($context["after_insert"] ?? null) == "back")) ? (" selected") : ("")); echo ">"; echo _gettext("Go back to previous page"); echo "</option> <option value=\"new_insert\""; // line 20 echo (((($context["after_insert"] ?? null) == "new_insert")) ? (" selected") : ("")); echo ">"; echo _gettext("Insert another new row"); echo "</option> "; // line 21 if ( !twig_test_empty(($context["where_clause"] ?? null))) { // line 22 echo " <option value=\"same_insert\""; echo (((($context["after_insert"] ?? null) == "same_insert")) ? (" selected") : ("")); echo ">"; echo _gettext("Go back to this page"); echo "</option> "; // line 23 if ((($context["found_unique_key"] ?? null) && ($context["is_numeric"] ?? null))) { // line 24 echo " <option value=\"edit_next\""; echo (((($context["after_insert"] ?? null) == "edit_next")) ? (" selected") : ("")); echo ">"; echo _gettext("Edit next row"); echo "</option> "; } // line 26 echo " "; } // line 27 echo " </select> </td> </tr> <tr> <td> "; // line 32 echo PhpMyAdmin\Html\Generator::showHint(_gettext("Use TAB key to move from value to value, or CTRL+arrows to move anywhere.")); echo " </td> <td colspan=\"3\" class=\"text-end align-middle\"> <input type=\"button\" class=\"btn btn-secondary preview_sql control_at_footer\" value=\""; echo _gettext("Preview SQL"); // line 35 echo "\"> <input type=\"reset\" class=\"btn btn-secondary control_at_footer\" value=\""; echo _gettext("Reset"); // line 36 echo "\"> <input type=\"submit\" class=\"btn btn-primary control_at_footer\" value=\""; echo _gettext("Go"); // line 37 echo "\" id=\"buttonYes\"> </td> </tr> </table> </fieldset> <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\">"; echo _gettext("Loading"); // line 46 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 47 echo "\"></button> </div> <div class=\"modal-body\"> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"previewSQLCloseButton\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 52 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "table/insert/actions_panel.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 155 => 52, 147 => 47, 143 => 46, 131 => 37, 127 => 36, 123 => 35, 116 => 32, 109 => 27, 106 => 26, 98 => 24, 96 => 23, 89 => 22, 87 => 21, 81 => 20, 75 => 19, 69 => 15, 62 => 11, 58 => 10, 52 => 9, 46 => 7, 44 => 6, 37 => 1,); } public function getSourceContext() { return new Source("", "table/insert/actions_panel.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/actions_panel.twig"); } } twig/32/32dd48dec728949aad7c20cede3d958a.php 0000644 00000033244 15114741573 0013305 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/checkbox_and_links.twig */ class __TwigTemplate_c98673b80abbb9012e1f3a371c50c363 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 echo " "; if (($context["has_checkbox"] ?? null)) { // line 3 echo " <td class=\"text-center d-print-none\"> <input type=\"checkbox\" class=\"multi_checkbox checkall\" id=\"id_rows_to_delete"; // line 5 echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true); echo "_left\" name=\"rows_to_delete["; echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" class=\"condition_array\" value=\""; // line 6 echo twig_escape_filter($this->env, ($context["condition"] ?? null), "html", null, true); echo "\"> </td> "; } // line 9 echo " "; // line 10 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "url", [], "any", false, false, false, 10))) { // line 11 echo " <td class=\"text-center d-print-none edit_row_anchor"; echo (( !twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "clause_is_unique", [], "any", false, false, false, 11)) ? (" nonunique") : ("")); echo "\"> <span class=\"text-nowrap\"> "; // line 13 echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "url", [], "any", false, false, false, 13), twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "params", [], "any", false, false, false, 13), twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "string", [], "any", false, false, false, 13)); echo " "; // line 14 if ( !twig_test_empty(($context["where_clause"] ?? null))) { // line 15 echo " <input type=\"hidden\" class=\"where_clause\" value=\""; echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true); echo "\"> "; } // line 17 echo " </span> </td> "; } // line 20 echo " "; // line 21 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "url", [], "any", false, false, false, 21))) { // line 22 echo " <td class=\"text-center d-print-none\"> <span class=\"text-nowrap\"> "; // line 24 echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "url", [], "any", false, false, false, 24), twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "params", [], "any", false, false, false, 24), twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "string", [], "any", false, false, false, 24)); echo " "; // line 25 if ( !twig_test_empty(($context["where_clause"] ?? null))) { // line 26 echo " <input type=\"hidden\" class=\"where_clause\" value=\""; echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true); echo "\"> "; } // line 28 echo " </span> </td> "; } // line 31 echo " "; // line 32 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "url", [], "any", false, false, false, 32))) { // line 33 echo " <td class=\"text-center d-print-none"; echo ((($context["is_ajax"] ?? null)) ? (" ajax") : ("")); echo "\"> <span class=\"text-nowrap\"> "; // line 35 echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "url", [], "any", false, false, false, 35), twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "params", [], "any", false, false, false, 35), twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "string", [], "any", false, false, false, 35), ["class" => ("delete_row requireConfirm" . ((($context["is_ajax"] ?? null)) ? (" ajax") : ("")))]); echo " "; // line 36 if ( !twig_test_empty(($context["js_conf"] ?? null))) { // line 37 echo " <div class=\"hide\">"; echo twig_escape_filter($this->env, ($context["js_conf"] ?? null), "html", null, true); echo "</div> "; } // line 39 echo " </span> </td> "; } } elseif (( // line 42 ($context["position"] ?? null) == "right")) { // line 43 echo " "; if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "url", [], "any", false, false, false, 43))) { // line 44 echo " <td class=\"text-center d-print-none"; echo ((($context["is_ajax"] ?? null)) ? (" ajax") : ("")); echo "\"> <span class=\"text-nowrap\"> "; // line 46 echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "url", [], "any", false, false, false, 46), twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "params", [], "any", false, false, false, 46), twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "string", [], "any", false, false, false, 46), ["class" => ("delete_row requireConfirm" . ((($context["is_ajax"] ?? null)) ? (" ajax") : ("")))]); echo " "; // line 47 if ( !twig_test_empty(($context["js_conf"] ?? null))) { // line 48 echo " <div class=\"hide\">"; echo twig_escape_filter($this->env, ($context["js_conf"] ?? null), "html", null, true); echo "</div> "; } // line 50 echo " </span> </td> "; } // line 53 echo " "; // line 54 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "url", [], "any", false, false, false, 54))) { // line 55 echo " <td class=\"text-center d-print-none\"> <span class=\"text-nowrap\"> "; // line 57 echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "url", [], "any", false, false, false, 57), twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "params", [], "any", false, false, false, 57), twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "string", [], "any", false, false, false, 57)); echo " "; // line 58 if ( !twig_test_empty(($context["where_clause"] ?? null))) { // line 59 echo " <input type=\"hidden\" class=\"where_clause\" value=\""; echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true); echo "\"> "; } // line 61 echo " </span> </td> "; } // line 64 echo " "; // line 65 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "url", [], "any", false, false, false, 65))) { // line 66 echo " <td class=\"text-center d-print-none edit_row_anchor"; echo (( !twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "clause_is_unique", [], "any", false, false, false, 66)) ? (" nonunique") : ("")); echo "\"> <span class=\"text-nowrap\"> "; // line 68 echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "url", [], "any", false, false, false, 68), twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "params", [], "any", false, false, false, 68), twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "string", [], "any", false, false, false, 68)); echo " "; // line 69 if ( !twig_test_empty(($context["where_clause"] ?? null))) { // line 70 echo " <input type=\"hidden\" class=\"where_clause\" value=\""; echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true); echo "\"> "; } // line 72 echo " </span> </td> "; } // line 75 echo " "; // line 76 if (($context["has_checkbox"] ?? null)) { // line 77 echo " <td class=\"text-center d-print-none\"> <input type=\"checkbox\" class=\"multi_checkbox checkall\" id=\"id_rows_to_delete"; // line 79 echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true); echo "_right\" name=\"rows_to_delete["; echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" class=\"condition_array\" value=\""; // line 80 echo twig_escape_filter($this->env, ($context["condition"] ?? null), "html", null, true); echo "\"> </td> "; } } else { // line 84 echo " "; if (($context["has_checkbox"] ?? null)) { // line 85 echo " <td class=\"text-center d-print-none\"> <input type=\"checkbox\" class=\"multi_checkbox checkall\" id=\"id_rows_to_delete"; // line 87 echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true); echo "_left\" name=\"rows_to_delete["; echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" class=\"condition_array\" value=\""; // line 88 echo twig_escape_filter($this->env, ($context["condition"] ?? null), "html", null, true); echo "\"> </td> "; } } } public function getTemplateName() { return "display/results/checkbox_and_links.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 260 => 88, 252 => 87, 249 => 85, 246 => 84, 239 => 80, 231 => 79, 228 => 77, 226 => 76, 223 => 75, 218 => 72, 212 => 70, 210 => 69, 206 => 68, 200 => 66, 198 => 65, 195 => 64, 190 => 61, 184 => 59, 182 => 58, 178 => 57, 174 => 55, 172 => 54, 169 => 53, 164 => 50, 158 => 48, 156 => 47, 152 => 46, 146 => 44, 143 => 43, 141 => 42, 136 => 39, 130 => 37, 128 => 36, 124 => 35, 118 => 33, 116 => 32, 113 => 31, 108 => 28, 102 => 26, 100 => 25, 96 => 24, 92 => 22, 90 => 21, 87 => 20, 82 => 17, 76 => 15, 74 => 14, 70 => 13, 64 => 11, 62 => 10, 59 => 9, 53 => 6, 45 => 5, 42 => 3, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/checkbox_and_links.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/checkbox_and_links.twig"); } } twig/7c/7c1f8191a228059f386b0e6b668ce2eb.php 0000644 00000003615 15114741573 0013066 0 ustar 00 <?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/page_selector.twig */ class __TwigTemplate_84d8a01530807e2441edd9169adc4fa9 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> <form action=\""; // line 2 yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" method=\"post\"> "; // line 3 yield PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null)); yield " "; // line 4 yield ($context["page_selector"] ?? null); yield " </form> </td> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "display/results/page_selector.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 49 => 4, 45 => 3, 41 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "display/results/page_selector.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/page_selector.twig"); } } twig/7c/7ca775057ee2a379dd2ca2ae43478689.php 0000644 00000010315 15114741573 0013070 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/comment_for_row.twig */ class __TwigTemplate_622d5a93efb51924e20f8ab4254307d5 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 ((twig_get_attribute($this->env, $this->source, ($context["comments_map"] ?? null), ($context["table_name"] ?? null), [], "array", true, true, false, 1) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 2 ($context["comments_map"] ?? null), ($context["table_name"] ?? null), [], "array", false, true, false, 2), ($context["column_name"] ?? null), [], "array", true, true, false, 2))) { // line 3 echo " <br><span class=\"tblcomment\" title=\""; echo twig_escape_filter($this->env, (($__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); echo "\"> "; // line 4 if ((twig_length_filter($this->env, (($__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 echo " "; echo twig_escape_filter($this->env, twig_slice($this->env, (($__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); echo "… "; } else { // line 7 echo " "; echo twig_escape_filter($this->env, (($__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); echo " "; } // line 9 echo " </span> "; } } public function getTemplateName() { return "display/results/comment_for_row.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 59 => 9, 53 => 7, 47 => 5, 45 => 4, 40 => 3, 38 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/comment_for_row.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/comment_for_row.twig"); } } twig/48/48759c67dae9a11322597c1358699ffa.php 0000644 00000017322 15114741573 0012672 0 ustar 00 <?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_b46daaad4582d77c8ed7b81d2ef3d052 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/header.twig"); } } twig/69/699daffb612136e04e79c262af26bbf9.php 0000644 00000136044 15114741573 0013157 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* export.twig */ class __TwigTemplate_6948ae6d41bfa0e1275bb7d237f3c46d extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ 'title' => [$this, 'block_title'], 'message' => [$this, 'block_message'], 'selection_options' => [$this, 'block_selection_options'], ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class=\"container\"> <h2 class=\"my-3\"> "; // line 3 echo PhpMyAdmin\Html\Generator::getImage("b_export", _gettext("Export")); echo " "; // line 4 $this->displayBlock('title', $context, $blocks); // line 5 echo " </h2> "; // line 7 echo ($context["page_settings_error_html"] ?? null); echo " "; // line 8 echo ($context["page_settings_html"] ?? null); echo " "; // line 10 $this->displayBlock('message', $context, $blocks); // line 11 echo " "; // line 12 if (twig_get_attribute($this->env, $this->source, ($context["templates"] ?? null), "is_enabled", [], "any", false, false, false, 12)) { // line 13 echo " <div class=\"card mb-3\"> <div class=\"card-header\">"; echo _gettext("Export templates:"); // line 14 echo "</div> <div class=\"card-body row gy-3\"> <form method=\"post\" action=\""; // line 16 echo PhpMyAdmin\Url::getFromRoute("/export/template/create"); echo "\" class=\"col-12 col-md ajax\"> <fieldset> <legend>"; echo _gettext("New template:"); // line 18 echo "</legend> <div class=\"row g-3 align-items-center\"> <div class=\"col-auto\"> <label for=\"templateName\" class=\"col-form-label\">"; echo _gettext("Template name"); // line 21 echo "</label> </div> <div class=\"col-auto\"> <input class=\"form-control\" type=\"text\" name=\"templateName\" id=\"templateName\" maxlength=\"64\" placeholder=\""; echo _gettext("Template name"); // line 24 echo "\" required> </div> <div class=\"col-auto\"> <input class=\"btn btn-secondary\" type=\"submit\" name=\"createTemplate\" id=\"createTemplate\" value=\""; echo _gettext("Create"); // line 27 echo "\"> </div> </div> </fieldset> </form> <form method=\"post\" id=\"existingTemplatesForm\" class=\"col-12 col-md ajax\"> <fieldset> <legend>"; echo _gettext("Existing templates:"); // line 35 echo "</legend> <div class=\"row g-3 align-items-center\"> <div class=\"col-auto\"> <label for=\"template\" class=\"col-form-label\">"; echo _gettext("Template:"); // line 38 echo "</label> </div> <div class=\"col-auto\"> <select class=\"form-select\" name=\"template\" id=\"template\" required> <option value=\"\">-- "; echo _gettext("Select a template"); // line 42 echo " --</option> "; // line 43 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["templates"] ?? null), "templates", [], "any", false, false, false, 43)); foreach ($context['_seq'] as $context["_key"] => $context["template"]) { // line 44 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["template"], "getId", [], "method", false, false, false, 44), "html", null, true); echo "\""; echo (((twig_get_attribute($this->env, $this->source, $context["template"], "getId", [], "method", false, false, false, 44) == twig_get_attribute($this->env, $this->source, ($context["templates"] ?? null), "selected", [], "any", false, false, false, 44))) ? (" selected") : ("")); echo "> "; // line 45 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["template"], "getName", [], "method", false, false, false, 45), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['template'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 48 echo " </select> </div> <div class=\"col-auto\"> <input class=\"btn btn-secondary\" type=\"submit\" formaction=\""; // line 51 echo PhpMyAdmin\Url::getFromRoute("/export/template/update"); echo "\" name=\"updateTemplate\" id=\"updateTemplate\" value=\""; echo _gettext("Update"); echo "\"> </div> <div class=\"col-auto\"> <input class=\"btn btn-secondary\" type=\"submit\" formaction=\""; // line 54 echo PhpMyAdmin\Url::getFromRoute("/export/template/delete"); echo "\" name=\"deleteTemplate\" id=\"deleteTemplate\" value=\""; echo _gettext("Delete"); echo "\"> </div> </div> </fieldset> </form> </div> </div> "; } // line 62 echo " "; // line 63 if ( !twig_test_empty(($context["sql_query"] ?? null))) { // line 64 echo " <div class=\"card mb-3\"> <div class=\"card-header\"> "; // line 67 echo " "; echo _gettext("SQL query:"); // line 68 echo " </div> <div class=\"card-body\"> <div id=\"sqlqueryform\"> "; // line 72 echo " <input class=\"btn btn-secondary\" type=\"submit\" id=\"showsqlquery\" value=\""; echo _gettext("Show SQL query"); echo "\"> </div> <div class=\"d-none\"></div> </div> </div> <div class=\"modal fade\" id=\"showSqlQueryModal\" tabindex=\"-1\" aria-labelledby=\"showSqlQueryModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"showSqlQueryModalLabel\">"; echo _gettext("Loading"); // line 81 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 82 echo "\"></button> </div> <div class=\"modal-body\"> <div id=\"export_sql_modal_content\"> <code class=\"sql\"> <pre id=\"sql_preview_query\">"; // line 87 echo twig_escape_filter($this->env, ($context["sql_query"] ?? null), "html", null, true); echo "</pre> </code> </div> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 92 echo "</button> </div> </div> </div> </div> "; } // line 98 echo " <form method=\"post\" action=\""; // line 99 echo PhpMyAdmin\Url::getFromRoute("/export"); echo "\" name=\"dump\" class=\"disableAjax\"> "; // line 100 echo PhpMyAdmin\Url::getHiddenInputs(($context["hidden_inputs"] ?? null)); echo " "; // line 102 if ((($context["export_method"] ?? null) != "custom-no-form")) { // line 103 echo " <div class=\"card mb-3\" id=\"quick_or_custom\"> <div class=\"card-header\">"; echo _gettext("Export method:"); // line 104 echo "</div> <div class=\"card-body\"> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"quick_or_custom\" value=\"quick\" id=\"radio_quick_export\""; // line 107 echo (((($context["export_method"] ?? null) == "quick")) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"radio_quick_export\">"; echo _gettext("Quick - display only the minimal options"); // line 108 echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"quick_or_custom\" value=\"custom\" id=\"radio_custom_export\""; // line 111 echo (((($context["export_method"] ?? null) == "custom")) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"radio_custom_export\">"; echo _gettext("Custom - display all possible options"); // line 112 echo "</label> </div> </div> </div> "; } // line 117 echo " <div class=\"card mb-3\" id=\"format\"> <div class=\"card-header\">"; echo _gettext("Format:"); // line 119 echo "</div> <div class=\"card-body\"> <select class=\"form-select\" id=\"plugins\" name=\"what\" aria-label=\""; echo _gettext("File format to export"); // line 121 echo "\"> "; // line 122 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["plugins_choice"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 123 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 123), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["option"], "is_selected", [], "any", false, false, false, 123)) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "text", [], "any", false, false, false, 123), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 125 echo " </select> "; // line 127 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["plugins_choice"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 128 echo " <input type=\"hidden\" id=\"force_file_"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 128), "html", null, true); echo "\" value=\""; echo ((twig_get_attribute($this->env, $this->source, $context["option"], "force_file", [], "any", false, false, false, 128)) ? ("true") : ("false")); echo "\"> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 130 echo " </div> </div> "; // line 133 $this->displayBlock('selection_options', $context, $blocks); // line 134 echo " "; // line 135 if ( !twig_test_empty(($context["rows"] ?? null))) { // line 136 echo " <div class=\"card mb-3\" id=\"rows\"> <div class=\"card-header\">"; echo _gettext("Rows:"); // line 137 echo "</div> <div class=\"card-body\"> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"allrows\" value=\"1\" id=\"radio_allrows_1\""; // line 140 echo ((((null === twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "allrows", [], "any", false, false, false, 140)) || (twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "allrows", [], "any", false, false, false, 140) == 1))) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"radio_allrows_1\">"; echo _gettext("Dump all rows"); // line 141 echo "</label> </div> <div class=\"form-check mb-2\"> <input class=\"form-check-input\" type=\"radio\" name=\"allrows\" value=\"0\" id=\"radio_allrows_0\""; // line 144 echo ((( !(null === twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "allrows", [], "any", false, false, false, 144)) && (twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "allrows", [], "any", false, false, false, 144) == 0))) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"radio_allrows_0\">"; echo _gettext("Dump some row(s)"); // line 145 echo "</label> </div> <ul class=\"list-group\"> <li class=\"list-group-item\"> <label class=\"form-label\" for=\"limit_to\">"; echo _gettext("Number of rows:"); // line 149 echo "</label> <input class=\"form-control\" type=\"text\" id=\"limit_to\" name=\"limit_to\" size=\"5\" value=\""; // line 151 if ( !(null === twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "limit_to", [], "any", false, false, false, 151))) { // line 152 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "limit_to", [], "any", false, false, false, 152), "html", null, true); } elseif (( !twig_test_empty(twig_get_attribute($this->env, $this->source, // line 153 ($context["rows"] ?? null), "unlim_num_rows", [], "any", false, false, false, 153)) && (twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "unlim_num_rows", [], "any", false, false, false, 153) != 0))) { // line 154 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "unlim_num_rows", [], "any", false, false, false, 154), "html", null, true); } else { // line 156 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "number_of_rows", [], "any", false, false, false, 156), "html", null, true); } // line 157 echo "\" onfocus=\"this.select()\"> </li> <li class=\"list-group-item\"> <label class=\"form-label\" for=\"limit_from\">"; echo _gettext("Row to begin at:"); // line 160 echo "</label> <input class=\"form-control\" type=\"text\" id=\"limit_from\" name=\"limit_from\" size=\"5\" value=\""; // line 161 (( !(null === twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "limit_from", [], "any", false, false, false, 161))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "limit_from", [], "any", false, false, false, 161), "html", null, true))) : (print (0))); echo "\" onfocus=\"this.select()\"> </li> </ul> </div> </div> "; } // line 167 echo " "; // line 168 if (($context["has_save_dir"] ?? null)) { // line 169 echo " <div class=\"card mb-3 d-none\" id=\"output_quick_export\"> <div class=\"card-header\">"; echo _gettext("Output:"); // line 170 echo "</div> <div class=\"card-body\"> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"quick_export_onserver\" value=\"saveit\" id=\"checkbox_quick_dump_onserver\""; // line 173 echo ((($context["export_is_checked"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"checkbox_quick_dump_onserver\"> "; // line 175 echo twig_sprintf(_gettext("Save on server in the directory <strong>%s</strong>"), twig_escape_filter($this->env, ($context["save_dir"] ?? null))); echo " </label> </div> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"quick_export_onserver_overwrite\" value=\"saveitover\" id=\"checkbox_quick_dump_onserver_overwrite\""; // line 180 echo ((($context["export_overwrite_is_checked"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"checkbox_quick_dump_onserver_overwrite\"> "; echo _gettext("Overwrite existing file(s)"); // line 183 echo " </label> </div> </div> </div> "; } // line 188 echo " <div class=\"modal fade\" id=\"renameExportModal\" tabindex=\"-1\" aria-labelledby=\"renameExportModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog modal-xl\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"renameExportModalLabel\">"; echo _gettext("Rename exported databases/tables/columns"); // line 193 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 194 echo "\"></button> </div> <div class=\"modal-body overflow-auto\"> <table class=\"table align-middle mb-3\" id=\"alias_data\"> <thead> <tr> <th colspan=\"4\"> "; echo _gettext("Defined aliases"); // line 202 echo " </th> </tr> </thead> <tbody> "; // line 207 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["aliases"] ?? null)); foreach ($context['_seq'] as $context["db"] => $context["db_data"]) { // line 208 echo " "; if ((twig_get_attribute($this->env, $this->source, $context["db_data"], "alias", [], "any", true, true, false, 208) && !(null === twig_get_attribute($this->env, $this->source, $context["db_data"], "alias", [], "any", false, false, false, 208)))) { // line 209 echo " <tr> <th>"; echo _pgettext("Alias", "Database"); // line 210 echo "</th> <td>"; // line 211 echo twig_escape_filter($this->env, $context["db"], "html", null, true); echo "</td> <td> <input name=\"aliases["; // line 213 echo twig_escape_filter($this->env, $context["db"], "html", null, true); echo "][alias]\" value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["db_data"], "alias", [], "any", false, false, false, 213), "html", null, true); echo "\" type=\"text\"> </td> <td> <button class=\"alias_remove btn btn-secondary\">"; echo _gettext("Remove"); // line 216 echo "</button> </td> </tr> "; } // line 220 echo " "; // line 221 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((((twig_get_attribute($this->env, $this->source, $context["db_data"], "tables", [], "any", true, true, false, 221) && !(null === twig_get_attribute($this->env, $this->source, $context["db_data"], "tables", [], "any", false, false, false, 221)))) ? (twig_get_attribute($this->env, $this->source, $context["db_data"], "tables", [], "any", false, false, false, 221)) : ([]))); foreach ($context['_seq'] as $context["table"] => $context["table_data"]) { // line 222 echo " "; if ((twig_get_attribute($this->env, $this->source, $context["table_data"], "alias", [], "any", true, true, false, 222) && !(null === twig_get_attribute($this->env, $this->source, $context["table_data"], "alias", [], "any", false, false, false, 222)))) { // line 223 echo " <tr> <th>"; echo _pgettext("Alias", "Table"); // line 224 echo "</th> <td>"; // line 225 echo twig_escape_filter($this->env, $context["db"], "html", null, true); echo "."; echo twig_escape_filter($this->env, $context["table"], "html", null, true); echo "</td> <td> <input name=\"aliases["; // line 227 echo twig_escape_filter($this->env, $context["db"], "html", null, true); echo "][tables]["; echo twig_escape_filter($this->env, $context["table"], "html", null, true); echo "][alias]\" value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["table_data"], "alias", [], "any", false, false, false, 227), "html", null, true); echo "\" type=\"text\"> </td> <td> <button class=\"alias_remove btn btn-secondary\">"; echo _gettext("Remove"); // line 230 echo "</button> </td> </tr> "; } // line 234 echo " "; // line 235 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((((twig_get_attribute($this->env, $this->source, $context["table_data"], "columns", [], "any", true, true, false, 235) && !(null === twig_get_attribute($this->env, $this->source, $context["table_data"], "columns", [], "any", false, false, false, 235)))) ? (twig_get_attribute($this->env, $this->source, $context["table_data"], "columns", [], "any", false, false, false, 235)) : ([]))); foreach ($context['_seq'] as $context["column"] => $context["column_name"]) { // line 236 echo " <tr> <th>"; echo _pgettext("Alias", "Column"); // line 237 echo "</th> <td>"; // line 238 echo twig_escape_filter($this->env, $context["db"], "html", null, true); echo "."; echo twig_escape_filter($this->env, $context["table"], "html", null, true); echo "."; echo twig_escape_filter($this->env, $context["column"], "html", null, true); echo "</td> <td> <input name=\"aliases["; // line 240 echo twig_escape_filter($this->env, $context["db"], "html", null, true); echo "][tables]["; echo twig_escape_filter($this->env, $context["table"], "html", null, true); echo "][colums]["; echo twig_escape_filter($this->env, $context["column"], "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, $context["column_name"], "html", null, true); echo "\" type=\"text\"> </td> <td> <button class=\"alias_remove btn btn-secondary\">"; echo _gettext("Remove"); // line 243 echo "</button> </td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['column'], $context['column_name'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 247 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['table'], $context['table_data'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 248 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['db'], $context['db_data'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 249 echo " </tbody> "; // line 252 echo " <tfoot class=\"hide\"> <tr> <th></th> <td></td> <td> <input name=\"aliases_new\" value=\"\" type=\"text\"> </td> <td> <button class=\"alias_remove btn btn-secondary\">"; echo _gettext("Remove"); // line 260 echo "</button> </td> </tr> </tfoot> </table> <table class=\"table align-middle\"> <thead> <tr> <th colspan=\"4\">"; echo _gettext("Define new aliases"); // line 269 echo "</th> </tr> </thead> <tr> <td> <label>"; echo _gettext("Select database:"); // line 274 echo "</label> </td> <td> <select id=\"db_alias_select\"> <option value=\"\"></option> </select> </td> <td> <input id=\"db_alias_name\" placeholder=\""; echo _gettext("New database name"); // line 282 echo "\" disabled=\"1\"> </td> <td> <button id=\"db_alias_button\" class=\"btn btn-secondary\" disabled=\"1\">"; echo _gettext("Add"); // line 285 echo "</button> </td> </tr> <tr> <td> <label>"; echo _gettext("Select table:"); // line 290 echo "</label> </td> <td> <select id=\"table_alias_select\"> <option value=\"\"></option> </select> </td> <td> <input id=\"table_alias_name\" placeholder=\""; echo _gettext("New table name"); // line 298 echo "\" disabled=\"1\"> </td> <td> <button id=\"table_alias_button\" class=\"btn btn-secondary\" disabled=\"1\">"; echo _gettext("Add"); // line 301 echo "</button> </td> </tr> <tr> <td> <label>"; echo _gettext("Select column:"); // line 306 echo "</label> </td> <td> <select id=\"column_alias_select\"> <option value=\"\"></option> </select> </td> <td> <input id=\"column_alias_name\" placeholder=\""; echo _gettext("New column name"); // line 314 echo "\" disabled=\"1\"> </td> <td> <button id=\"column_alias_button\" class=\"btn btn-secondary\" disabled=\"1\">"; echo _gettext("Add"); // line 317 echo "</button> </td> </tr> </table> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"saveAndCloseBtn\" data-bs-dismiss=\"modal\"> "; echo _gettext("Save & close"); // line 325 echo " </button> </div> </div> </div> </div> <div class=\"card mb-3\" id=\"output\"> <div class=\"card-header\">"; echo _gettext("Output:"); // line 332 echo "</div> <ul class=\"list-group list-group-flush\"> <li class=\"list-group-item\"> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" id=\"btn_alias_config\""; // line 336 echo ((($context["has_aliases"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"btn_alias_config\">"; echo _gettext("Rename exported databases/tables/columns"); // line 337 echo "</label> </div> </li> "; // line 341 if ((($context["export_type"] ?? null) != "server")) { // line 342 echo " <li class=\"list-group-item\"> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"lock_tables\" value=\"something\" id=\"checkbox_lock_tables\""; // line 345 echo (((( !($context["repopulate"] ?? null) && ($context["is_checked_lock_tables"] ?? null)) || ($context["lock_tables"] ?? null))) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"checkbox_lock_tables\"> "; // line 347 echo twig_sprintf(_gettext("Use %s statement"), "<code>LOCK TABLES</code>"); echo " </label> </div> </li> "; } // line 352 echo " <li class=\"list-group-item\"> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" id=\"radio_view_as_text\" name=\"output_format\" value=\"astext\""; // line 355 echo (((($context["repopulate"] ?? null) || (($context["export_asfile"] ?? null) == false))) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"radio_view_as_text\">"; echo _gettext("View output as text"); // line 356 echo "</label> </div> <div class=\"form-check mb-2\"> <input class=\"form-check-input\" type=\"radio\" name=\"output_format\" value=\"sendit\" id=\"radio_dump_asfile\""; // line 359 echo ((( !($context["repopulate"] ?? null) && ($context["is_checked_asfile"] ?? null))) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"radio_dump_asfile\">"; echo _gettext("Save output to a file"); // line 360 echo "</label> </div> <div class=\"hstack gap-3\"> <div class=\"vr\"></div> <ul class=\"list-group\" id=\"ul_save_asfile\"> "; // line 365 if (($context["has_save_dir"] ?? null)) { // line 366 echo " <li class=\"list-group-item\"> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"onserver\" value=\"saveit\" id=\"checkbox_dump_onserver\""; // line 368 echo ((($context["is_checked_export"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"checkbox_dump_onserver\"> "; // line 370 echo twig_sprintf(_gettext("Save on server in the directory <strong>%s</strong>"), twig_escape_filter($this->env, ($context["save_dir"] ?? null))); echo " </label> </div> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"onserver_overwrite\" value=\"saveitover\" id=\"checkbox_dump_onserver_overwrite\""; // line 375 echo ((($context["is_checked_export_overwrite"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"checkbox_dump_onserver_overwrite\"> "; echo _gettext("Overwrite existing file(s)"); // line 378 echo " </label> </div> </li> "; } // line 382 echo " <li class=\"list-group-item\"> <div class=\"row g-3 align-items-center\"> <div class=\"col-auto\"> <label for=\"filename_template\" class=\"col-form-label\"> "; echo _gettext("File name template:"); // line 388 echo " "; echo PhpMyAdmin\Html\Generator::showHint(twig_sprintf(_gettext("This value is interpreted using the 'strftime' function, so you can use time formatting strings. Additionally the following transformations will happen: %s Other text will be kept as is. See the FAQ 6.27 for details."), ($context["filename_hint"] ?? null))); echo " </label> </div> <div class=\"col-auto\"> <input type=\"text\" class=\"form-control\" name=\"filename_template\" id=\"filename_template\" value=\""; // line 392 echo twig_escape_filter($this->env, ($context["filename_template"] ?? null), "html", null, true); echo "\"> </div> <div class=\"col-auto\"> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"remember_template\" id=\"checkbox_remember_template\""; // line 396 echo ((($context["is_checked_remember_file_template"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"checkbox_remember_template\"> "; echo _gettext("Use this for future exports"); // line 399 echo " </label> </div> </div> </div> </li> "; // line 405 if (($context["is_encoding_supported"] ?? null)) { // line 406 echo " <li class=\"list-group-item\"> <div class=\"row\"> <div class=\"col-auto\"> <label for=\"select_charset\" class=\"col-form-label\">"; echo _gettext("Character set of the file:"); // line 409 echo "</label> </div> <div class=\"col-auto\"> <select class=\"form-select\" id=\"select_charset\" name=\"charset\"> "; // line 413 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["encodings"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 414 echo " <option value=\""; echo twig_escape_filter($this->env, $context["charset"], "html", null, true); echo "\""; // line 415 echo ((((twig_test_empty(($context["export_charset"] ?? null)) && ($context["charset"] == "utf-8")) || ($context["charset"] == ($context["export_charset"] ?? null)))) ? (" selected") : ("")); echo ">"; // line 416 echo twig_escape_filter($this->env, $context["charset"], "html", null, true); // line 417 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 419 echo " </select> </div> </div> </li> "; } // line 424 echo " "; // line 425 if ((($context["has_zip"] ?? null) || ($context["has_gzip"] ?? null))) { // line 426 echo " <li class=\"list-group-item\"> <div class=\"row\"> <div class=\"col-auto\"> <label for=\"compression\" class=\"col-form-label\">"; echo _gettext("Compression:"); // line 429 echo "</label> </div> <div class=\"col-auto\"> <select class=\"form-select\" id=\"compression\" name=\"compression\"> <option value=\"none\">"; echo _gettext("None"); // line 433 echo "</option> "; // line 434 if (($context["has_zip"] ?? null)) { // line 435 echo " <option value=\"zip\""; // line 436 echo (((($context["selected_compression"] ?? null) == "zip")) ? (" selected") : ("")); echo "> "; echo _gettext("zipped"); // line 438 echo " </option> "; } // line 440 echo " "; if (($context["has_gzip"] ?? null)) { // line 441 echo " <option value=\"gzip\""; // line 442 echo (((($context["selected_compression"] ?? null) == "gzip")) ? (" selected") : ("")); echo "> "; echo _gettext("gzipped"); // line 444 echo " </option> "; } // line 446 echo " </select> </div> </div> </li> "; } else { // line 451 echo " <input type=\"hidden\" name=\"compression\" value=\""; echo twig_escape_filter($this->env, ($context["selected_compression"] ?? null), "html", null, true); echo "\"> "; } // line 453 echo " "; // line 454 if (((($context["export_type"] ?? null) == "server") || (($context["export_type"] ?? null) == "database"))) { // line 455 echo " <li class=\"list-group-item\"> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" id=\"checkbox_as_separate_files\" name=\"as_separate_files\" value=\""; // line 457 echo twig_escape_filter($this->env, ($context["export_type"] ?? null), "html", null, true); echo "\""; // line 458 echo ((($context["is_checked_as_separate_files"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"checkbox_as_separate_files\"> "; // line 460 if ((($context["export_type"] ?? null) == "server")) { // line 461 echo " "; echo _gettext("Export databases as separate files"); // line 462 echo " "; } elseif ((($context["export_type"] ?? null) == "database")) { // line 463 echo " "; echo _gettext("Export tables as separate files"); // line 464 echo " "; } // line 465 echo " </label> </div> </li> "; } // line 469 echo " </ul> </div> </li> <li class=\"list-group-item\"> <label for=\"maxsize\" class=\"form-label\">"; echo _gettext("Skip tables larger than:"); // line 474 echo "</label> <input class=\"form-control\" type=\"number\" id=\"maxsize\" name=\"maxsize\" aria-describedby=\"maxsizeHelp\"> <div id=\"maxsizeHelp\" class=\"form-text\">"; echo _gettext("The size is measured in MiB."); // line 476 echo "</div> </li> </ul> </div> <div class=\"card mb-3\" id=\"format_specific_opts\"> <div class=\"card-header\">"; echo _gettext("Format-specific options:"); // line 482 echo "</div> <div class=\"card-body\"> "; // line 484 echo ($context["options"] ?? null); echo " </div> </div> "; // line 488 if (($context["can_convert_kanji"] ?? null)) { // line 489 echo " "; // line 490 echo " <div class=\"card mb-3\" id=\"kanji_encoding\"> <div class=\"card-header\">"; echo _gettext("Encoding Conversion:"); // line 491 echo "</div> <div class=\"card-body\"> "; // line 493 $this->loadTemplate("encoding/kanji_encoding_form.twig", "export.twig", 493)->display($context); // line 494 echo " </div> </div> "; } // line 497 echo " <div id=\"submit\"> <input id=\"buttonGo\" class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Export"); // line 499 echo "\" data-exec-time-limit=\""; echo twig_escape_filter($this->env, ($context["exec_time_limit"] ?? null), "html", null, true); echo "\"> </div> </form> </div> "; } // line 4 public function block_title($context, array $blocks = []) { $macros = $this->macros; } // line 10 public function block_message($context, array $blocks = []) { $macros = $this->macros; } // line 133 public function block_selection_options($context, array $blocks = []) { $macros = $this->macros; } public function getTemplateName() { return "export.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 1074 => 133, 1068 => 10, 1062 => 4, 1052 => 499, 1047 => 497, 1042 => 494, 1040 => 493, 1036 => 491, 1032 => 490, 1030 => 489, 1028 => 488, 1021 => 484, 1017 => 482, 1008 => 476, 1003 => 474, 995 => 469, 989 => 465, 986 => 464, 983 => 463, 980 => 462, 977 => 461, 975 => 460, 970 => 458, 967 => 457, 963 => 455, 961 => 454, 958 => 453, 952 => 451, 945 => 446, 941 => 444, 936 => 442, 934 => 441, 931 => 440, 927 => 438, 922 => 436, 920 => 435, 918 => 434, 915 => 433, 908 => 429, 902 => 426, 900 => 425, 897 => 424, 890 => 419, 883 => 417, 881 => 416, 878 => 415, 874 => 414, 870 => 413, 864 => 409, 858 => 406, 856 => 405, 848 => 399, 842 => 396, 835 => 392, 827 => 388, 819 => 382, 813 => 378, 807 => 375, 800 => 370, 795 => 368, 791 => 366, 789 => 365, 782 => 360, 777 => 359, 772 => 356, 767 => 355, 762 => 352, 754 => 347, 749 => 345, 745 => 342, 743 => 341, 737 => 337, 732 => 336, 726 => 332, 716 => 325, 706 => 317, 700 => 314, 689 => 306, 681 => 301, 675 => 298, 664 => 290, 656 => 285, 650 => 282, 639 => 274, 631 => 269, 619 => 260, 608 => 252, 604 => 249, 598 => 248, 592 => 247, 583 => 243, 570 => 240, 561 => 238, 558 => 237, 554 => 236, 550 => 235, 547 => 234, 541 => 230, 530 => 227, 523 => 225, 520 => 224, 516 => 223, 513 => 222, 509 => 221, 506 => 220, 500 => 216, 491 => 213, 486 => 211, 483 => 210, 479 => 209, 476 => 208, 472 => 207, 465 => 202, 455 => 194, 451 => 193, 443 => 188, 436 => 183, 430 => 180, 423 => 175, 418 => 173, 413 => 170, 409 => 169, 407 => 168, 404 => 167, 395 => 161, 392 => 160, 386 => 157, 383 => 156, 380 => 154, 378 => 153, 376 => 152, 374 => 151, 371 => 149, 364 => 145, 359 => 144, 354 => 141, 349 => 140, 344 => 137, 340 => 136, 338 => 135, 335 => 134, 333 => 133, 328 => 130, 317 => 128, 313 => 127, 309 => 125, 296 => 123, 292 => 122, 289 => 121, 284 => 119, 279 => 117, 272 => 112, 267 => 111, 262 => 108, 257 => 107, 252 => 104, 248 => 103, 246 => 102, 241 => 100, 237 => 99, 234 => 98, 226 => 92, 217 => 87, 210 => 82, 206 => 81, 192 => 72, 187 => 68, 184 => 67, 180 => 64, 178 => 63, 175 => 62, 162 => 54, 154 => 51, 149 => 48, 140 => 45, 133 => 44, 129 => 43, 126 => 42, 119 => 38, 113 => 35, 102 => 27, 96 => 24, 90 => 21, 84 => 18, 78 => 16, 74 => 14, 70 => 13, 68 => 12, 65 => 11, 63 => 10, 58 => 8, 54 => 7, 50 => 5, 48 => 4, 44 => 3, 40 => 1,); } public function getSourceContext() { return new Source("", "export.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/export.twig"); } } twig/e6/e68c8900aab8ddab4b98a979d6fae0b3.php 0000644 00000004146 15114741573 0013447 0 ustar 00 <?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/null_display.twig */ class __TwigTemplate_8bbd9d67be1948854830306fd6e2a6bf 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["data_decimals"] ?? null), "html", null, true); yield "\" data-type=\""; // line 2 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["data_type"] ?? null), "html", null, true); yield "\" "; // line 4 yield " class=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["classes"] ?? null), "html", null, true); yield " null\"> <em>NULL</em> </td> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "display/results/null_display.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 47 => 4, 43 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "display/results/null_display.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/null_display.twig"); } } twig/e6/e62a42e4f21122d06083372c7c5a427b.php 0000644 00000004465 15114741573 0012677 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* modals/enum_set_editor.twig */ class __TwigTemplate_a5605413e1aef0add17416f41b87d8b7 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 echo "<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\">"; echo _gettext("ENUM/SET editor"); // line 5 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 6 echo "\"></button> </div> <div class=\"modal-body\"></div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"enumEditorGoButton\" data-bs-dismiss=\"modal\">"; echo _gettext("Go"); // line 10 echo "</button> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 11 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "modals/enum_set_editor.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 59 => 11, 55 => 10, 48 => 6, 44 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "modals/enum_set_editor.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/enum_set_editor.twig"); } } twig/d0/d0353e4f7b771dca90b2e96d53db05e6.php 0000644 00000127350 15114741573 0013212 0 ustar 00 <?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; /* server/databases/index.twig */ class __TwigTemplate_68d55a1b36040e59feb449cd7d11f1f3 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=\"container-fluid my-3\"> <h2> "; // line 3 yield PhpMyAdmin\Html\Generator::getIcon("s_db", ((($context["has_statistics"] ?? null)) ? (_gettext("Databases statistics")) : (_gettext("Databases")))); yield " </h2> "; // line 6 if (($context["is_create_database_shown"] ?? null)) { // line 7 yield " <div class=\"card\"> <div class=\"card-header\"> "; // line 9 yield PhpMyAdmin\Html\Generator::getIcon("b_newdb", _gettext("Create database")); yield " "; // line 10 yield PhpMyAdmin\Html\MySQLDocumentation::show("CREATE_DATABASE"); yield " </div> <div class=\"card-body\"> "; // line 13 if (($context["has_create_database_privileges"] ?? null)) { // line 14 yield " <form method=\"post\" action=\""; yield PhpMyAdmin\Url::getFromRoute("/server/databases/create"); yield "\" id=\"create_database_form\" class=\"ajax row row-cols-md-auto g-3 align-items-center\"> "; // line 15 yield PhpMyAdmin\Url::getHiddenInputs("", ""); yield " <input type=\"hidden\" name=\"reload\" value=\"1\"> "; // line 17 if (($context["has_statistics"] ?? null)) { // line 18 yield " <input type=\"hidden\" name=\"statistics\" value=\"1\"> "; } // line 20 yield " <div class=\"col-12\"> <input autocomplete=\"off\" type=\"text\" name=\"new_db\" maxlength=\"64\" class=\"form-control\" value=\""; // line 23 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["database_to_create"] ?? null), "html", null, true); yield "\" id=\"text_create_db\" placeholder=\""; yield _gettext("Database name"); // line 24 yield "\" aria-label=\""; yield _gettext("Database name"); yield "\" required> </div> "; // line 27 if ( !Twig\Extension\CoreExtension::testEmpty(($context["charsets"] ?? null))) { // line 28 yield " <div class=\"col-12\"> <select lang=\"en\" dir=\"ltr\" name=\"db_collation\" class=\"form-select\" aria-label=\""; yield _gettext("Collation"); // line 29 yield "\"> <option value=\"\">"; yield _gettext("Collation"); // line 30 yield "</option> <option value=\"\"></option> "; // line 32 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["charsets"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 33 yield " <optgroup label=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 33), "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, 33), "html", null, true); yield "\"> "; // line 34 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 34)); foreach ($context['_seq'] as $context["_key"] => $context["collation"]) { // line 35 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 35), "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, 35), "html", null, true); yield "\""; yield ((CoreExtension::getAttribute($this->env, $this->source, $context["collation"], "is_selected", [], "any", false, false, false, 35)) ? (" selected") : ("")); yield ">"; // line 36 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 36), "html", null, true); // line 37 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 39 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 41 yield " </select> </div> "; } // line 44 yield " <div class=\"col-12\"> <input id=\"buttonGo\" class=\"btn btn-primary\" type=\"submit\" value=\""; yield _gettext("Create"); // line 46 yield "\"> </div> </form> "; } else { // line 50 yield " <span class=\"text-danger\">"; yield PhpMyAdmin\Html\Generator::getIcon("s_error", _gettext("No privileges to create databases")); yield "</span> "; } // line 52 yield " </div> </div> "; } // line 55 yield " "; // line 56 if ((($context["database_count"] ?? null) > 0)) { // line 57 yield " <div class=\"d-flex flex-wrap my-3\"> "; // line 58 if (($context["is_drop_allowed"] ?? null)) { // line 59 yield " <div> <div class=\"input-group\"> <div class=\"input-group-text\"> <div class=\"form-check mb-0\"> <input class=\"form-check-input checkall_box\" type=\"checkbox\" value=\"\" id=\"checkAllCheckbox\" form=\"dbStatsForm\"> <label class=\"form-check-label\" for=\"checkAllCheckbox\">"; yield _gettext("Check all"); // line 64 yield "</label> </div> </div> <button class=\"btn btn-outline-secondary\" id=\"bulkActionDropButton\" type=\"submit\" name=\"submit_mult\" value=\"Drop\" form=\"dbStatsForm\" title=\""; yield _gettext("Drop"); // line 67 yield "\"> "; // line 68 yield PhpMyAdmin\Html\Generator::getIcon("db_drop", _gettext("Drop")); yield " </button> </div> </div> "; } // line 73 yield " <div class=\"ms-auto\"> <div class=\"input-group\"> <span class=\"input-group-text\">"; // line 76 yield PhpMyAdmin\Html\Generator::getImage("b_search", _gettext("Search")); yield "</span> <input class=\"form-control\" name=\"filterText\" type=\"text\" id=\"filterText\" value=\"\" placeholder=\""; yield _gettext("Search"); // line 77 yield "\" aria-label=\""; yield _gettext("Search"); yield "\"> </div> </div> </div> "; // line 82 yield PhpMyAdmin\Html\Generator::getListNavigator( // line 83 ($context["database_count"] ?? null), // line 84 ($context["pos"] ?? null), // line 85 ($context["url_params"] ?? null), PhpMyAdmin\Url::getFromRoute("/server/databases"), "frame_content", // line 88 ($context["max_db_list"] ?? null)); // line 89 yield " <form class=\"ajax\" action=\""; // line 91 yield PhpMyAdmin\Url::getFromRoute("/server/databases"); yield "\" method=\"post\" name=\"dbStatsForm\" id=\"dbStatsForm\"> "; // line 92 yield PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null)); yield " <div class=\"table-responsive\"> <table class=\"table table-striped table-hover w-auto\"> <thead> <tr> "; // line 97 if (($context["is_drop_allowed"] ?? null)) { // line 98 yield " <th></th> "; } // line 100 yield " <th> <a href=\""; // line 101 yield PhpMyAdmin\Url::getFromRoute("/server/databases", Twig\Extension\CoreExtension::merge(($context["url_params"] ?? null), ["sort_by" => "SCHEMA_NAME", "sort_order" => ((((CoreExtension::getAttribute($this->env, $this->source, // line 103 ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 103) == "SCHEMA_NAME") && (CoreExtension::getAttribute($this->env, $this->source, // line 104 ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 104) == "asc"))) ? ("desc") : ("asc"))])); // line 105 yield "\"> "; yield _gettext("Database"); // line 107 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 107) == "SCHEMA_NAME")) { // line 108 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 108) == "asc")) { // line 109 yield " "; yield PhpMyAdmin\Html\Generator::getImage("s_asc", _gettext("Ascending")); yield " "; } else { // line 111 yield " "; yield PhpMyAdmin\Html\Generator::getImage("s_desc", _gettext("Descending")); yield " "; } // line 113 yield " "; } // line 114 yield " </a> </th> <th> <a href=\""; // line 118 yield PhpMyAdmin\Url::getFromRoute("/server/databases", Twig\Extension\CoreExtension::merge(($context["url_params"] ?? null), ["sort_by" => "DEFAULT_COLLATION_NAME", "sort_order" => ((((CoreExtension::getAttribute($this->env, $this->source, // line 120 ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 120) == "DEFAULT_COLLATION_NAME") && (CoreExtension::getAttribute($this->env, $this->source, // line 121 ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 121) == "asc"))) ? ("desc") : ("asc"))])); // line 122 yield "\"> "; yield _gettext("Collation"); // line 124 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 124) == "DEFAULT_COLLATION_NAME")) { // line 125 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 125) == "asc")) { // line 126 yield " "; yield PhpMyAdmin\Html\Generator::getImage("s_asc", _gettext("Ascending")); yield " "; } else { // line 128 yield " "; yield PhpMyAdmin\Html\Generator::getImage("s_desc", _gettext("Descending")); yield " "; } // line 130 yield " "; } // line 131 yield " </a> </th> "; // line 134 if (($context["has_statistics"] ?? null)) { // line 135 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["header_statistics"] ?? null)); foreach ($context['_seq'] as $context["name"] => $context["statistic"]) { // line 136 yield " <th"; yield (((CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "format", [], "any", false, false, false, 136) == "byte")) ? (" colspan=\"2\"") : ("")); yield "> <a href=\""; // line 137 yield PhpMyAdmin\Url::getFromRoute("/server/databases", Twig\Extension\CoreExtension::merge(($context["url_params"] ?? null), ["sort_by" => // line 138 $context["name"], "sort_order" => ((((CoreExtension::getAttribute($this->env, $this->source, // line 139 ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 139) == $context["name"]) && (CoreExtension::getAttribute($this->env, $this->source, // line 140 ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 140) == "asc"))) ? ("desc") : ("asc"))])); // line 141 yield "\"> "; // line 142 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "title", [], "any", false, false, false, 142), "html", null, true); yield " "; // line 143 if ((CoreExtension::getAttribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 143) == $context["name"])) { // line 144 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 144) == "asc")) { // line 145 yield " "; yield PhpMyAdmin\Html\Generator::getImage("s_asc", _gettext("Ascending")); yield " "; } else { // line 147 yield " "; yield PhpMyAdmin\Html\Generator::getImage("s_desc", _gettext("Descending")); yield " "; } // line 149 yield " "; } // line 150 yield " </a> </th> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['name'], $context['statistic'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 153 yield " "; } // line 154 yield " "; // line 155 if (($context["has_primary_replication"] ?? null)) { // line 156 yield " <th>"; yield _gettext("Primary replication"); yield "</th> "; } // line 158 yield " "; // line 159 if (($context["has_replica_replication"] ?? null)) { // line 160 yield " <th>"; yield _gettext("Replica replication"); yield "</th> "; } // line 162 yield " <th>"; yield _gettext("Action"); // line 163 yield "</th> </tr> </thead> <tbody> "; // line 168 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["databases"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["database"]) { // line 169 yield " <tr class=\"db-row"; yield (((CoreExtension::getAttribute($this->env, $this->source, $context["database"], "is_system_schema", [], "any", false, false, false, 169) || CoreExtension::getAttribute($this->env, $this->source, $context["database"], "is_pmadb", [], "any", false, false, false, 169))) ? (" noclick") : ("")); yield "\" data-filter-row=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::upper($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 169)), "html", null, true); yield "\"> "; // line 170 if (($context["is_drop_allowed"] ?? null)) { // line 171 yield " <td class=\"tool\"> <input type=\"checkbox\" name=\"selected_dbs[]\" class=\"checkall\" title=\""; // line 173 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 173), "html", null, true); yield "\" value=\""; // line 174 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 174), "html", null, true); yield "\""; // line 175 yield (((CoreExtension::getAttribute($this->env, $this->source, $context["database"], "is_system_schema", [], "any", false, false, false, 175) || CoreExtension::getAttribute($this->env, $this->source, $context["database"], "is_pmadb", [], "any", false, false, false, 175))) ? (" disabled") : ("")); yield "> </td> "; } // line 178 yield " <td class=\"name\"> <a href=\""; // line 180 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["database"], "url", [], "any", false, false, false, 180), "html", null, true); yield "\" title=\""; // line 181 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf(_gettext("Jump to database '%s'"), CoreExtension::getAttribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 181)), "html", null, true); yield "\"> "; // line 182 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 182), "html", null, true); yield " </a> </td> <td class=\"value\"> <dfn title=\""; // line 187 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["database"], "collation", [], "any", false, false, false, 187), "description", [], "any", false, false, false, 187), "html", null, true); yield "\"> "; // line 188 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["database"], "collation", [], "any", false, false, false, 188), "name", [], "any", false, false, false, 188), "html", null, true); yield " </dfn> </td> "; // line 192 if (($context["has_statistics"] ?? null)) { // line 193 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["database"], "statistics", [], "any", false, false, false, 193)); foreach ($context['_seq'] as $context["_key"] => $context["statistic"]) { // line 194 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "format", [], "any", false, false, false, 194) === "byte")) { // line 195 yield " "; $context["value"] = PhpMyAdmin\Util::formatByteDown(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 195), 3, 1); // line 196 yield " <td class=\"value\"> <data value=\""; // line 197 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 197), "html", null, true); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 197), "html", null, true); yield "\"> "; // line 198 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_0 = ($context["value"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true); yield " </data> </td> <td class=\"unit\">"; // line 201 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_1 = ($context["value"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null), "html", null, true); yield "</td> "; } else { // line 203 yield " <td class=\"value\"> <data value=\""; // line 204 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 204), "html", null, true); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 204), "html", null, true); yield "\"> "; // line 205 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::formatNumber(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 205), 0), "html", null, true); yield " </data> </td> "; } // line 209 yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['statistic'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 210 yield " "; } // line 211 yield " "; // line 212 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 212), "primary", [], "any", false, false, false, 212), "status", [], "any", false, false, false, 212)) { // line 213 yield " "; if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 213), "primary", [], "any", false, false, false, 213), "is_replicated", [], "any", false, false, false, 213)) { // line 214 yield " <td class=\"tool text-center\"> "; // line 215 yield PhpMyAdmin\Html\Generator::getIcon("s_success", _gettext("Replicated")); yield " </td> "; } else { // line 218 yield " <td class=\"tool text-center\"> "; // line 219 yield PhpMyAdmin\Html\Generator::getIcon("s_cancel", _gettext("Not replicated")); yield " </td> "; } // line 222 yield " "; } // line 223 yield " "; // line 224 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 224), "replica", [], "any", false, false, false, 224), "status", [], "any", false, false, false, 224)) { // line 225 yield " "; if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 225), "replica", [], "any", false, false, false, 225), "is_replicated", [], "any", false, false, false, 225)) { // line 226 yield " <td class=\"tool text-center\"> "; // line 227 yield PhpMyAdmin\Html\Generator::getIcon("s_success", _gettext("Replicated")); yield " </td> "; } else { // line 230 yield " <td class=\"tool text-center\"> "; // line 231 yield PhpMyAdmin\Html\Generator::getIcon("s_cancel", _gettext("Not replicated")); yield " </td> "; } // line 234 yield " "; } // line 235 yield " <td class=\"tool\"> <a class=\"server_databases\" data=\""; // line 238 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 238), "html", null, true); yield "\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/server/privileges", ["db" => CoreExtension::getAttribute($this->env, $this->source, // line 239 $context["database"], "name", [], "any", false, false, false, 239), "checkprivsdb" => CoreExtension::getAttribute($this->env, $this->source, // line 240 $context["database"], "name", [], "any", false, false, false, 240)]); // line 241 yield "\" title=\""; // line 242 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf(_gettext("Check privileges for database \"%s\"."), CoreExtension::getAttribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 242)), "html", null, true); yield "\"> "; // line 243 yield PhpMyAdmin\Html\Generator::getIcon("s_rights", _gettext("Check privileges")); yield " </a> </td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['database'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 248 yield " </tbody> <tfoot> <tr> <th colspan=\""; // line 252 yield ((($context["is_drop_allowed"] ?? null)) ? ("3") : ("2")); yield "\"> "; yield _gettext("Total:"); // line 254 yield " <span id=\"filter-rows-count\">"; // line 255 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["database_count"] ?? null), "html", null, true); // line 256 yield "</span> </th> "; // line 259 if (($context["has_statistics"] ?? null)) { // line 260 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["total_statistics"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["statistic"]) { // line 261 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "format", [], "any", false, false, false, 261) === "byte")) { // line 262 yield " "; $context["value"] = PhpMyAdmin\Util::formatByteDown(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 262), 3, 1); // line 263 yield " <th class=\"value\"> <data value=\""; // line 264 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 264), "html", null, true); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 264), "html", null, true); yield "\"> "; // line 265 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_2 = ($context["value"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[0] ?? null) : null), "html", null, true); yield " </data> </th> <th class=\"unit\">"; // line 268 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_3 = ($context["value"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[1] ?? null) : null), "html", null, true); yield "</th> "; } else { // line 270 yield " <th class=\"value\"> <data value=\""; // line 271 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 271), "html", null, true); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 271), "html", null, true); yield "\"> "; // line 272 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::formatNumber(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 272), 0), "html", null, true); yield " </data> </th> "; } // line 276 yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['statistic'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 277 yield " "; } // line 278 yield " "; // line 279 if (($context["has_primary_replication"] ?? null)) { // line 280 yield " <th></th> "; } // line 282 yield " "; // line 283 if (($context["has_replica_replication"] ?? null)) { // line 284 yield " <th></th> "; } // line 286 yield " <th></th> </tr> </tfoot> </table> </div> </form> "; // line 294 if ( !($context["has_statistics"] ?? null)) { // line 295 yield " <div class=\"card\"> <div class=\"card-body\"> <div class=\"alert alert-info\" role=\"alert\"> "; // line 298 yield PhpMyAdmin\Html\Generator::getIcon("s_notice", _gettext("Note: Enabling the database statistics here might cause heavy traffic between the web server and the MySQL server.")); yield " </div> <a class=\"card-link\" href=\""; // line 300 yield PhpMyAdmin\Url::getFromRoute("/server/databases"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["statistics" => "1"], "", false); yield "\" title=\""; yield _gettext("Enable statistics"); yield "\"> "; yield _gettext("Enable statistics"); // line 302 yield " </a> </div> </div> "; } // line 306 yield " "; } else { // line 307 yield " <div class=\"alert alert-primary my-3\" role=\"alert\"> "; // line 308 yield PhpMyAdmin\Html\Generator::getIcon("s_notice", _gettext("No databases")); yield " </div> "; } // line 311 yield "</div> "; // line 313 if (($context["is_drop_allowed"] ?? null)) { // line 314 yield " <div class=\"modal fade\" id=\"dropDatabaseModal\" tabindex=\"-1\" aria-labelledby=\"dropDatabaseModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog modal-dialog-scrollable\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"dropDatabaseModalLabel\">"; yield _gettext("Confirm"); // line 318 yield "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Cancel"); // line 319 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("Cancel"); // line 323 yield "</button> <button type=\"button\" class=\"btn btn-danger\" id=\"dropDatabaseModalDropButton\">"; yield _gettext("Drop"); // line 324 yield "</button> </div> </div> </div> </div> "; } return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "server/databases/index.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 793 => 324, 789 => 323, 782 => 319, 778 => 318, 771 => 314, 769 => 313, 765 => 311, 759 => 308, 756 => 307, 753 => 306, 747 => 302, 738 => 300, 733 => 298, 728 => 295, 726 => 294, 716 => 286, 712 => 284, 710 => 283, 707 => 282, 703 => 280, 701 => 279, 698 => 278, 695 => 277, 689 => 276, 682 => 272, 676 => 271, 673 => 270, 668 => 268, 662 => 265, 656 => 264, 653 => 263, 650 => 262, 647 => 261, 642 => 260, 640 => 259, 635 => 256, 633 => 255, 631 => 254, 626 => 252, 620 => 248, 609 => 243, 605 => 242, 603 => 241, 601 => 240, 600 => 239, 597 => 238, 593 => 235, 590 => 234, 584 => 231, 581 => 230, 575 => 227, 572 => 226, 569 => 225, 567 => 224, 564 => 223, 561 => 222, 555 => 219, 552 => 218, 546 => 215, 543 => 214, 540 => 213, 538 => 212, 535 => 211, 532 => 210, 526 => 209, 519 => 205, 513 => 204, 510 => 203, 505 => 201, 499 => 198, 493 => 197, 490 => 196, 487 => 195, 484 => 194, 479 => 193, 477 => 192, 470 => 188, 466 => 187, 458 => 182, 454 => 181, 451 => 180, 447 => 178, 441 => 175, 438 => 174, 435 => 173, 432 => 171, 430 => 170, 423 => 169, 419 => 168, 412 => 163, 408 => 162, 402 => 160, 400 => 159, 397 => 158, 391 => 156, 389 => 155, 386 => 154, 383 => 153, 375 => 150, 372 => 149, 366 => 147, 360 => 145, 357 => 144, 355 => 143, 351 => 142, 348 => 141, 346 => 140, 345 => 139, 344 => 138, 343 => 137, 338 => 136, 333 => 135, 331 => 134, 326 => 131, 323 => 130, 317 => 128, 311 => 126, 308 => 125, 305 => 124, 301 => 122, 299 => 121, 298 => 120, 297 => 118, 291 => 114, 288 => 113, 282 => 111, 276 => 109, 273 => 108, 270 => 107, 266 => 105, 264 => 104, 263 => 103, 262 => 101, 259 => 100, 255 => 98, 253 => 97, 245 => 92, 241 => 91, 237 => 89, 235 => 88, 234 => 85, 233 => 84, 232 => 83, 231 => 82, 222 => 77, 217 => 76, 212 => 73, 204 => 68, 201 => 67, 195 => 64, 187 => 59, 185 => 58, 182 => 57, 180 => 56, 177 => 55, 172 => 52, 166 => 50, 160 => 46, 155 => 44, 150 => 41, 143 => 39, 136 => 37, 134 => 36, 126 => 35, 122 => 34, 115 => 33, 111 => 32, 107 => 30, 103 => 29, 99 => 28, 97 => 27, 90 => 24, 86 => 23, 82 => 20, 78 => 18, 76 => 17, 71 => 15, 66 => 14, 64 => 13, 58 => 10, 54 => 9, 50 => 7, 48 => 6, 42 => 3, 38 => 1,); } public function getSourceContext() { return new Source("", "server/databases/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/server/databases/index.twig"); } } twig/41/41c4a65c9c6eacc805f1733a23ab7f99.php 0000644 00000003626 15114741573 0013133 0 ustar 00 <?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_b92b2fef369f16c23bbb68c9129402dd 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/quick_warp.twig"); } } twig/e4/e4e58923b79a7bcf6b144be544928dd2.php 0000644 00000120445 15114741573 0013154 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/insert/column_row.twig */ class __TwigTemplate_5d987e0c3be8e12755f389a9d36d94b8 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 echo "<tr class=\"noclick\"> <td class=\"text-center\"> "; // line 3 echo twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_title", [], "any", false, false, false, 3); echo " <input type=\"hidden\" name=\"fields_name[multi_edit]["; // line 4 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 4), "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field", [], "any", false, false, false, 4), "html", null, true); echo "\"> </td> "; // line 7 if (($context["show_field_types_in_data_edit_view"] ?? null)) { // line 8 echo " <td class=\"text-center"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "wrap", [], "any", false, false, false, 8), "html", null, true); echo "\"> <span class=\"column_type\" dir=\"ltr\">"; // line 9 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 9), "html", null, true); echo "</span> </td> "; } // line 12 echo " "; // line 13 if (($context["show_function_fields"] ?? null)) { // line 14 echo " "; if (($context["is_column_binary"] ?? null)) { // line 15 echo " <td class=\"text-center\">"; echo _gettext("Binary"); echo "</td> "; } elseif ((twig_in_filter("enum", twig_get_attribute($this->env, $this->source, // line 16 ($context["column"] ?? null), "True_Type", [], "any", false, false, false, 16)) || twig_in_filter("set", twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "True_Type", [], "any", false, false, false, 16)))) { // line 17 echo " <td class=\"text-center\">--</td> "; } else { // line 19 echo " <td> <select name=\"funcs[multi_edit]["; // line 20 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 20), "html", null, true); echo "]\" onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 20)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 20), "html", null, true); echo "')\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_1\"> "; // line 21 echo ($context["function_options"] ?? null); echo " </select> </td> "; } // line 25 echo " "; } // line 26 echo " <td> "; // line 28 if (((twig_upper_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Null", [], "any", false, false, false, 28)) == "YES") && !($context["read_only"] ?? null))) { // line 29 echo " <input type=\"hidden\" name=\"fields_null_prev[multi_edit]["; echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 29), "html", null, true); echo "]\""; echo (((($context["real_null_value"] ?? null) && !twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "first_timestamp", [], "any", false, false, false, 29))) ? (" value=\"on\"") : ("")); echo "> <input type=\"checkbox\" class=\"checkbox_null\" name=\"fields_null[multi_edit]["; // line 30 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 30), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_2\" aria-label=\""; echo _gettext("Use the NULL value for this column."); echo "\""; echo ((($context["real_null_value"] ?? null)) ? (" checked") : ("")); echo "> <input type=\"hidden\" class=\"nullify_code\" name=\"nullify_code[multi_edit]["; // line 31 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 31), "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, ($context["nullify_code"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" class=\"hashed_field\" name=\"hashed_field[multi_edit]["; // line 32 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 32), "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 32), "html", null, true); echo "\"> <input type=\"hidden\" class=\"multi_edit\" name=\"multi_edit[multi_edit]["; // line 33 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 33), "html", null, true); echo "]\" value=\""; echo PhpMyAdmin\Sanitize::escapeJsString((("[multi_edit][" . ($context["row_id"] ?? null)) . "]")); echo "\"> "; } // line 35 echo " </td> <td data-type=\""; // line 37 echo twig_escape_filter($this->env, ($context["type"] ?? null), "html", null, true); echo "\" data-decimals=\""; echo twig_escape_filter($this->env, ($context["decimals"] ?? null), "html", null, true); echo "\"> "; // line 39 echo " <span class=\"default_value hide\">"; echo ($context["special_chars"] ?? null); echo "</span> "; // line 41 if ( !twig_test_empty(($context["transformed_value"] ?? null))) { // line 42 echo " "; echo ($context["transformed_value"] ?? null); echo " "; } else { // line 44 echo " "; if (($context["is_value_foreign_link"] ?? null)) { // line 45 echo " "; echo ($context["backup_field"] ?? null); echo " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 46 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 46), "html", null, true); echo "]\" value=\"foreign\"> <input type=\"text\" name=\"fields[multi_edit]["; // line 47 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 47), "html", null, true); echo "]\" class=\"textfield\" onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 47)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 47), "html", null, true); echo "')\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3\" value=\""; echo twig_escape_filter($this->env, ($context["data"] ?? null), "html", null, true); echo "\"> <a class=\"ajax browse_foreign\" href=\""; // line 48 echo PhpMyAdmin\Url::getFromRoute("/browse-foreigners"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "field" => twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field", [], "any", false, false, false, 48), "rownumber" => ($context["row_id"] ?? null), "data" => ($context["data"] ?? null)]); echo "\">"; echo PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse foreign values")); echo "</a> "; } elseif ( !twig_test_empty( // line 49 ($context["foreign_dropdown"] ?? null))) { // line 50 echo " "; echo ($context["backup_field"] ?? null); echo " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 51 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 51), "html", null, true); echo "]\" value=\""; echo ((twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "is_binary", [], "any", false, false, false, 51)) ? ("hex") : ("foreign")); echo "\"> <select name=\"fields[multi_edit]["; // line 52 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 52), "html", null, true); echo "]\" class=\"textfield\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3\" onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 52)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 52), "html", null, true); echo "')\"> "; // line 53 echo ($context["foreign_dropdown"] ?? null); echo " </select> "; } elseif (((( // line 55 ($context["longtext_double_textarea"] ?? null) && twig_in_filter("longtext", twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 55))) || twig_in_filter("json", twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 55))) || twig_in_filter("text", twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 55)))) { // line 56 echo " "; echo ($context["backup_field"] ?? null); echo " <textarea name=\"fields[multi_edit]["; // line 57 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 57), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3\" data-type=\""; echo twig_escape_filter($this->env, ($context["data_type"] ?? null), "html", null, true); echo "\" dir=\""; echo twig_escape_filter($this->env, ($context["text_dir"] ?? null), "html", null, true); echo "\" rows=\""; echo twig_escape_filter($this->env, ($context["textarea_rows"] ?? null), "html", null, true); echo "\" cols=\""; echo twig_escape_filter($this->env, ($context["textarea_cols"] ?? null), "html", null, true); echo "\""; // line 58 ((($context["max_length"] ?? null)) ? (print (twig_escape_filter($this->env, ((" data-maxlength=\"" . ($context["max_length"] ?? null)) . "\""), "html", null, true))) : (print (""))); echo ((twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "is_char", [], "any", false, false, false, 58)) ? (" class=\"char charField\"") : ("")); echo " onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 58)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 58), "html", null, true); echo "')\">"; // line 60 echo (((is_string($__internal_compile_0 = ($context["special_chars"] ?? null)) && is_string($__internal_compile_1 = " ") && ('' === $__internal_compile_1 || 0 === strpos($__internal_compile_0, $__internal_compile_1)))) ? (" ") : ("")); echo ($context["special_chars"] ?? null); // line 61 echo "</textarea> "; // line 62 if ((twig_in_filter("text", twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 62)) && (twig_length_filter($this->env, ($context["special_chars"] ?? null)) > 32000))) { // line 63 echo " </td> <td> "; echo _gettext("Because of its length,<br> this column might not be editable."); // line 66 echo " "; } // line 67 echo " "; } elseif ((twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 67) == "enum")) { // line 68 echo " "; echo ($context["backup_field"] ?? null); echo " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 69 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 69), "html", null, true); echo "]\" value=\"enum\"> "; // line 70 if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Type", [], "any", false, false, false, 70)) > 20)) { // line 71 echo " <select name=\"fields[multi_edit]["; echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 71), "html", null, true); echo "]\" class=\"textfield\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3\" onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 71)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 71), "html", null, true); echo "')\"> <option value=\"\"></option> "; // line 73 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "values", [], "any", false, false, false, 73)); foreach ($context['_seq'] as $context["_key"] => $context["enum_value"]) { // line 74 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 74), "html", null, true); echo "\""; echo (((twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 74) == ($context["enum_selected_value"] ?? null))) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 74), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['enum_value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 76 echo " </select> "; } else { // line 78 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "values", [], "any", false, false, false, 78)); $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["enum_value"]) { // line 79 echo " <input type=\"radio\" name=\"fields[multi_edit]["; echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 79), "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 79), "html", null, true); echo "\" class=\"textfield\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3_"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 79), "html", null, true); echo "\" onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 79)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 79), "html", null, true); echo "')\""; echo (((twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 79) == ($context["enum_selected_value"] ?? null))) ? (" checked") : ("")); echo "> <label for=\"field_"; // line 80 echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3_"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 80), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 80), "html", null, true); echo "</label> "; ++$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['enum_value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 82 echo " "; } // line 83 echo " "; } elseif ((twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 83) == "set")) { // line 84 echo " "; echo ($context["backup_field"] ?? null); echo " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 85 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 85), "html", null, true); echo "]\" value=\"set\"> <select name=\"fields[multi_edit]["; // line 86 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 86), "html", null, true); echo "][]\" class=\"textfield\" size=\""; echo twig_escape_filter($this->env, ($context["set_select_size"] ?? null), "html", null, true); echo "\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3\" onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 86)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 86), "html", null, true); echo "')\" multiple> "; // line 87 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["set_values"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["set_value"]) { // line 88 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["set_value"], "plain", [], "any", false, false, false, 88), "html", null, true); echo "\""; echo ((twig_in_filter(twig_get_attribute($this->env, $this->source, $context["set_value"], "plain", [], "any", false, false, false, 88), twig_split_filter($this->env, ($context["data"] ?? null), ","))) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["set_value"], "plain", [], "any", false, false, false, 88), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['set_value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 90 echo " </select> "; } elseif ((twig_get_attribute($this->env, $this->source, // line 91 ($context["column"] ?? null), "is_binary", [], "any", false, false, false, 91) || twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "is_blob", [], "any", false, false, false, 91))) { // line 92 echo " "; if (($context["is_column_protected_blob"] ?? null)) { // line 93 echo " "; echo _gettext("Binary - do not edit"); // line 94 echo " ("; echo twig_escape_filter($this->env, ($context["blob_value"] ?? null), "html", null, true); echo " "; echo twig_escape_filter($this->env, ($context["blob_value_unit"] ?? null), "html", null, true); echo ") <input type=\"hidden\" name=\"fields[multi_edit]["; // line 95 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 95), "html", null, true); echo "]\" value=\"\"> <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 96 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 96), "html", null, true); echo "]\" value=\"protected\"> "; } elseif ((twig_get_attribute($this->env, $this->source, // line 97 ($context["column"] ?? null), "is_blob", [], "any", false, false, false, 97) || (twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "len", [], "any", false, false, false, 97) > ($context["limit_chars"] ?? null)))) { // line 98 echo " "; echo ($context["backup_field"] ?? null); echo " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 99 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 99), "html", null, true); echo "]\" value=\"hex\"> <textarea name=\"fields[multi_edit]["; // line 100 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 100), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3\" data-type=\"HEX\" dir=\""; echo twig_escape_filter($this->env, ($context["text_dir"] ?? null), "html", null, true); echo "\" rows=\""; echo twig_escape_filter($this->env, ($context["textarea_rows"] ?? null), "html", null, true); echo "\" cols=\""; echo twig_escape_filter($this->env, ($context["textarea_cols"] ?? null), "html", null, true); echo "\""; // line 101 ((($context["max_length"] ?? null)) ? (print (twig_escape_filter($this->env, ((" data-maxlength=\"" . ($context["max_length"] ?? null)) . "\""), "html", null, true))) : (print (""))); echo ((twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "is_char", [], "any", false, false, false, 101)) ? (" class=\"char charField\"") : ("")); echo " onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 101)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 101), "html", null, true); echo "')\">"; // line 103 echo (((is_string($__internal_compile_2 = ($context["special_chars"] ?? null)) && is_string($__internal_compile_3 = " ") && ('' === $__internal_compile_3 || 0 === strpos($__internal_compile_2, $__internal_compile_3)))) ? (" ") : ("")); echo ($context["special_chars"] ?? null); // line 104 echo "</textarea> "; } else { // line 106 echo " "; echo ($context["backup_field"] ?? null); echo " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 107 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 107), "html", null, true); echo "]\" value=\"hex\"> "; // line 108 echo ($context["input_field_html"] ?? null); echo " "; } // line 110 echo " "; if ((($context["is_upload"] ?? null) && twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "is_blob", [], "any", false, false, false, 110))) { // line 111 echo " <br> "; // line 113 echo " <input type=\"file\" name=\"fields_upload[multi_edit]["; echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 113), "html", null, true); echo "]\" class=\"textfield noDragDrop\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3\" size=\"10\" onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 113)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 113), "html", null, true); echo "')\"> "; // line 114 echo twig_escape_filter($this->env, ($context["max_upload_size"] ?? null), "html", null, true); echo " "; } // line 116 echo " "; echo ($context["select_option_for_upload"] ?? null); echo " "; } else { // line 118 echo " "; echo ($context["value"] ?? null); echo " "; } // line 120 echo " "; // line 121 if (twig_in_filter(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 121), ($context["gis_data_types"] ?? null))) { // line 122 echo " <span class=\"open_gis_editor\" data-row-id=\""; echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "\">"; echo PhpMyAdmin\Html\Generator::linkOrButton("#", null, PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit/Insert")), [], "_blank"); echo "</span> "; } // line 124 echo " "; } // line 125 echo " </td> </tr> "; } public function getTemplateName() { return "table/insert/column_row.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 619 => 125, 616 => 124, 608 => 122, 606 => 121, 603 => 120, 597 => 118, 591 => 116, 586 => 114, 571 => 113, 568 => 111, 565 => 110, 560 => 108, 554 => 107, 549 => 106, 545 => 104, 540 => 103, 530 => 101, 517 => 100, 511 => 99, 506 => 98, 504 => 97, 498 => 96, 492 => 95, 485 => 94, 482 => 93, 479 => 92, 477 => 91, 474 => 90, 461 => 88, 457 => 87, 441 => 86, 435 => 85, 430 => 84, 427 => 83, 424 => 82, 404 => 80, 383 => 79, 365 => 78, 361 => 76, 348 => 74, 344 => 73, 328 => 71, 326 => 70, 320 => 69, 315 => 68, 312 => 67, 309 => 66, 304 => 63, 302 => 62, 299 => 61, 294 => 60, 284 => 58, 269 => 57, 264 => 56, 262 => 55, 257 => 53, 243 => 52, 235 => 51, 230 => 50, 228 => 49, 220 => 48, 204 => 47, 198 => 46, 193 => 45, 190 => 44, 184 => 42, 182 => 41, 176 => 39, 170 => 37, 166 => 35, 157 => 33, 149 => 32, 141 => 31, 129 => 30, 120 => 29, 118 => 28, 114 => 26, 111 => 25, 104 => 21, 90 => 20, 87 => 19, 83 => 17, 81 => 16, 76 => 15, 73 => 14, 71 => 13, 68 => 12, 62 => 9, 57 => 8, 55 => 7, 45 => 4, 41 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "table/insert/column_row.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/column_row.twig"); } } twig/77/776269660132c7c349c5618a457de64a.php 0000644 00000142374 15114741573 0012526 0 ustar 00 <?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; /* export.twig */ class __TwigTemplate_62fae21e8eda36c75a29cd9a0648b6d1 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ 'title' => [$this, 'block_title'], 'message' => [$this, 'block_message'], 'selection_options' => [$this, 'block_selection_options'], ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 yield "<div class=\"container\"> <h2 class=\"my-3\"> "; // line 3 yield PhpMyAdmin\Html\Generator::getImage("b_export", _gettext("Export")); yield " "; // line 4 yield from $this->unwrap()->yieldBlock('title', $context, $blocks); // line 5 yield " </h2> "; // line 7 yield ($context["page_settings_error_html"] ?? null); yield " "; // line 8 yield ($context["page_settings_html"] ?? null); yield " "; // line 10 yield from $this->unwrap()->yieldBlock('message', $context, $blocks); // line 11 yield " "; // line 12 if (CoreExtension::getAttribute($this->env, $this->source, ($context["templates"] ?? null), "is_enabled", [], "any", false, false, false, 12)) { // line 13 yield " <div class=\"card mb-3\"> <div class=\"card-header\">"; yield _gettext("Export templates:"); // line 14 yield "</div> <div class=\"card-body row gy-3\"> <form method=\"post\" action=\""; // line 16 yield PhpMyAdmin\Url::getFromRoute("/export/template/create"); yield "\" class=\"col-12 col-md ajax\"> <fieldset> <legend>"; yield _gettext("New template:"); // line 18 yield "</legend> <div class=\"row g-3 align-items-center\"> <div class=\"col-auto\"> <label for=\"templateName\" class=\"col-form-label\">"; yield _gettext("Template name"); // line 21 yield "</label> </div> <div class=\"col-auto\"> <input class=\"form-control\" type=\"text\" name=\"templateName\" id=\"templateName\" maxlength=\"64\" placeholder=\""; yield _gettext("Template name"); // line 24 yield "\" required> </div> <div class=\"col-auto\"> <input class=\"btn btn-secondary\" type=\"submit\" name=\"createTemplate\" id=\"createTemplate\" value=\""; yield _gettext("Create"); // line 27 yield "\"> </div> </div> </fieldset> </form> <form method=\"post\" id=\"existingTemplatesForm\" class=\"col-12 col-md ajax\"> <fieldset> <legend>"; yield _gettext("Existing templates:"); // line 35 yield "</legend> <div class=\"row g-3 align-items-center\"> <div class=\"col-auto\"> <label for=\"template\" class=\"col-form-label\">"; yield _gettext("Template:"); // line 38 yield "</label> </div> <div class=\"col-auto\"> <select class=\"form-select\" name=\"template\" id=\"template\" required> <option value=\"\">-- "; yield _gettext("Select a template"); // line 42 yield " --</option> "; // line 43 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["templates"] ?? null), "templates", [], "any", false, false, false, 43)); foreach ($context['_seq'] as $context["_key"] => $context["template"]) { // line 44 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["template"], "getId", [], "method", false, false, false, 44), "html", null, true); yield "\""; yield (((CoreExtension::getAttribute($this->env, $this->source, $context["template"], "getId", [], "method", false, false, false, 44) == CoreExtension::getAttribute($this->env, $this->source, ($context["templates"] ?? null), "selected", [], "any", false, false, false, 44))) ? (" selected") : ("")); yield "> "; // line 45 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["template"], "getName", [], "method", false, false, false, 45), "html", null, true); yield " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['template'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 48 yield " </select> </div> <div class=\"col-auto\"> <input class=\"btn btn-secondary\" type=\"submit\" formaction=\""; // line 51 yield PhpMyAdmin\Url::getFromRoute("/export/template/update"); yield "\" name=\"updateTemplate\" id=\"updateTemplate\" value=\""; yield _gettext("Update"); yield "\"> </div> <div class=\"col-auto\"> <input class=\"btn btn-secondary\" type=\"submit\" formaction=\""; // line 54 yield PhpMyAdmin\Url::getFromRoute("/export/template/delete"); yield "\" name=\"deleteTemplate\" id=\"deleteTemplate\" value=\""; yield _gettext("Delete"); yield "\"> </div> </div> </fieldset> </form> </div> </div> "; } // line 62 yield " "; // line 63 if ( !Twig\Extension\CoreExtension::testEmpty(($context["sql_query"] ?? null))) { // line 64 yield " <div class=\"card mb-3\"> <div class=\"card-header\"> "; // line 67 yield " "; yield _gettext("SQL query:"); // line 68 yield " </div> <div class=\"card-body\"> <div id=\"sqlqueryform\"> "; // line 72 yield " <input class=\"btn btn-secondary\" type=\"submit\" id=\"showsqlquery\" value=\""; yield _gettext("Show SQL query"); yield "\"> </div> <div class=\"d-none\"></div> </div> </div> <div class=\"modal fade\" id=\"showSqlQueryModal\" tabindex=\"-1\" aria-labelledby=\"showSqlQueryModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"showSqlQueryModalLabel\">"; yield _gettext("Loading"); // line 81 yield "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Close"); // line 82 yield "\"></button> </div> <div class=\"modal-body\"> <div id=\"export_sql_modal_content\"> <code class=\"sql\"> <pre id=\"sql_preview_query\">"; // line 87 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["sql_query"] ?? null), "html", null, true); yield "</pre> </code> </div> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; yield _gettext("Close"); // line 92 yield "</button> </div> </div> </div> </div> "; } // line 98 yield " <form method=\"post\" action=\""; // line 99 yield PhpMyAdmin\Url::getFromRoute("/export"); yield "\" name=\"dump\" class=\"disableAjax\"> "; // line 100 yield PhpMyAdmin\Url::getHiddenInputs(($context["hidden_inputs"] ?? null)); yield " "; // line 102 if ((($context["export_method"] ?? null) != "custom-no-form")) { // line 103 yield " <div class=\"card mb-3\" id=\"quick_or_custom\"> <div class=\"card-header\">"; yield _gettext("Export method:"); // line 104 yield "</div> <div class=\"card-body\"> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"quick_or_custom\" value=\"quick\" id=\"radio_quick_export\""; // line 107 yield (((($context["export_method"] ?? null) == "quick")) ? (" checked") : ("")); yield "> <label class=\"form-check-label\" for=\"radio_quick_export\">"; yield _gettext("Quick - display only the minimal options"); // line 108 yield "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"quick_or_custom\" value=\"custom\" id=\"radio_custom_export\""; // line 111 yield (((($context["export_method"] ?? null) == "custom")) ? (" checked") : ("")); yield "> <label class=\"form-check-label\" for=\"radio_custom_export\">"; yield _gettext("Custom - display all possible options"); // line 112 yield "</label> </div> </div> </div> "; } // line 117 yield " <div class=\"card mb-3\" id=\"format\"> <div class=\"card-header\">"; yield _gettext("Format:"); // line 119 yield "</div> <div class=\"card-body\"> <select class=\"form-select\" id=\"plugins\" name=\"what\" aria-label=\""; yield _gettext("File format to export"); // line 121 yield "\"> "; // line 122 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["plugins_choice"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 123 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 123), "html", null, true); yield "\""; yield ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "is_selected", [], "any", false, false, false, 123)) ? (" selected") : ("")); yield ">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["option"], "text", [], "any", false, false, false, 123), "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 125 yield " </select> "; // line 127 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["plugins_choice"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 128 yield " <input type=\"hidden\" id=\"force_file_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 128), "html", null, true); yield "\" value=\""; yield ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "force_file", [], "any", false, false, false, 128)) ? ("true") : ("false")); yield "\"> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 130 yield " </div> </div> "; // line 133 yield from $this->unwrap()->yieldBlock('selection_options', $context, $blocks); // line 134 yield " "; // line 135 if ( !Twig\Extension\CoreExtension::testEmpty(($context["rows"] ?? null))) { // line 136 yield " <div class=\"card mb-3\" id=\"rows\"> <div class=\"card-header\">"; yield _gettext("Rows:"); // line 137 yield "</div> <div class=\"card-body\"> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"allrows\" value=\"1\" id=\"radio_allrows_1\""; // line 140 yield ((((null === CoreExtension::getAttribute($this->env, $this->source, ($context["rows"] ?? null), "allrows", [], "any", false, false, false, 140)) || (CoreExtension::getAttribute($this->env, $this->source, ($context["rows"] ?? null), "allrows", [], "any", false, false, false, 140) == 1))) ? (" checked") : ("")); yield "> <label class=\"form-check-label\" for=\"radio_allrows_1\">"; yield _gettext("Dump all rows"); // line 141 yield "</label> </div> <div class=\"form-check mb-2\"> <input class=\"form-check-input\" type=\"radio\" name=\"allrows\" value=\"0\" id=\"radio_allrows_0\""; // line 144 yield ((( !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["rows"] ?? null), "allrows", [], "any", false, false, false, 144)) && (CoreExtension::getAttribute($this->env, $this->source, ($context["rows"] ?? null), "allrows", [], "any", false, false, false, 144) == 0))) ? (" checked") : ("")); yield "> <label class=\"form-check-label\" for=\"radio_allrows_0\">"; yield _gettext("Dump some row(s)"); // line 145 yield "</label> </div> <ul class=\"list-group\"> <li class=\"list-group-item\"> <label class=\"form-label\" for=\"limit_to\">"; yield _gettext("Number of rows:"); // line 149 yield "</label> <input class=\"form-control\" type=\"text\" id=\"limit_to\" name=\"limit_to\" size=\"5\" value=\""; // line 151 if ( !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["rows"] ?? null), "limit_to", [], "any", false, false, false, 151))) { // line 152 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["rows"] ?? null), "limit_to", [], "any", false, false, false, 152), "html", null, true); } elseif (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, // line 153 ($context["rows"] ?? null), "unlim_num_rows", [], "any", false, false, false, 153)) && (CoreExtension::getAttribute($this->env, $this->source, ($context["rows"] ?? null), "unlim_num_rows", [], "any", false, false, false, 153) != 0))) { // line 154 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["rows"] ?? null), "unlim_num_rows", [], "any", false, false, false, 154), "html", null, true); } else { // line 156 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["rows"] ?? null), "number_of_rows", [], "any", false, false, false, 156), "html", null, true); } // line 157 yield "\" onfocus=\"this.select()\"> </li> <li class=\"list-group-item\"> <label class=\"form-label\" for=\"limit_from\">"; yield _gettext("Row to begin at:"); // line 160 yield "</label> <input class=\"form-control\" type=\"text\" id=\"limit_from\" name=\"limit_from\" size=\"5\" value=\""; // line 161 (( !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["rows"] ?? null), "limit_from", [], "any", false, false, false, 161))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["rows"] ?? null), "limit_from", [], "any", false, false, false, 161), "html", null, true)) : (yield 0)); yield "\" onfocus=\"this.select()\"> </li> </ul> </div> </div> "; } // line 167 yield " "; // line 168 if (($context["has_save_dir"] ?? null)) { // line 169 yield " <div class=\"card mb-3 d-none\" id=\"output_quick_export\"> <div class=\"card-header\">"; yield _gettext("Output:"); // line 170 yield "</div> <div class=\"card-body\"> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"quick_export_onserver\" value=\"saveit\" id=\"checkbox_quick_dump_onserver\""; // line 173 yield ((($context["export_is_checked"] ?? null)) ? (" checked") : ("")); yield "> <label class=\"form-check-label\" for=\"checkbox_quick_dump_onserver\"> "; // line 175 yield Twig\Extension\CoreExtension::sprintf(_gettext("Save on server in the directory <strong>%s</strong>"), $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["save_dir"] ?? null))); yield " </label> </div> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"quick_export_onserver_overwrite\" value=\"saveitover\" id=\"checkbox_quick_dump_onserver_overwrite\""; // line 180 yield ((($context["export_overwrite_is_checked"] ?? null)) ? (" checked") : ("")); yield "> <label class=\"form-check-label\" for=\"checkbox_quick_dump_onserver_overwrite\"> "; yield _gettext("Overwrite existing file(s)"); // line 183 yield " </label> </div> </div> </div> "; } // line 188 yield " <div class=\"modal fade\" id=\"renameExportModal\" tabindex=\"-1\" aria-labelledby=\"renameExportModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog modal-xl\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"renameExportModalLabel\">"; yield _gettext("Rename exported databases/tables/columns"); // line 193 yield "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Close"); // line 194 yield "\"></button> </div> <div class=\"modal-body overflow-auto\"> <table class=\"table align-middle mb-3\" id=\"alias_data\"> <thead> <tr> <th colspan=\"4\"> "; yield _gettext("Defined aliases"); // line 202 yield " </th> </tr> </thead> <tbody> "; // line 207 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["aliases"] ?? null)); foreach ($context['_seq'] as $context["db"] => $context["db_data"]) { // line 208 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, $context["db_data"], "alias", [], "any", true, true, false, 208) && !(null === CoreExtension::getAttribute($this->env, $this->source, $context["db_data"], "alias", [], "any", false, false, false, 208)))) { // line 209 yield " <tr> <th>"; yield _pgettext("Alias", "Database"); // line 210 yield "</th> <td>"; // line 211 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["db"], "html", null, true); yield "</td> <td> <input name=\"aliases["; // line 213 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["db"], "html", null, true); yield "][alias]\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["db_data"], "alias", [], "any", false, false, false, 213), "html", null, true); yield "\" type=\"text\"> </td> <td> <button class=\"alias_remove btn btn-secondary\">"; yield _gettext("Remove"); // line 216 yield "</button> </td> </tr> "; } // line 220 yield " "; // line 221 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable((((CoreExtension::getAttribute($this->env, $this->source, $context["db_data"], "tables", [], "any", true, true, false, 221) && !(null === CoreExtension::getAttribute($this->env, $this->source, $context["db_data"], "tables", [], "any", false, false, false, 221)))) ? (CoreExtension::getAttribute($this->env, $this->source, $context["db_data"], "tables", [], "any", false, false, false, 221)) : ([]))); foreach ($context['_seq'] as $context["table"] => $context["table_data"]) { // line 222 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, $context["table_data"], "alias", [], "any", true, true, false, 222) && !(null === CoreExtension::getAttribute($this->env, $this->source, $context["table_data"], "alias", [], "any", false, false, false, 222)))) { // line 223 yield " <tr> <th>"; yield _pgettext("Alias", "Table"); // line 224 yield "</th> <td>"; // line 225 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["db"], "html", null, true); yield "."; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["table"], "html", null, true); yield "</td> <td> <input name=\"aliases["; // line 227 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["db"], "html", null, true); yield "][tables]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["table"], "html", null, true); yield "][alias]\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["table_data"], "alias", [], "any", false, false, false, 227), "html", null, true); yield "\" type=\"text\"> </td> <td> <button class=\"alias_remove btn btn-secondary\">"; yield _gettext("Remove"); // line 230 yield "</button> </td> </tr> "; } // line 234 yield " "; // line 235 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable((((CoreExtension::getAttribute($this->env, $this->source, $context["table_data"], "columns", [], "any", true, true, false, 235) && !(null === CoreExtension::getAttribute($this->env, $this->source, $context["table_data"], "columns", [], "any", false, false, false, 235)))) ? (CoreExtension::getAttribute($this->env, $this->source, $context["table_data"], "columns", [], "any", false, false, false, 235)) : ([]))); foreach ($context['_seq'] as $context["column"] => $context["column_name"]) { // line 236 yield " <tr> <th>"; yield _pgettext("Alias", "Column"); // line 237 yield "</th> <td>"; // line 238 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["db"], "html", null, true); yield "."; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["table"], "html", null, true); yield "."; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["column"], "html", null, true); yield "</td> <td> <input name=\"aliases["; // line 240 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["db"], "html", null, true); yield "][tables]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["table"], "html", null, true); yield "][colums]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["column"], "html", null, true); yield "]\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["column_name"], "html", null, true); yield "\" type=\"text\"> </td> <td> <button class=\"alias_remove btn btn-secondary\">"; yield _gettext("Remove"); // line 243 yield "</button> </td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['column'], $context['column_name'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 247 yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['table'], $context['table_data'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 248 yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['db'], $context['db_data'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 249 yield " </tbody> "; // line 252 yield " <tfoot class=\"hide\"> <tr> <th></th> <td></td> <td> <input name=\"aliases_new\" value=\"\" type=\"text\"> </td> <td> <button class=\"alias_remove btn btn-secondary\">"; yield _gettext("Remove"); // line 260 yield "</button> </td> </tr> </tfoot> </table> <table class=\"table align-middle\"> <thead> <tr> <th colspan=\"4\">"; yield _gettext("Define new aliases"); // line 269 yield "</th> </tr> </thead> <tr> <td> <label>"; yield _gettext("Select database:"); // line 274 yield "</label> </td> <td> <select id=\"db_alias_select\"> <option value=\"\"></option> </select> </td> <td> <input id=\"db_alias_name\" placeholder=\""; yield _gettext("New database name"); // line 282 yield "\" disabled=\"1\"> </td> <td> <button id=\"db_alias_button\" class=\"btn btn-secondary\" disabled=\"1\">"; yield _gettext("Add"); // line 285 yield "</button> </td> </tr> <tr> <td> <label>"; yield _gettext("Select table:"); // line 290 yield "</label> </td> <td> <select id=\"table_alias_select\"> <option value=\"\"></option> </select> </td> <td> <input id=\"table_alias_name\" placeholder=\""; yield _gettext("New table name"); // line 298 yield "\" disabled=\"1\"> </td> <td> <button id=\"table_alias_button\" class=\"btn btn-secondary\" disabled=\"1\">"; yield _gettext("Add"); // line 301 yield "</button> </td> </tr> <tr> <td> <label>"; yield _gettext("Select column:"); // line 306 yield "</label> </td> <td> <select id=\"column_alias_select\"> <option value=\"\"></option> </select> </td> <td> <input id=\"column_alias_name\" placeholder=\""; yield _gettext("New column name"); // line 314 yield "\" disabled=\"1\"> </td> <td> <button id=\"column_alias_button\" class=\"btn btn-secondary\" disabled=\"1\">"; yield _gettext("Add"); // line 317 yield "</button> </td> </tr> </table> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"saveAndCloseBtn\" data-bs-dismiss=\"modal\"> "; yield _gettext("Save & close"); // line 325 yield " </button> </div> </div> </div> </div> <div class=\"card mb-3\" id=\"output\"> <div class=\"card-header\">"; yield _gettext("Output:"); // line 332 yield "</div> <ul class=\"list-group list-group-flush\"> <li class=\"list-group-item\"> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" id=\"btn_alias_config\""; // line 336 yield ((($context["has_aliases"] ?? null)) ? (" checked") : ("")); yield "> <label class=\"form-check-label\" for=\"btn_alias_config\">"; yield _gettext("Rename exported databases/tables/columns"); // line 337 yield "</label> </div> </li> "; // line 341 if ((($context["export_type"] ?? null) != "server")) { // line 342 yield " <li class=\"list-group-item\"> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"lock_tables\" value=\"something\" id=\"checkbox_lock_tables\""; // line 345 yield (((( !($context["repopulate"] ?? null) && ($context["is_checked_lock_tables"] ?? null)) || ($context["lock_tables"] ?? null))) ? (" checked") : ("")); yield "> <label class=\"form-check-label\" for=\"checkbox_lock_tables\"> "; // line 347 yield Twig\Extension\CoreExtension::sprintf(_gettext("Use %s statement"), "<code>LOCK TABLES</code>"); yield " </label> </div> </li> "; } // line 352 yield " <li class=\"list-group-item\"> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" id=\"radio_view_as_text\" name=\"output_format\" value=\"astext\""; // line 355 yield (((($context["repopulate"] ?? null) || (($context["export_asfile"] ?? null) == false))) ? (" checked") : ("")); yield "> <label class=\"form-check-label\" for=\"radio_view_as_text\">"; yield _gettext("View output as text"); // line 356 yield "</label> </div> <div class=\"form-check mb-2\"> <input class=\"form-check-input\" type=\"radio\" name=\"output_format\" value=\"sendit\" id=\"radio_dump_asfile\""; // line 359 yield ((( !($context["repopulate"] ?? null) && ($context["is_checked_asfile"] ?? null))) ? (" checked") : ("")); yield "> <label class=\"form-check-label\" for=\"radio_dump_asfile\">"; yield _gettext("Save output to a file"); // line 360 yield "</label> </div> <div class=\"hstack gap-3\"> <div class=\"vr\"></div> <ul class=\"list-group\" id=\"ul_save_asfile\"> "; // line 365 if (($context["has_save_dir"] ?? null)) { // line 366 yield " <li class=\"list-group-item\"> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"onserver\" value=\"saveit\" id=\"checkbox_dump_onserver\""; // line 368 yield ((($context["is_checked_export"] ?? null)) ? (" checked") : ("")); yield "> <label class=\"form-check-label\" for=\"checkbox_dump_onserver\"> "; // line 370 yield Twig\Extension\CoreExtension::sprintf(_gettext("Save on server in the directory <strong>%s</strong>"), $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["save_dir"] ?? null))); yield " </label> </div> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"onserver_overwrite\" value=\"saveitover\" id=\"checkbox_dump_onserver_overwrite\""; // line 375 yield ((($context["is_checked_export_overwrite"] ?? null)) ? (" checked") : ("")); yield "> <label class=\"form-check-label\" for=\"checkbox_dump_onserver_overwrite\"> "; yield _gettext("Overwrite existing file(s)"); // line 378 yield " </label> </div> </li> "; } // line 382 yield " <li class=\"list-group-item\"> <div class=\"row g-3 align-items-center\"> <div class=\"col-auto\"> <label for=\"filename_template\" class=\"col-form-label\"> "; yield _gettext("File name template:"); // line 388 yield " "; yield PhpMyAdmin\Html\Generator::showHint(Twig\Extension\CoreExtension::sprintf(_gettext("This value is interpreted using the 'strftime' function, so you can use time formatting strings. Additionally the following transformations will happen: %s Other text will be kept as is. See the FAQ 6.27 for details."), ($context["filename_hint"] ?? null))); yield " </label> </div> <div class=\"col-auto\"> <input type=\"text\" class=\"form-control\" name=\"filename_template\" id=\"filename_template\" value=\""; // line 392 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["filename_template"] ?? null), "html", null, true); yield "\"> </div> <div class=\"col-auto\"> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"remember_template\" id=\"checkbox_remember_template\""; // line 396 yield ((($context["is_checked_remember_file_template"] ?? null)) ? (" checked") : ("")); yield "> <label class=\"form-check-label\" for=\"checkbox_remember_template\"> "; yield _gettext("Use this for future exports"); // line 399 yield " </label> </div> </div> </div> </li> "; // line 405 if (($context["is_encoding_supported"] ?? null)) { // line 406 yield " <li class=\"list-group-item\"> <div class=\"row\"> <div class=\"col-auto\"> <label for=\"select_charset\" class=\"col-form-label\">"; yield _gettext("Character set of the file:"); // line 409 yield "</label> </div> <div class=\"col-auto\"> <select class=\"form-select\" id=\"select_charset\" name=\"charset\"> "; // line 413 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["encodings"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 414 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["charset"], "html", null, true); yield "\""; // line 415 yield ((((Twig\Extension\CoreExtension::testEmpty(($context["export_charset"] ?? null)) && ($context["charset"] == "utf-8")) || ($context["charset"] == ($context["export_charset"] ?? null)))) ? (" selected") : ("")); yield ">"; // line 416 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["charset"], "html", null, true); // line 417 yield "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 419 yield " </select> </div> </div> </li> "; } // line 424 yield " "; // line 425 if ((($context["has_zip"] ?? null) || ($context["has_gzip"] ?? null))) { // line 426 yield " <li class=\"list-group-item\"> <div class=\"row\"> <div class=\"col-auto\"> <label for=\"compression\" class=\"col-form-label\">"; yield _gettext("Compression:"); // line 429 yield "</label> </div> <div class=\"col-auto\"> <select class=\"form-select\" id=\"compression\" name=\"compression\"> <option value=\"none\">"; yield _gettext("None"); // line 433 yield "</option> "; // line 434 if (($context["has_zip"] ?? null)) { // line 435 yield " <option value=\"zip\""; // line 436 yield (((($context["selected_compression"] ?? null) == "zip")) ? (" selected") : ("")); yield "> "; yield _gettext("zipped"); // line 438 yield " </option> "; } // line 440 yield " "; if (($context["has_gzip"] ?? null)) { // line 441 yield " <option value=\"gzip\""; // line 442 yield (((($context["selected_compression"] ?? null) == "gzip")) ? (" selected") : ("")); yield "> "; yield _gettext("gzipped"); // line 444 yield " </option> "; } // line 446 yield " </select> </div> </div> </li> "; } else { // line 451 yield " <input type=\"hidden\" name=\"compression\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["selected_compression"] ?? null), "html", null, true); yield "\"> "; } // line 453 yield " "; // line 454 if (((($context["export_type"] ?? null) == "server") || (($context["export_type"] ?? null) == "database"))) { // line 455 yield " <li class=\"list-group-item\"> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" id=\"checkbox_as_separate_files\" name=\"as_separate_files\" value=\""; // line 457 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["export_type"] ?? null), "html", null, true); yield "\""; // line 458 yield ((($context["is_checked_as_separate_files"] ?? null)) ? (" checked") : ("")); yield "> <label class=\"form-check-label\" for=\"checkbox_as_separate_files\"> "; // line 460 if ((($context["export_type"] ?? null) == "server")) { // line 461 yield " "; yield _gettext("Export databases as separate files"); // line 462 yield " "; } elseif ((($context["export_type"] ?? null) == "database")) { // line 463 yield " "; yield _gettext("Export tables as separate files"); // line 464 yield " "; } // line 465 yield " </label> </div> </li> "; } // line 469 yield " </ul> </div> </li> <li class=\"list-group-item\"> <label for=\"maxsize\" class=\"form-label\">"; yield _gettext("Skip tables larger than:"); // line 474 yield "</label> <input class=\"form-control\" type=\"number\" id=\"maxsize\" name=\"maxsize\" aria-describedby=\"maxsizeHelp\"> <div id=\"maxsizeHelp\" class=\"form-text\">"; yield _gettext("The size is measured in MiB."); // line 476 yield "</div> </li> </ul> </div> <div class=\"card mb-3\" id=\"format_specific_opts\"> <div class=\"card-header\">"; yield _gettext("Format-specific options:"); // line 482 yield "</div> <div class=\"card-body\"> "; // line 484 yield ($context["options"] ?? null); yield " </div> </div> "; // line 488 if (($context["can_convert_kanji"] ?? null)) { // line 489 yield " "; // line 490 yield " <div class=\"card mb-3\" id=\"kanji_encoding\"> <div class=\"card-header\">"; yield _gettext("Encoding Conversion:"); // line 491 yield "</div> <div class=\"card-body\"> "; // line 493 yield from $this->loadTemplate("encoding/kanji_encoding_form.twig", "export.twig", 493)->unwrap()->yield($context); // line 494 yield " </div> </div> "; } // line 497 yield " <div id=\"submit\"> <input id=\"buttonGo\" class=\"btn btn-primary\" type=\"submit\" value=\""; yield _gettext("Export"); // line 499 yield "\" data-exec-time-limit=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["exec_time_limit"] ?? null), "html", null, true); yield "\"> </div> </form> </div> "; return; yield ''; } // line 4 public function block_title($context, array $blocks = []) { $macros = $this->macros; return; yield ''; } // line 10 public function block_message($context, array $blocks = []) { $macros = $this->macros; return; yield ''; } // line 133 public function block_selection_options($context, array $blocks = []) { $macros = $this->macros; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "export.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 1078 => 133, 1071 => 10, 1064 => 4, 1053 => 499, 1048 => 497, 1043 => 494, 1041 => 493, 1037 => 491, 1033 => 490, 1031 => 489, 1029 => 488, 1022 => 484, 1018 => 482, 1009 => 476, 1004 => 474, 996 => 469, 990 => 465, 987 => 464, 984 => 463, 981 => 462, 978 => 461, 976 => 460, 971 => 458, 968 => 457, 964 => 455, 962 => 454, 959 => 453, 953 => 451, 946 => 446, 942 => 444, 937 => 442, 935 => 441, 932 => 440, 928 => 438, 923 => 436, 921 => 435, 919 => 434, 916 => 433, 909 => 429, 903 => 426, 901 => 425, 898 => 424, 891 => 419, 884 => 417, 882 => 416, 879 => 415, 875 => 414, 871 => 413, 865 => 409, 859 => 406, 857 => 405, 849 => 399, 843 => 396, 836 => 392, 828 => 388, 820 => 382, 814 => 378, 808 => 375, 801 => 370, 796 => 368, 792 => 366, 790 => 365, 783 => 360, 778 => 359, 773 => 356, 768 => 355, 763 => 352, 755 => 347, 750 => 345, 746 => 342, 744 => 341, 738 => 337, 733 => 336, 727 => 332, 717 => 325, 707 => 317, 701 => 314, 690 => 306, 682 => 301, 676 => 298, 665 => 290, 657 => 285, 651 => 282, 640 => 274, 632 => 269, 620 => 260, 609 => 252, 605 => 249, 599 => 248, 593 => 247, 584 => 243, 571 => 240, 562 => 238, 559 => 237, 555 => 236, 551 => 235, 548 => 234, 542 => 230, 531 => 227, 524 => 225, 521 => 224, 517 => 223, 514 => 222, 510 => 221, 507 => 220, 501 => 216, 492 => 213, 487 => 211, 484 => 210, 480 => 209, 477 => 208, 473 => 207, 466 => 202, 456 => 194, 452 => 193, 444 => 188, 437 => 183, 431 => 180, 424 => 175, 419 => 173, 414 => 170, 410 => 169, 408 => 168, 405 => 167, 396 => 161, 393 => 160, 387 => 157, 384 => 156, 381 => 154, 379 => 153, 377 => 152, 375 => 151, 372 => 149, 365 => 145, 360 => 144, 355 => 141, 350 => 140, 345 => 137, 341 => 136, 339 => 135, 336 => 134, 334 => 133, 329 => 130, 318 => 128, 314 => 127, 310 => 125, 297 => 123, 293 => 122, 290 => 121, 285 => 119, 280 => 117, 273 => 112, 268 => 111, 263 => 108, 258 => 107, 253 => 104, 249 => 103, 247 => 102, 242 => 100, 238 => 99, 235 => 98, 227 => 92, 218 => 87, 211 => 82, 207 => 81, 193 => 72, 188 => 68, 185 => 67, 181 => 64, 179 => 63, 176 => 62, 163 => 54, 155 => 51, 150 => 48, 141 => 45, 134 => 44, 130 => 43, 127 => 42, 120 => 38, 114 => 35, 103 => 27, 97 => 24, 91 => 21, 85 => 18, 79 => 16, 75 => 14, 71 => 13, 69 => 12, 66 => 11, 64 => 10, 59 => 8, 55 => 7, 51 => 5, 49 => 4, 45 => 3, 41 => 1,); } public function getSourceContext() { return new Source("", "export.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/export.twig"); } } twig/27/279d5e877e45205f3254063ef9146365.php 0000644 00000005311 15114741573 0012433 0 ustar 00 <?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_ba0e426ca59dfe628b3026babbb42f3c 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/recent_favorite_table_recent.twig"); } } twig/35/35c37606fc4778c746548edd2759dfe3.php 0000644 00000042350 15114741573 0012750 0 ustar 00 <?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_bebb86604dc60c7ad5d44619ee5b5fe9 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/config/form_display/input.twig"); } } twig/35/35264ab0327ce1b0782900891696209c.php 0000644 00000010072 15114741573 0012402 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/table_headers_for_columns.twig */ class __TwigTemplate_32e55a00d9b35bbdcefad412762a5c90 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'] = twig_ensure_traversable(($context["columns"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["column"]) { // line 2 echo " <th class=\"draggable position-sticky"; echo ((twig_get_attribute($this->env, $this->source, $context["column"], "is_column_numeric", [], "any", false, false, false, 2)) ? (" text-end") : ("")); echo ((twig_get_attribute($this->env, $this->source, $context["column"], "is_column_hidden", [], "any", false, false, false, 2)) ? (" hide") : ("")); // line 3 echo ((($context["is_sortable"] ?? null)) ? (" column_heading") : ("")); echo (((($context["is_sortable"] ?? null) && twig_get_attribute($this->env, $this->source, $context["column"], "is_browse_marker_enabled", [], "any", false, false, false, 3))) ? (" marker") : ("")); echo (((($context["is_sortable"] ?? null) && twig_get_attribute($this->env, $this->source, $context["column"], "is_browse_pointer_enabled", [], "any", false, false, false, 3))) ? (" pointer") : ("")); // line 4 echo ((( !($context["is_sortable"] ?? null) && twig_get_attribute($this->env, $this->source, $context["column"], "has_condition", [], "any", false, false, false, 4))) ? (" condition") : ("")); echo "\" data-column=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "column_name", [], "any", false, false, false, 4), "html", null, true); echo "\"> "; // line 5 if (($context["is_sortable"] ?? null)) { // line 6 echo " "; echo twig_get_attribute($this->env, $this->source, $context["column"], "order_link", [], "any", false, false, false, 6); echo " "; } else { // line 8 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "column_name", [], "any", false, false, false, 8), "html", null, true); echo " "; } // line 10 echo " "; echo twig_get_attribute($this->env, $this->source, $context["column"], "comments", [], "any", false, false, false, 10); echo " </th> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } public function getTemplateName() { return "display/results/table_headers_for_columns.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 69 => 10, 63 => 8, 57 => 6, 55 => 5, 49 => 4, 45 => 3, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/table_headers_for_columns.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/table_headers_for_columns.twig"); } } twig/a4/a490dc3fe4b1efb2b1efc221735b789e.php 0000644 00000011377 15114741573 0013350 0 ustar 00 <?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; /* database/structure/index.twig */ class __TwigTemplate_f884fe06881c160725a2c762190112a3 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($this->env->getRuntime('PhpMyAdmin\FlashMessages')->getMessages()); foreach ($context['_seq'] as $context["flash_key"] => $context["flash_messages"]) { // line 2 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable($context["flash_messages"]); foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) { // line 3 yield " <div class=\"alert alert-"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_key"], "html", null, true); yield "\" role=\"alert\"> "; // line 4 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_message"], "html", null, true); yield " </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash_message'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['flash_key'], $context['flash_messages'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 8 yield " "; // line 9 if (($context["has_tables"] ?? null)) { // line 10 yield " <div id=\"tableslistcontainer\"> "; // line 11 yield ($context["list_navigator_html"] ?? null); yield " "; // line 13 yield ($context["table_list_html"] ?? null); yield " "; // line 15 yield ($context["list_navigator_html"] ?? null); yield " </div> <hr> <p class=\"d-print-none\"> <button type=\"button\" class=\"btn btn-link p-0 jsPrintButton\">"; // line 19 yield PhpMyAdmin\Html\Generator::getIcon("b_print", _gettext("Print"), true); yield "</button> <a href=\""; // line 20 yield PhpMyAdmin\Url::getFromRoute("/database/data-dictionary", ["db" => ($context["database"] ?? null), "goto" => PhpMyAdmin\Url::getFromRoute("/database/structure")]); yield "\"> "; // line 21 yield PhpMyAdmin\Html\Generator::getIcon("b_tblanalyse", _gettext("Data dictionary"), true); yield " </a> </p> "; } else { // line 25 yield " "; yield $this->env->getFilter('notice')->getCallable()(_gettext("No tables found in database.")); yield " "; } // line 27 yield " "; // line 28 if ( !($context["is_system_schema"] ?? null)) { // line 29 yield " "; yield ($context["create_table_html"] ?? null); yield " "; } return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/structure/index.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 116 => 29, 114 => 28, 111 => 27, 105 => 25, 98 => 21, 94 => 20, 90 => 19, 83 => 15, 78 => 13, 73 => 11, 70 => 10, 68 => 9, 65 => 8, 52 => 4, 47 => 3, 42 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "database/structure/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/index.twig"); } } twig/a4/a4a48516dbda5cc7558784f4a7db29e8.php 0000644 00000023045 15114741573 0013226 0 ustar 00 <?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; /* database/structure/table_header.twig */ class __TwigTemplate_38e22e94372b904b060d11fc21bde6ea 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 PhpMyAdmin\Url::getFromRoute("/database/structure"); yield "\" name=\"tablesForm\" id=\"tablesForm\"> "; // line 2 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); yield " <div class=\"table-responsive\"> <table class=\"table table-striped table-hover table-sm w-auto data\"> <thead> <tr> <th class=\"d-print-none\"></th> <th>"; // line 8 yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Table"), "table"); yield "</th> "; // line 9 if (($context["replication"] ?? null)) { // line 10 yield " <th>"; yield _gettext("Replication"); yield "</th> "; } // line 12 yield " "; // line 13 if (($context["db_is_system_schema"] ?? null)) { // line 14 yield " "; $context["action_colspan"] = 3; // line 15 yield " "; } else { // line 16 yield " "; $context["action_colspan"] = 6; // line 17 yield " "; } // line 18 yield " "; if ((($context["num_favorite_tables"] ?? null) > 0)) { // line 19 yield " "; $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); // line 20 yield " "; } // line 21 yield " <th colspan=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["action_colspan"] ?? null), "html", null, true); yield "\" class=\"d-print-none\"> "; yield _gettext("Action"); // line 23 yield " </th> "; // line 25 yield " <th> "; // line 26 yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Rows"), "records", "DESC"); yield " "; // line 27 yield PhpMyAdmin\Html\Generator::showHint(PhpMyAdmin\Sanitize::sanitizeMessage(_gettext("May be approximate. Click on the number to get the exact count. See [doc@faq3-11]FAQ 3.11[/doc]."))); yield " </th> "; // line 29 if ( !(($context["properties_num_columns"] ?? null) > 1)) { // line 30 yield " <th>"; yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Type"), "type"); yield "</th> <th>"; // line 31 yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Collation"), "collation"); yield "</th> "; } // line 33 yield " "; // line 34 if (($context["is_show_stats"] ?? null)) { // line 35 yield " "; // line 36 yield " <th>"; yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Size"), "size", "DESC"); yield "</th> "; // line 38 yield " <th>"; yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Overhead"), "overhead", "DESC"); yield "</th> "; } // line 40 yield " "; // line 41 if (($context["show_charset"] ?? null)) { // line 42 yield " <th>"; yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Charset"), "charset"); yield "</th> "; } // line 44 yield " "; // line 45 if (($context["show_comment"] ?? null)) { // line 46 yield " <th>"; yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Comment"), "comment"); yield "</th> "; } // line 48 yield " "; // line 49 if (($context["show_creation"] ?? null)) { // line 50 yield " "; // line 51 yield " <th>"; yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Creation"), "creation", "DESC"); yield "</th> "; } // line 53 yield " "; // line 54 if (($context["show_last_update"] ?? null)) { // line 55 yield " "; // line 56 yield " <th>"; yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Last update"), "last_update", "DESC"); yield "</th> "; } // line 58 yield " "; // line 59 if (($context["show_last_check"] ?? null)) { // line 60 yield " "; // line 61 yield " <th>"; yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Last check"), "last_check", "DESC"); yield "</th> "; } // line 63 yield " </tr> </thead> <tbody> "; // line 66 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["structure_table_rows"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["structure_table_row"]) { // line 67 yield " "; yield from $this->loadTemplate("database/structure/structure_table_row.twig", "database/structure/table_header.twig", 67)->unwrap()->yield(CoreExtension::toArray($context["structure_table_row"])); // line 68 yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['structure_table_row'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 69 yield " </tbody> "; // line 70 if (($context["body_for_table_summary"] ?? null)) { // line 71 yield " "; yield from $this->loadTemplate("database/structure/body_for_table_summary.twig", "database/structure/table_header.twig", 71)->unwrap()->yield(CoreExtension::toArray(($context["body_for_table_summary"] ?? null))); // line 72 yield " "; } // line 73 yield "</table> </div> "; // line 75 if (($context["check_all_tables"] ?? null)) { // line 76 yield " "; yield from $this->loadTemplate("database/structure/check_all_tables.twig", "database/structure/table_header.twig", 76)->unwrap()->yield(CoreExtension::toArray(($context["check_all_tables"] ?? null))); } // line 78 yield "</form> "; // line 79 if (($context["check_all_tables"] ?? null)) { // line 80 yield " "; yield from $this->loadTemplate("database/structure/bulk_action_modal.twig", "database/structure/table_header.twig", 80)->unwrap()->yield(CoreExtension::toArray(($context["check_all_tables"] ?? null))); } return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/structure/table_header.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 246 => 80, 244 => 79, 241 => 78, 237 => 76, 235 => 75, 231 => 73, 228 => 72, 225 => 71, 223 => 70, 220 => 69, 214 => 68, 211 => 67, 207 => 66, 202 => 63, 196 => 61, 194 => 60, 192 => 59, 189 => 58, 183 => 56, 181 => 55, 179 => 54, 176 => 53, 170 => 51, 168 => 50, 166 => 49, 163 => 48, 157 => 46, 155 => 45, 152 => 44, 146 => 42, 144 => 41, 141 => 40, 135 => 38, 130 => 36, 128 => 35, 126 => 34, 123 => 33, 118 => 31, 113 => 30, 111 => 29, 106 => 27, 102 => 26, 99 => 25, 96 => 23, 90 => 21, 87 => 20, 84 => 19, 81 => 18, 78 => 17, 75 => 16, 72 => 15, 69 => 14, 67 => 13, 64 => 12, 58 => 10, 56 => 9, 52 => 8, 43 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "database/structure/table_header.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/table_header.twig"); } } twig/76/76a50363c1646f9d1eaba8c508f3ea37.php 0000644 00000053461 15114741573 0013064 0 ustar 00 <?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/query.twig */ class __TwigTemplate_710a7c07273e4b950eb4bd18088178de 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 PhpMyAdmin\Url::getFromRoute("/import"); yield "\" class=\"ajax lock-page\" id=\"sqlqueryform\" name=\"sqlform\""; // line 2 yield ((($context["is_upload"] ?? null)) ? (" enctype=\"multipart/form-data\"") : ("")); yield "> "; // line 3 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); yield " <input type=\"hidden\" name=\"is_js_confirmed\" value=\"0\"> <input type=\"hidden\" name=\"pos\" value=\"0\"> <input type=\"hidden\" name=\"goto\" value=\""; // line 6 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["goto"] ?? null), "html", null, true); yield "\"> <input type=\"hidden\" name=\"message_to_show\" value=\""; yield _gettext("Your SQL query has been executed successfully."); // line 7 yield "\"> <input type=\"hidden\" name=\"prev_sql_query\" value=\""; // line 8 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["query"] ?? null), "html", null, true); yield "\"> "; // line 10 if (((($context["display_tab"] ?? null) == "full") || (($context["display_tab"] ?? null) == "sql"))) { // line 11 yield " <a id=\"querybox\"></a> <div class=\"card mb-3\"> <div class=\"card-header\">"; // line 14 yield ($context["legend"] ?? null); yield "</div> <div class=\"card-body\"> <div id=\"queryfieldscontainer\"> <div class=\"row\"> <div class=\"col\"> <div class=\"mb-3\"> <textarea class=\"form-control\" tabindex=\"100\" name=\"sql_query\" id=\"sqlquery\" cols=\""; // line 20 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["textarea_cols"] ?? null), "html", null, true); yield "\" rows=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["textarea_rows"] ?? null), "html", null, true); yield "\" data-textarea-auto-select=\""; yield ((($context["textarea_auto_select"] ?? null)) ? ("true") : ("false")); yield "\" aria-label=\""; yield _gettext("SQL query"); yield "\">"; // line 21 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["query"] ?? null), "html", null, true); // line 22 yield "</textarea> </div> <div id=\"querymessage\"></div> <div class=\"btn-toolbar\" role=\"toolbar\"> "; // line 27 if ( !Twig\Extension\CoreExtension::testEmpty(($context["columns_list"] ?? null))) { // line 28 yield " <div class=\"btn-group me-2\" role=\"group\"> <input type=\"button\" value=\"SELECT *\" id=\"selectall\" class=\"btn btn-secondary button sqlbutton\"> <input type=\"button\" value=\"SELECT\" id=\"select\" class=\"btn btn-secondary button sqlbutton\"> <input type=\"button\" value=\"INSERT\" id=\"insert\" class=\"btn btn-secondary button sqlbutton\"> <input type=\"button\" value=\"UPDATE\" id=\"update\" class=\"btn btn-secondary button sqlbutton\"> <input type=\"button\" value=\"DELETE\" id=\"delete\" class=\"btn btn-secondary button sqlbutton\"> </div> "; } // line 36 yield " <div class=\"btn-group me-2\" role=\"group\"> <input type=\"button\" value=\""; yield _gettext("Clear"); // line 38 yield "\" id=\"clear\" class=\"btn btn-secondary button sqlbutton\"> "; // line 39 if (($context["codemirror_enable"] ?? null)) { // line 40 yield " <input type=\"button\" value=\""; yield _gettext("Format"); yield "\" id=\"format\" class=\"btn btn-secondary button sqlbutton\"> "; } // line 42 yield " </div> <input type=\"button\" value=\""; yield _gettext("Get auto-saved query"); // line 44 yield "\" id=\"saved\" class=\"btn btn-secondary button sqlbutton\"> </div> <div class=\"my-3\"> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"parameterized\" id=\"parameterized\"> <label class=\"form-check-label\" for=\"parameterized\"> "; // l10n: Bind parameters in the SQL query using :parameterName format yield _gettext("Bind parameters"); // line 52 yield " "; yield PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-40"); yield " </label> </div> </div> <div class=\"mb-3\" id=\"parametersDiv\"></div> </div> "; // line 59 if ( !Twig\Extension\CoreExtension::testEmpty(($context["columns_list"] ?? null))) { // line 60 yield " <div class=\"col-xl-2 col-lg-3\"> <div class=\"mb-3\"> <label class=\"visually-hidden\" for=\"fieldsSelect\">"; yield _gettext("Columns"); // line 62 yield "</label> <select class=\"form-select resize-vertical\" id=\"fieldsSelect\" name=\"dummy\" size=\""; // line 63 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["textarea_rows"] ?? null), "html", null, true); yield "\" ondblclick=\"Functions.insertValueQuery()\" multiple> "; // line 64 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["columns_list"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["field"]) { // line 65 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::backquote((($__internal_compile_0 = $context["field"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["Field"] ?? null) : null)), "html", null, true); yield "\""; // line 66 (((( !(null === (($__internal_compile_1 = $context["field"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["Field"] ?? null) : null)) && !(null === (($__internal_compile_2 = $context["field"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["Comment"] ?? null) : null))) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), (($__internal_compile_3 = $context["field"]) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["Field"] ?? null) : null)) > 0))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((" title=\"" . (($__internal_compile_4 = $context["field"]) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["Comment"] ?? null) : null)) . "\""), "html", null, true)) : (yield "")); yield "> "; // line 67 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_5 = $context["field"]) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["Field"] ?? null) : null), "html", null, true); yield " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 70 yield " </select> </div> <input type=\"button\" class=\"btn btn-secondary button\" id=\"insertBtn\" name=\"insert\" value=\""; // line 74 if (PhpMyAdmin\Util::showIcons("ActionLinksMode")) { yield "<<\" title=\""; } yield _gettext("Insert"); // line 75 yield "\"> </div> "; } // line 78 yield " </div> </div> "; // line 81 if (($context["has_bookmark"] ?? null)) { // line 82 yield " <div class=\"row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-6\"> <label class=\"form-label\" for=\"bkm_label\">"; yield _gettext("Bookmark this SQL query:"); // line 84 yield "</label> </div> <div class=\"col-6\"> <input class=\"form-control\" type=\"text\" name=\"bkm_label\" id=\"bkm_label\" tabindex=\"110\" value=\"\"> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"bkm_all_users\" tabindex=\"111\" id=\"id_bkm_all_users\" value=\"true\"> <label class=\"form-check-label\" for=\"id_bkm_all_users\">"; yield _gettext("Let every user access this bookmark"); // line 93 yield "</label> </div> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"bkm_replace\" tabindex=\"112\" id=\"id_bkm_replace\" value=\"true\"> <label class=\"form-check-label\" for=\"id_bkm_replace\">"; yield _gettext("Replace existing bookmark of same name"); // line 100 yield "</label> </div> </div> </div> "; } // line 105 yield " </div> <div class=\"card-footer\"> <div class=\"row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-12\"> <div class=\"input-group me-2\"> <span class=\"input-group-text\">"; yield _gettext("Delimiter"); // line 110 yield "</span> <label class=\"visually-hidden\" for=\"id_sql_delimiter\">"; yield _gettext("Delimiter"); // line 111 yield "</label> <input class=\"form-control\" type=\"text\" name=\"sql_delimiter\" tabindex=\"131\" size=\"3\" value=\""; // line 112 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["delimiter"] ?? null), "html", null, true); yield "\" id=\"id_sql_delimiter\"> </div> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"show_query\" value=\"1\" id=\"checkbox_show_query\" tabindex=\"132\"> <label class=\"form-check-label\" for=\"checkbox_show_query\">"; yield _gettext("Show this query here again"); // line 119 yield "</label> </div> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"retain_query_box\" value=\"1\" id=\"retain_query_box\" tabindex=\"133\""; // line 126 yield ((($context["retain_query_box"] ?? null)) ? (" checked") : ("")); yield "> <label class=\"form-check-label\" for=\"retain_query_box\">"; yield _gettext("Retain query box"); // line 127 yield "</label> </div> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"rollback_query\" value=\"1\" id=\"rollback_query\" tabindex=\"134\"> <label class=\"form-check-label\" for=\"rollback_query\">"; yield _gettext("Rollback when finished"); // line 134 yield "</label> </div> </div> <div class=\"col-12\"> <div class=\"form-check\"> <input type=\"hidden\" name=\"fk_checks\" value=\"0\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"fk_checks\" id=\"fk_checks\" value=\"1\""; // line 141 yield ((($context["is_foreign_key_check"] ?? null)) ? (" checked") : ("")); yield "> <label class=\"form-check-label\" for=\"fk_checks\">"; yield _gettext("Enable foreign key checks"); // line 142 yield "</label> </div> </div> <div class=\"col-12\"> <input class=\"btn btn-primary ms-1\" type=\"submit\" id=\"button_submit_query\" name=\"SQL\" tabindex=\"200\" value=\""; yield _gettext("Go"); // line 147 yield "\"> </div> </div> </div> </div> "; } // line 153 yield " "; // line 154 if (((($context["display_tab"] ?? null) == "full") && !Twig\Extension\CoreExtension::testEmpty(($context["bookmarks"] ?? null)))) { // line 155 yield " <div class=\"card mb-3\"> <div class=\"card-header\">"; yield _gettext("Bookmarked SQL query"); // line 156 yield "</div> <div class=\"card-body\"> <div class=\"row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-6\"> <label class=\"form-label\" for=\"id_bookmark\">"; yield _gettext("Bookmark:"); // line 160 yield "</label> </div> <div class=\"col-6\"> <select class=\"form-select\" name=\"id_bookmark\" id=\"id_bookmark\"> <option value=\"\"> </option> "; // line 165 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["bookmarks"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["bookmark"]) { // line 166 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["bookmark"], "id", [], "any", false, false, false, 166), "html", null, true); yield "\" data-varcount=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["bookmark"], "variable_count", [], "any", false, false, false, 166), "html", null, true); yield "\"> "; // line 167 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["bookmark"], "label", [], "any", false, false, false, 167), "html", null, true); yield " "; // line 168 if (CoreExtension::getAttribute($this->env, $this->source, $context["bookmark"], "is_shared", [], "any", false, false, false, 168)) { // line 169 yield " ("; yield _gettext("shared"); yield ") "; } // line 171 yield " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bookmark'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 173 yield " </select> </div> <div class=\"form-check form-check-inline col-12\"> <input class=\"form-check-input\" type=\"radio\" name=\"action_bookmark\" value=\"0\" id=\"radio_bookmark_exe\" checked> <label class=\"form-check-label\" for=\"radio_bookmark_exe\">"; yield _gettext("Submit"); // line 178 yield "</label> </div> <div class=\"form-check form-check-inline col-12\"> <input class=\"form-check-input\" type=\"radio\" name=\"action_bookmark\" value=\"1\" id=\"radio_bookmark_view\"> <label class=\"form-check-label\" for=\"radio_bookmark_view\">"; yield _gettext("View only"); // line 182 yield "</label> </div> <div class=\"form-check form-check-inline col-12\"> <input class=\"form-check-input\" type=\"radio\" name=\"action_bookmark\" value=\"2\" id=\"radio_bookmark_del\"> <label class=\"form-check-label\" for=\"radio_bookmark_del\">"; yield _gettext("Delete"); // line 186 yield "</label> </div> </div> <div class=\"hide\"> "; yield _gettext("Variables"); // line 192 yield " "; yield PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faqbookmark"); yield " <div class=\"row row-cols-auto\" id=\"bookmarkVariables\"></div> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-secondary\" type=\"submit\" name=\"SQL\" id=\"button_submit_bookmark\" value=\""; yield _gettext("Go"); // line 198 yield "\"> </div> </div> "; } // line 202 yield " "; // line 203 if (($context["can_convert_kanji"] ?? null)) { // line 204 yield " <div class=\"card mb-3\"> <div class=\"card-body\"> "; // line 206 yield from $this->loadTemplate("encoding/kanji_encoding_form.twig", "sql/query.twig", 206)->unwrap()->yield($context); // line 207 yield " </div> </div> "; } // line 210 yield "</form> <div id=\"sqlqueryresultsouter\"></div> <div class=\"modal fade\" id=\"simulateDmlModal\" tabindex=\"-1\" aria-labelledby=\"simulateDmlModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"simulateDmlModalLabel\">"; yield _gettext("Simulate query"); // line 218 yield "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Close"); // line 219 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 224 yield "</button> </div> </div> </div> </div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "sql/query.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 463 => 224, 455 => 219, 451 => 218, 440 => 210, 435 => 207, 433 => 206, 429 => 204, 427 => 203, 424 => 202, 418 => 198, 407 => 192, 399 => 186, 392 => 182, 385 => 178, 377 => 173, 370 => 171, 364 => 169, 362 => 168, 358 => 167, 351 => 166, 347 => 165, 340 => 160, 333 => 156, 329 => 155, 327 => 154, 324 => 153, 316 => 147, 308 => 142, 303 => 141, 294 => 134, 284 => 127, 279 => 126, 271 => 119, 260 => 112, 257 => 111, 253 => 110, 245 => 105, 238 => 100, 228 => 93, 216 => 84, 211 => 82, 209 => 81, 204 => 78, 199 => 75, 194 => 74, 189 => 70, 180 => 67, 176 => 66, 172 => 65, 168 => 64, 164 => 63, 161 => 62, 156 => 60, 154 => 59, 143 => 52, 132 => 44, 127 => 42, 121 => 40, 119 => 39, 116 => 38, 111 => 36, 101 => 28, 99 => 27, 92 => 22, 90 => 21, 81 => 20, 72 => 14, 67 => 11, 65 => 10, 60 => 8, 57 => 7, 52 => 6, 46 => 3, 42 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "sql/query.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/sql/query.twig"); } } twig/76/7680b73fa035603af074a64ec837a7f5.php 0000644 00000004462 15114741573 0012723 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* modals/create_view.twig */ class __TwigTemplate_89ec088aaa4abc621622b6e4223a8b93 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 echo "<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\">"; echo _gettext("Create view"); // line 5 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 6 echo "\"></button> </div> <div class=\"modal-body\"></div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"createViewModalGoButton\">"; echo _gettext("Go"); // line 10 echo "</button> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 11 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "modals/create_view.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 59 => 11, 55 => 10, 48 => 6, 44 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "modals/create_view.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/create_view.twig"); } } twig/76/7642c21b2c4ea34e3ab8d59166905b19.php 0000644 00000065334 15114741573 0012722 0 ustar 00 <?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; /* database/structure/structure_table_row.twig */ class __TwigTemplate_8cc605a436f603b32aa07bb30409d3af 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 id=\"row_tbl_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["curr"] ?? null), "html", null, true); yield "\""; yield ((($context["table_is_view"] ?? null)) ? (" class=\"is_view\"") : ("")); yield " data-filter-row=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::upper($this->env->getCharset(), (($__internal_compile_0 = ($context["current_table"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["TABLE_NAME"] ?? null) : null)), "html", null, true); yield "\"> <td class=\"text-center d-print-none\"> <input type=\"checkbox\" name=\"selected_tbl[]\" class=\""; // line 5 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["input_class"] ?? null), "html", null, true); yield "\" value=\""; // line 6 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_1 = ($context["current_table"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["TABLE_NAME"] ?? null) : null), "html", null, true); yield "\" id=\"checkbox_tbl_"; // line 7 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["curr"] ?? null), "html", null, true); yield "\"> </td> <th> <a href=\""; // line 10 yield PhpMyAdmin\Url::getFromRoute("/sql", Twig\Extension\CoreExtension::merge(($context["table_url_params"] ?? null), ["pos" => 0])); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["browse_table_label_title"] ?? null), "html", null, true); yield "\">"; // line 11 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["browse_table_label_truename"] ?? null), "html", null, true); // line 12 yield "</a> "; // line 13 yield ($context["tracking_icon"] ?? null); yield " </th> "; // line 15 if (($context["server_replica_status"] ?? null)) { // line 16 yield " <td class=\"text-center\"> "; // line 17 yield ((($context["ignored"] ?? null)) ? (PhpMyAdmin\Html\Generator::getImage("s_cancel", _gettext("Not replicated"))) : ("")); yield " "; // line 18 yield ((($context["do"] ?? null)) ? (PhpMyAdmin\Html\Generator::getImage("s_success", _gettext("Replicated"))) : ("")); yield " </td> "; } // line 21 yield " "; // line 23 yield " "; if ((($context["num_favorite_tables"] ?? null) > 0)) { // line 24 yield " <td class=\"text-center d-print-none\"> "; // line 26 yield " "; $context["fav_params"] = ["db" => // line 27 ($context["db"] ?? null), "ajax_request" => true, "favorite_table" => (($__internal_compile_2 = // line 29 ($context["current_table"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["TABLE_NAME"] ?? null) : null), ((( // line 30 ($context["already_favorite"] ?? null)) ? ("remove") : ("add")) . "_favorite") => true]; // line 32 yield " "; yield from $this->loadTemplate("database/structure/favorite_anchor.twig", "database/structure/structure_table_row.twig", 32)->unwrap()->yield(CoreExtension::toArray(["table_name_hash" => // line 33 ($context["table_name_hash"] ?? null), "db_table_name_hash" => // line 34 ($context["db_table_name_hash"] ?? null), "fav_params" => // line 35 ($context["fav_params"] ?? null), "already_favorite" => // line 36 ($context["already_favorite"] ?? null)])); // line 38 yield " </td> "; } // line 40 yield " <td class=\"text-center d-print-none\"> <a href=\""; // line 42 yield PhpMyAdmin\Url::getFromRoute("/sql", Twig\Extension\CoreExtension::merge(($context["table_url_params"] ?? null), ["pos" => 0])); yield "\"> "; // line 43 yield ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_browse", _gettext("Browse")))); yield " </a> </td> <td class=\"text-center d-print-none\"> <a href=\""; // line 47 yield PhpMyAdmin\Url::getFromRoute("/table/structure", ($context["table_url_params"] ?? null)); yield "\"> "; // line 48 yield PhpMyAdmin\Html\Generator::getIcon("b_props", _gettext("Structure")); yield " </a> </td> <td class=\"text-center d-print-none\"> <a href=\""; // line 52 yield PhpMyAdmin\Url::getFromRoute("/table/search", ($context["table_url_params"] ?? null)); yield "\"> "; // line 53 yield ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_select", _gettext("Search"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_select", _gettext("Search")))); yield " </a> </td> "; // line 57 if ( !($context["db_is_system_schema"] ?? null)) { // line 58 yield " <td class=\"insert_table text-center d-print-none\"> <a href=\""; // line 59 yield PhpMyAdmin\Url::getFromRoute("/table/change", ($context["table_url_params"] ?? null)); yield "\">"; yield PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Insert")); yield "</a> </td> "; // line 61 if (($context["table_is_view"] ?? null)) { // line 62 yield " <td class=\"text-center d-print-none\"> <a href=\""; // line 63 yield PhpMyAdmin\Url::getFromRoute("/view/create", ["db" => // line 64 ($context["db"] ?? null), "table" => (($__internal_compile_3 = // line 65 ($context["current_table"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["TABLE_NAME"] ?? null) : null)]); // line 66 yield "\">"; yield PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit")); yield "</a> </td> "; } else { // line 69 yield " <td class=\"text-center d-print-none\"> <a class=\"truncate_table_anchor ajax\" href=\""; // line 70 yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(Twig\Extension\CoreExtension::merge(($context["table_url_params"] ?? null), ["sql_query" => // line 71 ($context["empty_table_sql_query"] ?? null), "message_to_show" => // line 72 ($context["empty_table_message_to_show"] ?? null)]), ""); // line 73 yield "\"> "; // line 74 yield ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_empty", _gettext("Empty"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_empty", _gettext("Empty")))); yield " </a> </td> "; } // line 78 yield " <td class=\"text-center d-print-none\"> <a class=\"ajax drop_table_anchor"; // line 80 yield ((($context["table_is_view"] ?? null)) ? (" view") : ("")); yield "\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" data-post=\""; // line 81 yield PhpMyAdmin\Url::getCommon(Twig\Extension\CoreExtension::merge(($context["table_url_params"] ?? null), ["reload" => 1, "purge" => 1, "sql_query" => // line 84 ($context["drop_query"] ?? null), "message_to_show" => // line 85 ($context["drop_message"] ?? null)]), ""); // line 86 yield "\"> "; // line 87 yield PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); yield " </a> </td> "; } // line 91 yield " "; // line 92 if ((CoreExtension::getAttribute($this->env, $this->source, ($context["current_table"] ?? null), "TABLE_ROWS", [], "array", true, true, false, 92) && (((($__internal_compile_4 = // line 93 ($context["current_table"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["ENGINE"] ?? null) : null) != null) || ($context["table_is_view"] ?? null)))) { // line 94 yield " "; // line 95 yield " "; $context["row_count"] = PhpMyAdmin\Util::formatNumber((($__internal_compile_5 = ($context["current_table"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["TABLE_ROWS"] ?? null) : null), 0); // line 96 yield " "; // line 99 yield " <td class=\"value tbl_rows font-monospace text-end\" data-table=\""; // line 100 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_6 = ($context["current_table"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["TABLE_NAME"] ?? null) : null), "html", null, true); yield "\"> "; // line 101 if (($context["approx_rows"] ?? null)) { // line 102 yield " <a href=\""; yield PhpMyAdmin\Url::getFromRoute("/database/structure/real-row-count", ["ajax_request" => true, "db" => // line 104 ($context["db"] ?? null), "table" => (($__internal_compile_7 = // line 105 ($context["current_table"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["TABLE_NAME"] ?? null) : null)]); // line 106 yield "\" class=\"ajax real_row_count\"> <bdi> ~"; // line 108 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_count"] ?? null), "html", null, true); yield " </bdi> </a> "; } else { // line 112 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_count"] ?? null), "html", null, true); yield " "; } // line 114 yield " "; yield ($context["show_superscript"] ?? null); yield " </td> "; // line 117 if ( !(($context["properties_num_columns"] ?? null) > 1)) { // line 118 yield " <td class=\"text-nowrap\"> "; // line 119 if ( !Twig\Extension\CoreExtension::testEmpty((($__internal_compile_8 = ($context["current_table"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["ENGINE"] ?? null) : null))) { // line 120 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_9 = ($context["current_table"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["ENGINE"] ?? null) : null), "html", null, true); yield " "; } elseif ( // line 121 ($context["table_is_view"] ?? null)) { // line 122 yield " "; yield _gettext("View"); // line 123 yield " "; } // line 124 yield " </td> "; // line 125 if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["collation"] ?? null)) > 0)) { // line 126 yield " <td class=\"text-nowrap\"> "; // line 127 yield ($context["collation"] ?? null); yield " </td> "; } // line 130 yield " "; } // line 131 yield " "; // line 132 if (($context["is_show_stats"] ?? null)) { // line 133 yield " <td class=\"value tbl_size font-monospace text-end\"> <a href=\""; // line 134 yield PhpMyAdmin\Url::getFromRoute("/table/structure", ($context["table_url_params"] ?? null)); yield "#showusage\"> <span>"; // line 135 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["formatted_size"] ?? null), "html", null, true); yield "</span> <span class=\"unit\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unit"] ?? null), "html", null, true); yield "</span> </a> </td> <td class=\"value tbl_overhead font-monospace text-end\"> "; // line 139 yield ($context["overhead"] ?? null); yield " </td> "; } // line 142 yield " "; // line 143 if (($context["show_charset"] ?? null)) { // line 144 yield " <td class=\"text-nowrap\"> "; // line 145 if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["charset"] ?? null)) > 0)) { // line 146 yield " "; yield ($context["charset"] ?? null); yield " "; } // line 148 yield " </td> "; } // line 150 yield " "; // line 151 if (($context["show_comment"] ?? null)) { // line 152 yield " "; $context["comment"] = (($__internal_compile_10 = ($context["current_table"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["Comment"] ?? null) : null); // line 153 yield " <td> "; // line 154 if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["comment"] ?? null)) > ($context["limit_chars"] ?? null))) { // line 155 yield " <abbr title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["comment"] ?? null), "html", null, true); yield "\"> "; // line 156 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::slice($this->env->getCharset(), ($context["comment"] ?? null), 0, ($context["limit_chars"] ?? null)), "html", null, true); yield " ... </abbr> "; } else { // line 160 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["comment"] ?? null), "html", null, true); yield " "; } // line 162 yield " </td> "; } // line 164 yield " "; // line 165 if (($context["show_creation"] ?? null)) { // line 166 yield " <td class=\"value tbl_creation font-monospace text-end\"> "; // line 167 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["create_time"] ?? null), "html", null, true); yield " </td> "; } // line 170 yield " "; // line 171 if (($context["show_last_update"] ?? null)) { // line 172 yield " <td class=\"value tbl_last_update font-monospace text-end\"> "; // line 173 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["update_time"] ?? null), "html", null, true); yield " </td> "; } // line 176 yield " "; // line 177 if (($context["show_last_check"] ?? null)) { // line 178 yield " <td class=\"value tbl_last_check font-monospace text-end\"> "; // line 179 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["check_time"] ?? null), "html", null, true); yield " </td> "; } // line 182 yield " "; } elseif ( // line 183 ($context["table_is_view"] ?? null)) { // line 184 yield " <td class=\"value tbl_rows font-monospace text-end\">-</td> <td class=\"text-nowrap\"> "; yield _gettext("View"); // line 187 yield " </td> <td class=\"text-nowrap\">---</td> "; // line 189 if (($context["is_show_stats"] ?? null)) { // line 190 yield " <td class=\"value tbl_size font-monospace text-end\">-</td> <td class=\"value tbl_overhead font-monospace text-end\">-</td> "; } // line 193 yield " "; if (($context["show_charset"] ?? null)) { // line 194 yield " <td></td> "; } // line 196 yield " "; if (($context["show_comment"] ?? null)) { // line 197 yield " <td></td> "; } // line 199 yield " "; if (($context["show_creation"] ?? null)) { // line 200 yield " <td class=\"value tbl_creation font-monospace text-end\">-</td> "; } // line 202 yield " "; if (($context["show_last_update"] ?? null)) { // line 203 yield " <td class=\"value tbl_last_update font-monospace text-end\">-</td> "; } // line 205 yield " "; if (($context["show_last_check"] ?? null)) { // line 206 yield " <td class=\"value tbl_last_check font-monospace text-end\">-</td> "; } // line 208 yield " "; } else { // line 210 yield " "; // line 211 if (($context["db_is_system_schema"] ?? null)) { // line 212 yield " "; $context["action_colspan"] = 2; // line 213 yield " "; } else { // line 214 yield " "; $context["action_colspan"] = 4; // line 215 yield " "; } // line 216 yield " "; if ((($context["num_favorite_tables"] ?? null) > 0)) { // line 217 yield " "; $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); // line 218 yield " "; } // line 219 yield " "; if (($context["show_charset"] ?? null)) { // line 220 yield " "; $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); // line 221 yield " "; } // line 222 yield " "; if (($context["show_comment"] ?? null)) { // line 223 yield " "; $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); // line 224 yield " "; } // line 225 yield " "; if (($context["show_creation"] ?? null)) { // line 226 yield " "; $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); // line 227 yield " "; } // line 228 yield " "; if (($context["show_last_update"] ?? null)) { // line 229 yield " "; $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); // line 230 yield " "; } // line 231 yield " "; if (($context["show_last_check"] ?? null)) { // line 232 yield " "; $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); // line 233 yield " "; } // line 234 yield " <td colspan=\""; // line 235 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["action_colspan"] ?? null), "html", null, true); yield "\" class=\"text-center\"> "; yield _gettext("in use"); // line 238 yield " </td> "; } // line 240 yield "</tr> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/structure/structure_table_row.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 583 => 240, 579 => 238, 573 => 235, 570 => 234, 567 => 233, 564 => 232, 561 => 231, 558 => 230, 555 => 229, 552 => 228, 549 => 227, 546 => 226, 543 => 225, 540 => 224, 537 => 223, 534 => 222, 531 => 221, 528 => 220, 525 => 219, 522 => 218, 519 => 217, 516 => 216, 513 => 215, 510 => 214, 507 => 213, 504 => 212, 502 => 211, 499 => 210, 495 => 208, 491 => 206, 488 => 205, 484 => 203, 481 => 202, 477 => 200, 474 => 199, 470 => 197, 467 => 196, 463 => 194, 460 => 193, 455 => 190, 453 => 189, 449 => 187, 444 => 184, 442 => 183, 439 => 182, 433 => 179, 430 => 178, 428 => 177, 425 => 176, 419 => 173, 416 => 172, 414 => 171, 411 => 170, 405 => 167, 402 => 166, 400 => 165, 397 => 164, 393 => 162, 387 => 160, 380 => 156, 375 => 155, 373 => 154, 370 => 153, 367 => 152, 365 => 151, 362 => 150, 358 => 148, 352 => 146, 350 => 145, 347 => 144, 345 => 143, 342 => 142, 336 => 139, 327 => 135, 323 => 134, 320 => 133, 318 => 132, 315 => 131, 312 => 130, 306 => 127, 303 => 126, 301 => 125, 298 => 124, 295 => 123, 292 => 122, 290 => 121, 285 => 120, 283 => 119, 280 => 118, 278 => 117, 271 => 114, 265 => 112, 258 => 108, 254 => 106, 252 => 105, 251 => 104, 249 => 102, 247 => 101, 243 => 100, 240 => 99, 237 => 96, 234 => 95, 232 => 94, 230 => 93, 229 => 92, 226 => 91, 219 => 87, 216 => 86, 214 => 85, 213 => 84, 212 => 81, 207 => 80, 204 => 78, 197 => 74, 194 => 73, 192 => 72, 191 => 71, 188 => 70, 185 => 69, 178 => 66, 176 => 65, 175 => 64, 174 => 63, 171 => 62, 169 => 61, 162 => 59, 159 => 58, 157 => 57, 150 => 53, 146 => 52, 139 => 48, 135 => 47, 128 => 43, 124 => 42, 120 => 40, 116 => 38, 114 => 36, 113 => 35, 112 => 34, 111 => 33, 109 => 32, 107 => 30, 106 => 29, 105 => 27, 103 => 26, 100 => 24, 97 => 23, 94 => 21, 88 => 18, 84 => 17, 81 => 16, 79 => 15, 74 => 13, 71 => 12, 69 => 11, 64 => 10, 58 => 7, 54 => 6, 50 => 5, 38 => 1,); } public function getSourceContext() { return new Source("", "database/structure/structure_table_row.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/structure_table_row.twig"); } } twig/76/76631423798ab97e7765547ed4a3f89c.php 0000644 00000003454 15114741573 0012624 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/search/column_comparison_operators.twig */ class __TwigTemplate_fe827019cb9e487f8c3927b719c65fef 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 echo "<select class=\"column-operator\" id=\"ColumnOperator"; echo twig_escape_filter($this->env, ($context["search_index"] ?? null), "html", null, true); echo "\" name=\"criteriaColumnOperators["; echo twig_escape_filter($this->env, ($context["search_index"] ?? null), "html", null, true); echo "]\"> "; // line 2 echo ($context["type_operators"] ?? null); echo " </select> "; } public function getTemplateName() { return "table/search/column_comparison_operators.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 44 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "table/search/column_comparison_operators.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/search/column_comparison_operators.twig"); } } twig/d9/d9e9ed423b758da84f64431afbf51967.php 0000644 00000004521 15114741573 0013163 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/bulk_action_modal.twig */ class __TwigTemplate_d9dcf222c93879ec99784e7d0b30c1ec 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 echo "<div class=\"modal fade\" id=\"bulkActionModal\" data-bs-backdrop=\"static\" data-bs-keyboard=\"false\" tabindex=\"-1\" aria-labelledby=\"bulkActionLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog modal-dialog-centered\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"bulkActionLabel\"></h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Cancel"); // line 7 echo "\"></button> </div> <div class=\"modal-body\"></div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Cancel"); // line 11 echo "</button> <button type=\"button\" class=\"btn btn-primary\" id=\"bulkActionContinue\">"; echo _gettext("Continue"); // line 12 echo "</button> </div> </div> </div> </div>"; } public function getTemplateName() { return "database/structure/bulk_action_modal.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 57 => 12, 53 => 11, 46 => 7, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/bulk_action_modal.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/bulk_action_modal.twig"); } } twig/45/451ec8820b48343d6072015f1d36e458.php 0000644 00000052615 15114741573 0012476 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/search/index.twig */ class __TwigTemplate_b23004bae6ea3c262d8698f2ab7c444c 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 echo "<ul class=\"nav nav-pills m-2\"> <li class=\"nav-item\"> <a class=\"nav-link active\" href=\""; // line 3 echo PhpMyAdmin\Url::getFromRoute("/table/search", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "pos" => 0]); echo "\"> "; // line 4 echo PhpMyAdmin\Html\Generator::getIcon("b_search", _gettext("Table search"), false, false, "TabsMode"); echo " </a> </li> <li class=\"nav-item\"> <a class=\"nav-link\" href=\""; // line 9 echo PhpMyAdmin\Url::getFromRoute("/table/zoom-search", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); echo "\"> "; // line 10 echo PhpMyAdmin\Html\Generator::getIcon("b_select", _gettext("Zoom search"), false, false, "TabsMode"); echo " </a> </li> <li class=\"nav-item\"> <a class=\"nav-link\" href=\""; // line 15 echo PhpMyAdmin\Url::getFromRoute("/table/find-replace", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); echo "\"> "; // line 16 echo PhpMyAdmin\Html\Generator::getIcon("b_find_replace", _gettext("Find and replace"), false, false, "TabsMode"); echo " </a> </li> </ul> <form method=\"post\" action=\""; // line 21 echo PhpMyAdmin\Url::getFromRoute("/table/search"); echo "\" name=\"insertForm\" id=\"tbl_search_form\" class=\"ajax lock-page\"> "; // line 22 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"goto\" value=\""; // line 23 echo twig_escape_filter($this->env, ($context["goto"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" name=\"back\" value=\""; // line 24 echo PhpMyAdmin\Url::getFromRoute("/table/search"); echo "\"> <div class=\"card\"> <div class=\"card-header\">"; echo _gettext("Do a \"query by example\" (wildcard: \"%\")"); // line 27 echo "</div> <div class=\"card-body\"> <div id=\"fieldset_table_qbe\"> <div class=\"table-responsive-md jsresponsive\"> <table class=\"table table-striped table-hover table-sm w-auto\"> <thead> <tr> "; // line 35 if (($context["geom_column_flag"] ?? null)) { // line 36 echo " <th>"; echo _gettext("Function"); echo "</th> "; } // line 38 echo " <th>"; echo _gettext("Column"); echo "</th> <th>"; echo _gettext("Type"); // line 39 echo "</th> <th>"; echo _gettext("Collation"); // line 40 echo "</th> <th>"; echo _gettext("Operator"); // line 41 echo "</th> <th>"; echo _gettext("Value"); // line 42 echo "</th> </tr> </thead> <tbody> "; // line 46 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(range(0, (twig_length_filter($this->env, ($context["column_names"] ?? null)) - 1))); foreach ($context['_seq'] as $context["_key"] => $context["column_index"]) { // line 47 echo " <tr class=\"noclick\"> "; // line 49 echo " "; if (($context["geom_column_flag"] ?? null)) { // line 50 echo " "; // line 51 echo " <td> "; // line 52 $context["geom_types"] = PhpMyAdmin\Utils\Gis::getDataTypes(); // line 53 echo " "; if (twig_in_filter((($__internal_compile_0 = ($context["column_types"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[$context["column_index"]] ?? null) : null), ($context["geom_types"] ?? null))) { // line 54 echo " <select class=\"geom_func\" name=\"geom_func["; echo twig_escape_filter($this->env, $context["column_index"], "html", null, true); echo "]\"> "; // line 56 echo " "; $context["funcs"] = PhpMyAdmin\Utils\Gis::getFunctions((($__internal_compile_1 = ($context["column_types"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[$context["column_index"]] ?? null) : null), true, true); // line 57 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["funcs"] ?? null)); foreach ($context['_seq'] as $context["func_name"] => $context["func"]) { // line 58 echo " "; $context["name"] = ((twig_get_attribute($this->env, $this->source, $context["func"], "display", [], "array", true, true, false, 58)) ? ((($__internal_compile_2 = $context["func"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["display"] ?? null) : null)) : ($context["func_name"])); // line 59 echo " <option value=\""; echo twig_escape_filter($this->env, ($context["name"] ?? null), "html", null, true); echo "\"> "; // line 60 echo twig_escape_filter($this->env, ($context["name"] ?? null), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['func_name'], $context['func'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 63 echo " </select> "; } // line 65 echo " </td> "; } // line 67 echo " "; // line 68 echo " <th>"; // line 70 echo twig_escape_filter($this->env, (($__internal_compile_3 = ($context["column_names"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[$context["column_index"]] ?? null) : null), "html", null, true); // line 71 echo "</th> "; // line 72 $context["properties"] = twig_get_attribute($this->env, $this->source, ($context["self"] ?? null), "getColumnProperties", [0 => $context["column_index"], 1 => $context["column_index"]], "method", false, false, false, 72); // line 73 echo " <td dir=\"ltr\"> "; // line 74 echo twig_escape_filter($this->env, (($__internal_compile_4 = ($context["properties"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["type"] ?? null) : null), "html", null, true); echo " </td> <td> "; // line 77 echo twig_escape_filter($this->env, (($__internal_compile_5 = ($context["properties"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["collation"] ?? null) : null), "html", null, true); echo " </td> <td> "; // line 80 echo (($__internal_compile_6 = ($context["properties"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["func"] ?? null) : null); echo " </td> "; // line 83 echo " <td data-type=\""; echo twig_escape_filter($this->env, (($__internal_compile_7 = ($context["properties"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["type"] ?? null) : null), "html", null, true); echo "\"> "; // line 84 echo (($__internal_compile_8 = ($context["properties"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["value"] ?? null) : null); echo " "; // line 86 echo " <input type=\"hidden\" name=\"criteriaColumnNames["; echo twig_escape_filter($this->env, $context["column_index"], "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, (($__internal_compile_9 = ($context["column_names"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9[$context["column_index"]] ?? null) : null), "html", null, true); echo "\"> <input type=\"hidden\" name=\"criteriaColumnTypes["; // line 87 echo twig_escape_filter($this->env, $context["column_index"], "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, (($__internal_compile_10 = ($context["column_types"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10[$context["column_index"]] ?? null) : null), "html", null, true); echo "\"> <input type=\"hidden\" name=\"criteriaColumnCollations["; // line 88 echo twig_escape_filter($this->env, $context["column_index"], "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, (($__internal_compile_11 = ($context["column_collations"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11[$context["column_index"]] ?? null) : null), "html", null, true); echo "\"> </td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column_index'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 92 echo " </tbody> </table> </div> <div id=\"gis_editor\"></div> <div id=\"popup_background\"></div> </div> "; // line 99 if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 100 echo " <div> <button class=\"btn btn-sm btn-secondary\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#searchExtraOptions\" aria-expanded=\""; // line 101 echo (((($context["default_sliders_state"] ?? null) == "open")) ? ("true") : ("false")); echo "\" aria-controls=\"searchExtraOptions\"> "; echo _gettext("Extra options"); // line 103 echo " </button> </div> <div class=\"collapse mt-3"; // line 105 echo (((($context["default_sliders_state"] ?? null) == "open")) ? (" show") : ("")); echo "\" id=\"searchExtraOptions\"> "; } // line 107 echo " "; // line 109 echo " <fieldset> <div class=\"mb-3\"> <label class=\"form-label\" for=\"columnsToDisplaySelect\">"; echo _gettext("Select columns (at least one):"); // line 111 echo "</label> <select class=\"form-select resize-vertical\" id=\"columnsToDisplaySelect\" name=\"columnsToDisplay[]\" size=\""; // line 112 echo twig_escape_filter($this->env, min(twig_length_filter($this->env, ($context["column_names"] ?? null)), 10), "html", null, true); echo "\" multiple> "; // line 113 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["column_names"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["each_field"]) { // line 114 echo " <option value=\""; echo twig_escape_filter($this->env, $context["each_field"], "html", null, true); echo "\" selected> "; // line 115 echo twig_escape_filter($this->env, $context["each_field"], "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['each_field'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 118 echo " </select> </div> <div class=\"form-check mb-3\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"distinct\" value=\"DISTINCT\" id=\"oDistinct\"> <label class=\"form-check-label\" for=\"oDistinct\" dir=\"ltr\" lang=\"en\">DISTINCT</label> </div> </fieldset> "; // line 127 echo " <div class=\"mb-3\"> <label class=\"form-label\" for=\"customWhereClauseInput\"> <em>"; echo _gettext("Or"); // line 129 echo "</em> "; echo _gettext("Add search conditions (body of the \"where\" clause):"); // line 131 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("Functions"); echo " </label> <input class=\"form-control\" id=\"customWhereClauseInput\" type=\"text\" name=\"customWhereClause\" size=\"64\"> </div> "; // line 137 echo " <div class=\"mb-3\"> <label class=\"form-label\" for=\"maxRowsInput\">"; echo _gettext("Number of rows per page"); // line 138 echo "</label> <input class=\"form-control\" id=\"maxRowsInput\" type=\"number\" name=\"session_max_rows\" min=\"1\" value=\""; // line 139 echo twig_escape_filter($this->env, ($context["max_rows"] ?? null), "html", null, true); echo "\" required> </div> "; // line 143 echo " <fieldset> <legend class=\"visually-hidden\">"; echo _gettext("Display order:"); // line 144 echo "</legend> <div class=\"mb-3\"> <label class=\"form-label\" for=\"orderByColumnSelect\">"; echo _gettext("Order by:"); // line 146 echo "</label> <select class=\"form-select\" id=\"orderByColumnSelect\" name=\"orderByColumn\"> <option value=\"--nil--\" selected></option> "; // line 149 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["column_names"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["each_field"]) { // line 150 echo " <option value=\""; echo twig_escape_filter($this->env, $context["each_field"], "html", null, true); echo "\"> "; // line 151 echo twig_escape_filter($this->env, $context["each_field"], "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['each_field'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 154 echo " </select> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"order\" id=\"orderByAscRadio\" value=\"ASC\" checked> <label class=\"form-check-label\" for=\"orderByAscRadio\">"; echo _gettext("Ascending"); // line 159 echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"order\" id=\"orderByDescRadio\" value=\"DESC\"> <label class=\"form-check-label\" for=\"orderByDescRadio\">"; echo _gettext("Descending"); // line 163 echo "</label> </div> </fieldset> "; // line 166 if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 167 echo " </div> "; } // line 169 echo " </div> <div class=\"card-footer\"> <input class=\"btn btn-primary\" type=\"submit\" name=\"submit\" value=\""; echo _gettext("Go"); // line 172 echo "\"> </div> </div> </form> <div class=\"modal fade\" id=\"rangeSearchModal\" tabindex=\"-1\" aria-labelledby=\"rangeSearchModalLabel\" aria-hidden=\"false\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"rangeSearchModalLabel\">"; echo _gettext("Range search"); // line 181 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 182 echo "\"></button> </div> <div class=\"modal-body\"> <fieldset class=\"pma-fieldset\"> <legend id=\"rangeSearchLegend\"></legend> <label for=\"min_value\">"; echo _gettext("Minimum value:"); // line 187 echo "</label> <input type=\"text\" id=\"min_value\"><br> <span class=\"small_font\" id=\"rangeSearchMin\"></span><br> <label for=\"max_value\">"; echo _gettext("Maximum value:"); // line 190 echo "</label> <input type=\"text\" id=\"max_value\"><br> <span class=\"small_font\" id=\"rangeSearchMax\"></span> </fieldset> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"rangeSearchModalGo\">"; echo _gettext("Go"); // line 196 echo "</button> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Cancel"); // line 197 echo "</button> </div> </div> </div> </div> <div id=\"sqlqueryresultsouter\"></div> "; } public function getTemplateName() { return "table/search/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 470 => 197, 466 => 196, 457 => 190, 451 => 187, 443 => 182, 439 => 181, 427 => 172, 421 => 169, 417 => 167, 415 => 166, 410 => 163, 403 => 159, 395 => 154, 386 => 151, 381 => 150, 377 => 149, 372 => 146, 367 => 144, 363 => 143, 357 => 139, 354 => 138, 350 => 137, 341 => 131, 337 => 129, 332 => 127, 322 => 118, 313 => 115, 308 => 114, 304 => 113, 300 => 112, 297 => 111, 292 => 109, 289 => 107, 284 => 105, 280 => 103, 275 => 101, 272 => 100, 270 => 99, 261 => 92, 249 => 88, 243 => 87, 236 => 86, 232 => 84, 227 => 83, 222 => 80, 216 => 77, 210 => 74, 207 => 73, 205 => 72, 202 => 71, 200 => 70, 198 => 68, 196 => 67, 192 => 65, 188 => 63, 179 => 60, 174 => 59, 171 => 58, 166 => 57, 163 => 56, 158 => 54, 155 => 53, 153 => 52, 150 => 51, 148 => 50, 145 => 49, 142 => 47, 138 => 46, 132 => 42, 128 => 41, 124 => 40, 120 => 39, 114 => 38, 108 => 36, 106 => 35, 96 => 27, 89 => 24, 85 => 23, 81 => 22, 77 => 21, 69 => 16, 65 => 15, 57 => 10, 53 => 9, 45 => 4, 41 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "table/search/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/search/index.twig"); } } twig/45/45175eef2529ff1750d016a06e86ccf8.php 0000644 00000065334 15114741573 0013013 0 ustar 00 <?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; /* database/structure/structure_table_row.twig */ class __TwigTemplate_ffb26f807e518db29e18024908ea97c4 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 id=\"row_tbl_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["curr"] ?? null), "html", null, true); yield "\""; yield ((($context["table_is_view"] ?? null)) ? (" class=\"is_view\"") : ("")); yield " data-filter-row=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::upper($this->env->getCharset(), (($__internal_compile_0 = ($context["current_table"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["TABLE_NAME"] ?? null) : null)), "html", null, true); yield "\"> <td class=\"text-center d-print-none\"> <input type=\"checkbox\" name=\"selected_tbl[]\" class=\""; // line 5 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["input_class"] ?? null), "html", null, true); yield "\" value=\""; // line 6 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_1 = ($context["current_table"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["TABLE_NAME"] ?? null) : null), "html", null, true); yield "\" id=\"checkbox_tbl_"; // line 7 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["curr"] ?? null), "html", null, true); yield "\"> </td> <th> <a href=\""; // line 10 yield PhpMyAdmin\Url::getFromRoute("/sql", Twig\Extension\CoreExtension::merge(($context["table_url_params"] ?? null), ["pos" => 0])); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["browse_table_label_title"] ?? null), "html", null, true); yield "\">"; // line 11 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["browse_table_label_truename"] ?? null), "html", null, true); // line 12 yield "</a> "; // line 13 yield ($context["tracking_icon"] ?? null); yield " </th> "; // line 15 if (($context["server_replica_status"] ?? null)) { // line 16 yield " <td class=\"text-center\"> "; // line 17 yield ((($context["ignored"] ?? null)) ? (PhpMyAdmin\Html\Generator::getImage("s_cancel", _gettext("Not replicated"))) : ("")); yield " "; // line 18 yield ((($context["do"] ?? null)) ? (PhpMyAdmin\Html\Generator::getImage("s_success", _gettext("Replicated"))) : ("")); yield " </td> "; } // line 21 yield " "; // line 23 yield " "; if ((($context["num_favorite_tables"] ?? null) > 0)) { // line 24 yield " <td class=\"text-center d-print-none\"> "; // line 26 yield " "; $context["fav_params"] = ["db" => // line 27 ($context["db"] ?? null), "ajax_request" => true, "favorite_table" => (($__internal_compile_2 = // line 29 ($context["current_table"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["TABLE_NAME"] ?? null) : null), ((( // line 30 ($context["already_favorite"] ?? null)) ? ("remove") : ("add")) . "_favorite") => true]; // line 32 yield " "; yield from $this->loadTemplate("database/structure/favorite_anchor.twig", "database/structure/structure_table_row.twig", 32)->unwrap()->yield(CoreExtension::toArray(["table_name_hash" => // line 33 ($context["table_name_hash"] ?? null), "db_table_name_hash" => // line 34 ($context["db_table_name_hash"] ?? null), "fav_params" => // line 35 ($context["fav_params"] ?? null), "already_favorite" => // line 36 ($context["already_favorite"] ?? null)])); // line 38 yield " </td> "; } // line 40 yield " <td class=\"text-center d-print-none\"> <a href=\""; // line 42 yield PhpMyAdmin\Url::getFromRoute("/sql", Twig\Extension\CoreExtension::merge(($context["table_url_params"] ?? null), ["pos" => 0])); yield "\"> "; // line 43 yield ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_browse", _gettext("Browse")))); yield " </a> </td> <td class=\"text-center d-print-none\"> <a href=\""; // line 47 yield PhpMyAdmin\Url::getFromRoute("/table/structure", ($context["table_url_params"] ?? null)); yield "\"> "; // line 48 yield PhpMyAdmin\Html\Generator::getIcon("b_props", _gettext("Structure")); yield " </a> </td> <td class=\"text-center d-print-none\"> <a href=\""; // line 52 yield PhpMyAdmin\Url::getFromRoute("/table/search", ($context["table_url_params"] ?? null)); yield "\"> "; // line 53 yield ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_select", _gettext("Search"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_select", _gettext("Search")))); yield " </a> </td> "; // line 57 if ( !($context["db_is_system_schema"] ?? null)) { // line 58 yield " <td class=\"insert_table text-center d-print-none\"> <a href=\""; // line 59 yield PhpMyAdmin\Url::getFromRoute("/table/change", ($context["table_url_params"] ?? null)); yield "\">"; yield PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Insert")); yield "</a> </td> "; // line 61 if (($context["table_is_view"] ?? null)) { // line 62 yield " <td class=\"text-center d-print-none\"> <a href=\""; // line 63 yield PhpMyAdmin\Url::getFromRoute("/view/create", ["db" => // line 64 ($context["db"] ?? null), "table" => (($__internal_compile_3 = // line 65 ($context["current_table"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["TABLE_NAME"] ?? null) : null)]); // line 66 yield "\">"; yield PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit")); yield "</a> </td> "; } else { // line 69 yield " <td class=\"text-center d-print-none\"> <a class=\"truncate_table_anchor ajax\" href=\""; // line 70 yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(Twig\Extension\CoreExtension::merge(($context["table_url_params"] ?? null), ["sql_query" => // line 71 ($context["empty_table_sql_query"] ?? null), "message_to_show" => // line 72 ($context["empty_table_message_to_show"] ?? null)]), ""); // line 73 yield "\"> "; // line 74 yield ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_empty", _gettext("Empty"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_empty", _gettext("Empty")))); yield " </a> </td> "; } // line 78 yield " <td class=\"text-center d-print-none\"> <a class=\"ajax drop_table_anchor"; // line 80 yield ((($context["table_is_view"] ?? null)) ? (" view") : ("")); yield "\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" data-post=\""; // line 81 yield PhpMyAdmin\Url::getCommon(Twig\Extension\CoreExtension::merge(($context["table_url_params"] ?? null), ["reload" => 1, "purge" => 1, "sql_query" => // line 84 ($context["drop_query"] ?? null), "message_to_show" => // line 85 ($context["drop_message"] ?? null)]), ""); // line 86 yield "\"> "; // line 87 yield PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); yield " </a> </td> "; } // line 91 yield " "; // line 92 if ((CoreExtension::getAttribute($this->env, $this->source, ($context["current_table"] ?? null), "TABLE_ROWS", [], "array", true, true, false, 92) && (((($__internal_compile_4 = // line 93 ($context["current_table"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["ENGINE"] ?? null) : null) != null) || ($context["table_is_view"] ?? null)))) { // line 94 yield " "; // line 95 yield " "; $context["row_count"] = PhpMyAdmin\Util::formatNumber((($__internal_compile_5 = ($context["current_table"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["TABLE_ROWS"] ?? null) : null), 0); // line 96 yield " "; // line 99 yield " <td class=\"value tbl_rows font-monospace text-end\" data-table=\""; // line 100 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_6 = ($context["current_table"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["TABLE_NAME"] ?? null) : null), "html", null, true); yield "\"> "; // line 101 if (($context["approx_rows"] ?? null)) { // line 102 yield " <a href=\""; yield PhpMyAdmin\Url::getFromRoute("/database/structure/real-row-count", ["ajax_request" => true, "db" => // line 104 ($context["db"] ?? null), "table" => (($__internal_compile_7 = // line 105 ($context["current_table"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["TABLE_NAME"] ?? null) : null)]); // line 106 yield "\" class=\"ajax real_row_count\"> <bdi> ~"; // line 108 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_count"] ?? null), "html", null, true); yield " </bdi> </a> "; } else { // line 112 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_count"] ?? null), "html", null, true); yield " "; } // line 114 yield " "; yield ($context["show_superscript"] ?? null); yield " </td> "; // line 117 if ( !(($context["properties_num_columns"] ?? null) > 1)) { // line 118 yield " <td class=\"text-nowrap\"> "; // line 119 if ( !Twig\Extension\CoreExtension::testEmpty((($__internal_compile_8 = ($context["current_table"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["ENGINE"] ?? null) : null))) { // line 120 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_9 = ($context["current_table"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["ENGINE"] ?? null) : null), "html", null, true); yield " "; } elseif ( // line 121 ($context["table_is_view"] ?? null)) { // line 122 yield " "; yield _gettext("View"); // line 123 yield " "; } // line 124 yield " </td> "; // line 125 if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["collation"] ?? null)) > 0)) { // line 126 yield " <td class=\"text-nowrap\"> "; // line 127 yield ($context["collation"] ?? null); yield " </td> "; } // line 130 yield " "; } // line 131 yield " "; // line 132 if (($context["is_show_stats"] ?? null)) { // line 133 yield " <td class=\"value tbl_size font-monospace text-end\"> <a href=\""; // line 134 yield PhpMyAdmin\Url::getFromRoute("/table/structure", ($context["table_url_params"] ?? null)); yield "#showusage\"> <span>"; // line 135 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["formatted_size"] ?? null), "html", null, true); yield "</span> <span class=\"unit\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unit"] ?? null), "html", null, true); yield "</span> </a> </td> <td class=\"value tbl_overhead font-monospace text-end\"> "; // line 139 yield ($context["overhead"] ?? null); yield " </td> "; } // line 142 yield " "; // line 143 if (($context["show_charset"] ?? null)) { // line 144 yield " <td class=\"text-nowrap\"> "; // line 145 if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["charset"] ?? null)) > 0)) { // line 146 yield " "; yield ($context["charset"] ?? null); yield " "; } // line 148 yield " </td> "; } // line 150 yield " "; // line 151 if (($context["show_comment"] ?? null)) { // line 152 yield " "; $context["comment"] = (($__internal_compile_10 = ($context["current_table"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["Comment"] ?? null) : null); // line 153 yield " <td> "; // line 154 if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["comment"] ?? null)) > ($context["limit_chars"] ?? null))) { // line 155 yield " <abbr title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["comment"] ?? null), "html", null, true); yield "\"> "; // line 156 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::slice($this->env->getCharset(), ($context["comment"] ?? null), 0, ($context["limit_chars"] ?? null)), "html", null, true); yield " ... </abbr> "; } else { // line 160 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["comment"] ?? null), "html", null, true); yield " "; } // line 162 yield " </td> "; } // line 164 yield " "; // line 165 if (($context["show_creation"] ?? null)) { // line 166 yield " <td class=\"value tbl_creation font-monospace text-end\"> "; // line 167 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["create_time"] ?? null), "html", null, true); yield " </td> "; } // line 170 yield " "; // line 171 if (($context["show_last_update"] ?? null)) { // line 172 yield " <td class=\"value tbl_last_update font-monospace text-end\"> "; // line 173 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["update_time"] ?? null), "html", null, true); yield " </td> "; } // line 176 yield " "; // line 177 if (($context["show_last_check"] ?? null)) { // line 178 yield " <td class=\"value tbl_last_check font-monospace text-end\"> "; // line 179 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["check_time"] ?? null), "html", null, true); yield " </td> "; } // line 182 yield " "; } elseif ( // line 183 ($context["table_is_view"] ?? null)) { // line 184 yield " <td class=\"value tbl_rows font-monospace text-end\">-</td> <td class=\"text-nowrap\"> "; yield _gettext("View"); // line 187 yield " </td> <td class=\"text-nowrap\">---</td> "; // line 189 if (($context["is_show_stats"] ?? null)) { // line 190 yield " <td class=\"value tbl_size font-monospace text-end\">-</td> <td class=\"value tbl_overhead font-monospace text-end\">-</td> "; } // line 193 yield " "; if (($context["show_charset"] ?? null)) { // line 194 yield " <td></td> "; } // line 196 yield " "; if (($context["show_comment"] ?? null)) { // line 197 yield " <td></td> "; } // line 199 yield " "; if (($context["show_creation"] ?? null)) { // line 200 yield " <td class=\"value tbl_creation font-monospace text-end\">-</td> "; } // line 202 yield " "; if (($context["show_last_update"] ?? null)) { // line 203 yield " <td class=\"value tbl_last_update font-monospace text-end\">-</td> "; } // line 205 yield " "; if (($context["show_last_check"] ?? null)) { // line 206 yield " <td class=\"value tbl_last_check font-monospace text-end\">-</td> "; } // line 208 yield " "; } else { // line 210 yield " "; // line 211 if (($context["db_is_system_schema"] ?? null)) { // line 212 yield " "; $context["action_colspan"] = 2; // line 213 yield " "; } else { // line 214 yield " "; $context["action_colspan"] = 4; // line 215 yield " "; } // line 216 yield " "; if ((($context["num_favorite_tables"] ?? null) > 0)) { // line 217 yield " "; $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); // line 218 yield " "; } // line 219 yield " "; if (($context["show_charset"] ?? null)) { // line 220 yield " "; $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); // line 221 yield " "; } // line 222 yield " "; if (($context["show_comment"] ?? null)) { // line 223 yield " "; $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); // line 224 yield " "; } // line 225 yield " "; if (($context["show_creation"] ?? null)) { // line 226 yield " "; $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); // line 227 yield " "; } // line 228 yield " "; if (($context["show_last_update"] ?? null)) { // line 229 yield " "; $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); // line 230 yield " "; } // line 231 yield " "; if (($context["show_last_check"] ?? null)) { // line 232 yield " "; $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); // line 233 yield " "; } // line 234 yield " <td colspan=\""; // line 235 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["action_colspan"] ?? null), "html", null, true); yield "\" class=\"text-center\"> "; yield _gettext("in use"); // line 238 yield " </td> "; } // line 240 yield "</tr> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/structure/structure_table_row.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 583 => 240, 579 => 238, 573 => 235, 570 => 234, 567 => 233, 564 => 232, 561 => 231, 558 => 230, 555 => 229, 552 => 228, 549 => 227, 546 => 226, 543 => 225, 540 => 224, 537 => 223, 534 => 222, 531 => 221, 528 => 220, 525 => 219, 522 => 218, 519 => 217, 516 => 216, 513 => 215, 510 => 214, 507 => 213, 504 => 212, 502 => 211, 499 => 210, 495 => 208, 491 => 206, 488 => 205, 484 => 203, 481 => 202, 477 => 200, 474 => 199, 470 => 197, 467 => 196, 463 => 194, 460 => 193, 455 => 190, 453 => 189, 449 => 187, 444 => 184, 442 => 183, 439 => 182, 433 => 179, 430 => 178, 428 => 177, 425 => 176, 419 => 173, 416 => 172, 414 => 171, 411 => 170, 405 => 167, 402 => 166, 400 => 165, 397 => 164, 393 => 162, 387 => 160, 380 => 156, 375 => 155, 373 => 154, 370 => 153, 367 => 152, 365 => 151, 362 => 150, 358 => 148, 352 => 146, 350 => 145, 347 => 144, 345 => 143, 342 => 142, 336 => 139, 327 => 135, 323 => 134, 320 => 133, 318 => 132, 315 => 131, 312 => 130, 306 => 127, 303 => 126, 301 => 125, 298 => 124, 295 => 123, 292 => 122, 290 => 121, 285 => 120, 283 => 119, 280 => 118, 278 => 117, 271 => 114, 265 => 112, 258 => 108, 254 => 106, 252 => 105, 251 => 104, 249 => 102, 247 => 101, 243 => 100, 240 => 99, 237 => 96, 234 => 95, 232 => 94, 230 => 93, 229 => 92, 226 => 91, 219 => 87, 216 => 86, 214 => 85, 213 => 84, 212 => 81, 207 => 80, 204 => 78, 197 => 74, 194 => 73, 192 => 72, 191 => 71, 188 => 70, 185 => 69, 178 => 66, 176 => 65, 175 => 64, 174 => 63, 171 => 62, 169 => 61, 162 => 59, 159 => 58, 157 => 57, 150 => 53, 146 => 52, 139 => 48, 135 => 47, 128 => 43, 124 => 42, 120 => 40, 116 => 38, 114 => 36, 113 => 35, 112 => 34, 111 => 33, 109 => 32, 107 => 30, 106 => 29, 105 => 27, 103 => 26, 100 => 24, 97 => 23, 94 => 21, 88 => 18, 84 => 17, 81 => 16, 79 => 15, 74 => 13, 71 => 12, 69 => 11, 64 => 10, 58 => 7, 54 => 6, 50 => 5, 38 => 1,); } public function getSourceContext() { return new Source("", "database/structure/structure_table_row.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/structure_table_row.twig"); } } twig/08/08810cbdd2ba8b03897481c80b412a59.php 0000644 00000002717 15114741573 0012704 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/empty_display.twig */ class __TwigTemplate_084ae912bcb5aeea7ae0888e7bb733e5 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 echo "<td class=\""; echo twig_escape_filter($this->env, ($context["classes"] ?? null), "html", null, true); echo "\"></td> "; } public function getTemplateName() { return "display/results/empty_display.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/empty_display.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/empty_display.twig"); } } twig/08/08bf19804c7b36fe14ec5582ed1ab046.php 0000644 00000053200 15114741573 0013043 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/structure/display_table_stats.twig */ class __TwigTemplate_d11400f315ef684ba56701c95b515d3e 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 echo "<div id=\"tablestatistics\"> <fieldset class=\"pma-fieldset\"> <legend>"; echo _gettext("Information"); // line 3 echo "</legend> "; // line 4 if ((($__internal_compile_0 = ($context["showtable"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["TABLE_COMMENT"] ?? null) : null)) { // line 5 echo " <p> <strong>"; echo _gettext("Table comments:"); // line 6 echo "</strong> "; // line 7 echo twig_escape_filter($this->env, (($__internal_compile_1 = ($context["showtable"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["TABLE_COMMENT"] ?? null) : null), "html", null, true); echo " </p> "; } // line 10 echo " <a id=\"showusage\"></a> "; // line 12 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 13 echo " <table class=\"table table-striped table-hover table-sm w-auto caption-top\"> <caption>"; echo _gettext("Space usage"); // line 14 echo "</caption> <tbody> <tr> <th class=\"name\">"; echo _gettext("Data"); // line 17 echo "</th> <td class=\"value\">"; // line 18 echo twig_escape_filter($this->env, ($context["data_size"] ?? null), "html", null, true); echo "</td> <td class=\"unit\">"; // line 19 echo twig_escape_filter($this->env, ($context["data_unit"] ?? null), "html", null, true); echo "</td> </tr> "; // line 22 if (array_key_exists("index_size", $context)) { // line 23 echo " <tr> <th class=\"name\">"; echo _gettext("Index"); // line 24 echo "</th> <td class=\"value\">"; // line 25 echo twig_escape_filter($this->env, ($context["index_size"] ?? null), "html", null, true); echo "</td> <td class=\"unit\">"; // line 26 echo twig_escape_filter($this->env, ($context["index_unit"] ?? null), "html", null, true); echo "</td> </tr> "; } // line 29 echo " "; // line 30 if (array_key_exists("free_size", $context)) { // line 31 echo " <tr> <th class=\"name\">"; echo _gettext("Overhead"); // line 32 echo "</th> <td class=\"value\">"; // line 33 echo twig_escape_filter($this->env, ($context["free_size"] ?? null), "html", null, true); echo "</td> <td class=\"unit\">"; // line 34 echo twig_escape_filter($this->env, ($context["free_unit"] ?? null), "html", null, true); echo "</td> </tr> <tr> <th class=\"name\">"; echo _gettext("Effective"); // line 37 echo "</th> <td class=\"value\">"; // line 38 echo twig_escape_filter($this->env, ($context["effect_size"] ?? null), "html", null, true); echo "</td> <td class=\"unit\">"; // line 39 echo twig_escape_filter($this->env, ($context["effect_unit"] ?? null), "html", null, true); echo "</td> </tr> "; } // line 42 echo " "; // line 43 if ((array_key_exists("tot_size", $context) && (($context["mergetable"] ?? null) == false))) { // line 44 echo " <tr> <th class=\"name\">"; echo _gettext("Total"); // line 45 echo "</th> <td class=\"value\">"; // line 46 echo twig_escape_filter($this->env, ($context["tot_size"] ?? null), "html", null, true); echo "</td> <td class=\"unit\">"; // line 47 echo twig_escape_filter($this->env, ($context["tot_unit"] ?? null), "html", null, true); echo "</td> </tr> "; } // line 50 echo " </tbody> "; // line 53 echo " "; if (((array_key_exists("free_size", $context) && (((( // line 54 ($context["tbl_storage_engine"] ?? null) == "MYISAM") || ( // line 55 ($context["tbl_storage_engine"] ?? null) == "ARIA")) || ( // line 56 ($context["tbl_storage_engine"] ?? null) == "MARIA")) || ( // line 57 ($context["tbl_storage_engine"] ?? null) == "BDB"))) || (( // line 58 ($context["tbl_storage_engine"] ?? null) == "INNODB") && (($context["innodb_file_per_table"] ?? null) == true)))) { // line 59 echo " <tfoot> <tr class=\"d-print-none\"> <th colspan=\"3\" class=\"center\"> <a href=\""; // line 62 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 63 ($context["db"] ?? null), "table" => // line 64 ($context["table"] ?? null), "sql_query" => ("OPTIMIZE TABLE " . PhpMyAdmin\Util::backquote( // line 65 ($context["table"] ?? null))), "pos" => 0]); // line 67 echo "\"> "; // line 68 echo PhpMyAdmin\Html\Generator::getIcon("b_tbloptimize", _gettext("Optimize table")); echo " </a> </th> </tr> </tfoot> "; } // line 74 echo " </table> "; } // line 76 echo " "; // line 77 $context["avg_size"] = ((array_key_exists("avg_size", $context)) ? (($context["avg_size"] ?? null)) : (null)); // line 78 echo " "; $context["avg_unit"] = ((array_key_exists("avg_unit", $context)) ? (($context["avg_unit"] ?? null)) : (null)); // line 79 echo " <table class=\"table table-striped table-hover table-sm w-auto caption-top\"> <caption>"; echo _gettext("Row statistics"); // line 80 echo "</caption> <tbody> "; // line 82 if (twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Row_format", [], "array", true, true, false, 82)) { // line 83 echo " <tr> <th class=\"name\">"; echo _gettext("Format"); // line 84 echo "</th> "; // line 85 if (((($__internal_compile_2 = ($context["showtable"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["Row_format"] ?? null) : null) == "Fixed")) { // line 86 echo " <td class=\"value\">"; echo _gettext("static"); echo "</td> "; } elseif (((($__internal_compile_3 = // line 87 ($context["showtable"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["Row_format"] ?? null) : null) == "Dynamic")) { // line 88 echo " <td class=\"value\">"; echo _gettext("dynamic"); echo "</td> "; } else { // line 90 echo " <td class=\"value\">"; echo twig_escape_filter($this->env, (($__internal_compile_4 = ($context["showtable"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["Row_format"] ?? null) : null), "html", null, true); echo "</td> "; } // line 92 echo " </tr> "; } // line 94 echo " "; // line 95 if ( !twig_test_empty((($__internal_compile_5 = ($context["showtable"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["Create_options"] ?? null) : null))) { // line 96 echo " <tr> <th class=\"name\">"; echo _gettext("Options"); // line 97 echo "</th> "; // line 98 if (((($__internal_compile_6 = ($context["showtable"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["Create_options"] ?? null) : null) == "partitioned")) { // line 99 echo " <td class=\"value\">"; echo _gettext("partitioned"); echo "</td> "; } else { // line 101 echo " <td class=\"value\">"; echo twig_escape_filter($this->env, (($__internal_compile_7 = ($context["showtable"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["Create_options"] ?? null) : null), "html", null, true); echo "</td> "; } // line 103 echo " </tr> "; } // line 105 echo " "; // line 106 if ( !twig_test_empty(($context["table_collation"] ?? null))) { // line 107 echo " <tr> <th class=\"name\">"; echo _gettext("Collation"); // line 108 echo "</th> <td class=\"value\"> <dfn title=\""; // line 110 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table_collation"] ?? null), "description", [], "any", false, false, false, 110), "html", null, true); echo "\"> "; // line 111 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table_collation"] ?? null), "name", [], "any", false, false, false, 111), "html", null, true); echo " </dfn> </td> </tr> "; } // line 116 echo " "; // line 117 if (( !($context["is_innodb"] ?? null) && twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Rows", [], "array", true, true, false, 117))) { // line 118 echo " <tr> <th class=\"name\">"; echo _gettext("Rows"); // line 119 echo "</th> <td class=\"value\">"; // line 120 echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber((($__internal_compile_8 = ($context["showtable"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["Rows"] ?? null) : null), 0), "html", null, true); echo "</td> </tr> "; } // line 123 echo " "; // line 124 if ((( !($context["is_innodb"] ?? null) && twig_get_attribute($this->env, $this->source, // line 125 ($context["showtable"] ?? null), "Avg_row_length", [], "array", true, true, false, 125)) && ((($__internal_compile_9 = // line 126 ($context["showtable"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["Avg_row_length"] ?? null) : null) > 0))) { // line 127 echo " <tr> <th class=\"name\">"; echo _gettext("Row length"); // line 128 echo "</th> "; // line 129 $context["avg_row_length"] = PhpMyAdmin\Util::formatByteDown((($__internal_compile_10 = ($context["showtable"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["Avg_row_length"] ?? null) : null), 6, 1); // line 130 echo " <td class=\"value\">"; echo twig_escape_filter($this->env, (($__internal_compile_11 = ($context["avg_row_length"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11[0] ?? null) : null), "html", null, true); echo " "; echo twig_escape_filter($this->env, (($__internal_compile_12 = ($context["avg_row_length"] ?? null)) && is_array($__internal_compile_12) || $__internal_compile_12 instanceof ArrayAccess ? ($__internal_compile_12[1] ?? null) : null), "html", null, true); echo "</td> </tr> "; } // line 133 echo " "; // line 134 if ((((( !($context["is_innodb"] ?? null) && twig_get_attribute($this->env, $this->source, // line 135 ($context["showtable"] ?? null), "Data_length", [], "array", true, true, false, 135)) && twig_get_attribute($this->env, $this->source, // line 136 ($context["showtable"] ?? null), "Rows", [], "array", true, true, false, 136)) && ((($__internal_compile_13 = // line 137 ($context["showtable"] ?? null)) && is_array($__internal_compile_13) || $__internal_compile_13 instanceof ArrayAccess ? ($__internal_compile_13["Rows"] ?? null) : null) > 0)) && ( // line 138 ($context["mergetable"] ?? null) == false))) { // line 139 echo " <tr> <th class=\"name\">"; echo _gettext("Row size"); // line 140 echo "</th> <td class=\"value\">"; // line 141 echo twig_escape_filter($this->env, ($context["avg_size"] ?? null), "html", null, true); echo " "; echo twig_escape_filter($this->env, ($context["avg_unit"] ?? null), "html", null, true); echo "</td> </tr> "; } // line 144 echo " "; // line 145 if (twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Auto_increment", [], "array", true, true, false, 145)) { // line 146 echo " <tr> <th class=\"name\">"; echo _gettext("Next autoindex"); // line 147 echo "</th> <td class=\"value\">"; // line 148 echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber((($__internal_compile_14 = ($context["showtable"] ?? null)) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14["Auto_increment"] ?? null) : null), 0), "html", null, true); echo "</td> </tr> "; } // line 151 echo " "; // line 152 if (twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Create_time", [], "array", true, true, false, 152)) { // line 153 echo " <tr> <th class=\"name\">"; echo _gettext("Creation"); // line 154 echo "</th> <td class=\"value\">"; // line 155 echo twig_escape_filter($this->env, PhpMyAdmin\Util::localisedDate(twig_date_format_filter($this->env, (($__internal_compile_15 = ($context["showtable"] ?? null)) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15["Create_time"] ?? null) : null), "U")), "html", null, true); echo "</td> </tr> "; } // line 158 echo " "; // line 159 if (twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Update_time", [], "array", true, true, false, 159)) { // line 160 echo " <tr> <th class=\"name\">"; echo _gettext("Last update"); // line 161 echo "</th> <td class=\"value\">"; // line 162 echo twig_escape_filter($this->env, PhpMyAdmin\Util::localisedDate(twig_date_format_filter($this->env, (($__internal_compile_16 = ($context["showtable"] ?? null)) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16["Update_time"] ?? null) : null), "U")), "html", null, true); echo "</td> </tr> "; } // line 165 echo " "; // line 166 if (twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Check_time", [], "array", true, true, false, 166)) { // line 167 echo " <tr> <th class=\"name\">"; echo _gettext("Last check"); // line 168 echo "</th> <td class=\"value\">"; // line 169 echo twig_escape_filter($this->env, PhpMyAdmin\Util::localisedDate(twig_date_format_filter($this->env, (($__internal_compile_17 = ($context["showtable"] ?? null)) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17["Check_time"] ?? null) : null), "U")), "html", null, true); echo "</td> </tr> "; } // line 172 echo " </tbody> </table> </fieldset> </div> "; } public function getTemplateName() { return "table/structure/display_table_stats.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 450 => 172, 444 => 169, 441 => 168, 437 => 167, 435 => 166, 432 => 165, 426 => 162, 423 => 161, 419 => 160, 417 => 159, 414 => 158, 408 => 155, 405 => 154, 401 => 153, 399 => 152, 396 => 151, 390 => 148, 387 => 147, 383 => 146, 381 => 145, 378 => 144, 370 => 141, 367 => 140, 363 => 139, 361 => 138, 360 => 137, 359 => 136, 358 => 135, 357 => 134, 354 => 133, 345 => 130, 343 => 129, 340 => 128, 336 => 127, 334 => 126, 333 => 125, 332 => 124, 329 => 123, 323 => 120, 320 => 119, 316 => 118, 314 => 117, 311 => 116, 303 => 111, 299 => 110, 295 => 108, 291 => 107, 289 => 106, 286 => 105, 282 => 103, 276 => 101, 270 => 99, 268 => 98, 265 => 97, 261 => 96, 259 => 95, 256 => 94, 252 => 92, 246 => 90, 240 => 88, 238 => 87, 233 => 86, 231 => 85, 228 => 84, 224 => 83, 222 => 82, 218 => 80, 214 => 79, 211 => 78, 209 => 77, 206 => 76, 202 => 74, 193 => 68, 190 => 67, 188 => 65, 187 => 64, 186 => 63, 183 => 62, 178 => 59, 176 => 58, 175 => 57, 174 => 56, 173 => 55, 172 => 54, 170 => 53, 166 => 50, 160 => 47, 156 => 46, 153 => 45, 149 => 44, 147 => 43, 144 => 42, 138 => 39, 134 => 38, 131 => 37, 124 => 34, 120 => 33, 117 => 32, 113 => 31, 111 => 30, 108 => 29, 102 => 26, 98 => 25, 95 => 24, 91 => 23, 89 => 22, 83 => 19, 79 => 18, 76 => 17, 70 => 14, 66 => 13, 64 => 12, 60 => 10, 54 => 7, 51 => 6, 47 => 5, 45 => 4, 42 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "table/structure/display_table_stats.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/structure/display_table_stats.twig"); } } twig/1b/1b9f966d0f6e0b02fdc4489c98537f12.php 0000644 00000006771 15114741573 0013075 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* console/query_action.twig */ class __TwigTemplate_82a489a5b02c315a4c34e261ebad6e10 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 echo "<div class=\""; echo twig_escape_filter($this->env, ($context["parent_div_classes"] ?? null), "html", null, true); echo "\"> "; // line 2 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["content_array"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["content"]) { // line 3 echo " "; if (array_key_exists("content", $context)) { // line 4 echo " <span class=\""; echo twig_escape_filter($this->env, (($__internal_compile_0 = $context["content"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true); echo "\"> "; // line 5 echo twig_escape_filter($this->env, (($__internal_compile_1 = $context["content"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null), "html", null, true); echo " "; // line 6 if (twig_get_attribute($this->env, $this->source, $context["content"], "extraSpan", [], "array", true, true, false, 6)) { // line 7 echo " : <span>"; echo twig_escape_filter($this->env, (($__internal_compile_2 = $context["content"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["extraSpan"] ?? null) : null), "html", null, true); echo "</span> "; } // line 9 echo " </span> "; } // line 11 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 12 echo "</div> "; } public function getTemplateName() { return "console/query_action.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 76 => 12, 70 => 11, 66 => 9, 60 => 7, 58 => 6, 54 => 5, 49 => 4, 46 => 3, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "console/query_action.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/console/query_action.twig"); } } twig/1b/1ba348f61bb8ad1222332233d6f6718a.php 0000644 00000004026 15114741573 0012741 0 ustar 00 <?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_927494d880ad4dc70ce1ea198ec2cc5c 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/recent_favorite_table_no_tables.twig"); } } twig/4f/4fa1721a214ea59e54314d88adb4bb84.php 0000644 00000013006 15114741573 0013116 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* columns_definitions/column_attribute.twig */ class __TwigTemplate_5145b2efc254bde36d37001dbe5e8f76 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 ((array_key_exists("submit_attribute", $context) && (($context["submit_attribute"] ?? null) != false))) { // line 2 echo " "; $context["attribute"] = ($context["submit_attribute"] ?? null); // line 3 echo " "; } elseif ((twig_get_attribute($this->env, $this->source, // line 4 ($context["column_meta"] ?? null), "Extra", [], "array", true, true, false, 4) && (twig_in_filter("on update current_timestamp", (($__internal_compile_0 = // line 5 ($context["column_meta"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["Extra"] ?? null) : null)) || twig_in_filter("on update current_timestamp()", twig_lower_filter($this->env, (($__internal_compile_1 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["Extra"] ?? null) : null)))))) { // line 6 echo " "; $context["attribute"] = "on update CURRENT_TIMESTAMP"; } elseif (twig_get_attribute($this->env, $this->source, // line 7 ($context["extracted_columnspec"] ?? null), "attribute", [], "array", true, true, false, 7)) { // line 8 echo " "; $context["attribute"] = (($__internal_compile_2 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["attribute"] ?? null) : null); } else { // line 10 echo " "; $context["attribute"] = ""; } // line 12 $context["attribute"] = twig_upper_filter($this->env, ($context["attribute"] ?? null)); // line 13 echo "<select name=\"field_attribute["; echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "]\" id=\"field_"; // line 14 echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true); echo "_"; echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); echo "\"> "; // line 15 $context["cnt_attribute_types"] = (twig_length_filter($this->env, ($context["attribute_types"] ?? null)) - 1); // line 16 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(range(0, ($context["cnt_attribute_types"] ?? null))); foreach ($context['_seq'] as $context["_key"] => $context["i"]) { // line 17 echo " <option value=\""; echo twig_escape_filter($this->env, (($__internal_compile_3 = ($context["attribute_types"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[$context["i"]] ?? null) : null), "html", null, true); echo "\""; // line 18 echo (((($context["attribute"] ?? null) == twig_upper_filter($this->env, (($__internal_compile_4 = ($context["attribute_types"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4[$context["i"]] ?? null) : null)))) ? (" selected=\"selected\"") : ("")); echo "> "; // line 19 echo twig_escape_filter($this->env, (($__internal_compile_5 = ($context["attribute_types"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[$context["i"]] ?? null) : null), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 22 echo "</select> "; } public function getTemplateName() { return "columns_definitions/column_attribute.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 97 => 22, 88 => 19, 84 => 18, 80 => 17, 75 => 16, 73 => 15, 67 => 14, 62 => 13, 60 => 12, 56 => 10, 52 => 8, 50 => 7, 47 => 6, 45 => 5, 44 => 4, 42 => 3, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "columns_definitions/column_attribute.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/columns_definitions/column_attribute.twig"); } } twig/b0/b079e76123218f8cb3fc024607f9ab3e.php 0000644 00000010315 15114741573 0013040 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/comment_for_row.twig */ class __TwigTemplate_3e42dd2532e6bb94b364aed01a221bdb 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 ((twig_get_attribute($this->env, $this->source, ($context["comments_map"] ?? null), ($context["table_name"] ?? null), [], "array", true, true, false, 1) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 2 ($context["comments_map"] ?? null), ($context["table_name"] ?? null), [], "array", false, true, false, 2), ($context["column_name"] ?? null), [], "array", true, true, false, 2))) { // line 3 echo " <br><span class=\"tblcomment\" title=\""; echo twig_escape_filter($this->env, (($__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); echo "\"> "; // line 4 if ((twig_length_filter($this->env, (($__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 echo " "; echo twig_escape_filter($this->env, twig_slice($this->env, (($__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); echo "… "; } else { // line 7 echo " "; echo twig_escape_filter($this->env, (($__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); echo " "; } // line 9 echo " </span> "; } } public function getTemplateName() { return "display/results/comment_for_row.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 59 => 9, 53 => 7, 47 => 5, 45 => 4, 40 => 3, 38 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/comment_for_row.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/comment_for_row.twig"); } } twig/26/2647bf7c796dc17dbb125dee912f17dd.php 0000644 00000003256 15114741573 0013225 0 ustar 00 <?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/empty_display.twig */ class __TwigTemplate_560c6dbd5f06c0c90da28c6248292d5f 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 class=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["classes"] ?? null), "html", null, true); yield "\"></td> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "display/results/empty_display.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 38 => 1,); } public function getSourceContext() { return new Source("", "display/results/empty_display.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/empty_display.twig"); } } twig/26/26d3d4b55470ab3813b8ce0d585e0bdb.php 0000644 00000100644 15114741573 0013117 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* home/index.twig */ class __TwigTemplate_ecb0d8ffe2da85350d73930389836611 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 echo " <div id=\"is_git_revision\"></div> "; } // line 4 echo " "; // line 5 echo ($context["message"] ?? null); echo " "; // line 7 echo ($context["partial_logout"] ?? null); echo " <div id=\"maincontainer\"> "; // line 10 echo ($context["sync_favorite_tables"] ?? null); echo " <div class=\"container-fluid\"> <div class=\"row mb-3\"> <div class=\"col-lg-7 col-12\"> "; // line 14 if (($context["has_server"] ?? null)) { // line 15 echo " "; if (($context["is_demo"] ?? null)) { // line 16 echo " <div class=\"card mt-4\"> <div class=\"card-header\"> "; echo _gettext("phpMyAdmin Demo Server"); // line 19 echo " </div> <div class=\"card-body\"> "; // line 21 ob_start(function () { return ''; }); // line 22 echo " "; echo _gettext("You are using the demo server. You can do anything here, but please do not change root, debian-sys-maint and pma users. More information is available at %s."); // line 25 echo " "; $___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 21 echo twig_sprintf($___internal_parse_0_, "<a href=\"url.php?url=https://demo.phpmyadmin.net/\" target=\"_blank\" rel=\"noopener noreferrer\">demo.phpmyadmin.net</a>"); // line 26 echo " </div> </div> "; } // line 29 echo " <div class=\"card mt-4\"> <div class=\"card-header\"> "; echo _gettext("General settings"); // line 33 echo " </div> <ul class=\"list-group list-group-flush\"> "; // line 35 if (($context["has_server_selection"] ?? null)) { // line 36 echo " <li id=\"li_select_server\" class=\"list-group-item\"> "; // line 37 echo PhpMyAdmin\Html\Generator::getImage("s_host"); echo " "; // line 38 echo ($context["server_selection"] ?? null); echo " </li> "; } // line 41 echo " "; // line 42 if ((($context["server"] ?? null) > 0)) { // line 43 echo " "; if (($context["has_change_password_link"] ?? null)) { // line 44 echo " <li id=\"li_change_password\" class=\"list-group-item\"> <a href=\""; // line 45 echo PhpMyAdmin\Url::getFromRoute("/user-password"); echo "\" id=\"change_password_anchor\" class=\"ajax\"> "; // line 46 echo PhpMyAdmin\Html\Generator::getIcon("s_passwd", _gettext("Change password"), true); echo " </a> </li> "; } // line 50 echo " <li id=\"li_select_mysql_collation\" class=\"list-group-item\"> <form method=\"post\" action=\""; // line 52 echo PhpMyAdmin\Url::getFromRoute("/collation-connection"); echo "\" class=\"row row-cols-lg-auto align-items-center disableAjax\"> "; // line 53 echo PhpMyAdmin\Url::getHiddenInputs(null, null, 4, "collation_connection"); echo " <div class=\"col-12\"> <label for=\"collationConnectionSelect\" class=\"col-form-label\"> "; // line 56 echo PhpMyAdmin\Html\Generator::getImage("s_asci"); echo " "; echo _gettext("Server connection collation:"); // line 58 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("charset-connection"); echo " </label> </div> "; // line 61 if ( !twig_test_empty(($context["charsets"] ?? null))) { // line 62 echo " <div class=\"col-12\"> <select lang=\"en\" dir=\"ltr\" name=\"collation_connection\" id=\"collationConnectionSelect\" class=\"form-select autosubmit\"> <option value=\"\">"; echo _gettext("Collation"); // line 64 echo "</option> <option value=\"\"></option> "; // line 66 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 67 echo " <optgroup label=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 67), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 67), "html", null, true); echo "\"> "; // line 68 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 68)); foreach ($context['_seq'] as $context["_key"] => $context["collation"]) { // line 69 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 69), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "description", [], "any", false, false, false, 69), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["collation"], "is_selected", [], "any", false, false, false, 69)) ? (" selected") : ("")); echo ">"; // line 70 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 70), "html", null, true); // line 71 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 73 echo " </optgroup> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 75 echo " </select> </div> "; } // line 78 echo " </form> </li> <li id=\"li_user_preferences\" class=\"list-group-item\"> <a href=\""; // line 82 echo PhpMyAdmin\Url::getFromRoute("/preferences/manage"); echo "\"> "; // line 83 echo PhpMyAdmin\Html\Generator::getIcon("b_tblops", _gettext("More settings"), true); echo " </a> </li> "; } // line 87 echo " </ul> </div> "; } // line 90 echo " <div class=\"card mt-4\"> <div class=\"card-header\"> "; echo _gettext("Appearance settings"); // line 94 echo " </div> <ul class=\"list-group list-group-flush\"> "; // line 96 if ( !twig_test_empty(($context["available_languages"] ?? null))) { // line 97 echo " <li id=\"li_select_lang\" class=\"list-group-item\"> <form method=\"get\" action=\""; // line 98 echo PhpMyAdmin\Url::getFromRoute("/"); echo "\" class=\"row row-cols-lg-auto align-items-center disableAjax\"> "; // line 99 echo PhpMyAdmin\Url::getHiddenInputs(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); echo " <div class=\"col-12\"> <label for=\"languageSelect\" class=\"col-form-label text-nowrap\"> "; // line 102 echo PhpMyAdmin\Html\Generator::getImage("s_lang"); echo " "; echo _gettext("Language"); // line 104 echo " "; if ((_gettext("Language") != "Language")) { // line 105 echo " "; // line 107 echo " <i lang=\"en\" dir=\"ltr\">(Language)</i> "; } // line 109 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq7-2"); echo " </label> </div> <div class=\"col-12\"> <select name=\"lang\" class=\"form-select autosubmit w-auto\" lang=\"en\" dir=\"ltr\" id=\"languageSelect\"> "; // line 114 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["available_languages"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["language"]) { // line 115 echo " <option value=\""; echo twig_escape_filter($this->env, twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["language"], "getCode", [], "method", false, false, false, 115)), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["language"], "isActive", [], "method", false, false, false, 115)) ? (" selected") : ("")); echo ">"; // line 116 echo twig_get_attribute($this->env, $this->source, $context["language"], "getName", [], "method", false, false, false, 116); // line 117 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 119 echo " </select> </div> </form> </li> "; } // line 124 echo " "; // line 125 if (($context["has_theme_manager"] ?? null)) { // line 126 echo " <li id=\"li_select_theme\" class=\"list-group-item\"> <form method=\"post\" action=\""; // line 127 echo PhpMyAdmin\Url::getFromRoute("/themes/set"); echo "\" class=\"row row-cols-lg-auto align-items-center disableAjax\"> "; // line 128 echo PhpMyAdmin\Url::getHiddenInputs(); echo " <div class=\"col-12\"> <label for=\"themeSelect\" class=\"col-form-label\"> "; // line 131 echo PhpMyAdmin\Html\Generator::getIcon("s_theme", _gettext("Theme")); echo " </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 137 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["themes"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["theme"]) { // line 138 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["theme"], "id", [], "any", false, false, false, 138), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["theme"], "is_active", [], "any", false, false, false, 138)) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["theme"], "name", [], "any", false, false, false, 138), "html", null, true); echo "</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 140 echo " </select> <button type=\"button\" class=\"btn btn-outline-secondary\" data-bs-toggle=\"modal\" data-bs-target=\"#themesModal\"> "; echo _pgettext("View all themes", "View all"); // line 143 echo " </button> </div> </div> </form> </li> "; } // line 149 echo " </ul> </div> </div> <div class=\"col-lg-5 col-12\"> "; // line 154 if ( !twig_test_empty(($context["database_server"] ?? null))) { // line 155 echo " <div class=\"card mt-4\"> <div class=\"card-header\"> "; echo _gettext("Database server"); // line 158 echo " </div> <ul class=\"list-group list-group-flush\"> <li class=\"list-group-item\"> "; echo _gettext("Server:"); // line 162 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "host", [], "any", false, false, false, 162), "html", null, true); echo " </li> <li class=\"list-group-item\"> "; echo _gettext("Server type:"); // line 166 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "type", [], "any", false, false, false, 166), "html", null, true); echo " </li> <li class=\"list-group-item\"> "; echo _gettext("Server connection:"); // line 170 echo " "; echo twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "connection", [], "any", false, false, false, 170); echo " </li> <li class=\"list-group-item\"> "; echo _gettext("Server version:"); // line 174 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "version", [], "any", false, false, false, 174), "html", null, true); echo " </li> <li class=\"list-group-item\"> "; echo _gettext("Protocol version:"); // line 178 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "protocol", [], "any", false, false, false, 178), "html", null, true); echo " </li> <li class=\"list-group-item\"> "; echo _gettext("User:"); // line 182 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "user", [], "any", false, false, false, 182), "html", null, true); echo " </li> <li class=\"list-group-item\"> "; echo _gettext("Server charset:"); // line 186 echo " <span lang=\"en\" dir=\"ltr\"> "; // line 187 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "charset", [], "any", false, false, false, 187), "html", null, true); echo " </span> </li> </ul> </div> "; } // line 193 echo " "; // line 194 if (( !twig_test_empty(($context["web_server"] ?? null)) || ($context["show_php_info"] ?? null))) { // line 195 echo " <div class=\"card mt-4\"> <div class=\"card-header\"> "; echo _gettext("Web server"); // line 198 echo " </div> <ul class=\"list-group list-group-flush\"> "; // line 200 if ( !twig_test_empty(($context["web_server"] ?? null))) { // line 201 echo " "; if ( !(null === twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "software", [], "any", false, false, false, 201))) { // line 202 echo " <li class=\"list-group-item\"> "; // line 203 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "software", [], "any", false, false, false, 203), "html", null, true); echo " </li> "; } // line 206 echo " <li class=\"list-group-item\" id=\"li_mysql_client_version\"> "; echo _gettext("Database client version:"); // line 208 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "database", [], "any", false, false, false, 208), "html", null, true); echo " </li> <li class=\"list-group-item\"> "; echo _gettext("PHP extension:"); // line 212 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "php_extensions", [], "any", false, false, false, 212)); foreach ($context['_seq'] as $context["_key"] => $context["extension"]) { // line 213 echo " "; echo twig_escape_filter($this->env, $context["extension"], "html", null, true); echo " "; // line 214 echo PhpMyAdmin\Html\Generator::showPHPDocumentation((("book." . $context["extension"]) . ".php")); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['extension'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 216 echo " </li> <li class=\"list-group-item\"> "; echo _gettext("PHP version:"); // line 219 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "php_version", [], "any", false, false, false, 219), "html", null, true); echo " </li> "; } // line 222 echo " "; if (($context["show_php_info"] ?? null)) { // line 223 echo " <li class=\"list-group-item\"> <a href=\""; // line 224 echo PhpMyAdmin\Url::getFromRoute("/phpinfo"); echo "\" target=\"_blank\" rel=\"noopener noreferrer\"> "; echo _gettext("Show PHP information"); // line 226 echo " </a> </li> "; } // line 229 echo " </ul> </div> "; } // line 232 echo " <div class=\"card mt-4\"> <div class=\"card-header\"> phpMyAdmin </div> <ul class=\"list-group list-group-flush\"> <li id=\"li_pma_version\" class=\"list-group-item"; // line 238 echo ((($context["is_version_checked"] ?? null)) ? (" jsversioncheck") : ("")); echo "\"> "; echo _gettext("Version information:"); // line 240 echo " <span class=\"version\">"; echo twig_escape_filter($this->env, ($context["phpmyadmin_version"] ?? null), "html", null, true); echo "</span> </li> <li class=\"list-group-item\"> <a href=\""; // line 243 echo PhpMyAdmin\Html\MySQLDocumentation::getDocumentationLink("index"); echo "\" target=\"_blank\" rel=\"noopener noreferrer\"> "; echo _gettext("Documentation"); // line 245 echo " </a> </li> <li class=\"list-group-item\"> <a href=\""; // line 248 echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/"), "html", null, true); echo "\" target=\"_blank\" rel=\"noopener noreferrer\"> "; echo _gettext("Official Homepage"); // line 250 echo " </a> </li> <li class=\"list-group-item\"> <a href=\""; // line 253 echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/contribute/"), "html", null, true); echo "\" target=\"_blank\" rel=\"noopener noreferrer\"> "; echo _gettext("Contribute"); // line 255 echo " </a> </li> <li class=\"list-group-item\"> <a href=\""; // line 258 echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/support/"), "html", null, true); echo "\" target=\"_blank\" rel=\"noopener noreferrer\"> "; echo _gettext("Get support"); // line 260 echo " </a> </li> <li class=\"list-group-item\"> <a href=\""; // line 263 echo PhpMyAdmin\Url::getFromRoute("/changelog"); echo "\" target=\"_blank\"> "; echo _gettext("List of changes"); // line 265 echo " </a> </li> <li class=\"list-group-item\"> <a href=\""; // line 268 echo PhpMyAdmin\Url::getFromRoute("/license"); echo "\" target=\"_blank\"> "; echo _gettext("License"); // line 270 echo " </a> </li> </ul> </div> </div> </div> "; // line 277 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["errors"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["error"]) { // line 278 echo " <div class=\"alert "; echo (((twig_get_attribute($this->env, $this->source, $context["error"], "severity", [], "any", false, false, false, 278) == "warning")) ? ("alert-warning") : ("alert-info")); echo "\" role=\"alert\"> "; // line 279 if ((twig_get_attribute($this->env, $this->source, $context["error"], "severity", [], "any", false, false, false, 279) == "warning")) { // line 280 echo " "; echo PhpMyAdmin\Html\Generator::getImage("s_attention", _gettext("Warning")); echo " "; } else { // line 282 echo " "; echo PhpMyAdmin\Html\Generator::getImage("s_notice", _gettext("Notice")); echo " "; } // line 284 echo " "; echo PhpMyAdmin\Sanitize::sanitizeMessage(twig_get_attribute($this->env, $this->source, $context["error"], "message", [], "any", false, false, false, 284)); echo " </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 287 echo " </div> </div> "; // line 290 if (($context["has_theme_manager"] ?? null)) { // line 291 echo " <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\">"; echo _gettext("phpMyAdmin Themes"); // line 295 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 296 echo "\"></button> </div> <div class=\"modal-body\"> <div class=\"spinner-border\" role=\"status\"> <span class=\"visually-hidden\">"; echo _gettext("Loading…"); // line 300 echo "</span> </div> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 304 echo "</button> <a href=\""; // line 305 echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/themes/"), "html", null, true); echo "#pma_"; echo twig_escape_filter($this->env, twig_replace_filter(($context["phpmyadmin_major_version"] ?? null), ["." => "_"]), "html", null, true); echo "\" class=\"btn btn-primary\" rel=\"noopener noreferrer\" target=\"_blank\"> "; echo _gettext("Get more themes!"); // line 307 echo " </a> </div> </div> </div> </div> "; } // line 313 echo " "; // line 314 echo ($context["config_storage_message"] ?? null); echo " "; } public function getTemplateName() { return "home/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 715 => 314, 712 => 313, 704 => 307, 697 => 305, 694 => 304, 687 => 300, 680 => 296, 676 => 295, 669 => 291, 667 => 290, 662 => 287, 652 => 284, 646 => 282, 640 => 280, 638 => 279, 633 => 278, 629 => 277, 620 => 270, 615 => 268, 610 => 265, 605 => 263, 600 => 260, 595 => 258, 590 => 255, 585 => 253, 580 => 250, 575 => 248, 570 => 245, 565 => 243, 558 => 240, 553 => 238, 545 => 232, 540 => 229, 535 => 226, 530 => 224, 527 => 223, 524 => 222, 517 => 219, 512 => 216, 504 => 214, 499 => 213, 494 => 212, 486 => 208, 482 => 206, 476 => 203, 473 => 202, 470 => 201, 468 => 200, 464 => 198, 459 => 195, 457 => 194, 454 => 193, 445 => 187, 442 => 186, 434 => 182, 426 => 178, 418 => 174, 410 => 170, 402 => 166, 394 => 162, 388 => 158, 383 => 155, 381 => 154, 374 => 149, 366 => 143, 361 => 140, 348 => 138, 344 => 137, 335 => 131, 329 => 128, 325 => 127, 322 => 126, 320 => 125, 317 => 124, 310 => 119, 303 => 117, 301 => 116, 295 => 115, 291 => 114, 282 => 109, 278 => 107, 276 => 105, 273 => 104, 268 => 102, 262 => 99, 258 => 98, 255 => 97, 253 => 96, 249 => 94, 243 => 90, 238 => 87, 231 => 83, 227 => 82, 221 => 78, 216 => 75, 209 => 73, 202 => 71, 200 => 70, 192 => 69, 188 => 68, 181 => 67, 177 => 66, 173 => 64, 168 => 62, 166 => 61, 159 => 58, 154 => 56, 148 => 53, 144 => 52, 140 => 50, 133 => 46, 129 => 45, 126 => 44, 123 => 43, 121 => 42, 118 => 41, 112 => 38, 108 => 37, 105 => 36, 103 => 35, 99 => 33, 93 => 29, 88 => 26, 86 => 21, 83 => 25, 80 => 22, 78 => 21, 74 => 19, 69 => 16, 66 => 15, 64 => 14, 57 => 10, 51 => 7, 46 => 5, 43 => 4, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "home/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/home/index.twig"); } } twig/03/03c5caa2de955e871f8ce6b633d37a9f.php 0000644 00000003516 15114741573 0013220 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/import/index.twig */ class __TwigTemplate_e5bc68d72c218916c460f5bcb77f05b8 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'title' => [$this, 'block_title'], ]; } protected function doGetParent(array $context) { // line 1 return "import.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $this->parent = $this->loadTemplate("import.twig", "database/import/index.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_title($context, array $blocks = []) { $macros = $this->macros; echo twig_escape_filter($this->env, twig_sprintf(_gettext("Importing into the database \"%s\""), ($context["db"] ?? null)), "html", null, true); } public function getTemplateName() { return "database/import/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 46 => 3, 35 => 1,); } public function getSourceContext() { return new Source("", "database/import/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/import/index.twig"); } } twig/03/0329455ef303df248089f4105659b2ab.php 0000644 00000005154 15114741573 0012546 0 ustar 00 <?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; /* database/structure/favorite_anchor.twig */ class __TwigTemplate_e44526456c659fe2436e19716882d6b1 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 "<a id=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["table_name_hash"] ?? null), "html", null, true); yield "_favorite_anchor\" class=\"ajax favorite_table_anchor\" href=\""; // line 3 yield PhpMyAdmin\Url::getFromRoute("/database/structure/favorite-table", ($context["fav_params"] ?? null)); yield "\" title=\""; // line 4 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((($context["already_favorite"] ?? null)) ? (_gettext("Remove from Favorites")) : (_gettext("Add to Favorites"))), "html", null, true); yield "\" data-favtargets=\""; // line 5 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["db_table_name_hash"] ?? null), "html", null, true); yield "\"> "; // line 6 yield ((($context["already_favorite"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_favorite")) : (PhpMyAdmin\Html\Generator::getIcon("b_no_favorite"))); yield " </a> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/structure/favorite_anchor.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 56 => 6, 52 => 5, 48 => 4, 44 => 3, 38 => 1,); } public function getSourceContext() { return new Source("", "database/structure/favorite_anchor.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/favorite_anchor.twig"); } } twig/03/038cf22219ea071b36f162a209a81be9.php 0000644 00000003503 15114741573 0012663 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* navigation/tree/state.twig */ class __TwigTemplate_e49524b29d94076f03a2a3e6ca256e4e 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 echo ($context["quick_warp"] ?? null); echo " <div class=\"clearfloat\"></div> <ul> "; // line 6 echo ($context["fast_filter"] ?? null); echo " "; // line 7 echo ($context["controls"] ?? null); echo " </ul> "; // line 10 echo ($context["page_selector"] ?? null); echo " <div id='pma_navigation_tree_content'> <ul> "; // line 14 echo ($context["nodes"] ?? null); echo " </ul> </div> "; } public function getTemplateName() { return "navigation/tree/state.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 62 => 14, 55 => 10, 49 => 7, 45 => 6, 37 => 1,); } public function getSourceContext() { return new Source("", "navigation/tree/state.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/state.twig"); } } twig/03/03eab67f3c807c99253a0621d3b9d462.php 0000644 00000043267 15114741573 0012712 0 ustar 00 <?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; /* table/search/input_box.twig */ class __TwigTemplate_def9c2419133a406f735f01694fa9731 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 if ((($context["foreigners"] ?? null) && $this->env->getFunction('search_column_in_foreigners')->getCallable()(($context["foreigners"] ?? null), ($context["column_name"] ?? null)))) { // line 3 yield " "; if (is_iterable((($__internal_compile_0 = ($context["foreign_data"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["disp_row"] ?? null) : null))) { // line 4 yield " <select name=\"criteriaValues["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_index"] ?? null), "html", null, true); yield "]\" id=\""; // line 5 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_id"] ?? null), "html", null, true); yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_index"] ?? null), "html", null, true); yield "\"> "; // line 6 yield $this->env->getFunction('foreign_dropdown')->getCallable()((($__internal_compile_1 = // line 7 ($context["foreign_data"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["disp_row"] ?? null) : null), (($__internal_compile_2 = // line 8 ($context["foreign_data"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["foreign_field"] ?? null) : null), (($__internal_compile_3 = // line 9 ($context["foreign_data"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["foreign_display"] ?? null) : null), "", // line 11 ($context["foreign_max_limit"] ?? null)); // line 12 yield " </select> "; } elseif (((($__internal_compile_4 = // line 14 ($context["foreign_data"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["foreign_link"] ?? null) : null) == true)) { // line 15 yield " <input type=\"text\" id=\""; // line 16 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_id"] ?? null), "html", null, true); yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_index"] ?? null), "html", null, true); yield "\" name=\"criteriaValues["; // line 17 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_index"] ?? null), "html", null, true); yield "]\" id=\"field_"; // line 18 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_name_hash"] ?? null), "html", null, true); yield "["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_index"] ?? null), "html", null, true); yield "]\" class=\"textfield\" "; // line 20 if (CoreExtension::getAttribute($this->env, $this->source, ($context["criteria_values"] ?? null), ($context["column_index"] ?? null), [], "array", true, true, false, 20)) { // line 21 yield " value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_5 = ($context["criteria_values"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[($context["column_index"] ?? null)] ?? null) : null), "html", null, true); yield "\" "; } // line 22 yield "> <a class=\"ajax browse_foreign\" href=\""; // line 23 yield PhpMyAdmin\Url::getFromRoute("/browse-foreigners"); yield "\" data-post=\""; // line 24 yield PhpMyAdmin\Url::getCommon(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)], "", false); // line 25 yield "&field="; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::urlencode(($context["column_name"] ?? null)), "html", null, true); yield "&fieldkey="; // line 26 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_index"] ?? null), "html", null, true); yield "&fromsearch=1\"> "; // line 27 yield PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse foreign values")); yield " </a> "; } } elseif (CoreExtension::inFilter( // line 30 ($context["column_type"] ?? null), PhpMyAdmin\Utils\Gis::getDataTypes())) { // line 31 yield " <input type=\"text\" name=\"criteriaValues["; // line 32 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_index"] ?? null), "html", null, true); yield "]\" size=\"40\" class=\"textfield\" id=\"field_"; // line 35 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_index"] ?? null), "html", null, true); yield "\"> "; // line 36 if (($context["in_fbs"] ?? null)) { // line 37 yield " <span class=\"open_search_gis_editor\"> "; // line 38 yield PhpMyAdmin\Html\Generator::linkOrButton("#", null, PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit/Insert"))); yield " </span> "; } } elseif (((is_string($__internal_compile_6 = // line 41 ($context["column_type"] ?? null)) && is_string($__internal_compile_7 = "enum") && str_starts_with($__internal_compile_6, $__internal_compile_7)) || ((is_string($__internal_compile_8 = // line 42 ($context["column_type"] ?? null)) && is_string($__internal_compile_9 = "set") && str_starts_with($__internal_compile_8, $__internal_compile_9)) && ($context["in_zoom_search_edit"] ?? null)))) { // line 43 yield " "; $context["in_zoom_search_edit"] = false; // line 44 yield " "; $context["value"] = PhpMyAdmin\Util::parseEnumSetValues(($context["column_type"] ?? null)); // line 45 yield " "; $context["cnt_value"] = Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["value"] ?? null)); // line 46 yield " "; // line 52 yield " "; if ((((is_string($__internal_compile_10 = ($context["column_type"] ?? null)) && is_string($__internal_compile_11 = "enum") && str_starts_with($__internal_compile_10, $__internal_compile_11)) && !($context["in_zoom_search_edit"] ?? null)) || ((is_string($__internal_compile_12 = // line 53 ($context["column_type"] ?? null)) && is_string($__internal_compile_13 = "set") && str_starts_with($__internal_compile_12, $__internal_compile_13)) && ($context["in_zoom_search_edit"] ?? null)))) { // line 54 yield " <select name=\"criteriaValues["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_index"] ?? null), "html", null, true); yield "]\" id=\""; // line 55 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_id"] ?? null), "html", null, true); yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_index"] ?? null), "html", null, true); yield "\"> "; } else { // line 57 yield " <select name=\"criteriaValues["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_index"] ?? null), "html", null, true); yield "]\" id=\""; // line 58 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_id"] ?? null), "html", null, true); yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_index"] ?? null), "html", null, true); yield "\" multiple=\"multiple\" size=\""; // line 60 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(min(3, ($context["cnt_value"] ?? null)), "html", null, true); yield "\"> "; } // line 62 yield " "; // line 63 yield " <option value=\"\"></option> "; // line 64 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(range(0, (($context["cnt_value"] ?? null) - 1))); foreach ($context['_seq'] as $context["_key"] => $context["i"]) { // line 65 yield " "; if (((CoreExtension::getAttribute($this->env, $this->source, ($context["criteria_values"] ?? null), ($context["column_index"] ?? null), [], "array", true, true, false, 65) && is_iterable((($__internal_compile_14 = // line 66 ($context["criteria_values"] ?? null)) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14[($context["column_index"] ?? null)] ?? null) : null))) && CoreExtension::inFilter((($__internal_compile_15 = // line 67 ($context["value"] ?? null)) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15[$context["i"]] ?? null) : null), (($__internal_compile_16 = ($context["criteria_values"] ?? null)) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16[($context["column_index"] ?? null)] ?? null) : null)))) { // line 68 yield " <option value=\""; yield (($__internal_compile_17 = ($context["value"] ?? null)) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17[$context["i"]] ?? null) : null); yield "\" selected> "; // line 69 yield (($__internal_compile_18 = ($context["value"] ?? null)) && is_array($__internal_compile_18) || $__internal_compile_18 instanceof ArrayAccess ? ($__internal_compile_18[$context["i"]] ?? null) : null); yield " </option> "; } else { // line 72 yield " <option value=\""; yield (($__internal_compile_19 = ($context["value"] ?? null)) && is_array($__internal_compile_19) || $__internal_compile_19 instanceof ArrayAccess ? ($__internal_compile_19[$context["i"]] ?? null) : null); yield "\"> "; // line 73 yield (($__internal_compile_20 = ($context["value"] ?? null)) && is_array($__internal_compile_20) || $__internal_compile_20 instanceof ArrayAccess ? ($__internal_compile_20[$context["i"]] ?? null) : null); yield " </option> "; } // line 76 yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 77 yield " </select> "; } else { // line 79 yield " "; $context["the_class"] = "textfield"; // line 80 yield " "; if ((($context["column_type"] ?? null) == "date")) { // line 81 yield " "; $context["the_class"] = (($context["the_class"] ?? null) . " datefield"); // line 82 yield " "; } elseif (((($context["column_type"] ?? null) == "datetime") || (is_string($__internal_compile_21 = ($context["column_type"] ?? null)) && is_string($__internal_compile_22 = "timestamp") && str_starts_with($__internal_compile_21, $__internal_compile_22)))) { // line 83 yield " "; $context["the_class"] = (($context["the_class"] ?? null) . " datetimefield"); // line 84 yield " "; } elseif ((is_string($__internal_compile_23 = ($context["column_type"] ?? null)) && is_string($__internal_compile_24 = "bit") && str_starts_with($__internal_compile_23, $__internal_compile_24))) { // line 85 yield " "; $context["the_class"] = (($context["the_class"] ?? null) . " bit"); // line 86 yield " "; } // line 87 yield " <input type=\"text\" name=\"criteriaValues["; // line 88 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_index"] ?? null), "html", null, true); yield "]\" data-type=\""; // line 89 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_data_type"] ?? null), "html", null, true); yield "\" "; // line 90 yield ($context["html_attributes"] ?? null); yield " size=\"40\" class=\""; // line 92 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["the_class"] ?? null), "html", null, true); yield "\" id=\""; // line 93 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_id"] ?? null), "html", null, true); yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_index"] ?? null), "html", null, true); yield "\" "; // line 94 if (CoreExtension::getAttribute($this->env, $this->source, ($context["criteria_values"] ?? null), ($context["column_index"] ?? null), [], "array", true, true, false, 94)) { // line 95 yield " value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_25 = ($context["criteria_values"] ?? null)) && is_array($__internal_compile_25) || $__internal_compile_25 instanceof ArrayAccess ? ($__internal_compile_25[($context["column_index"] ?? null)] ?? null) : null), "html", null, true); yield "\""; } // line 96 yield "> "; } return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/search/input_box.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 287 => 96, 282 => 95, 280 => 94, 275 => 93, 271 => 92, 266 => 90, 262 => 89, 258 => 88, 255 => 87, 252 => 86, 249 => 85, 246 => 84, 243 => 83, 240 => 82, 237 => 81, 234 => 80, 231 => 79, 227 => 77, 221 => 76, 215 => 73, 210 => 72, 204 => 69, 199 => 68, 197 => 67, 196 => 66, 194 => 65, 190 => 64, 187 => 63, 185 => 62, 180 => 60, 174 => 58, 169 => 57, 163 => 55, 158 => 54, 156 => 53, 154 => 52, 152 => 46, 149 => 45, 146 => 44, 143 => 43, 141 => 42, 140 => 41, 134 => 38, 131 => 37, 129 => 36, 125 => 35, 119 => 32, 116 => 31, 114 => 30, 108 => 27, 104 => 26, 100 => 25, 98 => 24, 95 => 23, 92 => 22, 86 => 21, 84 => 20, 77 => 18, 73 => 17, 68 => 16, 65 => 15, 63 => 14, 59 => 12, 57 => 11, 56 => 9, 55 => 8, 54 => 7, 53 => 6, 48 => 5, 43 => 4, 40 => 3, 38 => 2,); } public function getSourceContext() { return new Source("", "table/search/input_box.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/search/input_box.twig"); } } twig/03/0371e1b31fa060def7921c1cb40a0bba.php 0000644 00000023445 15114741573 0013141 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* navigation/main.twig */ class __TwigTemplate_15cfde19af2e260e75491937885cf6a7 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 echo " <div id=\"pma_navigation\" class=\"d-print-none\" data-config-navigation-width=\""; echo twig_escape_filter($this->env, ($context["config_navigation_width"] ?? null), "html", null, true); echo "\"> <div id=\"pma_navigation_resizer\"></div> <div id=\"pma_navigation_collapser\"></div> <div id=\"pma_navigation_content\"> <div id=\"pma_navigation_header\"> "; // line 8 if (twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "is_displayed", [], "any", false, false, false, 8)) { // line 9 echo " <div id=\"pmalogo\"> "; // line 10 if (twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "has_link", [], "any", false, false, false, 10)) { // line 11 echo " <a href=\""; echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "link", [], "any", true, true, false, 11)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "link", [], "any", false, false, false, 11), "#")) : ("#")), "html", null, true); echo "\""; echo twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "attributes", [], "any", false, false, false, 11); echo "> "; } // line 13 echo " "; if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "source", [], "any", false, false, false, 13))) { // line 14 echo " <img id=\"imgpmalogo\" src=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "source", [], "any", false, false, false, 14), "html", null, true); echo "\" alt=\"phpMyAdmin\"> "; } else { // line 16 echo " <h1>phpMyAdmin</h1> "; } // line 18 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "has_link", [], "any", false, false, false, 18)) { // line 19 echo " </a> "; } // line 21 echo " </div> "; } // line 23 echo " <div id=\"navipanellinks\"> <a href=\""; // line 25 echo PhpMyAdmin\Url::getFromRoute("/"); echo "\" title=\""; echo _gettext("Home"); echo "\">"; // line 26 echo PhpMyAdmin\Html\Generator::getImage("b_home", _gettext("Home")); // line 27 echo "</a> <a href=\""; // line 29 echo PhpMyAdmin\Html\MySQLDocumentation::getDocumentationLink("index"); echo "\" title=\""; echo _gettext("phpMyAdmin documentation"); echo "\" target=\"_blank\" rel=\"noopener noreferrer\">"; // line 30 echo PhpMyAdmin\Html\Generator::getImage("b_docs", _gettext("phpMyAdmin documentation")); // line 31 echo "</a> <a href=\""; // line 33 echo PhpMyAdmin\Util::getdocuURL(($context["is_mariadb"] ?? null)); echo "\" title=\""; echo twig_escape_filter($this->env, ((($context["is_mariadb"] ?? null)) ? (_gettext("MariaDB Documentation")) : (_gettext("MySQL Documentation"))), "html", null, true); echo "\" target=\"_blank\" rel=\"noopener noreferrer\">"; // line 34 echo PhpMyAdmin\Html\Generator::getImage("b_sqlhelp", ((($context["is_mariadb"] ?? null)) ? (_gettext("MariaDB Documentation")) : (_gettext("MySQL Documentation")))); // line 35 echo "</a> <a id=\"pma_navigation_settings_icon\""; // line 37 echo (( !($context["is_navigation_settings_enabled"] ?? null)) ? (" class=\"hide\"") : ("")); echo " href=\"#\" title=\""; echo _gettext("Navigation panel settings"); echo "\">"; // line 38 echo PhpMyAdmin\Html\Generator::getImage("s_cog", _gettext("Navigation panel settings")); // line 39 echo "</a> <a id=\"pma_navigation_reload\" href=\"#\" title=\""; echo _gettext("Reload navigation panel"); // line 41 echo "\">"; // line 42 echo PhpMyAdmin\Html\Generator::getImage("s_reload", _gettext("Reload navigation panel")); // line 43 echo "</a> </div> "; // line 46 if ((($context["is_servers_displayed"] ?? null) && (twig_length_filter($this->env, ($context["servers"] ?? null)) > 1))) { // line 47 echo " <div id=\"serverChoice\"> "; // line 48 echo ($context["server_select"] ?? null); echo " </div> "; } // line 51 echo " "; // line 52 echo PhpMyAdmin\Html\Generator::getImage("ajax_clock_small", _gettext("Loading…"), ["style" => "visibility: hidden; display:none", "class" => "throbber"]); // line 55 echo " </div> <div id=\"pma_navigation_tree\" class=\"list_container"; // line 57 echo ((($context["is_synced"] ?? null)) ? (" synced") : ("")); echo ((($context["is_highlighted"] ?? null)) ? (" highlight") : ("")); echo ((($context["is_autoexpanded"] ?? null)) ? (" autoexpand") : ("")); echo "\"> "; } // line 59 echo " "; // line 60 if ( !($context["navigation_tree"] ?? null)) { // line 61 echo " "; echo $this->env->getFilter('error')->getCallable()(_gettext("An error has occurred while loading the navigation display")); echo " "; } else { // line 63 echo " "; echo ($context["navigation_tree"] ?? null); echo " "; } // line 65 echo " "; // line 66 if ( !($context["is_ajax"] ?? null)) { // line 67 echo " </div> <div id=\"pma_navi_settings_container\"> "; // line 70 if (($context["is_navigation_settings_enabled"] ?? null)) { // line 71 echo " "; echo ($context["navigation_settings"] ?? null); echo " "; } // line 73 echo " </div> </div> "; // line 76 if (($context["is_drag_drop_import_enabled"] ?? null)) { // line 77 echo " <div class=\"pma_drop_handler\"> "; echo _gettext("Drop files here"); // line 79 echo " </div> <div class=\"pma_sql_import_status\"> <h2> "; echo _gettext("SQL upload"); // line 83 echo " ( <span class=\"pma_import_count\">0</span> ) <span class=\"close\">x</span> <span class=\"minimize\">-</span> </h2> <div></div> </div> "; } // line 90 echo " </div> "; // line 91 echo twig_include($this->env, $context, "modals/unhide_nav_item.twig"); echo " "; // line 92 echo twig_include($this->env, $context, "modals/create_view.twig"); echo " "; } } public function getTemplateName() { return "navigation/main.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 241 => 92, 237 => 91, 234 => 90, 225 => 83, 219 => 79, 215 => 77, 213 => 76, 208 => 73, 202 => 71, 200 => 70, 195 => 67, 193 => 66, 190 => 65, 184 => 63, 178 => 61, 176 => 60, 173 => 59, 166 => 57, 162 => 55, 160 => 52, 157 => 51, 151 => 48, 148 => 47, 146 => 46, 141 => 43, 139 => 42, 137 => 41, 132 => 39, 130 => 38, 125 => 37, 121 => 35, 119 => 34, 114 => 33, 110 => 31, 108 => 30, 103 => 29, 99 => 27, 97 => 26, 92 => 25, 88 => 23, 84 => 21, 80 => 19, 77 => 18, 73 => 16, 67 => 14, 64 => 13, 56 => 11, 54 => 10, 51 => 9, 49 => 8, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "navigation/main.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/main.twig"); } } twig/6f/6fa94b577cf1a24bab3f928d827c194d.php 0000644 00000127350 15114741573 0013234 0 ustar 00 <?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; /* server/databases/index.twig */ class __TwigTemplate_0ad5d5ee5b50c8eeeef04f52e2ca8d13 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=\"container-fluid my-3\"> <h2> "; // line 3 yield PhpMyAdmin\Html\Generator::getIcon("s_db", ((($context["has_statistics"] ?? null)) ? (_gettext("Databases statistics")) : (_gettext("Databases")))); yield " </h2> "; // line 6 if (($context["is_create_database_shown"] ?? null)) { // line 7 yield " <div class=\"card\"> <div class=\"card-header\"> "; // line 9 yield PhpMyAdmin\Html\Generator::getIcon("b_newdb", _gettext("Create database")); yield " "; // line 10 yield PhpMyAdmin\Html\MySQLDocumentation::show("CREATE_DATABASE"); yield " </div> <div class=\"card-body\"> "; // line 13 if (($context["has_create_database_privileges"] ?? null)) { // line 14 yield " <form method=\"post\" action=\""; yield PhpMyAdmin\Url::getFromRoute("/server/databases/create"); yield "\" id=\"create_database_form\" class=\"ajax row row-cols-md-auto g-3 align-items-center\"> "; // line 15 yield PhpMyAdmin\Url::getHiddenInputs("", ""); yield " <input type=\"hidden\" name=\"reload\" value=\"1\"> "; // line 17 if (($context["has_statistics"] ?? null)) { // line 18 yield " <input type=\"hidden\" name=\"statistics\" value=\"1\"> "; } // line 20 yield " <div class=\"col-12\"> <input autocomplete=\"off\" type=\"text\" name=\"new_db\" maxlength=\"64\" class=\"form-control\" value=\""; // line 23 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["database_to_create"] ?? null), "html", null, true); yield "\" id=\"text_create_db\" placeholder=\""; yield _gettext("Database name"); // line 24 yield "\" aria-label=\""; yield _gettext("Database name"); yield "\" required> </div> "; // line 27 if ( !Twig\Extension\CoreExtension::testEmpty(($context["charsets"] ?? null))) { // line 28 yield " <div class=\"col-12\"> <select lang=\"en\" dir=\"ltr\" name=\"db_collation\" class=\"form-select\" aria-label=\""; yield _gettext("Collation"); // line 29 yield "\"> <option value=\"\">"; yield _gettext("Collation"); // line 30 yield "</option> <option value=\"\"></option> "; // line 32 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["charsets"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 33 yield " <optgroup label=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 33), "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, 33), "html", null, true); yield "\"> "; // line 34 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 34)); foreach ($context['_seq'] as $context["_key"] => $context["collation"]) { // line 35 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 35), "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, 35), "html", null, true); yield "\""; yield ((CoreExtension::getAttribute($this->env, $this->source, $context["collation"], "is_selected", [], "any", false, false, false, 35)) ? (" selected") : ("")); yield ">"; // line 36 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 36), "html", null, true); // line 37 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 39 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 41 yield " </select> </div> "; } // line 44 yield " <div class=\"col-12\"> <input id=\"buttonGo\" class=\"btn btn-primary\" type=\"submit\" value=\""; yield _gettext("Create"); // line 46 yield "\"> </div> </form> "; } else { // line 50 yield " <span class=\"text-danger\">"; yield PhpMyAdmin\Html\Generator::getIcon("s_error", _gettext("No privileges to create databases")); yield "</span> "; } // line 52 yield " </div> </div> "; } // line 55 yield " "; // line 56 if ((($context["database_count"] ?? null) > 0)) { // line 57 yield " <div class=\"d-flex flex-wrap my-3\"> "; // line 58 if (($context["is_drop_allowed"] ?? null)) { // line 59 yield " <div> <div class=\"input-group\"> <div class=\"input-group-text\"> <div class=\"form-check mb-0\"> <input class=\"form-check-input checkall_box\" type=\"checkbox\" value=\"\" id=\"checkAllCheckbox\" form=\"dbStatsForm\"> <label class=\"form-check-label\" for=\"checkAllCheckbox\">"; yield _gettext("Check all"); // line 64 yield "</label> </div> </div> <button class=\"btn btn-outline-secondary\" id=\"bulkActionDropButton\" type=\"submit\" name=\"submit_mult\" value=\"Drop\" form=\"dbStatsForm\" title=\""; yield _gettext("Drop"); // line 67 yield "\"> "; // line 68 yield PhpMyAdmin\Html\Generator::getIcon("db_drop", _gettext("Drop")); yield " </button> </div> </div> "; } // line 73 yield " <div class=\"ms-auto\"> <div class=\"input-group\"> <span class=\"input-group-text\">"; // line 76 yield PhpMyAdmin\Html\Generator::getImage("b_search", _gettext("Search")); yield "</span> <input class=\"form-control\" name=\"filterText\" type=\"text\" id=\"filterText\" value=\"\" placeholder=\""; yield _gettext("Search"); // line 77 yield "\" aria-label=\""; yield _gettext("Search"); yield "\"> </div> </div> </div> "; // line 82 yield PhpMyAdmin\Html\Generator::getListNavigator( // line 83 ($context["database_count"] ?? null), // line 84 ($context["pos"] ?? null), // line 85 ($context["url_params"] ?? null), PhpMyAdmin\Url::getFromRoute("/server/databases"), "frame_content", // line 88 ($context["max_db_list"] ?? null)); // line 89 yield " <form class=\"ajax\" action=\""; // line 91 yield PhpMyAdmin\Url::getFromRoute("/server/databases"); yield "\" method=\"post\" name=\"dbStatsForm\" id=\"dbStatsForm\"> "; // line 92 yield PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null)); yield " <div class=\"table-responsive\"> <table class=\"table table-striped table-hover w-auto\"> <thead> <tr> "; // line 97 if (($context["is_drop_allowed"] ?? null)) { // line 98 yield " <th></th> "; } // line 100 yield " <th> <a href=\""; // line 101 yield PhpMyAdmin\Url::getFromRoute("/server/databases", Twig\Extension\CoreExtension::merge(($context["url_params"] ?? null), ["sort_by" => "SCHEMA_NAME", "sort_order" => ((((CoreExtension::getAttribute($this->env, $this->source, // line 103 ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 103) == "SCHEMA_NAME") && (CoreExtension::getAttribute($this->env, $this->source, // line 104 ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 104) == "asc"))) ? ("desc") : ("asc"))])); // line 105 yield "\"> "; yield _gettext("Database"); // line 107 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 107) == "SCHEMA_NAME")) { // line 108 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 108) == "asc")) { // line 109 yield " "; yield PhpMyAdmin\Html\Generator::getImage("s_asc", _gettext("Ascending")); yield " "; } else { // line 111 yield " "; yield PhpMyAdmin\Html\Generator::getImage("s_desc", _gettext("Descending")); yield " "; } // line 113 yield " "; } // line 114 yield " </a> </th> <th> <a href=\""; // line 118 yield PhpMyAdmin\Url::getFromRoute("/server/databases", Twig\Extension\CoreExtension::merge(($context["url_params"] ?? null), ["sort_by" => "DEFAULT_COLLATION_NAME", "sort_order" => ((((CoreExtension::getAttribute($this->env, $this->source, // line 120 ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 120) == "DEFAULT_COLLATION_NAME") && (CoreExtension::getAttribute($this->env, $this->source, // line 121 ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 121) == "asc"))) ? ("desc") : ("asc"))])); // line 122 yield "\"> "; yield _gettext("Collation"); // line 124 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 124) == "DEFAULT_COLLATION_NAME")) { // line 125 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 125) == "asc")) { // line 126 yield " "; yield PhpMyAdmin\Html\Generator::getImage("s_asc", _gettext("Ascending")); yield " "; } else { // line 128 yield " "; yield PhpMyAdmin\Html\Generator::getImage("s_desc", _gettext("Descending")); yield " "; } // line 130 yield " "; } // line 131 yield " </a> </th> "; // line 134 if (($context["has_statistics"] ?? null)) { // line 135 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["header_statistics"] ?? null)); foreach ($context['_seq'] as $context["name"] => $context["statistic"]) { // line 136 yield " <th"; yield (((CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "format", [], "any", false, false, false, 136) == "byte")) ? (" colspan=\"2\"") : ("")); yield "> <a href=\""; // line 137 yield PhpMyAdmin\Url::getFromRoute("/server/databases", Twig\Extension\CoreExtension::merge(($context["url_params"] ?? null), ["sort_by" => // line 138 $context["name"], "sort_order" => ((((CoreExtension::getAttribute($this->env, $this->source, // line 139 ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 139) == $context["name"]) && (CoreExtension::getAttribute($this->env, $this->source, // line 140 ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 140) == "asc"))) ? ("desc") : ("asc"))])); // line 141 yield "\"> "; // line 142 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "title", [], "any", false, false, false, 142), "html", null, true); yield " "; // line 143 if ((CoreExtension::getAttribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 143) == $context["name"])) { // line 144 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 144) == "asc")) { // line 145 yield " "; yield PhpMyAdmin\Html\Generator::getImage("s_asc", _gettext("Ascending")); yield " "; } else { // line 147 yield " "; yield PhpMyAdmin\Html\Generator::getImage("s_desc", _gettext("Descending")); yield " "; } // line 149 yield " "; } // line 150 yield " </a> </th> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['name'], $context['statistic'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 153 yield " "; } // line 154 yield " "; // line 155 if (($context["has_primary_replication"] ?? null)) { // line 156 yield " <th>"; yield _gettext("Primary replication"); yield "</th> "; } // line 158 yield " "; // line 159 if (($context["has_replica_replication"] ?? null)) { // line 160 yield " <th>"; yield _gettext("Replica replication"); yield "</th> "; } // line 162 yield " <th>"; yield _gettext("Action"); // line 163 yield "</th> </tr> </thead> <tbody> "; // line 168 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["databases"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["database"]) { // line 169 yield " <tr class=\"db-row"; yield (((CoreExtension::getAttribute($this->env, $this->source, $context["database"], "is_system_schema", [], "any", false, false, false, 169) || CoreExtension::getAttribute($this->env, $this->source, $context["database"], "is_pmadb", [], "any", false, false, false, 169))) ? (" noclick") : ("")); yield "\" data-filter-row=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::upper($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 169)), "html", null, true); yield "\"> "; // line 170 if (($context["is_drop_allowed"] ?? null)) { // line 171 yield " <td class=\"tool\"> <input type=\"checkbox\" name=\"selected_dbs[]\" class=\"checkall\" title=\""; // line 173 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 173), "html", null, true); yield "\" value=\""; // line 174 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 174), "html", null, true); yield "\""; // line 175 yield (((CoreExtension::getAttribute($this->env, $this->source, $context["database"], "is_system_schema", [], "any", false, false, false, 175) || CoreExtension::getAttribute($this->env, $this->source, $context["database"], "is_pmadb", [], "any", false, false, false, 175))) ? (" disabled") : ("")); yield "> </td> "; } // line 178 yield " <td class=\"name\"> <a href=\""; // line 180 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["database"], "url", [], "any", false, false, false, 180), "html", null, true); yield "\" title=\""; // line 181 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf(_gettext("Jump to database '%s'"), CoreExtension::getAttribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 181)), "html", null, true); yield "\"> "; // line 182 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 182), "html", null, true); yield " </a> </td> <td class=\"value\"> <dfn title=\""; // line 187 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["database"], "collation", [], "any", false, false, false, 187), "description", [], "any", false, false, false, 187), "html", null, true); yield "\"> "; // line 188 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["database"], "collation", [], "any", false, false, false, 188), "name", [], "any", false, false, false, 188), "html", null, true); yield " </dfn> </td> "; // line 192 if (($context["has_statistics"] ?? null)) { // line 193 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["database"], "statistics", [], "any", false, false, false, 193)); foreach ($context['_seq'] as $context["_key"] => $context["statistic"]) { // line 194 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "format", [], "any", false, false, false, 194) === "byte")) { // line 195 yield " "; $context["value"] = PhpMyAdmin\Util::formatByteDown(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 195), 3, 1); // line 196 yield " <td class=\"value\"> <data value=\""; // line 197 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 197), "html", null, true); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 197), "html", null, true); yield "\"> "; // line 198 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_0 = ($context["value"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true); yield " </data> </td> <td class=\"unit\">"; // line 201 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_1 = ($context["value"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null), "html", null, true); yield "</td> "; } else { // line 203 yield " <td class=\"value\"> <data value=\""; // line 204 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 204), "html", null, true); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 204), "html", null, true); yield "\"> "; // line 205 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::formatNumber(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 205), 0), "html", null, true); yield " </data> </td> "; } // line 209 yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['statistic'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 210 yield " "; } // line 211 yield " "; // line 212 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 212), "primary", [], "any", false, false, false, 212), "status", [], "any", false, false, false, 212)) { // line 213 yield " "; if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 213), "primary", [], "any", false, false, false, 213), "is_replicated", [], "any", false, false, false, 213)) { // line 214 yield " <td class=\"tool text-center\"> "; // line 215 yield PhpMyAdmin\Html\Generator::getIcon("s_success", _gettext("Replicated")); yield " </td> "; } else { // line 218 yield " <td class=\"tool text-center\"> "; // line 219 yield PhpMyAdmin\Html\Generator::getIcon("s_cancel", _gettext("Not replicated")); yield " </td> "; } // line 222 yield " "; } // line 223 yield " "; // line 224 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 224), "replica", [], "any", false, false, false, 224), "status", [], "any", false, false, false, 224)) { // line 225 yield " "; if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 225), "replica", [], "any", false, false, false, 225), "is_replicated", [], "any", false, false, false, 225)) { // line 226 yield " <td class=\"tool text-center\"> "; // line 227 yield PhpMyAdmin\Html\Generator::getIcon("s_success", _gettext("Replicated")); yield " </td> "; } else { // line 230 yield " <td class=\"tool text-center\"> "; // line 231 yield PhpMyAdmin\Html\Generator::getIcon("s_cancel", _gettext("Not replicated")); yield " </td> "; } // line 234 yield " "; } // line 235 yield " <td class=\"tool\"> <a class=\"server_databases\" data=\""; // line 238 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 238), "html", null, true); yield "\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/server/privileges", ["db" => CoreExtension::getAttribute($this->env, $this->source, // line 239 $context["database"], "name", [], "any", false, false, false, 239), "checkprivsdb" => CoreExtension::getAttribute($this->env, $this->source, // line 240 $context["database"], "name", [], "any", false, false, false, 240)]); // line 241 yield "\" title=\""; // line 242 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf(_gettext("Check privileges for database \"%s\"."), CoreExtension::getAttribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 242)), "html", null, true); yield "\"> "; // line 243 yield PhpMyAdmin\Html\Generator::getIcon("s_rights", _gettext("Check privileges")); yield " </a> </td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['database'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 248 yield " </tbody> <tfoot> <tr> <th colspan=\""; // line 252 yield ((($context["is_drop_allowed"] ?? null)) ? ("3") : ("2")); yield "\"> "; yield _gettext("Total:"); // line 254 yield " <span id=\"filter-rows-count\">"; // line 255 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["database_count"] ?? null), "html", null, true); // line 256 yield "</span> </th> "; // line 259 if (($context["has_statistics"] ?? null)) { // line 260 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["total_statistics"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["statistic"]) { // line 261 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "format", [], "any", false, false, false, 261) === "byte")) { // line 262 yield " "; $context["value"] = PhpMyAdmin\Util::formatByteDown(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 262), 3, 1); // line 263 yield " <th class=\"value\"> <data value=\""; // line 264 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 264), "html", null, true); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 264), "html", null, true); yield "\"> "; // line 265 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_2 = ($context["value"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[0] ?? null) : null), "html", null, true); yield " </data> </th> <th class=\"unit\">"; // line 268 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_3 = ($context["value"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[1] ?? null) : null), "html", null, true); yield "</th> "; } else { // line 270 yield " <th class=\"value\"> <data value=\""; // line 271 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 271), "html", null, true); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 271), "html", null, true); yield "\"> "; // line 272 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::formatNumber(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 272), 0), "html", null, true); yield " </data> </th> "; } // line 276 yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['statistic'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 277 yield " "; } // line 278 yield " "; // line 279 if (($context["has_primary_replication"] ?? null)) { // line 280 yield " <th></th> "; } // line 282 yield " "; // line 283 if (($context["has_replica_replication"] ?? null)) { // line 284 yield " <th></th> "; } // line 286 yield " <th></th> </tr> </tfoot> </table> </div> </form> "; // line 294 if ( !($context["has_statistics"] ?? null)) { // line 295 yield " <div class=\"card\"> <div class=\"card-body\"> <div class=\"alert alert-info\" role=\"alert\"> "; // line 298 yield PhpMyAdmin\Html\Generator::getIcon("s_notice", _gettext("Note: Enabling the database statistics here might cause heavy traffic between the web server and the MySQL server.")); yield " </div> <a class=\"card-link\" href=\""; // line 300 yield PhpMyAdmin\Url::getFromRoute("/server/databases"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["statistics" => "1"], "", false); yield "\" title=\""; yield _gettext("Enable statistics"); yield "\"> "; yield _gettext("Enable statistics"); // line 302 yield " </a> </div> </div> "; } // line 306 yield " "; } else { // line 307 yield " <div class=\"alert alert-primary my-3\" role=\"alert\"> "; // line 308 yield PhpMyAdmin\Html\Generator::getIcon("s_notice", _gettext("No databases")); yield " </div> "; } // line 311 yield "</div> "; // line 313 if (($context["is_drop_allowed"] ?? null)) { // line 314 yield " <div class=\"modal fade\" id=\"dropDatabaseModal\" tabindex=\"-1\" aria-labelledby=\"dropDatabaseModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog modal-dialog-scrollable\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"dropDatabaseModalLabel\">"; yield _gettext("Confirm"); // line 318 yield "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Cancel"); // line 319 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("Cancel"); // line 323 yield "</button> <button type=\"button\" class=\"btn btn-danger\" id=\"dropDatabaseModalDropButton\">"; yield _gettext("Drop"); // line 324 yield "</button> </div> </div> </div> </div> "; } return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "server/databases/index.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 793 => 324, 789 => 323, 782 => 319, 778 => 318, 771 => 314, 769 => 313, 765 => 311, 759 => 308, 756 => 307, 753 => 306, 747 => 302, 738 => 300, 733 => 298, 728 => 295, 726 => 294, 716 => 286, 712 => 284, 710 => 283, 707 => 282, 703 => 280, 701 => 279, 698 => 278, 695 => 277, 689 => 276, 682 => 272, 676 => 271, 673 => 270, 668 => 268, 662 => 265, 656 => 264, 653 => 263, 650 => 262, 647 => 261, 642 => 260, 640 => 259, 635 => 256, 633 => 255, 631 => 254, 626 => 252, 620 => 248, 609 => 243, 605 => 242, 603 => 241, 601 => 240, 600 => 239, 597 => 238, 593 => 235, 590 => 234, 584 => 231, 581 => 230, 575 => 227, 572 => 226, 569 => 225, 567 => 224, 564 => 223, 561 => 222, 555 => 219, 552 => 218, 546 => 215, 543 => 214, 540 => 213, 538 => 212, 535 => 211, 532 => 210, 526 => 209, 519 => 205, 513 => 204, 510 => 203, 505 => 201, 499 => 198, 493 => 197, 490 => 196, 487 => 195, 484 => 194, 479 => 193, 477 => 192, 470 => 188, 466 => 187, 458 => 182, 454 => 181, 451 => 180, 447 => 178, 441 => 175, 438 => 174, 435 => 173, 432 => 171, 430 => 170, 423 => 169, 419 => 168, 412 => 163, 408 => 162, 402 => 160, 400 => 159, 397 => 158, 391 => 156, 389 => 155, 386 => 154, 383 => 153, 375 => 150, 372 => 149, 366 => 147, 360 => 145, 357 => 144, 355 => 143, 351 => 142, 348 => 141, 346 => 140, 345 => 139, 344 => 138, 343 => 137, 338 => 136, 333 => 135, 331 => 134, 326 => 131, 323 => 130, 317 => 128, 311 => 126, 308 => 125, 305 => 124, 301 => 122, 299 => 121, 298 => 120, 297 => 118, 291 => 114, 288 => 113, 282 => 111, 276 => 109, 273 => 108, 270 => 107, 266 => 105, 264 => 104, 263 => 103, 262 => 101, 259 => 100, 255 => 98, 253 => 97, 245 => 92, 241 => 91, 237 => 89, 235 => 88, 234 => 85, 233 => 84, 232 => 83, 231 => 82, 222 => 77, 217 => 76, 212 => 73, 204 => 68, 201 => 67, 195 => 64, 187 => 59, 185 => 58, 182 => 57, 180 => 56, 177 => 55, 172 => 52, 166 => 50, 160 => 46, 155 => 44, 150 => 41, 143 => 39, 136 => 37, 134 => 36, 126 => 35, 122 => 34, 115 => 33, 111 => 32, 107 => 30, 103 => 29, 99 => 28, 97 => 27, 90 => 24, 86 => 23, 82 => 20, 78 => 18, 76 => 17, 71 => 15, 66 => 14, 64 => 13, 58 => 10, 54 => 9, 50 => 7, 48 => 6, 42 => 3, 38 => 1,); } public function getSourceContext() { return new Source("", "server/databases/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/server/databases/index.twig"); } } twig/a7/a7aa9cd8ee7475a1c177bd2809535ea1.php 0000644 00000003504 15114741573 0013213 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/null_display.twig */ class __TwigTemplate_e6d6888e904e8cc32924322a8220a194 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 echo "<td data-decimals=\""; echo twig_escape_filter($this->env, ($context["data_decimals"] ?? null), "html", null, true); echo "\" data-type=\""; // line 2 echo twig_escape_filter($this->env, ($context["data_type"] ?? null), "html", null, true); echo "\" "; // line 4 echo " class=\""; echo twig_escape_filter($this->env, ($context["classes"] ?? null), "html", null, true); echo " null\"> <em>NULL</em> </td> "; } public function getTemplateName() { return "display/results/null_display.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 46 => 4, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/null_display.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/null_display.twig"); } } twig/a7/a776e5c508814137061ff9884bc1fc4e.php 0000644 00000007424 15114741573 0013013 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/delete/confirm.twig */ class __TwigTemplate_f145f0218e726c71f13e89b1582fa98c 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 echo "<form action=\""; echo PhpMyAdmin\Url::getFromRoute("/table/delete/rows"); echo "\" method=\"post\"> "; // line 2 echo PhpMyAdmin\Url::getHiddenInputs(["db" => // line 3 ($context["db"] ?? null), "table" => // line 4 ($context["table"] ?? null), "selected" => // line 5 ($context["selected"] ?? null), "original_sql_query" => // line 6 ($context["sql_query"] ?? null), "fk_checks" => "0"]); // line 8 echo " <fieldset class=\"pma-fieldset confirmation\"> <legend> "; echo _gettext("Do you really want to execute the following query?"); // line 13 echo " </legend> <ul> "; // line 16 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["selected"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["row"]) { // line 17 echo " <li><code>DELETE FROM "; echo twig_escape_filter($this->env, PhpMyAdmin\Util::backquote(($context["table"] ?? null)), "html", null, true); echo " WHERE "; echo twig_escape_filter($this->env, $context["row"], "html", null, true); echo ";</code></li> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 19 echo " </ul> </fieldset> <fieldset class=\"pma-fieldset tblFooters\"> <div id=\"foreignkeychk\" class=\"float-start\"> <input type=\"checkbox\" name=\"fk_checks\" id=\"fk_checks\" value=\"1\""; // line 24 echo ((($context["is_foreign_key_check"] ?? null)) ? (" checked") : ("")); echo "> <label for=\"fk_checks\">"; echo _gettext("Enable foreign key checks"); // line 25 echo "</label> </div> <div class=\"float-end\"> <input id=\"buttonYes\" class=\"btn btn-secondary\" type=\"submit\" name=\"mult_btn\" value=\""; echo _gettext("Yes"); // line 28 echo "\"> <input id=\"buttonNo\" class=\"btn btn-secondary\" type=\"submit\" name=\"mult_btn\" value=\""; echo _gettext("No"); // line 29 echo "\"> </div> </fieldset> </form> "; } public function getTemplateName() { return "table/delete/confirm.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 97 => 29, 93 => 28, 87 => 25, 82 => 24, 75 => 19, 64 => 17, 60 => 16, 55 => 13, 48 => 8, 46 => 6, 45 => 5, 44 => 4, 43 => 3, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "table/delete/confirm.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/delete/confirm.twig"); } } twig/ee/ee8bc1869dac2e7b491fc4a66be2c4f1.php 0000644 00000003033 15114741573 0013514 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* javascript/redirect.twig */ class __TwigTemplate_70ec5f046b561faf26615719d12f49cb 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 echo "<script type='text/javascript'> window.onload = function () { window.location = '"; // line 3 echo twig_escape_filter($this->env, ($context["url"] ?? null), "html", null, true); echo "'; }; </script> "; } public function getTemplateName() { return "javascript/redirect.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 41 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "javascript/redirect.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/javascript/redirect.twig"); } } twig/b6/b6d3c6ba9c757919d862f063ed31c2d6.php 0000644 00000005611 15114741573 0013144 0 ustar 00 <?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_9e9b0edad4b4b91208c21212a55cacbe 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/fast_filter.twig"); } } twig/20/20dafe4cf70b2de9a8a7cf36865cd02d.php 0000644 00000252736 15114741573 0013355 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/structure/display_structure.twig */ class __TwigTemplate_ea78cb09c65b971d556a61ad5dc98a74 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 "table/page_with_secondary_tabs.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $this->parent = $this->loadTemplate("table/page_with_secondary_tabs.twig", "table/structure/display_structure.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 2 public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 3 echo "<h1 class=\"d-none d-print-block\">"; echo twig_escape_filter($this->env, ($context["table"] ?? null), "html", null, true); echo "</h1> <form method=\"post\" action=\""; // line 4 echo PhpMyAdmin\Url::getFromRoute("/table/structure"); echo "\" name=\"fieldsForm\" id=\"fieldsForm\"> "; // line 5 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"table_type\" value="; // line 7 if (($context["db_is_system_schema"] ?? null)) { // line 8 echo "\"information_schema\""; } elseif ( // line 9 ($context["tbl_is_view"] ?? null)) { // line 10 echo "\"view\""; } else { // line 12 echo "\"table\""; } // line 13 echo "> <div class=\"table-responsive-md\"> <table id=\"tablestructure\" class=\"table table-striped table-hover w-auto align-middle\"> "; // line 17 echo " <thead> <tr> <th class=\"d-print-none\"></th> <th>#</th> <th>"; echo _gettext("Name"); // line 21 echo "</th> <th>"; echo _gettext("Type"); // line 22 echo "</th> <th>"; echo _gettext("Collation"); // line 23 echo "</th> <th>"; echo _gettext("Attributes"); // line 24 echo "</th> <th>"; echo _gettext("Null"); // line 25 echo "</th> <th>"; echo _gettext("Default"); // line 26 echo "</th> "; // line 27 if (($context["show_column_comments"] ?? null)) { // line 28 echo "<th>"; echo _gettext("Comments"); echo "</th>"; } // line 30 echo " <th>"; echo _gettext("Extra"); echo "</th> "; // line 32 echo " "; if (( !($context["db_is_system_schema"] ?? null) && !($context["tbl_is_view"] ?? null))) { // line 33 echo " <th colspan=\""; echo ((PhpMyAdmin\Util::showIcons("ActionLinksMode")) ? ("8") : ("9")); // line 34 echo "\" class=\"action d-print-none\">"; echo _gettext("Action"); echo "</th> "; } // line 36 echo " </tr> </thead> <tbody> "; // line 40 echo " "; $context["rownum"] = 0; // line 41 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["fields"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["row"]) { // line 42 echo " "; $context["rownum"] = (($context["rownum"] ?? null) + 1); // line 43 echo " "; // line 44 $context["extracted_columnspec"] = (($__internal_compile_0 = ($context["extracted_columnspecs"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[($context["rownum"] ?? null)] ?? null) : null); // line 45 echo " "; $context["field_name"] = twig_escape_filter($this->env, (($__internal_compile_1 = $context["row"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["Field"] ?? null) : null)); // line 46 echo " "; // line 47 echo " "; $context["comments"] = (($__internal_compile_2 = ($context["row_comments"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[($context["rownum"] ?? null)] ?? null) : null); // line 48 echo " "; // line 49 echo " <tr> <td class=\"text-center d-print-none\"> <input type=\"checkbox\" class=\"checkall\" name=\"selected_fld[]\" value=\""; // line 52 echo twig_escape_filter($this->env, (($__internal_compile_3 = $context["row"]) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["Field"] ?? null) : null), "html", null, true); echo "\" id=\"checkbox_row_"; echo twig_escape_filter($this->env, ($context["rownum"] ?? null), "html", null, true); echo "\"> </td> <td class=\"text-end\">"; // line 54 echo twig_escape_filter($this->env, ($context["rownum"] ?? null), "html", null, true); echo "</td> <th class=\"text-nowrap\"> <label for=\"checkbox_row_"; // line 56 echo twig_escape_filter($this->env, ($context["rownum"] ?? null), "html", null, true); echo "\"> "; // line 57 if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["displayed_fields"] ?? null), ($context["rownum"] ?? null), [], "array", false, true, false, 57), "comment", [], "any", true, true, false, 57)) { // line 58 echo " <span class=\"commented_column\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_compile_4 = ($context["displayed_fields"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4[($context["rownum"] ?? null)] ?? null) : null), "comment", [], "any", false, false, false, 58), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_compile_5 = ($context["displayed_fields"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[($context["rownum"] ?? null)] ?? null) : null), "text", [], "any", false, false, false, 58), "html", null, true); echo "</span> "; } else { // line 60 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_compile_6 = ($context["displayed_fields"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6[($context["rownum"] ?? null)] ?? null) : null), "text", [], "any", false, false, false, 60), "html", null, true); echo " "; } // line 62 echo " "; echo twig_get_attribute($this->env, $this->source, (($__internal_compile_7 = ($context["displayed_fields"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7[($context["rownum"] ?? null)] ?? null) : null), "icon", [], "any", false, false, false, 62); echo " </label> </th> <td"; // line 65 echo (((("set" != (($__internal_compile_8 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["type"] ?? null) : null)) && ("enum" != (($__internal_compile_9 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["type"] ?? null) : null)))) ? (" class=\"text-nowrap\"") : ("")); echo "> <bdo dir=\"ltr\" lang=\"en\"> "; // line 67 echo (($__internal_compile_10 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["displayed_type"] ?? null) : null); echo " "; // line 68 if (((( !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "columnCommentsFeature", [], "any", false, false, false, 68)) && !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "browserTransformationFeature", [], "any", false, false, false, 68))) && ($context["browse_mime"] ?? null)) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 69 ($context["mime_map"] ?? null), (($__internal_compile_11 = $context["row"]) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["Field"] ?? null) : null), [], "array", false, true, false, 69), "mimetype", [], "array", true, true, false, 69))) { // line 70 echo " <br>"; echo _gettext("Media type:"); echo " "; echo twig_escape_filter($this->env, twig_lower_filter($this->env, twig_replace_filter((($__internal_compile_12 = (($__internal_compile_13 = ($context["mime_map"] ?? null)) && is_array($__internal_compile_13) || $__internal_compile_13 instanceof ArrayAccess ? ($__internal_compile_13[(($__internal_compile_14 = $context["row"]) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_12) || $__internal_compile_12 instanceof ArrayAccess ? ($__internal_compile_12["mimetype"] ?? null) : null), ["_" => "/"])), "html", null, true); echo " "; } // line 72 echo " </bdo> </td> <td> "; // line 75 if ( !twig_test_empty((($__internal_compile_15 = $context["row"]) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15["Collation"] ?? null) : null))) { // line 76 echo " <dfn title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_compile_16 = ($context["collations"] ?? null)) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16[(($__internal_compile_17 = $context["row"]) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17["Collation"] ?? null) : null)] ?? null) : null), "description", [], "any", false, false, false, 76), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_compile_18 = ($context["collations"] ?? null)) && is_array($__internal_compile_18) || $__internal_compile_18 instanceof ArrayAccess ? ($__internal_compile_18[(($__internal_compile_19 = $context["row"]) && is_array($__internal_compile_19) || $__internal_compile_19 instanceof ArrayAccess ? ($__internal_compile_19["Collation"] ?? null) : null)] ?? null) : null), "name", [], "any", false, false, false, 76), "html", null, true); echo "</dfn> "; } // line 78 echo " </td> <td class=\"column_attribute text-nowrap\">"; // line 79 echo twig_escape_filter($this->env, (($__internal_compile_20 = ($context["attributes"] ?? null)) && is_array($__internal_compile_20) || $__internal_compile_20 instanceof ArrayAccess ? ($__internal_compile_20[($context["rownum"] ?? null)] ?? null) : null), "html", null, true); echo "</td> <td>"; // line 80 echo twig_escape_filter($this->env, ((((($__internal_compile_21 = $context["row"]) && is_array($__internal_compile_21) || $__internal_compile_21 instanceof ArrayAccess ? ($__internal_compile_21["Null"] ?? null) : null) == "YES")) ? (_gettext("Yes")) : (_gettext("No"))), "html", null, true); echo "</td> <td class=\"text-nowrap\">"; // line 82 if ( !(null === (($__internal_compile_22 = $context["row"]) && is_array($__internal_compile_22) || $__internal_compile_22 instanceof ArrayAccess ? ($__internal_compile_22["Default"] ?? null) : null))) { // line 83 if (((($__internal_compile_23 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_23) || $__internal_compile_23 instanceof ArrayAccess ? ($__internal_compile_23["type"] ?? null) : null) == "bit")) { // line 84 echo twig_escape_filter($this->env, PhpMyAdmin\Util::convertBitDefaultValue((($__internal_compile_24 = $context["row"]) && is_array($__internal_compile_24) || $__internal_compile_24 instanceof ArrayAccess ? ($__internal_compile_24["Default"] ?? null) : null)), "html", null, true); } else { // line 86 echo twig_escape_filter($this->env, (($__internal_compile_25 = $context["row"]) && is_array($__internal_compile_25) || $__internal_compile_25 instanceof ArrayAccess ? ($__internal_compile_25["Default"] ?? null) : null), "html", null, true); } } elseif (((($__internal_compile_26 = // line 88 $context["row"]) && is_array($__internal_compile_26) || $__internal_compile_26 instanceof ArrayAccess ? ($__internal_compile_26["Null"] ?? null) : null) == "YES")) { // line 89 echo "<em>NULL</em>"; } else { // line 91 echo "<em>"; echo _pgettext("None for default", "None"); echo "</em>"; } // line 93 echo "</td> "; // line 94 if (($context["show_column_comments"] ?? null)) { // line 95 echo " <td> "; // line 96 echo twig_escape_filter($this->env, ($context["comments"] ?? null), "html", null, true); echo " </td> "; } // line 99 echo " <td class=\"text-nowrap\">"; echo twig_escape_filter($this->env, twig_upper_filter($this->env, (($__internal_compile_27 = $context["row"]) && is_array($__internal_compile_27) || $__internal_compile_27 instanceof ArrayAccess ? ($__internal_compile_27["Extra"] ?? null) : null)), "html", null, true); echo "</td> "; // line 100 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 101 echo " <td class=\"edit text-center d-print-none\"> <a class=\"change_column_anchor ajax\" href=\""; // line 102 echo PhpMyAdmin\Url::getFromRoute("/table/structure/change", ["db" => // line 103 ($context["db"] ?? null), "table" => // line 104 ($context["table"] ?? null), "field" => (($__internal_compile_28 = // line 105 $context["row"]) && is_array($__internal_compile_28) || $__internal_compile_28 instanceof ArrayAccess ? ($__internal_compile_28["Field"] ?? null) : null), "change_column" => 1]); // line 107 echo "\"> "; // line 108 echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Change")); echo " </a> </td> <td class=\"drop text-center d-print-none\"> <a class=\"drop_column_anchor ajax\" href=\""; // line 112 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 113 ($context["db"] ?? null), "table" => // line 114 ($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 115 ($context["table"] ?? null))) . " DROP ") . PhpMyAdmin\Util::backquote((($__internal_compile_29 = $context["row"]) && is_array($__internal_compile_29) || $__internal_compile_29 instanceof ArrayAccess ? ($__internal_compile_29["Field"] ?? null) : null))) . ";"), "dropped_column" => (($__internal_compile_30 = // line 116 $context["row"]) && is_array($__internal_compile_30) || $__internal_compile_30 instanceof ArrayAccess ? ($__internal_compile_30["Field"] ?? null) : null), "purge" => true, "message_to_show" => twig_sprintf(_gettext("Column %s has been dropped."), twig_escape_filter($this->env, (($__internal_compile_31 = // line 118 $context["row"]) && is_array($__internal_compile_31) || $__internal_compile_31 instanceof ArrayAccess ? ($__internal_compile_31["Field"] ?? null) : null)))], "", false); // line 119 echo "\"> "; // line 120 echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); echo " </a> </td> "; } // line 124 echo " "; // line 125 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 126 echo " "; $context["type"] = (( !twig_test_empty((($__internal_compile_32 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_32) || $__internal_compile_32 instanceof ArrayAccess ? ($__internal_compile_32["print_type"] ?? null) : null))) ? ((($__internal_compile_33 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_33) || $__internal_compile_33 instanceof ArrayAccess ? ($__internal_compile_33["print_type"] ?? null) : null)) : ("")); // line 127 echo " <td class=\"d-print-none\"> "; // line 128 if (($context["hide_structure_actions"] ?? null)) { // line 129 echo " <div class=\"dropdown\"> <button class=\"btn btn-link p-0 dropdown-toggle\" type=\"button\" id=\"moreActionsButton\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\">"; echo _gettext("More"); // line 130 echo "</button> <ul class=\"dropdown-menu dropdown-menu-end\" aria-labelledby=\"moreActionsButton\"> "; } else { // line 133 echo " <ul class=\"nav\"> "; } // line 135 echo " <li class=\""; echo (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); echo "primary text-nowrap\"> "; // line 136 if (((((($context["type"] ?? null) == "text") || (($context["type"] ?? null) == "blob")) || (($context["tbl_storage_engine"] ?? null) == "ARCHIVE")) || (($context["primary"] ?? null) && twig_get_attribute($this->env, $this->source, ($context["primary"] ?? null), "hasColumn", [0 => ($context["field_name"] ?? null)], "method", false, false, false, 136)))) { // line 137 echo " <span class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1")); echo " disabled\">"; echo PhpMyAdmin\Html\Generator::getIcon("bd_primary", _gettext("Primary")); echo "</span> "; } else { // line 139 echo " <a rel=\"samepage\" class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); echo " ajax add_key d-print-none add_primary_key_anchor\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/table/structure/add-key"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 140 ($context["db"] ?? null), "table" => // line 141 ($context["table"] ?? null), "sql_query" => ((((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 142 ($context["table"] ?? null))) . ((($context["primary"] ?? null)) ? (" DROP PRIMARY KEY,") : (""))) . " ADD PRIMARY KEY(") . PhpMyAdmin\Util::backquote((($__internal_compile_34 = $context["row"]) && is_array($__internal_compile_34) || $__internal_compile_34 instanceof ArrayAccess ? ($__internal_compile_34["Field"] ?? null) : null))) . ");"), "message_to_show" => twig_sprintf(_gettext("A primary key has been added on %s."), twig_escape_filter($this->env, (($__internal_compile_35 = // line 143 $context["row"]) && is_array($__internal_compile_35) || $__internal_compile_35 instanceof ArrayAccess ? ($__internal_compile_35["Field"] ?? null) : null)))], "", false); // line 144 echo "\"> "; // line 145 echo PhpMyAdmin\Html\Generator::getIcon("b_primary", _gettext("Primary")); echo " </a> "; } // line 148 echo " </li> <li class=\""; // line 150 echo (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); echo "add_unique unique text-nowrap\"> "; // line 151 if (((((($context["type"] ?? null) == "text") || (($context["type"] ?? null) == "blob")) || (($context["tbl_storage_engine"] ?? null) == "ARCHIVE")) || twig_in_filter(($context["field_name"] ?? null), ($context["columns_with_unique_index"] ?? null)))) { // line 152 echo " <span class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1")); echo " disabled\">"; echo PhpMyAdmin\Html\Generator::getIcon("bd_unique", _gettext("Unique")); echo "</span> "; } else { // line 154 echo " <a rel=\"samepage\" class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); echo " ajax add_key d-print-none add_unique_anchor\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/table/structure/add-key"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 155 ($context["db"] ?? null), "table" => // line 156 ($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 157 ($context["table"] ?? null))) . " ADD UNIQUE(") . PhpMyAdmin\Util::backquote((($__internal_compile_36 = $context["row"]) && is_array($__internal_compile_36) || $__internal_compile_36 instanceof ArrayAccess ? ($__internal_compile_36["Field"] ?? null) : null))) . ");"), "message_to_show" => twig_sprintf(_gettext("An index has been added on %s."), twig_escape_filter($this->env, (($__internal_compile_37 = // line 158 $context["row"]) && is_array($__internal_compile_37) || $__internal_compile_37 instanceof ArrayAccess ? ($__internal_compile_37["Field"] ?? null) : null)))], "", false); // line 159 echo "\"> "; // line 160 echo PhpMyAdmin\Html\Generator::getIcon("b_unique", _gettext("Unique")); echo " </a> "; } // line 163 echo " </li> <li class=\""; // line 165 echo (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); echo "add_index text-nowrap\"> "; // line 166 if ((((($context["type"] ?? null) == "text") || (($context["type"] ?? null) == "blob")) || (($context["tbl_storage_engine"] ?? null) == "ARCHIVE"))) { // line 167 echo " <span class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1")); echo " disabled\">"; echo PhpMyAdmin\Html\Generator::getIcon("bd_index", _gettext("Index")); echo "</span> "; } else { // line 169 echo " <a rel=\"samepage\" class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); echo " ajax add_key d-print-none add_index_anchor\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/table/structure/add-key"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 170 ($context["db"] ?? null), "table" => // line 171 ($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 172 ($context["table"] ?? null))) . " ADD INDEX(") . PhpMyAdmin\Util::backquote((($__internal_compile_38 = $context["row"]) && is_array($__internal_compile_38) || $__internal_compile_38 instanceof ArrayAccess ? ($__internal_compile_38["Field"] ?? null) : null))) . ");"), "message_to_show" => twig_sprintf(_gettext("An index has been added on %s."), twig_escape_filter($this->env, (($__internal_compile_39 = // line 173 $context["row"]) && is_array($__internal_compile_39) || $__internal_compile_39 instanceof ArrayAccess ? ($__internal_compile_39["Field"] ?? null) : null)))], "", false); // line 174 echo "\"> "; // line 175 echo PhpMyAdmin\Html\Generator::getIcon("b_index", _gettext("Index")); echo " </a> "; } // line 178 echo " </li> "; // line 180 $context["spatial_types"] = [0 => "geometry", 1 => "point", 2 => "linestring", 3 => "polygon", 4 => "multipoint", 5 => "multilinestring", 6 => "multipolygon", 7 => "geomtrycollection"]; // line 190 echo " <li class=\""; echo (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); echo "spatial text-nowrap\"> "; // line 191 if (((((($context["type"] ?? null) == "text") || (($context["type"] ?? null) == "blob")) || (($context["tbl_storage_engine"] ?? null) == "ARCHIVE")) || (!twig_in_filter(($context["type"] ?? null), ($context["spatial_types"] ?? null)) && ((($context["tbl_storage_engine"] ?? null) == "MYISAM") || (($context["mysql_int_version"] ?? null) >= 50705))))) { // line 192 echo " <span class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1")); echo " disabled\">"; echo PhpMyAdmin\Html\Generator::getIcon("bd_spatial", _gettext("Spatial")); echo "</span> "; } else { // line 194 echo " <a rel=\"samepage\" class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); echo " ajax add_key d-print-none add_spatial_anchor\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/table/structure/add-key"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 195 ($context["db"] ?? null), "table" => // line 196 ($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 197 ($context["table"] ?? null))) . " ADD SPATIAL(") . PhpMyAdmin\Util::backquote((($__internal_compile_40 = $context["row"]) && is_array($__internal_compile_40) || $__internal_compile_40 instanceof ArrayAccess ? ($__internal_compile_40["Field"] ?? null) : null))) . ");"), "message_to_show" => twig_sprintf(_gettext("An index has been added on %s."), twig_escape_filter($this->env, (($__internal_compile_41 = // line 198 $context["row"]) && is_array($__internal_compile_41) || $__internal_compile_41 instanceof ArrayAccess ? ($__internal_compile_41["Field"] ?? null) : null)))], "", false); // line 199 echo "\"> "; // line 200 echo PhpMyAdmin\Html\Generator::getIcon("b_spatial", _gettext("Spatial")); echo " </a> "; } // line 203 echo " </li> "; // line 206 echo " <li class=\""; echo (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); echo "fulltext text-nowrap\"> "; // line 207 if ((( !twig_test_empty(($context["tbl_storage_engine"] ?? null)) && (((( // line 208 ($context["tbl_storage_engine"] ?? null) == "MYISAM") || ( // line 209 ($context["tbl_storage_engine"] ?? null) == "ARIA")) || ( // line 210 ($context["tbl_storage_engine"] ?? null) == "MARIA")) || (( // line 211 ($context["tbl_storage_engine"] ?? null) == "INNODB") && (($context["mysql_int_version"] ?? null) >= 50604)))) && (twig_in_filter("text", // line 212 ($context["type"] ?? null)) || twig_in_filter("char", ($context["type"] ?? null))))) { // line 213 echo " <a rel=\"samepage\" class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); echo " ajax add_key add_fulltext_anchor\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/table/structure/add-key"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 214 ($context["db"] ?? null), "table" => // line 215 ($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 216 ($context["table"] ?? null))) . " ADD FULLTEXT(") . PhpMyAdmin\Util::backquote((($__internal_compile_42 = $context["row"]) && is_array($__internal_compile_42) || $__internal_compile_42 instanceof ArrayAccess ? ($__internal_compile_42["Field"] ?? null) : null))) . ");"), "message_to_show" => twig_sprintf(_gettext("An index has been added on %s."), twig_escape_filter($this->env, (($__internal_compile_43 = // line 217 $context["row"]) && is_array($__internal_compile_43) || $__internal_compile_43 instanceof ArrayAccess ? ($__internal_compile_43["Field"] ?? null) : null)))], "", false); // line 218 echo "\"> "; // line 219 echo PhpMyAdmin\Html\Generator::getIcon("b_ftext", _gettext("Fulltext")); echo " </a> "; } else { // line 222 echo " <span class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1")); echo " disabled\">"; echo PhpMyAdmin\Html\Generator::getIcon("bd_ftext", _gettext("Fulltext")); echo "</span> "; } // line 224 echo " </li> "; // line 227 echo " <li class=\""; echo (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); echo "browse text-nowrap\"> <a class=\""; // line 228 echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); echo "\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 229 ($context["db"] ?? null), "table" => // line 230 ($context["table"] ?? null), "sql_query" => ((((((((("SELECT COUNT(*) AS " . PhpMyAdmin\Util::backquote(_gettext("Rows"))) . ", ") . PhpMyAdmin\Util::backquote((($__internal_compile_44 = // line 232 $context["row"]) && is_array($__internal_compile_44) || $__internal_compile_44 instanceof ArrayAccess ? ($__internal_compile_44["Field"] ?? null) : null))) . " FROM ") . PhpMyAdmin\Util::backquote( // line 233 ($context["table"] ?? null))) . " GROUP BY ") . PhpMyAdmin\Util::backquote((($__internal_compile_45 = // line 234 $context["row"]) && is_array($__internal_compile_45) || $__internal_compile_45 instanceof ArrayAccess ? ($__internal_compile_45["Field"] ?? null) : null))) . " ORDER BY ") . PhpMyAdmin\Util::backquote((($__internal_compile_46 = // line 235 $context["row"]) && is_array($__internal_compile_46) || $__internal_compile_46 instanceof ArrayAccess ? ($__internal_compile_46["Field"] ?? null) : null))), "is_browse_distinct" => true], "", false); // line 237 echo "\"> "; // line 238 echo PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Distinct values")); echo " </a> </li> "; // line 241 if ( !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "centralColumnsFeature", [], "any", false, false, false, 241))) { // line 242 echo " <li class=\""; echo (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); echo "browse text-nowrap\"> "; // line 243 if (twig_in_filter((($__internal_compile_47 = $context["row"]) && is_array($__internal_compile_47) || $__internal_compile_47 instanceof ArrayAccess ? ($__internal_compile_47["Field"] ?? null) : null), ($context["central_list"] ?? null))) { // line 244 echo " <a class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); echo "\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/table/structure/central-columns-remove"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 245 ($context["db"] ?? null), "table" => // line 246 ($context["table"] ?? null), "selected_fld" => [0 => (($__internal_compile_48 = // line 247 $context["row"]) && is_array($__internal_compile_48) || $__internal_compile_48 instanceof ArrayAccess ? ($__internal_compile_48["Field"] ?? null) : null)]]); // line 248 echo "\"> "; // line 249 echo PhpMyAdmin\Html\Generator::getIcon("centralColumns_delete", _gettext("Remove from central columns")); echo " </a> "; } else { // line 252 echo " <a class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); echo "\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/table/structure/central-columns-add"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 253 ($context["db"] ?? null), "table" => // line 254 ($context["table"] ?? null), "selected_fld" => [0 => (($__internal_compile_49 = // line 255 $context["row"]) && is_array($__internal_compile_49) || $__internal_compile_49 instanceof ArrayAccess ? ($__internal_compile_49["Field"] ?? null) : null)]]); // line 256 echo "\"> "; // line 257 echo PhpMyAdmin\Html\Generator::getIcon("centralColumns_add", _gettext("Add to central columns")); echo " </a> "; } // line 260 echo " </li> "; } // line 262 echo " "; if ( !($context["hide_structure_actions"] ?? null)) { // line 263 echo " </ul> "; } else { // line 265 echo " </ul> </div> "; } // line 268 echo " </td> "; } // line 270 echo " </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 272 echo " </tbody> </table> </div> <div class=\"d-print-none\"> "; // line 276 $this->loadTemplate("select_all.twig", "table/structure/display_structure.twig", 276)->display(twig_to_array(["text_dir" => // line 277 ($context["text_dir"] ?? null), "form_name" => "fieldsForm"])); // line 280 echo " <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 281 echo PhpMyAdmin\Url::getFromRoute("/table/structure/browse"); echo "\"> "; // line 282 echo PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse")); echo " </button> "; // line 285 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 286 echo " <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; echo PhpMyAdmin\Url::getFromRoute("/table/structure/change"); echo "\"> "; // line 287 echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Change")); echo " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 289 echo PhpMyAdmin\Url::getFromRoute("/table/structure/drop-confirm"); echo "\"> "; // line 290 echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); echo " </button> "; // line 293 if ((($context["tbl_storage_engine"] ?? null) != "ARCHIVE")) { // line 294 echo " <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; echo PhpMyAdmin\Url::getFromRoute("/table/structure/primary"); echo "\"> "; // line 295 echo PhpMyAdmin\Html\Generator::getIcon("b_primary", _gettext("Primary")); echo " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 297 echo PhpMyAdmin\Url::getFromRoute("/table/structure/unique"); echo "\"> "; // line 298 echo PhpMyAdmin\Html\Generator::getIcon("b_unique", _gettext("Unique")); echo " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 300 echo PhpMyAdmin\Url::getFromRoute("/table/structure/index"); echo "\"> "; // line 301 echo PhpMyAdmin\Html\Generator::getIcon("b_index", _gettext("Index")); echo " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 303 echo PhpMyAdmin\Url::getFromRoute("/table/structure/spatial"); echo "\"> "; // line 304 echo PhpMyAdmin\Html\Generator::getIcon("b_spatial", _gettext("Spatial")); echo " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 306 echo PhpMyAdmin\Url::getFromRoute("/table/structure/fulltext"); echo "\"> "; // line 307 echo PhpMyAdmin\Html\Generator::getIcon("b_ftext", _gettext("Fulltext")); echo " </button> "; // line 310 if ( !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "centralColumnsFeature", [], "any", false, false, false, 310))) { // line 311 echo " <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; echo PhpMyAdmin\Url::getFromRoute("/table/structure/central-columns-add"); echo "\"> "; // line 312 echo PhpMyAdmin\Html\Generator::getIcon("centralColumns_add", _gettext("Add to central columns")); echo " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 314 echo PhpMyAdmin\Url::getFromRoute("/table/structure/central-columns-remove"); echo "\"> "; // line 315 echo PhpMyAdmin\Html\Generator::getIcon("centralColumns_delete", _gettext("Remove from central columns")); echo " </button> "; } // line 318 echo " "; } // line 319 echo " "; } // line 320 echo " </div> </form> <hr class=\"d-print-none\"> <div class=\"modal fade\" id=\"moveColumnsModal\" tabindex=\"-1\" aria-labelledby=\"moveColumnsModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"moveColumnsModalLabel\">"; echo _gettext("Move columns"); // line 328 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 329 echo "\"></button> </div> <div class=\"modal-body\"> <div id=\"move_columns_dialog\" title=\""; echo _gettext("Move columns"); // line 332 echo "\"> <p>"; echo _gettext("Move the columns by dragging them up and down."); // line 333 echo "</p> <form action=\""; // line 334 echo PhpMyAdmin\Url::getFromRoute("/table/structure/move-columns"); echo "\" name=\"move_column_form\" id=\"move_column_form\"> <div> "; // line 336 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <ul></ul> </div> </form> </div> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-primary\" id=\"designerModalGoButton\">"; echo _gettext("Go"); // line 343 echo "</button> <button type=\"button\" class=\"btn btn-secondary\" id=\"designerModalPreviewButton\" data-bs-target=\"#designerModalPreviewModal\" data-bs-toggle=\"modal\">"; echo _gettext("Preview SQL"); // line 344 echo "</button> <button type=\"button\" class=\"btn btn-secondary\" id=\"designerModalCloseButton\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 345 echo "</button> </div> </div> </div> </div> <div class=\"modal fade\" id=\"designerModalPreviewModal\" aria-hidden=\"true\" aria-labelledby=\"designerModalPreviewModalLabel\" tabindex=\"-1\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"designerModalPreviewModalLabel\">"; echo _gettext("Preview SQL"); // line 354 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 355 echo "\"></button> </div> <div class=\"modal-body\"> <div class=\"spinner-border\" role=\"status\"> <span class=\"visually-hidden\">"; echo _gettext("Loading…"); // line 359 echo "</span> </div> </div> <div class=\"modal-footer\"> <button class=\"btn btn-primary\" data-bs-target=\"#moveColumnsModal\" data-bs-toggle=\"modal\">"; echo _gettext("Go back"); // line 363 echo "</button> </div> </div> </div> </div> <div class=\"modal fade\" id=\"moveColumnsErrorModal\" tabindex=\"-1\" aria-labelledby=\"moveColumnsErrorModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"moveColumnsErrorModalLabel\">"; echo _gettext("Error"); // line 372 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 373 echo "\"></button> </div> <div class=\"modal-body\"> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("OK"); // line 378 echo "</button> </div> </div> </div> </div> "; // line 385 echo "<div id=\"structure-action-links\" class=\"d-print-none\"> "; // line 386 if ((($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 387 echo " "; echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/view/create"), ["db" => // line 389 ($context["db"] ?? null), "table" => ($context["table"] ?? null)], PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit view"), true)); // line 391 echo " "; } // line 393 echo " <button type=\"button\" class=\"btn btn-link p-0 jsPrintButton\">"; echo PhpMyAdmin\Html\Generator::getIcon("b_print", _gettext("Print"), true); echo "</button> "; // line 394 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 395 echo " "; // line 396 echo " "; if (((($context["mysql_int_version"] ?? null) < 80000) || ($context["is_mariadb"] ?? null))) { // line 397 echo " <a class=\"me-0\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 398 ($context["db"] ?? null), "table" => // line 399 ($context["table"] ?? null), "sql_query" => (("SELECT * FROM " . PhpMyAdmin\Util::backquote( // line 400 ($context["table"] ?? null))) . " PROCEDURE ANALYSE()"), "session_max_rows" => "all"], "", false); // line 402 echo "\"> "; // line 403 echo PhpMyAdmin\Html\Generator::getIcon("b_tblanalyse", _gettext("Propose table structure"), true); // line 407 echo " </a> "; // line 409 echo PhpMyAdmin\Html\MySQLDocumentation::show("procedure_analyse"); echo " "; } // line 411 echo " "; if (($context["is_active"] ?? null)) { // line 412 echo " <a href=\""; echo PhpMyAdmin\Url::getFromRoute("/table/tracking", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); echo "\"> "; // line 413 echo PhpMyAdmin\Html\Generator::getIcon("eye", _gettext("Track table"), true); echo " </a> "; } // line 416 echo " <a href=\"#\" id=\"move_columns_anchor\"> "; // line 417 echo PhpMyAdmin\Html\Generator::getIcon("b_move", _gettext("Move columns"), true); echo " </a> <a href=\""; // line 419 echo PhpMyAdmin\Url::getFromRoute("/normalization", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); echo "\"> "; // line 420 echo PhpMyAdmin\Html\Generator::getIcon("normalize", _gettext("Normalize"), true); echo " </a> "; } // line 423 echo " "; if ((($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 424 echo " "; if (($context["is_active"] ?? null)) { // line 425 echo " <a href=\""; echo PhpMyAdmin\Url::getFromRoute("/table/tracking", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); echo "\"> "; // line 426 echo PhpMyAdmin\Html\Generator::getIcon("eye", _gettext("Track view"), true); echo " </a> "; } // line 429 echo " "; } // line 430 echo "</div> "; // line 431 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 432 echo " <form method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/table/add-field"); echo "\" id=\"addColumns\" name=\"addColumns\" class=\"d-print-none\"> "; // line 433 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " "; // line 434 if (PhpMyAdmin\Util::showIcons("ActionLinksMode")) { // line 435 echo " "; echo PhpMyAdmin\Html\Generator::getImage("b_insrow", _gettext("Add column")); echo " "; } // line 437 echo " "; $context["num_fields"] = ('' === $tmp = "<input type=\"number\" name=\"num_fields\" value=\"1\" onfocus=\"this.select()\" min=\"1\" required>") ? '' : new Markup($tmp, $this->env->getCharset()); // line 440 echo " "; echo twig_sprintf(_gettext("Add %s column(s)"), ($context["num_fields"] ?? null)); echo " <input type=\"hidden\" name=\"field_where\" value=\"after\"> "; // line 443 echo " <select name=\"after_field\"> <option value=\"first\" data-pos=\"first\"> "; echo _gettext("at beginning of table"); // line 446 echo " </option> "; // line 447 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["columns_list"] ?? 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["one_column_name"]) { // line 448 echo " <option value=\""; echo twig_escape_filter($this->env, $context["one_column_name"], "html", null, true); echo "\""; // line 449 echo (((twig_get_attribute($this->env, $this->source, $context["loop"], "revindex0", [], "any", false, false, false, 449) == 0)) ? (" selected=\"selected\"") : ("")); echo "> "; // line 450 echo twig_escape_filter($this->env, twig_sprintf(_gettext("after %s"), $context["one_column_name"]), "html", null, true); echo " </option> "; ++$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['one_column_name'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 453 echo " </select> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 454 echo "\"> </form> "; } // line 457 echo " "; // line 458 if ((( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null)) && (($context["tbl_storage_engine"] ?? null) != "ARCHIVE"))) { // line 459 echo " <div id=\"index_div\" class=\"w-100 ajax\"> <fieldset class=\"pma-fieldset index_info\"> <legend id=\"index_header\"> "; echo _gettext("Indexes"); // line 463 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("optimizing-database-structure"); echo " </legend> "; // line 466 if ( !twig_test_empty(($context["indexes"] ?? null))) { // line 467 echo " "; echo ($context["indexes_duplicates"] ?? null); echo " "; // line 469 echo twig_include($this->env, $context, "modals/preview_sql_confirmation.twig"); echo " <div class=\"table-responsive jsresponsive\"> <table class=\"table table-striped table-hover table-sm w-auto align-middle\" id=\"table_index\"> <thead> <tr> <th colspan=\"3\" class=\"d-print-none\">"; echo _gettext("Action"); // line 474 echo "</th> <th>"; echo _gettext("Keyname"); // line 475 echo "</th> <th>"; echo _gettext("Type"); // line 476 echo "</th> <th>"; echo _gettext("Unique"); // line 477 echo "</th> <th>"; echo _gettext("Packed"); // line 478 echo "</th> <th>"; echo _gettext("Column"); // line 479 echo "</th> <th>"; echo _gettext("Cardinality"); // line 480 echo "</th> <th>"; echo _gettext("Collation"); // line 481 echo "</th> <th>"; echo _gettext("Null"); // line 482 echo "</th> <th>"; echo _gettext("Comment"); // line 483 echo "</th> </tr> </thead> <tbody class=\"row_span\"> "; // line 488 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["indexes"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["index"]) { // line 489 echo " "; $context["columns_count"] = twig_get_attribute($this->env, $this->source, $context["index"], "getColumnCount", [], "method", false, false, false, 489); // line 490 echo " <tr class=\"noclick\"> <td rowspan=\""; // line 491 echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true); echo "\" class=\"edit_index d-print-none ajax\"> <a class=\"ajax\" href=\""; // line 492 echo PhpMyAdmin\Url::getFromRoute("/table/indexes"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 493 ($context["db"] ?? null), "table" => // line 494 ($context["table"] ?? null), "index" => twig_get_attribute($this->env, $this->source, // line 495 $context["index"], "getName", [], "method", false, false, false, 495)], "", false); // line 496 echo "\"> "; // line 497 echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit")); echo " </a> </td> <td rowspan=\""; // line 500 echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true); echo "\" class=\"rename_index d-print-none ajax\" > <a class=\"ajax\" href=\""; // line 501 echo PhpMyAdmin\Url::getFromRoute("/table/indexes/rename"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 502 ($context["db"] ?? null), "table" => // line 503 ($context["table"] ?? null), "index" => twig_get_attribute($this->env, $this->source, // line 504 $context["index"], "getName", [], "method", false, false, false, 504)], "", false); // line 505 echo "\"> "; // line 506 echo PhpMyAdmin\Html\Generator::getIcon("b_rename", _gettext("Rename")); echo " </a> </td> <td rowspan=\""; // line 509 echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true); echo "\" class=\"d-print-none\"> "; // line 510 if ((twig_get_attribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 510) == "PRIMARY")) { // line 511 echo " "; $context["index_params"] = ["sql_query" => (("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 512 ($context["table"] ?? null))) . " DROP PRIMARY KEY;"), "message_to_show" => _gettext("The primary key has been dropped.")]; // line 515 echo " "; } else { // line 516 echo " "; $context["index_params"] = ["sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 517 ($context["table"] ?? null))) . " DROP INDEX ") . PhpMyAdmin\Util::backquote(twig_get_attribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 517))) . ";"), "message_to_show" => twig_sprintf(_gettext("Index %s has been dropped."), twig_get_attribute($this->env, $this->source, // line 518 $context["index"], "getName", [], "method", false, false, false, 518))]; // line 520 echo " "; } // line 521 echo " <input type=\"hidden\" class=\"drop_primary_key_index_msg\" value=\""; // line 522 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["index_params"] ?? null), "sql_query", [], "any", false, false, false, 522), "html", null, true); echo "\"> "; // line 523 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), twig_array_merge( // line 525 ($context["index_params"] ?? null), ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]), PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")), ["class" => "drop_primary_key_index_anchor ajax"]); // line 528 echo " </td> <th rowspan=\""; // line 530 echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 530), "html", null, true); echo "</th> <td rowspan=\""; // line 531 echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["index"], "getType", [], "method", true, true, false, 531)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["index"], "getType", [], "method", false, false, false, 531), twig_get_attribute($this->env, $this->source, $context["index"], "getChoice", [], "method", false, false, false, 531))) : (twig_get_attribute($this->env, $this->source, $context["index"], "getChoice", [], "method", false, false, false, 531))), "html", null, true); echo "</td> <td rowspan=\""; // line 532 echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["index"], "isUnique", [], "method", false, false, false, 532)) ? (_gettext("Yes")) : (_gettext("No"))), "html", null, true); echo "</td> <td rowspan=\""; // line 533 echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true); echo "\">"; echo twig_get_attribute($this->env, $this->source, $context["index"], "isPacked", [], "method", false, false, false, 533); echo "</td> "; // line 535 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["index"], "getColumns", [], "method", false, false, false, 535)); foreach ($context['_seq'] as $context["_key"] => $context["column"]) { // line 536 echo " "; if ((twig_get_attribute($this->env, $this->source, $context["column"], "getSeqInIndex", [], "method", false, false, false, 536) > 1)) { // line 537 echo " <tr class=\"noclick\"> "; } // line 539 echo " <td> "; // line 540 if (twig_get_attribute($this->env, $this->source, $context["column"], "hasExpression", [], "method", false, false, false, 540)) { echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getExpression", [], "method", false, false, false, 540), "html", null, true); } else { echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getName", [], "method", false, false, false, 540), "html", null, true); } // line 541 echo " "; if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["column"], "getSubPart", [], "method", false, false, false, 541))) { // line 542 echo " ("; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getSubPart", [], "method", false, false, false, 542), "html", null, true); echo ") "; } // line 544 echo " </td> <td>"; // line 545 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getCardinality", [], "method", false, false, false, 545), "html", null, true); echo "</td> <td>"; // line 546 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getCollation", [], "method", false, false, false, 546), "html", null, true); echo "</td> <td>"; // line 547 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getNull", [0 => true], "method", false, false, false, 547), "html", null, true); echo "</td> "; // line 549 if ((twig_get_attribute($this->env, $this->source, $context["column"], "getSeqInIndex", [], "method", false, false, false, 549) == 1)) { // line 550 echo " <td rowspan=\""; echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["index"], "getComments", [], "method", false, false, false, 550), "html", null, true); echo "</td> "; } // line 552 echo " </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 554 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['index'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 555 echo " </tbody> </table> </div> "; } else { // line 559 echo " <div class=\"no_indexes_defined\">"; echo $this->env->getFilter('notice')->getCallable()(_gettext("No index defined!")); echo "</div> "; } // line 561 echo " </fieldset> <fieldset class=\"pma-fieldset tblFooters d-print-none text-start\"> <form action=\""; // line 564 echo PhpMyAdmin\Url::getFromRoute("/table/indexes"); echo "\" method=\"post\"> "; // line 565 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"create_index\" value=\"1\"> "; // line 568 ob_start(function () { return ''; }); // line 569 echo " "; echo _gettext("Create an index on %s columns"); // line 570 echo " "; $___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 568 echo twig_sprintf($___internal_parse_0_, "<input class=\"mx-2\" type=\"number\" name=\"added_fields\" value=\"1\" min=\"1\" max=\"16\" required>"); // line 571 echo " <input class=\"btn btn-primary add_index ajax\" type=\"submit\" value=\""; echo _gettext("Go"); // line 572 echo "\"> </form> </fieldset> </div> "; // line 576 echo twig_include($this->env, $context, "modals/index_dialog_modal.twig"); echo " "; } // line 578 echo " "; // line 580 if (($context["have_partitioning"] ?? null)) { // line 581 echo " "; // line 582 echo " "; if (( !twig_test_empty(($context["partition_names"] ?? null)) && !(null === (($__internal_compile_50 = ($context["partition_names"] ?? null)) && is_array($__internal_compile_50) || $__internal_compile_50 instanceof ArrayAccess ? ($__internal_compile_50[0] ?? null) : null)))) { // line 583 echo " "; $context["first_partition"] = (($__internal_compile_51 = ($context["partitions"] ?? null)) && is_array($__internal_compile_51) || $__internal_compile_51 instanceof ArrayAccess ? ($__internal_compile_51[0] ?? null) : null); // line 584 echo " "; $context["range_or_list"] = ((((twig_get_attribute($this->env, $this->source, ($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 584) == "RANGE") || (twig_get_attribute($this->env, $this->source, // line 585 ($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 585) == "RANGE COLUMNS")) || (twig_get_attribute($this->env, $this->source, // line 586 ($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 586) == "LIST")) || (twig_get_attribute($this->env, $this->source, // line 587 ($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 587) == "LIST COLUMNS")); // line 588 echo " "; $context["sub_partitions"] = twig_get_attribute($this->env, $this->source, ($context["first_partition"] ?? null), "getSubPartitions", [], "method", false, false, false, 588); // line 589 echo " "; $context["has_sub_partitions"] = twig_get_attribute($this->env, $this->source, ($context["first_partition"] ?? null), "hasSubPartitions", [], "method", false, false, false, 589); // line 590 echo " "; if (($context["has_sub_partitions"] ?? null)) { // line 591 echo " "; $context["first_sub_partition"] = (($__internal_compile_52 = ($context["sub_partitions"] ?? null)) && is_array($__internal_compile_52) || $__internal_compile_52 instanceof ArrayAccess ? ($__internal_compile_52[0] ?? null) : null); // line 592 echo " "; } // line 593 echo " "; // line 594 if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 595 echo " <div class=\"mb-3\"> <button class=\"btn btn-sm btn-secondary\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#partitionsCollapse\" aria-expanded=\""; // line 596 echo (((($context["default_sliders_state"] ?? null) == "open")) ? ("true") : ("false")); echo "\" aria-controls=\"partitionsCollapse\"> "; echo _gettext("Partitions"); // line 598 echo " </button> </div> <div class=\"collapse mb-3"; // line 600 echo (((($context["default_sliders_state"] ?? null) == "open")) ? (" show") : ("")); echo "\" id=\"partitionsCollapse\"> "; } // line 602 echo " "; // line 603 $this->loadTemplate("table/structure/display_partitions.twig", "table/structure/display_structure.twig", 603)->display(twig_to_array(["db" => // line 604 ($context["db"] ?? null), "table" => // line 605 ($context["table"] ?? null), "partitions" => // line 606 ($context["partitions"] ?? null), "partition_method" => twig_get_attribute($this->env, $this->source, // line 607 ($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 607), "partition_expression" => twig_get_attribute($this->env, $this->source, // line 608 ($context["first_partition"] ?? null), "getExpression", [], "method", false, false, false, 608), "has_description" => !twig_test_empty(twig_get_attribute($this->env, $this->source, // line 609 ($context["first_partition"] ?? null), "getDescription", [], "method", false, false, false, 609)), "has_sub_partitions" => // line 610 ($context["has_sub_partitions"] ?? null), "sub_partition_method" => (( // line 611 ($context["has_sub_partitions"] ?? null)) ? (twig_get_attribute($this->env, $this->source, ($context["first_sub_partition"] ?? null), "getMethod", [], "method", false, false, false, 611)) : ("")), "sub_partition_expression" => (( // line 612 ($context["has_sub_partitions"] ?? null)) ? (twig_get_attribute($this->env, $this->source, ($context["first_sub_partition"] ?? null), "getExpression", [], "method", false, false, false, 612)) : ("")), "range_or_list" => // line 613 ($context["range_or_list"] ?? null)])); // line 615 echo " "; } else { // line 616 echo " "; $this->loadTemplate("table/structure/display_partitions.twig", "table/structure/display_structure.twig", 616)->display(twig_to_array(["db" => // line 617 ($context["db"] ?? null), "table" => // line 618 ($context["table"] ?? null)])); // line 620 echo " "; } // line 621 echo " "; if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 622 echo " </div> "; } } // line 625 echo " "; // line 627 if (($context["show_stats"] ?? null)) { // line 628 echo " "; echo ($context["table_stats"] ?? null); echo " "; } // line 630 echo "<div class=\"clearfloat\"></div> "; } public function getTemplateName() { return "table/structure/display_structure.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 1492 => 630, 1486 => 628, 1484 => 627, 1481 => 625, 1476 => 622, 1473 => 621, 1470 => 620, 1468 => 618, 1467 => 617, 1465 => 616, 1462 => 615, 1460 => 613, 1459 => 612, 1458 => 611, 1457 => 610, 1456 => 609, 1455 => 608, 1454 => 607, 1453 => 606, 1452 => 605, 1451 => 604, 1450 => 603, 1447 => 602, 1442 => 600, 1438 => 598, 1433 => 596, 1430 => 595, 1428 => 594, 1425 => 593, 1422 => 592, 1419 => 591, 1416 => 590, 1413 => 589, 1410 => 588, 1408 => 587, 1407 => 586, 1406 => 585, 1404 => 584, 1401 => 583, 1398 => 582, 1396 => 581, 1394 => 580, 1391 => 578, 1386 => 576, 1380 => 572, 1376 => 571, 1374 => 568, 1371 => 570, 1368 => 569, 1366 => 568, 1360 => 565, 1356 => 564, 1351 => 561, 1345 => 559, 1339 => 555, 1333 => 554, 1326 => 552, 1318 => 550, 1316 => 549, 1311 => 547, 1307 => 546, 1303 => 545, 1300 => 544, 1294 => 542, 1291 => 541, 1285 => 540, 1282 => 539, 1278 => 537, 1275 => 536, 1271 => 535, 1264 => 533, 1258 => 532, 1252 => 531, 1246 => 530, 1242 => 528, 1240 => 525, 1239 => 523, 1235 => 522, 1232 => 521, 1229 => 520, 1227 => 518, 1226 => 517, 1224 => 516, 1221 => 515, 1219 => 512, 1217 => 511, 1215 => 510, 1211 => 509, 1205 => 506, 1202 => 505, 1200 => 504, 1199 => 503, 1198 => 502, 1195 => 501, 1191 => 500, 1185 => 497, 1182 => 496, 1180 => 495, 1179 => 494, 1178 => 493, 1175 => 492, 1171 => 491, 1168 => 490, 1165 => 489, 1161 => 488, 1154 => 483, 1150 => 482, 1146 => 481, 1142 => 480, 1138 => 479, 1134 => 478, 1130 => 477, 1126 => 476, 1122 => 475, 1118 => 474, 1109 => 469, 1103 => 467, 1101 => 466, 1094 => 463, 1088 => 459, 1086 => 458, 1083 => 457, 1078 => 454, 1074 => 453, 1057 => 450, 1053 => 449, 1049 => 448, 1032 => 447, 1029 => 446, 1024 => 443, 1018 => 440, 1015 => 437, 1009 => 435, 1007 => 434, 1003 => 433, 998 => 432, 996 => 431, 993 => 430, 990 => 429, 984 => 426, 979 => 425, 976 => 424, 973 => 423, 967 => 420, 963 => 419, 958 => 417, 955 => 416, 949 => 413, 944 => 412, 941 => 411, 936 => 409, 932 => 407, 930 => 403, 927 => 402, 925 => 400, 924 => 399, 923 => 398, 919 => 397, 916 => 396, 914 => 395, 912 => 394, 907 => 393, 903 => 391, 901 => 389, 899 => 387, 897 => 386, 894 => 385, 886 => 378, 878 => 373, 874 => 372, 862 => 363, 855 => 359, 848 => 355, 844 => 354, 832 => 345, 828 => 344, 824 => 343, 813 => 336, 808 => 334, 805 => 333, 801 => 332, 795 => 329, 791 => 328, 780 => 320, 777 => 319, 774 => 318, 768 => 315, 764 => 314, 759 => 312, 754 => 311, 752 => 310, 746 => 307, 742 => 306, 737 => 304, 733 => 303, 728 => 301, 724 => 300, 719 => 298, 715 => 297, 710 => 295, 705 => 294, 703 => 293, 697 => 290, 693 => 289, 688 => 287, 683 => 286, 681 => 285, 675 => 282, 671 => 281, 668 => 280, 666 => 277, 665 => 276, 659 => 272, 652 => 270, 648 => 268, 643 => 265, 639 => 263, 636 => 262, 632 => 260, 626 => 257, 623 => 256, 621 => 255, 620 => 254, 619 => 253, 613 => 252, 607 => 249, 604 => 248, 602 => 247, 601 => 246, 600 => 245, 594 => 244, 592 => 243, 587 => 242, 585 => 241, 579 => 238, 576 => 237, 574 => 235, 573 => 234, 572 => 233, 571 => 232, 570 => 230, 569 => 229, 564 => 228, 559 => 227, 555 => 224, 547 => 222, 541 => 219, 538 => 218, 536 => 217, 535 => 216, 534 => 215, 533 => 214, 527 => 213, 525 => 212, 524 => 211, 523 => 210, 522 => 209, 521 => 208, 520 => 207, 515 => 206, 511 => 203, 505 => 200, 502 => 199, 500 => 198, 499 => 197, 498 => 196, 497 => 195, 491 => 194, 483 => 192, 481 => 191, 476 => 190, 474 => 180, 470 => 178, 464 => 175, 461 => 174, 459 => 173, 458 => 172, 457 => 171, 456 => 170, 450 => 169, 442 => 167, 440 => 166, 436 => 165, 432 => 163, 426 => 160, 423 => 159, 421 => 158, 420 => 157, 419 => 156, 418 => 155, 412 => 154, 404 => 152, 402 => 151, 398 => 150, 394 => 148, 388 => 145, 385 => 144, 383 => 143, 382 => 142, 381 => 141, 380 => 140, 374 => 139, 366 => 137, 364 => 136, 359 => 135, 355 => 133, 350 => 130, 346 => 129, 344 => 128, 341 => 127, 338 => 126, 336 => 125, 333 => 124, 326 => 120, 323 => 119, 321 => 118, 320 => 116, 319 => 115, 318 => 114, 317 => 113, 314 => 112, 307 => 108, 304 => 107, 302 => 105, 301 => 104, 300 => 103, 299 => 102, 296 => 101, 294 => 100, 289 => 99, 283 => 96, 280 => 95, 278 => 94, 275 => 93, 270 => 91, 267 => 89, 265 => 88, 262 => 86, 259 => 84, 257 => 83, 255 => 82, 251 => 80, 247 => 79, 244 => 78, 236 => 76, 234 => 75, 229 => 72, 221 => 70, 219 => 69, 218 => 68, 214 => 67, 209 => 65, 202 => 62, 196 => 60, 188 => 58, 186 => 57, 182 => 56, 177 => 54, 170 => 52, 165 => 49, 163 => 48, 160 => 47, 158 => 46, 155 => 45, 153 => 44, 150 => 43, 147 => 42, 142 => 41, 139 => 40, 134 => 36, 128 => 34, 125 => 33, 122 => 32, 117 => 30, 112 => 28, 110 => 27, 107 => 26, 103 => 25, 99 => 24, 95 => 23, 91 => 22, 87 => 21, 80 => 17, 75 => 13, 72 => 12, 69 => 10, 67 => 9, 65 => 8, 63 => 7, 59 => 5, 55 => 4, 50 => 3, 46 => 2, 35 => 1,); } public function getSourceContext() { return new Source("", "table/structure/display_structure.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/structure/display_structure.twig"); } } twig/bc/bcfce312106f3f2123d39261950cfe0b.php 0000644 00000004167 15114741573 0013170 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* modals/preview_sql_modal.twig */ class __TwigTemplate_c60b7eb579f6c1848949f46cb5105f75 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 echo "<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\">"; echo _gettext("Loading"); // line 5 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 6 echo "\"></button> </div> <div class=\"modal-body\"></div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 10 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "modals/preview_sql_modal.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 55 => 10, 48 => 6, 44 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "modals/preview_sql_modal.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/preview_sql_modal.twig"); } } twig/bc/bcf5a547ad31c0b42b4cbccb2e40f532.php 0000644 00000073031 15114741573 0013451 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* columns_definitions/partitions.twig */ class __TwigTemplate_202c9580c68b0b1816c2ccba038d7cf4 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["partition_options"] = [0 => "", 1 => "HASH", 2 => "LINEAR HASH", 3 => "KEY", 4 => "LINEAR KEY", 5 => "RANGE", 6 => "RANGE COLUMNS", 7 => "LIST", 8 => "LIST COLUMNS"]; // line 12 $context["sub_partition_options"] = [0 => "", 1 => "HASH", 2 => "LINEAR HASH", 3 => "KEY", 4 => "LINEAR KEY"]; // line 13 $context["value_type_options"] = [0 => "", 1 => "LESS THAN", 2 => "LESS THAN MAXVALUE", 3 => "IN"]; // line 14 echo " <table class=\"table table-borderless w-auto align-middle mb-0\" id=\"partition_table\"> <tr class=\"align-middle\"> <td><label for=\"partition_by\">"; echo _gettext("Partition by:"); // line 17 echo "</label></td> <td> <select name=\"partition_by\" id=\"partition_by\"> "; // line 20 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["partition_options"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 21 echo " <option value=\""; echo twig_escape_filter($this->env, $context["option"], "html", null, true); echo "\""; // line 22 if (((($__internal_compile_0 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["partition_by"] ?? null) : null) == $context["option"])) { // line 23 echo " selected=\"selected\""; } // line 24 echo "> "; // line 25 echo twig_escape_filter($this->env, $context["option"], "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 28 echo " </select> </td> <td> (<input name=\"partition_expr\" type=\"text\" placeholder=\""; echo _gettext("Expression or column list"); // line 32 echo "\" value=\""; // line 33 echo twig_escape_filter($this->env, (($__internal_compile_1 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["partition_expr"] ?? null) : null), "html", null, true); echo "\">) </td> </tr> <tr class=\"align-middle\"> <td><label for=\"partition_count\">"; echo _gettext("Partitions:"); // line 37 echo "</label></td> <td colspan=\"2\"> <input name=\"partition_count\" type=\"number\" min=\"2\" value=\""; // line 40 (((($__internal_compile_2 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["partition_count"] ?? null) : null)) ? (print (twig_escape_filter($this->env, (($__internal_compile_3 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["partition_count"] ?? null) : null), "html", null, true))) : (print (""))); echo "\"> </td> </tr> "; // line 43 if ((($__internal_compile_4 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["can_have_subpartitions"] ?? null) : null)) { // line 44 echo " <tr class=\"align-middle\"> <td><label for=\"subpartition_by\">"; echo _gettext("Subpartition by:"); // line 45 echo "</label></td> <td> <select name=\"subpartition_by\" id=\"subpartition_by\"> "; // line 48 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["sub_partition_options"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 49 echo " <option value=\""; echo twig_escape_filter($this->env, $context["option"], "html", null, true); echo "\""; // line 50 if (((($__internal_compile_5 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["subpartition_by"] ?? null) : null) == $context["option"])) { // line 51 echo " selected=\"selected\""; } // line 52 echo "> "; // line 53 echo twig_escape_filter($this->env, $context["option"], "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 56 echo " </select> </td> <td> (<input name=\"subpartition_expr\" type=\"text\" placeholder=\""; echo _gettext("Expression or column list"); // line 60 echo "\" value=\""; // line 61 echo twig_escape_filter($this->env, (($__internal_compile_6 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["subpartition_expr"] ?? null) : null), "html", null, true); echo "\">) </td> </tr> <tr class=\"align-middle\"> <td><label for=\"subpartition_count\">"; echo _gettext("Subpartitions:"); // line 65 echo "</label></td> <td colspan=\"2\"> <input name=\"subpartition_count\" type=\"number\" min=\"2\" value=\""; // line 68 (((($__internal_compile_7 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["subpartition_count"] ?? null) : null)) ? (print (twig_escape_filter($this->env, (($__internal_compile_8 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["subpartition_count"] ?? null) : null), "html", null, true))) : (print (""))); echo "\"> </td> </tr> "; } // line 72 echo "</table> "; // line 73 if (((($__internal_compile_9 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["partition_count"] ?? null) : null) > 1)) { // line 74 echo " <table class=\"table align-middle\" id=\"partition_definition_table\"> <thead><tr> <th>"; echo _gettext("Partition"); // line 76 echo "</th> "; // line 77 if ((($__internal_compile_10 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["value_enabled"] ?? null) : null)) { // line 78 echo " <th>"; echo _gettext("Values"); echo "</th> "; } // line 80 echo " "; if (((($__internal_compile_11 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["can_have_subpartitions"] ?? null) : null) && ((($__internal_compile_12 = // line 81 ($context["partition_details"] ?? null)) && is_array($__internal_compile_12) || $__internal_compile_12 instanceof ArrayAccess ? ($__internal_compile_12["subpartition_count"] ?? null) : null) > 1))) { // line 82 echo " <th>"; echo _gettext("Subpartition"); echo "</th> "; } // line 84 echo " <th>"; echo _gettext("Engine"); echo "</th> <th>"; echo _gettext("Comment"); // line 85 echo "</th> <th>"; echo _gettext("Data directory"); // line 86 echo "</th> <th>"; echo _gettext("Index directory"); // line 87 echo "</th> <th>"; echo _gettext("Max rows"); // line 88 echo "</th> <th>"; echo _gettext("Min rows"); // line 89 echo "</th> <th>"; echo _gettext("Table space"); // line 90 echo "</th> <th>"; echo _gettext("Node group"); // line 91 echo "</th> </tr></thead> "; // line 93 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((($__internal_compile_13 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_13) || $__internal_compile_13 instanceof ArrayAccess ? ($__internal_compile_13["partitions"] ?? null) : null)); foreach ($context['_seq'] as $context["_key"] => $context["partition"]) { // line 94 echo " "; $context["rowspan"] = (( !twig_test_empty((($__internal_compile_14 = $context["partition"]) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14["subpartition_count"] ?? null) : null))) ? (((($__internal_compile_15 = // line 95 $context["partition"]) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15["subpartition_count"] ?? null) : null) + 1)) : (2)); // line 96 echo " <tr> <td rowspan=\""; // line 97 echo twig_escape_filter($this->env, ($context["rowspan"] ?? null), "html", null, true); echo "\"> <input type=\"text\" name=\""; // line 98 echo twig_escape_filter($this->env, (($__internal_compile_16 = $context["partition"]) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16["prefix"] ?? null) : null), "html", null, true); echo "[name]\" value=\""; // line 99 echo twig_escape_filter($this->env, (($__internal_compile_17 = $context["partition"]) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17["name"] ?? null) : null), "html", null, true); echo "\"> </td> "; // line 101 if ((($__internal_compile_18 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_18) || $__internal_compile_18 instanceof ArrayAccess ? ($__internal_compile_18["value_enabled"] ?? null) : null)) { // line 102 echo " <td rowspan=\""; echo twig_escape_filter($this->env, ($context["rowspan"] ?? null), "html", null, true); echo "\" class=\"align-middle\"> <select class=\"partition_value\" name=\""; // line 104 echo twig_escape_filter($this->env, (($__internal_compile_19 = $context["partition"]) && is_array($__internal_compile_19) || $__internal_compile_19 instanceof ArrayAccess ? ($__internal_compile_19["prefix"] ?? null) : null), "html", null, true); echo "[value_type]\"> "; // line 105 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["value_type_options"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 106 echo " <option value=\""; echo twig_escape_filter($this->env, $context["option"], "html", null, true); echo "\""; // line 107 if (((($__internal_compile_20 = $context["partition"]) && is_array($__internal_compile_20) || $__internal_compile_20 instanceof ArrayAccess ? ($__internal_compile_20["value_type"] ?? null) : null) == $context["option"])) { // line 108 echo " selected=\"selected\""; } // line 109 echo "> "; // line 110 echo twig_escape_filter($this->env, $context["option"], "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 113 echo " </select> <input type=\"text\" class=\"partition_value\" name=\""; // line 115 echo twig_escape_filter($this->env, (($__internal_compile_21 = $context["partition"]) && is_array($__internal_compile_21) || $__internal_compile_21 instanceof ArrayAccess ? ($__internal_compile_21["prefix"] ?? null) : null), "html", null, true); echo "[value]\" value=\""; // line 116 echo twig_escape_filter($this->env, (($__internal_compile_22 = $context["partition"]) && is_array($__internal_compile_22) || $__internal_compile_22 instanceof ArrayAccess ? ($__internal_compile_22["value"] ?? null) : null), "html", null, true); echo "\"> </td> "; } // line 119 echo " </tr> "; // line 121 if (twig_get_attribute($this->env, $this->source, $context["partition"], "subpartitions", [], "array", true, true, false, 121)) { // line 122 echo " "; $context["subpartitions"] = (($__internal_compile_23 = $context["partition"]) && is_array($__internal_compile_23) || $__internal_compile_23 instanceof ArrayAccess ? ($__internal_compile_23["subpartitions"] ?? null) : null); // line 123 echo " "; } else { // line 124 echo " "; $context["subpartitions"] = [0 => $context["partition"]]; // line 125 echo " "; } // line 126 echo " "; // line 127 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["subpartitions"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["subpartition"]) { // line 128 echo " <tr> "; // line 129 if (((($__internal_compile_24 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_24) || $__internal_compile_24 instanceof ArrayAccess ? ($__internal_compile_24["can_have_subpartitions"] ?? null) : null) && ((($__internal_compile_25 = // line 130 ($context["partition_details"] ?? null)) && is_array($__internal_compile_25) || $__internal_compile_25 instanceof ArrayAccess ? ($__internal_compile_25["subpartition_count"] ?? null) : null) > 1))) { // line 131 echo " <td> <input type=\"text\" name=\""; // line 132 echo twig_escape_filter($this->env, (($__internal_compile_26 = $context["subpartition"]) && is_array($__internal_compile_26) || $__internal_compile_26 instanceof ArrayAccess ? ($__internal_compile_26["prefix"] ?? null) : null), "html", null, true); echo "[name]\" value=\""; // line 133 echo twig_escape_filter($this->env, (($__internal_compile_27 = $context["subpartition"]) && is_array($__internal_compile_27) || $__internal_compile_27 instanceof ArrayAccess ? ($__internal_compile_27["name"] ?? null) : null), "html", null, true); echo "\"> </td> "; } // line 136 echo " <td> <select name=\""; // line 137 echo twig_escape_filter($this->env, (($__internal_compile_28 = $context["subpartition"]) && is_array($__internal_compile_28) || $__internal_compile_28 instanceof ArrayAccess ? ($__internal_compile_28["prefix"] ?? null) : null), "html", null, true); echo "[engine]\" aria-label=\""; echo _gettext("Storage engine"); echo "\"> <option value=\"\"></option> "; // line 139 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["storage_engines"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["engine"]) { // line 140 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 140), "html", null, true); echo "\""; if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 140))) { echo " title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 140), "html", null, true); echo "\""; } // line 141 echo (((twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 141)) == twig_lower_filter($this->env, (($__internal_compile_29 = $context["subpartition"]) && is_array($__internal_compile_29) || $__internal_compile_29 instanceof ArrayAccess ? ($__internal_compile_29["engine"] ?? null) : null)))) ? (" selected") : ("")); echo ">"; // line 142 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 142), "html", null, true); // line 143 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['engine'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 145 echo " </select> </td> <td> <textarea name=\""; // line 148 echo twig_escape_filter($this->env, (($__internal_compile_30 = $context["subpartition"]) && is_array($__internal_compile_30) || $__internal_compile_30 instanceof ArrayAccess ? ($__internal_compile_30["prefix"] ?? null) : null), "html", null, true); echo "[comment]\">"; // line 149 echo twig_escape_filter($this->env, (($__internal_compile_31 = $context["subpartition"]) && is_array($__internal_compile_31) || $__internal_compile_31 instanceof ArrayAccess ? ($__internal_compile_31["comment"] ?? null) : null), "html", null, true); // line 150 echo "</textarea> </td> <td> <input type=\"text\" name=\""; // line 153 echo twig_escape_filter($this->env, (($__internal_compile_32 = $context["subpartition"]) && is_array($__internal_compile_32) || $__internal_compile_32 instanceof ArrayAccess ? ($__internal_compile_32["prefix"] ?? null) : null), "html", null, true); echo "[data_directory]\" value=\""; // line 154 echo twig_escape_filter($this->env, (($__internal_compile_33 = $context["subpartition"]) && is_array($__internal_compile_33) || $__internal_compile_33 instanceof ArrayAccess ? ($__internal_compile_33["data_directory"] ?? null) : null), "html", null, true); echo "\"> </td> <td> <input type=\"text\" name=\""; // line 157 echo twig_escape_filter($this->env, (($__internal_compile_34 = $context["subpartition"]) && is_array($__internal_compile_34) || $__internal_compile_34 instanceof ArrayAccess ? ($__internal_compile_34["prefix"] ?? null) : null), "html", null, true); echo "[index_directory]\" value=\""; // line 158 echo twig_escape_filter($this->env, (($__internal_compile_35 = $context["subpartition"]) && is_array($__internal_compile_35) || $__internal_compile_35 instanceof ArrayAccess ? ($__internal_compile_35["index_directory"] ?? null) : null), "html", null, true); echo "\"> </td> <td> <input type=\"number\" name=\""; // line 161 echo twig_escape_filter($this->env, (($__internal_compile_36 = $context["subpartition"]) && is_array($__internal_compile_36) || $__internal_compile_36 instanceof ArrayAccess ? ($__internal_compile_36["prefix"] ?? null) : null), "html", null, true); echo "[max_rows]\" value=\""; // line 162 echo twig_escape_filter($this->env, (($__internal_compile_37 = $context["subpartition"]) && is_array($__internal_compile_37) || $__internal_compile_37 instanceof ArrayAccess ? ($__internal_compile_37["max_rows"] ?? null) : null), "html", null, true); echo "\"> </td> <td> <input type=\"number\" min=\"0\" name=\""; // line 165 echo twig_escape_filter($this->env, (($__internal_compile_38 = $context["subpartition"]) && is_array($__internal_compile_38) || $__internal_compile_38 instanceof ArrayAccess ? ($__internal_compile_38["prefix"] ?? null) : null), "html", null, true); echo "[min_rows]\" value=\""; // line 166 echo twig_escape_filter($this->env, (($__internal_compile_39 = $context["subpartition"]) && is_array($__internal_compile_39) || $__internal_compile_39 instanceof ArrayAccess ? ($__internal_compile_39["min_rows"] ?? null) : null), "html", null, true); echo "\"> </td> <td> <input type=\"text\" min=\"0\" name=\""; // line 169 echo twig_escape_filter($this->env, (($__internal_compile_40 = $context["subpartition"]) && is_array($__internal_compile_40) || $__internal_compile_40 instanceof ArrayAccess ? ($__internal_compile_40["prefix"] ?? null) : null), "html", null, true); echo "[tablespace]\" value=\""; // line 170 echo twig_escape_filter($this->env, (($__internal_compile_41 = $context["subpartition"]) && is_array($__internal_compile_41) || $__internal_compile_41 instanceof ArrayAccess ? ($__internal_compile_41["tablespace"] ?? null) : null), "html", null, true); echo "\"> </td> <td> <input type=\"text\" name=\""; // line 173 echo twig_escape_filter($this->env, (($__internal_compile_42 = $context["subpartition"]) && is_array($__internal_compile_42) || $__internal_compile_42 instanceof ArrayAccess ? ($__internal_compile_42["prefix"] ?? null) : null), "html", null, true); echo "[node_group]\" value=\""; // line 174 echo twig_escape_filter($this->env, (($__internal_compile_43 = $context["subpartition"]) && is_array($__internal_compile_43) || $__internal_compile_43 instanceof ArrayAccess ? ($__internal_compile_43["node_group"] ?? null) : null), "html", null, true); echo "\"> </td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subpartition'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 178 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['partition'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 179 echo " </table> "; } } public function getTemplateName() { return "columns_definitions/partitions.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 478 => 179, 472 => 178, 462 => 174, 458 => 173, 452 => 170, 448 => 169, 442 => 166, 438 => 165, 432 => 162, 428 => 161, 422 => 158, 418 => 157, 412 => 154, 408 => 153, 403 => 150, 401 => 149, 398 => 148, 393 => 145, 386 => 143, 384 => 142, 381 => 141, 372 => 140, 368 => 139, 361 => 137, 358 => 136, 352 => 133, 348 => 132, 345 => 131, 343 => 130, 342 => 129, 339 => 128, 335 => 127, 332 => 126, 329 => 125, 326 => 124, 323 => 123, 320 => 122, 318 => 121, 314 => 119, 308 => 116, 304 => 115, 300 => 113, 291 => 110, 288 => 109, 285 => 108, 283 => 107, 279 => 106, 275 => 105, 271 => 104, 265 => 102, 263 => 101, 258 => 99, 254 => 98, 250 => 97, 247 => 96, 245 => 95, 243 => 94, 239 => 93, 235 => 91, 231 => 90, 227 => 89, 223 => 88, 219 => 87, 215 => 86, 211 => 85, 205 => 84, 199 => 82, 197 => 81, 195 => 80, 189 => 78, 187 => 77, 184 => 76, 179 => 74, 177 => 73, 174 => 72, 167 => 68, 162 => 65, 154 => 61, 151 => 60, 144 => 56, 135 => 53, 132 => 52, 129 => 51, 127 => 50, 123 => 49, 119 => 48, 114 => 45, 110 => 44, 108 => 43, 102 => 40, 97 => 37, 89 => 33, 86 => 32, 79 => 28, 70 => 25, 67 => 24, 64 => 23, 62 => 22, 58 => 21, 54 => 20, 49 => 17, 43 => 14, 41 => 13, 39 => 12, 37 => 1,); } public function getSourceContext() { return new Source("", "columns_definitions/partitions.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/columns_definitions/partitions.twig"); } } twig/e7/e7bcfa9862b8accb9650d8f4a62c6e30.php 0000644 00000007112 15114741573 0013362 0 ustar 00 <?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_833d416febc0e1a6f5a0f16d9b407490 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/console/toolbar.twig"); } } twig/ca/caac71eb559c46344a55ef5469df6797.php 0000644 00000005202 15114741573 0013227 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* sql/no_results_returned.twig */ class __TwigTemplate_6d927ee313bd3a042ab316b41cecc8a7 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 echo ($context["message"] ?? null); echo " "; // line 3 echo ($context["sql_query_results_table"] ?? null); echo " "; // line 5 echo ($context["profiling_chart"] ?? null); echo " "; // line 7 if ( !($context["is_procedure"] ?? null)) { // line 8 echo " <fieldset class=\"pma-fieldset d-print-none\"> <legend>"; echo _gettext("Query results operations"); // line 9 echo "</legend> <span> "; // line 11 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/view/create"), ["db" => // line 13 ($context["db"] ?? null), "table" => ($context["table"] ?? null), "printview" => "1", "sql_query" => ($context["sql_query"] ?? null)], PhpMyAdmin\Html\Generator::getIcon("b_view_add", _gettext("Create view"), true), ["class" => "create_view ajax btn"]); // line 16 echo " </span> </fieldset> "; } // line 20 echo " "; // line 21 echo ($context["bookmark"] ?? null); echo " "; // line 23 echo twig_include($this->env, $context, "modals/create_view.twig"); echo " "; } public function getTemplateName() { return "sql/no_results_returned.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 79 => 23, 74 => 21, 71 => 20, 65 => 16, 63 => 13, 62 => 11, 58 => 9, 54 => 8, 52 => 7, 47 => 5, 42 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "sql/no_results_returned.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/sql/no_results_returned.twig"); } } twig/e1/e1c94ff945de29fe0347618b01d510d5.php 0000644 00000004756 15114741573 0013065 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* preferences/autoload.twig */ class __TwigTemplate_6405dac950d7f9708974934dec342b56 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 echo "<div id=\"prefs_autoload\" class=\"alert alert-primary d-print-none hide\" role=\"alert\"> <form action=\""; // line 2 echo PhpMyAdmin\Url::getFromRoute("/preferences/manage"); echo "\" method=\"post\" class=\"disableAjax\"> "; // line 3 echo ($context["hidden_inputs"] ?? null); echo " <input type=\"hidden\" name=\"json\" value=\"\"> <input type=\"hidden\" name=\"submit_import\" value=\"1\"> <input type=\"hidden\" name=\"return_url\" value=\""; // line 6 echo twig_escape_filter($this->env, ($context["return_url"] ?? null), "html", null, true); echo "\"> "; echo _gettext("Your browser has phpMyAdmin configuration for this domain. Would you like to import it for current session?"); // line 10 echo " <br> <a href=\"#yes\">"; echo _gettext("Yes"); // line 11 echo "</a> / <a href=\"#no\">"; echo _gettext("No"); // line 12 echo "</a> / <a href=\"#delete\">"; echo _gettext("Delete settings"); // line 13 echo "</a> </form> </div> "; } public function getTemplateName() { return "preferences/autoload.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 67 => 13, 63 => 12, 59 => 11, 55 => 10, 50 => 6, 44 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "preferences/autoload.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/preferences/autoload.twig"); } } twig/54/54ab9bdd2b57d903c527e0edab868c42.php 0000644 00000005277 15114741573 0013221 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* navigation/tree/fast_filter.twig */ class __TwigTemplate_97ea04322478a9530c92c295209ca9ce 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 echo " <li class=\"fast_filter"; if (($context["is_root_node"] ?? null)) { echo " db_fast_filter"; } echo "\"> <form class=\"ajax fast_filter\"> "; // line 4 echo PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null)); echo " <div class=\"input-group\"> <input class=\"searchClause form-control\" type=\"text\" name=\""; // line 9 echo ((($context["is_root_node"] ?? null)) ? ("searchClause") : ("searchClause2")); echo "\" accesskey=\"q\" aria-label=\""; echo _gettext("Type to filter these, Enter to search all"); // line 11 echo "\" placeholder=\""; echo _gettext("Type to filter these, Enter to search all"); // line 12 echo "\" > <button class=\"btn btn-outline-secondary searchClauseClear\" type=\"button\" aria-label=\""; echo _gettext("Clear fast filter"); // line 16 echo "\">X</button> </div> </form> </li> "; } } public function getTemplateName() { return "navigation/tree/fast_filter.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 72 => 16, 65 => 12, 61 => 11, 55 => 9, 47 => 4, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "navigation/tree/fast_filter.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/fast_filter.twig"); } } twig/54/544f8ceafa5b925f0d56ec4f92e2bead.php 0000644 00000004706 15114741573 0013444 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* modals/preview_sql_confirmation.twig */ class __TwigTemplate_0f3c9f52ff55cb8f2771c6618aebdee4 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 echo "<div class=\"modal fade\" id=\"previewSqlConfirmModal\" tabindex=\"-1\" aria-labelledby=\"previewSqlConfirmModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"previewSqlConfirmModalLabel\">"; echo _gettext("Loading"); // line 5 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 6 echo "\"></button> </div> <div class=\"modal-body preview_sql\"> <code class=\"sql\"> <pre id=\"previewSqlConfirmCode\"></pre> </code> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"previewSQLConfirmOkButton\">"; echo _gettext("OK"); // line 14 echo "</button> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 15 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "modals/preview_sql_confirmation.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 63 => 15, 59 => 14, 48 => 6, 44 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "modals/preview_sql_confirmation.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/preview_sql_confirmation.twig"); } } twig/5e/5e9bdbd409061dcd1c6496ec3c4737e2.php 0000644 00000003473 15114741573 0013223 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/insert/get_html_for_insert_edit_form_header.twig */ class __TwigTemplate_f86f7b236107c7e64a4d9d3b29051a25 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 echo "<form id=\"insertForm\" class=\"lock-page"; echo (((($context["has_blob_field"] ?? null) && ($context["is_upload"] ?? null))) ? (" disableAjax") : ("")); echo "\" method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/table/replace"); echo "\" name=\"insertForm\""; echo ((($context["is_upload"] ?? null)) ? (" enctype=\"multipart/form-data\"") : ("")); echo ">"; } public function getTemplateName() { return "table/insert/get_html_for_insert_edit_form_header.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 37 => 1,); } public function getSourceContext() { return new Source("", "table/insert/get_html_for_insert_edit_form_header.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/get_html_for_insert_edit_form_header.twig"); } } twig/15/15d4468714957ad9dcb8f8795bb18893.php 0000644 00000042350 15114741573 0012673 0 ustar 00 <?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_96fd05cf1711c82167daff1600694c50 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/config/form_display/input.twig"); } } twig/18/1890582ec7860ff3b35891d3d361387a.php 0000644 00000003473 15114741573 0012576 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* config/form_display/group_header.twig */ class __TwigTemplate_7bfe25bf55dde7365125ede2b65e56fd 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 echo "<tr class=\"group-header group-header-"; echo twig_escape_filter($this->env, ($context["group"] ?? null), "html", null, true); echo "\"> <th colspan=\""; // line 2 echo twig_escape_filter($this->env, ($context["colspan"] ?? null), "html", null, true); echo "\"> "; // line 3 echo twig_escape_filter($this->env, ($context["header_text"] ?? null), "html", null, true); echo " </th> </tr> "; } public function getTemplateName() { return "config/form_display/group_header.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 46 => 3, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "config/form_display/group_header.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/config/form_display/group_header.twig"); } } twig/1f/1ffc13248103efd0d8db7b3d1e361256.php 0000644 00000042063 15114741573 0013115 0 ustar 00 <?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_788db46298fd611a05b62d76d75533c2 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/node.twig"); } } twig/1f/1febb38fbbf58539332727377e0b5a98.php 0000644 00000011123 15114741573 0013062 0 ustar 00 <?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_7fc5973b1a89f2c310ffaa0eb1bdf975 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/comment_for_row.twig"); } } twig/1f/1fb2fd6a531a085a88233f08bc970090.php 0000644 00000100644 15114741573 0012761 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* home/index.twig */ class __TwigTemplate_0266d4ce662c1d0612c9cf6ca5c023ce 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 echo " <div id=\"is_git_revision\"></div> "; } // line 4 echo " "; // line 5 echo ($context["message"] ?? null); echo " "; // line 7 echo ($context["partial_logout"] ?? null); echo " <div id=\"maincontainer\"> "; // line 10 echo ($context["sync_favorite_tables"] ?? null); echo " <div class=\"container-fluid\"> <div class=\"row mb-3\"> <div class=\"col-lg-7 col-12\"> "; // line 14 if (($context["has_server"] ?? null)) { // line 15 echo " "; if (($context["is_demo"] ?? null)) { // line 16 echo " <div class=\"card mt-4\"> <div class=\"card-header\"> "; echo _gettext("phpMyAdmin Demo Server"); // line 19 echo " </div> <div class=\"card-body\"> "; // line 21 ob_start(function () { return ''; }); // line 22 echo " "; echo _gettext("You are using the demo server. You can do anything here, but please do not change root, debian-sys-maint and pma users. More information is available at %s."); // line 25 echo " "; $___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 21 echo twig_sprintf($___internal_parse_0_, "<a href=\"url.php?url=https://demo.phpmyadmin.net/\" target=\"_blank\" rel=\"noopener noreferrer\">demo.phpmyadmin.net</a>"); // line 26 echo " </div> </div> "; } // line 29 echo " <div class=\"card mt-4\"> <div class=\"card-header\"> "; echo _gettext("General settings"); // line 33 echo " </div> <ul class=\"list-group list-group-flush\"> "; // line 35 if (($context["has_server_selection"] ?? null)) { // line 36 echo " <li id=\"li_select_server\" class=\"list-group-item\"> "; // line 37 echo PhpMyAdmin\Html\Generator::getImage("s_host"); echo " "; // line 38 echo ($context["server_selection"] ?? null); echo " </li> "; } // line 41 echo " "; // line 42 if ((($context["server"] ?? null) > 0)) { // line 43 echo " "; if (($context["has_change_password_link"] ?? null)) { // line 44 echo " <li id=\"li_change_password\" class=\"list-group-item\"> <a href=\""; // line 45 echo PhpMyAdmin\Url::getFromRoute("/user-password"); echo "\" id=\"change_password_anchor\" class=\"ajax\"> "; // line 46 echo PhpMyAdmin\Html\Generator::getIcon("s_passwd", _gettext("Change password"), true); echo " </a> </li> "; } // line 50 echo " <li id=\"li_select_mysql_collation\" class=\"list-group-item\"> <form method=\"post\" action=\""; // line 52 echo PhpMyAdmin\Url::getFromRoute("/collation-connection"); echo "\" class=\"row row-cols-lg-auto align-items-center disableAjax\"> "; // line 53 echo PhpMyAdmin\Url::getHiddenInputs(null, null, 4, "collation_connection"); echo " <div class=\"col-12\"> <label for=\"collationConnectionSelect\" class=\"col-form-label\"> "; // line 56 echo PhpMyAdmin\Html\Generator::getImage("s_asci"); echo " "; echo _gettext("Server connection collation:"); // line 58 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("charset-connection"); echo " </label> </div> "; // line 61 if ( !twig_test_empty(($context["charsets"] ?? null))) { // line 62 echo " <div class=\"col-12\"> <select lang=\"en\" dir=\"ltr\" name=\"collation_connection\" id=\"collationConnectionSelect\" class=\"form-select autosubmit\"> <option value=\"\">"; echo _gettext("Collation"); // line 64 echo "</option> <option value=\"\"></option> "; // line 66 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 67 echo " <optgroup label=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 67), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 67), "html", null, true); echo "\"> "; // line 68 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 68)); foreach ($context['_seq'] as $context["_key"] => $context["collation"]) { // line 69 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 69), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "description", [], "any", false, false, false, 69), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["collation"], "is_selected", [], "any", false, false, false, 69)) ? (" selected") : ("")); echo ">"; // line 70 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 70), "html", null, true); // line 71 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 73 echo " </optgroup> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 75 echo " </select> </div> "; } // line 78 echo " </form> </li> <li id=\"li_user_preferences\" class=\"list-group-item\"> <a href=\""; // line 82 echo PhpMyAdmin\Url::getFromRoute("/preferences/manage"); echo "\"> "; // line 83 echo PhpMyAdmin\Html\Generator::getIcon("b_tblops", _gettext("More settings"), true); echo " </a> </li> "; } // line 87 echo " </ul> </div> "; } // line 90 echo " <div class=\"card mt-4\"> <div class=\"card-header\"> "; echo _gettext("Appearance settings"); // line 94 echo " </div> <ul class=\"list-group list-group-flush\"> "; // line 96 if ( !twig_test_empty(($context["available_languages"] ?? null))) { // line 97 echo " <li id=\"li_select_lang\" class=\"list-group-item\"> <form method=\"get\" action=\""; // line 98 echo PhpMyAdmin\Url::getFromRoute("/"); echo "\" class=\"row row-cols-lg-auto align-items-center disableAjax\"> "; // line 99 echo PhpMyAdmin\Url::getHiddenInputs(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); echo " <div class=\"col-12\"> <label for=\"languageSelect\" class=\"col-form-label text-nowrap\"> "; // line 102 echo PhpMyAdmin\Html\Generator::getImage("s_lang"); echo " "; echo _gettext("Language"); // line 104 echo " "; if ((_gettext("Language") != "Language")) { // line 105 echo " "; // line 107 echo " <i lang=\"en\" dir=\"ltr\">(Language)</i> "; } // line 109 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq7-2"); echo " </label> </div> <div class=\"col-12\"> <select name=\"lang\" class=\"form-select autosubmit w-auto\" lang=\"en\" dir=\"ltr\" id=\"languageSelect\"> "; // line 114 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["available_languages"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["language"]) { // line 115 echo " <option value=\""; echo twig_escape_filter($this->env, twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["language"], "getCode", [], "method", false, false, false, 115)), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["language"], "isActive", [], "method", false, false, false, 115)) ? (" selected") : ("")); echo ">"; // line 116 echo twig_get_attribute($this->env, $this->source, $context["language"], "getName", [], "method", false, false, false, 116); // line 117 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 119 echo " </select> </div> </form> </li> "; } // line 124 echo " "; // line 125 if (($context["has_theme_manager"] ?? null)) { // line 126 echo " <li id=\"li_select_theme\" class=\"list-group-item\"> <form method=\"post\" action=\""; // line 127 echo PhpMyAdmin\Url::getFromRoute("/themes/set"); echo "\" class=\"row row-cols-lg-auto align-items-center disableAjax\"> "; // line 128 echo PhpMyAdmin\Url::getHiddenInputs(); echo " <div class=\"col-12\"> <label for=\"themeSelect\" class=\"col-form-label\"> "; // line 131 echo PhpMyAdmin\Html\Generator::getIcon("s_theme", _gettext("Theme")); echo " </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 137 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["themes"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["theme"]) { // line 138 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["theme"], "id", [], "any", false, false, false, 138), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["theme"], "is_active", [], "any", false, false, false, 138)) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["theme"], "name", [], "any", false, false, false, 138), "html", null, true); echo "</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 140 echo " </select> <button type=\"button\" class=\"btn btn-outline-secondary\" data-bs-toggle=\"modal\" data-bs-target=\"#themesModal\"> "; echo _pgettext("View all themes", "View all"); // line 143 echo " </button> </div> </div> </form> </li> "; } // line 149 echo " </ul> </div> </div> <div class=\"col-lg-5 col-12\"> "; // line 154 if ( !twig_test_empty(($context["database_server"] ?? null))) { // line 155 echo " <div class=\"card mt-4\"> <div class=\"card-header\"> "; echo _gettext("Database server"); // line 158 echo " </div> <ul class=\"list-group list-group-flush\"> <li class=\"list-group-item\"> "; echo _gettext("Server:"); // line 162 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "host", [], "any", false, false, false, 162), "html", null, true); echo " </li> <li class=\"list-group-item\"> "; echo _gettext("Server type:"); // line 166 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "type", [], "any", false, false, false, 166), "html", null, true); echo " </li> <li class=\"list-group-item\"> "; echo _gettext("Server connection:"); // line 170 echo " "; echo twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "connection", [], "any", false, false, false, 170); echo " </li> <li class=\"list-group-item\"> "; echo _gettext("Server version:"); // line 174 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "version", [], "any", false, false, false, 174), "html", null, true); echo " </li> <li class=\"list-group-item\"> "; echo _gettext("Protocol version:"); // line 178 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "protocol", [], "any", false, false, false, 178), "html", null, true); echo " </li> <li class=\"list-group-item\"> "; echo _gettext("User:"); // line 182 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "user", [], "any", false, false, false, 182), "html", null, true); echo " </li> <li class=\"list-group-item\"> "; echo _gettext("Server charset:"); // line 186 echo " <span lang=\"en\" dir=\"ltr\"> "; // line 187 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "charset", [], "any", false, false, false, 187), "html", null, true); echo " </span> </li> </ul> </div> "; } // line 193 echo " "; // line 194 if (( !twig_test_empty(($context["web_server"] ?? null)) || ($context["show_php_info"] ?? null))) { // line 195 echo " <div class=\"card mt-4\"> <div class=\"card-header\"> "; echo _gettext("Web server"); // line 198 echo " </div> <ul class=\"list-group list-group-flush\"> "; // line 200 if ( !twig_test_empty(($context["web_server"] ?? null))) { // line 201 echo " "; if ( !(null === twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "software", [], "any", false, false, false, 201))) { // line 202 echo " <li class=\"list-group-item\"> "; // line 203 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "software", [], "any", false, false, false, 203), "html", null, true); echo " </li> "; } // line 206 echo " <li class=\"list-group-item\" id=\"li_mysql_client_version\"> "; echo _gettext("Database client version:"); // line 208 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "database", [], "any", false, false, false, 208), "html", null, true); echo " </li> <li class=\"list-group-item\"> "; echo _gettext("PHP extension:"); // line 212 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "php_extensions", [], "any", false, false, false, 212)); foreach ($context['_seq'] as $context["_key"] => $context["extension"]) { // line 213 echo " "; echo twig_escape_filter($this->env, $context["extension"], "html", null, true); echo " "; // line 214 echo PhpMyAdmin\Html\Generator::showPHPDocumentation((("book." . $context["extension"]) . ".php")); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['extension'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 216 echo " </li> <li class=\"list-group-item\"> "; echo _gettext("PHP version:"); // line 219 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "php_version", [], "any", false, false, false, 219), "html", null, true); echo " </li> "; } // line 222 echo " "; if (($context["show_php_info"] ?? null)) { // line 223 echo " <li class=\"list-group-item\"> <a href=\""; // line 224 echo PhpMyAdmin\Url::getFromRoute("/phpinfo"); echo "\" target=\"_blank\" rel=\"noopener noreferrer\"> "; echo _gettext("Show PHP information"); // line 226 echo " </a> </li> "; } // line 229 echo " </ul> </div> "; } // line 232 echo " <div class=\"card mt-4\"> <div class=\"card-header\"> phpMyAdmin </div> <ul class=\"list-group list-group-flush\"> <li id=\"li_pma_version\" class=\"list-group-item"; // line 238 echo ((($context["is_version_checked"] ?? null)) ? (" jsversioncheck") : ("")); echo "\"> "; echo _gettext("Version information:"); // line 240 echo " <span class=\"version\">"; echo twig_escape_filter($this->env, ($context["phpmyadmin_version"] ?? null), "html", null, true); echo "</span> </li> <li class=\"list-group-item\"> <a href=\""; // line 243 echo PhpMyAdmin\Html\MySQLDocumentation::getDocumentationLink("index"); echo "\" target=\"_blank\" rel=\"noopener noreferrer\"> "; echo _gettext("Documentation"); // line 245 echo " </a> </li> <li class=\"list-group-item\"> <a href=\""; // line 248 echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/"), "html", null, true); echo "\" target=\"_blank\" rel=\"noopener noreferrer\"> "; echo _gettext("Official Homepage"); // line 250 echo " </a> </li> <li class=\"list-group-item\"> <a href=\""; // line 253 echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/contribute/"), "html", null, true); echo "\" target=\"_blank\" rel=\"noopener noreferrer\"> "; echo _gettext("Contribute"); // line 255 echo " </a> </li> <li class=\"list-group-item\"> <a href=\""; // line 258 echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/support/"), "html", null, true); echo "\" target=\"_blank\" rel=\"noopener noreferrer\"> "; echo _gettext("Get support"); // line 260 echo " </a> </li> <li class=\"list-group-item\"> <a href=\""; // line 263 echo PhpMyAdmin\Url::getFromRoute("/changelog"); echo "\" target=\"_blank\"> "; echo _gettext("List of changes"); // line 265 echo " </a> </li> <li class=\"list-group-item\"> <a href=\""; // line 268 echo PhpMyAdmin\Url::getFromRoute("/license"); echo "\" target=\"_blank\"> "; echo _gettext("License"); // line 270 echo " </a> </li> </ul> </div> </div> </div> "; // line 277 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["errors"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["error"]) { // line 278 echo " <div class=\"alert "; echo (((twig_get_attribute($this->env, $this->source, $context["error"], "severity", [], "any", false, false, false, 278) == "warning")) ? ("alert-warning") : ("alert-info")); echo "\" role=\"alert\"> "; // line 279 if ((twig_get_attribute($this->env, $this->source, $context["error"], "severity", [], "any", false, false, false, 279) == "warning")) { // line 280 echo " "; echo PhpMyAdmin\Html\Generator::getImage("s_attention", _gettext("Warning")); echo " "; } else { // line 282 echo " "; echo PhpMyAdmin\Html\Generator::getImage("s_notice", _gettext("Notice")); echo " "; } // line 284 echo " "; echo PhpMyAdmin\Sanitize::sanitizeMessage(twig_get_attribute($this->env, $this->source, $context["error"], "message", [], "any", false, false, false, 284)); echo " </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 287 echo " </div> </div> "; // line 290 if (($context["has_theme_manager"] ?? null)) { // line 291 echo " <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\">"; echo _gettext("phpMyAdmin Themes"); // line 295 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 296 echo "\"></button> </div> <div class=\"modal-body\"> <div class=\"spinner-border\" role=\"status\"> <span class=\"visually-hidden\">"; echo _gettext("Loading…"); // line 300 echo "</span> </div> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 304 echo "</button> <a href=\""; // line 305 echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/themes/"), "html", null, true); echo "#pma_"; echo twig_escape_filter($this->env, twig_replace_filter(($context["phpmyadmin_major_version"] ?? null), ["." => "_"]), "html", null, true); echo "\" class=\"btn btn-primary\" rel=\"noopener noreferrer\" target=\"_blank\"> "; echo _gettext("Get more themes!"); // line 307 echo " </a> </div> </div> </div> </div> "; } // line 313 echo " "; // line 314 echo ($context["config_storage_message"] ?? null); echo " "; } public function getTemplateName() { return "home/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 715 => 314, 712 => 313, 704 => 307, 697 => 305, 694 => 304, 687 => 300, 680 => 296, 676 => 295, 669 => 291, 667 => 290, 662 => 287, 652 => 284, 646 => 282, 640 => 280, 638 => 279, 633 => 278, 629 => 277, 620 => 270, 615 => 268, 610 => 265, 605 => 263, 600 => 260, 595 => 258, 590 => 255, 585 => 253, 580 => 250, 575 => 248, 570 => 245, 565 => 243, 558 => 240, 553 => 238, 545 => 232, 540 => 229, 535 => 226, 530 => 224, 527 => 223, 524 => 222, 517 => 219, 512 => 216, 504 => 214, 499 => 213, 494 => 212, 486 => 208, 482 => 206, 476 => 203, 473 => 202, 470 => 201, 468 => 200, 464 => 198, 459 => 195, 457 => 194, 454 => 193, 445 => 187, 442 => 186, 434 => 182, 426 => 178, 418 => 174, 410 => 170, 402 => 166, 394 => 162, 388 => 158, 383 => 155, 381 => 154, 374 => 149, 366 => 143, 361 => 140, 348 => 138, 344 => 137, 335 => 131, 329 => 128, 325 => 127, 322 => 126, 320 => 125, 317 => 124, 310 => 119, 303 => 117, 301 => 116, 295 => 115, 291 => 114, 282 => 109, 278 => 107, 276 => 105, 273 => 104, 268 => 102, 262 => 99, 258 => 98, 255 => 97, 253 => 96, 249 => 94, 243 => 90, 238 => 87, 231 => 83, 227 => 82, 221 => 78, 216 => 75, 209 => 73, 202 => 71, 200 => 70, 192 => 69, 188 => 68, 181 => 67, 177 => 66, 173 => 64, 168 => 62, 166 => 61, 159 => 58, 154 => 56, 148 => 53, 144 => 52, 140 => 50, 133 => 46, 129 => 45, 126 => 44, 123 => 43, 121 => 42, 118 => 41, 112 => 38, 108 => 37, 105 => 36, 103 => 35, 99 => 33, 93 => 29, 88 => 26, 86 => 21, 83 => 25, 80 => 22, 78 => 21, 74 => 19, 69 => 16, 66 => 15, 64 => 14, 57 => 10, 51 => 7, 46 => 5, 43 => 4, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "home/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/home/index.twig"); } } twig/99/9949447e7b5c790070a6599363dab832.php 0000644 00000011156 15114741573 0012534 0 ustar 00 <?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; /* table/insert/continue_insertion_form.twig */ class __TwigTemplate_8fc7f651f503d1fb99c106fad0ee4740 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 id=\"continueForm\" method=\"post\" action=\""; yield PhpMyAdmin\Url::getFromRoute("/table/replace"); yield "\" name=\"continueForm\"> "; // line 2 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); yield " <input type=\"hidden\" name=\"goto\" value=\""; // line 3 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["goto"] ?? null), "html", null, true); yield "\"> <input type=\"hidden\" name=\"err_url\" value=\""; // line 4 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["err_url"] ?? null), "html", null, true); yield "\"> <input type=\"hidden\" name=\"sql_query\" value=\""; // line 5 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["sql_query"] ?? null), "html", null, true); yield "\"> "; // line 7 if (($context["has_where_clause"] ?? null)) { // line 8 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["where_clause_array"] ?? null)); foreach ($context['_seq'] as $context["key_id"] => $context["where_clause"]) { // line 9 yield " <input type=\"hidden\" name=\"where_clause["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key_id"], "html", null, true); yield "]\" value=\""; // line 10 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::trim($context["where_clause"]), "html", null, true); yield "\"> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key_id'], $context['where_clause'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 12 yield " "; } // line 13 yield " "; // line 14 $context["insert_rows"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) { // line 15 yield " <input type=\"number\" name=\"insert_rows\" id=\"insert_rows\" value=\""; // line 16 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["insert_rows_default"] ?? null), "html", null, true); yield "\" min=\"1\"> "; return; yield ''; })())) ? '' : new Markup($tmp, $this->env->getCharset()); // line 18 yield " "; yield Twig\Extension\CoreExtension::sprintf(_gettext("Continue insertion with %s rows"), ($context["insert_rows"] ?? null)); yield " </form> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/insert/continue_insertion_form.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 95 => 18, 89 => 16, 87 => 15, 85 => 14, 82 => 13, 79 => 12, 71 => 10, 67 => 9, 62 => 8, 60 => 7, 55 => 5, 51 => 4, 47 => 3, 43 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "table/insert/continue_insertion_form.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/continue_insertion_form.twig"); } } twig/ed/ed2d44f9b670c9e63fb2907da5dc6ed5.php 0000644 00000004770 15114741573 0013454 0 ustar 00 <?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_883eaadd511556cb8ca7b7bcd9cc73e2 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/create_view.twig"); } } twig/ed/eda5ba0a28e30459a39cc1d8e8df5e8d.php 0000644 00000005175 15114741573 0013522 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/export/index.twig */ class __TwigTemplate_7a95ba5ceebbae694b54974bd22eb372 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'title' => [$this, 'block_title'], ]; } protected function doGetParent(array $context) { // line 1 return "export.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 11 ob_start(function () { return ''; }); // line 12 echo " "; echo _gettext("@SERVER@ will become the server name, @DATABASE@ will become the database name and @TABLE@ will become the table name."); $context["filename_hint"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 1 $this->parent = $this->loadTemplate("export.twig", "table/export/index.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_title($context, array $blocks = []) { $macros = $this->macros; // line 4 echo " "; if ((($context["export_type"] ?? null) == "raw")) { // line 5 echo " "; // l10n: A query that the user has written freely echo _gettext("Exporting a raw query"); // line 6 echo " "; } else { // line 7 echo " "; echo twig_escape_filter($this->env, twig_sprintf(_gettext("Exporting rows from \"%s\" table"), ($context["table"] ?? null)), "html", null, true); echo " "; } } public function getTemplateName() { return "table/export/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 67 => 7, 64 => 6, 60 => 5, 57 => 4, 53 => 3, 48 => 1, 44 => 12, 42 => 11, 35 => 1,); } public function getSourceContext() { return new Source("", "table/export/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/export/index.twig"); } } twig/44/4475121d07187dd5263ce3735f68b0ff.php 0000644 00000053200 15114741573 0012634 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/structure/display_table_stats.twig */ class __TwigTemplate_6cf7e1de2a6177fba65b9dfc91ef27eb 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 echo "<div id=\"tablestatistics\"> <fieldset class=\"pma-fieldset\"> <legend>"; echo _gettext("Information"); // line 3 echo "</legend> "; // line 4 if ((($__internal_compile_0 = ($context["showtable"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["TABLE_COMMENT"] ?? null) : null)) { // line 5 echo " <p> <strong>"; echo _gettext("Table comments:"); // line 6 echo "</strong> "; // line 7 echo twig_escape_filter($this->env, (($__internal_compile_1 = ($context["showtable"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["TABLE_COMMENT"] ?? null) : null), "html", null, true); echo " </p> "; } // line 10 echo " <a id=\"showusage\"></a> "; // line 12 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 13 echo " <table class=\"table table-striped table-hover table-sm w-auto caption-top\"> <caption>"; echo _gettext("Space usage"); // line 14 echo "</caption> <tbody> <tr> <th class=\"name\">"; echo _gettext("Data"); // line 17 echo "</th> <td class=\"value\">"; // line 18 echo twig_escape_filter($this->env, ($context["data_size"] ?? null), "html", null, true); echo "</td> <td class=\"unit\">"; // line 19 echo twig_escape_filter($this->env, ($context["data_unit"] ?? null), "html", null, true); echo "</td> </tr> "; // line 22 if (array_key_exists("index_size", $context)) { // line 23 echo " <tr> <th class=\"name\">"; echo _gettext("Index"); // line 24 echo "</th> <td class=\"value\">"; // line 25 echo twig_escape_filter($this->env, ($context["index_size"] ?? null), "html", null, true); echo "</td> <td class=\"unit\">"; // line 26 echo twig_escape_filter($this->env, ($context["index_unit"] ?? null), "html", null, true); echo "</td> </tr> "; } // line 29 echo " "; // line 30 if (array_key_exists("free_size", $context)) { // line 31 echo " <tr> <th class=\"name\">"; echo _gettext("Overhead"); // line 32 echo "</th> <td class=\"value\">"; // line 33 echo twig_escape_filter($this->env, ($context["free_size"] ?? null), "html", null, true); echo "</td> <td class=\"unit\">"; // line 34 echo twig_escape_filter($this->env, ($context["free_unit"] ?? null), "html", null, true); echo "</td> </tr> <tr> <th class=\"name\">"; echo _gettext("Effective"); // line 37 echo "</th> <td class=\"value\">"; // line 38 echo twig_escape_filter($this->env, ($context["effect_size"] ?? null), "html", null, true); echo "</td> <td class=\"unit\">"; // line 39 echo twig_escape_filter($this->env, ($context["effect_unit"] ?? null), "html", null, true); echo "</td> </tr> "; } // line 42 echo " "; // line 43 if ((array_key_exists("tot_size", $context) && (($context["mergetable"] ?? null) == false))) { // line 44 echo " <tr> <th class=\"name\">"; echo _gettext("Total"); // line 45 echo "</th> <td class=\"value\">"; // line 46 echo twig_escape_filter($this->env, ($context["tot_size"] ?? null), "html", null, true); echo "</td> <td class=\"unit\">"; // line 47 echo twig_escape_filter($this->env, ($context["tot_unit"] ?? null), "html", null, true); echo "</td> </tr> "; } // line 50 echo " </tbody> "; // line 53 echo " "; if (((array_key_exists("free_size", $context) && (((( // line 54 ($context["tbl_storage_engine"] ?? null) == "MYISAM") || ( // line 55 ($context["tbl_storage_engine"] ?? null) == "ARIA")) || ( // line 56 ($context["tbl_storage_engine"] ?? null) == "MARIA")) || ( // line 57 ($context["tbl_storage_engine"] ?? null) == "BDB"))) || (( // line 58 ($context["tbl_storage_engine"] ?? null) == "INNODB") && (($context["innodb_file_per_table"] ?? null) == true)))) { // line 59 echo " <tfoot> <tr class=\"d-print-none\"> <th colspan=\"3\" class=\"center\"> <a href=\""; // line 62 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 63 ($context["db"] ?? null), "table" => // line 64 ($context["table"] ?? null), "sql_query" => ("OPTIMIZE TABLE " . PhpMyAdmin\Util::backquote( // line 65 ($context["table"] ?? null))), "pos" => 0]); // line 67 echo "\"> "; // line 68 echo PhpMyAdmin\Html\Generator::getIcon("b_tbloptimize", _gettext("Optimize table")); echo " </a> </th> </tr> </tfoot> "; } // line 74 echo " </table> "; } // line 76 echo " "; // line 77 $context["avg_size"] = ((array_key_exists("avg_size", $context)) ? (($context["avg_size"] ?? null)) : (null)); // line 78 echo " "; $context["avg_unit"] = ((array_key_exists("avg_unit", $context)) ? (($context["avg_unit"] ?? null)) : (null)); // line 79 echo " <table class=\"table table-striped table-hover table-sm w-auto caption-top\"> <caption>"; echo _gettext("Row statistics"); // line 80 echo "</caption> <tbody> "; // line 82 if (twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Row_format", [], "array", true, true, false, 82)) { // line 83 echo " <tr> <th class=\"name\">"; echo _gettext("Format"); // line 84 echo "</th> "; // line 85 if (((($__internal_compile_2 = ($context["showtable"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["Row_format"] ?? null) : null) == "Fixed")) { // line 86 echo " <td class=\"value\">"; echo _gettext("static"); echo "</td> "; } elseif (((($__internal_compile_3 = // line 87 ($context["showtable"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["Row_format"] ?? null) : null) == "Dynamic")) { // line 88 echo " <td class=\"value\">"; echo _gettext("dynamic"); echo "</td> "; } else { // line 90 echo " <td class=\"value\">"; echo twig_escape_filter($this->env, (($__internal_compile_4 = ($context["showtable"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["Row_format"] ?? null) : null), "html", null, true); echo "</td> "; } // line 92 echo " </tr> "; } // line 94 echo " "; // line 95 if ( !twig_test_empty((($__internal_compile_5 = ($context["showtable"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["Create_options"] ?? null) : null))) { // line 96 echo " <tr> <th class=\"name\">"; echo _gettext("Options"); // line 97 echo "</th> "; // line 98 if (((($__internal_compile_6 = ($context["showtable"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["Create_options"] ?? null) : null) == "partitioned")) { // line 99 echo " <td class=\"value\">"; echo _gettext("partitioned"); echo "</td> "; } else { // line 101 echo " <td class=\"value\">"; echo twig_escape_filter($this->env, (($__internal_compile_7 = ($context["showtable"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["Create_options"] ?? null) : null), "html", null, true); echo "</td> "; } // line 103 echo " </tr> "; } // line 105 echo " "; // line 106 if ( !twig_test_empty(($context["table_collation"] ?? null))) { // line 107 echo " <tr> <th class=\"name\">"; echo _gettext("Collation"); // line 108 echo "</th> <td class=\"value\"> <dfn title=\""; // line 110 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table_collation"] ?? null), "description", [], "any", false, false, false, 110), "html", null, true); echo "\"> "; // line 111 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table_collation"] ?? null), "name", [], "any", false, false, false, 111), "html", null, true); echo " </dfn> </td> </tr> "; } // line 116 echo " "; // line 117 if (( !($context["is_innodb"] ?? null) && twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Rows", [], "array", true, true, false, 117))) { // line 118 echo " <tr> <th class=\"name\">"; echo _gettext("Rows"); // line 119 echo "</th> <td class=\"value\">"; // line 120 echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber((($__internal_compile_8 = ($context["showtable"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["Rows"] ?? null) : null), 0), "html", null, true); echo "</td> </tr> "; } // line 123 echo " "; // line 124 if ((( !($context["is_innodb"] ?? null) && twig_get_attribute($this->env, $this->source, // line 125 ($context["showtable"] ?? null), "Avg_row_length", [], "array", true, true, false, 125)) && ((($__internal_compile_9 = // line 126 ($context["showtable"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["Avg_row_length"] ?? null) : null) > 0))) { // line 127 echo " <tr> <th class=\"name\">"; echo _gettext("Row length"); // line 128 echo "</th> "; // line 129 $context["avg_row_length"] = PhpMyAdmin\Util::formatByteDown((($__internal_compile_10 = ($context["showtable"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["Avg_row_length"] ?? null) : null), 6, 1); // line 130 echo " <td class=\"value\">"; echo twig_escape_filter($this->env, (($__internal_compile_11 = ($context["avg_row_length"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11[0] ?? null) : null), "html", null, true); echo " "; echo twig_escape_filter($this->env, (($__internal_compile_12 = ($context["avg_row_length"] ?? null)) && is_array($__internal_compile_12) || $__internal_compile_12 instanceof ArrayAccess ? ($__internal_compile_12[1] ?? null) : null), "html", null, true); echo "</td> </tr> "; } // line 133 echo " "; // line 134 if ((((( !($context["is_innodb"] ?? null) && twig_get_attribute($this->env, $this->source, // line 135 ($context["showtable"] ?? null), "Data_length", [], "array", true, true, false, 135)) && twig_get_attribute($this->env, $this->source, // line 136 ($context["showtable"] ?? null), "Rows", [], "array", true, true, false, 136)) && ((($__internal_compile_13 = // line 137 ($context["showtable"] ?? null)) && is_array($__internal_compile_13) || $__internal_compile_13 instanceof ArrayAccess ? ($__internal_compile_13["Rows"] ?? null) : null) > 0)) && ( // line 138 ($context["mergetable"] ?? null) == false))) { // line 139 echo " <tr> <th class=\"name\">"; echo _gettext("Row size"); // line 140 echo "</th> <td class=\"value\">"; // line 141 echo twig_escape_filter($this->env, ($context["avg_size"] ?? null), "html", null, true); echo " "; echo twig_escape_filter($this->env, ($context["avg_unit"] ?? null), "html", null, true); echo "</td> </tr> "; } // line 144 echo " "; // line 145 if (twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Auto_increment", [], "array", true, true, false, 145)) { // line 146 echo " <tr> <th class=\"name\">"; echo _gettext("Next autoindex"); // line 147 echo "</th> <td class=\"value\">"; // line 148 echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber((($__internal_compile_14 = ($context["showtable"] ?? null)) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14["Auto_increment"] ?? null) : null), 0), "html", null, true); echo "</td> </tr> "; } // line 151 echo " "; // line 152 if (twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Create_time", [], "array", true, true, false, 152)) { // line 153 echo " <tr> <th class=\"name\">"; echo _gettext("Creation"); // line 154 echo "</th> <td class=\"value\">"; // line 155 echo twig_escape_filter($this->env, PhpMyAdmin\Util::localisedDate(twig_date_format_filter($this->env, (($__internal_compile_15 = ($context["showtable"] ?? null)) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15["Create_time"] ?? null) : null), "U")), "html", null, true); echo "</td> </tr> "; } // line 158 echo " "; // line 159 if (twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Update_time", [], "array", true, true, false, 159)) { // line 160 echo " <tr> <th class=\"name\">"; echo _gettext("Last update"); // line 161 echo "</th> <td class=\"value\">"; // line 162 echo twig_escape_filter($this->env, PhpMyAdmin\Util::localisedDate(twig_date_format_filter($this->env, (($__internal_compile_16 = ($context["showtable"] ?? null)) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16["Update_time"] ?? null) : null), "U")), "html", null, true); echo "</td> </tr> "; } // line 165 echo " "; // line 166 if (twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Check_time", [], "array", true, true, false, 166)) { // line 167 echo " <tr> <th class=\"name\">"; echo _gettext("Last check"); // line 168 echo "</th> <td class=\"value\">"; // line 169 echo twig_escape_filter($this->env, PhpMyAdmin\Util::localisedDate(twig_date_format_filter($this->env, (($__internal_compile_17 = ($context["showtable"] ?? null)) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17["Check_time"] ?? null) : null), "U")), "html", null, true); echo "</td> </tr> "; } // line 172 echo " </tbody> </table> </fieldset> </div> "; } public function getTemplateName() { return "table/structure/display_table_stats.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 450 => 172, 444 => 169, 441 => 168, 437 => 167, 435 => 166, 432 => 165, 426 => 162, 423 => 161, 419 => 160, 417 => 159, 414 => 158, 408 => 155, 405 => 154, 401 => 153, 399 => 152, 396 => 151, 390 => 148, 387 => 147, 383 => 146, 381 => 145, 378 => 144, 370 => 141, 367 => 140, 363 => 139, 361 => 138, 360 => 137, 359 => 136, 358 => 135, 357 => 134, 354 => 133, 345 => 130, 343 => 129, 340 => 128, 336 => 127, 334 => 126, 333 => 125, 332 => 124, 329 => 123, 323 => 120, 320 => 119, 316 => 118, 314 => 117, 311 => 116, 303 => 111, 299 => 110, 295 => 108, 291 => 107, 289 => 106, 286 => 105, 282 => 103, 276 => 101, 270 => 99, 268 => 98, 265 => 97, 261 => 96, 259 => 95, 256 => 94, 252 => 92, 246 => 90, 240 => 88, 238 => 87, 233 => 86, 231 => 85, 228 => 84, 224 => 83, 222 => 82, 218 => 80, 214 => 79, 211 => 78, 209 => 77, 206 => 76, 202 => 74, 193 => 68, 190 => 67, 188 => 65, 187 => 64, 186 => 63, 183 => 62, 178 => 59, 176 => 58, 175 => 57, 174 => 56, 173 => 55, 172 => 54, 170 => 53, 166 => 50, 160 => 47, 156 => 46, 153 => 45, 149 => 44, 147 => 43, 144 => 42, 138 => 39, 134 => 38, 131 => 37, 124 => 34, 120 => 33, 117 => 32, 113 => 31, 111 => 30, 108 => 29, 102 => 26, 98 => 25, 95 => 24, 91 => 23, 89 => 22, 83 => 19, 79 => 18, 76 => 17, 70 => 14, 66 => 13, 64 => 12, 60 => 10, 54 => 7, 51 => 6, 47 => 5, 45 => 4, 42 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "table/structure/display_table_stats.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/structure/display_table_stats.twig"); } } twig/44/44466c43b0f59a566386436506dda3b7.php 0000644 00000004654 15114741573 0012566 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* recent_favorite_table_recent.twig */ class __TwigTemplate_e4ef5868d9f89fb9d4e479cac5bf3759 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'] = twig_ensure_traversable(($context["tables"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["table"]) { // line 2 echo "<li class=\"warp_link\"> <a href=\""; // line 3 echo PhpMyAdmin\Url::getFromRoute("/table/recent-favorite", $context["table"]); echo "\"> `"; // line 4 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["table"], "db", [], "any", false, false, false, 4), "html", null, true); echo "`.`"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["table"], "table", [], "any", false, false, false, 4), "html", null, true); echo "` </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; } public function getTemplateName() { return "recent_favorite_table_recent.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 48 => 4, 44 => 3, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "recent_favorite_table_recent.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/recent_favorite_table_recent.twig"); } } twig/06/06b1d000c5e1015a88c4635785811ef5.php 0000644 00000004770 15114741573 0012540 0 ustar 00 <?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_225d6b51f4fcd57e0bbc1b9403addcc1 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/create_view.twig"); } } twig/f0/f015471ea66801bb43a14856eeb32035.php 0000644 00000121744 15114741573 0012674 0 ustar 00 <?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_3c5e008b5961b43193781fdc9a16e876 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/table.twig"); } } twig/79/798bdc3f1421cd2623fe57a72fa802fb.php 0000644 00000121744 15114741573 0013146 0 ustar 00 <?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_436a0cef0aa0e4daf06dc5254b2d086c 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/table.twig"); } } twig/46/461257c61e0fbdd23b85e1b4f187748d.php 0000644 00000017231 15114741573 0013000 0 ustar 00 <?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_e50eefa2d3d90afa49dd0c10971b1ca3 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/footer.twig"); } } twig/46/466e9e894ce09b5e77ce9d7c1a830775.php 0000644 00000003521 15114741573 0013032 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* recent_favorite_table_no_tables.twig */ class __TwigTemplate_d6ab9d7d337bc4979c96071d1b93ca99 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 echo "<li class=\"warp_link\"> "; // line 2 if (($context["is_recent"] ?? null)) { // line 3 echo " "; echo _gettext("There are no recent tables."); // line 4 echo " "; } else { // line 5 echo " "; echo _gettext("There are no favorite tables."); // line 6 echo " "; } // line 7 echo "</li> "; } public function getTemplateName() { return "recent_favorite_table_no_tables.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 54 => 7, 51 => 6, 48 => 5, 45 => 4, 42 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "recent_favorite_table_no_tables.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/recent_favorite_table_no_tables.twig"); } } twig/cd/cd0d770e48195a659ffb51b9449cd8a3.php 0000644 00000003473 15114741573 0013234 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* config/form_display/group_header.twig */ class __TwigTemplate_9db430d4ab18802b0183880db5d39ab3 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 echo "<tr class=\"group-header group-header-"; echo twig_escape_filter($this->env, ($context["group"] ?? null), "html", null, true); echo "\"> <th colspan=\""; // line 2 echo twig_escape_filter($this->env, ($context["colspan"] ?? null), "html", null, true); echo "\"> "; // line 3 echo twig_escape_filter($this->env, ($context["header_text"] ?? null), "html", null, true); echo " </th> </tr> "; } public function getTemplateName() { return "config/form_display/group_header.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 46 => 3, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "config/form_display/group_header.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/config/form_display/group_header.twig"); } } twig/bb/bb8ac07465723482df040a111fe54d7a.php 0000644 00000020753 15114741573 0013112 0 ustar 00 <?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_176101060d5bf42b49eef83ae950769e 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/menu/breadcrumbs.twig"); } } twig/bb/bbc307137c6671a076c65f8fe5317c70.php 0000644 00000134325 15114741573 0013053 0 ustar 00 <?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; /* table/insert/column_row.twig */ class __TwigTemplate_32a4092d7f00fd47ee1b946f48d7dc01 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=\"noclick\"> <td class=\"text-center\"> "; // line 3 yield CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_title", [], "any", false, false, false, 3); yield " <input type=\"hidden\" name=\"fields_name[multi_edit]["; // line 4 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 4), "html", null, true); yield "]\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field", [], "any", false, false, false, 4), "html", null, true); yield "\"> </td> "; // line 7 if (($context["show_field_types_in_data_edit_view"] ?? null)) { // line 8 yield " <td class=\"text-center"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "wrap", [], "any", false, false, false, 8), "html", null, true); yield "\"> <span class=\"column_type\" dir=\"ltr\">"; // line 9 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 9), "html", null, true); yield "</span> </td> "; } // line 12 yield " "; // line 13 if (($context["show_function_fields"] ?? null)) { // line 14 yield " "; if (($context["is_column_binary"] ?? null)) { // line 15 yield " <td class=\"text-center\">"; yield _gettext("Binary"); yield "</td> "; } elseif ((CoreExtension::inFilter("enum", CoreExtension::getAttribute($this->env, $this->source, // line 16 ($context["column"] ?? null), "True_Type", [], "any", false, false, false, 16)) || CoreExtension::inFilter("set", CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "True_Type", [], "any", false, false, false, 16)))) { // line 17 yield " <td class=\"text-center\">--</td> "; } else { // line 19 yield " <td> <select name=\"funcs[multi_edit]["; // line 20 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 20), "html", null, true); yield "]\" onchange=\"return verificationsAfterFieldChange('"; yield PhpMyAdmin\Sanitize::escapeJsString(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 20)); yield "', '"; yield PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); yield "', '"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 20), "html", null, true); yield "')\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_1\"> "; // line 21 yield ($context["function_options"] ?? null); yield " </select> </td> "; } // line 25 yield " "; } // line 26 yield " <td> "; // line 28 if (((Twig\Extension\CoreExtension::upper($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Null", [], "any", false, false, false, 28)) == "YES") && !($context["read_only"] ?? null))) { // line 29 yield " <input type=\"hidden\" name=\"fields_null_prev[multi_edit]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 29), "html", null, true); yield "]\""; yield (((($context["real_null_value"] ?? null) && !CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "first_timestamp", [], "any", false, false, false, 29))) ? (" value=\"on\"") : ("")); yield "> <input type=\"checkbox\" class=\"checkbox_null\" name=\"fields_null[multi_edit]["; // line 30 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 30), "html", null, true); yield "]\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_2\" aria-label=\""; yield _gettext("Use the NULL value for this column."); yield "\""; yield ((($context["real_null_value"] ?? null)) ? (" checked") : ("")); yield "> <input type=\"hidden\" class=\"nullify_code\" name=\"nullify_code[multi_edit]["; // line 31 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 31), "html", null, true); yield "]\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["nullify_code"] ?? null), "html", null, true); yield "\"> <input type=\"hidden\" class=\"hashed_field\" name=\"hashed_field[multi_edit]["; // line 32 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 32), "html", null, true); yield "]\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 32), "html", null, true); yield "\"> <input type=\"hidden\" class=\"multi_edit\" name=\"multi_edit[multi_edit]["; // line 33 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 33), "html", null, true); yield "]\" value=\""; yield PhpMyAdmin\Sanitize::escapeJsString((("[multi_edit][" . ($context["row_id"] ?? null)) . "]")); yield "\"> "; } // line 35 yield " </td> <td data-type=\""; // line 37 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["type"] ?? null), "html", null, true); yield "\" data-decimals=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["decimals"] ?? null), "html", null, true); yield "\"> "; // line 39 yield " <span class=\"default_value hide\">"; yield ($context["special_chars"] ?? null); yield "</span> "; // line 41 if ( !Twig\Extension\CoreExtension::testEmpty(($context["transformed_value"] ?? null))) { // line 42 yield " "; yield ($context["transformed_value"] ?? null); yield " "; } else { // line 44 yield " "; if (($context["is_value_foreign_link"] ?? null)) { // line 45 yield " "; yield ($context["backup_field"] ?? null); yield " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 46 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 46), "html", null, true); yield "]\" value=\"foreign\"> <input type=\"text\" name=\"fields[multi_edit]["; // line 47 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 47), "html", null, true); yield "]\" class=\"textfield\" tabindex=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["tab_index"] ?? null) + ($context["tab_index_for_value"] ?? null)), "html", null, true); yield "\" onchange=\"return verificationsAfterFieldChange('"; yield PhpMyAdmin\Sanitize::escapeJsString(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 47)); yield "', '"; yield PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); yield "', '"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 47), "html", null, true); yield "')\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_3\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["data"] ?? null), "html", null, true); yield "\"> <a class=\"ajax browse_foreign\" href=\""; // line 48 yield PhpMyAdmin\Url::getFromRoute("/browse-foreigners"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "field" => CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field", [], "any", false, false, false, 48), "rownumber" => ($context["row_id"] ?? null), "data" => ($context["data"] ?? null)]); yield "\">"; yield PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse foreign values")); yield "</a> "; } elseif ( !Twig\Extension\CoreExtension::testEmpty( // line 49 ($context["foreign_dropdown"] ?? null))) { // line 50 yield " "; yield ($context["backup_field"] ?? null); yield " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 51 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 51), "html", null, true); yield "]\" value=\""; yield ((CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "is_binary", [], "any", false, false, false, 51)) ? ("hex") : ("foreign")); yield "\"> <select name=\"fields[multi_edit]["; // line 52 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 52), "html", null, true); yield "]\" class=\"textfield\" tabindex=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["tab_index"] ?? null) + ($context["tab_index_for_value"] ?? null)), "html", null, true); yield "\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_3\" onchange=\"return verificationsAfterFieldChange('"; yield PhpMyAdmin\Sanitize::escapeJsString(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 52)); yield "', '"; yield PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); yield "', '"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 52), "html", null, true); yield "')\"> "; // line 53 yield ($context["foreign_dropdown"] ?? null); yield " </select> "; } elseif (((( // line 55 ($context["longtext_double_textarea"] ?? null) && CoreExtension::inFilter("longtext", CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 55))) || CoreExtension::inFilter("json", CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 55))) || CoreExtension::inFilter("text", CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 55)))) { // line 56 yield " "; yield ($context["backup_field"] ?? null); yield " <textarea name=\"fields[multi_edit]["; // line 57 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 57), "html", null, true); yield "]\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_3\" data-type=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["data_type"] ?? null), "html", null, true); yield "\" dir=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["text_dir"] ?? null), "html", null, true); yield "\" rows=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["textarea_rows"] ?? null), "html", null, true); yield "\" cols=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["textarea_cols"] ?? null), "html", null, true); yield "\" tabindex=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["tab_index"] ?? null) + ($context["tab_index_for_value"] ?? null)), "html", null, true); yield "\""; // line 58 ((($context["max_length"] ?? null)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((" data-maxlength=\"" . ($context["max_length"] ?? null)) . "\""), "html", null, true)) : (yield "")); yield ((CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "is_char", [], "any", false, false, false, 58)) ? (" class=\"charField\"") : ("")); yield " onchange=\"return verificationsAfterFieldChange('"; yield PhpMyAdmin\Sanitize::escapeJsString(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 58)); yield "', '"; yield PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); yield "', '"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 58), "html", null, true); yield "')\">"; // line 60 yield (((is_string($__internal_compile_0 = ($context["special_chars"] ?? null)) && is_string($__internal_compile_1 = " ") && str_starts_with($__internal_compile_0, $__internal_compile_1))) ? (" ") : ("")); yield ($context["special_chars"] ?? null); // line 61 yield "</textarea> "; // line 62 if ((CoreExtension::inFilter("text", CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 62)) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["special_chars"] ?? null)) > 32000))) { // line 63 yield " </td> <td> "; yield _gettext("Because of its length,<br> this column might not be editable."); // line 66 yield " "; } // line 67 yield " "; } elseif ((CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 67) == "enum")) { // line 68 yield " "; yield ($context["backup_field"] ?? null); yield " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 69 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 69), "html", null, true); yield "]\" value=\"enum\"> "; // line 70 if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Type", [], "any", false, false, false, 70)) > 20)) { // line 71 yield " <select name=\"fields[multi_edit]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 71), "html", null, true); yield "]\" class=\"textfield\" tabindex=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["tab_index"] ?? null) + ($context["tab_index_for_value"] ?? null)), "html", null, true); yield "\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_3\" onchange=\"return verificationsAfterFieldChange('"; yield PhpMyAdmin\Sanitize::escapeJsString(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 71)); yield "', '"; yield PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); yield "', '"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 71), "html", null, true); yield "')\"> <option value=\"\"></option> "; // line 73 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "values", [], "any", false, false, false, 73)); foreach ($context['_seq'] as $context["_key"] => $context["enum_value"]) { // line 74 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 74), "html", null, true); yield "\""; yield (((CoreExtension::getAttribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 74) == ($context["enum_selected_value"] ?? null))) ? (" selected") : ("")); yield ">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 74), "html", null, true); yield "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['enum_value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 76 yield " </select> "; } else { // line 78 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "values", [], "any", false, false, false, 78)); $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["enum_value"]) { // line 79 yield " <input type=\"radio\" name=\"fields[multi_edit]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 79), "html", null, true); yield "]\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 79), "html", null, true); yield "\" class=\"textfield\" tabindex=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["tab_index"] ?? null) + ($context["tab_index_for_value"] ?? null)), "html", null, true); yield "\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_3_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 79), "html", null, true); yield "\" onchange=\"return verificationsAfterFieldChange('"; yield PhpMyAdmin\Sanitize::escapeJsString(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 79)); yield "', '"; yield PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); yield "', '"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 79), "html", null, true); yield "')\""; yield (((CoreExtension::getAttribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 79) == ($context["enum_selected_value"] ?? null))) ? (" checked") : ("")); yield "> <label for=\"field_"; // line 80 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_3_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 80), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 80), "html", null, true); yield "</label> "; ++$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['enum_value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 82 yield " "; } // line 83 yield " "; } elseif ((CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 83) == "set")) { // line 84 yield " "; yield ($context["backup_field"] ?? null); yield " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 85 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 85), "html", null, true); yield "]\" value=\"set\"> <select name=\"fields[multi_edit]["; // line 86 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 86), "html", null, true); yield "][]\" class=\"textfield\" tabindex=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["tab_index"] ?? null) + ($context["tab_index_for_value"] ?? null)), "html", null, true); yield "\" size=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["set_select_size"] ?? null), "html", null, true); yield "\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_3\" onchange=\"return verificationsAfterFieldChange('"; yield PhpMyAdmin\Sanitize::escapeJsString(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 86)); yield "', '"; yield PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); yield "', '"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 86), "html", null, true); yield "')\" multiple> "; // line 87 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["set_values"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["set_value"]) { // line 88 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["set_value"], "plain", [], "any", false, false, false, 88), "html", null, true); yield "\""; yield ((CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["set_value"], "plain", [], "any", false, false, false, 88), Twig\Extension\CoreExtension::split($this->env->getCharset(), ($context["data"] ?? null), ","))) ? (" selected") : ("")); yield ">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["set_value"], "plain", [], "any", false, false, false, 88), "html", null, true); yield "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['set_value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 90 yield " </select> "; } elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 91 ($context["column"] ?? null), "is_binary", [], "any", false, false, false, 91) || CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "is_blob", [], "any", false, false, false, 91))) { // line 92 yield " "; if (($context["is_column_protected_blob"] ?? null)) { // line 93 yield " "; yield _gettext("Binary - do not edit"); // line 94 yield " ("; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["blob_value"] ?? null), "html", null, true); yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["blob_value_unit"] ?? null), "html", null, true); yield ") <input type=\"hidden\" name=\"fields[multi_edit]["; // line 95 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 95), "html", null, true); yield "]\" value=\"\"> <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 96 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 96), "html", null, true); yield "]\" value=\"protected\"> "; } elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 97 ($context["column"] ?? null), "is_blob", [], "any", false, false, false, 97) || (CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "len", [], "any", false, false, false, 97) > ($context["limit_chars"] ?? null)))) { // line 98 yield " "; yield ($context["backup_field"] ?? null); yield " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 99 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 99), "html", null, true); yield "]\" value=\"hex\"> <textarea name=\"fields[multi_edit]["; // line 100 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 100), "html", null, true); yield "]\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_3\" data-type=\"HEX\" dir=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["text_dir"] ?? null), "html", null, true); yield "\" rows=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["textarea_rows"] ?? null), "html", null, true); yield "\" cols=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["textarea_cols"] ?? null), "html", null, true); yield "\" tabindex=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["tab_index"] ?? null) + ($context["tab_index_for_value"] ?? null)), "html", null, true); yield "\""; // line 101 ((($context["max_length"] ?? null)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((" data-maxlength=\"" . ($context["max_length"] ?? null)) . "\""), "html", null, true)) : (yield "")); yield ((CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "is_char", [], "any", false, false, false, 101)) ? (" class=\"charField\"") : ("")); yield " onchange=\"return verificationsAfterFieldChange('"; yield PhpMyAdmin\Sanitize::escapeJsString(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 101)); yield "', '"; yield PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); yield "', '"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 101), "html", null, true); yield "')\">"; // line 103 yield (((is_string($__internal_compile_2 = ($context["special_chars"] ?? null)) && is_string($__internal_compile_3 = " ") && str_starts_with($__internal_compile_2, $__internal_compile_3))) ? (" ") : ("")); yield ($context["special_chars"] ?? null); // line 104 yield "</textarea> "; } else { // line 106 yield " "; yield ($context["backup_field"] ?? null); yield " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 107 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 107), "html", null, true); yield "]\" value=\"hex\"> "; // line 108 yield ($context["input_field_html"] ?? null); yield " "; } // line 110 yield " "; if ((($context["is_upload"] ?? null) && CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "is_blob", [], "any", false, false, false, 110))) { // line 111 yield " <br> "; // line 113 yield " <input type=\"file\" name=\"fields_upload[multi_edit]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "]["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 113), "html", null, true); yield "]\" class=\"textfield noDragDrop\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["id_index"] ?? null), "html", null, true); yield "_3\" size=\"10\" onchange=\"return verificationsAfterFieldChange('"; yield PhpMyAdmin\Sanitize::escapeJsString(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 113)); yield "', '"; yield PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); yield "', '"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 113), "html", null, true); yield "')\"> "; // line 114 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["max_upload_size"] ?? null), "html", null, true); yield " "; } // line 116 yield " "; yield ($context["select_option_for_upload"] ?? null); yield " "; } else { // line 118 yield " "; yield ($context["value"] ?? null); yield " "; } // line 120 yield " "; // line 121 if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 121), ($context["gis_data_types"] ?? null))) { // line 122 yield " <span class=\"open_gis_editor\" data-row-id=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_id"] ?? null), "html", null, true); yield "\"> "; // line 123 yield PhpMyAdmin\Html\Generator::linkOrButton("#", null, PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit/Insert"))); yield " </span> "; } // line 126 yield " "; } // line 127 yield " </td> </tr> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/insert/column_row.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 637 => 127, 634 => 126, 628 => 123, 623 => 122, 621 => 121, 618 => 120, 612 => 118, 606 => 116, 601 => 114, 586 => 113, 583 => 111, 580 => 110, 575 => 108, 569 => 107, 564 => 106, 560 => 104, 555 => 103, 545 => 101, 530 => 100, 524 => 99, 519 => 98, 517 => 97, 511 => 96, 505 => 95, 498 => 94, 495 => 93, 492 => 92, 490 => 91, 487 => 90, 474 => 88, 470 => 87, 452 => 86, 446 => 85, 441 => 84, 438 => 83, 435 => 82, 415 => 80, 392 => 79, 374 => 78, 370 => 76, 357 => 74, 353 => 73, 335 => 71, 333 => 70, 327 => 69, 322 => 68, 319 => 67, 316 => 66, 311 => 63, 309 => 62, 306 => 61, 301 => 60, 291 => 58, 274 => 57, 269 => 56, 267 => 55, 262 => 53, 246 => 52, 238 => 51, 233 => 50, 231 => 49, 223 => 48, 205 => 47, 199 => 46, 194 => 45, 191 => 44, 185 => 42, 183 => 41, 177 => 39, 171 => 37, 167 => 35, 158 => 33, 150 => 32, 142 => 31, 130 => 30, 121 => 29, 119 => 28, 115 => 26, 112 => 25, 105 => 21, 91 => 20, 88 => 19, 84 => 17, 82 => 16, 77 => 15, 74 => 14, 72 => 13, 69 => 12, 63 => 9, 58 => 8, 56 => 7, 46 => 4, 42 => 3, 38 => 1,); } public function getSourceContext() { return new Source("", "table/insert/column_row.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/column_row.twig"); } } twig/2f/2f5577b8c9ccdeea14ba4f623a0f0e39.php 0000644 00000023445 15114741573 0013355 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* navigation/main.twig */ class __TwigTemplate_6a614d195a2c9874a5d0ff57cb6e700d 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 echo " <div id=\"pma_navigation\" class=\"d-print-none\" data-config-navigation-width=\""; echo twig_escape_filter($this->env, ($context["config_navigation_width"] ?? null), "html", null, true); echo "\"> <div id=\"pma_navigation_resizer\"></div> <div id=\"pma_navigation_collapser\"></div> <div id=\"pma_navigation_content\"> <div id=\"pma_navigation_header\"> "; // line 8 if (twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "is_displayed", [], "any", false, false, false, 8)) { // line 9 echo " <div id=\"pmalogo\"> "; // line 10 if (twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "has_link", [], "any", false, false, false, 10)) { // line 11 echo " <a href=\""; echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "link", [], "any", true, true, false, 11)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "link", [], "any", false, false, false, 11), "#")) : ("#")), "html", null, true); echo "\""; echo twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "attributes", [], "any", false, false, false, 11); echo "> "; } // line 13 echo " "; if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "source", [], "any", false, false, false, 13))) { // line 14 echo " <img id=\"imgpmalogo\" src=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "source", [], "any", false, false, false, 14), "html", null, true); echo "\" alt=\"phpMyAdmin\"> "; } else { // line 16 echo " <h1>phpMyAdmin</h1> "; } // line 18 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "has_link", [], "any", false, false, false, 18)) { // line 19 echo " </a> "; } // line 21 echo " </div> "; } // line 23 echo " <div id=\"navipanellinks\"> <a href=\""; // line 25 echo PhpMyAdmin\Url::getFromRoute("/"); echo "\" title=\""; echo _gettext("Home"); echo "\">"; // line 26 echo PhpMyAdmin\Html\Generator::getImage("b_home", _gettext("Home")); // line 27 echo "</a> <a href=\""; // line 29 echo PhpMyAdmin\Html\MySQLDocumentation::getDocumentationLink("index"); echo "\" title=\""; echo _gettext("phpMyAdmin documentation"); echo "\" target=\"_blank\" rel=\"noopener noreferrer\">"; // line 30 echo PhpMyAdmin\Html\Generator::getImage("b_docs", _gettext("phpMyAdmin documentation")); // line 31 echo "</a> <a href=\""; // line 33 echo PhpMyAdmin\Util::getdocuURL(($context["is_mariadb"] ?? null)); echo "\" title=\""; echo twig_escape_filter($this->env, ((($context["is_mariadb"] ?? null)) ? (_gettext("MariaDB Documentation")) : (_gettext("MySQL Documentation"))), "html", null, true); echo "\" target=\"_blank\" rel=\"noopener noreferrer\">"; // line 34 echo PhpMyAdmin\Html\Generator::getImage("b_sqlhelp", ((($context["is_mariadb"] ?? null)) ? (_gettext("MariaDB Documentation")) : (_gettext("MySQL Documentation")))); // line 35 echo "</a> <a id=\"pma_navigation_settings_icon\""; // line 37 echo (( !($context["is_navigation_settings_enabled"] ?? null)) ? (" class=\"hide\"") : ("")); echo " href=\"#\" title=\""; echo _gettext("Navigation panel settings"); echo "\">"; // line 38 echo PhpMyAdmin\Html\Generator::getImage("s_cog", _gettext("Navigation panel settings")); // line 39 echo "</a> <a id=\"pma_navigation_reload\" href=\"#\" title=\""; echo _gettext("Reload navigation panel"); // line 41 echo "\">"; // line 42 echo PhpMyAdmin\Html\Generator::getImage("s_reload", _gettext("Reload navigation panel")); // line 43 echo "</a> </div> "; // line 46 if ((($context["is_servers_displayed"] ?? null) && (twig_length_filter($this->env, ($context["servers"] ?? null)) > 1))) { // line 47 echo " <div id=\"serverChoice\"> "; // line 48 echo ($context["server_select"] ?? null); echo " </div> "; } // line 51 echo " "; // line 52 echo PhpMyAdmin\Html\Generator::getImage("ajax_clock_small", _gettext("Loading…"), ["style" => "visibility: hidden; display:none", "class" => "throbber"]); // line 55 echo " </div> <div id=\"pma_navigation_tree\" class=\"list_container"; // line 57 echo ((($context["is_synced"] ?? null)) ? (" synced") : ("")); echo ((($context["is_highlighted"] ?? null)) ? (" highlight") : ("")); echo ((($context["is_autoexpanded"] ?? null)) ? (" autoexpand") : ("")); echo "\"> "; } // line 59 echo " "; // line 60 if ( !($context["navigation_tree"] ?? null)) { // line 61 echo " "; echo $this->env->getFilter('error')->getCallable()(_gettext("An error has occurred while loading the navigation display")); echo " "; } else { // line 63 echo " "; echo ($context["navigation_tree"] ?? null); echo " "; } // line 65 echo " "; // line 66 if ( !($context["is_ajax"] ?? null)) { // line 67 echo " </div> <div id=\"pma_navi_settings_container\"> "; // line 70 if (($context["is_navigation_settings_enabled"] ?? null)) { // line 71 echo " "; echo ($context["navigation_settings"] ?? null); echo " "; } // line 73 echo " </div> </div> "; // line 76 if (($context["is_drag_drop_import_enabled"] ?? null)) { // line 77 echo " <div class=\"pma_drop_handler\"> "; echo _gettext("Drop files here"); // line 79 echo " </div> <div class=\"pma_sql_import_status\"> <h2> "; echo _gettext("SQL upload"); // line 83 echo " ( <span class=\"pma_import_count\">0</span> ) <span class=\"close\">x</span> <span class=\"minimize\">-</span> </h2> <div></div> </div> "; } // line 90 echo " </div> "; // line 91 echo twig_include($this->env, $context, "modals/unhide_nav_item.twig"); echo " "; // line 92 echo twig_include($this->env, $context, "modals/create_view.twig"); echo " "; } } public function getTemplateName() { return "navigation/main.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 241 => 92, 237 => 91, 234 => 90, 225 => 83, 219 => 79, 215 => 77, 213 => 76, 208 => 73, 202 => 71, 200 => 70, 195 => 67, 193 => 66, 190 => 65, 184 => 63, 178 => 61, 176 => 60, 173 => 59, 166 => 57, 162 => 55, 160 => 52, 157 => 51, 151 => 48, 148 => 47, 146 => 46, 141 => 43, 139 => 42, 137 => 41, 132 => 39, 130 => 38, 125 => 37, 121 => 35, 119 => 34, 114 => 33, 110 => 31, 108 => 30, 103 => 29, 99 => 27, 97 => 26, 92 => 25, 88 => 23, 84 => 21, 80 => 19, 77 => 18, 73 => 16, 67 => 14, 64 => 13, 56 => 11, 54 => 10, 51 => 9, 49 => 8, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "navigation/main.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/main.twig"); } } twig/94/94e2f47428f1a9c041a6aa5c416392b9.php 0000644 00000004527 15114741573 0012723 0 ustar 00 <?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_3e59cff96c6f2ab15a5c24de3971d9a3 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/unhide_nav_item.twig"); } } twig/94/941b8ec1b12113606316397044670a4e.php 0000644 00000073031 15114741573 0012401 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* columns_definitions/partitions.twig */ class __TwigTemplate_87c8d6a9bb025f5a957415bc8c9b04bd 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["partition_options"] = [0 => "", 1 => "HASH", 2 => "LINEAR HASH", 3 => "KEY", 4 => "LINEAR KEY", 5 => "RANGE", 6 => "RANGE COLUMNS", 7 => "LIST", 8 => "LIST COLUMNS"]; // line 12 $context["sub_partition_options"] = [0 => "", 1 => "HASH", 2 => "LINEAR HASH", 3 => "KEY", 4 => "LINEAR KEY"]; // line 13 $context["value_type_options"] = [0 => "", 1 => "LESS THAN", 2 => "LESS THAN MAXVALUE", 3 => "IN"]; // line 14 echo " <table class=\"table table-borderless w-auto align-middle mb-0\" id=\"partition_table\"> <tr class=\"align-middle\"> <td><label for=\"partition_by\">"; echo _gettext("Partition by:"); // line 17 echo "</label></td> <td> <select name=\"partition_by\" id=\"partition_by\"> "; // line 20 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["partition_options"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 21 echo " <option value=\""; echo twig_escape_filter($this->env, $context["option"], "html", null, true); echo "\""; // line 22 if (((($__internal_compile_0 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["partition_by"] ?? null) : null) == $context["option"])) { // line 23 echo " selected=\"selected\""; } // line 24 echo "> "; // line 25 echo twig_escape_filter($this->env, $context["option"], "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 28 echo " </select> </td> <td> (<input name=\"partition_expr\" type=\"text\" placeholder=\""; echo _gettext("Expression or column list"); // line 32 echo "\" value=\""; // line 33 echo twig_escape_filter($this->env, (($__internal_compile_1 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["partition_expr"] ?? null) : null), "html", null, true); echo "\">) </td> </tr> <tr class=\"align-middle\"> <td><label for=\"partition_count\">"; echo _gettext("Partitions:"); // line 37 echo "</label></td> <td colspan=\"2\"> <input name=\"partition_count\" type=\"number\" min=\"2\" value=\""; // line 40 (((($__internal_compile_2 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["partition_count"] ?? null) : null)) ? (print (twig_escape_filter($this->env, (($__internal_compile_3 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["partition_count"] ?? null) : null), "html", null, true))) : (print (""))); echo "\"> </td> </tr> "; // line 43 if ((($__internal_compile_4 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["can_have_subpartitions"] ?? null) : null)) { // line 44 echo " <tr class=\"align-middle\"> <td><label for=\"subpartition_by\">"; echo _gettext("Subpartition by:"); // line 45 echo "</label></td> <td> <select name=\"subpartition_by\" id=\"subpartition_by\"> "; // line 48 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["sub_partition_options"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 49 echo " <option value=\""; echo twig_escape_filter($this->env, $context["option"], "html", null, true); echo "\""; // line 50 if (((($__internal_compile_5 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["subpartition_by"] ?? null) : null) == $context["option"])) { // line 51 echo " selected=\"selected\""; } // line 52 echo "> "; // line 53 echo twig_escape_filter($this->env, $context["option"], "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 56 echo " </select> </td> <td> (<input name=\"subpartition_expr\" type=\"text\" placeholder=\""; echo _gettext("Expression or column list"); // line 60 echo "\" value=\""; // line 61 echo twig_escape_filter($this->env, (($__internal_compile_6 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["subpartition_expr"] ?? null) : null), "html", null, true); echo "\">) </td> </tr> <tr class=\"align-middle\"> <td><label for=\"subpartition_count\">"; echo _gettext("Subpartitions:"); // line 65 echo "</label></td> <td colspan=\"2\"> <input name=\"subpartition_count\" type=\"number\" min=\"2\" value=\""; // line 68 (((($__internal_compile_7 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["subpartition_count"] ?? null) : null)) ? (print (twig_escape_filter($this->env, (($__internal_compile_8 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["subpartition_count"] ?? null) : null), "html", null, true))) : (print (""))); echo "\"> </td> </tr> "; } // line 72 echo "</table> "; // line 73 if (((($__internal_compile_9 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["partition_count"] ?? null) : null) > 1)) { // line 74 echo " <table class=\"table align-middle\" id=\"partition_definition_table\"> <thead><tr> <th>"; echo _gettext("Partition"); // line 76 echo "</th> "; // line 77 if ((($__internal_compile_10 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["value_enabled"] ?? null) : null)) { // line 78 echo " <th>"; echo _gettext("Values"); echo "</th> "; } // line 80 echo " "; if (((($__internal_compile_11 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["can_have_subpartitions"] ?? null) : null) && ((($__internal_compile_12 = // line 81 ($context["partition_details"] ?? null)) && is_array($__internal_compile_12) || $__internal_compile_12 instanceof ArrayAccess ? ($__internal_compile_12["subpartition_count"] ?? null) : null) > 1))) { // line 82 echo " <th>"; echo _gettext("Subpartition"); echo "</th> "; } // line 84 echo " <th>"; echo _gettext("Engine"); echo "</th> <th>"; echo _gettext("Comment"); // line 85 echo "</th> <th>"; echo _gettext("Data directory"); // line 86 echo "</th> <th>"; echo _gettext("Index directory"); // line 87 echo "</th> <th>"; echo _gettext("Max rows"); // line 88 echo "</th> <th>"; echo _gettext("Min rows"); // line 89 echo "</th> <th>"; echo _gettext("Table space"); // line 90 echo "</th> <th>"; echo _gettext("Node group"); // line 91 echo "</th> </tr></thead> "; // line 93 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((($__internal_compile_13 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_13) || $__internal_compile_13 instanceof ArrayAccess ? ($__internal_compile_13["partitions"] ?? null) : null)); foreach ($context['_seq'] as $context["_key"] => $context["partition"]) { // line 94 echo " "; $context["rowspan"] = (( !twig_test_empty((($__internal_compile_14 = $context["partition"]) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14["subpartition_count"] ?? null) : null))) ? (((($__internal_compile_15 = // line 95 $context["partition"]) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15["subpartition_count"] ?? null) : null) + 1)) : (2)); // line 96 echo " <tr> <td rowspan=\""; // line 97 echo twig_escape_filter($this->env, ($context["rowspan"] ?? null), "html", null, true); echo "\"> <input type=\"text\" name=\""; // line 98 echo twig_escape_filter($this->env, (($__internal_compile_16 = $context["partition"]) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16["prefix"] ?? null) : null), "html", null, true); echo "[name]\" value=\""; // line 99 echo twig_escape_filter($this->env, (($__internal_compile_17 = $context["partition"]) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17["name"] ?? null) : null), "html", null, true); echo "\"> </td> "; // line 101 if ((($__internal_compile_18 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_18) || $__internal_compile_18 instanceof ArrayAccess ? ($__internal_compile_18["value_enabled"] ?? null) : null)) { // line 102 echo " <td rowspan=\""; echo twig_escape_filter($this->env, ($context["rowspan"] ?? null), "html", null, true); echo "\" class=\"align-middle\"> <select class=\"partition_value\" name=\""; // line 104 echo twig_escape_filter($this->env, (($__internal_compile_19 = $context["partition"]) && is_array($__internal_compile_19) || $__internal_compile_19 instanceof ArrayAccess ? ($__internal_compile_19["prefix"] ?? null) : null), "html", null, true); echo "[value_type]\"> "; // line 105 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["value_type_options"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 106 echo " <option value=\""; echo twig_escape_filter($this->env, $context["option"], "html", null, true); echo "\""; // line 107 if (((($__internal_compile_20 = $context["partition"]) && is_array($__internal_compile_20) || $__internal_compile_20 instanceof ArrayAccess ? ($__internal_compile_20["value_type"] ?? null) : null) == $context["option"])) { // line 108 echo " selected=\"selected\""; } // line 109 echo "> "; // line 110 echo twig_escape_filter($this->env, $context["option"], "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 113 echo " </select> <input type=\"text\" class=\"partition_value\" name=\""; // line 115 echo twig_escape_filter($this->env, (($__internal_compile_21 = $context["partition"]) && is_array($__internal_compile_21) || $__internal_compile_21 instanceof ArrayAccess ? ($__internal_compile_21["prefix"] ?? null) : null), "html", null, true); echo "[value]\" value=\""; // line 116 echo twig_escape_filter($this->env, (($__internal_compile_22 = $context["partition"]) && is_array($__internal_compile_22) || $__internal_compile_22 instanceof ArrayAccess ? ($__internal_compile_22["value"] ?? null) : null), "html", null, true); echo "\"> </td> "; } // line 119 echo " </tr> "; // line 121 if (twig_get_attribute($this->env, $this->source, $context["partition"], "subpartitions", [], "array", true, true, false, 121)) { // line 122 echo " "; $context["subpartitions"] = (($__internal_compile_23 = $context["partition"]) && is_array($__internal_compile_23) || $__internal_compile_23 instanceof ArrayAccess ? ($__internal_compile_23["subpartitions"] ?? null) : null); // line 123 echo " "; } else { // line 124 echo " "; $context["subpartitions"] = [0 => $context["partition"]]; // line 125 echo " "; } // line 126 echo " "; // line 127 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["subpartitions"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["subpartition"]) { // line 128 echo " <tr> "; // line 129 if (((($__internal_compile_24 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_24) || $__internal_compile_24 instanceof ArrayAccess ? ($__internal_compile_24["can_have_subpartitions"] ?? null) : null) && ((($__internal_compile_25 = // line 130 ($context["partition_details"] ?? null)) && is_array($__internal_compile_25) || $__internal_compile_25 instanceof ArrayAccess ? ($__internal_compile_25["subpartition_count"] ?? null) : null) > 1))) { // line 131 echo " <td> <input type=\"text\" name=\""; // line 132 echo twig_escape_filter($this->env, (($__internal_compile_26 = $context["subpartition"]) && is_array($__internal_compile_26) || $__internal_compile_26 instanceof ArrayAccess ? ($__internal_compile_26["prefix"] ?? null) : null), "html", null, true); echo "[name]\" value=\""; // line 133 echo twig_escape_filter($this->env, (($__internal_compile_27 = $context["subpartition"]) && is_array($__internal_compile_27) || $__internal_compile_27 instanceof ArrayAccess ? ($__internal_compile_27["name"] ?? null) : null), "html", null, true); echo "\"> </td> "; } // line 136 echo " <td> <select name=\""; // line 137 echo twig_escape_filter($this->env, (($__internal_compile_28 = $context["subpartition"]) && is_array($__internal_compile_28) || $__internal_compile_28 instanceof ArrayAccess ? ($__internal_compile_28["prefix"] ?? null) : null), "html", null, true); echo "[engine]\" aria-label=\""; echo _gettext("Storage engine"); echo "\"> <option value=\"\"></option> "; // line 139 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["storage_engines"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["engine"]) { // line 140 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 140), "html", null, true); echo "\""; if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 140))) { echo " title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 140), "html", null, true); echo "\""; } // line 141 echo (((twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 141)) == twig_lower_filter($this->env, (($__internal_compile_29 = $context["subpartition"]) && is_array($__internal_compile_29) || $__internal_compile_29 instanceof ArrayAccess ? ($__internal_compile_29["engine"] ?? null) : null)))) ? (" selected") : ("")); echo ">"; // line 142 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 142), "html", null, true); // line 143 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['engine'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 145 echo " </select> </td> <td> <textarea name=\""; // line 148 echo twig_escape_filter($this->env, (($__internal_compile_30 = $context["subpartition"]) && is_array($__internal_compile_30) || $__internal_compile_30 instanceof ArrayAccess ? ($__internal_compile_30["prefix"] ?? null) : null), "html", null, true); echo "[comment]\">"; // line 149 echo twig_escape_filter($this->env, (($__internal_compile_31 = $context["subpartition"]) && is_array($__internal_compile_31) || $__internal_compile_31 instanceof ArrayAccess ? ($__internal_compile_31["comment"] ?? null) : null), "html", null, true); // line 150 echo "</textarea> </td> <td> <input type=\"text\" name=\""; // line 153 echo twig_escape_filter($this->env, (($__internal_compile_32 = $context["subpartition"]) && is_array($__internal_compile_32) || $__internal_compile_32 instanceof ArrayAccess ? ($__internal_compile_32["prefix"] ?? null) : null), "html", null, true); echo "[data_directory]\" value=\""; // line 154 echo twig_escape_filter($this->env, (($__internal_compile_33 = $context["subpartition"]) && is_array($__internal_compile_33) || $__internal_compile_33 instanceof ArrayAccess ? ($__internal_compile_33["data_directory"] ?? null) : null), "html", null, true); echo "\"> </td> <td> <input type=\"text\" name=\""; // line 157 echo twig_escape_filter($this->env, (($__internal_compile_34 = $context["subpartition"]) && is_array($__internal_compile_34) || $__internal_compile_34 instanceof ArrayAccess ? ($__internal_compile_34["prefix"] ?? null) : null), "html", null, true); echo "[index_directory]\" value=\""; // line 158 echo twig_escape_filter($this->env, (($__internal_compile_35 = $context["subpartition"]) && is_array($__internal_compile_35) || $__internal_compile_35 instanceof ArrayAccess ? ($__internal_compile_35["index_directory"] ?? null) : null), "html", null, true); echo "\"> </td> <td> <input type=\"number\" name=\""; // line 161 echo twig_escape_filter($this->env, (($__internal_compile_36 = $context["subpartition"]) && is_array($__internal_compile_36) || $__internal_compile_36 instanceof ArrayAccess ? ($__internal_compile_36["prefix"] ?? null) : null), "html", null, true); echo "[max_rows]\" value=\""; // line 162 echo twig_escape_filter($this->env, (($__internal_compile_37 = $context["subpartition"]) && is_array($__internal_compile_37) || $__internal_compile_37 instanceof ArrayAccess ? ($__internal_compile_37["max_rows"] ?? null) : null), "html", null, true); echo "\"> </td> <td> <input type=\"number\" min=\"0\" name=\""; // line 165 echo twig_escape_filter($this->env, (($__internal_compile_38 = $context["subpartition"]) && is_array($__internal_compile_38) || $__internal_compile_38 instanceof ArrayAccess ? ($__internal_compile_38["prefix"] ?? null) : null), "html", null, true); echo "[min_rows]\" value=\""; // line 166 echo twig_escape_filter($this->env, (($__internal_compile_39 = $context["subpartition"]) && is_array($__internal_compile_39) || $__internal_compile_39 instanceof ArrayAccess ? ($__internal_compile_39["min_rows"] ?? null) : null), "html", null, true); echo "\"> </td> <td> <input type=\"text\" min=\"0\" name=\""; // line 169 echo twig_escape_filter($this->env, (($__internal_compile_40 = $context["subpartition"]) && is_array($__internal_compile_40) || $__internal_compile_40 instanceof ArrayAccess ? ($__internal_compile_40["prefix"] ?? null) : null), "html", null, true); echo "[tablespace]\" value=\""; // line 170 echo twig_escape_filter($this->env, (($__internal_compile_41 = $context["subpartition"]) && is_array($__internal_compile_41) || $__internal_compile_41 instanceof ArrayAccess ? ($__internal_compile_41["tablespace"] ?? null) : null), "html", null, true); echo "\"> </td> <td> <input type=\"text\" name=\""; // line 173 echo twig_escape_filter($this->env, (($__internal_compile_42 = $context["subpartition"]) && is_array($__internal_compile_42) || $__internal_compile_42 instanceof ArrayAccess ? ($__internal_compile_42["prefix"] ?? null) : null), "html", null, true); echo "[node_group]\" value=\""; // line 174 echo twig_escape_filter($this->env, (($__internal_compile_43 = $context["subpartition"]) && is_array($__internal_compile_43) || $__internal_compile_43 instanceof ArrayAccess ? ($__internal_compile_43["node_group"] ?? null) : null), "html", null, true); echo "\"> </td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subpartition'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 178 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['partition'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 179 echo " </table> "; } } public function getTemplateName() { return "columns_definitions/partitions.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 478 => 179, 472 => 178, 462 => 174, 458 => 173, 452 => 170, 448 => 169, 442 => 166, 438 => 165, 432 => 162, 428 => 161, 422 => 158, 418 => 157, 412 => 154, 408 => 153, 403 => 150, 401 => 149, 398 => 148, 393 => 145, 386 => 143, 384 => 142, 381 => 141, 372 => 140, 368 => 139, 361 => 137, 358 => 136, 352 => 133, 348 => 132, 345 => 131, 343 => 130, 342 => 129, 339 => 128, 335 => 127, 332 => 126, 329 => 125, 326 => 124, 323 => 123, 320 => 122, 318 => 121, 314 => 119, 308 => 116, 304 => 115, 300 => 113, 291 => 110, 288 => 109, 285 => 108, 283 => 107, 279 => 106, 275 => 105, 271 => 104, 265 => 102, 263 => 101, 258 => 99, 254 => 98, 250 => 97, 247 => 96, 245 => 95, 243 => 94, 239 => 93, 235 => 91, 231 => 90, 227 => 89, 223 => 88, 219 => 87, 215 => 86, 211 => 85, 205 => 84, 199 => 82, 197 => 81, 195 => 80, 189 => 78, 187 => 77, 184 => 76, 179 => 74, 177 => 73, 174 => 72, 167 => 68, 162 => 65, 154 => 61, 151 => 60, 144 => 56, 135 => 53, 132 => 52, 129 => 51, 127 => 50, 123 => 49, 119 => 48, 114 => 45, 110 => 44, 108 => 43, 102 => 40, 97 => 37, 89 => 33, 86 => 32, 79 => 28, 70 => 25, 67 => 24, 64 => 23, 62 => 22, 58 => 21, 54 => 20, 49 => 17, 43 => 14, 41 => 13, 39 => 12, 37 => 1,); } public function getSourceContext() { return new Source("", "columns_definitions/partitions.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/columns_definitions/partitions.twig"); } } twig/94/94bcef80759cbeb52df9f00f3e793bdd.php 0000644 00000017403 15114741573 0013400 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* menu/breadcrumbs.twig */ class __TwigTemplate_dc55ab79ae3492675a8b93909dd74492 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 echo "<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 echo ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (PhpMyAdmin\Html\Generator::getImage("s_host")) : ("")); echo " <a href=\""; // line 6 echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["server"] ?? null), "url", [], "any", false, false, false, 6)); echo "\" data-raw-text=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["server"] ?? null), "name", [], "any", false, false, false, 6), "html", null, true); echo "\" draggable=\"false\"> "; // line 7 if (PhpMyAdmin\Util::showText("TabsMode")) { echo _gettext("Server:"); } // line 8 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["server"] ?? null), "name", [], "any", false, false, false, 8), "html", null, true); echo " </a> </li> "; // line 12 if ( !twig_test_empty(($context["database"] ?? null))) { // line 13 echo " <li class=\"breadcrumb-item\"> "; // line 14 echo ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (PhpMyAdmin\Html\Generator::getImage("s_db")) : ("")); echo " <a href=\""; // line 15 echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "url", [], "any", false, false, false, 15), ["db" => twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 15)]); echo "\" data-raw-text=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 15), "html", null, true); echo "\" draggable=\"false\"> "; // line 16 if (PhpMyAdmin\Util::showText("TabsMode")) { echo _gettext("Database:"); } // line 17 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 17), "html", null, true); echo " </a> </li> "; // line 21 if ( !twig_test_empty(($context["table"] ?? null))) { // line 22 echo " <li class=\"breadcrumb-item\"> "; // line 23 echo ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (PhpMyAdmin\Html\Generator::getImage(((twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "is_view", [], "any", false, false, false, 23)) ? ("b_views") : ("s_tbl")))) : ("")); echo " <a href=\""; // line 24 echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "url", [], "any", false, false, false, 24), ["db" => twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 24), "table" => twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 24)]); echo "\" data-raw-text=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 24), "html", null, true); echo "\" draggable=\"false\"> "; // line 25 if (PhpMyAdmin\Util::showText("TabsMode")) { // line 26 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "is_view", [], "any", false, false, false, 26)) { // line 27 echo " "; echo _gettext("View:"); // line 28 echo " "; } else { // line 29 echo " "; echo _gettext("Table:"); // line 30 echo " "; } // line 31 echo " "; } // line 32 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 32), "html", null, true); echo " </a> </li> "; // line 36 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "comment", [], "any", false, false, false, 36))) { // line 37 echo " <span class=\"breadcrumb-comment\" draggable=\"false\">“"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "comment", [], "any", false, false, false, 37), "html", null, true); echo "”</span> "; } // line 39 echo " "; } elseif ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "comment", [], "any", false, false, false, 39))) { // line 40 echo " <span class=\"breadcrumb-comment\" draggable=\"false\">“"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "comment", [], "any", false, false, false, 40), "html", null, true); echo "”</span> "; } // line 42 echo " "; } // line 43 echo " </ol> </nav> "; } public function getTemplateName() { return "menu/breadcrumbs.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 155 => 43, 152 => 42, 146 => 40, 143 => 39, 137 => 37, 135 => 36, 127 => 32, 124 => 31, 121 => 30, 118 => 29, 115 => 28, 112 => 27, 109 => 26, 107 => 25, 101 => 24, 97 => 23, 94 => 22, 92 => 21, 84 => 17, 80 => 16, 74 => 15, 70 => 14, 67 => 13, 65 => 12, 57 => 8, 53 => 7, 47 => 6, 43 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "menu/breadcrumbs.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/menu/breadcrumbs.twig"); } } twig/94/944d42fa89e537ddf9f52c6a4475f999.php 0000644 00000024561 15114741573 0013054 0 ustar 00 <?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_85a16a40fe8725dcb2b936abea1a9406 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> <a href=\""; // line 29 yield PhpMyAdmin\Html\MySQLDocumentation::getDocumentationLink("index"); yield "\" title=\""; yield _gettext("phpMyAdmin documentation"); yield "\" target=\"_blank\" rel=\"noopener noreferrer\">"; // line 30 yield PhpMyAdmin\Html\Generator::getImage("b_docs", _gettext("phpMyAdmin documentation")); // line 31 yield "</a> <a href=\""; // line 33 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 34 yield PhpMyAdmin\Html\Generator::getImage("b_sqlhelp", ((($context["is_mariadb"] ?? null)) ? (_gettext("MariaDB Documentation")) : (_gettext("MySQL Documentation")))); // line 35 yield "</a> <a id=\"pma_navigation_settings_icon\""; // line 37 yield (( !($context["is_navigation_settings_enabled"] ?? null)) ? (" class=\"hide\"") : ("")); yield " href=\"#\" title=\""; yield _gettext("Navigation panel settings"); yield "\">"; // line 38 yield PhpMyAdmin\Html\Generator::getImage("s_cog", _gettext("Navigation panel settings")); // line 39 yield "</a> <a id=\"pma_navigation_reload\" href=\"#\" title=\""; yield _gettext("Reload navigation panel"); // line 41 yield "\">"; // line 42 yield PhpMyAdmin\Html\Generator::getImage("s_reload", _gettext("Reload navigation panel")); // line 43 yield "</a> </div> "; // line 46 if ((($context["is_servers_displayed"] ?? null) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["servers"] ?? null)) > 1))) { // line 47 yield " <div id=\"serverChoice\"> "; // line 48 yield ($context["server_select"] ?? null); yield " </div> "; } // line 51 yield " "; // line 52 yield PhpMyAdmin\Html\Generator::getImage("ajax_clock_small", _gettext("Loading…"), ["style" => "visibility: hidden; display:none", "class" => "throbber"]); // line 55 yield " </div> <div id=\"pma_navigation_tree\" class=\"list_container"; // line 57 yield ((($context["is_synced"] ?? null)) ? (" synced") : ("")); yield ((($context["is_highlighted"] ?? null)) ? (" highlight") : ("")); yield ((($context["is_autoexpanded"] ?? null)) ? (" autoexpand") : ("")); yield "\"> "; } // line 59 yield " "; // line 60 if ( !($context["navigation_tree"] ?? null)) { // line 61 yield " "; yield $this->env->getFilter('error')->getCallable()(_gettext("An error has occurred while loading the navigation display")); yield " "; } else { // line 63 yield " "; yield ($context["navigation_tree"] ?? null); yield " "; } // line 65 yield " "; // line 66 if ( !($context["is_ajax"] ?? null)) { // line 67 yield " </div> <div id=\"pma_navi_settings_container\"> "; // line 70 if (($context["is_navigation_settings_enabled"] ?? null)) { // line 71 yield " "; yield ($context["navigation_settings"] ?? null); yield " "; } // line 73 yield " </div> </div> "; // line 76 if (($context["is_drag_drop_import_enabled"] ?? null)) { // line 77 yield " <div class=\"pma_drop_handler\"> "; yield _gettext("Drop files here"); // line 79 yield " </div> <div class=\"pma_sql_import_status\"> <h2> "; yield _gettext("SQL upload"); // line 83 yield " ( <span class=\"pma_import_count\">0</span> ) <span class=\"close\">x</span> <span class=\"minimize\">-</span> </h2> <div></div> </div> "; } // line 90 yield " </div> "; // line 91 yield Twig\Extension\CoreExtension::include($this->env, $context, "modals/unhide_nav_item.twig"); yield " "; // line 92 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 ( 242 => 92, 238 => 91, 235 => 90, 226 => 83, 220 => 79, 216 => 77, 214 => 76, 209 => 73, 203 => 71, 201 => 70, 196 => 67, 194 => 66, 191 => 65, 185 => 63, 179 => 61, 177 => 60, 174 => 59, 167 => 57, 163 => 55, 161 => 52, 158 => 51, 152 => 48, 149 => 47, 147 => 46, 142 => 43, 140 => 42, 138 => 41, 133 => 39, 131 => 38, 126 => 37, 122 => 35, 120 => 34, 115 => 33, 111 => 31, 109 => 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/main.twig"); } } twig/00/00f20bf6a807e4ab652ca0dc0e174493.php 0000644 00000007077 15114741573 0013023 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* modals/index_dialog_modal.twig */ class __TwigTemplate_b7c71d45e736afc41b33e69c5af1baea 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 echo "<div class=\"modal fade\" id=\"indexDialogModal\" tabindex=\"-1\" aria-labelledby=\"indexDialogModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"indexDialogModalLabel\">"; echo _gettext("Loading"); // line 5 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 6 echo "\"></button> </div> <div class=\"modal-body\"></div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-primary\" id=\"indexDialogModalGoButton\">"; echo _gettext("Go"); // line 10 echo "</button> <button type=\"button\" class=\"btn btn-secondary\" data-bs-target=\"#indexDialogPreviewModal\" data-bs-toggle=\"modal\">"; echo _gettext("Preview SQL"); // line 11 echo "</button> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 12 echo "</button> </div> </div> </div> </div> <div class=\"modal fade\" id=\"indexDialogPreviewModal\" aria-hidden=\"true\" aria-labelledby=\"indexDialogPreviewModalLabel\" tabindex=\"-1\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"indexDialogPreviewModalLabel\">"; echo _gettext("Preview SQL"); // line 21 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 22 echo "\"></button> </div> <div class=\"modal-body\"> <div class=\"spinner-border\" role=\"status\"> <span class=\"visually-hidden\">"; echo _gettext("Loading…"); // line 26 echo "</span> </div> </div> <div class=\"modal-footer\"> <button class=\"btn btn-primary\" data-bs-target=\"#indexDialogModal\" data-bs-toggle=\"modal\">"; echo _gettext("Go back"); // line 30 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "modals/index_dialog_modal.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 93 => 30, 86 => 26, 79 => 22, 75 => 21, 63 => 12, 59 => 11, 55 => 10, 48 => 6, 44 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "modals/index_dialog_modal.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/index_dialog_modal.twig"); } } twig/00/00bbd1ea99e2b561e82797eabb432002.php 0000644 00000051711 15114741573 0013023 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* sql/query.twig */ class __TwigTemplate_2f3c79ad06e4065c4e6671b1db310a43 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 echo "<form method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/import"); echo "\" class=\"ajax lock-page\" id=\"sqlqueryform\" name=\"sqlform\""; // line 2 echo ((($context["is_upload"] ?? null)) ? (" enctype=\"multipart/form-data\"") : ("")); echo "> "; // line 3 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"is_js_confirmed\" value=\"0\"> <input type=\"hidden\" name=\"pos\" value=\"0\"> <input type=\"hidden\" name=\"goto\" value=\""; // line 6 echo twig_escape_filter($this->env, ($context["goto"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" name=\"message_to_show\" value=\""; echo _gettext("Your SQL query has been executed successfully."); // line 7 echo "\"> <input type=\"hidden\" name=\"prev_sql_query\" value=\""; // line 8 echo twig_escape_filter($this->env, ($context["query"] ?? null), "html", null, true); echo "\"> "; // line 10 if (((($context["display_tab"] ?? null) == "full") || (($context["display_tab"] ?? null) == "sql"))) { // line 11 echo " <a id=\"querybox\"></a> <div class=\"card mb-3\"> <div class=\"card-header\">"; // line 14 echo ($context["legend"] ?? null); echo "</div> <div class=\"card-body\"> <div id=\"queryfieldscontainer\"> <div class=\"row\"> <div class=\"col\"> <div class=\"mb-3\"> <textarea class=\"form-control\" tabindex=\"100\" name=\"sql_query\" id=\"sqlquery\" cols=\""; // line 20 echo twig_escape_filter($this->env, ($context["textarea_cols"] ?? null), "html", null, true); echo "\" rows=\""; echo twig_escape_filter($this->env, ($context["textarea_rows"] ?? null), "html", null, true); echo "\" data-textarea-auto-select=\""; echo ((($context["textarea_auto_select"] ?? null)) ? ("true") : ("false")); echo "\" aria-label=\""; echo _gettext("SQL query"); echo "\">"; // line 21 echo twig_escape_filter($this->env, ($context["query"] ?? null), "html", null, true); // line 22 echo "</textarea> </div> <div id=\"querymessage\"></div> <div class=\"btn-toolbar\" role=\"toolbar\"> "; // line 27 if ( !twig_test_empty(($context["columns_list"] ?? null))) { // line 28 echo " <div class=\"btn-group me-2\" role=\"group\"> <input type=\"button\" value=\"SELECT *\" id=\"selectall\" class=\"btn btn-secondary button sqlbutton\"> <input type=\"button\" value=\"SELECT\" id=\"select\" class=\"btn btn-secondary button sqlbutton\"> <input type=\"button\" value=\"INSERT\" id=\"insert\" class=\"btn btn-secondary button sqlbutton\"> <input type=\"button\" value=\"UPDATE\" id=\"update\" class=\"btn btn-secondary button sqlbutton\"> <input type=\"button\" value=\"DELETE\" id=\"delete\" class=\"btn btn-secondary button sqlbutton\"> </div> "; } // line 36 echo " <div class=\"btn-group me-2\" role=\"group\"> <input type=\"button\" value=\""; echo _gettext("Clear"); // line 38 echo "\" id=\"clear\" class=\"btn btn-secondary button sqlbutton\"> "; // line 39 if (($context["codemirror_enable"] ?? null)) { // line 40 echo " <input type=\"button\" value=\""; echo _gettext("Format"); echo "\" id=\"format\" class=\"btn btn-secondary button sqlbutton\"> "; } // line 42 echo " </div> <input type=\"button\" value=\""; echo _gettext("Get auto-saved query"); // line 44 echo "\" id=\"saved\" class=\"btn btn-secondary button sqlbutton\"> </div> <div class=\"my-3\"> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"parameterized\" id=\"parameterized\"> <label class=\"form-check-label\" for=\"parameterized\"> "; // l10n: Bind parameters in the SQL query using :parameterName format echo _gettext("Bind parameters"); // line 52 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-40"); echo " </label> </div> </div> <div class=\"mb-3\" id=\"parametersDiv\"></div> </div> "; // line 59 if ( !twig_test_empty(($context["columns_list"] ?? null))) { // line 60 echo " <div class=\"col-xl-2 col-lg-3\"> <div class=\"mb-3\"> <label class=\"visually-hidden\" for=\"fieldsSelect\">"; echo _gettext("Columns"); // line 62 echo "</label> <select class=\"form-select resize-vertical\" id=\"fieldsSelect\" name=\"dummy\" size=\""; // line 63 echo twig_escape_filter($this->env, ($context["textarea_rows"] ?? null), "html", null, true); echo "\" ondblclick=\"Functions.insertValueQuery()\" multiple> "; // line 64 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["columns_list"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["field"]) { // line 65 echo " <option value=\""; echo twig_escape_filter($this->env, PhpMyAdmin\Util::backquote((($__internal_compile_0 = $context["field"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["Field"] ?? null) : null)), "html", null, true); echo "\""; // line 66 (((( !(null === (($__internal_compile_1 = $context["field"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["Field"] ?? null) : null)) && !(null === (($__internal_compile_2 = $context["field"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["Comment"] ?? null) : null))) && (twig_length_filter($this->env, (($__internal_compile_3 = $context["field"]) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["Field"] ?? null) : null)) > 0))) ? (print (twig_escape_filter($this->env, ((" title=\"" . (($__internal_compile_4 = $context["field"]) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["Comment"] ?? null) : null)) . "\""), "html", null, true))) : (print (""))); echo "> "; // line 67 echo twig_escape_filter($this->env, (($__internal_compile_5 = $context["field"]) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["Field"] ?? null) : null), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 70 echo " </select> </div> <input type=\"button\" class=\"btn btn-secondary button\" id=\"insertBtn\" name=\"insert\" value=\""; // line 74 if (PhpMyAdmin\Util::showIcons("ActionLinksMode")) { echo "<<"; echo "\" title=\""; } echo _gettext("Insert"); // line 75 echo "\"> </div> "; } // line 78 echo " </div> </div> "; // line 81 if (($context["has_bookmark"] ?? null)) { // line 82 echo " <div class=\"row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-6\"> <label class=\"form-label\" for=\"bkm_label\">"; echo _gettext("Bookmark this SQL query:"); // line 84 echo "</label> </div> <div class=\"col-6\"> <input class=\"form-control\" type=\"text\" name=\"bkm_label\" id=\"bkm_label\" tabindex=\"110\" value=\"\"> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"bkm_all_users\" tabindex=\"111\" id=\"id_bkm_all_users\" value=\"true\"> <label class=\"form-check-label\" for=\"id_bkm_all_users\">"; echo _gettext("Let every user access this bookmark"); // line 93 echo "</label> </div> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"bkm_replace\" tabindex=\"112\" id=\"id_bkm_replace\" value=\"true\"> <label class=\"form-check-label\" for=\"id_bkm_replace\">"; echo _gettext("Replace existing bookmark of same name"); // line 100 echo "</label> </div> </div> </div> "; } // line 105 echo " </div> <div class=\"card-footer\"> <div class=\"row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-12\"> <div class=\"input-group me-2\"> <span class=\"input-group-text\">"; echo _gettext("Delimiter"); // line 110 echo "</span> <label class=\"visually-hidden\" for=\"id_sql_delimiter\">"; echo _gettext("Delimiter"); // line 111 echo "</label> <input class=\"form-control\" type=\"text\" name=\"sql_delimiter\" tabindex=\"131\" size=\"3\" value=\""; // line 112 echo twig_escape_filter($this->env, ($context["delimiter"] ?? null), "html", null, true); echo "\" id=\"id_sql_delimiter\"> </div> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"show_query\" value=\"1\" id=\"checkbox_show_query\" tabindex=\"132\"> <label class=\"form-check-label\" for=\"checkbox_show_query\">"; echo _gettext("Show this query here again"); // line 119 echo "</label> </div> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"retain_query_box\" value=\"1\" id=\"retain_query_box\" tabindex=\"133\""; // line 126 echo ((($context["retain_query_box"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"retain_query_box\">"; echo _gettext("Retain query box"); // line 127 echo "</label> </div> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"rollback_query\" value=\"1\" id=\"rollback_query\" tabindex=\"134\"> <label class=\"form-check-label\" for=\"rollback_query\">"; echo _gettext("Rollback when finished"); // line 134 echo "</label> </div> </div> <div class=\"col-12\"> <div class=\"form-check\"> <input type=\"hidden\" name=\"fk_checks\" value=\"0\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"fk_checks\" id=\"fk_checks\" value=\"1\""; // line 141 echo ((($context["is_foreign_key_check"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"fk_checks\">"; echo _gettext("Enable foreign key checks"); // line 142 echo "</label> </div> </div> <div class=\"col-12\"> <input class=\"btn btn-primary ms-1\" type=\"submit\" id=\"button_submit_query\" name=\"SQL\" tabindex=\"200\" value=\""; echo _gettext("Go"); // line 147 echo "\"> </div> </div> </div> </div> "; } // line 153 echo " "; // line 154 if (((($context["display_tab"] ?? null) == "full") && !twig_test_empty(($context["bookmarks"] ?? null)))) { // line 155 echo " <div class=\"card mb-3\"> <div class=\"card-header\">"; echo _gettext("Bookmarked SQL query"); // line 156 echo "</div> <div class=\"card-body\"> <div class=\"row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-6\"> <label class=\"form-label\" for=\"id_bookmark\">"; echo _gettext("Bookmark:"); // line 160 echo "</label> </div> <div class=\"col-6\"> <select class=\"form-select\" name=\"id_bookmark\" id=\"id_bookmark\"> <option value=\"\"> </option> "; // line 165 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["bookmarks"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["bookmark"]) { // line 166 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["bookmark"], "id", [], "any", false, false, false, 166), "html", null, true); echo "\" data-varcount=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["bookmark"], "variable_count", [], "any", false, false, false, 166), "html", null, true); echo "\"> "; // line 167 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["bookmark"], "label", [], "any", false, false, false, 167), "html", null, true); echo " "; // line 168 if (twig_get_attribute($this->env, $this->source, $context["bookmark"], "is_shared", [], "any", false, false, false, 168)) { // line 169 echo " ("; echo _gettext("shared"); echo ") "; } // line 171 echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bookmark'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 173 echo " </select> </div> <div class=\"form-check form-check-inline col-12\"> <input class=\"form-check-input\" type=\"radio\" name=\"action_bookmark\" value=\"0\" id=\"radio_bookmark_exe\" checked> <label class=\"form-check-label\" for=\"radio_bookmark_exe\">"; echo _gettext("Submit"); // line 178 echo "</label> </div> <div class=\"form-check form-check-inline col-12\"> <input class=\"form-check-input\" type=\"radio\" name=\"action_bookmark\" value=\"1\" id=\"radio_bookmark_view\"> <label class=\"form-check-label\" for=\"radio_bookmark_view\">"; echo _gettext("View only"); // line 182 echo "</label> </div> <div class=\"form-check form-check-inline col-12\"> <input class=\"form-check-input\" type=\"radio\" name=\"action_bookmark\" value=\"2\" id=\"radio_bookmark_del\"> <label class=\"form-check-label\" for=\"radio_bookmark_del\">"; echo _gettext("Delete"); // line 186 echo "</label> </div> </div> <div class=\"hide\"> "; echo _gettext("Variables"); // line 192 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faqbookmark"); echo " <div class=\"row row-cols-auto\" id=\"bookmarkVariables\"></div> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-secondary\" type=\"submit\" name=\"SQL\" id=\"button_submit_bookmark\" value=\""; echo _gettext("Go"); // line 198 echo "\"> </div> </div> "; } // line 202 echo " "; // line 203 if (($context["can_convert_kanji"] ?? null)) { // line 204 echo " <div class=\"card mb-3\"> <div class=\"card-body\"> "; // line 206 $this->loadTemplate("encoding/kanji_encoding_form.twig", "sql/query.twig", 206)->display($context); // line 207 echo " </div> </div> "; } // line 210 echo "</form> <div id=\"sqlqueryresultsouter\"></div> <div class=\"modal fade\" id=\"simulateDmlModal\" tabindex=\"-1\" aria-labelledby=\"simulateDmlModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"simulateDmlModalLabel\">"; echo _gettext("Simulate query"); // line 218 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 219 echo "\"></button> </div> <div class=\"modal-body\"> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 224 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "sql/query.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 463 => 224, 455 => 219, 451 => 218, 440 => 210, 435 => 207, 433 => 206, 429 => 204, 427 => 203, 424 => 202, 418 => 198, 407 => 192, 399 => 186, 392 => 182, 385 => 178, 377 => 173, 370 => 171, 364 => 169, 362 => 168, 358 => 167, 351 => 166, 347 => 165, 340 => 160, 333 => 156, 329 => 155, 327 => 154, 324 => 153, 316 => 147, 308 => 142, 303 => 141, 294 => 134, 284 => 127, 279 => 126, 271 => 119, 260 => 112, 257 => 111, 253 => 110, 245 => 105, 238 => 100, 228 => 93, 216 => 84, 211 => 82, 209 => 81, 204 => 78, 199 => 75, 193 => 74, 188 => 70, 179 => 67, 175 => 66, 171 => 65, 167 => 64, 163 => 63, 160 => 62, 155 => 60, 153 => 59, 142 => 52, 131 => 44, 126 => 42, 120 => 40, 118 => 39, 115 => 38, 110 => 36, 100 => 28, 98 => 27, 91 => 22, 89 => 21, 80 => 20, 71 => 14, 66 => 11, 64 => 10, 59 => 8, 56 => 7, 51 => 6, 45 => 3, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "sql/query.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/sql/query.twig"); } } twig/00/00d06a6f764eacebb32340acd6e2ab3c.php 0000644 00000002761 15114741573 0013307 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* message.twig */ class __TwigTemplate_7c98b2c1af12adcea7766c06297af3b7 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 echo "<div class=\"alert alert-"; echo twig_escape_filter($this->env, ($context["context"] ?? null), "html", null, true); echo "\" role=\"alert\"> "; // line 2 echo ($context["message"] ?? null); echo " </div> "; } public function getTemplateName() { return "message.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "message.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/message.twig"); } } twig/00/00fa47ccb91648dc7ab100b753caa81b.php 0000644 00000004337 15114741573 0013155 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* select_all.twig */ class __TwigTemplate_6c7d644ddf3fc6e6960db2a01a127b36 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 echo "<img class=\"selectallarrow\" src=\""; echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath((("arrow_" . ($context["text_dir"] ?? null)) . ".png")), "html", null, true); echo "\" width=\"38\" height=\"22\" alt=\""; echo _gettext("With selected:"); // line 2 echo "\"> <input type=\"checkbox\" id=\""; // line 3 echo twig_escape_filter($this->env, ($context["form_name"] ?? null), "html", null, true); echo "_checkall\" class=\"checkall_box\" title=\""; echo _gettext("Check all"); // line 4 echo "\"> <label for=\""; // line 5 echo twig_escape_filter($this->env, ($context["form_name"] ?? null), "html", null, true); echo "_checkall\">"; echo _gettext("Check all"); echo "</label> <em class=\"with-selected\">"; echo _gettext("With selected:"); // line 6 echo "</em> "; } public function getTemplateName() { return "select_all.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 61 => 6, 54 => 5, 51 => 4, 46 => 3, 43 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "select_all.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/select_all.twig"); } } twig/c0/c045d81847781ea528e53f5adbc01be7.php 0000644 00000003473 15114741573 0013131 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/insert/get_html_for_insert_edit_form_header.twig */ class __TwigTemplate_6b965c234ea03d43250a2e015c7fb944 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 echo "<form id=\"insertForm\" class=\"lock-page"; echo (((($context["has_blob_field"] ?? null) && ($context["is_upload"] ?? null))) ? (" disableAjax") : ("")); echo "\" method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/table/replace"); echo "\" name=\"insertForm\""; echo ((($context["is_upload"] ?? null)) ? (" enctype=\"multipart/form-data\"") : ("")); echo ">"; } public function getTemplateName() { return "table/insert/get_html_for_insert_edit_form_header.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 37 => 1,); } public function getSourceContext() { return new Source("", "table/insert/get_html_for_insert_edit_form_header.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/get_html_for_insert_edit_form_header.twig"); } } twig/c0/c0e16cb5f73813ce366f5c69b1d5a20d.php 0000644 00000047013 15114741573 0013201 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* columns_definitions/column_definitions_form.twig */ class __TwigTemplate_6b4ffa3bec7eb4835644bb4d345c5039 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 echo "<form method=\"post\" action=\""; echo twig_escape_filter($this->env, ($context["action"] ?? null), "html", null, true); echo "\" class=\""; // line 2 echo (((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/create"))) ? ("create_table") : ("append_fields")); // line 3 echo "_form ajax lock-page\"> "; // line 4 echo PhpMyAdmin\Url::getHiddenInputs(($context["form_params"] ?? null)); echo " "; // line 6 echo " "; // line 7 echo " "; // line 8 echo " <input type=\"hidden\" name=\"primary_indexes\" value=\""; // line 9 (( !twig_test_empty(($context["primary_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["primary_indexes"] ?? null), "html", null, true))) : (print ("[]"))); echo "\"> <input type=\"hidden\" name=\"unique_indexes\" value=\""; // line 11 (( !twig_test_empty(($context["unique_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["unique_indexes"] ?? null), "html", null, true))) : (print ("[]"))); echo "\"> <input type=\"hidden\" name=\"indexes\" value=\""; // line 13 (( !twig_test_empty(($context["indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["indexes"] ?? null), "html", null, true))) : (print ("[]"))); echo "\"> <input type=\"hidden\" name=\"fulltext_indexes\" value=\""; // line 15 (( !twig_test_empty(($context["fulltext_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["fulltext_indexes"] ?? null), "html", null, true))) : (print ("[]"))); echo "\"> <input type=\"hidden\" name=\"spatial_indexes\" value=\""; // line 17 (( !twig_test_empty(($context["spatial_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["spatial_indexes"] ?? null), "html", null, true))) : (print ("[]"))); echo "\"> "; // line 19 if ((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/create"))) { // line 20 echo " <div id=\"table_name_col_no_outer\"> <table id=\"table_name_col_no\" class=\"table table-borderless tdblock\"> <tr class=\"align-middle float-start\"> <td>"; echo _gettext("Table name"); // line 23 echo ": <input type=\"text\" name=\"table\" size=\"40\" maxlength=\"64\" value=\""; // line 28 ((array_key_exists("table", $context)) ? (print (twig_escape_filter($this->env, ($context["table"] ?? null), "html", null, true))) : (print (""))); echo "\" class=\"textfield\" autofocus required> </td> <td> "; echo _gettext("Add"); // line 33 echo " <input type=\"number\" id=\"added_fields\" name=\"added_fields\" size=\"2\" value=\"1\" min=\"1\" onfocus=\"this.select()\"> "; echo _gettext("column(s)"); // line 41 echo " <input class=\"btn btn-secondary\" type=\"button\" name=\"submit_num_fields\" value=\""; echo _gettext("Go"); // line 43 echo "\"> </td> </tr> </table> </div> "; } // line 49 echo " "; if (twig_test_iterable(($context["content_cells"] ?? null))) { // line 50 echo " "; $this->loadTemplate("columns_definitions/table_fields_definitions.twig", "columns_definitions/column_definitions_form.twig", 50)->display(twig_to_array(["is_backup" => // line 51 ($context["is_backup"] ?? null), "fields_meta" => // line 52 ($context["fields_meta"] ?? null), "relation_parameters" => // line 53 ($context["relation_parameters"] ?? null), "content_cells" => // line 54 ($context["content_cells"] ?? null), "change_column" => // line 55 ($context["change_column"] ?? null), "is_virtual_columns_supported" => // line 56 ($context["is_virtual_columns_supported"] ?? null), "server_version" => // line 57 ($context["server_version"] ?? null), "browse_mime" => // line 58 ($context["browse_mime"] ?? null), "supports_stored_keyword" => // line 59 ($context["supports_stored_keyword"] ?? null), "max_rows" => // line 60 ($context["max_rows"] ?? null), "char_editing" => // line 61 ($context["char_editing"] ?? null), "attribute_types" => // line 62 ($context["attribute_types"] ?? null), "privs_available" => // line 63 ($context["privs_available"] ?? null), "max_length" => // line 64 ($context["max_length"] ?? null), "charsets" => // line 65 ($context["charsets"] ?? null)])); // line 67 echo " "; } // line 68 echo " "; if ((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/create"))) { // line 69 echo " <div class=\"responsivetable\"> <table class=\"table table-borderless w-auto align-middle mb-0\"> <tr class=\"align-top\"> <th>"; echo _gettext("Table comments:"); // line 72 echo "</th> <td width=\"25\"> </td> <th>"; echo _gettext("Collation:"); // line 74 echo "</th> <td width=\"25\"> </td> <th> "; echo _gettext("Storage Engine:"); // line 78 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("Storage_engines"); echo " </th> <td width=\"25\"> </td> <th id=\"storage-engine-connection\"> "; echo _gettext("Connection:"); // line 83 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("federated-create-connection"); echo " </th> </tr> <tr> <td> <input type=\"text\" name=\"comment\" size=\"40\" maxlength=\"60\" value=\""; // line 92 ((array_key_exists("comment", $context)) ? (print (twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true))) : (print (""))); echo "\" class=\"textfield\"> </td> <td width=\"25\"> </td> <td> <select lang=\"en\" dir=\"ltr\" name=\"tbl_collation\"> <option value=\"\"></option> "; // line 99 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 100 echo " <optgroup label=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 100), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 100), "html", null, true); echo "\"> "; // line 101 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 101)); foreach ($context['_seq'] as $context["_key"] => $context["collation"]) { // line 102 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 102), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "description", [], "any", false, false, false, 102), "html", null, true); echo "\""; // line 103 echo (((twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 103) == ($context["tbl_collation"] ?? null))) ? (" selected") : ("")); echo ">"; // line 104 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 104), "html", null, true); // line 105 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 107 echo " </optgroup> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 109 echo " </select> </td> <td width=\"25\"> </td> <td> <select class=\"form-select\" name=\"tbl_storage_engine\" aria-label=\""; echo _gettext("Storage engine"); // line 113 echo "\"> "; // line 114 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["storage_engines"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["engine"]) { // line 115 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 115), "html", null, true); echo "\""; if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 115))) { echo " title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 115), "html", null, true); echo "\""; } // line 116 echo ((((twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 116)) == twig_lower_filter($this->env, ($context["tbl_storage_engine"] ?? null))) || (twig_test_empty(($context["tbl_storage_engine"] ?? null)) && twig_get_attribute($this->env, $this->source, $context["engine"], "is_default", [], "any", false, false, false, 116)))) ? (" selected") : ("")); echo ">"; // line 117 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 117), "html", null, true); // line 118 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['engine'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 120 echo " </select> </td> <td width=\"25\"> </td> <td> <input type=\"text\" name=\"connection\" size=\"40\" value=\""; // line 127 ((array_key_exists("connection", $context)) ? (print (twig_escape_filter($this->env, ($context["connection"] ?? null), "html", null, true))) : (print (""))); echo "\" placeholder=\"scheme://user_name[:password]@host_name[:port_num]/db_name/tbl_name\" class=\"textfield\" required=\"required\"> </td> </tr> "; // line 133 if (($context["have_partitioning"] ?? null)) { // line 134 echo " <tr class=\"align-top\"> <th colspan=\"5\"> "; echo _gettext("PARTITION definition:"); // line 137 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("Partitioning"); echo " </th> </tr> <tr> <td colspan=\"5\"> "; // line 142 $this->loadTemplate("columns_definitions/partitions.twig", "columns_definitions/column_definitions_form.twig", 142)->display(twig_to_array(["partition_details" => // line 143 ($context["partition_details"] ?? null), "storage_engines" => // line 144 ($context["storage_engines"] ?? null)])); // line 146 echo " </td> </tr> "; } // line 149 echo " </table> </div> "; } // line 152 echo " <fieldset class=\"pma-fieldset tblFooters\"> "; // line 153 if (((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/add-field")) || (($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/structure/save")))) { // line 154 echo " <input type=\"checkbox\" name=\"online_transaction\" value=\"ONLINE_TRANSACTION_ENABLED\" />"; echo _pgettext("Online transaction part of the SQL DDL for InnoDB", "Online transaction"); echo PhpMyAdmin\Html\MySQLDocumentation::show("innodb-online-ddl"); echo " "; } // line 156 echo " <input class=\"btn btn-secondary preview_sql\" type=\"button\" value=\""; echo _gettext("Preview SQL"); // line 157 echo "\"> <input class=\"btn btn-primary\" type=\"submit\" name=\"do_save_data\" value=\""; echo _gettext("Save"); // line 160 echo "\"> </fieldset> <div id=\"properties_message\"></div> "; // line 163 if (($context["is_integers_length_restricted"] ?? null)) { // line 164 echo " <div class=\"alert alert-primary\" id=\"length_not_allowed\" role=\"alert\"> "; // line 165 echo PhpMyAdmin\Html\Generator::getImage("s_notice"); echo " "; echo _gettext("The column width of integer types is ignored in your MySQL version unless defining a TINYINT(1) column"); // line 167 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("", false, "https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-19.html"); echo " </div> "; } // line 170 echo "</form> <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\">"; echo _gettext("Loading"); // line 175 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 176 echo "\"></button> </div> <div class=\"modal-body\"> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"previewSQLCloseButton\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 181 echo "</button> </div> </div> </div> </div> "; // line 188 echo twig_include($this->env, $context, "modals/enum_set_editor.twig"); echo " "; } public function getTemplateName() { return "columns_definitions/column_definitions_form.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 394 => 188, 386 => 181, 378 => 176, 374 => 175, 366 => 170, 359 => 167, 354 => 165, 351 => 164, 349 => 163, 344 => 160, 338 => 157, 334 => 156, 327 => 154, 325 => 153, 322 => 152, 317 => 149, 312 => 146, 310 => 144, 309 => 143, 308 => 142, 299 => 137, 294 => 134, 292 => 133, 283 => 127, 274 => 120, 267 => 118, 265 => 117, 262 => 116, 253 => 115, 249 => 114, 246 => 113, 239 => 109, 232 => 107, 225 => 105, 223 => 104, 220 => 103, 214 => 102, 210 => 101, 203 => 100, 199 => 99, 189 => 92, 176 => 83, 167 => 78, 161 => 74, 156 => 72, 150 => 69, 147 => 68, 144 => 67, 142 => 65, 141 => 64, 140 => 63, 139 => 62, 138 => 61, 137 => 60, 136 => 59, 135 => 58, 134 => 57, 133 => 56, 132 => 55, 131 => 54, 130 => 53, 129 => 52, 128 => 51, 126 => 50, 123 => 49, 115 => 43, 110 => 41, 100 => 33, 92 => 28, 85 => 23, 79 => 20, 77 => 19, 72 => 17, 68 => 15, 64 => 13, 60 => 11, 56 => 9, 54 => 8, 52 => 7, 50 => 6, 46 => 4, 43 => 3, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "columns_definitions/column_definitions_form.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/columns_definitions/column_definitions_form.twig"); } } twig/81/81140482ee06f86edfeba2998d4f3481.php 0000644 00000005202 15114741573 0013006 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* sql/no_results_returned.twig */ class __TwigTemplate_69e8393f38f2c6083d7b1d8531346e89 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 echo ($context["message"] ?? null); echo " "; // line 3 echo ($context["sql_query_results_table"] ?? null); echo " "; // line 5 echo ($context["profiling_chart"] ?? null); echo " "; // line 7 if ( !($context["is_procedure"] ?? null)) { // line 8 echo " <fieldset class=\"pma-fieldset d-print-none\"> <legend>"; echo _gettext("Query results operations"); // line 9 echo "</legend> <span> "; // line 11 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/view/create"), ["db" => // line 13 ($context["db"] ?? null), "table" => ($context["table"] ?? null), "printview" => "1", "sql_query" => ($context["sql_query"] ?? null)], PhpMyAdmin\Html\Generator::getIcon("b_view_add", _gettext("Create view"), true), ["class" => "create_view ajax btn"]); // line 16 echo " </span> </fieldset> "; } // line 20 echo " "; // line 21 echo ($context["bookmark"] ?? null); echo " "; // line 23 echo twig_include($this->env, $context, "modals/create_view.twig"); echo " "; } public function getTemplateName() { return "sql/no_results_returned.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 79 => 23, 74 => 21, 71 => 20, 65 => 16, 63 => 13, 62 => 11, 58 => 9, 54 => 8, 52 => 7, 47 => 5, 42 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "sql/no_results_returned.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/sql/no_results_returned.twig"); } } twig/81/81ffaf4854223de5a14ae75047ec5b4f.php 0000644 00000037562 15114741573 0013145 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* config/form_display/input.twig */ class __TwigTemplate_760fa0822fc4f50a951c656edd37e39a 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 echo " "; $context["tr_class"] = (($context["tr_class"] ?? null) . " disabled-field"); } // line 4 echo "<tr"; if (($context["tr_class"] ?? null)) { echo " class=\""; echo twig_escape_filter($this->env, ($context["tr_class"] ?? null), "html", null, true); echo "\""; } echo "> <th> <label for=\""; // line 6 echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\">"; echo ($context["name"] ?? null); echo "</label> "; // line 8 if ( !twig_test_empty(($context["doc"] ?? null))) { // line 9 echo " <span class=\"doc\"> <a href=\""; // line 10 echo twig_escape_filter($this->env, ($context["doc"] ?? null), "html", null, true); echo "\" target=\"documentation\">"; echo PhpMyAdmin\Html\Generator::getImage("b_help", _gettext("Documentation")); echo "</a> </span> "; } // line 13 echo " "; // line 14 if (($context["option_is_disabled"] ?? null)) { // line 15 echo " <span class=\"disabled-notice\" title=\""; echo _gettext("This setting is disabled, it will not be applied to your configuration."); echo "\"> "; echo _gettext("Disabled"); // line 17 echo " </span> "; } // line 19 echo " "; // line 20 if ( !twig_test_empty(($context["description"] ?? null))) { // line 21 echo " <small>"; echo ($context["description"] ?? null); echo "</small> "; } // line 23 echo " </th> <td> "; // line 26 if ((($context["type"] ?? null) == "text")) { // line 27 echo " <input type=\"text\" name=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" id=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true); echo "\" class=\"w-75"; echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : ("")); echo "\"> "; } elseif (( // line 28 ($context["type"] ?? null) == "password")) { // line 29 echo " <input type=\"password\" name=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" id=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true); echo "\" class=\"w-75"; echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : ("")); echo "\" spellcheck=\"false\"> "; } elseif ((( // line 30 ($context["type"] ?? null) == "short_text") && !twig_test_iterable(($context["value"] ?? null)))) { // line 31 echo " "; // line 32 echo " <input type=\"text\" size=\"25\" name=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" id=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true); echo "\" class=\""; echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? ("custom field-error") : ("custom"))) : ("")); echo "\"> "; } elseif (( // line 33 ($context["type"] ?? null) == "number_text")) { // line 34 echo " <input type=\"number\" name=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" id=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true); echo "\" class=\""; echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? ("custom field-error") : ("custom"))) : ("")); echo "\"> "; } elseif (( // line 35 ($context["type"] ?? null) == "checkbox")) { // line 36 echo " <span class=\"checkbox"; echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : ("")); echo "\"> <input type=\"checkbox\" name=\""; // line 37 echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" id=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\""; echo ((($context["value"] ?? null)) ? (" checked") : ("")); echo "> </span> "; } elseif (( // line 39 ($context["type"] ?? null) == "select")) { // line 40 echo " <select name=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" id=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" class=\"w-75"; echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : ("")); echo "\"> "; // line 41 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["select_values"] ?? null)); foreach ($context['_seq'] as $context["key"] => $context["val"]) { // line 42 echo " "; if (($context["val"] === true)) { $context["val"] = _gettext("Yes"); } elseif (($context["val"] === false)) { $context["val"] = _gettext("No"); } // line 43 echo " <option value=\""; echo twig_escape_filter($this->env, $context["key"], "html", null, true); echo "\""; echo ((((($context["key"] === ($context["value"] ?? null)) || ((($context["value"] ?? null) === true) && ($context["key"] === 1))) || ((($context["value"] ?? null) === false) && ($context["key"] === 0)))) ? (" selected") : ("")); echo ((twig_in_filter($context["key"], ($context["select_values_disabled"] ?? null))) ? (" disabled") : ("")); echo ">"; echo twig_escape_filter($this->env, $context["val"], "html", null, true); echo "</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 echo " </select> "; } elseif (( // line 46 ($context["type"] ?? null) == "list")) { // line 47 echo " <textarea cols=\"35\" rows=\"5\" name=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" id=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" class=\""; echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? ("custom field-error") : ("custom"))) : ("")); echo "\">"; // line 48 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($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")) { echo twig_escape_filter($this->env, $context["val"], "html", null, true); echo (( !twig_get_attribute($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 echo "</textarea> "; } // line 51 echo " "; // line 52 if ((($context["is_setup"] ?? null) && ($context["comment"] ?? null))) { // line 53 echo " <a class=\"userprefs-comment\" title=\""; echo twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true); echo "\">"; echo PhpMyAdmin\Html\Generator::getImage("b_tblops", _gettext("Comment")); echo "</a> "; } // line 55 echo " "; // line 56 if (($context["set_value"] ?? null)) { // line 57 echo " <a class=\"set-value hide\" href=\"#"; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "="; echo twig_escape_filter($this->env, ($context["set_value"] ?? null), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_sprintf(_gettext("Set value: %s"), ($context["set_value"] ?? null)), "html", null, true); echo "\">"; // line 58 echo PhpMyAdmin\Html\Generator::getImage("b_edit", twig_sprintf(_gettext("Set value: %s"), ($context["set_value"] ?? null))); // line 59 echo "</a> "; } // line 61 echo " "; // line 62 if (($context["show_restore_default"] ?? null)) { // line 63 echo " <a class=\"restore-default hide\" href=\"#"; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" title=\""; echo _gettext("Restore default value"); echo "\">"; // line 64 echo PhpMyAdmin\Html\Generator::getImage("s_reload", _gettext("Restore default value")); // line 65 echo "</a> "; } // line 67 echo " "; // line 69 echo " "; if (($context["has_errors"] ?? null)) { // line 70 echo " <dl class=\"inline_errors\"> "; // line 71 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["errors"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["error"]) { // line 72 echo " <dd>"; echo $context["error"]; echo "</dd> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 74 echo " </dl> "; } // line 76 echo " </td> "; // line 78 if ((($context["is_setup"] ?? null) && !(null === ($context["allows_customization"] ?? null)))) { // line 79 echo " <td class=\"userprefs-allow\" title=\""; echo _gettext("Allow users to customize this value"); echo "\"> <input type=\"checkbox\" name=\""; // line 80 echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "-userprefs-allow\""; echo ((($context["allows_customization"] ?? null)) ? (" checked") : ("")); echo " aria-label=\""; echo _gettext("Allow users to customize this value"); echo "\"> </td> "; } elseif ( // line 82 ($context["is_setup"] ?? null)) { // line 83 echo " <td> </td> "; } // line 85 echo "</tr> "; } public function getTemplateName() { return "config/form_display/input.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 362 => 85, 358 => 83, 356 => 82, 347 => 80, 342 => 79, 340 => 78, 336 => 76, 332 => 74, 323 => 72, 319 => 71, 316 => 70, 313 => 69, 310 => 67, 306 => 65, 304 => 64, 298 => 63, 296 => 62, 293 => 61, 289 => 59, 287 => 58, 279 => 57, 277 => 56, 274 => 55, 266 => 53, 264 => 52, 261 => 51, 257 => 49, 223 => 48, 215 => 47, 213 => 46, 210 => 45, 196 => 43, 189 => 42, 185 => 41, 176 => 40, 174 => 39, 165 => 37, 160 => 36, 158 => 35, 147 => 34, 145 => 33, 134 => 32, 132 => 31, 130 => 30, 119 => 29, 117 => 28, 106 => 27, 104 => 26, 99 => 23, 93 => 21, 91 => 20, 88 => 19, 84 => 17, 78 => 15, 76 => 14, 73 => 13, 65 => 10, 62 => 9, 60 => 8, 53 => 6, 43 => 4, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "config/form_display/input.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/config/form_display/input.twig"); } } twig/81/81831ef6925577ad010cc639f83cf795.php 0000644 00000042063 15114741573 0012661 0 ustar 00 <?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_cd233b2faa23642da58d6aa43479e37a 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/node.twig"); } } twig/81/81e21cc0ce2e9ce209c49e6d09ed1371.php 0000644 00000055624 15114741573 0013141 0 ustar 00 <?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; /* table/structure/display_table_stats.twig */ class __TwigTemplate_85d90bc3991c430f0c1f83d5f51617b9 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=\"tablestatistics\"> <fieldset class=\"pma-fieldset\"> <legend>"; yield _gettext("Information"); // line 3 yield "</legend> "; // line 4 if ((($__internal_compile_0 = ($context["showtable"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["TABLE_COMMENT"] ?? null) : null)) { // line 5 yield " <p> <strong>"; yield _gettext("Table comments:"); // line 6 yield "</strong> "; // line 7 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_1 = ($context["showtable"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["TABLE_COMMENT"] ?? null) : null), "html", null, true); yield " </p> "; } // line 10 yield " <a id=\"showusage\"></a> "; // line 12 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 13 yield " <table class=\"table table-striped table-hover table-sm w-auto caption-top\"> <caption>"; yield _gettext("Space usage"); // line 14 yield "</caption> <tbody> <tr> <th class=\"name\">"; yield _gettext("Data"); // line 17 yield "</th> <td class=\"value\">"; // line 18 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["data_size"] ?? null), "html", null, true); yield "</td> <td class=\"unit\">"; // line 19 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["data_unit"] ?? null), "html", null, true); yield "</td> </tr> "; // line 22 if (array_key_exists("index_size", $context)) { // line 23 yield " <tr> <th class=\"name\">"; yield _gettext("Index"); // line 24 yield "</th> <td class=\"value\">"; // line 25 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["index_size"] ?? null), "html", null, true); yield "</td> <td class=\"unit\">"; // line 26 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["index_unit"] ?? null), "html", null, true); yield "</td> </tr> "; } // line 29 yield " "; // line 30 if (array_key_exists("free_size", $context)) { // line 31 yield " <tr> <th class=\"name\">"; yield _gettext("Overhead"); // line 32 yield "</th> <td class=\"value\">"; // line 33 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["free_size"] ?? null), "html", null, true); yield "</td> <td class=\"unit\">"; // line 34 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["free_unit"] ?? null), "html", null, true); yield "</td> </tr> <tr> <th class=\"name\">"; yield _gettext("Effective"); // line 37 yield "</th> <td class=\"value\">"; // line 38 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["effect_size"] ?? null), "html", null, true); yield "</td> <td class=\"unit\">"; // line 39 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["effect_unit"] ?? null), "html", null, true); yield "</td> </tr> "; } // line 42 yield " "; // line 43 if ((array_key_exists("tot_size", $context) && (($context["mergetable"] ?? null) == false))) { // line 44 yield " <tr> <th class=\"name\">"; yield _gettext("Total"); // line 45 yield "</th> <td class=\"value\">"; // line 46 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["tot_size"] ?? null), "html", null, true); yield "</td> <td class=\"unit\">"; // line 47 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["tot_unit"] ?? null), "html", null, true); yield "</td> </tr> "; } // line 50 yield " </tbody> "; // line 53 yield " "; if (((array_key_exists("free_size", $context) && (((( // line 54 ($context["tbl_storage_engine"] ?? null) == "MYISAM") || ( // line 55 ($context["tbl_storage_engine"] ?? null) == "ARIA")) || ( // line 56 ($context["tbl_storage_engine"] ?? null) == "MARIA")) || ( // line 57 ($context["tbl_storage_engine"] ?? null) == "BDB"))) || (( // line 58 ($context["tbl_storage_engine"] ?? null) == "INNODB") && (($context["innodb_file_per_table"] ?? null) == true)))) { // line 59 yield " <tfoot> <tr class=\"d-print-none\"> <th colspan=\"3\" class=\"center\"> <a href=\""; // line 62 yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 63 ($context["db"] ?? null), "table" => // line 64 ($context["table"] ?? null), "sql_query" => ("OPTIMIZE TABLE " . PhpMyAdmin\Util::backquote( // line 65 ($context["table"] ?? null))), "pos" => 0]); // line 67 yield "\"> "; // line 68 yield PhpMyAdmin\Html\Generator::getIcon("b_tbloptimize", _gettext("Optimize table")); yield " </a> </th> </tr> </tfoot> "; } // line 74 yield " </table> "; } // line 76 yield " "; // line 77 $context["avg_size"] = ((array_key_exists("avg_size", $context)) ? (($context["avg_size"] ?? null)) : (null)); // line 78 yield " "; $context["avg_unit"] = ((array_key_exists("avg_unit", $context)) ? (($context["avg_unit"] ?? null)) : (null)); // line 79 yield " <table class=\"table table-striped table-hover table-sm w-auto caption-top\"> <caption>"; yield _gettext("Row statistics"); // line 80 yield "</caption> <tbody> "; // line 82 if (CoreExtension::getAttribute($this->env, $this->source, ($context["showtable"] ?? null), "Row_format", [], "array", true, true, false, 82)) { // line 83 yield " <tr> <th class=\"name\">"; yield _gettext("Format"); // line 84 yield "</th> "; // line 85 if (((($__internal_compile_2 = ($context["showtable"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["Row_format"] ?? null) : null) == "Fixed")) { // line 86 yield " <td class=\"value\">"; yield _gettext("static"); yield "</td> "; } elseif (((($__internal_compile_3 = // line 87 ($context["showtable"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["Row_format"] ?? null) : null) == "Dynamic")) { // line 88 yield " <td class=\"value\">"; yield _gettext("dynamic"); yield "</td> "; } else { // line 90 yield " <td class=\"value\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_4 = ($context["showtable"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["Row_format"] ?? null) : null), "html", null, true); yield "</td> "; } // line 92 yield " </tr> "; } // line 94 yield " "; // line 95 if ( !Twig\Extension\CoreExtension::testEmpty((($__internal_compile_5 = ($context["showtable"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["Create_options"] ?? null) : null))) { // line 96 yield " <tr> <th class=\"name\">"; yield _gettext("Options"); // line 97 yield "</th> "; // line 98 if (((($__internal_compile_6 = ($context["showtable"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["Create_options"] ?? null) : null) == "partitioned")) { // line 99 yield " <td class=\"value\">"; yield _gettext("partitioned"); yield "</td> "; } else { // line 101 yield " <td class=\"value\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_7 = ($context["showtable"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["Create_options"] ?? null) : null), "html", null, true); yield "</td> "; } // line 103 yield " </tr> "; } // line 105 yield " "; // line 106 if ( !Twig\Extension\CoreExtension::testEmpty(($context["table_collation"] ?? null))) { // line 107 yield " <tr> <th class=\"name\">"; yield _gettext("Collation"); // line 108 yield "</th> <td class=\"value\"> <dfn title=\""; // line 110 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["table_collation"] ?? null), "description", [], "any", false, false, false, 110), "html", null, true); yield "\"> "; // line 111 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["table_collation"] ?? null), "name", [], "any", false, false, false, 111), "html", null, true); yield " </dfn> </td> </tr> "; } // line 116 yield " "; // line 117 if (( !($context["is_innodb"] ?? null) && CoreExtension::getAttribute($this->env, $this->source, ($context["showtable"] ?? null), "Rows", [], "array", true, true, false, 117))) { // line 118 yield " <tr> <th class=\"name\">"; yield _gettext("Rows"); // line 119 yield "</th> <td class=\"value\">"; // line 120 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::formatNumber((($__internal_compile_8 = ($context["showtable"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["Rows"] ?? null) : null), 0), "html", null, true); yield "</td> </tr> "; } // line 123 yield " "; // line 124 if ((( !($context["is_innodb"] ?? null) && CoreExtension::getAttribute($this->env, $this->source, // line 125 ($context["showtable"] ?? null), "Avg_row_length", [], "array", true, true, false, 125)) && ((($__internal_compile_9 = // line 126 ($context["showtable"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["Avg_row_length"] ?? null) : null) > 0))) { // line 127 yield " <tr> <th class=\"name\">"; yield _gettext("Row length"); // line 128 yield "</th> "; // line 129 $context["avg_row_length"] = PhpMyAdmin\Util::formatByteDown((($__internal_compile_10 = ($context["showtable"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["Avg_row_length"] ?? null) : null), 6, 1); // line 130 yield " <td class=\"value\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_11 = ($context["avg_row_length"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11[0] ?? null) : null), "html", null, true); yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_12 = ($context["avg_row_length"] ?? null)) && is_array($__internal_compile_12) || $__internal_compile_12 instanceof ArrayAccess ? ($__internal_compile_12[1] ?? null) : null), "html", null, true); yield "</td> </tr> "; } // line 133 yield " "; // line 134 if ((((( !($context["is_innodb"] ?? null) && CoreExtension::getAttribute($this->env, $this->source, // line 135 ($context["showtable"] ?? null), "Data_length", [], "array", true, true, false, 135)) && CoreExtension::getAttribute($this->env, $this->source, // line 136 ($context["showtable"] ?? null), "Rows", [], "array", true, true, false, 136)) && ((($__internal_compile_13 = // line 137 ($context["showtable"] ?? null)) && is_array($__internal_compile_13) || $__internal_compile_13 instanceof ArrayAccess ? ($__internal_compile_13["Rows"] ?? null) : null) > 0)) && ( // line 138 ($context["mergetable"] ?? null) == false))) { // line 139 yield " <tr> <th class=\"name\">"; yield _gettext("Row size"); // line 140 yield "</th> <td class=\"value\">"; // line 141 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["avg_size"] ?? null), "html", null, true); yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["avg_unit"] ?? null), "html", null, true); yield "</td> </tr> "; } // line 144 yield " "; // line 145 if (CoreExtension::getAttribute($this->env, $this->source, ($context["showtable"] ?? null), "Auto_increment", [], "array", true, true, false, 145)) { // line 146 yield " <tr> <th class=\"name\">"; yield _gettext("Next autoindex"); // line 147 yield "</th> <td class=\"value\">"; // line 148 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::formatNumber((($__internal_compile_14 = ($context["showtable"] ?? null)) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14["Auto_increment"] ?? null) : null), 0), "html", null, true); yield "</td> </tr> "; } // line 151 yield " "; // line 152 if (CoreExtension::getAttribute($this->env, $this->source, ($context["showtable"] ?? null), "Create_time", [], "array", true, true, false, 152)) { // line 153 yield " <tr> <th class=\"name\">"; yield _gettext("Creation"); // line 154 yield "</th> <td class=\"value\">"; // line 155 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::localisedDate($this->extensions['Twig\Extension\CoreExtension']->formatDate((($__internal_compile_15 = ($context["showtable"] ?? null)) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15["Create_time"] ?? null) : null), "U")), "html", null, true); yield "</td> </tr> "; } // line 158 yield " "; // line 159 if (CoreExtension::getAttribute($this->env, $this->source, ($context["showtable"] ?? null), "Update_time", [], "array", true, true, false, 159)) { // line 160 yield " <tr> <th class=\"name\">"; yield _gettext("Last update"); // line 161 yield "</th> <td class=\"value\">"; // line 162 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::localisedDate($this->extensions['Twig\Extension\CoreExtension']->formatDate((($__internal_compile_16 = ($context["showtable"] ?? null)) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16["Update_time"] ?? null) : null), "U")), "html", null, true); yield "</td> </tr> "; } // line 165 yield " "; // line 166 if (CoreExtension::getAttribute($this->env, $this->source, ($context["showtable"] ?? null), "Check_time", [], "array", true, true, false, 166)) { // line 167 yield " <tr> <th class=\"name\">"; yield _gettext("Last check"); // line 168 yield "</th> <td class=\"value\">"; // line 169 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::localisedDate($this->extensions['Twig\Extension\CoreExtension']->formatDate((($__internal_compile_17 = ($context["showtable"] ?? null)) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17["Check_time"] ?? null) : null), "U")), "html", null, true); yield "</td> </tr> "; } // line 172 yield " </tbody> </table> </fieldset> </div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/structure/display_table_stats.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 451 => 172, 445 => 169, 442 => 168, 438 => 167, 436 => 166, 433 => 165, 427 => 162, 424 => 161, 420 => 160, 418 => 159, 415 => 158, 409 => 155, 406 => 154, 402 => 153, 400 => 152, 397 => 151, 391 => 148, 388 => 147, 384 => 146, 382 => 145, 379 => 144, 371 => 141, 368 => 140, 364 => 139, 362 => 138, 361 => 137, 360 => 136, 359 => 135, 358 => 134, 355 => 133, 346 => 130, 344 => 129, 341 => 128, 337 => 127, 335 => 126, 334 => 125, 333 => 124, 330 => 123, 324 => 120, 321 => 119, 317 => 118, 315 => 117, 312 => 116, 304 => 111, 300 => 110, 296 => 108, 292 => 107, 290 => 106, 287 => 105, 283 => 103, 277 => 101, 271 => 99, 269 => 98, 266 => 97, 262 => 96, 260 => 95, 257 => 94, 253 => 92, 247 => 90, 241 => 88, 239 => 87, 234 => 86, 232 => 85, 229 => 84, 225 => 83, 223 => 82, 219 => 80, 215 => 79, 212 => 78, 210 => 77, 207 => 76, 203 => 74, 194 => 68, 191 => 67, 189 => 65, 188 => 64, 187 => 63, 184 => 62, 179 => 59, 177 => 58, 176 => 57, 175 => 56, 174 => 55, 173 => 54, 171 => 53, 167 => 50, 161 => 47, 157 => 46, 154 => 45, 150 => 44, 148 => 43, 145 => 42, 139 => 39, 135 => 38, 132 => 37, 125 => 34, 121 => 33, 118 => 32, 114 => 31, 112 => 30, 109 => 29, 103 => 26, 99 => 25, 96 => 24, 92 => 23, 90 => 22, 84 => 19, 80 => 18, 77 => 17, 71 => 14, 67 => 13, 65 => 12, 61 => 10, 55 => 7, 52 => 6, 48 => 5, 46 => 4, 43 => 3, 38 => 1,); } public function getSourceContext() { return new Source("", "table/structure/display_table_stats.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/structure/display_table_stats.twig"); } } twig/5f/5f56b8c58274455098ff2e5101ce082a.php 0000644 00000024302 15114741573 0012722 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* columns_definitions/table_fields_definitions.twig */ class __TwigTemplate_f3d5c113b2e9f71a540f029dd74f7395 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 echo "<div class=\"responsivetable\"> <table id=\"table_columns\" class=\"table table-striped caption-top align-middle mb-0 noclick\"> <caption class=\"tblHeaders\"> "; echo _gettext("Structure"); // line 5 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("CREATE_TABLE"); echo " </caption> <tr> <th> "; echo _gettext("Name"); // line 10 echo " </th> <th> "; echo _gettext("Type"); // line 13 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("data-types"); echo " </th> <th> "; echo _gettext("Length/Values"); // line 17 echo " "; echo PhpMyAdmin\Html\Generator::showHint(_gettext("If column type is \"enum\" or \"set\", please enter the values using this format: 'a','b','c'…<br>If you ever need to put a backslash (\"\\\") or a single quote (\"'\") amongst those values, precede it with a backslash (for example '\\\\xyz' or 'a\\'b').")); echo " </th> <th> "; echo _gettext("Default"); // line 21 echo " "; echo PhpMyAdmin\Html\Generator::showHint(_gettext("For default values, please enter just a single value, without backslash escaping or quotes, using this format: a")); echo " </th> <th> "; echo _gettext("Collation"); // line 25 echo " </th> <th> "; echo _gettext("Attributes"); // line 28 echo " </th> <th> "; echo _gettext("Null"); // line 31 echo " </th> "; // line 34 echo " "; if ((array_key_exists("change_column", $context) && !twig_test_empty(($context["change_column"] ?? null)))) { // line 35 echo " <th> "; echo _gettext("Adjust privileges"); // line 37 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39"); echo " </th> "; } // line 40 echo " "; // line 44 echo " "; if ( !($context["is_backup"] ?? null)) { // line 45 echo " <th> "; echo _gettext("Index"); // line 47 echo " </th> "; } // line 49 echo " <th> <abbr title=\"AUTO_INCREMENT\">A_I</abbr> </th> <th> "; echo _gettext("Comments"); // line 55 echo " </th> "; // line 57 if (($context["is_virtual_columns_supported"] ?? null)) { // line 58 echo " <th> "; echo _gettext("Virtuality"); // line 60 echo " </th> "; } // line 62 echo " "; // line 63 if (array_key_exists("fields_meta", $context)) { // line 64 echo " <th> "; echo _gettext("Move column"); // line 66 echo " </th> "; } // line 68 echo " "; // line 69 if (( !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "browserTransformationFeature", [], "any", false, false, false, 69)) && ($context["browse_mime"] ?? null))) { // line 70 echo " <th> "; echo _gettext("Media type"); // line 72 echo " </th> <th> <a href=\""; // line 74 echo PhpMyAdmin\Url::getFromRoute("/transformation/overview"); echo "#transformation\" title=\""; echo _gettext("List of available transformations and their options"); // line 76 echo "\" target=\"_blank\"> "; echo _gettext("Browser display transformation"); // line 78 echo " </a> </th> <th> "; echo _gettext("Browser display transformation options"); // line 82 echo " "; echo PhpMyAdmin\Html\Generator::showHint(_gettext("Please enter the values for transformation options using this format: 'a', 100, b,'c'…<br>If you ever need to put a backslash (\"\\\") or a single quote (\"'\") amongst those values, precede it with a backslash (for example '\\\\xyz' or 'a\\'b').")); echo " </th> <th> <a href=\""; // line 85 echo PhpMyAdmin\Url::getFromRoute("/transformation/overview"); echo "#input_transformation\" title=\""; echo _gettext("List of available transformations and their options"); // line 86 echo "\" target=\"_blank\"> "; echo _gettext("Input transformation"); // line 89 echo " </a> </th> <th> "; echo _gettext("Input transformation options"); // line 93 echo " "; echo PhpMyAdmin\Html\Generator::showHint(_gettext("Please enter the values for transformation options using this format: 'a', 100, b,'c'…<br>If you ever need to put a backslash (\"\\\") or a single quote (\"'\") amongst those values, precede it with a backslash (for example '\\\\xyz' or 'a\\'b').")); echo " </th> "; } // line 96 echo " </tr> "; // line 97 $context["options"] = ["" => "", "VIRTUAL" => "VIRTUAL"]; // line 98 echo " "; if (($context["supports_stored_keyword"] ?? null)) { // line 99 echo " "; $context["options"] = twig_array_merge(($context["options"] ?? null), ["STORED" => "STORED"]); // line 100 echo " "; } else { // line 101 echo " "; $context["options"] = twig_array_merge(($context["options"] ?? null), ["PERSISTENT" => "PERSISTENT"]); // line 102 echo " "; } // line 103 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["content_cells"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["content_row"]) { // line 104 echo " <tr> "; // line 105 $this->loadTemplate("columns_definitions/column_attributes.twig", "columns_definitions/table_fields_definitions.twig", 105)->display(twig_to_array(twig_array_merge($context["content_row"], ["options" => // line 106 ($context["options"] ?? null), "change_column" => // line 107 ($context["change_column"] ?? null), "is_virtual_columns_supported" => // line 108 ($context["is_virtual_columns_supported"] ?? null), "browse_mime" => // line 109 ($context["browse_mime"] ?? null), "max_rows" => // line 110 ($context["max_rows"] ?? null), "char_editing" => // line 111 ($context["char_editing"] ?? null), "attribute_types" => // line 112 ($context["attribute_types"] ?? null), "privs_available" => // line 113 ($context["privs_available"] ?? null), "max_length" => // line 114 ($context["max_length"] ?? null), "charsets" => // line 115 ($context["charsets"] ?? null), "relation_parameters" => // line 116 ($context["relation_parameters"] ?? null)]))); // line 118 echo " </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content_row'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 120 echo "</table> </div> "; } public function getTemplateName() { return "columns_definitions/table_fields_definitions.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 263 => 120, 256 => 118, 254 => 116, 253 => 115, 252 => 114, 251 => 113, 250 => 112, 249 => 111, 248 => 110, 247 => 109, 246 => 108, 245 => 107, 244 => 106, 243 => 105, 240 => 104, 235 => 103, 232 => 102, 229 => 101, 226 => 100, 223 => 99, 220 => 98, 218 => 97, 215 => 96, 208 => 93, 202 => 89, 197 => 86, 192 => 85, 185 => 82, 179 => 78, 175 => 76, 171 => 74, 167 => 72, 163 => 70, 161 => 69, 158 => 68, 154 => 66, 150 => 64, 148 => 63, 145 => 62, 141 => 60, 137 => 58, 135 => 57, 131 => 55, 123 => 49, 119 => 47, 115 => 45, 112 => 44, 109 => 40, 102 => 37, 98 => 35, 95 => 34, 91 => 31, 86 => 28, 81 => 25, 73 => 21, 65 => 17, 57 => 13, 52 => 10, 43 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "columns_definitions/table_fields_definitions.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/columns_definitions/table_fields_definitions.twig"); } } twig/02/0247f56421aa96f24d6d03d8c2d484f6.php 0000644 00000022211 15114741573 0012701 0 ustar 00 <?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; /* database/search/main.twig */ class __TwigTemplate_2a9a6dba3784e9808958adda59145135 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 "<a id=\"db_search\"></a> <form id=\"db_search_form\" method=\"post\" action=\""; // line 2 yield PhpMyAdmin\Url::getFromRoute("/database/search"); yield "\" name=\"db_search\" class=\"ajax lock-page\"> "; // line 3 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); yield " <fieldset class=\"pma-fieldset\"> <legend>"; yield _gettext("Search in database"); // line 5 yield "</legend> <p> <label for=\"criteriaSearchString\" class=\"d-block\"> "; yield _gettext("Words or values to search for (wildcard: \"%\"):"); // line 9 yield " </label> <input id=\"criteriaSearchString\" name=\"criteriaSearchString\" class=\"w-75\" type=\"text\" value=\""; // line 11 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["criteria_search_string"] ?? null), "html", null, true); yield "\"> </p> <fieldset class=\"pma-fieldset\"> <legend>"; yield _gettext("Find:"); // line 15 yield "</legend> <div> <input type=\"radio\" name=\"criteriaSearchType\" id=\"criteriaSearchTypeRadio1\" value=\"1\""; // line 18 yield (((($context["criteria_search_type"] ?? null) == "1")) ? (" checked") : ("")); yield "> <label for=\"criteriaSearchTypeRadio1\">"; yield _gettext("at least one of the words"); // line 19 yield " "; yield PhpMyAdmin\Html\Generator::showHint(_gettext("Words are separated by a space character (\" \").")); yield "</label> </div> <div> <input type=\"radio\" name=\"criteriaSearchType\" id=\"criteriaSearchTypeRadio2\" value=\"2\""; // line 22 yield (((($context["criteria_search_type"] ?? null) == "2")) ? (" checked") : ("")); yield "> <label for=\"criteriaSearchTypeRadio2\">"; yield _gettext("all of the words"); // line 23 yield " "; yield PhpMyAdmin\Html\Generator::showHint(_gettext("Words are separated by a space character (\" \").")); yield "</label> </div> <div> <input type=\"radio\" name=\"criteriaSearchType\" id=\"criteriaSearchTypeRadio3\" value=\"3\""; // line 26 yield (((($context["criteria_search_type"] ?? null) == "3")) ? (" checked") : ("")); yield "> <label for=\"criteriaSearchTypeRadio3\">"; yield _gettext("the exact phrase as substring"); // line 27 yield "</label> </div> <div> <input type=\"radio\" name=\"criteriaSearchType\" id=\"criteriaSearchTypeRadio4\" value=\"4\""; // line 30 yield (((($context["criteria_search_type"] ?? null) == "4")) ? (" checked") : ("")); yield "> <label for=\"criteriaSearchTypeRadio4\">"; yield _gettext("the exact phrase as whole field"); // line 31 yield "</label> </div> <div> <input type=\"radio\" name=\"criteriaSearchType\" id=\"criteriaSearchTypeRadio5\" value=\"5\""; // line 34 yield (((($context["criteria_search_type"] ?? null) == "5")) ? (" checked") : ("")); yield "> <label for=\"criteriaSearchTypeRadio5\">"; yield _gettext("as regular expression"); // line 35 yield " "; yield PhpMyAdmin\Html\MySQLDocumentation::show("Regexp"); yield "</label> </div> </fieldset> <fieldset class=\"pma-fieldset\"> <legend>"; yield _gettext("Inside tables:"); // line 40 yield "</legend> <p> <a href=\"#\" id=\"select_all\"> "; yield _gettext("Select all"); // line 44 yield " </a> / <a href=\"#\" id=\"unselect_all\"> "; yield _gettext("Unselect all"); // line 47 yield " </a> </p> <select class=\"resize-vertical\" id=\"criteriaTables\" name=\"criteriaTables[]\" multiple> "; // line 50 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["tables_names_only"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["each_table"]) { // line 51 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["each_table"], "html", null, true); yield "\" "; // line 52 if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["criteria_tables"] ?? null)) > 0)) { // line 53 yield ((CoreExtension::inFilter($context["each_table"], ($context["criteria_tables"] ?? null))) ? (" selected") : ("")); yield " "; } else { // line 55 yield " selected "; } // line 57 yield " > "; // line 58 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["each_table"], "html", null, true); yield " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['each_table'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 61 yield " </select> </fieldset> <p> "; // line 66 yield " <label for=\"criteriaColumnName\" class=\"d-block\"> "; yield _gettext("Inside column:"); // line 68 yield " </label> <input id=\"criteriaColumnName\" type=\"text\" name=\"criteriaColumnName\" class=\"w-75\" value=\""; // line 70 (( !Twig\Extension\CoreExtension::testEmpty(($context["criteria_column_name"] ?? null))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["criteria_column_name"] ?? null), "html", null, true)) : (yield "")); yield "\"> </p> </fieldset> <fieldset class=\"pma-fieldset tblFooters\"> <input id=\"buttonGo\" class=\"btn btn-primary\" type=\"submit\" name=\"submit_search\" value=\""; yield _gettext("Go"); // line 74 yield "\"> </fieldset> </form> <div id=\"togglesearchformdiv\"> <a id=\"togglesearchformlink\"></a> </div> <div id=\"searchresults\"></div> <div id=\"togglesearchresultsdiv\"><a id=\"togglesearchresultlink\"></a></div> <br class=\"clearfloat\"> "; // line 84 yield "<div id=\"table-info\"> <a id=\"table-link\" class=\"item\"></a> </div> "; // line 88 yield "<div id=\"browse-results\"> "; // line 90 yield "</div> <div id=\"sqlqueryform\" class=\"clearfloat\"> "; // line 93 yield "</div> "; // line 95 yield "<button class=\"btn btn-secondary\" id=\"togglequerybox\"></button> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/search/main.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 227 => 95, 224 => 93, 220 => 90, 217 => 88, 212 => 84, 201 => 74, 193 => 70, 190 => 68, 186 => 66, 180 => 61, 171 => 58, 168 => 57, 164 => 55, 159 => 53, 157 => 52, 152 => 51, 148 => 50, 143 => 47, 138 => 44, 132 => 40, 122 => 35, 117 => 34, 112 => 31, 107 => 30, 102 => 27, 97 => 26, 90 => 23, 85 => 22, 78 => 19, 73 => 18, 68 => 15, 60 => 11, 57 => 9, 51 => 5, 45 => 3, 41 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "database/search/main.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/search/main.twig"); } } twig/b7/b71f19906f3f333866e19e19f30d4069.php 0000644 00000017403 15114741573 0012656 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* menu/breadcrumbs.twig */ class __TwigTemplate_32a6519049bc7e7411383124eb1727f5 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 echo "<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 echo ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (PhpMyAdmin\Html\Generator::getImage("s_host")) : ("")); echo " <a href=\""; // line 6 echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["server"] ?? null), "url", [], "any", false, false, false, 6)); echo "\" data-raw-text=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["server"] ?? null), "name", [], "any", false, false, false, 6), "html", null, true); echo "\" draggable=\"false\"> "; // line 7 if (PhpMyAdmin\Util::showText("TabsMode")) { echo _gettext("Server:"); } // line 8 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["server"] ?? null), "name", [], "any", false, false, false, 8), "html", null, true); echo " </a> </li> "; // line 12 if ( !twig_test_empty(($context["database"] ?? null))) { // line 13 echo " <li class=\"breadcrumb-item\"> "; // line 14 echo ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (PhpMyAdmin\Html\Generator::getImage("s_db")) : ("")); echo " <a href=\""; // line 15 echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "url", [], "any", false, false, false, 15), ["db" => twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 15)]); echo "\" data-raw-text=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 15), "html", null, true); echo "\" draggable=\"false\"> "; // line 16 if (PhpMyAdmin\Util::showText("TabsMode")) { echo _gettext("Database:"); } // line 17 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 17), "html", null, true); echo " </a> </li> "; // line 21 if ( !twig_test_empty(($context["table"] ?? null))) { // line 22 echo " <li class=\"breadcrumb-item\"> "; // line 23 echo ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (PhpMyAdmin\Html\Generator::getImage(((twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "is_view", [], "any", false, false, false, 23)) ? ("b_views") : ("s_tbl")))) : ("")); echo " <a href=\""; // line 24 echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "url", [], "any", false, false, false, 24), ["db" => twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 24), "table" => twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 24)]); echo "\" data-raw-text=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 24), "html", null, true); echo "\" draggable=\"false\"> "; // line 25 if (PhpMyAdmin\Util::showText("TabsMode")) { // line 26 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "is_view", [], "any", false, false, false, 26)) { // line 27 echo " "; echo _gettext("View:"); // line 28 echo " "; } else { // line 29 echo " "; echo _gettext("Table:"); // line 30 echo " "; } // line 31 echo " "; } // line 32 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 32), "html", null, true); echo " </a> </li> "; // line 36 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "comment", [], "any", false, false, false, 36))) { // line 37 echo " <span class=\"breadcrumb-comment\" draggable=\"false\">“"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "comment", [], "any", false, false, false, 37), "html", null, true); echo "”</span> "; } // line 39 echo " "; } elseif ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "comment", [], "any", false, false, false, 39))) { // line 40 echo " <span class=\"breadcrumb-comment\" draggable=\"false\">“"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "comment", [], "any", false, false, false, 40), "html", null, true); echo "”</span> "; } // line 42 echo " "; } // line 43 echo " </ol> </nav> "; } public function getTemplateName() { return "menu/breadcrumbs.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 155 => 43, 152 => 42, 146 => 40, 143 => 39, 137 => 37, 135 => 36, 127 => 32, 124 => 31, 121 => 30, 118 => 29, 115 => 28, 112 => 27, 109 => 26, 107 => 25, 101 => 24, 97 => 23, 94 => 22, 92 => 21, 84 => 17, 80 => 16, 74 => 15, 70 => 14, 67 => 13, 65 => 12, 57 => 8, 53 => 7, 47 => 6, 43 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "menu/breadcrumbs.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/menu/breadcrumbs.twig"); } } twig/b7/b7c2c4726896fb711b473ebc30b39de2.php 0000644 00000023045 15114741573 0013134 0 ustar 00 <?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; /* database/structure/table_header.twig */ class __TwigTemplate_f11be2923e5380ed847981d44b7cdd5b 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 PhpMyAdmin\Url::getFromRoute("/database/structure"); yield "\" name=\"tablesForm\" id=\"tablesForm\"> "; // line 2 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); yield " <div class=\"table-responsive\"> <table class=\"table table-striped table-hover table-sm w-auto data\"> <thead> <tr> <th class=\"d-print-none\"></th> <th>"; // line 8 yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Table"), "table"); yield "</th> "; // line 9 if (($context["replication"] ?? null)) { // line 10 yield " <th>"; yield _gettext("Replication"); yield "</th> "; } // line 12 yield " "; // line 13 if (($context["db_is_system_schema"] ?? null)) { // line 14 yield " "; $context["action_colspan"] = 3; // line 15 yield " "; } else { // line 16 yield " "; $context["action_colspan"] = 6; // line 17 yield " "; } // line 18 yield " "; if ((($context["num_favorite_tables"] ?? null) > 0)) { // line 19 yield " "; $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); // line 20 yield " "; } // line 21 yield " <th colspan=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["action_colspan"] ?? null), "html", null, true); yield "\" class=\"d-print-none\"> "; yield _gettext("Action"); // line 23 yield " </th> "; // line 25 yield " <th> "; // line 26 yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Rows"), "records", "DESC"); yield " "; // line 27 yield PhpMyAdmin\Html\Generator::showHint(PhpMyAdmin\Sanitize::sanitizeMessage(_gettext("May be approximate. Click on the number to get the exact count. See [doc@faq3-11]FAQ 3.11[/doc]."))); yield " </th> "; // line 29 if ( !(($context["properties_num_columns"] ?? null) > 1)) { // line 30 yield " <th>"; yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Type"), "type"); yield "</th> <th>"; // line 31 yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Collation"), "collation"); yield "</th> "; } // line 33 yield " "; // line 34 if (($context["is_show_stats"] ?? null)) { // line 35 yield " "; // line 36 yield " <th>"; yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Size"), "size", "DESC"); yield "</th> "; // line 38 yield " <th>"; yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Overhead"), "overhead", "DESC"); yield "</th> "; } // line 40 yield " "; // line 41 if (($context["show_charset"] ?? null)) { // line 42 yield " <th>"; yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Charset"), "charset"); yield "</th> "; } // line 44 yield " "; // line 45 if (($context["show_comment"] ?? null)) { // line 46 yield " <th>"; yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Comment"), "comment"); yield "</th> "; } // line 48 yield " "; // line 49 if (($context["show_creation"] ?? null)) { // line 50 yield " "; // line 51 yield " <th>"; yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Creation"), "creation", "DESC"); yield "</th> "; } // line 53 yield " "; // line 54 if (($context["show_last_update"] ?? null)) { // line 55 yield " "; // line 56 yield " <th>"; yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Last update"), "last_update", "DESC"); yield "</th> "; } // line 58 yield " "; // line 59 if (($context["show_last_check"] ?? null)) { // line 60 yield " "; // line 61 yield " <th>"; yield PhpMyAdmin\Util::sortableTableHeader(_gettext("Last check"), "last_check", "DESC"); yield "</th> "; } // line 63 yield " </tr> </thead> <tbody> "; // line 66 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["structure_table_rows"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["structure_table_row"]) { // line 67 yield " "; yield from $this->loadTemplate("database/structure/structure_table_row.twig", "database/structure/table_header.twig", 67)->unwrap()->yield(CoreExtension::toArray($context["structure_table_row"])); // line 68 yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['structure_table_row'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 69 yield " </tbody> "; // line 70 if (($context["body_for_table_summary"] ?? null)) { // line 71 yield " "; yield from $this->loadTemplate("database/structure/body_for_table_summary.twig", "database/structure/table_header.twig", 71)->unwrap()->yield(CoreExtension::toArray(($context["body_for_table_summary"] ?? null))); // line 72 yield " "; } // line 73 yield "</table> </div> "; // line 75 if (($context["check_all_tables"] ?? null)) { // line 76 yield " "; yield from $this->loadTemplate("database/structure/check_all_tables.twig", "database/structure/table_header.twig", 76)->unwrap()->yield(CoreExtension::toArray(($context["check_all_tables"] ?? null))); } // line 78 yield "</form> "; // line 79 if (($context["check_all_tables"] ?? null)) { // line 80 yield " "; yield from $this->loadTemplate("database/structure/bulk_action_modal.twig", "database/structure/table_header.twig", 80)->unwrap()->yield(CoreExtension::toArray(($context["check_all_tables"] ?? null))); } return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/structure/table_header.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 246 => 80, 244 => 79, 241 => 78, 237 => 76, 235 => 75, 231 => 73, 228 => 72, 225 => 71, 223 => 70, 220 => 69, 214 => 68, 211 => 67, 207 => 66, 202 => 63, 196 => 61, 194 => 60, 192 => 59, 189 => 58, 183 => 56, 181 => 55, 179 => 54, 176 => 53, 170 => 51, 168 => 50, 166 => 49, 163 => 48, 157 => 46, 155 => 45, 152 => 44, 146 => 42, 144 => 41, 141 => 40, 135 => 38, 130 => 36, 128 => 35, 126 => 34, 123 => 33, 118 => 31, 113 => 30, 111 => 29, 106 => 27, 102 => 26, 99 => 25, 96 => 23, 90 => 21, 87 => 20, 84 => 19, 81 => 18, 78 => 17, 75 => 16, 72 => 15, 69 => 14, 67 => 13, 64 => 12, 58 => 10, 56 => 9, 52 => 8, 43 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "database/structure/table_header.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/table_header.twig"); } } twig/74/74281f885f6bb379dd8848cb75543664.php 0000644 00000033244 15114741573 0012623 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/checkbox_and_links.twig */ class __TwigTemplate_90dd9ce295651132b37d822c7c4a899e 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 echo " "; if (($context["has_checkbox"] ?? null)) { // line 3 echo " <td class=\"text-center d-print-none\"> <input type=\"checkbox\" class=\"multi_checkbox checkall\" id=\"id_rows_to_delete"; // line 5 echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true); echo "_left\" name=\"rows_to_delete["; echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" class=\"condition_array\" value=\""; // line 6 echo twig_escape_filter($this->env, ($context["condition"] ?? null), "html", null, true); echo "\"> </td> "; } // line 9 echo " "; // line 10 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "url", [], "any", false, false, false, 10))) { // line 11 echo " <td class=\"text-center d-print-none edit_row_anchor"; echo (( !twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "clause_is_unique", [], "any", false, false, false, 11)) ? (" nonunique") : ("")); echo "\"> <span class=\"text-nowrap\"> "; // line 13 echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "url", [], "any", false, false, false, 13), twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "params", [], "any", false, false, false, 13), twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "string", [], "any", false, false, false, 13)); echo " "; // line 14 if ( !twig_test_empty(($context["where_clause"] ?? null))) { // line 15 echo " <input type=\"hidden\" class=\"where_clause\" value=\""; echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true); echo "\"> "; } // line 17 echo " </span> </td> "; } // line 20 echo " "; // line 21 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "url", [], "any", false, false, false, 21))) { // line 22 echo " <td class=\"text-center d-print-none\"> <span class=\"text-nowrap\"> "; // line 24 echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "url", [], "any", false, false, false, 24), twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "params", [], "any", false, false, false, 24), twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "string", [], "any", false, false, false, 24)); echo " "; // line 25 if ( !twig_test_empty(($context["where_clause"] ?? null))) { // line 26 echo " <input type=\"hidden\" class=\"where_clause\" value=\""; echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true); echo "\"> "; } // line 28 echo " </span> </td> "; } // line 31 echo " "; // line 32 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "url", [], "any", false, false, false, 32))) { // line 33 echo " <td class=\"text-center d-print-none"; echo ((($context["is_ajax"] ?? null)) ? (" ajax") : ("")); echo "\"> <span class=\"text-nowrap\"> "; // line 35 echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "url", [], "any", false, false, false, 35), twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "params", [], "any", false, false, false, 35), twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "string", [], "any", false, false, false, 35), ["class" => ("delete_row requireConfirm" . ((($context["is_ajax"] ?? null)) ? (" ajax") : ("")))]); echo " "; // line 36 if ( !twig_test_empty(($context["js_conf"] ?? null))) { // line 37 echo " <div class=\"hide\">"; echo twig_escape_filter($this->env, ($context["js_conf"] ?? null), "html", null, true); echo "</div> "; } // line 39 echo " </span> </td> "; } } elseif (( // line 42 ($context["position"] ?? null) == "right")) { // line 43 echo " "; if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "url", [], "any", false, false, false, 43))) { // line 44 echo " <td class=\"text-center d-print-none"; echo ((($context["is_ajax"] ?? null)) ? (" ajax") : ("")); echo "\"> <span class=\"text-nowrap\"> "; // line 46 echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "url", [], "any", false, false, false, 46), twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "params", [], "any", false, false, false, 46), twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "string", [], "any", false, false, false, 46), ["class" => ("delete_row requireConfirm" . ((($context["is_ajax"] ?? null)) ? (" ajax") : ("")))]); echo " "; // line 47 if ( !twig_test_empty(($context["js_conf"] ?? null))) { // line 48 echo " <div class=\"hide\">"; echo twig_escape_filter($this->env, ($context["js_conf"] ?? null), "html", null, true); echo "</div> "; } // line 50 echo " </span> </td> "; } // line 53 echo " "; // line 54 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "url", [], "any", false, false, false, 54))) { // line 55 echo " <td class=\"text-center d-print-none\"> <span class=\"text-nowrap\"> "; // line 57 echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "url", [], "any", false, false, false, 57), twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "params", [], "any", false, false, false, 57), twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "string", [], "any", false, false, false, 57)); echo " "; // line 58 if ( !twig_test_empty(($context["where_clause"] ?? null))) { // line 59 echo " <input type=\"hidden\" class=\"where_clause\" value=\""; echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true); echo "\"> "; } // line 61 echo " </span> </td> "; } // line 64 echo " "; // line 65 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "url", [], "any", false, false, false, 65))) { // line 66 echo " <td class=\"text-center d-print-none edit_row_anchor"; echo (( !twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "clause_is_unique", [], "any", false, false, false, 66)) ? (" nonunique") : ("")); echo "\"> <span class=\"text-nowrap\"> "; // line 68 echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "url", [], "any", false, false, false, 68), twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "params", [], "any", false, false, false, 68), twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "string", [], "any", false, false, false, 68)); echo " "; // line 69 if ( !twig_test_empty(($context["where_clause"] ?? null))) { // line 70 echo " <input type=\"hidden\" class=\"where_clause\" value=\""; echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true); echo "\"> "; } // line 72 echo " </span> </td> "; } // line 75 echo " "; // line 76 if (($context["has_checkbox"] ?? null)) { // line 77 echo " <td class=\"text-center d-print-none\"> <input type=\"checkbox\" class=\"multi_checkbox checkall\" id=\"id_rows_to_delete"; // line 79 echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true); echo "_right\" name=\"rows_to_delete["; echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" class=\"condition_array\" value=\""; // line 80 echo twig_escape_filter($this->env, ($context["condition"] ?? null), "html", null, true); echo "\"> </td> "; } } else { // line 84 echo " "; if (($context["has_checkbox"] ?? null)) { // line 85 echo " <td class=\"text-center d-print-none\"> <input type=\"checkbox\" class=\"multi_checkbox checkall\" id=\"id_rows_to_delete"; // line 87 echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true); echo "_left\" name=\"rows_to_delete["; echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" class=\"condition_array\" value=\""; // line 88 echo twig_escape_filter($this->env, ($context["condition"] ?? null), "html", null, true); echo "\"> </td> "; } } } public function getTemplateName() { return "display/results/checkbox_and_links.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 260 => 88, 252 => 87, 249 => 85, 246 => 84, 239 => 80, 231 => 79, 228 => 77, 226 => 76, 223 => 75, 218 => 72, 212 => 70, 210 => 69, 206 => 68, 200 => 66, 198 => 65, 195 => 64, 190 => 61, 184 => 59, 182 => 58, 178 => 57, 174 => 55, 172 => 54, 169 => 53, 164 => 50, 158 => 48, 156 => 47, 152 => 46, 146 => 44, 143 => 43, 141 => 42, 136 => 39, 130 => 37, 128 => 36, 124 => 35, 118 => 33, 116 => 32, 113 => 31, 108 => 28, 102 => 26, 100 => 25, 96 => 24, 92 => 22, 90 => 21, 87 => 20, 82 => 17, 76 => 15, 74 => 14, 70 => 13, 64 => 11, 62 => 10, 59 => 9, 53 => 6, 45 => 5, 42 => 3, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/checkbox_and_links.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/checkbox_and_links.twig"); } } twig/c2/c28b3143f32e68cd91d81678a565c398.php 0000644 00000020426 15114741573 0012731 0 ustar 00 <?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_8fb403001725b286f4534bae86937339 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/list_navigator.twig"); } } twig/c2/c2ead90c79ccf2f67f00efc5f1477ba0.php 0000644 00000010642 15114741573 0013426 0 ustar 00 <?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_81fe03f3d3d8b0ec3bbac80ac73d5c8f 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/table_headers_for_columns.twig"); } } twig/89/89360897e22de4f647fed374cfdfb322.php 0000644 00000004223 15114741573 0013107 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* modals/unhide_nav_item.twig */ class __TwigTemplate_46274d2d89169710a9ce541313d4e9d6 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 echo "<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\">"; echo _gettext("Show hidden navigation tree items."); // line 5 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 6 echo "\"></button> </div> <div class=\"modal-body\"></div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 10 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "modals/unhide_nav_item.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 55 => 10, 48 => 6, 44 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "modals/unhide_nav_item.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/unhide_nav_item.twig"); } } twig/25/254edb6bc161bcfaee6c905550703772.php 0000644 00000067037 15114741573 0013053 0 ustar 00 <?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_efc7393b09cef6ca1a321a65bf759d0c 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/javascript/variables.twig"); } } twig/b4/b41f8db2d50fd8d74dbc8cda91045142.php 0000644 00000005222 15114741573 0013256 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/create_table.twig */ class __TwigTemplate_56e8a1b0de1042e9e28e1067383a8cbf 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 echo "<form id=\"createTableMinimalForm\" method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/table/create"); echo "\" class=\"card d-print-none lock-page\"> "; // line 2 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <div class=\"card-header\">"; // line 3 echo PhpMyAdmin\Html\Generator::getIcon("b_table_add", _gettext("Create new table"), true); echo "</div> <div class=\"card-body row row-cols-lg-auto g-3\"> <div class=\"col-12\"> <label for=\"createTableNameInput\" class=\"form-label\">"; echo _gettext("Table name"); // line 6 echo "</label> <input type=\"text\" class=\"form-control\" name=\"table\" id=\"createTableNameInput\" maxlength=\"64\" required> </div> <div class=\"col-12\"> <label for=\"createTableNumFieldsInput\" class=\"form-label\">"; echo _gettext("Number of columns"); // line 10 echo "</label> <input type=\"number\" class=\"form-control\" name=\"num_fields\" id=\"createTableNumFieldsInput\" min=\"1\" value=\"4\" required> </div> <div class=\"col-12 align-self-lg-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Create"); // line 14 echo "\"> </div> </div> </form> "; } public function getTemplateName() { return "database/create_table.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 67 => 14, 60 => 10, 53 => 6, 46 => 3, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "database/create_table.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/create_table.twig"); } } twig/b4/b4ca5d51d66ab9c496492d65d8026636.php 0000644 00000010727 15114741573 0013006 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/index.twig */ class __TwigTemplate_3de4523cca3d73fef80bb4f9734d691a 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'] = twig_ensure_traversable($this->env->getRuntime('PhpMyAdmin\FlashMessages')->getMessages()); foreach ($context['_seq'] as $context["flash_key"] => $context["flash_messages"]) { // line 2 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($context["flash_messages"]); foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) { // line 3 echo " <div class=\"alert alert-"; echo twig_escape_filter($this->env, $context["flash_key"], "html", null, true); echo "\" role=\"alert\"> "; // line 4 echo twig_escape_filter($this->env, $context["flash_message"], "html", null, true); echo " </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash_message'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['flash_key'], $context['flash_messages'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 8 echo " "; // line 9 if (($context["has_tables"] ?? null)) { // line 10 echo " <div id=\"tableslistcontainer\"> "; // line 11 echo ($context["list_navigator_html"] ?? null); echo " "; // line 13 echo ($context["table_list_html"] ?? null); echo " "; // line 15 echo ($context["list_navigator_html"] ?? null); echo " </div> <hr> <p class=\"d-print-none\"> <button type=\"button\" class=\"btn btn-link p-0 jsPrintButton\">"; // line 19 echo PhpMyAdmin\Html\Generator::getIcon("b_print", _gettext("Print"), true); echo "</button> <a href=\""; // line 20 echo PhpMyAdmin\Url::getFromRoute("/database/data-dictionary", ["db" => ($context["database"] ?? null), "goto" => PhpMyAdmin\Url::getFromRoute("/database/structure")]); echo "\"> "; // line 21 echo PhpMyAdmin\Html\Generator::getIcon("b_tblanalyse", _gettext("Data dictionary"), true); echo " </a> </p> "; } else { // line 25 echo " "; echo $this->env->getFilter('notice')->getCallable()(_gettext("No tables found in database.")); echo " "; } // line 27 echo " "; // line 28 if ( !($context["is_system_schema"] ?? null)) { // line 29 echo " "; echo ($context["create_table_html"] ?? null); echo " "; } } public function getTemplateName() { return "database/structure/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 115 => 29, 113 => 28, 110 => 27, 104 => 25, 97 => 21, 93 => 20, 89 => 19, 82 => 15, 77 => 13, 72 => 11, 69 => 10, 67 => 9, 64 => 8, 51 => 4, 46 => 3, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/index.twig"); } } twig/4d/4d4107c80447739b92c15d22ee2aaa7f.php 0000644 00000003715 15114741573 0013046 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* sql/sql_query_results.twig */ class __TwigTemplate_d164f972e2ab257086a59296ff7beb9c 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 echo "<div class=\"sqlqueryresults ajax\"> "; // line 2 echo ($context["previous_update_query"] ?? null); echo " "; // line 3 echo ($context["profiling_chart"] ?? null); echo " "; // line 4 echo ($context["missing_unique_column_message"] ?? null); echo " "; // line 5 echo ($context["bookmark_created_message"] ?? null); echo " "; // line 6 echo ($context["table"] ?? null); echo " "; // line 7 echo ($context["bookmark_support"] ?? null); echo " </div> "; } public function getTemplateName() { return "sql/sql_query_results.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 60 => 7, 56 => 6, 52 => 5, 48 => 4, 44 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "sql/sql_query_results.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/sql/sql_query_results.twig"); } } twig/8d/8da3fb21b3a34c9d6b63b817308c1e44.php 0000644 00000006771 15114741573 0013133 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* console/query_action.twig */ class __TwigTemplate_6235daff5a93ddc0e4c667d727b591ec 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 echo "<div class=\""; echo twig_escape_filter($this->env, ($context["parent_div_classes"] ?? null), "html", null, true); echo "\"> "; // line 2 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["content_array"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["content"]) { // line 3 echo " "; if (array_key_exists("content", $context)) { // line 4 echo " <span class=\""; echo twig_escape_filter($this->env, (($__internal_compile_0 = $context["content"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true); echo "\"> "; // line 5 echo twig_escape_filter($this->env, (($__internal_compile_1 = $context["content"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null), "html", null, true); echo " "; // line 6 if (twig_get_attribute($this->env, $this->source, $context["content"], "extraSpan", [], "array", true, true, false, 6)) { // line 7 echo " : <span>"; echo twig_escape_filter($this->env, (($__internal_compile_2 = $context["content"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["extraSpan"] ?? null) : null), "html", null, true); echo "</span> "; } // line 9 echo " </span> "; } // line 11 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 12 echo "</div> "; } public function getTemplateName() { return "console/query_action.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 76 => 12, 70 => 11, 66 => 9, 60 => 7, 58 => 6, 54 => 5, 49 => 4, 46 => 3, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "console/query_action.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/console/query_action.twig"); } } twig/aa/aa626619714ea8fb0dbbe82d48f76144.php 0000644 00000003324 15114741573 0013206 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* navigation/tree/quick_warp.twig */ class __TwigTemplate_07cd63403477613a1491cf2bbba6a47a 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 echo "<div class=\"pma_quick_warp\"> "; // line 2 if (($context["recent"] ?? null)) { echo ($context["recent"] ?? null); } // line 3 echo " "; if (($context["favorite"] ?? null)) { echo ($context["favorite"] ?? null); } // line 4 echo " <div class=\"clearfloat\"></div> </div> "; } public function getTemplateName() { return "navigation/tree/quick_warp.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 49 => 4, 44 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "navigation/tree/quick_warp.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/quick_warp.twig"); } } twig/fb/fb872d4eff148ac96e4aee59bd180513.php 0000644 00000003632 15114741573 0013365 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* filter.twig */ class __TwigTemplate_dc46ea3d685f0b5700fe88da64b5bc47 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 echo "<div class=\"card mb-3\" id=\"tableFilter\"> <div class=\"card-header\">"; echo _gettext("Filters"); // line 2 echo "</div> <div class=\"card-body row row-cols-lg-auto gy-1 gx-3 align-items-center\"> <label class=\"col-12 col-form-label\" for=\"filterText\">"; echo _gettext("Containing the word:"); // line 4 echo "</label> <div class=\"col-12\"> <input class=\"form-control\" name=\"filterText\" type=\"text\" id=\"filterText\" value=\""; // line 6 echo twig_escape_filter($this->env, ($context["filter_value"] ?? null), "html", null, true); echo "\"> </div> </div> </div> "; } public function getTemplateName() { return "filter.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 50 => 6, 46 => 4, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "filter.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/filter.twig"); } } twig/b1/b198bdde58137db8123387f21580cbdc.php 0000644 00000004146 15114741573 0013130 0 ustar 00 <?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/null_display.twig */ class __TwigTemplate_fe0d836b9b04d6cdcad345af7d074ed9 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["data_decimals"] ?? null), "html", null, true); yield "\" data-type=\""; // line 2 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["data_type"] ?? null), "html", null, true); yield "\" "; // line 4 yield " class=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["classes"] ?? null), "html", null, true); yield " null\"> <em>NULL</em> </td> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "display/results/null_display.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 47 => 4, 43 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "display/results/null_display.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/null_display.twig"); } } twig/3b/3bdc21a002bb68904fd27e5c8c20e32d.php 0000644 00000010055 15114741573 0013157 0 ustar 00 <?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; /* table/delete/confirm.twig */ class __TwigTemplate_25d9161324b19fb4b6b2dd87bd5f96a4 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 action=\""; yield PhpMyAdmin\Url::getFromRoute("/table/delete/rows"); yield "\" method=\"post\"> "; // line 2 yield PhpMyAdmin\Url::getHiddenInputs(["db" => // line 3 ($context["db"] ?? null), "table" => // line 4 ($context["table"] ?? null), "selected" => // line 5 ($context["selected"] ?? null), "original_sql_query" => // line 6 ($context["sql_query"] ?? null), "fk_checks" => "0"]); // line 8 yield " <fieldset class=\"pma-fieldset confirmation\"> <legend> "; yield _gettext("Do you really want to execute the following query?"); // line 13 yield " </legend> <ul> "; // line 16 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["selected"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["row"]) { // line 17 yield " <li><code>DELETE FROM "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::backquote(($context["table"] ?? null)), "html", null, true); yield " WHERE "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["row"], "html", null, true); yield ";</code></li> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 19 yield " </ul> </fieldset> <fieldset class=\"pma-fieldset tblFooters\"> <div id=\"foreignkeychk\" class=\"float-start\"> <input type=\"checkbox\" name=\"fk_checks\" id=\"fk_checks\" value=\"1\""; // line 24 yield ((($context["is_foreign_key_check"] ?? null)) ? (" checked") : ("")); yield "> <label for=\"fk_checks\">"; yield _gettext("Enable foreign key checks"); // line 25 yield "</label> </div> <div class=\"float-end\"> <input id=\"buttonYes\" class=\"btn btn-secondary\" type=\"submit\" name=\"mult_btn\" value=\""; yield _gettext("Yes"); // line 28 yield "\"> <input id=\"buttonNo\" class=\"btn btn-secondary\" type=\"submit\" name=\"mult_btn\" value=\""; yield _gettext("No"); // line 29 yield "\"> </div> </fieldset> </form> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/delete/confirm.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 98 => 29, 94 => 28, 88 => 25, 83 => 24, 76 => 19, 65 => 17, 61 => 16, 56 => 13, 49 => 8, 47 => 6, 46 => 5, 45 => 4, 44 => 3, 43 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "table/delete/confirm.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/delete/confirm.twig"); } } twig/a1/a125410e67ef024495f21953e2567e14.php 0000644 00000031212 15114741573 0012536 0 ustar 00 <?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; /* database/structure/body_for_table_summary.twig */ class __TwigTemplate_612268e3fb380d530e1a6041ff27ee31 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 "<tfoot id=\"tbl_summary_row\"> <tr> <th class=\"d-print-none\"></th> <th class=\"tbl_num text-nowrap\"> "; // line 5 $context["num_tables_trans"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) { yield _ngettext("%s table", "%s tables", abs( // line 6 ($context["num_tables"] ?? null))); return; yield ''; })())) ? '' : new Markup($tmp, $this->env->getCharset()); // line 8 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf(($context["num_tables_trans"] ?? null), PhpMyAdmin\Util::formatNumber(($context["num_tables"] ?? null), 0)), "html", null, true); yield " </th> "; // line 10 if (($context["server_replica_status"] ?? null)) { // line 11 yield " <th>"; yield _gettext("Replication"); yield "</th> "; } // line 13 yield " "; $context["sum_colspan"] = ((($context["db_is_system_schema"] ?? null)) ? (4) : (7)); // line 14 yield " "; if ((($context["num_favorite_tables"] ?? null) == 0)) { // line 15 yield " "; $context["sum_colspan"] = (($context["sum_colspan"] ?? null) - 1); // line 16 yield " "; } // line 17 yield " <th colspan=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["sum_colspan"] ?? null), "html", null, true); yield "\" class=\"d-print-none\">"; yield _gettext("Sum"); yield "</th> "; // line 18 $context["row_count_sum"] = PhpMyAdmin\Util::formatNumber(($context["sum_entries"] ?? null), 0); // line 19 yield " "; // line 20 yield " "; $context["row_sum_url"] = []; // line 21 yield " "; if (array_key_exists("approx_rows", $context)) { // line 22 yield " "; $context["row_sum_url"] = ["ajax_request" => true, "db" => // line 24 ($context["db"] ?? null), "real_row_count_all" => "true"]; // line 27 yield " "; } // line 28 yield " "; if (($context["approx_rows"] ?? null)) { // line 29 yield " "; $context["cell_text"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) { // line 30 yield "<a href=\""; yield PhpMyAdmin\Url::getFromRoute("/database/structure/real-row-count", ($context["row_sum_url"] ?? null)); yield "\" class=\"ajax row_count_sum\">~"; // line 31 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_count_sum"] ?? null), "html", null, true); // line 32 yield "</a>"; return; yield ''; })())) ? '' : new Markup($tmp, $this->env->getCharset()); // line 34 yield " "; } else { // line 35 yield " "; $context["cell_text"] = ($context["row_count_sum"] ?? null); // line 36 yield " "; } // line 37 yield " <th class=\"value tbl_rows font-monospace text-end\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["cell_text"] ?? null), "html", null, true); yield "</th> "; // line 38 if ( !(($context["properties_num_columns"] ?? null) > 1)) { // line 39 yield " "; // line 40 yield " "; $context["default_engine"] = CoreExtension::getAttribute($this->env, $this->source, ($context["dbi"] ?? null), "fetchValue", ["SELECT @@storage_engine;"], "method", false, false, false, 40); // line 41 yield " "; if (Twig\Extension\CoreExtension::testEmpty(($context["default_engine"] ?? null))) { // line 42 yield " "; // line 43 yield " "; $context["default_engine"] = CoreExtension::getAttribute($this->env, $this->source, ($context["dbi"] ?? null), "fetchValue", ["SELECT @@default_storage_engine;"], "method", false, false, false, 43); // line 44 yield " "; } // line 45 yield " <th class=\"text-center\"> <dfn title=\""; // line 46 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf(_gettext("%s is the default storage engine on this MySQL server."), ($context["default_engine"] ?? null)), "html", null, true); yield "\"> "; // line 47 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["default_engine"] ?? null), "html", null, true); yield " </dfn> </th> <th> "; // line 51 if ( !Twig\Extension\CoreExtension::testEmpty(($context["database_collation"] ?? null))) { // line 52 yield " <dfn title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["database_collation"] ?? null), "description", [], "any", false, false, false, 52), "html", null, true); yield " ("; yield _gettext("Default"); yield ")\"> "; // line 53 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["database_collation"] ?? null), "name", [], "any", false, false, false, 53), "html", null, true); yield " </dfn> "; } // line 56 yield " </th> "; } // line 58 yield " "; // line 59 if (($context["is_show_stats"] ?? null)) { // line 60 yield " "; $context["sum"] = PhpMyAdmin\Util::formatByteDown(($context["sum_size"] ?? null), 3, 1); // line 61 yield " "; $context["sum_formatted"] = (($__internal_compile_0 = ($context["sum"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null); // line 62 yield " "; $context["sum_unit"] = (($__internal_compile_1 = ($context["sum"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null); // line 63 yield " <th class=\"value tbl_size font-monospace text-end\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["sum_formatted"] ?? null), "html", null, true); yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["sum_unit"] ?? null), "html", null, true); yield "</th> "; // line 65 $context["overhead"] = PhpMyAdmin\Util::formatByteDown(($context["overhead_size"] ?? null), 3, 1); // line 66 yield " "; $context["overhead_formatted"] = (($__internal_compile_2 = ($context["overhead"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[0] ?? null) : null); // line 67 yield " "; $context["overhead_unit"] = (($__internal_compile_3 = ($context["overhead"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[1] ?? null) : null); // line 68 yield " <th class=\"value tbl_overhead font-monospace text-end\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["overhead_formatted"] ?? null), "html", null, true); yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["overhead_unit"] ?? null), "html", null, true); yield "</th> "; } // line 70 yield " "; // line 71 if (($context["show_charset"] ?? null)) { // line 72 yield " <th>"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["database_charset"] ?? null), "html", null, true); yield "</th> "; } // line 74 yield " "; if (($context["show_comment"] ?? null)) { // line 75 yield " <th></th> "; } // line 77 yield " "; if (($context["show_creation"] ?? null)) { // line 78 yield " <th class=\"value tbl_creation font-monospace text-end\"> "; // line 79 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["create_time_all"] ?? null), "html", null, true); yield " </th> "; } // line 82 yield " "; if (($context["show_last_update"] ?? null)) { // line 83 yield " <th class=\"value tbl_last_update font-monospace text-end\"> "; // line 84 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["update_time_all"] ?? null), "html", null, true); yield " </th> "; } // line 87 yield " "; if (($context["show_last_check"] ?? null)) { // line 88 yield " <th class=\"value tbl_last_check font-monospace text-end\"> "; // line 89 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["check_time_all"] ?? null), "html", null, true); yield " </th> "; } // line 92 yield "</tr> </tfoot> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/structure/body_for_table_summary.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 273 => 92, 267 => 89, 264 => 88, 261 => 87, 255 => 84, 252 => 83, 249 => 82, 243 => 79, 240 => 78, 237 => 77, 233 => 75, 230 => 74, 224 => 72, 222 => 71, 219 => 70, 211 => 68, 208 => 67, 205 => 66, 203 => 65, 195 => 63, 192 => 62, 189 => 61, 186 => 60, 184 => 59, 181 => 58, 177 => 56, 171 => 53, 164 => 52, 162 => 51, 155 => 47, 151 => 46, 148 => 45, 145 => 44, 142 => 43, 140 => 42, 137 => 41, 134 => 40, 132 => 39, 130 => 38, 125 => 37, 122 => 36, 119 => 35, 116 => 34, 112 => 32, 110 => 31, 106 => 30, 103 => 29, 100 => 28, 97 => 27, 95 => 24, 93 => 22, 90 => 21, 87 => 20, 85 => 19, 83 => 18, 76 => 17, 73 => 16, 70 => 15, 67 => 14, 64 => 13, 58 => 11, 56 => 10, 50 => 8, 46 => 6, 44 => 5, 38 => 1,); } public function getSourceContext() { return new Source("", "database/structure/body_for_table_summary.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/body_for_table_summary.twig"); } } twig/f9/f90f6e52314d682e3c4ddad3fc101361.php 0000644 00000031110 15114741573 0013117 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* config/form_display/display.twig */ class __TwigTemplate_5b5ec1c010f25e780ec704241e8e9883 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 echo "<form method=\"post\" action=\""; echo twig_escape_filter($this->env, ($context["action"] ?? null), "html_attr"); echo "\" class=\"config-form disableAjax\"> <input type=\"hidden\" name=\"tab_hash\" value=\"\"> "; // line 3 if (($context["has_check_page_refresh"] ?? null)) { // line 4 echo " <input type=\"hidden\" name=\"check_page_refresh\" id=\"check_page_refresh\" value=\"\"> "; } // line 6 echo " "; echo PhpMyAdmin\Url::getHiddenInputs("", "", 0, "server"); echo " "; // line 7 echo PhpMyAdmin\Url::getHiddenFields(($context["hidden_fields"] ?? null), "", true); echo " <ul class=\"nav nav-tabs\" id=\"configFormDisplayTab\" role=\"tablist\"> "; // line 10 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($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 echo " <li class=\"nav-item\" role=\"presentation\"> <a class=\"nav-link"; // line 12 echo ((twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 12)) ? (" active") : ("")); echo "\" id=\""; echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "-tab\" href=\"#"; echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "\" data-bs-toggle=\"tab\" role=\"tab\" aria-controls=\""; echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "\" aria-selected=\""; echo ((twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 12)) ? ("true") : ("false")); echo "\">"; echo twig_escape_filter($this->env, $context["name"], "html", null, true); echo "</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 echo " </ul> <div class=\"tab-content\"> "; // line 17 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($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 echo " <div class=\"tab-pane fade"; echo ((twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 18)) ? (" show active") : ("")); echo "\" id=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["form"], "name", [], "any", false, false, false, 18), "html", null, true); echo "\" role=\"tabpanel\" aria-labelledby=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["form"], "name", [], "any", false, false, false, 18), "html", null, true); echo "-tab\"> <div class=\"card border-top-0\"> <div class=\"card-body\"> <h5 class=\"card-title visually-hidden\">"; // line 21 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["form"], "descriptions", [], "any", false, false, false, 21), "name", [], "any", false, false, false, 21), "html", null, true); echo "</h5> "; // line 22 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["form"], "descriptions", [], "any", false, false, false, 22), "desc", [], "any", false, false, false, 22))) { // line 23 echo " <h6 class=\"card-subtitle mb-2 text-muted\">"; echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["form"], "descriptions", [], "any", false, false, false, 23), "desc", [], "any", false, false, false, 23); echo "</h6> "; } // line 25 echo " <fieldset class=\"optbox\"> <legend>"; // line 27 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["form"], "descriptions", [], "any", false, false, false, 27), "name", [], "any", false, false, false, 27), "html", null, true); echo "</legend> "; // line 30 echo " "; if ((twig_test_iterable(twig_get_attribute($this->env, $this->source, $context["form"], "errors", [], "any", false, false, false, 30)) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["form"], "errors", [], "any", false, false, false, 30)) > 0))) { // line 31 echo " <dl class=\"errors\"> "; // line 32 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["form"], "errors", [], "any", false, false, false, 32)); foreach ($context['_seq'] as $context["_key"] => $context["error"]) { // line 33 echo " <dd>"; echo twig_escape_filter($this->env, $context["error"], "html", null, true); echo "</dd> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 35 echo " </dl> "; } // line 37 echo " <table class=\"table table-borderless\"> "; // line 39 echo twig_get_attribute($this->env, $this->source, $context["form"], "fields_html", [], "any", false, false, false, 39); echo " </table> </fieldset> </div> "; // line 44 if (($context["show_buttons"] ?? null)) { // line 45 echo " <div class=\"card-footer\"> <input class=\"btn btn-primary\" type=\"submit\" name=\"submit_save\" value=\""; echo _gettext("Apply"); // line 46 echo "\"> <input class=\"btn btn-secondary\" type=\"button\" name=\"submit_reset\" value=\""; echo _gettext("Reset"); // line 47 echo "\"> </div> "; } // line 50 echo " </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 echo " </div> </form> <script type=\"text/javascript\"> if (typeof configInlineParams === 'undefined' || !Array.isArray(configInlineParams)) { configInlineParams = []; } configInlineParams.push(function () { "; // line 61 echo twig_join_filter(($context["js_array"] ?? null), "; "); echo "; \$.extend(Messages, { 'error_nan_p': '"; // line 64 echo twig_escape_filter($this->env, twig_escape_filter($this->env, _gettext("Not a positive number!"), "js"), "html", null, true); echo "', 'error_nan_nneg': '"; // line 65 echo twig_escape_filter($this->env, twig_escape_filter($this->env, _gettext("Not a non-negative number!"), "js"), "html", null, true); echo "', 'error_incorrect_port': '"; // line 66 echo twig_escape_filter($this->env, twig_escape_filter($this->env, _gettext("Not a valid port number!"), "js"), "html", null, true); echo "', 'error_invalid_value': '"; // line 67 echo twig_escape_filter($this->env, twig_escape_filter($this->env, _gettext("Incorrect value!"), "js"), "html", null, true); echo "', 'error_value_lte': '"; // line 68 echo twig_escape_filter($this->env, twig_escape_filter($this->env, _gettext("Value must be less than or equal to %s!"), "js"), "html", null, true); echo "', }); \$.extend(defaultValues, { "; // line 72 echo twig_join_filter(($context["js_default"] ?? null), ", "); echo " }); }); if (typeof configScriptLoaded !== 'undefined' && configInlineParams) { loadInlineConfig(); } </script> "; } public function getTemplateName() { return "config/form_display/display.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 266 => 72, 259 => 68, 255 => 67, 251 => 66, 247 => 65, 243 => 64, 236 => 61, 226 => 53, 210 => 50, 205 => 47, 201 => 46, 197 => 45, 195 => 44, 187 => 39, 183 => 37, 179 => 35, 170 => 33, 166 => 32, 163 => 31, 160 => 30, 155 => 27, 151 => 25, 145 => 23, 143 => 22, 139 => 21, 128 => 18, 111 => 17, 107 => 15, 80 => 12, 77 => 11, 60 => 10, 54 => 7, 49 => 6, 45 => 4, 43 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "config/form_display/display.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/config/form_display/display.twig"); } } twig/f9/f9baa3b566ecbf25f25bd6ada531347b.php 0000644 00000003632 15114741573 0013430 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* filter.twig */ class __TwigTemplate_abccd3a003c111f84b2f7071ce6e3b3e 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 echo "<div class=\"card mb-3\" id=\"tableFilter\"> <div class=\"card-header\">"; echo _gettext("Filters"); // line 2 echo "</div> <div class=\"card-body row row-cols-lg-auto gy-1 gx-3 align-items-center\"> <label class=\"col-12 col-form-label\" for=\"filterText\">"; echo _gettext("Containing the word:"); // line 4 echo "</label> <div class=\"col-12\"> <input class=\"form-control\" name=\"filterText\" type=\"text\" id=\"filterText\" value=\""; // line 6 echo twig_escape_filter($this->env, ($context["filter_value"] ?? null), "html", null, true); echo "\"> </div> </div> </div> "; } public function getTemplateName() { return "filter.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 50 => 6, 46 => 4, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "filter.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/filter.twig"); } } twig/87/8775c1dc0b47d604cd95eebe1c4899c3.php 0000644 00000020371 15114741573 0013156 0 ustar 00 <?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; /* database/export/index.twig */ class __TwigTemplate_a631ea3fb109507ab914d6437679d5dc extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'title' => [$this, 'block_title'], 'selection_options' => [$this, 'block_selection_options'], ]; } protected function doGetParent(array $context) { // line 1 return "export.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 60 $context["filename_hint"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) { // line 61 yield " "; yield _gettext("@SERVER@ will become the server name and @DATABASE@ will become the database name."); return; yield ''; })())) ? '' : new Markup($tmp, $this->env->getCharset()); // line 1 $this->parent = $this->loadTemplate("export.twig", "database/export/index.twig", 1); yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_title($context, array $blocks = []) { $macros = $this->macros; // line 4 yield " "; if ((($context["export_type"] ?? null) == "raw")) { // line 5 yield " "; // l10n: A query that the user has written freely yield _gettext("Exporting a raw query"); // line 6 yield " "; } else { // line 7 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf(_gettext("Exporting tables from \"%s\" database"), ($context["db"] ?? null)), "html", null, true); yield " "; } return; yield ''; } // line 11 public function block_selection_options($context, array $blocks = []) { $macros = $this->macros; // line 12 yield " "; if ((($context["export_type"] ?? null) != "raw")) { // line 13 yield " <div class=\"card mb-3\" id=\"databases_and_tables\"> <div class=\"card-header\">"; yield _gettext("Tables:"); // line 14 yield "</div> <div class=\"card-body\" style=\"overflow-y: scroll; max-height: 20em;\"> <input type=\"hidden\" name=\"structure_or_data_forced\" value=\""; // line 16 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["structure_or_data_forced"] ?? null), "html", null, true); yield "\"> <table class=\"table table-sm table-striped table-hover export_table_select\"> <thead> <tr> <th></th> <th>"; yield _gettext("Tables"); // line 22 yield "</th> <th class=\"export_structure text-center\">"; yield _gettext("Structure"); // line 23 yield "</th> <th class=\"export_data text-center\">"; yield _gettext("Data"); // line 24 yield "</th> </tr> <tr> <td></td> <td class=\"align-middle\">"; yield _gettext("Select all"); // line 28 yield "</td> <td class=\"export_structure text-center\"> <input type=\"checkbox\" id=\"table_structure_all\" aria-label=\""; yield _gettext("Export the structure of all tables."); // line 30 yield "\"> </td> <td class=\"export_data text-center\"> <input type=\"checkbox\" id=\"table_data_all\" aria-label=\""; yield _gettext("Export the data of all tables."); // line 33 yield "\"> </td> </tr> </thead> <tbody> "; // line 39 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["tables"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["each_table"]) { // line 40 yield " <tr class=\"marked\"> <td> <input class=\"checkall\" type=\"checkbox\" name=\"table_select[]\" value=\""; // line 42 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["each_table"], "name", [], "any", false, false, false, 42), "html", null, true); yield "\""; yield ((CoreExtension::getAttribute($this->env, $this->source, $context["each_table"], "is_checked_select", [], "any", false, false, false, 42)) ? (" checked") : ("")); yield "> </td> <td class=\"align-middle text-nowrap\">"; // line 44 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["each_table"], "name", [], "any", false, false, false, 44), "html", null, true); yield "</td> <td class=\"export_structure text-center\"> <input type=\"checkbox\" name=\"table_structure[]\" value=\""; // line 46 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["each_table"], "name", [], "any", false, false, false, 46), "html", null, true); yield "\""; yield ((CoreExtension::getAttribute($this->env, $this->source, $context["each_table"], "is_checked_structure", [], "any", false, false, false, 46)) ? (" checked") : ("")); yield "> </td> <td class=\"export_data text-center\"> <input type=\"checkbox\" name=\"table_data[]\" value=\""; // line 49 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["each_table"], "name", [], "any", false, false, false, 49), "html", null, true); yield "\""; yield ((CoreExtension::getAttribute($this->env, $this->source, $context["each_table"], "is_checked_data", [], "any", false, false, false, 49)) ? (" checked") : ("")); yield "> </td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['each_table'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 53 yield " </tbody> </table> </div> </div> "; } return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/export/index.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 178 => 53, 166 => 49, 158 => 46, 153 => 44, 146 => 42, 142 => 40, 138 => 39, 130 => 33, 124 => 30, 119 => 28, 112 => 24, 108 => 23, 104 => 22, 94 => 16, 90 => 14, 86 => 13, 83 => 12, 79 => 11, 70 => 7, 67 => 6, 63 => 5, 60 => 4, 56 => 3, 51 => 1, 46 => 61, 44 => 60, 37 => 1,); } public function getSourceContext() { return new Source("", "database/export/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/export/index.twig"); } } twig/f6/f6dc6f914387ea34f7ad9aba21f93c51.php 0000644 00000005607 15114741573 0013312 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/table_navigation_button.twig */ class __TwigTemplate_5c374806bfae443ad96ce8f5b8b59107 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 echo "<td> <form action=\""; // line 2 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" method=\"post\" "; echo ($context["onsubmit"] ?? null); echo "> "; // line 3 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"sql_query\" value=\""; // line 4 echo ($context["sql_query"] ?? null); echo "\"> <input type=\"hidden\" name=\"pos\" value=\""; // line 5 echo twig_escape_filter($this->env, ($context["pos"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" name=\"is_browse_distinct\" value=\""; // line 6 echo twig_escape_filter($this->env, ($context["is_browse_distinct"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" name=\"goto\" value=\""; // line 7 echo twig_escape_filter($this->env, ($context["goto"] ?? null), "html", null, true); echo "\"> "; // line 8 echo ($context["input_for_real_end"] ?? null); echo " <input type=\"submit\" name=\"navig\" class=\"btn btn-secondary ajax\" value=\""; // line 9 echo ($context["caption_output"] ?? null); echo "\" title=\""; echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true); echo "\"> </form> </td> "; } public function getTemplateName() { return "display/results/table_navigation_button.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 70 => 9, 66 => 8, 62 => 7, 58 => 6, 54 => 5, 50 => 4, 46 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/table_navigation_button.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/table_navigation_button.twig"); } } twig/f1/f1305e2fd0ad0989b8981dc56b39e3ef.php 0000644 00000051711 15114741573 0013227 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* sql/query.twig */ class __TwigTemplate_9cd81adfcdbd148abcd27557d21e396f 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 echo "<form method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/import"); echo "\" class=\"ajax lock-page\" id=\"sqlqueryform\" name=\"sqlform\""; // line 2 echo ((($context["is_upload"] ?? null)) ? (" enctype=\"multipart/form-data\"") : ("")); echo "> "; // line 3 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"is_js_confirmed\" value=\"0\"> <input type=\"hidden\" name=\"pos\" value=\"0\"> <input type=\"hidden\" name=\"goto\" value=\""; // line 6 echo twig_escape_filter($this->env, ($context["goto"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" name=\"message_to_show\" value=\""; echo _gettext("Your SQL query has been executed successfully."); // line 7 echo "\"> <input type=\"hidden\" name=\"prev_sql_query\" value=\""; // line 8 echo twig_escape_filter($this->env, ($context["query"] ?? null), "html", null, true); echo "\"> "; // line 10 if (((($context["display_tab"] ?? null) == "full") || (($context["display_tab"] ?? null) == "sql"))) { // line 11 echo " <a id=\"querybox\"></a> <div class=\"card mb-3\"> <div class=\"card-header\">"; // line 14 echo ($context["legend"] ?? null); echo "</div> <div class=\"card-body\"> <div id=\"queryfieldscontainer\"> <div class=\"row\"> <div class=\"col\"> <div class=\"mb-3\"> <textarea class=\"form-control\" tabindex=\"100\" name=\"sql_query\" id=\"sqlquery\" cols=\""; // line 20 echo twig_escape_filter($this->env, ($context["textarea_cols"] ?? null), "html", null, true); echo "\" rows=\""; echo twig_escape_filter($this->env, ($context["textarea_rows"] ?? null), "html", null, true); echo "\" data-textarea-auto-select=\""; echo ((($context["textarea_auto_select"] ?? null)) ? ("true") : ("false")); echo "\" aria-label=\""; echo _gettext("SQL query"); echo "\">"; // line 21 echo twig_escape_filter($this->env, ($context["query"] ?? null), "html", null, true); // line 22 echo "</textarea> </div> <div id=\"querymessage\"></div> <div class=\"btn-toolbar\" role=\"toolbar\"> "; // line 27 if ( !twig_test_empty(($context["columns_list"] ?? null))) { // line 28 echo " <div class=\"btn-group me-2\" role=\"group\"> <input type=\"button\" value=\"SELECT *\" id=\"selectall\" class=\"btn btn-secondary button sqlbutton\"> <input type=\"button\" value=\"SELECT\" id=\"select\" class=\"btn btn-secondary button sqlbutton\"> <input type=\"button\" value=\"INSERT\" id=\"insert\" class=\"btn btn-secondary button sqlbutton\"> <input type=\"button\" value=\"UPDATE\" id=\"update\" class=\"btn btn-secondary button sqlbutton\"> <input type=\"button\" value=\"DELETE\" id=\"delete\" class=\"btn btn-secondary button sqlbutton\"> </div> "; } // line 36 echo " <div class=\"btn-group me-2\" role=\"group\"> <input type=\"button\" value=\""; echo _gettext("Clear"); // line 38 echo "\" id=\"clear\" class=\"btn btn-secondary button sqlbutton\"> "; // line 39 if (($context["codemirror_enable"] ?? null)) { // line 40 echo " <input type=\"button\" value=\""; echo _gettext("Format"); echo "\" id=\"format\" class=\"btn btn-secondary button sqlbutton\"> "; } // line 42 echo " </div> <input type=\"button\" value=\""; echo _gettext("Get auto-saved query"); // line 44 echo "\" id=\"saved\" class=\"btn btn-secondary button sqlbutton\"> </div> <div class=\"my-3\"> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"parameterized\" id=\"parameterized\"> <label class=\"form-check-label\" for=\"parameterized\"> "; // l10n: Bind parameters in the SQL query using :parameterName format echo _gettext("Bind parameters"); // line 52 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-40"); echo " </label> </div> </div> <div class=\"mb-3\" id=\"parametersDiv\"></div> </div> "; // line 59 if ( !twig_test_empty(($context["columns_list"] ?? null))) { // line 60 echo " <div class=\"col-xl-2 col-lg-3\"> <div class=\"mb-3\"> <label class=\"visually-hidden\" for=\"fieldsSelect\">"; echo _gettext("Columns"); // line 62 echo "</label> <select class=\"form-select resize-vertical\" id=\"fieldsSelect\" name=\"dummy\" size=\""; // line 63 echo twig_escape_filter($this->env, ($context["textarea_rows"] ?? null), "html", null, true); echo "\" ondblclick=\"Functions.insertValueQuery()\" multiple> "; // line 64 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["columns_list"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["field"]) { // line 65 echo " <option value=\""; echo twig_escape_filter($this->env, PhpMyAdmin\Util::backquote((($__internal_compile_0 = $context["field"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["Field"] ?? null) : null)), "html", null, true); echo "\""; // line 66 (((( !(null === (($__internal_compile_1 = $context["field"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["Field"] ?? null) : null)) && !(null === (($__internal_compile_2 = $context["field"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["Comment"] ?? null) : null))) && (twig_length_filter($this->env, (($__internal_compile_3 = $context["field"]) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["Field"] ?? null) : null)) > 0))) ? (print (twig_escape_filter($this->env, ((" title=\"" . (($__internal_compile_4 = $context["field"]) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["Comment"] ?? null) : null)) . "\""), "html", null, true))) : (print (""))); echo "> "; // line 67 echo twig_escape_filter($this->env, (($__internal_compile_5 = $context["field"]) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["Field"] ?? null) : null), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 70 echo " </select> </div> <input type=\"button\" class=\"btn btn-secondary button\" id=\"insertBtn\" name=\"insert\" value=\""; // line 74 if (PhpMyAdmin\Util::showIcons("ActionLinksMode")) { echo "<<"; echo "\" title=\""; } echo _gettext("Insert"); // line 75 echo "\"> </div> "; } // line 78 echo " </div> </div> "; // line 81 if (($context["has_bookmark"] ?? null)) { // line 82 echo " <div class=\"row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-6\"> <label class=\"form-label\" for=\"bkm_label\">"; echo _gettext("Bookmark this SQL query:"); // line 84 echo "</label> </div> <div class=\"col-6\"> <input class=\"form-control\" type=\"text\" name=\"bkm_label\" id=\"bkm_label\" tabindex=\"110\" value=\"\"> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"bkm_all_users\" tabindex=\"111\" id=\"id_bkm_all_users\" value=\"true\"> <label class=\"form-check-label\" for=\"id_bkm_all_users\">"; echo _gettext("Let every user access this bookmark"); // line 93 echo "</label> </div> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"bkm_replace\" tabindex=\"112\" id=\"id_bkm_replace\" value=\"true\"> <label class=\"form-check-label\" for=\"id_bkm_replace\">"; echo _gettext("Replace existing bookmark of same name"); // line 100 echo "</label> </div> </div> </div> "; } // line 105 echo " </div> <div class=\"card-footer\"> <div class=\"row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-12\"> <div class=\"input-group me-2\"> <span class=\"input-group-text\">"; echo _gettext("Delimiter"); // line 110 echo "</span> <label class=\"visually-hidden\" for=\"id_sql_delimiter\">"; echo _gettext("Delimiter"); // line 111 echo "</label> <input class=\"form-control\" type=\"text\" name=\"sql_delimiter\" tabindex=\"131\" size=\"3\" value=\""; // line 112 echo twig_escape_filter($this->env, ($context["delimiter"] ?? null), "html", null, true); echo "\" id=\"id_sql_delimiter\"> </div> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"show_query\" value=\"1\" id=\"checkbox_show_query\" tabindex=\"132\"> <label class=\"form-check-label\" for=\"checkbox_show_query\">"; echo _gettext("Show this query here again"); // line 119 echo "</label> </div> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"retain_query_box\" value=\"1\" id=\"retain_query_box\" tabindex=\"133\""; // line 126 echo ((($context["retain_query_box"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"retain_query_box\">"; echo _gettext("Retain query box"); // line 127 echo "</label> </div> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"rollback_query\" value=\"1\" id=\"rollback_query\" tabindex=\"134\"> <label class=\"form-check-label\" for=\"rollback_query\">"; echo _gettext("Rollback when finished"); // line 134 echo "</label> </div> </div> <div class=\"col-12\"> <div class=\"form-check\"> <input type=\"hidden\" name=\"fk_checks\" value=\"0\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"fk_checks\" id=\"fk_checks\" value=\"1\""; // line 141 echo ((($context["is_foreign_key_check"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"fk_checks\">"; echo _gettext("Enable foreign key checks"); // line 142 echo "</label> </div> </div> <div class=\"col-12\"> <input class=\"btn btn-primary ms-1\" type=\"submit\" id=\"button_submit_query\" name=\"SQL\" tabindex=\"200\" value=\""; echo _gettext("Go"); // line 147 echo "\"> </div> </div> </div> </div> "; } // line 153 echo " "; // line 154 if (((($context["display_tab"] ?? null) == "full") && !twig_test_empty(($context["bookmarks"] ?? null)))) { // line 155 echo " <div class=\"card mb-3\"> <div class=\"card-header\">"; echo _gettext("Bookmarked SQL query"); // line 156 echo "</div> <div class=\"card-body\"> <div class=\"row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-6\"> <label class=\"form-label\" for=\"id_bookmark\">"; echo _gettext("Bookmark:"); // line 160 echo "</label> </div> <div class=\"col-6\"> <select class=\"form-select\" name=\"id_bookmark\" id=\"id_bookmark\"> <option value=\"\"> </option> "; // line 165 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["bookmarks"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["bookmark"]) { // line 166 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["bookmark"], "id", [], "any", false, false, false, 166), "html", null, true); echo "\" data-varcount=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["bookmark"], "variable_count", [], "any", false, false, false, 166), "html", null, true); echo "\"> "; // line 167 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["bookmark"], "label", [], "any", false, false, false, 167), "html", null, true); echo " "; // line 168 if (twig_get_attribute($this->env, $this->source, $context["bookmark"], "is_shared", [], "any", false, false, false, 168)) { // line 169 echo " ("; echo _gettext("shared"); echo ") "; } // line 171 echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bookmark'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 173 echo " </select> </div> <div class=\"form-check form-check-inline col-12\"> <input class=\"form-check-input\" type=\"radio\" name=\"action_bookmark\" value=\"0\" id=\"radio_bookmark_exe\" checked> <label class=\"form-check-label\" for=\"radio_bookmark_exe\">"; echo _gettext("Submit"); // line 178 echo "</label> </div> <div class=\"form-check form-check-inline col-12\"> <input class=\"form-check-input\" type=\"radio\" name=\"action_bookmark\" value=\"1\" id=\"radio_bookmark_view\"> <label class=\"form-check-label\" for=\"radio_bookmark_view\">"; echo _gettext("View only"); // line 182 echo "</label> </div> <div class=\"form-check form-check-inline col-12\"> <input class=\"form-check-input\" type=\"radio\" name=\"action_bookmark\" value=\"2\" id=\"radio_bookmark_del\"> <label class=\"form-check-label\" for=\"radio_bookmark_del\">"; echo _gettext("Delete"); // line 186 echo "</label> </div> </div> <div class=\"hide\"> "; echo _gettext("Variables"); // line 192 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faqbookmark"); echo " <div class=\"row row-cols-auto\" id=\"bookmarkVariables\"></div> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-secondary\" type=\"submit\" name=\"SQL\" id=\"button_submit_bookmark\" value=\""; echo _gettext("Go"); // line 198 echo "\"> </div> </div> "; } // line 202 echo " "; // line 203 if (($context["can_convert_kanji"] ?? null)) { // line 204 echo " <div class=\"card mb-3\"> <div class=\"card-body\"> "; // line 206 $this->loadTemplate("encoding/kanji_encoding_form.twig", "sql/query.twig", 206)->display($context); // line 207 echo " </div> </div> "; } // line 210 echo "</form> <div id=\"sqlqueryresultsouter\"></div> <div class=\"modal fade\" id=\"simulateDmlModal\" tabindex=\"-1\" aria-labelledby=\"simulateDmlModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"simulateDmlModalLabel\">"; echo _gettext("Simulate query"); // line 218 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 219 echo "\"></button> </div> <div class=\"modal-body\"> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 224 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "sql/query.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 463 => 224, 455 => 219, 451 => 218, 440 => 210, 435 => 207, 433 => 206, 429 => 204, 427 => 203, 424 => 202, 418 => 198, 407 => 192, 399 => 186, 392 => 182, 385 => 178, 377 => 173, 370 => 171, 364 => 169, 362 => 168, 358 => 167, 351 => 166, 347 => 165, 340 => 160, 333 => 156, 329 => 155, 327 => 154, 324 => 153, 316 => 147, 308 => 142, 303 => 141, 294 => 134, 284 => 127, 279 => 126, 271 => 119, 260 => 112, 257 => 111, 253 => 110, 245 => 105, 238 => 100, 228 => 93, 216 => 84, 211 => 82, 209 => 81, 204 => 78, 199 => 75, 193 => 74, 188 => 70, 179 => 67, 175 => 66, 171 => 65, 167 => 64, 163 => 63, 160 => 62, 155 => 60, 153 => 59, 142 => 52, 131 => 44, 126 => 42, 120 => 40, 118 => 39, 115 => 38, 110 => 36, 100 => 28, 98 => 27, 91 => 22, 89 => 21, 80 => 20, 71 => 14, 66 => 11, 64 => 10, 59 => 8, 56 => 7, 51 => 6, 45 => 3, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "sql/query.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/sql/query.twig"); } } twig/4a/4a3c52a92a18817df906b05974d44c63.php 0000644 00000017361 15114741573 0012716 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/check_all_tables.twig */ class __TwigTemplate_fe12d6ca19ecbcdb1f0476a89680f3d2 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 echo "<div class=\"clearfloat d-print-none\"> <img class=\"selectallarrow\" src=\""; // line 2 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath((("arrow_" . ($context["text_dir"] ?? null)) . ".png")), "html", null, true); echo "\" width=\"38\" height=\"22\" alt=\""; echo _gettext("With selected:"); echo "\"> <input type=\"checkbox\" id=\"tablesForm_checkall\" class=\"checkall_box\" title=\""; echo _gettext("Check all"); // line 3 echo "\"> <label for=\"tablesForm_checkall\">"; echo _gettext("Check all"); // line 4 echo "</label> "; // line 5 if ((($context["overhead_check"] ?? null) != "")) { // line 6 echo " / <a href=\"#\" class=\"checkall-filter\" data-checkall-selector=\".tbl-overhead\">"; echo _gettext("Check tables having overhead"); echo "</a> "; } // line 8 echo " <select name=\"submit_mult\" style=\"margin: 0 3em 0 3em;\"> <option value=\""; echo _gettext("With selected:"); // line 9 echo "\" selected=\"selected\">"; echo _gettext("With selected:"); echo "</option> <option value=\"copy_tbl\">"; echo _gettext("Copy table"); // line 10 echo "</option> <option value=\"show_create\">"; echo _gettext("Show create"); // line 11 echo "</option> <option value=\"export\">"; echo _gettext("Export"); // line 12 echo "</option> "; // line 13 if (( !($context["db_is_system_schema"] ?? null) && !($context["disable_multi_table"] ?? null))) { // line 14 echo " <optgroup label=\""; echo _gettext("Delete data or table"); echo "\"> <option value=\"empty_tbl\">"; echo _gettext("Empty"); // line 15 echo "</option> <option value=\"drop_tbl\">"; echo _gettext("Drop"); // line 16 echo "</option> </optgroup> <optgroup label=\""; echo _gettext("Table maintenance"); // line 18 echo "\"> <option value=\"analyze_tbl\">"; echo _gettext("Analyze table"); // line 19 echo "</option> <option value=\"check_tbl\">"; echo _gettext("Check table"); // line 20 echo "</option> <option value=\"checksum_tbl\">"; echo _gettext("Checksum table"); // line 21 echo "</option> <option value=\"optimize_tbl\">"; echo _gettext("Optimize table"); // line 22 echo "</option> <option value=\"repair_tbl\">"; echo _gettext("Repair table"); // line 23 echo "</option> </optgroup> <optgroup label=\""; echo _gettext("Prefix"); // line 25 echo "\"> <option value=\"add_prefix_tbl\">"; echo _gettext("Add prefix to table"); // line 26 echo "</option> <option value=\"replace_prefix_tbl\">"; echo _gettext("Replace table prefix"); // line 27 echo "</option> <option value=\"copy_tbl_change_prefix\">"; echo _gettext("Copy table with prefix"); // line 28 echo "</option> </optgroup> "; } // line 31 echo " "; if ((array_key_exists("central_columns_work", $context) && ($context["central_columns_work"] ?? null))) { // line 32 echo " <optgroup label=\""; echo _gettext("Central columns"); echo "\"> <option value=\"sync_unique_columns_central_list\">"; echo _gettext("Add columns to central list"); // line 33 echo "</option> <option value=\"delete_unique_columns_central_list\">"; echo _gettext("Remove columns from central list"); // line 34 echo "</option> <option value=\"make_consistent_with_central_list\">"; echo _gettext("Make consistent with central list"); // line 35 echo "</option> </optgroup> "; } // line 38 echo " </select> "; // line 39 echo twig_join_filter(($context["hidden_fields"] ?? null), " "); echo " </div> "; // line 42 if ((array_key_exists("central_columns_work", $context) && ($context["central_columns_work"] ?? null))) { // line 43 echo " <div class=\"modal fade\" id=\"makeConsistentWithCentralListModal\" data-bs-backdrop=\"static\" data-bs-keyboard=\"false\" tabindex=\"-1\" aria-labelledby=\"makeConsistentWithCentralListModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog modal-dialog-centered\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"makeConsistentWithCentralListModalLabel\">"; echo _gettext("Are you sure?"); // line 48 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Cancel"); // line 49 echo "\"></button> </div> <div class=\"modal-body\"> "; // line 52 echo PhpMyAdmin\Sanitize::sanitizeMessage(_gettext("This action may change some of the columns definition.[br]Are you sure you want to continue?")); echo " </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Cancel"); // line 55 echo "</button> <button type=\"button\" class=\"btn btn-primary\" id=\"makeConsistentWithCentralListContinue\">"; echo _gettext("Continue"); // line 56 echo "</button> </div> </div> </div> </div> "; } } public function getTemplateName() { return "database/structure/check_all_tables.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 204 => 56, 200 => 55, 193 => 52, 188 => 49, 184 => 48, 176 => 43, 174 => 42, 167 => 39, 164 => 38, 159 => 35, 155 => 34, 151 => 33, 145 => 32, 142 => 31, 137 => 28, 133 => 27, 129 => 26, 125 => 25, 120 => 23, 116 => 22, 112 => 21, 108 => 20, 104 => 19, 100 => 18, 95 => 16, 91 => 15, 85 => 14, 83 => 13, 80 => 12, 76 => 11, 72 => 10, 66 => 9, 62 => 8, 56 => 6, 54 => 5, 51 => 4, 47 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/check_all_tables.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/check_all_tables.twig"); } } twig/4a/4a7245a6602162152314c64c2a8b7abe.php 0000644 00000065435 15114741573 0012672 0 ustar 00 <?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; /* table/structure/display_partitions.twig */ class __TwigTemplate_18df9eb3f2fa5810b045eea344935488 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=\"partitions\"> <fieldset class=\"pma-fieldset\"> <legend> "; yield _gettext("Partitions"); // line 5 yield " "; yield PhpMyAdmin\Html\MySQLDocumentation::show("partitioning"); yield " </legend> "; // line 7 if (Twig\Extension\CoreExtension::testEmpty(($context["partitions"] ?? null))) { // line 8 yield " "; yield $this->env->getFilter('notice')->getCallable()(_gettext("No partitioning defined!")); yield " "; } else { // line 10 yield " <p> "; yield _gettext("Partitioned by:"); // line 12 yield " <code>"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["partition_method"] ?? null), "html", null, true); yield "("; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["partition_expression"] ?? null), "html", null, true); yield ")</code> </p> "; // line 14 if (($context["has_sub_partitions"] ?? null)) { // line 15 yield " <p> "; yield _gettext("Sub partitioned by:"); // line 17 yield " <code>"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["sub_partition_method"] ?? null), "html", null, true); yield "("; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["sub_partition_expression"] ?? null), "html", null, true); yield ")</code> <p> "; } // line 20 yield " <table class=\"table table-striped table-hover table-sm\"> <thead> <tr> <th colspan=\"2\">#</th> <th>"; yield _gettext("Partition"); // line 24 yield "</th> "; // line 25 if (($context["has_description"] ?? null)) { // line 26 yield " <th>"; yield _gettext("Expression"); yield "</th> "; } // line 28 yield " <th>"; yield _gettext("Rows"); yield "</th> <th>"; yield _gettext("Data length"); // line 29 yield "</th> <th>"; yield _gettext("Index length"); // line 30 yield "</th> <th>"; yield _gettext("Comment"); // line 31 yield "</th> <th colspan=\""; // line 32 yield ((($context["range_or_list"] ?? null)) ? ("7") : ("6")); yield "\"> "; yield _gettext("Action"); // line 34 yield " </th> </tr> </thead> <tbody> "; // line 38 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["partitions"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["partition"]) { // line 39 yield " <tr class=\"noclick"; yield ((($context["has_sub_partitions"] ?? null)) ? (" table-active") : ("")); yield "\"> "; // line 40 if (($context["has_sub_partitions"] ?? null)) { // line 41 yield " <td>"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getOrdinal", [], "method", false, false, false, 41), "html", null, true); yield "</td> <td></td> "; } else { // line 44 yield " <td colspan=\"2\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getOrdinal", [], "method", false, false, false, 44), "html", null, true); yield "</td> "; } // line 46 yield " <th>"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getName", [], "method", false, false, false, 46), "html", null, true); yield "</th> "; // line 47 if (($context["has_description"] ?? null)) { // line 48 yield " <td> <code>"; // line 50 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getExpression", [], "method", false, false, false, 50), "html", null, true); // line 51 yield (((CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getMethod", [], "method", false, false, false, 51) == "LIST")) ? (" IN (") : (" < ")); // line 52 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getDescription", [], "method", false, false, false, 52), "html", null, true); // line 53 yield (((CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getMethod", [], "method", false, false, false, 53) == "LIST")) ? (")") : ("")); // line 54 yield "</code> </td> "; } // line 57 yield " <td class=\"value\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getRows", [], "method", false, false, false, 57), "html", null, true); yield "</td> <td class=\"value\"> "; // line 59 $context["data_length"] = PhpMyAdmin\Util::formatByteDown(CoreExtension::getAttribute($this->env, $this->source, // line 60 $context["partition"], "getDataLength", [], "method", false, false, false, 60), 3, 1); // line 64 yield " <span>"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_0 = ($context["data_length"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true); yield "</span> <span class=\"unit\">"; // line 65 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_1 = ($context["data_length"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null), "html", null, true); yield "</span> </td> <td class=\"value\"> "; // line 68 $context["index_length"] = PhpMyAdmin\Util::formatByteDown(CoreExtension::getAttribute($this->env, $this->source, // line 69 $context["partition"], "getIndexLength", [], "method", false, false, false, 69), 3, 1); // line 73 yield " <span>"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_2 = ($context["index_length"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[0] ?? null) : null), "html", null, true); yield "</span> <span class=\"unit\">"; // line 74 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_3 = ($context["index_length"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[1] ?? null) : null), "html", null, true); yield "</span> </td> <td>"; // line 76 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getComment", [], "method", false, false, false, 76), "html", null, true); yield "</td> <td> <a id=\"partition_action_ANALYZE\" class=\"ajax\" href=\""; // line 79 yield PhpMyAdmin\Url::getFromRoute("/table/partition/analyze"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 80 ($context["db"] ?? null), "table" => // line 81 ($context["table"] ?? null), "partition_name" => CoreExtension::getAttribute($this->env, $this->source, // line 82 $context["partition"], "getName", [], "method", false, false, false, 82)], "", false); // line 83 yield "\"> "; // line 84 yield PhpMyAdmin\Html\Generator::getIcon("b_search", _gettext("Analyze")); yield " </a> </td> <td> <a id=\"partition_action_CHECK\" class=\"ajax\" href=\""; // line 89 yield PhpMyAdmin\Url::getFromRoute("/table/partition/check"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 90 ($context["db"] ?? null), "table" => // line 91 ($context["table"] ?? null), "partition_name" => CoreExtension::getAttribute($this->env, $this->source, // line 92 $context["partition"], "getName", [], "method", false, false, false, 92)], "", false); // line 93 yield "\"> "; // line 94 yield PhpMyAdmin\Html\Generator::getIcon("eye", _gettext("Check")); yield " </a> </td> <td> <a id=\"partition_action_OPTIMIZE\" class=\"ajax\" href=\""; // line 99 yield PhpMyAdmin\Url::getFromRoute("/table/partition/optimize"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 100 ($context["db"] ?? null), "table" => // line 101 ($context["table"] ?? null), "partition_name" => CoreExtension::getAttribute($this->env, $this->source, // line 102 $context["partition"], "getName", [], "method", false, false, false, 102)], "", false); // line 103 yield "\"> "; // line 104 yield PhpMyAdmin\Html\Generator::getIcon("normalize", _gettext("Optimize")); yield " </a> </td> <td> <a id=\"partition_action_REBUILD\" class=\"ajax\" href=\""; // line 109 yield PhpMyAdmin\Url::getFromRoute("/table/partition/rebuild"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 110 ($context["db"] ?? null), "table" => // line 111 ($context["table"] ?? null), "partition_name" => CoreExtension::getAttribute($this->env, $this->source, // line 112 $context["partition"], "getName", [], "method", false, false, false, 112)], "", false); // line 113 yield "\"> "; // line 114 yield PhpMyAdmin\Html\Generator::getIcon("s_tbl", _gettext("Rebuild")); yield " </a> </td> <td> <a id=\"partition_action_REPAIR\" class=\"ajax\" href=\""; // line 119 yield PhpMyAdmin\Url::getFromRoute("/table/partition/repair"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 120 ($context["db"] ?? null), "table" => // line 121 ($context["table"] ?? null), "partition_name" => CoreExtension::getAttribute($this->env, $this->source, // line 122 $context["partition"], "getName", [], "method", false, false, false, 122)], "", false); // line 123 yield "\"> "; // line 124 yield PhpMyAdmin\Html\Generator::getIcon("b_tblops", _gettext("Repair")); yield " </a> </td> <td> <a id=\"partition_action_TRUNCATE\" class=\"ajax\" href=\""; // line 129 yield PhpMyAdmin\Url::getFromRoute("/table/partition/truncate"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 130 ($context["db"] ?? null), "table" => // line 131 ($context["table"] ?? null), "partition_name" => CoreExtension::getAttribute($this->env, $this->source, // line 132 $context["partition"], "getName", [], "method", false, false, false, 132)], "", false); // line 133 yield "\"> "; // line 134 yield PhpMyAdmin\Html\Generator::getIcon("b_empty", _gettext("Truncate")); yield " </a> </td> "; // line 138 if (($context["range_or_list"] ?? null)) { // line 139 yield " <td> <a id=\"partition_action_DROP\" class=\"ajax\" href=\""; // line 140 yield PhpMyAdmin\Url::getFromRoute("/table/partition/drop"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 141 ($context["db"] ?? null), "table" => // line 142 ($context["table"] ?? null), "partition_name" => CoreExtension::getAttribute($this->env, $this->source, // line 143 $context["partition"], "getName", [], "method", false, false, false, 143)], "", false); // line 144 yield "\"> "; // line 145 yield PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); yield " </a> </td> "; } // line 149 yield " "; // line 150 if (($context["has_sub_partitions"] ?? null)) { // line 151 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getSubPartitions", [], "method", false, false, false, 151)); foreach ($context['_seq'] as $context["_key"] => $context["sub_partition"]) { // line 152 yield " <tr class=\"noclick\"> <td></td> <td>"; // line 154 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["sub_partition"], "getOrdinal", [], "method", false, false, false, 154), "html", null, true); yield "</td> <td>"; // line 155 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["sub_partition"], "getName", [], "method", false, false, false, 155), "html", null, true); yield "</td> "; // line 156 if (($context["has_description"] ?? null)) { // line 157 yield " <td></td> "; } // line 159 yield " <td class=\"value\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["sub_partition"], "getRows", [], "method", false, false, false, 159), "html", null, true); yield "</td> <td class=\"value\"> "; // line 161 $context["data_length"] = PhpMyAdmin\Util::formatByteDown(CoreExtension::getAttribute($this->env, $this->source, // line 162 $context["sub_partition"], "getDataLength", [], "method", false, false, false, 162), 3, 1); // line 166 yield " <span>"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_4 = ($context["data_length"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4[0] ?? null) : null), "html", null, true); yield "</span> <span class=\"unit\">"; // line 167 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_5 = ($context["data_length"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[1] ?? null) : null), "html", null, true); yield "</span> </td> <td class=\"value\"> "; // line 170 $context["index_length"] = PhpMyAdmin\Util::formatByteDown(CoreExtension::getAttribute($this->env, $this->source, // line 171 $context["sub_partition"], "getIndexLength", [], "method", false, false, false, 171), 3, 1); // line 175 yield " <span>"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_6 = ($context["index_length"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6[0] ?? null) : null), "html", null, true); yield "</span> <span class=\"unit\">"; // line 176 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_7 = ($context["index_length"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7[1] ?? null) : null), "html", null, true); yield "</span> </td> <td>"; // line 178 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["sub_partition"], "getComment", [], "method", false, false, false, 178), "html", null, true); yield "</td> <td colspan=\""; // line 179 yield ((($context["range_or_list"] ?? null)) ? ("7") : ("6")); yield "\"></td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sub_partition'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 182 yield " "; } // line 183 yield " </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['partition'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 185 yield " </tbody> </table> "; } // line 188 yield " </fieldset> <fieldset class=\"pma-fieldset tblFooters d-print-none\"> <form action=\""; // line 190 yield PhpMyAdmin\Url::getFromRoute("/table/structure/partitioning"); yield "\" method=\"post\"> "; // line 191 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); yield " "; // line 193 if (Twig\Extension\CoreExtension::testEmpty(($context["partitions"] ?? null))) { // line 194 yield " <input class=\"btn btn-secondary\" type=\"submit\" value=\""; yield _gettext("Partition table"); yield "\"> "; } else { // line 196 yield " "; yield PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), ["db" => // line 199 ($context["db"] ?? null), "table" => // line 200 ($context["table"] ?? null), "sql_query" => (("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 201 ($context["table"] ?? null))) . " REMOVE PARTITIONING")], _gettext("Remove partitioning"), ["class" => "btn btn-secondary ajax", "id" => "remove_partitioning"]); // line 206 yield " <input class=\"btn btn-secondary\" type=\"submit\" value=\""; yield _gettext("Edit partitioning"); // line 207 yield "\"> "; } // line 209 yield " </form> </fieldset> </div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/structure/display_partitions.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 470 => 209, 466 => 207, 462 => 206, 460 => 201, 459 => 200, 458 => 199, 456 => 196, 450 => 194, 448 => 193, 443 => 191, 439 => 190, 435 => 188, 430 => 185, 423 => 183, 420 => 182, 411 => 179, 407 => 178, 402 => 176, 397 => 175, 395 => 171, 394 => 170, 388 => 167, 383 => 166, 381 => 162, 380 => 161, 374 => 159, 370 => 157, 368 => 156, 364 => 155, 360 => 154, 356 => 152, 351 => 151, 349 => 150, 346 => 149, 339 => 145, 336 => 144, 334 => 143, 333 => 142, 332 => 141, 329 => 140, 326 => 139, 324 => 138, 317 => 134, 314 => 133, 312 => 132, 311 => 131, 310 => 130, 307 => 129, 299 => 124, 296 => 123, 294 => 122, 293 => 121, 292 => 120, 289 => 119, 281 => 114, 278 => 113, 276 => 112, 275 => 111, 274 => 110, 271 => 109, 263 => 104, 260 => 103, 258 => 102, 257 => 101, 256 => 100, 253 => 99, 245 => 94, 242 => 93, 240 => 92, 239 => 91, 238 => 90, 235 => 89, 227 => 84, 224 => 83, 222 => 82, 221 => 81, 220 => 80, 217 => 79, 211 => 76, 206 => 74, 201 => 73, 199 => 69, 198 => 68, 192 => 65, 187 => 64, 185 => 60, 184 => 59, 178 => 57, 173 => 54, 171 => 53, 169 => 52, 167 => 51, 165 => 50, 162 => 48, 160 => 47, 155 => 46, 149 => 44, 142 => 41, 140 => 40, 135 => 39, 131 => 38, 125 => 34, 120 => 32, 117 => 31, 113 => 30, 109 => 29, 103 => 28, 97 => 26, 95 => 25, 92 => 24, 85 => 20, 76 => 17, 72 => 15, 70 => 14, 62 => 12, 58 => 10, 52 => 8, 50 => 7, 44 => 5, 38 => 1,); } public function getSourceContext() { return new Source("", "table/structure/display_partitions.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/structure/display_partitions.twig"); } } twig/f2/f2f68f3083f5bfb673827014680c437d.php 0000644 00000007523 15114741573 0012732 0 ustar 00 <?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_1949e97e2c15b279a4daea0fd8d091fc 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/console/query_action.twig"); } } twig/f2/f2e4d423fce655b9085aa83b82e43909.php 0000644 00000003715 15114741573 0013066 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* sql/sql_query_results.twig */ class __TwigTemplate_b7c3b76844e639c884f73ae6e1ffb3f4 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 echo "<div class=\"sqlqueryresults ajax\"> "; // line 2 echo ($context["previous_update_query"] ?? null); echo " "; // line 3 echo ($context["profiling_chart"] ?? null); echo " "; // line 4 echo ($context["missing_unique_column_message"] ?? null); echo " "; // line 5 echo ($context["bookmark_created_message"] ?? null); echo " "; // line 6 echo ($context["table"] ?? null); echo " "; // line 7 echo ($context["bookmark_support"] ?? null); echo " </div> "; } public function getTemplateName() { return "sql/sql_query_results.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 60 => 7, 56 => 6, 52 => 5, 48 => 4, 44 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "sql/sql_query_results.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/sql/sql_query_results.twig"); } } twig/f2/f21f16e6cc4c1c8f25abf67bae7bcd54.php 0000644 00000252736 15114741573 0013522 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/structure/display_structure.twig */ class __TwigTemplate_11f87556eca461e70b01a1d5c4a4e4dd 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 "table/page_with_secondary_tabs.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $this->parent = $this->loadTemplate("table/page_with_secondary_tabs.twig", "table/structure/display_structure.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 2 public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 3 echo "<h1 class=\"d-none d-print-block\">"; echo twig_escape_filter($this->env, ($context["table"] ?? null), "html", null, true); echo "</h1> <form method=\"post\" action=\""; // line 4 echo PhpMyAdmin\Url::getFromRoute("/table/structure"); echo "\" name=\"fieldsForm\" id=\"fieldsForm\"> "; // line 5 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"table_type\" value="; // line 7 if (($context["db_is_system_schema"] ?? null)) { // line 8 echo "\"information_schema\""; } elseif ( // line 9 ($context["tbl_is_view"] ?? null)) { // line 10 echo "\"view\""; } else { // line 12 echo "\"table\""; } // line 13 echo "> <div class=\"table-responsive-md\"> <table id=\"tablestructure\" class=\"table table-striped table-hover w-auto align-middle\"> "; // line 17 echo " <thead> <tr> <th class=\"d-print-none\"></th> <th>#</th> <th>"; echo _gettext("Name"); // line 21 echo "</th> <th>"; echo _gettext("Type"); // line 22 echo "</th> <th>"; echo _gettext("Collation"); // line 23 echo "</th> <th>"; echo _gettext("Attributes"); // line 24 echo "</th> <th>"; echo _gettext("Null"); // line 25 echo "</th> <th>"; echo _gettext("Default"); // line 26 echo "</th> "; // line 27 if (($context["show_column_comments"] ?? null)) { // line 28 echo "<th>"; echo _gettext("Comments"); echo "</th>"; } // line 30 echo " <th>"; echo _gettext("Extra"); echo "</th> "; // line 32 echo " "; if (( !($context["db_is_system_schema"] ?? null) && !($context["tbl_is_view"] ?? null))) { // line 33 echo " <th colspan=\""; echo ((PhpMyAdmin\Util::showIcons("ActionLinksMode")) ? ("8") : ("9")); // line 34 echo "\" class=\"action d-print-none\">"; echo _gettext("Action"); echo "</th> "; } // line 36 echo " </tr> </thead> <tbody> "; // line 40 echo " "; $context["rownum"] = 0; // line 41 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["fields"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["row"]) { // line 42 echo " "; $context["rownum"] = (($context["rownum"] ?? null) + 1); // line 43 echo " "; // line 44 $context["extracted_columnspec"] = (($__internal_compile_0 = ($context["extracted_columnspecs"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[($context["rownum"] ?? null)] ?? null) : null); // line 45 echo " "; $context["field_name"] = twig_escape_filter($this->env, (($__internal_compile_1 = $context["row"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["Field"] ?? null) : null)); // line 46 echo " "; // line 47 echo " "; $context["comments"] = (($__internal_compile_2 = ($context["row_comments"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[($context["rownum"] ?? null)] ?? null) : null); // line 48 echo " "; // line 49 echo " <tr> <td class=\"text-center d-print-none\"> <input type=\"checkbox\" class=\"checkall\" name=\"selected_fld[]\" value=\""; // line 52 echo twig_escape_filter($this->env, (($__internal_compile_3 = $context["row"]) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["Field"] ?? null) : null), "html", null, true); echo "\" id=\"checkbox_row_"; echo twig_escape_filter($this->env, ($context["rownum"] ?? null), "html", null, true); echo "\"> </td> <td class=\"text-end\">"; // line 54 echo twig_escape_filter($this->env, ($context["rownum"] ?? null), "html", null, true); echo "</td> <th class=\"text-nowrap\"> <label for=\"checkbox_row_"; // line 56 echo twig_escape_filter($this->env, ($context["rownum"] ?? null), "html", null, true); echo "\"> "; // line 57 if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["displayed_fields"] ?? null), ($context["rownum"] ?? null), [], "array", false, true, false, 57), "comment", [], "any", true, true, false, 57)) { // line 58 echo " <span class=\"commented_column\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_compile_4 = ($context["displayed_fields"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4[($context["rownum"] ?? null)] ?? null) : null), "comment", [], "any", false, false, false, 58), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_compile_5 = ($context["displayed_fields"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[($context["rownum"] ?? null)] ?? null) : null), "text", [], "any", false, false, false, 58), "html", null, true); echo "</span> "; } else { // line 60 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_compile_6 = ($context["displayed_fields"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6[($context["rownum"] ?? null)] ?? null) : null), "text", [], "any", false, false, false, 60), "html", null, true); echo " "; } // line 62 echo " "; echo twig_get_attribute($this->env, $this->source, (($__internal_compile_7 = ($context["displayed_fields"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7[($context["rownum"] ?? null)] ?? null) : null), "icon", [], "any", false, false, false, 62); echo " </label> </th> <td"; // line 65 echo (((("set" != (($__internal_compile_8 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["type"] ?? null) : null)) && ("enum" != (($__internal_compile_9 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["type"] ?? null) : null)))) ? (" class=\"text-nowrap\"") : ("")); echo "> <bdo dir=\"ltr\" lang=\"en\"> "; // line 67 echo (($__internal_compile_10 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["displayed_type"] ?? null) : null); echo " "; // line 68 if (((( !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "columnCommentsFeature", [], "any", false, false, false, 68)) && !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "browserTransformationFeature", [], "any", false, false, false, 68))) && ($context["browse_mime"] ?? null)) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 69 ($context["mime_map"] ?? null), (($__internal_compile_11 = $context["row"]) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["Field"] ?? null) : null), [], "array", false, true, false, 69), "mimetype", [], "array", true, true, false, 69))) { // line 70 echo " <br>"; echo _gettext("Media type:"); echo " "; echo twig_escape_filter($this->env, twig_lower_filter($this->env, twig_replace_filter((($__internal_compile_12 = (($__internal_compile_13 = ($context["mime_map"] ?? null)) && is_array($__internal_compile_13) || $__internal_compile_13 instanceof ArrayAccess ? ($__internal_compile_13[(($__internal_compile_14 = $context["row"]) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_12) || $__internal_compile_12 instanceof ArrayAccess ? ($__internal_compile_12["mimetype"] ?? null) : null), ["_" => "/"])), "html", null, true); echo " "; } // line 72 echo " </bdo> </td> <td> "; // line 75 if ( !twig_test_empty((($__internal_compile_15 = $context["row"]) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15["Collation"] ?? null) : null))) { // line 76 echo " <dfn title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_compile_16 = ($context["collations"] ?? null)) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16[(($__internal_compile_17 = $context["row"]) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17["Collation"] ?? null) : null)] ?? null) : null), "description", [], "any", false, false, false, 76), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_compile_18 = ($context["collations"] ?? null)) && is_array($__internal_compile_18) || $__internal_compile_18 instanceof ArrayAccess ? ($__internal_compile_18[(($__internal_compile_19 = $context["row"]) && is_array($__internal_compile_19) || $__internal_compile_19 instanceof ArrayAccess ? ($__internal_compile_19["Collation"] ?? null) : null)] ?? null) : null), "name", [], "any", false, false, false, 76), "html", null, true); echo "</dfn> "; } // line 78 echo " </td> <td class=\"column_attribute text-nowrap\">"; // line 79 echo twig_escape_filter($this->env, (($__internal_compile_20 = ($context["attributes"] ?? null)) && is_array($__internal_compile_20) || $__internal_compile_20 instanceof ArrayAccess ? ($__internal_compile_20[($context["rownum"] ?? null)] ?? null) : null), "html", null, true); echo "</td> <td>"; // line 80 echo twig_escape_filter($this->env, ((((($__internal_compile_21 = $context["row"]) && is_array($__internal_compile_21) || $__internal_compile_21 instanceof ArrayAccess ? ($__internal_compile_21["Null"] ?? null) : null) == "YES")) ? (_gettext("Yes")) : (_gettext("No"))), "html", null, true); echo "</td> <td class=\"text-nowrap\">"; // line 82 if ( !(null === (($__internal_compile_22 = $context["row"]) && is_array($__internal_compile_22) || $__internal_compile_22 instanceof ArrayAccess ? ($__internal_compile_22["Default"] ?? null) : null))) { // line 83 if (((($__internal_compile_23 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_23) || $__internal_compile_23 instanceof ArrayAccess ? ($__internal_compile_23["type"] ?? null) : null) == "bit")) { // line 84 echo twig_escape_filter($this->env, PhpMyAdmin\Util::convertBitDefaultValue((($__internal_compile_24 = $context["row"]) && is_array($__internal_compile_24) || $__internal_compile_24 instanceof ArrayAccess ? ($__internal_compile_24["Default"] ?? null) : null)), "html", null, true); } else { // line 86 echo twig_escape_filter($this->env, (($__internal_compile_25 = $context["row"]) && is_array($__internal_compile_25) || $__internal_compile_25 instanceof ArrayAccess ? ($__internal_compile_25["Default"] ?? null) : null), "html", null, true); } } elseif (((($__internal_compile_26 = // line 88 $context["row"]) && is_array($__internal_compile_26) || $__internal_compile_26 instanceof ArrayAccess ? ($__internal_compile_26["Null"] ?? null) : null) == "YES")) { // line 89 echo "<em>NULL</em>"; } else { // line 91 echo "<em>"; echo _pgettext("None for default", "None"); echo "</em>"; } // line 93 echo "</td> "; // line 94 if (($context["show_column_comments"] ?? null)) { // line 95 echo " <td> "; // line 96 echo twig_escape_filter($this->env, ($context["comments"] ?? null), "html", null, true); echo " </td> "; } // line 99 echo " <td class=\"text-nowrap\">"; echo twig_escape_filter($this->env, twig_upper_filter($this->env, (($__internal_compile_27 = $context["row"]) && is_array($__internal_compile_27) || $__internal_compile_27 instanceof ArrayAccess ? ($__internal_compile_27["Extra"] ?? null) : null)), "html", null, true); echo "</td> "; // line 100 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 101 echo " <td class=\"edit text-center d-print-none\"> <a class=\"change_column_anchor ajax\" href=\""; // line 102 echo PhpMyAdmin\Url::getFromRoute("/table/structure/change", ["db" => // line 103 ($context["db"] ?? null), "table" => // line 104 ($context["table"] ?? null), "field" => (($__internal_compile_28 = // line 105 $context["row"]) && is_array($__internal_compile_28) || $__internal_compile_28 instanceof ArrayAccess ? ($__internal_compile_28["Field"] ?? null) : null), "change_column" => 1]); // line 107 echo "\"> "; // line 108 echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Change")); echo " </a> </td> <td class=\"drop text-center d-print-none\"> <a class=\"drop_column_anchor ajax\" href=\""; // line 112 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 113 ($context["db"] ?? null), "table" => // line 114 ($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 115 ($context["table"] ?? null))) . " DROP ") . PhpMyAdmin\Util::backquote((($__internal_compile_29 = $context["row"]) && is_array($__internal_compile_29) || $__internal_compile_29 instanceof ArrayAccess ? ($__internal_compile_29["Field"] ?? null) : null))) . ";"), "dropped_column" => (($__internal_compile_30 = // line 116 $context["row"]) && is_array($__internal_compile_30) || $__internal_compile_30 instanceof ArrayAccess ? ($__internal_compile_30["Field"] ?? null) : null), "purge" => true, "message_to_show" => twig_sprintf(_gettext("Column %s has been dropped."), twig_escape_filter($this->env, (($__internal_compile_31 = // line 118 $context["row"]) && is_array($__internal_compile_31) || $__internal_compile_31 instanceof ArrayAccess ? ($__internal_compile_31["Field"] ?? null) : null)))], "", false); // line 119 echo "\"> "; // line 120 echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); echo " </a> </td> "; } // line 124 echo " "; // line 125 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 126 echo " "; $context["type"] = (( !twig_test_empty((($__internal_compile_32 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_32) || $__internal_compile_32 instanceof ArrayAccess ? ($__internal_compile_32["print_type"] ?? null) : null))) ? ((($__internal_compile_33 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_33) || $__internal_compile_33 instanceof ArrayAccess ? ($__internal_compile_33["print_type"] ?? null) : null)) : ("")); // line 127 echo " <td class=\"d-print-none\"> "; // line 128 if (($context["hide_structure_actions"] ?? null)) { // line 129 echo " <div class=\"dropdown\"> <button class=\"btn btn-link p-0 dropdown-toggle\" type=\"button\" id=\"moreActionsButton\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\">"; echo _gettext("More"); // line 130 echo "</button> <ul class=\"dropdown-menu dropdown-menu-end\" aria-labelledby=\"moreActionsButton\"> "; } else { // line 133 echo " <ul class=\"nav\"> "; } // line 135 echo " <li class=\""; echo (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); echo "primary text-nowrap\"> "; // line 136 if (((((($context["type"] ?? null) == "text") || (($context["type"] ?? null) == "blob")) || (($context["tbl_storage_engine"] ?? null) == "ARCHIVE")) || (($context["primary"] ?? null) && twig_get_attribute($this->env, $this->source, ($context["primary"] ?? null), "hasColumn", [0 => ($context["field_name"] ?? null)], "method", false, false, false, 136)))) { // line 137 echo " <span class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1")); echo " disabled\">"; echo PhpMyAdmin\Html\Generator::getIcon("bd_primary", _gettext("Primary")); echo "</span> "; } else { // line 139 echo " <a rel=\"samepage\" class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); echo " ajax add_key d-print-none add_primary_key_anchor\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/table/structure/add-key"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 140 ($context["db"] ?? null), "table" => // line 141 ($context["table"] ?? null), "sql_query" => ((((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 142 ($context["table"] ?? null))) . ((($context["primary"] ?? null)) ? (" DROP PRIMARY KEY,") : (""))) . " ADD PRIMARY KEY(") . PhpMyAdmin\Util::backquote((($__internal_compile_34 = $context["row"]) && is_array($__internal_compile_34) || $__internal_compile_34 instanceof ArrayAccess ? ($__internal_compile_34["Field"] ?? null) : null))) . ");"), "message_to_show" => twig_sprintf(_gettext("A primary key has been added on %s."), twig_escape_filter($this->env, (($__internal_compile_35 = // line 143 $context["row"]) && is_array($__internal_compile_35) || $__internal_compile_35 instanceof ArrayAccess ? ($__internal_compile_35["Field"] ?? null) : null)))], "", false); // line 144 echo "\"> "; // line 145 echo PhpMyAdmin\Html\Generator::getIcon("b_primary", _gettext("Primary")); echo " </a> "; } // line 148 echo " </li> <li class=\""; // line 150 echo (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); echo "add_unique unique text-nowrap\"> "; // line 151 if (((((($context["type"] ?? null) == "text") || (($context["type"] ?? null) == "blob")) || (($context["tbl_storage_engine"] ?? null) == "ARCHIVE")) || twig_in_filter(($context["field_name"] ?? null), ($context["columns_with_unique_index"] ?? null)))) { // line 152 echo " <span class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1")); echo " disabled\">"; echo PhpMyAdmin\Html\Generator::getIcon("bd_unique", _gettext("Unique")); echo "</span> "; } else { // line 154 echo " <a rel=\"samepage\" class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); echo " ajax add_key d-print-none add_unique_anchor\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/table/structure/add-key"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 155 ($context["db"] ?? null), "table" => // line 156 ($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 157 ($context["table"] ?? null))) . " ADD UNIQUE(") . PhpMyAdmin\Util::backquote((($__internal_compile_36 = $context["row"]) && is_array($__internal_compile_36) || $__internal_compile_36 instanceof ArrayAccess ? ($__internal_compile_36["Field"] ?? null) : null))) . ");"), "message_to_show" => twig_sprintf(_gettext("An index has been added on %s."), twig_escape_filter($this->env, (($__internal_compile_37 = // line 158 $context["row"]) && is_array($__internal_compile_37) || $__internal_compile_37 instanceof ArrayAccess ? ($__internal_compile_37["Field"] ?? null) : null)))], "", false); // line 159 echo "\"> "; // line 160 echo PhpMyAdmin\Html\Generator::getIcon("b_unique", _gettext("Unique")); echo " </a> "; } // line 163 echo " </li> <li class=\""; // line 165 echo (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); echo "add_index text-nowrap\"> "; // line 166 if ((((($context["type"] ?? null) == "text") || (($context["type"] ?? null) == "blob")) || (($context["tbl_storage_engine"] ?? null) == "ARCHIVE"))) { // line 167 echo " <span class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1")); echo " disabled\">"; echo PhpMyAdmin\Html\Generator::getIcon("bd_index", _gettext("Index")); echo "</span> "; } else { // line 169 echo " <a rel=\"samepage\" class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); echo " ajax add_key d-print-none add_index_anchor\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/table/structure/add-key"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 170 ($context["db"] ?? null), "table" => // line 171 ($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 172 ($context["table"] ?? null))) . " ADD INDEX(") . PhpMyAdmin\Util::backquote((($__internal_compile_38 = $context["row"]) && is_array($__internal_compile_38) || $__internal_compile_38 instanceof ArrayAccess ? ($__internal_compile_38["Field"] ?? null) : null))) . ");"), "message_to_show" => twig_sprintf(_gettext("An index has been added on %s."), twig_escape_filter($this->env, (($__internal_compile_39 = // line 173 $context["row"]) && is_array($__internal_compile_39) || $__internal_compile_39 instanceof ArrayAccess ? ($__internal_compile_39["Field"] ?? null) : null)))], "", false); // line 174 echo "\"> "; // line 175 echo PhpMyAdmin\Html\Generator::getIcon("b_index", _gettext("Index")); echo " </a> "; } // line 178 echo " </li> "; // line 180 $context["spatial_types"] = [0 => "geometry", 1 => "point", 2 => "linestring", 3 => "polygon", 4 => "multipoint", 5 => "multilinestring", 6 => "multipolygon", 7 => "geomtrycollection"]; // line 190 echo " <li class=\""; echo (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); echo "spatial text-nowrap\"> "; // line 191 if (((((($context["type"] ?? null) == "text") || (($context["type"] ?? null) == "blob")) || (($context["tbl_storage_engine"] ?? null) == "ARCHIVE")) || (!twig_in_filter(($context["type"] ?? null), ($context["spatial_types"] ?? null)) && ((($context["tbl_storage_engine"] ?? null) == "MYISAM") || (($context["mysql_int_version"] ?? null) >= 50705))))) { // line 192 echo " <span class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1")); echo " disabled\">"; echo PhpMyAdmin\Html\Generator::getIcon("bd_spatial", _gettext("Spatial")); echo "</span> "; } else { // line 194 echo " <a rel=\"samepage\" class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); echo " ajax add_key d-print-none add_spatial_anchor\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/table/structure/add-key"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 195 ($context["db"] ?? null), "table" => // line 196 ($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 197 ($context["table"] ?? null))) . " ADD SPATIAL(") . PhpMyAdmin\Util::backquote((($__internal_compile_40 = $context["row"]) && is_array($__internal_compile_40) || $__internal_compile_40 instanceof ArrayAccess ? ($__internal_compile_40["Field"] ?? null) : null))) . ");"), "message_to_show" => twig_sprintf(_gettext("An index has been added on %s."), twig_escape_filter($this->env, (($__internal_compile_41 = // line 198 $context["row"]) && is_array($__internal_compile_41) || $__internal_compile_41 instanceof ArrayAccess ? ($__internal_compile_41["Field"] ?? null) : null)))], "", false); // line 199 echo "\"> "; // line 200 echo PhpMyAdmin\Html\Generator::getIcon("b_spatial", _gettext("Spatial")); echo " </a> "; } // line 203 echo " </li> "; // line 206 echo " <li class=\""; echo (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); echo "fulltext text-nowrap\"> "; // line 207 if ((( !twig_test_empty(($context["tbl_storage_engine"] ?? null)) && (((( // line 208 ($context["tbl_storage_engine"] ?? null) == "MYISAM") || ( // line 209 ($context["tbl_storage_engine"] ?? null) == "ARIA")) || ( // line 210 ($context["tbl_storage_engine"] ?? null) == "MARIA")) || (( // line 211 ($context["tbl_storage_engine"] ?? null) == "INNODB") && (($context["mysql_int_version"] ?? null) >= 50604)))) && (twig_in_filter("text", // line 212 ($context["type"] ?? null)) || twig_in_filter("char", ($context["type"] ?? null))))) { // line 213 echo " <a rel=\"samepage\" class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); echo " ajax add_key add_fulltext_anchor\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/table/structure/add-key"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 214 ($context["db"] ?? null), "table" => // line 215 ($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 216 ($context["table"] ?? null))) . " ADD FULLTEXT(") . PhpMyAdmin\Util::backquote((($__internal_compile_42 = $context["row"]) && is_array($__internal_compile_42) || $__internal_compile_42 instanceof ArrayAccess ? ($__internal_compile_42["Field"] ?? null) : null))) . ");"), "message_to_show" => twig_sprintf(_gettext("An index has been added on %s."), twig_escape_filter($this->env, (($__internal_compile_43 = // line 217 $context["row"]) && is_array($__internal_compile_43) || $__internal_compile_43 instanceof ArrayAccess ? ($__internal_compile_43["Field"] ?? null) : null)))], "", false); // line 218 echo "\"> "; // line 219 echo PhpMyAdmin\Html\Generator::getIcon("b_ftext", _gettext("Fulltext")); echo " </a> "; } else { // line 222 echo " <span class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1")); echo " disabled\">"; echo PhpMyAdmin\Html\Generator::getIcon("bd_ftext", _gettext("Fulltext")); echo "</span> "; } // line 224 echo " </li> "; // line 227 echo " <li class=\""; echo (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); echo "browse text-nowrap\"> <a class=\""; // line 228 echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); echo "\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 229 ($context["db"] ?? null), "table" => // line 230 ($context["table"] ?? null), "sql_query" => ((((((((("SELECT COUNT(*) AS " . PhpMyAdmin\Util::backquote(_gettext("Rows"))) . ", ") . PhpMyAdmin\Util::backquote((($__internal_compile_44 = // line 232 $context["row"]) && is_array($__internal_compile_44) || $__internal_compile_44 instanceof ArrayAccess ? ($__internal_compile_44["Field"] ?? null) : null))) . " FROM ") . PhpMyAdmin\Util::backquote( // line 233 ($context["table"] ?? null))) . " GROUP BY ") . PhpMyAdmin\Util::backquote((($__internal_compile_45 = // line 234 $context["row"]) && is_array($__internal_compile_45) || $__internal_compile_45 instanceof ArrayAccess ? ($__internal_compile_45["Field"] ?? null) : null))) . " ORDER BY ") . PhpMyAdmin\Util::backquote((($__internal_compile_46 = // line 235 $context["row"]) && is_array($__internal_compile_46) || $__internal_compile_46 instanceof ArrayAccess ? ($__internal_compile_46["Field"] ?? null) : null))), "is_browse_distinct" => true], "", false); // line 237 echo "\"> "; // line 238 echo PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Distinct values")); echo " </a> </li> "; // line 241 if ( !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "centralColumnsFeature", [], "any", false, false, false, 241))) { // line 242 echo " <li class=\""; echo (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); echo "browse text-nowrap\"> "; // line 243 if (twig_in_filter((($__internal_compile_47 = $context["row"]) && is_array($__internal_compile_47) || $__internal_compile_47 instanceof ArrayAccess ? ($__internal_compile_47["Field"] ?? null) : null), ($context["central_list"] ?? null))) { // line 244 echo " <a class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); echo "\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/table/structure/central-columns-remove"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 245 ($context["db"] ?? null), "table" => // line 246 ($context["table"] ?? null), "selected_fld" => [0 => (($__internal_compile_48 = // line 247 $context["row"]) && is_array($__internal_compile_48) || $__internal_compile_48 instanceof ArrayAccess ? ($__internal_compile_48["Field"] ?? null) : null)]]); // line 248 echo "\"> "; // line 249 echo PhpMyAdmin\Html\Generator::getIcon("centralColumns_delete", _gettext("Remove from central columns")); echo " </a> "; } else { // line 252 echo " <a class=\""; echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); echo "\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/table/structure/central-columns-add"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 253 ($context["db"] ?? null), "table" => // line 254 ($context["table"] ?? null), "selected_fld" => [0 => (($__internal_compile_49 = // line 255 $context["row"]) && is_array($__internal_compile_49) || $__internal_compile_49 instanceof ArrayAccess ? ($__internal_compile_49["Field"] ?? null) : null)]]); // line 256 echo "\"> "; // line 257 echo PhpMyAdmin\Html\Generator::getIcon("centralColumns_add", _gettext("Add to central columns")); echo " </a> "; } // line 260 echo " </li> "; } // line 262 echo " "; if ( !($context["hide_structure_actions"] ?? null)) { // line 263 echo " </ul> "; } else { // line 265 echo " </ul> </div> "; } // line 268 echo " </td> "; } // line 270 echo " </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 272 echo " </tbody> </table> </div> <div class=\"d-print-none\"> "; // line 276 $this->loadTemplate("select_all.twig", "table/structure/display_structure.twig", 276)->display(twig_to_array(["text_dir" => // line 277 ($context["text_dir"] ?? null), "form_name" => "fieldsForm"])); // line 280 echo " <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 281 echo PhpMyAdmin\Url::getFromRoute("/table/structure/browse"); echo "\"> "; // line 282 echo PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse")); echo " </button> "; // line 285 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 286 echo " <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; echo PhpMyAdmin\Url::getFromRoute("/table/structure/change"); echo "\"> "; // line 287 echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Change")); echo " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 289 echo PhpMyAdmin\Url::getFromRoute("/table/structure/drop-confirm"); echo "\"> "; // line 290 echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); echo " </button> "; // line 293 if ((($context["tbl_storage_engine"] ?? null) != "ARCHIVE")) { // line 294 echo " <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; echo PhpMyAdmin\Url::getFromRoute("/table/structure/primary"); echo "\"> "; // line 295 echo PhpMyAdmin\Html\Generator::getIcon("b_primary", _gettext("Primary")); echo " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 297 echo PhpMyAdmin\Url::getFromRoute("/table/structure/unique"); echo "\"> "; // line 298 echo PhpMyAdmin\Html\Generator::getIcon("b_unique", _gettext("Unique")); echo " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 300 echo PhpMyAdmin\Url::getFromRoute("/table/structure/index"); echo "\"> "; // line 301 echo PhpMyAdmin\Html\Generator::getIcon("b_index", _gettext("Index")); echo " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 303 echo PhpMyAdmin\Url::getFromRoute("/table/structure/spatial"); echo "\"> "; // line 304 echo PhpMyAdmin\Html\Generator::getIcon("b_spatial", _gettext("Spatial")); echo " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 306 echo PhpMyAdmin\Url::getFromRoute("/table/structure/fulltext"); echo "\"> "; // line 307 echo PhpMyAdmin\Html\Generator::getIcon("b_ftext", _gettext("Fulltext")); echo " </button> "; // line 310 if ( !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "centralColumnsFeature", [], "any", false, false, false, 310))) { // line 311 echo " <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; echo PhpMyAdmin\Url::getFromRoute("/table/structure/central-columns-add"); echo "\"> "; // line 312 echo PhpMyAdmin\Html\Generator::getIcon("centralColumns_add", _gettext("Add to central columns")); echo " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 314 echo PhpMyAdmin\Url::getFromRoute("/table/structure/central-columns-remove"); echo "\"> "; // line 315 echo PhpMyAdmin\Html\Generator::getIcon("centralColumns_delete", _gettext("Remove from central columns")); echo " </button> "; } // line 318 echo " "; } // line 319 echo " "; } // line 320 echo " </div> </form> <hr class=\"d-print-none\"> <div class=\"modal fade\" id=\"moveColumnsModal\" tabindex=\"-1\" aria-labelledby=\"moveColumnsModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"moveColumnsModalLabel\">"; echo _gettext("Move columns"); // line 328 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 329 echo "\"></button> </div> <div class=\"modal-body\"> <div id=\"move_columns_dialog\" title=\""; echo _gettext("Move columns"); // line 332 echo "\"> <p>"; echo _gettext("Move the columns by dragging them up and down."); // line 333 echo "</p> <form action=\""; // line 334 echo PhpMyAdmin\Url::getFromRoute("/table/structure/move-columns"); echo "\" name=\"move_column_form\" id=\"move_column_form\"> <div> "; // line 336 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <ul></ul> </div> </form> </div> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-primary\" id=\"designerModalGoButton\">"; echo _gettext("Go"); // line 343 echo "</button> <button type=\"button\" class=\"btn btn-secondary\" id=\"designerModalPreviewButton\" data-bs-target=\"#designerModalPreviewModal\" data-bs-toggle=\"modal\">"; echo _gettext("Preview SQL"); // line 344 echo "</button> <button type=\"button\" class=\"btn btn-secondary\" id=\"designerModalCloseButton\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 345 echo "</button> </div> </div> </div> </div> <div class=\"modal fade\" id=\"designerModalPreviewModal\" aria-hidden=\"true\" aria-labelledby=\"designerModalPreviewModalLabel\" tabindex=\"-1\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"designerModalPreviewModalLabel\">"; echo _gettext("Preview SQL"); // line 354 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 355 echo "\"></button> </div> <div class=\"modal-body\"> <div class=\"spinner-border\" role=\"status\"> <span class=\"visually-hidden\">"; echo _gettext("Loading…"); // line 359 echo "</span> </div> </div> <div class=\"modal-footer\"> <button class=\"btn btn-primary\" data-bs-target=\"#moveColumnsModal\" data-bs-toggle=\"modal\">"; echo _gettext("Go back"); // line 363 echo "</button> </div> </div> </div> </div> <div class=\"modal fade\" id=\"moveColumnsErrorModal\" tabindex=\"-1\" aria-labelledby=\"moveColumnsErrorModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"moveColumnsErrorModalLabel\">"; echo _gettext("Error"); // line 372 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 373 echo "\"></button> </div> <div class=\"modal-body\"> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("OK"); // line 378 echo "</button> </div> </div> </div> </div> "; // line 385 echo "<div id=\"structure-action-links\" class=\"d-print-none\"> "; // line 386 if ((($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 387 echo " "; echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/view/create"), ["db" => // line 389 ($context["db"] ?? null), "table" => ($context["table"] ?? null)], PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit view"), true)); // line 391 echo " "; } // line 393 echo " <button type=\"button\" class=\"btn btn-link p-0 jsPrintButton\">"; echo PhpMyAdmin\Html\Generator::getIcon("b_print", _gettext("Print"), true); echo "</button> "; // line 394 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 395 echo " "; // line 396 echo " "; if (((($context["mysql_int_version"] ?? null) < 80000) || ($context["is_mariadb"] ?? null))) { // line 397 echo " <a class=\"me-0\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 398 ($context["db"] ?? null), "table" => // line 399 ($context["table"] ?? null), "sql_query" => (("SELECT * FROM " . PhpMyAdmin\Util::backquote( // line 400 ($context["table"] ?? null))) . " PROCEDURE ANALYSE()"), "session_max_rows" => "all"], "", false); // line 402 echo "\"> "; // line 403 echo PhpMyAdmin\Html\Generator::getIcon("b_tblanalyse", _gettext("Propose table structure"), true); // line 407 echo " </a> "; // line 409 echo PhpMyAdmin\Html\MySQLDocumentation::show("procedure_analyse"); echo " "; } // line 411 echo " "; if (($context["is_active"] ?? null)) { // line 412 echo " <a href=\""; echo PhpMyAdmin\Url::getFromRoute("/table/tracking", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); echo "\"> "; // line 413 echo PhpMyAdmin\Html\Generator::getIcon("eye", _gettext("Track table"), true); echo " </a> "; } // line 416 echo " <a href=\"#\" id=\"move_columns_anchor\"> "; // line 417 echo PhpMyAdmin\Html\Generator::getIcon("b_move", _gettext("Move columns"), true); echo " </a> <a href=\""; // line 419 echo PhpMyAdmin\Url::getFromRoute("/normalization", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); echo "\"> "; // line 420 echo PhpMyAdmin\Html\Generator::getIcon("normalize", _gettext("Normalize"), true); echo " </a> "; } // line 423 echo " "; if ((($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 424 echo " "; if (($context["is_active"] ?? null)) { // line 425 echo " <a href=\""; echo PhpMyAdmin\Url::getFromRoute("/table/tracking", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); echo "\"> "; // line 426 echo PhpMyAdmin\Html\Generator::getIcon("eye", _gettext("Track view"), true); echo " </a> "; } // line 429 echo " "; } // line 430 echo "</div> "; // line 431 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 432 echo " <form method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/table/add-field"); echo "\" id=\"addColumns\" name=\"addColumns\" class=\"d-print-none\"> "; // line 433 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " "; // line 434 if (PhpMyAdmin\Util::showIcons("ActionLinksMode")) { // line 435 echo " "; echo PhpMyAdmin\Html\Generator::getImage("b_insrow", _gettext("Add column")); echo " "; } // line 437 echo " "; $context["num_fields"] = ('' === $tmp = "<input type=\"number\" name=\"num_fields\" value=\"1\" onfocus=\"this.select()\" min=\"1\" required>") ? '' : new Markup($tmp, $this->env->getCharset()); // line 440 echo " "; echo twig_sprintf(_gettext("Add %s column(s)"), ($context["num_fields"] ?? null)); echo " <input type=\"hidden\" name=\"field_where\" value=\"after\"> "; // line 443 echo " <select name=\"after_field\"> <option value=\"first\" data-pos=\"first\"> "; echo _gettext("at beginning of table"); // line 446 echo " </option> "; // line 447 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["columns_list"] ?? 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["one_column_name"]) { // line 448 echo " <option value=\""; echo twig_escape_filter($this->env, $context["one_column_name"], "html", null, true); echo "\""; // line 449 echo (((twig_get_attribute($this->env, $this->source, $context["loop"], "revindex0", [], "any", false, false, false, 449) == 0)) ? (" selected=\"selected\"") : ("")); echo "> "; // line 450 echo twig_escape_filter($this->env, twig_sprintf(_gettext("after %s"), $context["one_column_name"]), "html", null, true); echo " </option> "; ++$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['one_column_name'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 453 echo " </select> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 454 echo "\"> </form> "; } // line 457 echo " "; // line 458 if ((( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null)) && (($context["tbl_storage_engine"] ?? null) != "ARCHIVE"))) { // line 459 echo " <div id=\"index_div\" class=\"w-100 ajax\"> <fieldset class=\"pma-fieldset index_info\"> <legend id=\"index_header\"> "; echo _gettext("Indexes"); // line 463 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("optimizing-database-structure"); echo " </legend> "; // line 466 if ( !twig_test_empty(($context["indexes"] ?? null))) { // line 467 echo " "; echo ($context["indexes_duplicates"] ?? null); echo " "; // line 469 echo twig_include($this->env, $context, "modals/preview_sql_confirmation.twig"); echo " <div class=\"table-responsive jsresponsive\"> <table class=\"table table-striped table-hover table-sm w-auto align-middle\" id=\"table_index\"> <thead> <tr> <th colspan=\"3\" class=\"d-print-none\">"; echo _gettext("Action"); // line 474 echo "</th> <th>"; echo _gettext("Keyname"); // line 475 echo "</th> <th>"; echo _gettext("Type"); // line 476 echo "</th> <th>"; echo _gettext("Unique"); // line 477 echo "</th> <th>"; echo _gettext("Packed"); // line 478 echo "</th> <th>"; echo _gettext("Column"); // line 479 echo "</th> <th>"; echo _gettext("Cardinality"); // line 480 echo "</th> <th>"; echo _gettext("Collation"); // line 481 echo "</th> <th>"; echo _gettext("Null"); // line 482 echo "</th> <th>"; echo _gettext("Comment"); // line 483 echo "</th> </tr> </thead> <tbody class=\"row_span\"> "; // line 488 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["indexes"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["index"]) { // line 489 echo " "; $context["columns_count"] = twig_get_attribute($this->env, $this->source, $context["index"], "getColumnCount", [], "method", false, false, false, 489); // line 490 echo " <tr class=\"noclick\"> <td rowspan=\""; // line 491 echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true); echo "\" class=\"edit_index d-print-none ajax\"> <a class=\"ajax\" href=\""; // line 492 echo PhpMyAdmin\Url::getFromRoute("/table/indexes"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 493 ($context["db"] ?? null), "table" => // line 494 ($context["table"] ?? null), "index" => twig_get_attribute($this->env, $this->source, // line 495 $context["index"], "getName", [], "method", false, false, false, 495)], "", false); // line 496 echo "\"> "; // line 497 echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit")); echo " </a> </td> <td rowspan=\""; // line 500 echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true); echo "\" class=\"rename_index d-print-none ajax\" > <a class=\"ajax\" href=\""; // line 501 echo PhpMyAdmin\Url::getFromRoute("/table/indexes/rename"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => // line 502 ($context["db"] ?? null), "table" => // line 503 ($context["table"] ?? null), "index" => twig_get_attribute($this->env, $this->source, // line 504 $context["index"], "getName", [], "method", false, false, false, 504)], "", false); // line 505 echo "\"> "; // line 506 echo PhpMyAdmin\Html\Generator::getIcon("b_rename", _gettext("Rename")); echo " </a> </td> <td rowspan=\""; // line 509 echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true); echo "\" class=\"d-print-none\"> "; // line 510 if ((twig_get_attribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 510) == "PRIMARY")) { // line 511 echo " "; $context["index_params"] = ["sql_query" => (("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 512 ($context["table"] ?? null))) . " DROP PRIMARY KEY;"), "message_to_show" => _gettext("The primary key has been dropped.")]; // line 515 echo " "; } else { // line 516 echo " "; $context["index_params"] = ["sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 517 ($context["table"] ?? null))) . " DROP INDEX ") . PhpMyAdmin\Util::backquote(twig_get_attribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 517))) . ";"), "message_to_show" => twig_sprintf(_gettext("Index %s has been dropped."), twig_get_attribute($this->env, $this->source, // line 518 $context["index"], "getName", [], "method", false, false, false, 518))]; // line 520 echo " "; } // line 521 echo " <input type=\"hidden\" class=\"drop_primary_key_index_msg\" value=\""; // line 522 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["index_params"] ?? null), "sql_query", [], "any", false, false, false, 522), "html", null, true); echo "\"> "; // line 523 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), twig_array_merge( // line 525 ($context["index_params"] ?? null), ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]), PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")), ["class" => "drop_primary_key_index_anchor ajax"]); // line 528 echo " </td> <th rowspan=\""; // line 530 echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 530), "html", null, true); echo "</th> <td rowspan=\""; // line 531 echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["index"], "getType", [], "method", true, true, false, 531)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["index"], "getType", [], "method", false, false, false, 531), twig_get_attribute($this->env, $this->source, $context["index"], "getChoice", [], "method", false, false, false, 531))) : (twig_get_attribute($this->env, $this->source, $context["index"], "getChoice", [], "method", false, false, false, 531))), "html", null, true); echo "</td> <td rowspan=\""; // line 532 echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["index"], "isUnique", [], "method", false, false, false, 532)) ? (_gettext("Yes")) : (_gettext("No"))), "html", null, true); echo "</td> <td rowspan=\""; // line 533 echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true); echo "\">"; echo twig_get_attribute($this->env, $this->source, $context["index"], "isPacked", [], "method", false, false, false, 533); echo "</td> "; // line 535 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["index"], "getColumns", [], "method", false, false, false, 535)); foreach ($context['_seq'] as $context["_key"] => $context["column"]) { // line 536 echo " "; if ((twig_get_attribute($this->env, $this->source, $context["column"], "getSeqInIndex", [], "method", false, false, false, 536) > 1)) { // line 537 echo " <tr class=\"noclick\"> "; } // line 539 echo " <td> "; // line 540 if (twig_get_attribute($this->env, $this->source, $context["column"], "hasExpression", [], "method", false, false, false, 540)) { echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getExpression", [], "method", false, false, false, 540), "html", null, true); } else { echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getName", [], "method", false, false, false, 540), "html", null, true); } // line 541 echo " "; if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["column"], "getSubPart", [], "method", false, false, false, 541))) { // line 542 echo " ("; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getSubPart", [], "method", false, false, false, 542), "html", null, true); echo ") "; } // line 544 echo " </td> <td>"; // line 545 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getCardinality", [], "method", false, false, false, 545), "html", null, true); echo "</td> <td>"; // line 546 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getCollation", [], "method", false, false, false, 546), "html", null, true); echo "</td> <td>"; // line 547 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getNull", [0 => true], "method", false, false, false, 547), "html", null, true); echo "</td> "; // line 549 if ((twig_get_attribute($this->env, $this->source, $context["column"], "getSeqInIndex", [], "method", false, false, false, 549) == 1)) { // line 550 echo " <td rowspan=\""; echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["index"], "getComments", [], "method", false, false, false, 550), "html", null, true); echo "</td> "; } // line 552 echo " </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 554 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['index'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 555 echo " </tbody> </table> </div> "; } else { // line 559 echo " <div class=\"no_indexes_defined\">"; echo $this->env->getFilter('notice')->getCallable()(_gettext("No index defined!")); echo "</div> "; } // line 561 echo " </fieldset> <fieldset class=\"pma-fieldset tblFooters d-print-none text-start\"> <form action=\""; // line 564 echo PhpMyAdmin\Url::getFromRoute("/table/indexes"); echo "\" method=\"post\"> "; // line 565 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"create_index\" value=\"1\"> "; // line 568 ob_start(function () { return ''; }); // line 569 echo " "; echo _gettext("Create an index on %s columns"); // line 570 echo " "; $___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 568 echo twig_sprintf($___internal_parse_0_, "<input class=\"mx-2\" type=\"number\" name=\"added_fields\" value=\"1\" min=\"1\" max=\"16\" required>"); // line 571 echo " <input class=\"btn btn-primary add_index ajax\" type=\"submit\" value=\""; echo _gettext("Go"); // line 572 echo "\"> </form> </fieldset> </div> "; // line 576 echo twig_include($this->env, $context, "modals/index_dialog_modal.twig"); echo " "; } // line 578 echo " "; // line 580 if (($context["have_partitioning"] ?? null)) { // line 581 echo " "; // line 582 echo " "; if (( !twig_test_empty(($context["partition_names"] ?? null)) && !(null === (($__internal_compile_50 = ($context["partition_names"] ?? null)) && is_array($__internal_compile_50) || $__internal_compile_50 instanceof ArrayAccess ? ($__internal_compile_50[0] ?? null) : null)))) { // line 583 echo " "; $context["first_partition"] = (($__internal_compile_51 = ($context["partitions"] ?? null)) && is_array($__internal_compile_51) || $__internal_compile_51 instanceof ArrayAccess ? ($__internal_compile_51[0] ?? null) : null); // line 584 echo " "; $context["range_or_list"] = ((((twig_get_attribute($this->env, $this->source, ($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 584) == "RANGE") || (twig_get_attribute($this->env, $this->source, // line 585 ($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 585) == "RANGE COLUMNS")) || (twig_get_attribute($this->env, $this->source, // line 586 ($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 586) == "LIST")) || (twig_get_attribute($this->env, $this->source, // line 587 ($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 587) == "LIST COLUMNS")); // line 588 echo " "; $context["sub_partitions"] = twig_get_attribute($this->env, $this->source, ($context["first_partition"] ?? null), "getSubPartitions", [], "method", false, false, false, 588); // line 589 echo " "; $context["has_sub_partitions"] = twig_get_attribute($this->env, $this->source, ($context["first_partition"] ?? null), "hasSubPartitions", [], "method", false, false, false, 589); // line 590 echo " "; if (($context["has_sub_partitions"] ?? null)) { // line 591 echo " "; $context["first_sub_partition"] = (($__internal_compile_52 = ($context["sub_partitions"] ?? null)) && is_array($__internal_compile_52) || $__internal_compile_52 instanceof ArrayAccess ? ($__internal_compile_52[0] ?? null) : null); // line 592 echo " "; } // line 593 echo " "; // line 594 if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 595 echo " <div class=\"mb-3\"> <button class=\"btn btn-sm btn-secondary\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#partitionsCollapse\" aria-expanded=\""; // line 596 echo (((($context["default_sliders_state"] ?? null) == "open")) ? ("true") : ("false")); echo "\" aria-controls=\"partitionsCollapse\"> "; echo _gettext("Partitions"); // line 598 echo " </button> </div> <div class=\"collapse mb-3"; // line 600 echo (((($context["default_sliders_state"] ?? null) == "open")) ? (" show") : ("")); echo "\" id=\"partitionsCollapse\"> "; } // line 602 echo " "; // line 603 $this->loadTemplate("table/structure/display_partitions.twig", "table/structure/display_structure.twig", 603)->display(twig_to_array(["db" => // line 604 ($context["db"] ?? null), "table" => // line 605 ($context["table"] ?? null), "partitions" => // line 606 ($context["partitions"] ?? null), "partition_method" => twig_get_attribute($this->env, $this->source, // line 607 ($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 607), "partition_expression" => twig_get_attribute($this->env, $this->source, // line 608 ($context["first_partition"] ?? null), "getExpression", [], "method", false, false, false, 608), "has_description" => !twig_test_empty(twig_get_attribute($this->env, $this->source, // line 609 ($context["first_partition"] ?? null), "getDescription", [], "method", false, false, false, 609)), "has_sub_partitions" => // line 610 ($context["has_sub_partitions"] ?? null), "sub_partition_method" => (( // line 611 ($context["has_sub_partitions"] ?? null)) ? (twig_get_attribute($this->env, $this->source, ($context["first_sub_partition"] ?? null), "getMethod", [], "method", false, false, false, 611)) : ("")), "sub_partition_expression" => (( // line 612 ($context["has_sub_partitions"] ?? null)) ? (twig_get_attribute($this->env, $this->source, ($context["first_sub_partition"] ?? null), "getExpression", [], "method", false, false, false, 612)) : ("")), "range_or_list" => // line 613 ($context["range_or_list"] ?? null)])); // line 615 echo " "; } else { // line 616 echo " "; $this->loadTemplate("table/structure/display_partitions.twig", "table/structure/display_structure.twig", 616)->display(twig_to_array(["db" => // line 617 ($context["db"] ?? null), "table" => // line 618 ($context["table"] ?? null)])); // line 620 echo " "; } // line 621 echo " "; if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 622 echo " </div> "; } } // line 625 echo " "; // line 627 if (($context["show_stats"] ?? null)) { // line 628 echo " "; echo ($context["table_stats"] ?? null); echo " "; } // line 630 echo "<div class=\"clearfloat\"></div> "; } public function getTemplateName() { return "table/structure/display_structure.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 1492 => 630, 1486 => 628, 1484 => 627, 1481 => 625, 1476 => 622, 1473 => 621, 1470 => 620, 1468 => 618, 1467 => 617, 1465 => 616, 1462 => 615, 1460 => 613, 1459 => 612, 1458 => 611, 1457 => 610, 1456 => 609, 1455 => 608, 1454 => 607, 1453 => 606, 1452 => 605, 1451 => 604, 1450 => 603, 1447 => 602, 1442 => 600, 1438 => 598, 1433 => 596, 1430 => 595, 1428 => 594, 1425 => 593, 1422 => 592, 1419 => 591, 1416 => 590, 1413 => 589, 1410 => 588, 1408 => 587, 1407 => 586, 1406 => 585, 1404 => 584, 1401 => 583, 1398 => 582, 1396 => 581, 1394 => 580, 1391 => 578, 1386 => 576, 1380 => 572, 1376 => 571, 1374 => 568, 1371 => 570, 1368 => 569, 1366 => 568, 1360 => 565, 1356 => 564, 1351 => 561, 1345 => 559, 1339 => 555, 1333 => 554, 1326 => 552, 1318 => 550, 1316 => 549, 1311 => 547, 1307 => 546, 1303 => 545, 1300 => 544, 1294 => 542, 1291 => 541, 1285 => 540, 1282 => 539, 1278 => 537, 1275 => 536, 1271 => 535, 1264 => 533, 1258 => 532, 1252 => 531, 1246 => 530, 1242 => 528, 1240 => 525, 1239 => 523, 1235 => 522, 1232 => 521, 1229 => 520, 1227 => 518, 1226 => 517, 1224 => 516, 1221 => 515, 1219 => 512, 1217 => 511, 1215 => 510, 1211 => 509, 1205 => 506, 1202 => 505, 1200 => 504, 1199 => 503, 1198 => 502, 1195 => 501, 1191 => 500, 1185 => 497, 1182 => 496, 1180 => 495, 1179 => 494, 1178 => 493, 1175 => 492, 1171 => 491, 1168 => 490, 1165 => 489, 1161 => 488, 1154 => 483, 1150 => 482, 1146 => 481, 1142 => 480, 1138 => 479, 1134 => 478, 1130 => 477, 1126 => 476, 1122 => 475, 1118 => 474, 1109 => 469, 1103 => 467, 1101 => 466, 1094 => 463, 1088 => 459, 1086 => 458, 1083 => 457, 1078 => 454, 1074 => 453, 1057 => 450, 1053 => 449, 1049 => 448, 1032 => 447, 1029 => 446, 1024 => 443, 1018 => 440, 1015 => 437, 1009 => 435, 1007 => 434, 1003 => 433, 998 => 432, 996 => 431, 993 => 430, 990 => 429, 984 => 426, 979 => 425, 976 => 424, 973 => 423, 967 => 420, 963 => 419, 958 => 417, 955 => 416, 949 => 413, 944 => 412, 941 => 411, 936 => 409, 932 => 407, 930 => 403, 927 => 402, 925 => 400, 924 => 399, 923 => 398, 919 => 397, 916 => 396, 914 => 395, 912 => 394, 907 => 393, 903 => 391, 901 => 389, 899 => 387, 897 => 386, 894 => 385, 886 => 378, 878 => 373, 874 => 372, 862 => 363, 855 => 359, 848 => 355, 844 => 354, 832 => 345, 828 => 344, 824 => 343, 813 => 336, 808 => 334, 805 => 333, 801 => 332, 795 => 329, 791 => 328, 780 => 320, 777 => 319, 774 => 318, 768 => 315, 764 => 314, 759 => 312, 754 => 311, 752 => 310, 746 => 307, 742 => 306, 737 => 304, 733 => 303, 728 => 301, 724 => 300, 719 => 298, 715 => 297, 710 => 295, 705 => 294, 703 => 293, 697 => 290, 693 => 289, 688 => 287, 683 => 286, 681 => 285, 675 => 282, 671 => 281, 668 => 280, 666 => 277, 665 => 276, 659 => 272, 652 => 270, 648 => 268, 643 => 265, 639 => 263, 636 => 262, 632 => 260, 626 => 257, 623 => 256, 621 => 255, 620 => 254, 619 => 253, 613 => 252, 607 => 249, 604 => 248, 602 => 247, 601 => 246, 600 => 245, 594 => 244, 592 => 243, 587 => 242, 585 => 241, 579 => 238, 576 => 237, 574 => 235, 573 => 234, 572 => 233, 571 => 232, 570 => 230, 569 => 229, 564 => 228, 559 => 227, 555 => 224, 547 => 222, 541 => 219, 538 => 218, 536 => 217, 535 => 216, 534 => 215, 533 => 214, 527 => 213, 525 => 212, 524 => 211, 523 => 210, 522 => 209, 521 => 208, 520 => 207, 515 => 206, 511 => 203, 505 => 200, 502 => 199, 500 => 198, 499 => 197, 498 => 196, 497 => 195, 491 => 194, 483 => 192, 481 => 191, 476 => 190, 474 => 180, 470 => 178, 464 => 175, 461 => 174, 459 => 173, 458 => 172, 457 => 171, 456 => 170, 450 => 169, 442 => 167, 440 => 166, 436 => 165, 432 => 163, 426 => 160, 423 => 159, 421 => 158, 420 => 157, 419 => 156, 418 => 155, 412 => 154, 404 => 152, 402 => 151, 398 => 150, 394 => 148, 388 => 145, 385 => 144, 383 => 143, 382 => 142, 381 => 141, 380 => 140, 374 => 139, 366 => 137, 364 => 136, 359 => 135, 355 => 133, 350 => 130, 346 => 129, 344 => 128, 341 => 127, 338 => 126, 336 => 125, 333 => 124, 326 => 120, 323 => 119, 321 => 118, 320 => 116, 319 => 115, 318 => 114, 317 => 113, 314 => 112, 307 => 108, 304 => 107, 302 => 105, 301 => 104, 300 => 103, 299 => 102, 296 => 101, 294 => 100, 289 => 99, 283 => 96, 280 => 95, 278 => 94, 275 => 93, 270 => 91, 267 => 89, 265 => 88, 262 => 86, 259 => 84, 257 => 83, 255 => 82, 251 => 80, 247 => 79, 244 => 78, 236 => 76, 234 => 75, 229 => 72, 221 => 70, 219 => 69, 218 => 68, 214 => 67, 209 => 65, 202 => 62, 196 => 60, 188 => 58, 186 => 57, 182 => 56, 177 => 54, 170 => 52, 165 => 49, 163 => 48, 160 => 47, 158 => 46, 155 => 45, 153 => 44, 150 => 43, 147 => 42, 142 => 41, 139 => 40, 134 => 36, 128 => 34, 125 => 33, 122 => 32, 117 => 30, 112 => 28, 110 => 27, 107 => 26, 103 => 25, 99 => 24, 95 => 23, 91 => 22, 87 => 21, 80 => 17, 75 => 13, 72 => 12, 69 => 10, 67 => 9, 65 => 8, 63 => 7, 59 => 5, 55 => 4, 50 => 3, 46 => 2, 35 => 1,); } public function getSourceContext() { return new Source("", "table/structure/display_structure.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/structure/display_structure.twig"); } } twig/cb/cb6824c804146956ba8b728fe6453877.php 0000644 00000010727 15114741573 0012741 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/index.twig */ class __TwigTemplate_ddce496134938110a50e444fc823e92a 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'] = twig_ensure_traversable($this->env->getRuntime('PhpMyAdmin\FlashMessages')->getMessages()); foreach ($context['_seq'] as $context["flash_key"] => $context["flash_messages"]) { // line 2 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($context["flash_messages"]); foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) { // line 3 echo " <div class=\"alert alert-"; echo twig_escape_filter($this->env, $context["flash_key"], "html", null, true); echo "\" role=\"alert\"> "; // line 4 echo twig_escape_filter($this->env, $context["flash_message"], "html", null, true); echo " </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash_message'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['flash_key'], $context['flash_messages'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 8 echo " "; // line 9 if (($context["has_tables"] ?? null)) { // line 10 echo " <div id=\"tableslistcontainer\"> "; // line 11 echo ($context["list_navigator_html"] ?? null); echo " "; // line 13 echo ($context["table_list_html"] ?? null); echo " "; // line 15 echo ($context["list_navigator_html"] ?? null); echo " </div> <hr> <p class=\"d-print-none\"> <button type=\"button\" class=\"btn btn-link p-0 jsPrintButton\">"; // line 19 echo PhpMyAdmin\Html\Generator::getIcon("b_print", _gettext("Print"), true); echo "</button> <a href=\""; // line 20 echo PhpMyAdmin\Url::getFromRoute("/database/data-dictionary", ["db" => ($context["database"] ?? null), "goto" => PhpMyAdmin\Url::getFromRoute("/database/structure")]); echo "\"> "; // line 21 echo PhpMyAdmin\Html\Generator::getIcon("b_tblanalyse", _gettext("Data dictionary"), true); echo " </a> </p> "; } else { // line 25 echo " "; echo $this->env->getFilter('notice')->getCallable()(_gettext("No tables found in database.")); echo " "; } // line 27 echo " "; // line 28 if ( !($context["is_system_schema"] ?? null)) { // line 29 echo " "; echo ($context["create_table_html"] ?? null); echo " "; } } public function getTemplateName() { return "database/structure/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 115 => 29, 113 => 28, 110 => 27, 104 => 25, 97 => 21, 93 => 20, 89 => 19, 82 => 15, 77 => 13, 72 => 11, 69 => 10, 67 => 9, 64 => 8, 51 => 4, 46 => 3, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/index.twig"); } } twig/cb/cb75e9713348c6389821391ef1080217.php 0000644 00000010723 15114741573 0012561 0 ustar 00 <?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_2f1abca8352d359196e1b7cac80867e6 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/top_menu.twig"); } } twig/98/983a715afcd40cbe198d13a69aef20b4.php 0000644 00000010227 15114741573 0013214 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* top_menu.twig */ class __TwigTemplate_94994b010e7456f8b7939a287235d623 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 echo "<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 echo _gettext("Toggle navigation"); // line 4 echo "\" aria-controls=\"navbarNav\" aria-expanded=\"false\"> <span class=\"navbar-toggler-icon\"></span> </button> <div class=\"collapse navbar-collapse\" id=\"navbarNav\"> <ul id=\"topmenu\" class=\"navbar-nav\"> "; // line 9 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["tabs"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["tab"]) { // line 10 echo " <li class=\"nav-item"; echo ((twig_get_attribute($this->env, $this->source, $context["tab"], "active", [], "any", false, false, false, 10)) ? (" active") : ("")); echo "\"> <a class=\"nav-link text-nowrap\" href=\""; // line 11 echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, $context["tab"], "route", [], "any", false, false, false, 11), twig_array_merge(($context["url_params"] ?? null), (((twig_get_attribute($this->env, $this->source, $context["tab"], "args", [], "any", true, true, false, 11) && !(null === twig_get_attribute($this->env, $this->source, $context["tab"], "args", [], "any", false, false, false, 11)))) ? (twig_get_attribute($this->env, $this->source, $context["tab"], "args", [], "any", false, false, false, 11)) : ([])))); echo "\"> "; // line 12 echo PhpMyAdmin\Html\Generator::getIcon(twig_get_attribute($this->env, $this->source, $context["tab"], "icon", [], "any", false, false, false, 12), twig_get_attribute($this->env, $this->source, $context["tab"], "text", [], "any", false, false, false, 12), false, true, "TabsMode"); echo " "; // line 13 if (twig_get_attribute($this->env, $this->source, $context["tab"], "active", [], "any", false, false, false, 13)) { // line 14 echo " <span class=\"visually-hidden\">"; // l10n: Current page echo _gettext("(current)"); echo "</span> "; } // line 16 echo " </a> </li> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tab'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 19 echo " </ul> </div> </nav> </div> "; } public function getTemplateName() { return "top_menu.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 84 => 19, 76 => 16, 69 => 14, 67 => 13, 63 => 12, 59 => 11, 54 => 10, 50 => 9, 43 => 4, 37 => 1,); } public function getSourceContext() { return new Source("", "top_menu.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/top_menu.twig"); } } twig/23/23d5766e14b688c2610b4c1ff0774955.php 0000644 00000010642 15114741573 0012557 0 ustar 00 <?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_dce8cbd61855b68f100ca30642e04206 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/table_headers_for_columns.twig"); } } twig/23/230d91c0f9731103f9f4833cb6da49b7.php 0000644 00000261340 15114741573 0012711 0 ustar 00 <?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; /* table/structure/display_structure.twig */ class __TwigTemplate_fc523dafb3a646914a725f5bf31d4a66 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 "table/page_with_secondary_tabs.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $this->parent = $this->loadTemplate("table/page_with_secondary_tabs.twig", "table/structure/display_structure.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 "<h1 class=\"d-none d-print-block\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["table"] ?? null), "html", null, true); yield "</h1> <form method=\"post\" action=\""; // line 4 yield PhpMyAdmin\Url::getFromRoute("/table/structure"); yield "\" name=\"fieldsForm\" id=\"fieldsForm\"> "; // line 5 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); yield " <input type=\"hidden\" name=\"table_type\" value="; // line 7 if (($context["db_is_system_schema"] ?? null)) { // line 8 yield "\"information_schema\""; } elseif ( // line 9 ($context["tbl_is_view"] ?? null)) { // line 10 yield "\"view\""; } else { // line 12 yield "\"table\""; } // line 13 yield "> <div class=\"table-responsive-md\"> <table id=\"tablestructure\" class=\"table table-striped table-hover w-auto align-middle\"> "; // line 17 yield " <thead> <tr> <th class=\"d-print-none\"></th> <th>#</th> <th>"; yield _gettext("Name"); // line 21 yield "</th> <th>"; yield _gettext("Type"); // line 22 yield "</th> <th>"; yield _gettext("Collation"); // line 23 yield "</th> <th>"; yield _gettext("Attributes"); // line 24 yield "</th> <th>"; yield _gettext("Null"); // line 25 yield "</th> <th>"; yield _gettext("Default"); // line 26 yield "</th> "; // line 27 if (($context["show_column_comments"] ?? null)) { // line 28 yield "<th>"; yield _gettext("Comments"); yield "</th>"; } // line 30 yield " <th>"; yield _gettext("Extra"); yield "</th> "; // line 32 yield " "; if (( !($context["db_is_system_schema"] ?? null) && !($context["tbl_is_view"] ?? null))) { // line 33 yield " <th colspan=\""; yield ((PhpMyAdmin\Util::showIcons("ActionLinksMode")) ? ("8") : ("9")); // line 34 yield "\" class=\"action d-print-none\">"; yield _gettext("Action"); yield "</th> "; } // line 36 yield " </tr> </thead> <tbody> "; // line 40 yield " "; $context["rownum"] = 0; // line 41 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["fields"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["row"]) { // line 42 yield " "; $context["rownum"] = (($context["rownum"] ?? null) + 1); // line 43 yield " "; // line 44 $context["extracted_columnspec"] = (($__internal_compile_0 = ($context["extracted_columnspecs"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[($context["rownum"] ?? null)] ?? null) : null); // line 45 yield " "; $context["field_name"] = $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_1 = $context["row"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["Field"] ?? null) : null)); // line 46 yield " "; // line 47 yield " "; $context["comments"] = (($__internal_compile_2 = ($context["row_comments"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[($context["rownum"] ?? null)] ?? null) : null); // line 48 yield " "; // line 49 yield " <tr> <td class=\"text-center d-print-none\"> <input type=\"checkbox\" class=\"checkall\" name=\"selected_fld[]\" value=\""; // line 52 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_3 = $context["row"]) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["Field"] ?? null) : null), "html", null, true); yield "\" id=\"checkbox_row_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["rownum"] ?? null), "html", null, true); yield "\"> </td> <td class=\"text-end\">"; // line 54 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["rownum"] ?? null), "html", null, true); yield "</td> <th class=\"text-nowrap\"> <label for=\"checkbox_row_"; // line 56 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["rownum"] ?? null), "html", null, true); yield "\"> "; // line 57 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["displayed_fields"] ?? null), ($context["rownum"] ?? null), [], "array", false, true, false, 57), "comment", [], "any", true, true, false, 57)) { // line 58 yield " <span class=\"commented_column\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_4 = ($context["displayed_fields"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4[($context["rownum"] ?? null)] ?? null) : null), "comment", [], "any", false, false, false, 58), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_5 = ($context["displayed_fields"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[($context["rownum"] ?? null)] ?? null) : null), "text", [], "any", false, false, false, 58), "html", null, true); yield "</span> "; } else { // line 60 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_6 = ($context["displayed_fields"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6[($context["rownum"] ?? null)] ?? null) : null), "text", [], "any", false, false, false, 60), "html", null, true); yield " "; } // line 62 yield " "; yield CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_7 = ($context["displayed_fields"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7[($context["rownum"] ?? null)] ?? null) : null), "icon", [], "any", false, false, false, 62); yield " </label> </th> <td"; // line 65 yield (((("set" != (($__internal_compile_8 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["type"] ?? null) : null)) && ("enum" != (($__internal_compile_9 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["type"] ?? null) : null)))) ? (" class=\"text-nowrap\"") : ("")); yield "> <bdo dir=\"ltr\" lang=\"en\"> "; // line 67 yield (($__internal_compile_10 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["displayed_type"] ?? null) : null); yield " "; // line 68 if (((( !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "columnCommentsFeature", [], "any", false, false, false, 68)) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "browserTransformationFeature", [], "any", false, false, false, 68))) && ($context["browse_mime"] ?? null)) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 69 ($context["mime_map"] ?? null), (($__internal_compile_11 = $context["row"]) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["Field"] ?? null) : null), [], "array", false, true, false, 69), "mimetype", [], "array", true, true, false, 69))) { // line 70 yield " <br>"; yield _gettext("Media type:"); yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::lower($this->env->getCharset(), Twig\Extension\CoreExtension::replace((($__internal_compile_12 = (($__internal_compile_13 = ($context["mime_map"] ?? null)) && is_array($__internal_compile_13) || $__internal_compile_13 instanceof ArrayAccess ? ($__internal_compile_13[(($__internal_compile_14 = $context["row"]) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_12) || $__internal_compile_12 instanceof ArrayAccess ? ($__internal_compile_12["mimetype"] ?? null) : null), ["_" => "/"])), "html", null, true); yield " "; } // line 72 yield " </bdo> </td> <td> "; // line 75 if ( !Twig\Extension\CoreExtension::testEmpty((($__internal_compile_15 = $context["row"]) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15["Collation"] ?? null) : null))) { // line 76 yield " <dfn title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_16 = ($context["collations"] ?? null)) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16[(($__internal_compile_17 = $context["row"]) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17["Collation"] ?? null) : null)] ?? null) : null), "description", [], "any", false, false, false, 76), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_18 = ($context["collations"] ?? null)) && is_array($__internal_compile_18) || $__internal_compile_18 instanceof ArrayAccess ? ($__internal_compile_18[(($__internal_compile_19 = $context["row"]) && is_array($__internal_compile_19) || $__internal_compile_19 instanceof ArrayAccess ? ($__internal_compile_19["Collation"] ?? null) : null)] ?? null) : null), "name", [], "any", false, false, false, 76), "html", null, true); yield "</dfn> "; } // line 78 yield " </td> <td class=\"column_attribute text-nowrap\">"; // line 79 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_20 = ($context["attributes"] ?? null)) && is_array($__internal_compile_20) || $__internal_compile_20 instanceof ArrayAccess ? ($__internal_compile_20[($context["rownum"] ?? null)] ?? null) : null), "html", null, true); yield "</td> <td>"; // line 80 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((((($__internal_compile_21 = $context["row"]) && is_array($__internal_compile_21) || $__internal_compile_21 instanceof ArrayAccess ? ($__internal_compile_21["Null"] ?? null) : null) == "YES")) ? (_gettext("Yes")) : (_gettext("No"))), "html", null, true); yield "</td> <td class=\"text-nowrap\">"; // line 82 if ( !(null === (($__internal_compile_22 = $context["row"]) && is_array($__internal_compile_22) || $__internal_compile_22 instanceof ArrayAccess ? ($__internal_compile_22["Default"] ?? null) : null))) { // line 83 if (((($__internal_compile_23 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_23) || $__internal_compile_23 instanceof ArrayAccess ? ($__internal_compile_23["type"] ?? null) : null) == "bit")) { // line 84 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::convertBitDefaultValue((($__internal_compile_24 = $context["row"]) && is_array($__internal_compile_24) || $__internal_compile_24 instanceof ArrayAccess ? ($__internal_compile_24["Default"] ?? null) : null)), "html", null, true); } else { // line 86 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_25 = $context["row"]) && is_array($__internal_compile_25) || $__internal_compile_25 instanceof ArrayAccess ? ($__internal_compile_25["Default"] ?? null) : null), "html", null, true); } } elseif (((($__internal_compile_26 = // line 88 $context["row"]) && is_array($__internal_compile_26) || $__internal_compile_26 instanceof ArrayAccess ? ($__internal_compile_26["Null"] ?? null) : null) == "YES")) { // line 89 yield "<em>NULL</em>"; } else { // line 91 yield "<em>"; yield _pgettext("None for default", "None"); yield "</em>"; } // line 93 yield "</td> "; // line 94 if (($context["show_column_comments"] ?? null)) { // line 95 yield " <td> "; // line 96 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["comments"] ?? null), "html", null, true); yield " </td> "; } // line 99 yield " <td class=\"text-nowrap\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::upper($this->env->getCharset(), (($__internal_compile_27 = $context["row"]) && is_array($__internal_compile_27) || $__internal_compile_27 instanceof ArrayAccess ? ($__internal_compile_27["Extra"] ?? null) : null)), "html", null, true); yield "</td> "; // line 100 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 101 yield " <td class=\"edit text-center d-print-none\"> <a class=\"change_column_anchor ajax\" href=\""; // line 102 yield PhpMyAdmin\Url::getFromRoute("/table/structure/change", ["db" => // line 103 ($context["db"] ?? null), "table" => // line 104 ($context["table"] ?? null), "field" => (($__internal_compile_28 = // line 105 $context["row"]) && is_array($__internal_compile_28) || $__internal_compile_28 instanceof ArrayAccess ? ($__internal_compile_28["Field"] ?? null) : null), "change_column" => 1]); // line 107 yield "\"> "; // line 108 yield PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Change")); yield " </a> </td> <td class=\"drop text-center d-print-none\"> <a class=\"drop_column_anchor ajax\" href=\""; // line 112 yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 113 ($context["db"] ?? null), "table" => // line 114 ($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 115 ($context["table"] ?? null))) . " DROP ") . PhpMyAdmin\Util::backquote((($__internal_compile_29 = $context["row"]) && is_array($__internal_compile_29) || $__internal_compile_29 instanceof ArrayAccess ? ($__internal_compile_29["Field"] ?? null) : null))) . ";"), "dropped_column" => (($__internal_compile_30 = // line 116 $context["row"]) && is_array($__internal_compile_30) || $__internal_compile_30 instanceof ArrayAccess ? ($__internal_compile_30["Field"] ?? null) : null), "purge" => true, "message_to_show" => Twig\Extension\CoreExtension::sprintf(_gettext("Column %s has been dropped."), $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_31 = // line 118 $context["row"]) && is_array($__internal_compile_31) || $__internal_compile_31 instanceof ArrayAccess ? ($__internal_compile_31["Field"] ?? null) : null)))], "", false); // line 119 yield "\"> "; // line 120 yield PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); yield " </a> </td> "; } // line 124 yield " "; // line 125 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 126 yield " "; $context["type"] = (( !Twig\Extension\CoreExtension::testEmpty((($__internal_compile_32 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_32) || $__internal_compile_32 instanceof ArrayAccess ? ($__internal_compile_32["print_type"] ?? null) : null))) ? ((($__internal_compile_33 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_33) || $__internal_compile_33 instanceof ArrayAccess ? ($__internal_compile_33["print_type"] ?? null) : null)) : ("")); // line 127 yield " <td class=\"d-print-none\"> "; // line 128 if (($context["hide_structure_actions"] ?? null)) { // line 129 yield " <div class=\"dropdown\"> <button class=\"btn btn-link p-0 dropdown-toggle\" type=\"button\" id=\"moreActionsButton\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\">"; yield _gettext("More"); // line 130 yield "</button> <ul class=\"dropdown-menu dropdown-menu-end\" aria-labelledby=\"moreActionsButton\"> "; } else { // line 133 yield " <ul class=\"nav\"> "; } // line 135 yield " <li class=\""; yield (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); yield "primary text-nowrap\"> "; // line 136 if (((((($context["type"] ?? null) == "text") || (($context["type"] ?? null) == "blob")) || (($context["tbl_storage_engine"] ?? null) == "ARCHIVE")) || (($context["primary"] ?? null) && CoreExtension::getAttribute($this->env, $this->source, ($context["primary"] ?? null), "hasColumn", [($context["field_name"] ?? null)], "method", false, false, false, 136)))) { // line 137 yield " <span class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1")); yield " disabled\">"; yield PhpMyAdmin\Html\Generator::getIcon("bd_primary", _gettext("Primary")); yield "</span> "; } else { // line 139 yield " <a rel=\"samepage\" class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); yield " ajax add_key d-print-none add_primary_key_anchor\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/table/structure/add-key"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 140 ($context["db"] ?? null), "table" => // line 141 ($context["table"] ?? null), "sql_query" => ((((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 142 ($context["table"] ?? null))) . ((($context["primary"] ?? null)) ? (" DROP PRIMARY KEY,") : (""))) . " ADD PRIMARY KEY(") . PhpMyAdmin\Util::backquote((($__internal_compile_34 = $context["row"]) && is_array($__internal_compile_34) || $__internal_compile_34 instanceof ArrayAccess ? ($__internal_compile_34["Field"] ?? null) : null))) . ");"), "message_to_show" => Twig\Extension\CoreExtension::sprintf(_gettext("A primary key has been added on %s."), $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_35 = // line 143 $context["row"]) && is_array($__internal_compile_35) || $__internal_compile_35 instanceof ArrayAccess ? ($__internal_compile_35["Field"] ?? null) : null)))], "", false); // line 144 yield "\"> "; // line 145 yield PhpMyAdmin\Html\Generator::getIcon("b_primary", _gettext("Primary")); yield " </a> "; } // line 148 yield " </li> <li class=\""; // line 150 yield (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); yield "add_unique unique text-nowrap\"> "; // line 151 if ((((($context["type"] ?? null) == "text") || (($context["type"] ?? null) == "blob")) || (($context["tbl_storage_engine"] ?? null) == "ARCHIVE"))) { // line 152 yield " <span class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1")); yield " disabled\">"; yield PhpMyAdmin\Html\Generator::getIcon("bd_unique", _gettext("Unique")); yield "</span> "; } else { // line 154 yield " <a rel=\"samepage\" class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); yield " ajax add_key d-print-none add_unique_anchor\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/table/structure/add-key"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 155 ($context["db"] ?? null), "table" => // line 156 ($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 157 ($context["table"] ?? null))) . " ADD UNIQUE(") . PhpMyAdmin\Util::backquote((($__internal_compile_36 = $context["row"]) && is_array($__internal_compile_36) || $__internal_compile_36 instanceof ArrayAccess ? ($__internal_compile_36["Field"] ?? null) : null))) . ");"), "message_to_show" => Twig\Extension\CoreExtension::sprintf(_gettext("An index has been added on %s."), $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_37 = // line 158 $context["row"]) && is_array($__internal_compile_37) || $__internal_compile_37 instanceof ArrayAccess ? ($__internal_compile_37["Field"] ?? null) : null)))], "", false); // line 159 yield "\"> "; // line 160 yield PhpMyAdmin\Html\Generator::getIcon("b_unique", _gettext("Unique")); yield " </a> "; } // line 163 yield " </li> <li class=\""; // line 165 yield (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); yield "add_index text-nowrap\"> "; // line 166 if ((((($context["type"] ?? null) == "text") || (($context["type"] ?? null) == "blob")) || (($context["tbl_storage_engine"] ?? null) == "ARCHIVE"))) { // line 167 yield " <span class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1")); yield " disabled\">"; yield PhpMyAdmin\Html\Generator::getIcon("bd_index", _gettext("Index")); yield "</span> "; } else { // line 169 yield " <a rel=\"samepage\" class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); yield " ajax add_key d-print-none add_index_anchor\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/table/structure/add-key"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 170 ($context["db"] ?? null), "table" => // line 171 ($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 172 ($context["table"] ?? null))) . " ADD INDEX(") . PhpMyAdmin\Util::backquote((($__internal_compile_38 = $context["row"]) && is_array($__internal_compile_38) || $__internal_compile_38 instanceof ArrayAccess ? ($__internal_compile_38["Field"] ?? null) : null))) . ");"), "message_to_show" => Twig\Extension\CoreExtension::sprintf(_gettext("An index has been added on %s."), $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_39 = // line 173 $context["row"]) && is_array($__internal_compile_39) || $__internal_compile_39 instanceof ArrayAccess ? ($__internal_compile_39["Field"] ?? null) : null)))], "", false); // line 174 yield "\"> "; // line 175 yield PhpMyAdmin\Html\Generator::getIcon("b_index", _gettext("Index")); yield " </a> "; } // line 178 yield " </li> "; // line 180 $context["spatial_types"] = ["geometry", "point", "linestring", "polygon", "multipoint", "multilinestring", "multipolygon", "geomtrycollection"]; // line 190 yield " <li class=\""; yield (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); yield "spatial text-nowrap\"> "; // line 191 if (((((($context["type"] ?? null) == "text") || (($context["type"] ?? null) == "blob")) || (($context["tbl_storage_engine"] ?? null) == "ARCHIVE")) || (!CoreExtension::inFilter(($context["type"] ?? null), ($context["spatial_types"] ?? null)) && ((($context["tbl_storage_engine"] ?? null) == "MYISAM") || (($context["mysql_int_version"] ?? null) >= 50705))))) { // line 192 yield " <span class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1")); yield " disabled\">"; yield PhpMyAdmin\Html\Generator::getIcon("bd_spatial", _gettext("Spatial")); yield "</span> "; } else { // line 194 yield " <a rel=\"samepage\" class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); yield " ajax add_key d-print-none add_spatial_anchor\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/table/structure/add-key"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 195 ($context["db"] ?? null), "table" => // line 196 ($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 197 ($context["table"] ?? null))) . " ADD SPATIAL(") . PhpMyAdmin\Util::backquote((($__internal_compile_40 = $context["row"]) && is_array($__internal_compile_40) || $__internal_compile_40 instanceof ArrayAccess ? ($__internal_compile_40["Field"] ?? null) : null))) . ");"), "message_to_show" => Twig\Extension\CoreExtension::sprintf(_gettext("An index has been added on %s."), $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_41 = // line 198 $context["row"]) && is_array($__internal_compile_41) || $__internal_compile_41 instanceof ArrayAccess ? ($__internal_compile_41["Field"] ?? null) : null)))], "", false); // line 199 yield "\"> "; // line 200 yield PhpMyAdmin\Html\Generator::getIcon("b_spatial", _gettext("Spatial")); yield " </a> "; } // line 203 yield " </li> "; // line 206 yield " <li class=\""; yield (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); yield "fulltext text-nowrap\"> "; // line 207 if ((( !Twig\Extension\CoreExtension::testEmpty(($context["tbl_storage_engine"] ?? null)) && (((( // line 208 ($context["tbl_storage_engine"] ?? null) == "MYISAM") || ( // line 209 ($context["tbl_storage_engine"] ?? null) == "ARIA")) || ( // line 210 ($context["tbl_storage_engine"] ?? null) == "MARIA")) || (( // line 211 ($context["tbl_storage_engine"] ?? null) == "INNODB") && (($context["mysql_int_version"] ?? null) >= 50604)))) && (CoreExtension::inFilter("text", // line 212 ($context["type"] ?? null)) || CoreExtension::inFilter("char", ($context["type"] ?? null))))) { // line 213 yield " <a rel=\"samepage\" class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); yield " ajax add_key add_fulltext_anchor\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/table/structure/add-key"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 214 ($context["db"] ?? null), "table" => // line 215 ($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 216 ($context["table"] ?? null))) . " ADD FULLTEXT(") . PhpMyAdmin\Util::backquote((($__internal_compile_42 = $context["row"]) && is_array($__internal_compile_42) || $__internal_compile_42 instanceof ArrayAccess ? ($__internal_compile_42["Field"] ?? null) : null))) . ");"), "message_to_show" => Twig\Extension\CoreExtension::sprintf(_gettext("An index has been added on %s."), $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_43 = // line 217 $context["row"]) && is_array($__internal_compile_43) || $__internal_compile_43 instanceof ArrayAccess ? ($__internal_compile_43["Field"] ?? null) : null)))], "", false); // line 218 yield "\"> "; // line 219 yield PhpMyAdmin\Html\Generator::getIcon("b_ftext", _gettext("Fulltext")); yield " </a> "; } else { // line 222 yield " <span class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1")); yield " disabled\">"; yield PhpMyAdmin\Html\Generator::getIcon("bd_ftext", _gettext("Fulltext")); yield "</span> "; } // line 224 yield " </li> "; // line 227 yield " <li class=\""; yield (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); yield "browse text-nowrap\"> <a class=\""; // line 228 yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); yield "\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 229 ($context["db"] ?? null), "table" => // line 230 ($context["table"] ?? null), "sql_query" => ((((((((("SELECT COUNT(*) AS " . PhpMyAdmin\Util::backquote(_gettext("Rows"))) . ", ") . PhpMyAdmin\Util::backquote((($__internal_compile_44 = // line 232 $context["row"]) && is_array($__internal_compile_44) || $__internal_compile_44 instanceof ArrayAccess ? ($__internal_compile_44["Field"] ?? null) : null))) . " FROM ") . PhpMyAdmin\Util::backquote( // line 233 ($context["table"] ?? null))) . " GROUP BY ") . PhpMyAdmin\Util::backquote((($__internal_compile_45 = // line 234 $context["row"]) && is_array($__internal_compile_45) || $__internal_compile_45 instanceof ArrayAccess ? ($__internal_compile_45["Field"] ?? null) : null))) . " ORDER BY ") . PhpMyAdmin\Util::backquote((($__internal_compile_46 = // line 235 $context["row"]) && is_array($__internal_compile_46) || $__internal_compile_46 instanceof ArrayAccess ? ($__internal_compile_46["Field"] ?? null) : null))), "is_browse_distinct" => true], "", false); // line 237 yield "\"> "; // line 238 yield PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Distinct values")); yield " </a> </li> "; // line 241 if ( !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "centralColumnsFeature", [], "any", false, false, false, 241))) { // line 242 yield " <li class=\""; yield (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : ("")); yield "browse text-nowrap\"> "; // line 243 if (CoreExtension::inFilter((($__internal_compile_47 = $context["row"]) && is_array($__internal_compile_47) || $__internal_compile_47 instanceof ArrayAccess ? ($__internal_compile_47["Field"] ?? null) : null), ($context["central_list"] ?? null))) { // line 244 yield " <a class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); yield "\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/table/structure/central-columns-remove"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 245 ($context["db"] ?? null), "table" => // line 246 ($context["table"] ?? null), "selected_fld" => [(($__internal_compile_48 = // line 247 $context["row"]) && is_array($__internal_compile_48) || $__internal_compile_48 instanceof ArrayAccess ? ($__internal_compile_48["Field"] ?? null) : null)]]); // line 248 yield "\"> "; // line 249 yield PhpMyAdmin\Html\Generator::getIcon("centralColumns_delete", _gettext("Remove from central columns")); yield " </a> "; } else { // line 252 yield " <a class=\""; yield ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1")); yield "\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/table/structure/central-columns-add"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 253 ($context["db"] ?? null), "table" => // line 254 ($context["table"] ?? null), "selected_fld" => [(($__internal_compile_49 = // line 255 $context["row"]) && is_array($__internal_compile_49) || $__internal_compile_49 instanceof ArrayAccess ? ($__internal_compile_49["Field"] ?? null) : null)]]); // line 256 yield "\"> "; // line 257 yield PhpMyAdmin\Html\Generator::getIcon("centralColumns_add", _gettext("Add to central columns")); yield " </a> "; } // line 260 yield " </li> "; } // line 262 yield " "; if ( !($context["hide_structure_actions"] ?? null)) { // line 263 yield " </ul> "; } else { // line 265 yield " </ul> </div> "; } // line 268 yield " </td> "; } // line 270 yield " </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 272 yield " </tbody> </table> </div> <div class=\"d-print-none\"> "; // line 276 yield from $this->loadTemplate("select_all.twig", "table/structure/display_structure.twig", 276)->unwrap()->yield(CoreExtension::toArray(["text_dir" => // line 277 ($context["text_dir"] ?? null), "form_name" => "fieldsForm"])); // line 280 yield " <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 281 yield PhpMyAdmin\Url::getFromRoute("/table/structure/browse"); yield "\"> "; // line 282 yield PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse")); yield " </button> "; // line 285 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 286 yield " <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; yield PhpMyAdmin\Url::getFromRoute("/table/structure/change"); yield "\"> "; // line 287 yield PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Change")); yield " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 289 yield PhpMyAdmin\Url::getFromRoute("/table/structure/drop-confirm"); yield "\"> "; // line 290 yield PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); yield " </button> "; // line 293 if ((($context["tbl_storage_engine"] ?? null) != "ARCHIVE")) { // line 294 yield " <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; yield PhpMyAdmin\Url::getFromRoute("/table/structure/primary"); yield "\"> "; // line 295 yield PhpMyAdmin\Html\Generator::getIcon("b_primary", _gettext("Primary")); yield " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 297 yield PhpMyAdmin\Url::getFromRoute("/table/structure/unique"); yield "\"> "; // line 298 yield PhpMyAdmin\Html\Generator::getIcon("b_unique", _gettext("Unique")); yield " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 300 yield PhpMyAdmin\Url::getFromRoute("/table/structure/index"); yield "\"> "; // line 301 yield PhpMyAdmin\Html\Generator::getIcon("b_index", _gettext("Index")); yield " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 303 yield PhpMyAdmin\Url::getFromRoute("/table/structure/spatial"); yield "\"> "; // line 304 yield PhpMyAdmin\Html\Generator::getIcon("b_spatial", _gettext("Spatial")); yield " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 306 yield PhpMyAdmin\Url::getFromRoute("/table/structure/fulltext"); yield "\"> "; // line 307 yield PhpMyAdmin\Html\Generator::getIcon("b_ftext", _gettext("Fulltext")); yield " </button> "; // line 310 if ( !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "centralColumnsFeature", [], "any", false, false, false, 310))) { // line 311 yield " <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; yield PhpMyAdmin\Url::getFromRoute("/table/structure/central-columns-add"); yield "\"> "; // line 312 yield PhpMyAdmin\Html\Generator::getIcon("centralColumns_add", _gettext("Add to central columns")); yield " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\""; // line 314 yield PhpMyAdmin\Url::getFromRoute("/table/structure/central-columns-remove"); yield "\"> "; // line 315 yield PhpMyAdmin\Html\Generator::getIcon("centralColumns_delete", _gettext("Remove from central columns")); yield " </button> "; } // line 318 yield " "; } // line 319 yield " "; } // line 320 yield " </div> </form> <hr class=\"d-print-none\"> <div class=\"modal fade\" id=\"moveColumnsModal\" tabindex=\"-1\" aria-labelledby=\"moveColumnsModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"moveColumnsModalLabel\">"; yield _gettext("Move columns"); // line 328 yield "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Close"); // line 329 yield "\"></button> </div> <div class=\"modal-body\"> <div id=\"move_columns_dialog\" title=\""; yield _gettext("Move columns"); // line 332 yield "\"> <p>"; yield _gettext("Move the columns by dragging them up and down."); // line 333 yield "</p> <form action=\""; // line 334 yield PhpMyAdmin\Url::getFromRoute("/table/structure/move-columns"); yield "\" name=\"move_column_form\" id=\"move_column_form\"> <div> "; // line 336 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); yield " <ul></ul> </div> </form> </div> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-primary\" id=\"designerModalGoButton\">"; yield _gettext("Go"); // line 343 yield "</button> <button type=\"button\" class=\"btn btn-secondary\" id=\"designerModalPreviewButton\" data-bs-target=\"#designerModalPreviewModal\" data-bs-toggle=\"modal\">"; yield _gettext("Preview SQL"); // line 344 yield "</button> <button type=\"button\" class=\"btn btn-secondary\" id=\"designerModalCloseButton\" data-bs-dismiss=\"modal\">"; yield _gettext("Close"); // line 345 yield "</button> </div> </div> </div> </div> <div class=\"modal fade\" id=\"designerModalPreviewModal\" aria-hidden=\"true\" aria-labelledby=\"designerModalPreviewModalLabel\" tabindex=\"-1\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"designerModalPreviewModalLabel\">"; yield _gettext("Preview SQL"); // line 354 yield "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Close"); // line 355 yield "\"></button> </div> <div class=\"modal-body\"> <div class=\"spinner-border\" role=\"status\"> <span class=\"visually-hidden\">"; yield _gettext("Loading…"); // line 359 yield "</span> </div> </div> <div class=\"modal-footer\"> <button class=\"btn btn-primary\" data-bs-target=\"#moveColumnsModal\" data-bs-toggle=\"modal\">"; yield _gettext("Go back"); // line 363 yield "</button> </div> </div> </div> </div> <div class=\"modal fade\" id=\"moveColumnsErrorModal\" tabindex=\"-1\" aria-labelledby=\"moveColumnsErrorModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"moveColumnsErrorModalLabel\">"; yield _gettext("Error"); // line 372 yield "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Close"); // line 373 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("OK"); // line 378 yield "</button> </div> </div> </div> </div> "; // line 385 yield "<div id=\"structure-action-links\" class=\"d-print-none\"> "; // line 386 if ((($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 387 yield " "; yield PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/view/create"), ["db" => // line 389 ($context["db"] ?? null), "table" => ($context["table"] ?? null)], PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit view"), true)); // line 391 yield " "; } // line 393 yield " <button type=\"button\" class=\"btn btn-link p-0 jsPrintButton\">"; yield PhpMyAdmin\Html\Generator::getIcon("b_print", _gettext("Print"), true); yield "</button> "; // line 394 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 395 yield " "; // line 396 yield " "; if (((($context["mysql_int_version"] ?? null) < 80000) || ($context["is_mariadb"] ?? null))) { // line 397 yield " <a class=\"me-0\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 398 ($context["db"] ?? null), "table" => // line 399 ($context["table"] ?? null), "sql_query" => (("SELECT * FROM " . PhpMyAdmin\Util::backquote( // line 400 ($context["table"] ?? null))) . " PROCEDURE ANALYSE()"), "session_max_rows" => "all"], "", false); // line 402 yield "\"> "; // line 403 yield PhpMyAdmin\Html\Generator::getIcon("b_tblanalyse", _gettext("Propose table structure"), true); // line 407 yield " </a> "; // line 409 yield PhpMyAdmin\Html\MySQLDocumentation::show("procedure_analyse"); yield " "; } // line 411 yield " "; if (($context["is_active"] ?? null)) { // line 412 yield " <a href=\""; yield PhpMyAdmin\Url::getFromRoute("/table/tracking", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); yield "\"> "; // line 413 yield PhpMyAdmin\Html\Generator::getIcon("eye", _gettext("Track table"), true); yield " </a> "; } // line 416 yield " <a href=\"#\" id=\"move_columns_anchor\"> "; // line 417 yield PhpMyAdmin\Html\Generator::getIcon("b_move", _gettext("Move columns"), true); yield " </a> <a href=\""; // line 419 yield PhpMyAdmin\Url::getFromRoute("/normalization", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); yield "\"> "; // line 420 yield PhpMyAdmin\Html\Generator::getIcon("normalize", _gettext("Normalize"), true); yield " </a> "; } // line 423 yield " "; if ((($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 424 yield " "; if (($context["is_active"] ?? null)) { // line 425 yield " <a href=\""; yield PhpMyAdmin\Url::getFromRoute("/table/tracking", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); yield "\"> "; // line 426 yield PhpMyAdmin\Html\Generator::getIcon("eye", _gettext("Track view"), true); yield " </a> "; } // line 429 yield " "; } // line 430 yield "</div> "; // line 431 if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) { // line 432 yield " <form method=\"post\" action=\""; yield PhpMyAdmin\Url::getFromRoute("/table/add-field"); yield "\" id=\"addColumns\" name=\"addColumns\" class=\"d-print-none\"> "; // line 433 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); yield " "; // line 434 if (PhpMyAdmin\Util::showIcons("ActionLinksMode")) { // line 435 yield " "; yield PhpMyAdmin\Html\Generator::getImage("b_insrow", _gettext("Add column")); yield " "; } // line 437 yield " "; $context["num_fields"] = ('' === $tmp = "<input type=\"number\" name=\"num_fields\" value=\"1\" onfocus=\"this.select()\" min=\"1\" required>") ? '' : new Markup($tmp, $this->env->getCharset()); // line 440 yield " "; yield Twig\Extension\CoreExtension::sprintf(_gettext("Add %s column(s)"), ($context["num_fields"] ?? null)); yield " <input type=\"hidden\" name=\"field_where\" value=\"after\"> "; // line 443 yield " <select name=\"after_field\"> <option value=\"first\" data-pos=\"first\"> "; yield _gettext("at beginning of table"); // line 446 yield " </option> "; // line 447 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["columns_list"] ?? 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["one_column_name"]) { // line 448 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["one_column_name"], "html", null, true); yield "\""; // line 449 yield (((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "revindex0", [], "any", false, false, false, 449) == 0)) ? (" selected=\"selected\"") : ("")); yield "> "; // line 450 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf(_gettext("after %s"), $context["one_column_name"]), "html", null, true); yield " </option> "; ++$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['one_column_name'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 453 yield " </select> <input class=\"btn btn-primary\" type=\"submit\" value=\""; yield _gettext("Go"); // line 454 yield "\"> </form> "; } // line 457 yield " "; // line 458 if ((( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null)) && (($context["tbl_storage_engine"] ?? null) != "ARCHIVE"))) { // line 459 yield " <div id=\"index_div\" class=\"w-100 ajax\"> <fieldset class=\"pma-fieldset index_info\"> <legend id=\"index_header\"> "; yield _gettext("Indexes"); // line 463 yield " "; yield PhpMyAdmin\Html\MySQLDocumentation::show("optimizing-database-structure"); yield " </legend> "; // line 466 if ( !Twig\Extension\CoreExtension::testEmpty(($context["indexes"] ?? null))) { // line 467 yield " "; yield ($context["indexes_duplicates"] ?? null); yield " "; // line 469 yield Twig\Extension\CoreExtension::include($this->env, $context, "modals/preview_sql_confirmation.twig"); yield " <div class=\"table-responsive jsresponsive\"> <table class=\"table table-striped table-hover table-sm w-auto align-middle\" id=\"table_index\"> <thead> <tr> <th colspan=\"3\" class=\"d-print-none\">"; yield _gettext("Action"); // line 474 yield "</th> <th>"; yield _gettext("Keyname"); // line 475 yield "</th> <th>"; yield _gettext("Type"); // line 476 yield "</th> <th>"; yield _gettext("Unique"); // line 477 yield "</th> <th>"; yield _gettext("Packed"); // line 478 yield "</th> <th>"; yield _gettext("Column"); // line 479 yield "</th> <th>"; yield _gettext("Cardinality"); // line 480 yield "</th> <th>"; yield _gettext("Collation"); // line 481 yield "</th> <th>"; yield _gettext("Null"); // line 482 yield "</th> <th>"; yield _gettext("Comment"); // line 483 yield "</th> </tr> </thead> <tbody class=\"row_span\"> "; // line 488 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["indexes"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["index"]) { // line 489 yield " "; $context["columns_count"] = CoreExtension::getAttribute($this->env, $this->source, $context["index"], "getColumnCount", [], "method", false, false, false, 489); // line 490 yield " <tr class=\"noclick\"> <td rowspan=\""; // line 491 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["columns_count"] ?? null), "html", null, true); yield "\" class=\"edit_index d-print-none ajax\"> <a class=\"ajax\" href=\""; // line 492 yield PhpMyAdmin\Url::getFromRoute("/table/indexes"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 493 ($context["db"] ?? null), "table" => // line 494 ($context["table"] ?? null), "index" => CoreExtension::getAttribute($this->env, $this->source, // line 495 $context["index"], "getName", [], "method", false, false, false, 495)], "", false); // line 496 yield "\"> "; // line 497 yield PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit")); yield " </a> </td> <td rowspan=\""; // line 500 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["columns_count"] ?? null), "html", null, true); yield "\" class=\"rename_index d-print-none ajax\" > <a class=\"ajax\" href=\""; // line 501 yield PhpMyAdmin\Url::getFromRoute("/table/indexes/rename"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["db" => // line 502 ($context["db"] ?? null), "table" => // line 503 ($context["table"] ?? null), "index" => CoreExtension::getAttribute($this->env, $this->source, // line 504 $context["index"], "getName", [], "method", false, false, false, 504)], "", false); // line 505 yield "\"> "; // line 506 yield PhpMyAdmin\Html\Generator::getIcon("b_rename", _gettext("Rename")); yield " </a> </td> <td rowspan=\""; // line 509 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["columns_count"] ?? null), "html", null, true); yield "\" class=\"d-print-none\"> "; // line 510 if ((CoreExtension::getAttribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 510) == "PRIMARY")) { // line 511 yield " "; $context["index_params"] = ["sql_query" => (("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 512 ($context["table"] ?? null))) . " DROP PRIMARY KEY;"), "message_to_show" => _gettext("The primary key has been dropped.")]; // line 515 yield " "; } else { // line 516 yield " "; $context["index_params"] = ["sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 517 ($context["table"] ?? null))) . " DROP INDEX ") . PhpMyAdmin\Util::backquote(CoreExtension::getAttribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 517))) . ";"), "message_to_show" => Twig\Extension\CoreExtension::sprintf(_gettext("Index %s has been dropped."), CoreExtension::getAttribute($this->env, $this->source, // line 518 $context["index"], "getName", [], "method", false, false, false, 518))]; // line 520 yield " "; } // line 521 yield " <input type=\"hidden\" class=\"drop_primary_key_index_msg\" value=\""; // line 522 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["index_params"] ?? null), "sql_query", [], "any", false, false, false, 522), "html", null, true); yield "\"> "; // line 523 yield PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), Twig\Extension\CoreExtension::merge( // line 525 ($context["index_params"] ?? null), ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]), PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")), ["class" => "drop_primary_key_index_anchor ajax"]); // line 528 yield " </td> <th rowspan=\""; // line 530 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["columns_count"] ?? null), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 530), "html", null, true); yield "</th> <td rowspan=\""; // line 531 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["columns_count"] ?? null), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["index"], "getType", [], "method", true, true, false, 531)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["index"], "getType", [], "method", false, false, false, 531), CoreExtension::getAttribute($this->env, $this->source, $context["index"], "getChoice", [], "method", false, false, false, 531))) : (CoreExtension::getAttribute($this->env, $this->source, $context["index"], "getChoice", [], "method", false, false, false, 531))), "html", null, true); yield "</td> <td rowspan=\""; // line 532 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["columns_count"] ?? null), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["index"], "isUnique", [], "method", false, false, false, 532)) ? (_gettext("Yes")) : (_gettext("No"))), "html", null, true); yield "</td> <td rowspan=\""; // line 533 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["columns_count"] ?? null), "html", null, true); yield "\">"; yield CoreExtension::getAttribute($this->env, $this->source, $context["index"], "isPacked", [], "method", false, false, false, 533); yield "</td> "; // line 535 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["index"], "getColumns", [], "method", false, false, false, 535)); foreach ($context['_seq'] as $context["_key"] => $context["column"]) { // line 536 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "getSeqInIndex", [], "method", false, false, false, 536) > 1)) { // line 537 yield " <tr class=\"noclick\"> "; } // line 539 yield " <td> "; // line 540 if (CoreExtension::getAttribute($this->env, $this->source, $context["column"], "hasExpression", [], "method", false, false, false, 540)) { yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "getExpression", [], "method", false, false, false, 540), "html", null, true); } else { yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "getName", [], "method", false, false, false, 540), "html", null, true); } // line 541 yield " "; if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "getSubPart", [], "method", false, false, false, 541))) { // line 542 yield " ("; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "getSubPart", [], "method", false, false, false, 542), "html", null, true); yield ") "; } // line 544 yield " </td> <td>"; // line 545 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "getCardinality", [], "method", false, false, false, 545), "html", null, true); yield "</td> <td>"; // line 546 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "getCollation", [], "method", false, false, false, 546), "html", null, true); yield "</td> <td>"; // line 547 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "getNull", [true], "method", false, false, false, 547), "html", null, true); yield "</td> "; // line 549 if ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "getSeqInIndex", [], "method", false, false, false, 549) == 1)) { // line 550 yield " <td rowspan=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["columns_count"] ?? null), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["index"], "getComments", [], "method", false, false, false, 550), "html", null, true); yield "</td> "; } // line 552 yield " </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 554 yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['index'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 555 yield " </tbody> </table> </div> "; } else { // line 559 yield " <div class=\"no_indexes_defined\">"; yield $this->env->getFilter('notice')->getCallable()(_gettext("No index defined!")); yield "</div> "; } // line 561 yield " </fieldset> <fieldset class=\"pma-fieldset tblFooters d-print-none text-start\"> <form action=\""; // line 564 yield PhpMyAdmin\Url::getFromRoute("/table/indexes"); yield "\" method=\"post\"> "; // line 565 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); yield " <input type=\"hidden\" name=\"create_index\" value=\"1\"> "; // line 568 $___internal_parse_0_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) { // line 569 yield " "; yield _gettext("Create an index on %s columns"); // line 570 yield " "; return; yield ''; })())) ? '' : new Markup($tmp, $this->env->getCharset()); // line 568 yield Twig\Extension\CoreExtension::sprintf($___internal_parse_0_, "<input class=\"mx-2\" type=\"number\" name=\"added_fields\" value=\"1\" min=\"1\" max=\"16\" required>"); // line 571 yield " <input class=\"btn btn-primary add_index ajax\" type=\"submit\" value=\""; yield _gettext("Go"); // line 572 yield "\"> </form> </fieldset> </div> "; // line 576 yield Twig\Extension\CoreExtension::include($this->env, $context, "modals/index_dialog_modal.twig"); yield " "; } // line 578 yield " "; // line 580 if (($context["have_partitioning"] ?? null)) { // line 581 yield " "; // line 582 yield " "; if (( !Twig\Extension\CoreExtension::testEmpty(($context["partition_names"] ?? null)) && !(null === (($__internal_compile_50 = ($context["partition_names"] ?? null)) && is_array($__internal_compile_50) || $__internal_compile_50 instanceof ArrayAccess ? ($__internal_compile_50[0] ?? null) : null)))) { // line 583 yield " "; $context["first_partition"] = (($__internal_compile_51 = ($context["partitions"] ?? null)) && is_array($__internal_compile_51) || $__internal_compile_51 instanceof ArrayAccess ? ($__internal_compile_51[0] ?? null) : null); // line 584 yield " "; $context["range_or_list"] = ((((CoreExtension::getAttribute($this->env, $this->source, ($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 584) == "RANGE") || (CoreExtension::getAttribute($this->env, $this->source, // line 585 ($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 585) == "RANGE COLUMNS")) || (CoreExtension::getAttribute($this->env, $this->source, // line 586 ($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 586) == "LIST")) || (CoreExtension::getAttribute($this->env, $this->source, // line 587 ($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 587) == "LIST COLUMNS")); // line 588 yield " "; $context["sub_partitions"] = CoreExtension::getAttribute($this->env, $this->source, ($context["first_partition"] ?? null), "getSubPartitions", [], "method", false, false, false, 588); // line 589 yield " "; $context["has_sub_partitions"] = CoreExtension::getAttribute($this->env, $this->source, ($context["first_partition"] ?? null), "hasSubPartitions", [], "method", false, false, false, 589); // line 590 yield " "; if (($context["has_sub_partitions"] ?? null)) { // line 591 yield " "; $context["first_sub_partition"] = (($__internal_compile_52 = ($context["sub_partitions"] ?? null)) && is_array($__internal_compile_52) || $__internal_compile_52 instanceof ArrayAccess ? ($__internal_compile_52[0] ?? null) : null); // line 592 yield " "; } // line 593 yield " "; // line 594 if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 595 yield " <div class=\"mb-3\"> <button class=\"btn btn-sm btn-secondary\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#partitionsCollapse\" aria-expanded=\""; // line 596 yield (((($context["default_sliders_state"] ?? null) == "open")) ? ("true") : ("false")); yield "\" aria-controls=\"partitionsCollapse\"> "; yield _gettext("Partitions"); // line 598 yield " </button> </div> <div class=\"collapse mb-3"; // line 600 yield (((($context["default_sliders_state"] ?? null) == "open")) ? (" show") : ("")); yield "\" id=\"partitionsCollapse\"> "; } // line 602 yield " "; // line 603 yield from $this->loadTemplate("table/structure/display_partitions.twig", "table/structure/display_structure.twig", 603)->unwrap()->yield(CoreExtension::toArray(["db" => // line 604 ($context["db"] ?? null), "table" => // line 605 ($context["table"] ?? null), "partitions" => // line 606 ($context["partitions"] ?? null), "partition_method" => CoreExtension::getAttribute($this->env, $this->source, // line 607 ($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 607), "partition_expression" => CoreExtension::getAttribute($this->env, $this->source, // line 608 ($context["first_partition"] ?? null), "getExpression", [], "method", false, false, false, 608), "has_description" => !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, // line 609 ($context["first_partition"] ?? null), "getDescription", [], "method", false, false, false, 609)), "has_sub_partitions" => // line 610 ($context["has_sub_partitions"] ?? null), "sub_partition_method" => (( // line 611 ($context["has_sub_partitions"] ?? null)) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["first_sub_partition"] ?? null), "getMethod", [], "method", false, false, false, 611)) : ("")), "sub_partition_expression" => (( // line 612 ($context["has_sub_partitions"] ?? null)) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["first_sub_partition"] ?? null), "getExpression", [], "method", false, false, false, 612)) : ("")), "range_or_list" => // line 613 ($context["range_or_list"] ?? null)])); // line 615 yield " "; } else { // line 616 yield " "; yield from $this->loadTemplate("table/structure/display_partitions.twig", "table/structure/display_structure.twig", 616)->unwrap()->yield(CoreExtension::toArray(["db" => // line 617 ($context["db"] ?? null), "table" => // line 618 ($context["table"] ?? null)])); // line 620 yield " "; } // line 621 yield " "; if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 622 yield " </div> "; } } // line 625 yield " "; // line 627 if (($context["show_stats"] ?? null)) { // line 628 yield " "; yield ($context["table_stats"] ?? null); yield " "; } // line 630 yield "<div class=\"clearfloat\"></div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/structure/display_structure.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 1494 => 630, 1488 => 628, 1486 => 627, 1483 => 625, 1478 => 622, 1475 => 621, 1472 => 620, 1470 => 618, 1469 => 617, 1467 => 616, 1464 => 615, 1462 => 613, 1461 => 612, 1460 => 611, 1459 => 610, 1458 => 609, 1457 => 608, 1456 => 607, 1455 => 606, 1454 => 605, 1453 => 604, 1452 => 603, 1449 => 602, 1444 => 600, 1440 => 598, 1435 => 596, 1432 => 595, 1430 => 594, 1427 => 593, 1424 => 592, 1421 => 591, 1418 => 590, 1415 => 589, 1412 => 588, 1410 => 587, 1409 => 586, 1408 => 585, 1406 => 584, 1403 => 583, 1400 => 582, 1398 => 581, 1396 => 580, 1393 => 578, 1388 => 576, 1382 => 572, 1378 => 571, 1376 => 568, 1372 => 570, 1369 => 569, 1367 => 568, 1361 => 565, 1357 => 564, 1352 => 561, 1346 => 559, 1340 => 555, 1334 => 554, 1327 => 552, 1319 => 550, 1317 => 549, 1312 => 547, 1308 => 546, 1304 => 545, 1301 => 544, 1295 => 542, 1292 => 541, 1286 => 540, 1283 => 539, 1279 => 537, 1276 => 536, 1272 => 535, 1265 => 533, 1259 => 532, 1253 => 531, 1247 => 530, 1243 => 528, 1241 => 525, 1240 => 523, 1236 => 522, 1233 => 521, 1230 => 520, 1228 => 518, 1227 => 517, 1225 => 516, 1222 => 515, 1220 => 512, 1218 => 511, 1216 => 510, 1212 => 509, 1206 => 506, 1203 => 505, 1201 => 504, 1200 => 503, 1199 => 502, 1196 => 501, 1192 => 500, 1186 => 497, 1183 => 496, 1181 => 495, 1180 => 494, 1179 => 493, 1176 => 492, 1172 => 491, 1169 => 490, 1166 => 489, 1162 => 488, 1155 => 483, 1151 => 482, 1147 => 481, 1143 => 480, 1139 => 479, 1135 => 478, 1131 => 477, 1127 => 476, 1123 => 475, 1119 => 474, 1110 => 469, 1104 => 467, 1102 => 466, 1095 => 463, 1089 => 459, 1087 => 458, 1084 => 457, 1079 => 454, 1075 => 453, 1058 => 450, 1054 => 449, 1050 => 448, 1033 => 447, 1030 => 446, 1025 => 443, 1019 => 440, 1016 => 437, 1010 => 435, 1008 => 434, 1004 => 433, 999 => 432, 997 => 431, 994 => 430, 991 => 429, 985 => 426, 980 => 425, 977 => 424, 974 => 423, 968 => 420, 964 => 419, 959 => 417, 956 => 416, 950 => 413, 945 => 412, 942 => 411, 937 => 409, 933 => 407, 931 => 403, 928 => 402, 926 => 400, 925 => 399, 924 => 398, 920 => 397, 917 => 396, 915 => 395, 913 => 394, 908 => 393, 904 => 391, 902 => 389, 900 => 387, 898 => 386, 895 => 385, 887 => 378, 879 => 373, 875 => 372, 863 => 363, 856 => 359, 849 => 355, 845 => 354, 833 => 345, 829 => 344, 825 => 343, 814 => 336, 809 => 334, 806 => 333, 802 => 332, 796 => 329, 792 => 328, 781 => 320, 778 => 319, 775 => 318, 769 => 315, 765 => 314, 760 => 312, 755 => 311, 753 => 310, 747 => 307, 743 => 306, 738 => 304, 734 => 303, 729 => 301, 725 => 300, 720 => 298, 716 => 297, 711 => 295, 706 => 294, 704 => 293, 698 => 290, 694 => 289, 689 => 287, 684 => 286, 682 => 285, 676 => 282, 672 => 281, 669 => 280, 667 => 277, 666 => 276, 660 => 272, 653 => 270, 649 => 268, 644 => 265, 640 => 263, 637 => 262, 633 => 260, 627 => 257, 624 => 256, 622 => 255, 621 => 254, 620 => 253, 614 => 252, 608 => 249, 605 => 248, 603 => 247, 602 => 246, 601 => 245, 595 => 244, 593 => 243, 588 => 242, 586 => 241, 580 => 238, 577 => 237, 575 => 235, 574 => 234, 573 => 233, 572 => 232, 571 => 230, 570 => 229, 565 => 228, 560 => 227, 556 => 224, 548 => 222, 542 => 219, 539 => 218, 537 => 217, 536 => 216, 535 => 215, 534 => 214, 528 => 213, 526 => 212, 525 => 211, 524 => 210, 523 => 209, 522 => 208, 521 => 207, 516 => 206, 512 => 203, 506 => 200, 503 => 199, 501 => 198, 500 => 197, 499 => 196, 498 => 195, 492 => 194, 484 => 192, 482 => 191, 477 => 190, 475 => 180, 471 => 178, 465 => 175, 462 => 174, 460 => 173, 459 => 172, 458 => 171, 457 => 170, 451 => 169, 443 => 167, 441 => 166, 437 => 165, 433 => 163, 427 => 160, 424 => 159, 422 => 158, 421 => 157, 420 => 156, 419 => 155, 413 => 154, 405 => 152, 403 => 151, 399 => 150, 395 => 148, 389 => 145, 386 => 144, 384 => 143, 383 => 142, 382 => 141, 381 => 140, 375 => 139, 367 => 137, 365 => 136, 360 => 135, 356 => 133, 351 => 130, 347 => 129, 345 => 128, 342 => 127, 339 => 126, 337 => 125, 334 => 124, 327 => 120, 324 => 119, 322 => 118, 321 => 116, 320 => 115, 319 => 114, 318 => 113, 315 => 112, 308 => 108, 305 => 107, 303 => 105, 302 => 104, 301 => 103, 300 => 102, 297 => 101, 295 => 100, 290 => 99, 284 => 96, 281 => 95, 279 => 94, 276 => 93, 271 => 91, 268 => 89, 266 => 88, 263 => 86, 260 => 84, 258 => 83, 256 => 82, 252 => 80, 248 => 79, 245 => 78, 237 => 76, 235 => 75, 230 => 72, 222 => 70, 220 => 69, 219 => 68, 215 => 67, 210 => 65, 203 => 62, 197 => 60, 189 => 58, 187 => 57, 183 => 56, 178 => 54, 171 => 52, 166 => 49, 164 => 48, 161 => 47, 159 => 46, 156 => 45, 154 => 44, 151 => 43, 148 => 42, 143 => 41, 140 => 40, 135 => 36, 129 => 34, 126 => 33, 123 => 32, 118 => 30, 113 => 28, 111 => 27, 108 => 26, 104 => 25, 100 => 24, 96 => 23, 92 => 22, 88 => 21, 81 => 17, 76 => 13, 73 => 12, 70 => 10, 68 => 9, 66 => 8, 64 => 7, 60 => 5, 56 => 4, 51 => 3, 47 => 2, 36 => 1,); } public function getSourceContext() { return new Source("", "table/structure/display_structure.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/structure/display_structure.twig"); } } twig/70/708ae58f23a1fbcfeb5d892c50c0fdc3.php 0000644 00000004223 15114741573 0013343 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* modals/unhide_nav_item.twig */ class __TwigTemplate_f35c0c7493484879f8ebd759b226dd01 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 echo "<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\">"; echo _gettext("Show hidden navigation tree items."); // line 5 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 6 echo "\"></button> </div> <div class=\"modal-body\"></div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 10 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "modals/unhide_nav_item.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 55 => 10, 48 => 6, 44 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "modals/unhide_nav_item.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/unhide_nav_item.twig"); } } twig/70/70289909fbc7b7b52c6156328d666862.php 0000644 00000003256 15114741573 0012522 0 ustar 00 <?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/empty_display.twig */ class __TwigTemplate_b526a7fd20ff486dda28840ee31e5c96 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 class=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["classes"] ?? null), "html", null, true); yield "\"></td> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "display/results/empty_display.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 38 => 1,); } public function getSourceContext() { return new Source("", "display/results/empty_display.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/empty_display.twig"); } } twig/70/70c6e493288a515c736c3af73045a5fd.php 0000644 00000037143 15114741573 0012722 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* navigation/tree/node.twig */ class __TwigTemplate_4e8c79b149d193b93caec88da1ffa9aa 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 echo " <li class=\""; echo twig_escape_filter($this->env, ($context["li_classes"] ?? null), "html", null, true); echo "\"> <div class=\"block\"> <i"; // line 4 echo (((($context["class"] ?? null) == "first")) ? (" class=\"first\"") : ("")); echo "></i> "; // line 5 if (($context["node_is_group"] ?? null)) { // line 6 echo " "; echo ((!twig_in_filter("last", ($context["class"] ?? null))) ? ("<b></b>") : ("")); echo " <a class=\""; // line 7 echo twig_escape_filter($this->env, ($context["link_classes"] ?? null), "html", null, true); echo "\" href=\"#\"> <span class=\"hide paths_nav\" data-apath=\""; // line 8 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["paths"] ?? null), "a_path", [], "any", false, false, false, 8), "html", null, true); echo "\" data-vpath=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["paths"] ?? null), "v_path", [], "any", false, false, false, 8), "html", null, true); echo "\" data-pos=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["paths"] ?? null), "pos", [], "any", false, false, false, 8), "html", null, true); echo "\"></span> "; // line 9 if ( !twig_test_empty(($context["pagination_params"] ?? null))) { // line 10 echo " <span class=\"hide "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "position", [], "any", false, false, false, 10), "html", null, true); echo "\" data-name=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_name", [], "any", false, false, false, 10), "html", null, true); echo "\" data-value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_value", [], "any", false, false, false, 10), "html", null, true); echo "\"></span> "; } // line 12 echo " "; echo ($context["node_icon"] ?? null); echo " </a> "; } elseif ( !twig_test_empty( // line 14 ($context["pagination_params"] ?? null))) { // line 15 echo " <span class=\"hide "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "position", [], "any", false, false, false, 15), "html", null, true); echo "\" data-name=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_name", [], "any", false, false, false, 15), "html", null, true); echo "\" data-value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_value", [], "any", false, false, false, 15), "html", null, true); echo "\"></span> "; } // line 17 echo " </div> "; // line 18 if (($context["node_is_container"] ?? null)) { // line 19 echo " <div class=\"fst-italic\"> "; } // line 21 echo " "; // line 22 if (twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "isGroup", [], "any", false, false, false, 22)) { // line 23 echo " <div class=\"block second"; echo ((($context["has_second_icon"] ?? null)) ? (" double") : ("")); echo "\"> <u>"; // line 24 echo PhpMyAdmin\Html\Generator::getImage((($__internal_compile_0 = twig_get_attribute($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 = twig_get_attribute($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)); echo "</u> </div> "; // line 26 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "name", [], "any", false, false, false, 26), "html", null, true); echo " "; } else { // line 28 echo " <div class=\"block second"; echo ((($context["has_second_icon"] ?? null)) ? (" double") : ("")); echo "\"> "; // line 29 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["icon_links"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["link"]) { // line 30 echo " <a href=\""; echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, $context["link"], "route", [], "any", false, false, false, 30), twig_get_attribute($this->env, $this->source, $context["link"], "params", [], "any", false, false, false, 30)); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["link"], "is_ajax", [], "any", false, false, false, 30)) ? (" class=\"ajax\"") : ("")); echo ">"; // line 31 echo PhpMyAdmin\Html\Generator::getImage(twig_get_attribute($this->env, $this->source, $context["link"], "image", [], "any", false, false, false, 31), twig_get_attribute($this->env, $this->source, $context["link"], "title", [], "any", false, false, false, 31)); // line 32 echo "</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 echo " </div> "; // line 36 if (($context["node_is_container"] ?? null)) { // line 37 echo " <a class=\"hover_show_full\" href=\""; echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "route", [], "any", false, false, false, 37), twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "params", [], "any", false, false, false, 37)); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "name", [], "any", false, false, false, 37), "html", null, true); echo "</a> "; } elseif (twig_in_filter("index", twig_get_attribute($this->env, $this->source, // line 38 ($context["node"] ?? null), "classes", [], "any", false, false, false, 38))) { // line 39 echo " <a class=\"hover_show_full\" href=\""; echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "route", [], "any", false, false, false, 39)); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_merge(twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "params", [], "any", false, false, false, 39), ["is_from_nav" => true])); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "title", [], "any", false, false, false, 39), "html", null, true); echo "\">"; // line 40 echo twig_escape_filter($this->env, (((twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", true, true, false, 40) && !(null === twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", false, false, false, 40)))) ? (twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", false, false, false, 40)) : (twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "realName", [], "any", false, false, false, 40))), "html", null, true); // line 41 echo "</a> "; } else { // line 43 echo " <a class=\"hover_show_full"; echo ((twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "is_ajax", [], "any", false, false, false, 43)) ? (" ajax") : ("")); echo "\" href=\""; echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "route", [], "any", false, false, false, 43), twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "params", [], "any", false, false, false, 43)); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "title", [], "any", false, false, false, 43), "html", null, true); echo "\">"; // line 44 echo twig_escape_filter($this->env, (((twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", true, true, false, 44) && !(null === twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", false, false, false, 44)))) ? (twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", false, false, false, 44)) : (twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "realName", [], "any", false, false, false, 44))), "html", null, true); // line 45 echo "</a> "; } // line 47 echo " "; } // line 48 echo " "; // line 49 echo ($context["control_buttons"] ?? null); echo " "; // line 51 if (($context["node_is_container"] ?? null)) { // line 52 echo " </div> "; } // line 54 echo " <div class=\"clearfloat\"></div> "; } elseif ( !twig_test_empty( // line 56 ($context["pagination_params"] ?? null))) { // line 57 echo " <span class=\"hide "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "position", [], "any", false, false, false, 57), "html", null, true); echo "\" data-name=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_name", [], "any", false, false, false, 57), "html", null, true); echo "\" data-value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_value", [], "any", false, false, false, 57), "html", null, true); echo "\"></span> "; } // line 59 echo " "; // line 60 if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "html", [], "any", false, false, false, 60)) && twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "has_wrapper", [], "any", false, false, false, 60))) { // line 61 echo " <div class=\"list_container\""; echo ((twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "is_hidden", [], "any", false, false, false, 61)) ? (" style=\"display: none;\"") : ("")); echo "> <ul> "; } // line 64 echo twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "html", [], "any", false, false, false, 64); echo " "; // line 65 if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "html", [], "any", false, false, false, 65)) && twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "has_wrapper", [], "any", false, false, false, 65))) { // line 66 echo " </ul> </div> "; } // line 69 echo " "; // line 70 if (($context["has_siblings"] ?? null)) { // line 71 echo " </li> "; } } public function getTemplateName() { return "navigation/tree/node.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 255 => 71, 253 => 70, 250 => 69, 245 => 66, 243 => 65, 239 => 64, 232 => 61, 230 => 60, 227 => 59, 217 => 57, 215 => 56, 211 => 54, 207 => 52, 205 => 51, 200 => 49, 197 => 48, 194 => 47, 190 => 45, 188 => 44, 180 => 43, 176 => 41, 174 => 40, 166 => 39, 164 => 38, 157 => 37, 155 => 36, 151 => 34, 144 => 32, 142 => 31, 136 => 30, 132 => 29, 127 => 28, 122 => 26, 117 => 24, 112 => 23, 110 => 22, 107 => 21, 103 => 19, 101 => 18, 98 => 17, 88 => 15, 86 => 14, 80 => 12, 70 => 10, 68 => 9, 60 => 8, 56 => 7, 51 => 6, 49 => 5, 45 => 4, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "navigation/tree/node.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/node.twig"); } } twig/8e/8ef972a7b26f9245a3d9000bd6a50285.php 0000644 00000004425 15114741573 0013002 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* navigation/tree/path.twig */ class __TwigTemplate_b6ce1fac81e87350eb43977a7204b3d6 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 echo "<div class='list_container hide'> <ul"; // line 2 echo ((($context["has_search_results"] ?? null)) ? (" class=\"search_results\"") : ("")); echo "> "; // line 3 echo ($context["list_content"] ?? null); echo " </ul> "; // line 6 if ( !($context["is_tree"] ?? null)) { // line 7 echo " <span class='hide loaded_db'>"; echo twig_escape_filter($this->env, twig_urlencode_filter(($context["parent_name"] ?? null)), "html", null, true); echo "</span> "; // line 8 if (twig_test_empty(($context["list_content"] ?? null))) { // line 9 echo " <div>"; echo _gettext("No tables found in database."); echo "</div> "; } // line 11 echo " "; } // line 12 echo "</div> "; } public function getTemplateName() { return "navigation/tree/path.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 68 => 12, 65 => 11, 59 => 9, 57 => 8, 52 => 7, 50 => 6, 44 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "navigation/tree/path.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/path.twig"); } } twig/7b/7bee9fed0e8e61442d5bd943b50c30eb.php 0000644 00000004012 15114741573 0013344 0 ustar 00 <?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_32970429ab3b841e008c08f41124234e 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", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/state.twig"); } } twig/7b/7b0438b0822e85bffa960942d026e8a4.php 0000644 00000003516 15114741573 0012776 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/import/index.twig */ class __TwigTemplate_9e712789b483c2c4728d4251b14ef205 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'title' => [$this, 'block_title'], ]; } protected function doGetParent(array $context) { // line 1 return "import.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $this->parent = $this->loadTemplate("import.twig", "database/import/index.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_title($context, array $blocks = []) { $macros = $this->macros; echo twig_escape_filter($this->env, twig_sprintf(_gettext("Importing into the database \"%s\""), ($context["db"] ?? null)), "html", null, true); } public function getTemplateName() { return "database/import/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 46 => 3, 35 => 1,); } public function getSourceContext() { return new Source("", "database/import/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/import/index.twig"); } } twig/7b/7b8e3d3fdbbf9981efd8d605431ebc53.php 0000644 00000053461 15114741573 0013376 0 ustar 00 <?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/query.twig */ class __TwigTemplate_e25bce809bde3658a484ebd10c93ee5f 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 PhpMyAdmin\Url::getFromRoute("/import"); yield "\" class=\"ajax lock-page\" id=\"sqlqueryform\" name=\"sqlform\""; // line 2 yield ((($context["is_upload"] ?? null)) ? (" enctype=\"multipart/form-data\"") : ("")); yield "> "; // line 3 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); yield " <input type=\"hidden\" name=\"is_js_confirmed\" value=\"0\"> <input type=\"hidden\" name=\"pos\" value=\"0\"> <input type=\"hidden\" name=\"goto\" value=\""; // line 6 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["goto"] ?? null), "html", null, true); yield "\"> <input type=\"hidden\" name=\"message_to_show\" value=\""; yield _gettext("Your SQL query has been executed successfully."); // line 7 yield "\"> <input type=\"hidden\" name=\"prev_sql_query\" value=\""; // line 8 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["query"] ?? null), "html", null, true); yield "\"> "; // line 10 if (((($context["display_tab"] ?? null) == "full") || (($context["display_tab"] ?? null) == "sql"))) { // line 11 yield " <a id=\"querybox\"></a> <div class=\"card mb-3\"> <div class=\"card-header\">"; // line 14 yield ($context["legend"] ?? null); yield "</div> <div class=\"card-body\"> <div id=\"queryfieldscontainer\"> <div class=\"row\"> <div class=\"col\"> <div class=\"mb-3\"> <textarea class=\"form-control\" tabindex=\"100\" name=\"sql_query\" id=\"sqlquery\" cols=\""; // line 20 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["textarea_cols"] ?? null), "html", null, true); yield "\" rows=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["textarea_rows"] ?? null), "html", null, true); yield "\" data-textarea-auto-select=\""; yield ((($context["textarea_auto_select"] ?? null)) ? ("true") : ("false")); yield "\" aria-label=\""; yield _gettext("SQL query"); yield "\">"; // line 21 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["query"] ?? null), "html", null, true); // line 22 yield "</textarea> </div> <div id=\"querymessage\"></div> <div class=\"btn-toolbar\" role=\"toolbar\"> "; // line 27 if ( !Twig\Extension\CoreExtension::testEmpty(($context["columns_list"] ?? null))) { // line 28 yield " <div class=\"btn-group me-2\" role=\"group\"> <input type=\"button\" value=\"SELECT *\" id=\"selectall\" class=\"btn btn-secondary button sqlbutton\"> <input type=\"button\" value=\"SELECT\" id=\"select\" class=\"btn btn-secondary button sqlbutton\"> <input type=\"button\" value=\"INSERT\" id=\"insert\" class=\"btn btn-secondary button sqlbutton\"> <input type=\"button\" value=\"UPDATE\" id=\"update\" class=\"btn btn-secondary button sqlbutton\"> <input type=\"button\" value=\"DELETE\" id=\"delete\" class=\"btn btn-secondary button sqlbutton\"> </div> "; } // line 36 yield " <div class=\"btn-group me-2\" role=\"group\"> <input type=\"button\" value=\""; yield _gettext("Clear"); // line 38 yield "\" id=\"clear\" class=\"btn btn-secondary button sqlbutton\"> "; // line 39 if (($context["codemirror_enable"] ?? null)) { // line 40 yield " <input type=\"button\" value=\""; yield _gettext("Format"); yield "\" id=\"format\" class=\"btn btn-secondary button sqlbutton\"> "; } // line 42 yield " </div> <input type=\"button\" value=\""; yield _gettext("Get auto-saved query"); // line 44 yield "\" id=\"saved\" class=\"btn btn-secondary button sqlbutton\"> </div> <div class=\"my-3\"> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"parameterized\" id=\"parameterized\"> <label class=\"form-check-label\" for=\"parameterized\"> "; // l10n: Bind parameters in the SQL query using :parameterName format yield _gettext("Bind parameters"); // line 52 yield " "; yield PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-40"); yield " </label> </div> </div> <div class=\"mb-3\" id=\"parametersDiv\"></div> </div> "; // line 59 if ( !Twig\Extension\CoreExtension::testEmpty(($context["columns_list"] ?? null))) { // line 60 yield " <div class=\"col-xl-2 col-lg-3\"> <div class=\"mb-3\"> <label class=\"visually-hidden\" for=\"fieldsSelect\">"; yield _gettext("Columns"); // line 62 yield "</label> <select class=\"form-select resize-vertical\" id=\"fieldsSelect\" name=\"dummy\" size=\""; // line 63 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["textarea_rows"] ?? null), "html", null, true); yield "\" ondblclick=\"Functions.insertValueQuery()\" multiple> "; // line 64 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["columns_list"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["field"]) { // line 65 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::backquote((($__internal_compile_0 = $context["field"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["Field"] ?? null) : null)), "html", null, true); yield "\""; // line 66 (((( !(null === (($__internal_compile_1 = $context["field"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["Field"] ?? null) : null)) && !(null === (($__internal_compile_2 = $context["field"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["Comment"] ?? null) : null))) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), (($__internal_compile_3 = $context["field"]) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["Field"] ?? null) : null)) > 0))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((" title=\"" . (($__internal_compile_4 = $context["field"]) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["Comment"] ?? null) : null)) . "\""), "html", null, true)) : (yield "")); yield "> "; // line 67 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_5 = $context["field"]) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["Field"] ?? null) : null), "html", null, true); yield " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 70 yield " </select> </div> <input type=\"button\" class=\"btn btn-secondary button\" id=\"insertBtn\" name=\"insert\" value=\""; // line 74 if (PhpMyAdmin\Util::showIcons("ActionLinksMode")) { yield "<<\" title=\""; } yield _gettext("Insert"); // line 75 yield "\"> </div> "; } // line 78 yield " </div> </div> "; // line 81 if (($context["has_bookmark"] ?? null)) { // line 82 yield " <div class=\"row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-6\"> <label class=\"form-label\" for=\"bkm_label\">"; yield _gettext("Bookmark this SQL query:"); // line 84 yield "</label> </div> <div class=\"col-6\"> <input class=\"form-control\" type=\"text\" name=\"bkm_label\" id=\"bkm_label\" tabindex=\"110\" value=\"\"> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"bkm_all_users\" tabindex=\"111\" id=\"id_bkm_all_users\" value=\"true\"> <label class=\"form-check-label\" for=\"id_bkm_all_users\">"; yield _gettext("Let every user access this bookmark"); // line 93 yield "</label> </div> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"bkm_replace\" tabindex=\"112\" id=\"id_bkm_replace\" value=\"true\"> <label class=\"form-check-label\" for=\"id_bkm_replace\">"; yield _gettext("Replace existing bookmark of same name"); // line 100 yield "</label> </div> </div> </div> "; } // line 105 yield " </div> <div class=\"card-footer\"> <div class=\"row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-12\"> <div class=\"input-group me-2\"> <span class=\"input-group-text\">"; yield _gettext("Delimiter"); // line 110 yield "</span> <label class=\"visually-hidden\" for=\"id_sql_delimiter\">"; yield _gettext("Delimiter"); // line 111 yield "</label> <input class=\"form-control\" type=\"text\" name=\"sql_delimiter\" tabindex=\"131\" size=\"3\" value=\""; // line 112 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["delimiter"] ?? null), "html", null, true); yield "\" id=\"id_sql_delimiter\"> </div> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"show_query\" value=\"1\" id=\"checkbox_show_query\" tabindex=\"132\"> <label class=\"form-check-label\" for=\"checkbox_show_query\">"; yield _gettext("Show this query here again"); // line 119 yield "</label> </div> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"retain_query_box\" value=\"1\" id=\"retain_query_box\" tabindex=\"133\""; // line 126 yield ((($context["retain_query_box"] ?? null)) ? (" checked") : ("")); yield "> <label class=\"form-check-label\" for=\"retain_query_box\">"; yield _gettext("Retain query box"); // line 127 yield "</label> </div> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"rollback_query\" value=\"1\" id=\"rollback_query\" tabindex=\"134\"> <label class=\"form-check-label\" for=\"rollback_query\">"; yield _gettext("Rollback when finished"); // line 134 yield "</label> </div> </div> <div class=\"col-12\"> <div class=\"form-check\"> <input type=\"hidden\" name=\"fk_checks\" value=\"0\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"fk_checks\" id=\"fk_checks\" value=\"1\""; // line 141 yield ((($context["is_foreign_key_check"] ?? null)) ? (" checked") : ("")); yield "> <label class=\"form-check-label\" for=\"fk_checks\">"; yield _gettext("Enable foreign key checks"); // line 142 yield "</label> </div> </div> <div class=\"col-12\"> <input class=\"btn btn-primary ms-1\" type=\"submit\" id=\"button_submit_query\" name=\"SQL\" tabindex=\"200\" value=\""; yield _gettext("Go"); // line 147 yield "\"> </div> </div> </div> </div> "; } // line 153 yield " "; // line 154 if (((($context["display_tab"] ?? null) == "full") && !Twig\Extension\CoreExtension::testEmpty(($context["bookmarks"] ?? null)))) { // line 155 yield " <div class=\"card mb-3\"> <div class=\"card-header\">"; yield _gettext("Bookmarked SQL query"); // line 156 yield "</div> <div class=\"card-body\"> <div class=\"row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-6\"> <label class=\"form-label\" for=\"id_bookmark\">"; yield _gettext("Bookmark:"); // line 160 yield "</label> </div> <div class=\"col-6\"> <select class=\"form-select\" name=\"id_bookmark\" id=\"id_bookmark\"> <option value=\"\"> </option> "; // line 165 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["bookmarks"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["bookmark"]) { // line 166 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["bookmark"], "id", [], "any", false, false, false, 166), "html", null, true); yield "\" data-varcount=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["bookmark"], "variable_count", [], "any", false, false, false, 166), "html", null, true); yield "\"> "; // line 167 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["bookmark"], "label", [], "any", false, false, false, 167), "html", null, true); yield " "; // line 168 if (CoreExtension::getAttribute($this->env, $this->source, $context["bookmark"], "is_shared", [], "any", false, false, false, 168)) { // line 169 yield " ("; yield _gettext("shared"); yield ") "; } // line 171 yield " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bookmark'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 173 yield " </select> </div> <div class=\"form-check form-check-inline col-12\"> <input class=\"form-check-input\" type=\"radio\" name=\"action_bookmark\" value=\"0\" id=\"radio_bookmark_exe\" checked> <label class=\"form-check-label\" for=\"radio_bookmark_exe\">"; yield _gettext("Submit"); // line 178 yield "</label> </div> <div class=\"form-check form-check-inline col-12\"> <input class=\"form-check-input\" type=\"radio\" name=\"action_bookmark\" value=\"1\" id=\"radio_bookmark_view\"> <label class=\"form-check-label\" for=\"radio_bookmark_view\">"; yield _gettext("View only"); // line 182 yield "</label> </div> <div class=\"form-check form-check-inline col-12\"> <input class=\"form-check-input\" type=\"radio\" name=\"action_bookmark\" value=\"2\" id=\"radio_bookmark_del\"> <label class=\"form-check-label\" for=\"radio_bookmark_del\">"; yield _gettext("Delete"); // line 186 yield "</label> </div> </div> <div class=\"hide\"> "; yield _gettext("Variables"); // line 192 yield " "; yield PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faqbookmark"); yield " <div class=\"row row-cols-auto\" id=\"bookmarkVariables\"></div> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-secondary\" type=\"submit\" name=\"SQL\" id=\"button_submit_bookmark\" value=\""; yield _gettext("Go"); // line 198 yield "\"> </div> </div> "; } // line 202 yield " "; // line 203 if (($context["can_convert_kanji"] ?? null)) { // line 204 yield " <div class=\"card mb-3\"> <div class=\"card-body\"> "; // line 206 yield from $this->loadTemplate("encoding/kanji_encoding_form.twig", "sql/query.twig", 206)->unwrap()->yield($context); // line 207 yield " </div> </div> "; } // line 210 yield "</form> <div id=\"sqlqueryresultsouter\"></div> <div class=\"modal fade\" id=\"simulateDmlModal\" tabindex=\"-1\" aria-labelledby=\"simulateDmlModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"simulateDmlModalLabel\">"; yield _gettext("Simulate query"); // line 218 yield "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Close"); // line 219 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 224 yield "</button> </div> </div> </div> </div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "sql/query.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 463 => 224, 455 => 219, 451 => 218, 440 => 210, 435 => 207, 433 => 206, 429 => 204, 427 => 203, 424 => 202, 418 => 198, 407 => 192, 399 => 186, 392 => 182, 385 => 178, 377 => 173, 370 => 171, 364 => 169, 362 => 168, 358 => 167, 351 => 166, 347 => 165, 340 => 160, 333 => 156, 329 => 155, 327 => 154, 324 => 153, 316 => 147, 308 => 142, 303 => 141, 294 => 134, 284 => 127, 279 => 126, 271 => 119, 260 => 112, 257 => 111, 253 => 110, 245 => 105, 238 => 100, 228 => 93, 216 => 84, 211 => 82, 209 => 81, 204 => 78, 199 => 75, 194 => 74, 189 => 70, 180 => 67, 176 => 66, 172 => 65, 168 => 64, 164 => 63, 161 => 62, 156 => 60, 154 => 59, 143 => 52, 132 => 44, 127 => 42, 121 => 40, 119 => 39, 116 => 38, 111 => 36, 101 => 28, 99 => 27, 92 => 22, 90 => 21, 81 => 20, 72 => 14, 67 => 11, 65 => 10, 60 => 8, 57 => 7, 52 => 6, 46 => 3, 42 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "sql/query.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/sql/query.twig"); } } twig/78/78aa94f8486650acc1a06b6477e854cd.php 0000644 00000003210 15114741573 0013007 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* navigation/tree/controls.twig */ class __TwigTemplate_0fddb4a7eac46e3bf5a281df47790be7 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 echo "<!-- CONTROLS START --> <li id=\"navigation_controls_outer\"> <div id=\"navigation_controls\"> "; // line 4 echo ($context["collapse_all"] ?? null); echo " "; // line 5 echo ($context["unlink"] ?? null); echo " </div> </li> <!-- CONTROLS ENDS --> "; } public function getTemplateName() { return "navigation/tree/controls.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 46 => 5, 42 => 4, 37 => 1,); } public function getSourceContext() { return new Source("", "navigation/tree/controls.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/controls.twig"); } } twig/3f/3f9440474738c0691d396a9b78de11bb.php 0000644 00000042343 15114741573 0012732 0 ustar 00 <?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/multi_table_query/form.twig */ class __TwigTemplate_9f7dabc323b293e7cae37a4c5560e1a0 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 echo "<ul class=\"nav nav-pills m-2\"> <li class=\"nav-item\"> <a class=\"nav-link active\" href=\""; // line 3 echo PhpMyAdmin\Url::getFromRoute("/database/multi-table-query", ["db" => ($context["db"] ?? null)]); echo "\"> "; echo _gettext("Multi-table query"); // line 5 echo " </a> </li> <li class=\"nav-item\"> <a class=\"nav-link\" href=\""; // line 9 echo PhpMyAdmin\Url::getFromRoute("/database/qbe", ["db" => ($context["db"] ?? null)]); echo "\"> "; echo _gettext("Query by example"); // line 11 echo " </a> </li> </ul> <div class=\"mb-3\"> <button class=\"btn btn-sm btn-secondary\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#queryWindow\" aria-expanded=\"true\" aria-controls=\"queryWindow\"> "; echo _gettext("Query window"); // line 18 echo " </button> </div> <div class=\"collapse show mb-3\" id=\"queryWindow\"> <form action=\"\" id=\"multi_table_query_form\" class=\"multi_table_query_form query_form\"> <input type=\"hidden\" id=\"db_name\" value=\""; // line 23 echo twig_escape_filter($this->env, ($context["db"] ?? null), "html", null, true); echo "\"> <fieldset class=\"pma-fieldset\"> "; // line 25 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["tables"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["table"]) { // line 26 echo " <div class=\"d-none\" id=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["table"], "hash", [], "any", false, false, false, 26), "html", null, true); echo "\"> <option value=\"*\">*</option> "; // line 28 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["table"], "columns", [], "any", false, false, false, 28)); foreach ($context['_seq'] as $context["_key"] => $context["column"]) { // line 29 echo " <option value=\""; echo twig_escape_filter($this->env, $context["column"], "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $context["column"], "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 31 echo " </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['table'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 33 echo " "; // line 34 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(range(0, ($context["default_no_of_columns"] ?? null))); foreach ($context['_seq'] as $context["_key"] => $context["id"]) { // line 35 echo " "; if (($context["id"] == 0)) { echo "<div class=\"d-none\" id=\"new_column_layout\">"; } // line 36 echo " <fieldset class=\"pma-fieldset column_details query-form__fieldset--inline position-relative\"> <select class=\"tableNameSelect query-form__select--inline\"> <option value=\"\">"; echo _gettext("select table"); // line 38 echo "</option> "; // line 39 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["tables"] ?? null)); foreach ($context['_seq'] as $context["keyTableName"] => $context["table"]) { // line 40 echo " <option data-hash=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["table"], "hash", [], "any", false, false, false, 40), "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, $context["keyTableName"], "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $context["keyTableName"], "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['keyTableName'], $context['table'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 42 echo " </select> <span>.</span> <select class=\"columnNameSelect query-form__select--inline\"> <option value=\"\">"; echo _gettext("select column"); // line 45 echo "</option> </select> <br> <input type=\"checkbox\" checked=\"checked\" class=\"show_col\"> <span>"; echo _gettext("Show"); // line 49 echo "</span> <br> <input type=\"text\" placeholder=\""; echo _gettext("Table alias"); // line 51 echo "\" class=\"table_alias\"> <input type=\"text\" placeholder=\""; echo _gettext("Column alias"); // line 52 echo "\" class=\"col_alias\"> <br> <input type=\"checkbox\" title=\""; echo _gettext("Use this column in criteria"); // line 55 echo "\" class=\"criteria_col\"> <button class=\"btn btn-link p-0 jsCriteriaButton\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#criteriaOptions"; // line 58 echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "\" aria-expanded=\"false\" aria-controls=\"criteriaOptions"; echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "\"> "; echo _gettext("criteria"); // line 60 echo " </button> <div class=\"collapse jsCriteriaOptions\" id=\"criteriaOptions"; // line 61 echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "\"> <div> <table class=\"table table-sm table-borderless align-middle w-auto\"> <tr class=\"sort_order query-form__tr--bg-none\"> <td>"; echo _gettext("Sort"); // line 67 echo "</td> <td><input type=\"radio\" name=\"sort["; // line 68 echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "]\">"; echo _gettext("Ascending"); echo "</td> <td><input type=\"radio\" name=\"sort["; // line 69 echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "]\">"; echo _gettext("Descending"); echo "</td> </tr> <tr class=\"logical_operator query-form__tr--bg-none query-form__tr--hide\"> <td>"; echo _gettext("Add as"); // line 73 echo "</td> <td> <input type=\"radio\" name=\"logical_op["; // line 76 echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "]\" value=\"AND\" class=\"logical_op\" checked=\"checked\"> AND </td> <td> <input type=\"radio\" name=\"logical_op["; // line 84 echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "]\" value=\"OR\" class=\"logical_op\"> OR </td> </tr> <tr class=\"query-form__tr--bg-none\"> <td>Op </td> <td> <select class=\"criteria_op\"> <option value=\"=\">=</option> <option value=\">\">></option> <option value=\">=\">>=</option> <option value=\"<\"><</option> <option value=\"<=\"><=</option> <option value=\"!=\">!=</option> <option value=\"LIKE\">LIKE</option> <option value=\"LIKE %...%\">LIKE %...%</option> <option value=\"NOT LIKE\">NOT LIKE</option> <option value=\"NOT LIKE %...%\">NOT LIKE %...%</option> <option value=\"IN (...)\">IN (...)</option> <option value=\"NOT IN (...)\">NOT IN (...)</option> <option value=\"BETWEEN\">BETWEEN</option> <option value=\"NOT BETWEEN\">NOT BETWEEN</option> <option value=\"IS NULL\">IS NULL</option> <option value=\"IS NOT NULL\">IS NOT NULL</option> <option value=\"REGEXP\">REGEXP</option> <option value=\"REGEXP ^...\$\">REGEXP ^...\$</option> <option value=\"NOT REGEXP\">NOT REGEXP</option> </select> </td> <td> <select class=\"criteria_rhs\"> <option value=\"text\">"; echo _gettext("Text"); // line 118 echo "</option> <option value=\"anotherColumn\">"; echo _gettext("Another column"); // line 119 echo "</option> </select> </td> </tr> <tr class=\"rhs_table query-form__tr--hide query-form__tr--bg-none\"> <td></td> <td> <select class=\"tableNameSelect\"> <option value=\"\">"; echo _gettext("select table"); // line 128 echo "</option> "; // line 129 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["tables"] ?? null)); foreach ($context['_seq'] as $context["keyTableName"] => $context["table"]) { // line 130 echo " <option data-hash=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["table"], "hash", [], "any", false, false, false, 130), "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, $context["keyTableName"], "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $context["keyTableName"], "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['keyTableName'], $context['table'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 132 echo " </select><span>.</span> </td> <td> <select class=\"columnNameSelect query-form__select--inline\"> <option value=\"\">"; echo _gettext("select column"); // line 136 echo "</option> </select> </td> </tr> <tr class=\"rhs_text query-form__tr--bg-none\"> <td></td> <td colspan=\"2\"> <input type=\"text\" class=\"rhs_text_val query-form__input--wide\" placeholder=\""; echo _gettext("Enter criteria as free text"); // line 146 echo "\"> </td> </tr> </table> </div> </div> <button type=\"button\" class=\"btn-close position-absolute top-0 end-0 jsRemoveColumn\" aria-label=\""; echo _gettext("Remove this column"); // line 153 echo "\"></button> </fieldset> "; // line 155 if (($context["id"] == 0)) { echo "</div>"; } // line 156 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['id'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 157 echo " <fieldset class=\"pma-fieldset query-form__fieldset--inline\"> <input class=\"btn btn-secondary\" type=\"button\" value=\""; echo _gettext("+ Add column"); // line 159 echo "\" id=\"add_column_button\"> </fieldset> <fieldset class=\"pma-fieldset\"> "; // line 164 echo " <textarea id=\"MultiSqlquery\" class=\"query-form__multi-sql-query\" cols=\"80\" rows=\"4\" name=\"sql_query\" dir=\"ltr\"></textarea> </fieldset> </fieldset> <fieldset class=\"pma-fieldset tblFooters\"> <input class=\"btn btn-secondary\" type=\"button\" id=\"update_query_button\" value=\""; echo _gettext("Update query"); // line 174 echo "\"> <input class=\"btn btn-primary\" type=\"button\" id=\"submit_query\" value=\""; echo _gettext("Submit query"); // line 175 echo "\"> </fieldset> </form> </div> <div id=\"sql_results\"></div> "; } public function getTemplateName() { return "database/multi_table_query/form.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 381 => 175, 377 => 174, 364 => 164, 358 => 159, 353 => 157, 347 => 156, 343 => 155, 339 => 153, 329 => 146, 316 => 136, 309 => 132, 296 => 130, 292 => 129, 289 => 128, 277 => 119, 273 => 118, 235 => 84, 224 => 76, 219 => 73, 209 => 69, 203 => 68, 200 => 67, 190 => 61, 187 => 60, 180 => 58, 175 => 55, 169 => 52, 165 => 51, 160 => 49, 153 => 45, 147 => 42, 134 => 40, 130 => 39, 127 => 38, 122 => 36, 117 => 35, 113 => 34, 110 => 33, 103 => 31, 92 => 29, 88 => 28, 82 => 26, 78 => 25, 73 => 23, 66 => 18, 57 => 11, 52 => 9, 46 => 5, 41 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "database/multi_table_query/form.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/multi_table_query/form.twig"); } } twig/3f/3f0e7a48ee45098fc1dd0fa7a72e6831.php 0000644 00000031212 15114741573 0013214 0 ustar 00 <?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; /* database/structure/body_for_table_summary.twig */ class __TwigTemplate_0005ac974929fbee294c8082237533a8 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 "<tfoot id=\"tbl_summary_row\"> <tr> <th class=\"d-print-none\"></th> <th class=\"tbl_num text-nowrap\"> "; // line 5 $context["num_tables_trans"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) { yield _ngettext("%s table", "%s tables", abs( // line 6 ($context["num_tables"] ?? null))); return; yield ''; })())) ? '' : new Markup($tmp, $this->env->getCharset()); // line 8 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf(($context["num_tables_trans"] ?? null), PhpMyAdmin\Util::formatNumber(($context["num_tables"] ?? null), 0)), "html", null, true); yield " </th> "; // line 10 if (($context["server_replica_status"] ?? null)) { // line 11 yield " <th>"; yield _gettext("Replication"); yield "</th> "; } // line 13 yield " "; $context["sum_colspan"] = ((($context["db_is_system_schema"] ?? null)) ? (4) : (7)); // line 14 yield " "; if ((($context["num_favorite_tables"] ?? null) == 0)) { // line 15 yield " "; $context["sum_colspan"] = (($context["sum_colspan"] ?? null) - 1); // line 16 yield " "; } // line 17 yield " <th colspan=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["sum_colspan"] ?? null), "html", null, true); yield "\" class=\"d-print-none\">"; yield _gettext("Sum"); yield "</th> "; // line 18 $context["row_count_sum"] = PhpMyAdmin\Util::formatNumber(($context["sum_entries"] ?? null), 0); // line 19 yield " "; // line 20 yield " "; $context["row_sum_url"] = []; // line 21 yield " "; if (array_key_exists("approx_rows", $context)) { // line 22 yield " "; $context["row_sum_url"] = ["ajax_request" => true, "db" => // line 24 ($context["db"] ?? null), "real_row_count_all" => "true"]; // line 27 yield " "; } // line 28 yield " "; if (($context["approx_rows"] ?? null)) { // line 29 yield " "; $context["cell_text"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) { // line 30 yield "<a href=\""; yield PhpMyAdmin\Url::getFromRoute("/database/structure/real-row-count", ($context["row_sum_url"] ?? null)); yield "\" class=\"ajax row_count_sum\">~"; // line 31 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_count_sum"] ?? null), "html", null, true); // line 32 yield "</a>"; return; yield ''; })())) ? '' : new Markup($tmp, $this->env->getCharset()); // line 34 yield " "; } else { // line 35 yield " "; $context["cell_text"] = ($context["row_count_sum"] ?? null); // line 36 yield " "; } // line 37 yield " <th class=\"value tbl_rows font-monospace text-end\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["cell_text"] ?? null), "html", null, true); yield "</th> "; // line 38 if ( !(($context["properties_num_columns"] ?? null) > 1)) { // line 39 yield " "; // line 40 yield " "; $context["default_engine"] = CoreExtension::getAttribute($this->env, $this->source, ($context["dbi"] ?? null), "fetchValue", ["SELECT @@storage_engine;"], "method", false, false, false, 40); // line 41 yield " "; if (Twig\Extension\CoreExtension::testEmpty(($context["default_engine"] ?? null))) { // line 42 yield " "; // line 43 yield " "; $context["default_engine"] = CoreExtension::getAttribute($this->env, $this->source, ($context["dbi"] ?? null), "fetchValue", ["SELECT @@default_storage_engine;"], "method", false, false, false, 43); // line 44 yield " "; } // line 45 yield " <th class=\"text-center\"> <dfn title=\""; // line 46 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf(_gettext("%s is the default storage engine on this MySQL server."), ($context["default_engine"] ?? null)), "html", null, true); yield "\"> "; // line 47 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["default_engine"] ?? null), "html", null, true); yield " </dfn> </th> <th> "; // line 51 if ( !Twig\Extension\CoreExtension::testEmpty(($context["database_collation"] ?? null))) { // line 52 yield " <dfn title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["database_collation"] ?? null), "description", [], "any", false, false, false, 52), "html", null, true); yield " ("; yield _gettext("Default"); yield ")\"> "; // line 53 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["database_collation"] ?? null), "name", [], "any", false, false, false, 53), "html", null, true); yield " </dfn> "; } // line 56 yield " </th> "; } // line 58 yield " "; // line 59 if (($context["is_show_stats"] ?? null)) { // line 60 yield " "; $context["sum"] = PhpMyAdmin\Util::formatByteDown(($context["sum_size"] ?? null), 3, 1); // line 61 yield " "; $context["sum_formatted"] = (($__internal_compile_0 = ($context["sum"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null); // line 62 yield " "; $context["sum_unit"] = (($__internal_compile_1 = ($context["sum"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null); // line 63 yield " <th class=\"value tbl_size font-monospace text-end\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["sum_formatted"] ?? null), "html", null, true); yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["sum_unit"] ?? null), "html", null, true); yield "</th> "; // line 65 $context["overhead"] = PhpMyAdmin\Util::formatByteDown(($context["overhead_size"] ?? null), 3, 1); // line 66 yield " "; $context["overhead_formatted"] = (($__internal_compile_2 = ($context["overhead"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[0] ?? null) : null); // line 67 yield " "; $context["overhead_unit"] = (($__internal_compile_3 = ($context["overhead"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[1] ?? null) : null); // line 68 yield " <th class=\"value tbl_overhead font-monospace text-end\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["overhead_formatted"] ?? null), "html", null, true); yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["overhead_unit"] ?? null), "html", null, true); yield "</th> "; } // line 70 yield " "; // line 71 if (($context["show_charset"] ?? null)) { // line 72 yield " <th>"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["database_charset"] ?? null), "html", null, true); yield "</th> "; } // line 74 yield " "; if (($context["show_comment"] ?? null)) { // line 75 yield " <th></th> "; } // line 77 yield " "; if (($context["show_creation"] ?? null)) { // line 78 yield " <th class=\"value tbl_creation font-monospace text-end\"> "; // line 79 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["create_time_all"] ?? null), "html", null, true); yield " </th> "; } // line 82 yield " "; if (($context["show_last_update"] ?? null)) { // line 83 yield " <th class=\"value tbl_last_update font-monospace text-end\"> "; // line 84 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["update_time_all"] ?? null), "html", null, true); yield " </th> "; } // line 87 yield " "; if (($context["show_last_check"] ?? null)) { // line 88 yield " <th class=\"value tbl_last_check font-monospace text-end\"> "; // line 89 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["check_time_all"] ?? null), "html", null, true); yield " </th> "; } // line 92 yield "</tr> </tfoot> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/structure/body_for_table_summary.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 273 => 92, 267 => 89, 264 => 88, 261 => 87, 255 => 84, 252 => 83, 249 => 82, 243 => 79, 240 => 78, 237 => 77, 233 => 75, 230 => 74, 224 => 72, 222 => 71, 219 => 70, 211 => 68, 208 => 67, 205 => 66, 203 => 65, 195 => 63, 192 => 62, 189 => 61, 186 => 60, 184 => 59, 181 => 58, 177 => 56, 171 => 53, 164 => 52, 162 => 51, 155 => 47, 151 => 46, 148 => 45, 145 => 44, 142 => 43, 140 => 42, 137 => 41, 134 => 40, 132 => 39, 130 => 38, 125 => 37, 122 => 36, 119 => 35, 116 => 34, 112 => 32, 110 => 31, 106 => 30, 103 => 29, 100 => 28, 97 => 27, 95 => 24, 93 => 22, 90 => 21, 87 => 20, 85 => 19, 83 => 18, 76 => 17, 73 => 16, 70 => 15, 67 => 14, 64 => 13, 58 => 11, 56 => 10, 50 => 8, 46 => 6, 44 => 5, 38 => 1,); } public function getSourceContext() { return new Source("", "database/structure/body_for_table_summary.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/body_for_table_summary.twig"); } }
| ver. 1.6 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.28 |
proxy
|
phpinfo
|
Настройка