?????????? ????????? - ??????????????? - /home/agenciai/public_html/cd38d8/pma_template_compiles_agenciai.tar
???????
twig/ab/ab84cc3ab02f4aa3c84e87c119e4648b.php 0000644 00000014433 15125073246 0013334 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/03/0329455ef303df248089f4105659b2ab.php 0000644 00000005154 15125073246 0012543 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/ff/ff66f842908e7dc8f97a4fb707951ed7.php 0000644 00000010055 15125073246 0013257 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/25/254edb6bc161bcfaee6c905550703772.php 0000644 00000067037 15125073246 0013050 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/94/94e2f47428f1a9c041a6aa5c416392b9.php 0000644 00000004527 15125073246 0012720 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/1c/1cdb9b162a385688fa56e049dab5b350.php 0000644 00000045142 15125073246 0013123 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/multi_table_query/form.twig */ class __TwigTemplate_c8d7dbba6123cdfa9416320bc293d3ea extends Template { private $source; private $macros = []; public function __construct(Environment $env) { 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("/database/multi-table-query", ["db" => ($context["db"] ?? null)]); yield "\"> "; yield _gettext("Multi-table query"); // line 5 yield " </a> </li> <li class=\"nav-item\"> <a class=\"nav-link disableAjax\" href=\""; // line 9 yield PhpMyAdmin\Url::getFromRoute("/database/qbe", ["db" => ($context["db"] ?? null)]); yield "\"> "; yield _gettext("Query by example"); // line 11 yield " </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\"> "; yield _gettext("Query window"); // line 18 yield " </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 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["db"] ?? null), "html", null, true); yield "\"> <fieldset class=\"pma-fieldset\"> "; // line 25 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["tables"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["table"]) { // line 26 yield " <div class=\"d-none\" id=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["table"], "hash", [], "any", false, false, false, 26), "html", null, true); yield "\"> <option value=\"*\">*</option> "; // line 28 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["table"], "columns", [], "any", false, false, false, 28)); foreach ($context['_seq'] as $context["_key"] => $context["column"]) { // line 29 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["column"], "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["column"], "html", null, true); yield "</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 yield " </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 yield " "; // line 34 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(range(0, ($context["default_no_of_columns"] ?? null))); foreach ($context['_seq'] as $context["_key"] => $context["id"]) { // line 35 yield " "; if (($context["id"] == 0)) { yield "<div class=\"d-none\" id=\"new_column_layout\">"; } // line 36 yield " <fieldset class=\"pma-fieldset column_details query-form__fieldset--inline position-relative\"> <select class=\"tableNameSelect query-form__select--inline\"> <option value=\"\">"; yield _gettext("select table"); // line 38 yield "</option> "; // line 39 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["tables"] ?? null)); foreach ($context['_seq'] as $context["keyTableName"] => $context["table"]) { // line 40 yield " <option data-hash=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["table"], "hash", [], "any", false, false, false, 40), "html", null, true); yield "\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["keyTableName"], "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["keyTableName"], "html", null, true); yield "</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 yield " </select> <span>.</span> <select class=\"columnNameSelect query-form__select--inline\"> <option value=\"\">"; yield _gettext("select column"); // line 45 yield "</option> </select> <br> <input type=\"checkbox\" checked=\"checked\" class=\"show_col\"> <span>"; yield _gettext("Show"); // line 49 yield "</span> <br> <input type=\"text\" placeholder=\""; yield _gettext("Table alias"); // line 51 yield "\" class=\"table_alias\"> <input type=\"text\" placeholder=\""; yield _gettext("Column alias"); // line 52 yield "\" class=\"col_alias\"> <br> <input type=\"checkbox\" title=\""; yield _gettext("Use this column in criteria"); // line 55 yield "\" class=\"criteria_col\"> <button class=\"btn btn-link p-0 jsCriteriaButton\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#criteriaOptions"; // line 58 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["id"], "html", null, true); yield "\" aria-expanded=\"false\" aria-controls=\"criteriaOptions"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["id"], "html", null, true); yield "\"> "; yield _gettext("criteria"); // line 60 yield " </button> <div class=\"collapse jsCriteriaOptions\" id=\"criteriaOptions"; // line 61 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["id"], "html", null, true); yield "\"> <div> <table class=\"table table-sm table-borderless align-middle w-auto\"> <tr class=\"sort_order query-form__tr--bg-none\"> <td>"; yield _gettext("Sort"); // line 67 yield "</td> <td><input type=\"radio\" name=\"sort["; // line 68 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["id"], "html", null, true); yield "]\">"; yield _gettext("Ascending"); yield "</td> <td><input type=\"radio\" name=\"sort["; // line 69 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["id"], "html", null, true); yield "]\">"; yield _gettext("Descending"); yield "</td> </tr> <tr class=\"logical_operator query-form__tr--bg-none query-form__tr--hide\"> <td>"; yield _gettext("Add as"); // line 73 yield "</td> <td> <input type=\"radio\" name=\"logical_op["; // line 76 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["id"], "html", null, true); yield "]\" value=\"AND\" class=\"logical_op\" checked=\"checked\"> AND </td> <td> <input type=\"radio\" name=\"logical_op["; // line 84 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["id"], "html", null, true); yield "]\" value=\"OR\" class=\"logical_op\"> OR </td> </tr> <tr> <td>Column</td> <td colspan=\"2\"> <select class=\"columnNameSelect query-form__select--inline opColumn\"> <option value=\"\">"; yield _gettext("select column"); // line 95 yield "</option> </select> </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\">"; yield _gettext("Text"); // line 127 yield "</option> <option value=\"anotherColumn\">"; yield _gettext("Another column"); // line 128 yield "</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=\"\">"; yield _gettext("select table"); // line 137 yield "</option> "; // line 138 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["tables"] ?? null)); foreach ($context['_seq'] as $context["keyTableName"] => $context["table"]) { // line 139 yield " <option data-hash=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["table"], "hash", [], "any", false, false, false, 139), "html", null, true); yield "\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["keyTableName"], "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["keyTableName"], "html", null, true); yield "</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 141 yield " </select><span>.</span> </td> <td> <select class=\"columnNameSelect query-form__select--inline\"> <option value=\"\">"; yield _gettext("select column"); // line 145 yield "</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=\""; yield _gettext("Enter criteria as free text"); // line 155 yield "\"> </td> </tr> </table> </div> </div> <button type=\"button\" class=\"btn-close position-absolute top-0 end-0 jsRemoveColumn\" aria-label=\""; yield _gettext("Remove this column"); // line 162 yield "\"></button> </fieldset> "; // line 164 if (($context["id"] == 0)) { yield "</div>"; } // line 165 yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['id'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 166 yield " <fieldset class=\"pma-fieldset query-form__fieldset--inline\"> <input class=\"btn btn-secondary\" type=\"button\" value=\""; yield _gettext("+ Add column"); // line 168 yield "\" id=\"add_column_button\"> </fieldset> <fieldset class=\"pma-fieldset\"> "; // line 173 yield " <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=\""; yield _gettext("Update query"); // line 183 yield "\"> <input class=\"btn btn-primary\" type=\"button\" id=\"submit_query\" value=\""; yield _gettext("Submit query"); // line 184 yield "\"> </fieldset> </form> </div> <div id=\"sql_results\"></div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/multi_table_query/form.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 394 => 184, 390 => 183, 377 => 173, 371 => 168, 366 => 166, 360 => 165, 356 => 164, 352 => 162, 342 => 155, 329 => 145, 322 => 141, 309 => 139, 305 => 138, 302 => 137, 290 => 128, 286 => 127, 251 => 95, 236 => 84, 225 => 76, 220 => 73, 210 => 69, 204 => 68, 201 => 67, 191 => 61, 188 => 60, 181 => 58, 176 => 55, 170 => 52, 166 => 51, 161 => 49, 154 => 45, 148 => 42, 135 => 40, 131 => 39, 128 => 38, 123 => 36, 118 => 35, 114 => 34, 111 => 33, 104 => 31, 93 => 29, 89 => 28, 83 => 26, 79 => 25, 74 => 23, 67 => 18, 58 => 11, 53 => 9, 47 => 5, 42 => 3, 38 => 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/1a/1a0d86b18464494024292fc023d6b04c.php 0000644 00000024561 15125073246 0012606 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/bc/bc2f838df65fa48085d933e03161f290.php 0000644 00000005757 15125073246 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; /* database/structure/drop_form.twig */ class __TwigTemplate_5954c1268771cb4cc5bb63255db7cf03 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { 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("/database/structure/drop-table"); yield "\" method=\"post\"> "; // line 2 yield PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null)); yield " <fieldset class=\"pma-fieldset confirmation\"> <legend> "; yield _gettext("Do you really want to execute the following query?"); // line 7 yield " </legend> <code>"; // line 9 yield ($context["full_query"] ?? null); yield "</code> </fieldset> <fieldset class=\"pma-fieldset tblFooters\"> <div id=\"foreignkeychk\" class=\"float-start\"> <input type=\"hidden\" name=\"fk_checks\" value=\"0\"> <input type=\"checkbox\" name=\"fk_checks\" id=\"fk_checks\" value=\"1\""; // line 15 yield ((($context["is_foreign_key_check"] ?? null)) ? (" checked") : ("")); yield "> <label for=\"fk_checks\">"; yield _gettext("Enable foreign key checks"); // line 16 yield "</label> </div> <div class=\"float-end\"> <input id=\"buttonYes\" class=\"btn btn-secondary\" type=\"submit\" name=\"mult_btn\" value=\""; yield _gettext("Yes"); // line 19 yield "\"> <input id=\"buttonNo\" class=\"btn btn-secondary\" type=\"submit\" name=\"mult_btn\" value=\""; yield _gettext("No"); // line 20 yield "\"> </div> </fieldset> </form> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/structure/drop_form.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 79 => 20, 75 => 19, 69 => 16, 64 => 15, 55 => 9, 51 => 7, 43 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "database/structure/drop_form.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/drop_form.twig"); } } twig/2b/2b1312171d9073eec5e7edd3eff03bde.php 0000644 00000005550 15125073246 0013333 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/8f/8fe883740577aaf1c9f41c5d0442b0ae.php 0000644 00000051377 15125073246 0013147 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; /* columns_definitions/column_definitions_form.twig */ class __TwigTemplate_5a93396f1e4bcb9efd51d9786d32a976 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { 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", null, true); yield "\" class=\""; // line 2 yield (((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/create"))) ? ("create_table") : ("append_fields")); // line 3 yield "_form ajax lock-page\"> "; // line 4 yield PhpMyAdmin\Url::getHiddenInputs(($context["form_params"] ?? null)); yield " "; // line 6 yield " "; // line 7 yield " "; // line 8 yield " <input type=\"hidden\" name=\"primary_indexes\" value=\""; // line 9 (( !Twig\Extension\CoreExtension::testEmpty(($context["primary_indexes"] ?? null))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["primary_indexes"] ?? null), "html", null, true)) : (yield "[]")); yield "\"> <input type=\"hidden\" name=\"unique_indexes\" value=\""; // line 11 (( !Twig\Extension\CoreExtension::testEmpty(($context["unique_indexes"] ?? null))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_indexes"] ?? null), "html", null, true)) : (yield "[]")); yield "\"> <input type=\"hidden\" name=\"indexes\" value=\""; // line 13 (( !Twig\Extension\CoreExtension::testEmpty(($context["indexes"] ?? null))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["indexes"] ?? null), "html", null, true)) : (yield "[]")); yield "\"> <input type=\"hidden\" name=\"fulltext_indexes\" value=\""; // line 15 (( !Twig\Extension\CoreExtension::testEmpty(($context["fulltext_indexes"] ?? null))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["fulltext_indexes"] ?? null), "html", null, true)) : (yield "[]")); yield "\"> <input type=\"hidden\" name=\"spatial_indexes\" value=\""; // line 17 (( !Twig\Extension\CoreExtension::testEmpty(($context["spatial_indexes"] ?? null))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["spatial_indexes"] ?? null), "html", null, true)) : (yield "[]")); yield "\"> "; // line 19 if ((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/create"))) { // line 20 yield " <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>"; yield _gettext("Table name"); // line 23 yield ": <input type=\"text\" name=\"table\" size=\"40\" maxlength=\"64\" value=\""; // line 28 ((array_key_exists("table", $context)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["table"] ?? null), "html", null, true)) : (yield "")); yield "\" class=\"textfield\" autofocus required> </td> <td> "; yield _gettext("Add"); // line 33 yield " <input type=\"number\" id=\"added_fields\" name=\"added_fields\" size=\"2\" value=\"1\" min=\"1\" onfocus=\"this.select()\"> "; yield _gettext("column(s)"); // line 41 yield " <input class=\"btn btn-secondary\" type=\"button\" name=\"submit_num_fields\" value=\""; yield _gettext("Go"); // line 43 yield "\"> </td> </tr> </table> </div> "; } // line 49 yield " "; if (is_iterable(($context["content_cells"] ?? null))) { // line 50 yield " "; yield from $this->loadTemplate("columns_definitions/table_fields_definitions.twig", "columns_definitions/column_definitions_form.twig", 50)->unwrap()->yield(CoreExtension::toArray(["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 yield " "; } // line 68 yield " "; if ((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/create"))) { // line 69 yield " <div class=\"responsivetable\"> <table class=\"table table-borderless w-auto align-middle mb-0\"> <tr class=\"align-top\"> <th>"; yield _gettext("Table comments:"); // line 72 yield "</th> <td width=\"25\"> </td> <th>"; yield _gettext("Collation:"); // line 74 yield "</th> <td width=\"25\"> </td> <th> "; yield _gettext("Storage Engine:"); // line 78 yield " "; yield PhpMyAdmin\Html\MySQLDocumentation::show("Storage_engines"); yield " </th> <td width=\"25\"> </td> <th id=\"storage-engine-connection\"> "; yield _gettext("Connection:"); // line 83 yield " "; yield PhpMyAdmin\Html\MySQLDocumentation::show("federated-create-connection"); yield " </th> </tr> <tr> <td> <input type=\"text\" name=\"comment\" size=\"40\" maxlength=\"60\" value=\""; // line 92 ((array_key_exists("comment", $context)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["comment"] ?? null), "html", null, true)) : (yield "")); yield "\" 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'] = CoreExtension::ensureTraversable(($context["charsets"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 100 yield " <optgroup label=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 100), "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, 100), "html", null, true); yield "\"> "; // line 101 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 101)); foreach ($context['_seq'] as $context["_key"] => $context["collation"]) { // line 102 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 102), "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, 102), "html", null, true); yield "\""; // line 103 yield (((CoreExtension::getAttribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 103) == ($context["tbl_collation"] ?? null))) ? (" selected") : ("")); yield ">"; // line 104 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 104), "html", null, true); // line 105 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 107 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 109 yield " </select> </td> <td width=\"25\"> </td> <td> <select class=\"form-select\" name=\"tbl_storage_engine\" aria-label=\""; yield _gettext("Storage engine"); // line 113 yield "\"> "; // line 114 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["storage_engines"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["engine"]) { // line 115 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 115), "html", null, true); yield "\""; if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 115))) { yield " title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 115), "html", null, true); yield "\""; } // line 116 yield ((((Twig\Extension\CoreExtension::lower($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 116)) == Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["tbl_storage_engine"] ?? null))) || (Twig\Extension\CoreExtension::testEmpty(($context["tbl_storage_engine"] ?? null)) && CoreExtension::getAttribute($this->env, $this->source, $context["engine"], "is_default", [], "any", false, false, false, 116)))) ? (" selected") : ("")); yield ">"; // line 117 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 117), "html", null, true); // line 118 yield "</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 yield " </select> </td> <td width=\"25\"> </td> <td> <input type=\"text\" name=\"connection\" size=\"40\" value=\""; // line 127 ((array_key_exists("connection", $context)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["connection"] ?? null), "html", null, true)) : (yield "")); yield "\" 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 yield " <tr class=\"align-top\"> <th colspan=\"5\"> "; yield _gettext("PARTITION definition:"); // line 137 yield " "; yield PhpMyAdmin\Html\MySQLDocumentation::show("Partitioning"); yield " </th> </tr> <tr> <td colspan=\"5\"> "; // line 142 yield from $this->loadTemplate("columns_definitions/partitions.twig", "columns_definitions/column_definitions_form.twig", 142)->unwrap()->yield(CoreExtension::toArray(["partition_details" => // line 143 ($context["partition_details"] ?? null), "storage_engines" => // line 144 ($context["storage_engines"] ?? null)])); // line 146 yield " </td> </tr> "; } // line 149 yield " </table> </div> "; } // line 152 yield " <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 yield " <input type=\"checkbox\" name=\"online_transaction\" value=\"ONLINE_TRANSACTION_ENABLED\" />"; yield _pgettext("Online transaction part of the SQL DDL for InnoDB", "Online transaction"); yield PhpMyAdmin\Html\MySQLDocumentation::show("innodb-online-ddl"); yield " "; } // line 156 yield " <input class=\"btn btn-secondary preview_sql\" type=\"button\" value=\""; yield _gettext("Preview SQL"); // line 157 yield "\"> <input class=\"btn btn-primary\" type=\"submit\" name=\"do_save_data\" value=\""; yield _gettext("Save"); // line 160 yield "\"> </fieldset> <div id=\"properties_message\"></div> "; // line 163 if (($context["is_integers_length_restricted"] ?? null)) { // line 164 yield " <div class=\"alert alert-primary\" id=\"length_not_allowed\" role=\"alert\"> "; // line 165 yield PhpMyAdmin\Html\Generator::getImage("s_notice"); yield " "; yield _gettext("The column width of integer types is ignored in your MySQL version unless defining a TINYINT(1) column"); // line 167 yield " "; yield PhpMyAdmin\Html\MySQLDocumentation::show("", false, "https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-19.html"); yield " </div> "; } // line 170 yield "</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\">"; yield _gettext("Loading"); // line 175 yield "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Close"); // line 176 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 181 yield "</button> </div> </div> </div> </div> "; // line 188 yield Twig\Extension\CoreExtension::include($this->env, $context, "modals/enum_set_editor.twig"); yield " "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "columns_definitions/column_definitions_form.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 395 => 188, 387 => 181, 379 => 176, 375 => 175, 367 => 170, 360 => 167, 355 => 165, 352 => 164, 350 => 163, 345 => 160, 339 => 157, 335 => 156, 328 => 154, 326 => 153, 323 => 152, 318 => 149, 313 => 146, 311 => 144, 310 => 143, 309 => 142, 300 => 137, 295 => 134, 293 => 133, 284 => 127, 275 => 120, 268 => 118, 266 => 117, 263 => 116, 254 => 115, 250 => 114, 247 => 113, 240 => 109, 233 => 107, 226 => 105, 224 => 104, 221 => 103, 215 => 102, 211 => 101, 204 => 100, 200 => 99, 190 => 92, 177 => 83, 168 => 78, 162 => 74, 157 => 72, 151 => 69, 148 => 68, 145 => 67, 143 => 65, 142 => 64, 141 => 63, 140 => 62, 139 => 61, 138 => 60, 137 => 59, 136 => 58, 135 => 57, 134 => 56, 133 => 55, 132 => 54, 131 => 53, 130 => 52, 129 => 51, 127 => 50, 124 => 49, 116 => 43, 111 => 41, 101 => 33, 93 => 28, 86 => 23, 80 => 20, 78 => 19, 73 => 17, 69 => 15, 65 => 13, 61 => 11, 57 => 9, 55 => 8, 53 => 7, 51 => 6, 47 => 4, 44 => 3, 42 => 2, 38 => 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/ef/efc60989596faf01439bd1e76e4e2e58.php 0000644 00000076131 15125073246 0013250 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; /* columns_definitions/partitions.twig */ class __TwigTemplate_c051527314a0bb76bdedec375e10fabf extends Template { private $source; private $macros = []; public function __construct(Environment $env) { 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"] = ["", "HASH", "LINEAR HASH", "KEY", "LINEAR KEY", "RANGE", "RANGE COLUMNS", "LIST", "LIST COLUMNS"]; // line 12 $context["sub_partition_options"] = ["", "HASH", "LINEAR HASH", "KEY", "LINEAR KEY"]; // line 13 $context["value_type_options"] = ["", "LESS THAN", "LESS THAN MAXVALUE", "IN"]; // line 14 yield " <table class=\"table table-borderless w-auto align-middle mb-0\" id=\"partition_table\"> <tr class=\"align-middle\"> <td><label for=\"partition_by\">"; yield _gettext("Partition by:"); // line 17 yield "</label></td> <td> <select name=\"partition_by\" id=\"partition_by\"> "; // line 20 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["partition_options"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 21 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["option"], "html", null, true); yield "\""; // 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 yield " selected=\"selected\""; } // line 24 yield "> "; // line 25 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 28 yield " </select> </td> <td> (<input name=\"partition_expr\" type=\"text\" placeholder=\""; yield _gettext("Expression or column list"); // line 32 yield "\" value=\""; // line 33 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__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); yield "\">) </td> </tr> <tr class=\"align-middle\"> <td><label for=\"partition_count\">"; yield _gettext("Partitions:"); // line 37 yield "</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)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__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)) : (yield "")); yield "\"> </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 yield " <tr class=\"align-middle\"> <td><label for=\"subpartition_by\">"; yield _gettext("Subpartition by:"); // line 45 yield "</label></td> <td> <select name=\"subpartition_by\" id=\"subpartition_by\"> "; // line 48 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["sub_partition_options"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 49 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["option"], "html", null, true); yield "\""; // 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 yield " selected=\"selected\""; } // line 52 yield "> "; // line 53 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 56 yield " </select> </td> <td> (<input name=\"subpartition_expr\" type=\"text\" placeholder=\""; yield _gettext("Expression or column list"); // line 60 yield "\" value=\""; // line 61 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__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); yield "\">) </td> </tr> <tr class=\"align-middle\"> <td><label for=\"subpartition_count\">"; yield _gettext("Subpartitions:"); // line 65 yield "</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)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__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)) : (yield "")); yield "\"> </td> </tr> "; } // line 72 yield "</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 yield " <table class=\"table align-middle\" id=\"partition_definition_table\"> <thead><tr> <th>"; yield _gettext("Partition"); // line 76 yield "</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 yield " <th>"; yield _gettext("Values"); yield "</th> "; } // line 80 yield " "; 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 yield " <th>"; yield _gettext("Subpartition"); yield "</th> "; } // line 84 yield " <th>"; yield _gettext("Engine"); yield "</th> <th>"; yield _gettext("Comment"); // line 85 yield "</th> <th>"; yield _gettext("Data directory"); // line 86 yield "</th> <th>"; yield _gettext("Index directory"); // line 87 yield "</th> <th>"; yield _gettext("Max rows"); // line 88 yield "</th> <th>"; yield _gettext("Min rows"); // line 89 yield "</th> <th>"; yield _gettext("Table space"); // line 90 yield "</th> <th>"; yield _gettext("Node group"); // line 91 yield "</th> </tr></thead> "; // line 93 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable((($__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 yield " "; $context["rowspan"] = (( !Twig\Extension\CoreExtension::testEmpty((($__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 yield " <tr> <td rowspan=\""; // line 97 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["rowspan"] ?? null), "html", null, true); yield "\"> <input type=\"text\" name=\""; // line 98 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_16 = $context["partition"]) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16["prefix"] ?? null) : null), "html", null, true); yield "[name]\" value=\""; // line 99 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_17 = $context["partition"]) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17["name"] ?? null) : null), "html", null, true); yield "\"> </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 yield " <td rowspan=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["rowspan"] ?? null), "html", null, true); yield "\" class=\"align-middle\"> <select class=\"partition_value\" name=\""; // line 104 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_19 = $context["partition"]) && is_array($__internal_compile_19) || $__internal_compile_19 instanceof ArrayAccess ? ($__internal_compile_19["prefix"] ?? null) : null), "html", null, true); yield "[value_type]\"> "; // line 105 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["value_type_options"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 106 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["option"], "html", null, true); yield "\""; // 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 yield " selected=\"selected\""; } // line 109 yield "> "; // line 110 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 113 yield " </select> <input type=\"text\" class=\"partition_value\" name=\""; // line 115 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_21 = $context["partition"]) && is_array($__internal_compile_21) || $__internal_compile_21 instanceof ArrayAccess ? ($__internal_compile_21["prefix"] ?? null) : null), "html", null, true); yield "[value]\" value=\""; // line 116 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_22 = $context["partition"]) && is_array($__internal_compile_22) || $__internal_compile_22 instanceof ArrayAccess ? ($__internal_compile_22["value"] ?? null) : null), "html", null, true); yield "\"> </td> "; } // line 119 yield " </tr> "; // line 121 if (CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "subpartitions", [], "array", true, true, false, 121)) { // line 122 yield " "; $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 yield " "; } else { // line 124 yield " "; $context["subpartitions"] = [$context["partition"]]; // line 125 yield " "; } // line 126 yield " "; // line 127 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["subpartitions"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["subpartition"]) { // line 128 yield " <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 yield " <td> <input type=\"text\" name=\""; // line 132 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_26 = $context["subpartition"]) && is_array($__internal_compile_26) || $__internal_compile_26 instanceof ArrayAccess ? ($__internal_compile_26["prefix"] ?? null) : null), "html", null, true); yield "[name]\" value=\""; // line 133 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_27 = $context["subpartition"]) && is_array($__internal_compile_27) || $__internal_compile_27 instanceof ArrayAccess ? ($__internal_compile_27["name"] ?? null) : null), "html", null, true); yield "\"> </td> "; } // line 136 yield " <td> <select name=\""; // line 137 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_28 = $context["subpartition"]) && is_array($__internal_compile_28) || $__internal_compile_28 instanceof ArrayAccess ? ($__internal_compile_28["prefix"] ?? null) : null), "html", null, true); yield "[engine]\" aria-label=\""; yield _gettext("Storage engine"); yield "\"> <option value=\"\"></option> "; // line 139 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["storage_engines"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["engine"]) { // line 140 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 140), "html", null, true); yield "\""; if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 140))) { yield " title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 140), "html", null, true); yield "\""; } // line 141 yield (((Twig\Extension\CoreExtension::lower($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 141)) == Twig\Extension\CoreExtension::lower($this->env->getCharset(), (($__internal_compile_29 = $context["subpartition"]) && is_array($__internal_compile_29) || $__internal_compile_29 instanceof ArrayAccess ? ($__internal_compile_29["engine"] ?? null) : null)))) ? (" selected") : ("")); yield ">"; // line 142 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 142), "html", null, true); // line 143 yield "</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 yield " </select> </td> <td> <textarea name=\""; // line 148 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_30 = $context["subpartition"]) && is_array($__internal_compile_30) || $__internal_compile_30 instanceof ArrayAccess ? ($__internal_compile_30["prefix"] ?? null) : null), "html", null, true); yield "[comment]\">"; // line 149 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__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 yield "</textarea> </td> <td> <input type=\"text\" name=\""; // line 153 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_32 = $context["subpartition"]) && is_array($__internal_compile_32) || $__internal_compile_32 instanceof ArrayAccess ? ($__internal_compile_32["prefix"] ?? null) : null), "html", null, true); yield "[data_directory]\" value=\""; // line 154 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__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); yield "\"> </td> <td> <input type=\"text\" name=\""; // line 157 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_34 = $context["subpartition"]) && is_array($__internal_compile_34) || $__internal_compile_34 instanceof ArrayAccess ? ($__internal_compile_34["prefix"] ?? null) : null), "html", null, true); yield "[index_directory]\" value=\""; // line 158 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__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); yield "\"> </td> <td> <input type=\"number\" name=\""; // line 161 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_36 = $context["subpartition"]) && is_array($__internal_compile_36) || $__internal_compile_36 instanceof ArrayAccess ? ($__internal_compile_36["prefix"] ?? null) : null), "html", null, true); yield "[max_rows]\" value=\""; // line 162 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__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); yield "\"> </td> <td> <input type=\"number\" min=\"0\" name=\""; // line 165 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_38 = $context["subpartition"]) && is_array($__internal_compile_38) || $__internal_compile_38 instanceof ArrayAccess ? ($__internal_compile_38["prefix"] ?? null) : null), "html", null, true); yield "[min_rows]\" value=\""; // line 166 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__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); yield "\"> </td> <td> <input type=\"text\" min=\"0\" name=\""; // line 169 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_40 = $context["subpartition"]) && is_array($__internal_compile_40) || $__internal_compile_40 instanceof ArrayAccess ? ($__internal_compile_40["prefix"] ?? null) : null), "html", null, true); yield "[tablespace]\" value=\""; // line 170 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_41 = $context["subpartition"]) && is_array($__internal_compile_41) || $__internal_compile_41 instanceof ArrayAccess ? ($__internal_compile_41["tablespace"] ?? null) : null), "html", null, true); yield "\"> </td> <td> <input type=\"text\" name=\""; // line 173 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_42 = $context["subpartition"]) && is_array($__internal_compile_42) || $__internal_compile_42 instanceof ArrayAccess ? ($__internal_compile_42["prefix"] ?? null) : null), "html", null, true); yield "[node_group]\" value=\""; // line 174 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__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); yield "\"> </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 yield " "; } $_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 yield " </table> "; } return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "columns_definitions/partitions.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 479 => 179, 473 => 178, 463 => 174, 459 => 173, 453 => 170, 449 => 169, 443 => 166, 439 => 165, 433 => 162, 429 => 161, 423 => 158, 419 => 157, 413 => 154, 409 => 153, 404 => 150, 402 => 149, 399 => 148, 394 => 145, 387 => 143, 385 => 142, 382 => 141, 373 => 140, 369 => 139, 362 => 137, 359 => 136, 353 => 133, 349 => 132, 346 => 131, 344 => 130, 343 => 129, 340 => 128, 336 => 127, 333 => 126, 330 => 125, 327 => 124, 324 => 123, 321 => 122, 319 => 121, 315 => 119, 309 => 116, 305 => 115, 301 => 113, 292 => 110, 289 => 109, 286 => 108, 284 => 107, 280 => 106, 276 => 105, 272 => 104, 266 => 102, 264 => 101, 259 => 99, 255 => 98, 251 => 97, 248 => 96, 246 => 95, 244 => 94, 240 => 93, 236 => 91, 232 => 90, 228 => 89, 224 => 88, 220 => 87, 216 => 86, 212 => 85, 206 => 84, 200 => 82, 198 => 81, 196 => 80, 190 => 78, 188 => 77, 185 => 76, 180 => 74, 178 => 73, 175 => 72, 168 => 68, 163 => 65, 155 => 61, 152 => 60, 145 => 56, 136 => 53, 133 => 52, 130 => 51, 128 => 50, 124 => 49, 120 => 48, 115 => 45, 111 => 44, 109 => 43, 103 => 40, 98 => 37, 90 => 33, 87 => 32, 80 => 28, 71 => 25, 68 => 24, 65 => 23, 63 => 22, 59 => 21, 55 => 20, 50 => 17, 44 => 14, 42 => 13, 40 => 12, 38 => 1,); } public function getSourceContext() { return new Source("", "columns_definitions/partitions.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/columns_definitions/partitions.twig"); } } twig/ef/ef603e4c5c0ac34540a9f6b8556bcec3.php 0000644 00000020051 15125073246 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; /* 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/84/84d33b4c7ae368136f9042cafa5c5b35.php 0000644 00000005214 15125073246 0013046 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/cb/cb75e9713348c6389821391ef1080217.php 0000644 00000010723 15125073246 0012556 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/d7/d7c3995cb4f6125a4978fed7eeb11cff.php 0000644 00000007112 15125073246 0013373 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/d7/d789d0316697fc539fe3f7d6951d4384.php 0000644 00000006012 15125073246 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/empty_form.twig */ class __TwigTemplate_aef5eb1e9857f4d01b04caf368b62c9d extends Template { private $source; private $macros = []; public function __construct(Environment $env) { 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("/database/structure/empty-table"); yield "\" class=\"disableAjax\" method=\"post\"> "; // line 2 yield PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null)); yield " <fieldset class=\"pma-fieldset confirmation\"> <legend> "; yield _gettext("Do you really want to execute the following query?"); // line 7 yield " </legend> <code>"; // line 9 yield ($context["full_query"] ?? null); yield "</code> </fieldset> <fieldset class=\"pma-fieldset tblFooters\"> <div id=\"foreignkeychk\" class=\"float-start\"> <input type=\"hidden\" name=\"fk_checks\" value=\"0\"> <input type=\"checkbox\" name=\"fk_checks\" id=\"fk_checks\" value=\"1\""; // line 15 yield ((($context["is_foreign_key_check"] ?? null)) ? (" checked") : ("")); yield "> <label for=\"fk_checks\">"; yield _gettext("Enable foreign key checks"); // line 16 yield "</label> </div> <div class=\"float-end\"> <input id=\"buttonYes\" class=\"btn btn-secondary\" type=\"submit\" name=\"mult_btn\" value=\""; yield _gettext("Yes"); // line 19 yield "\"> <input id=\"buttonNo\" class=\"btn btn-secondary\" type=\"submit\" name=\"mult_btn\" value=\""; yield _gettext("No"); // line 20 yield "\"> </div> </fieldset> </form> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/structure/empty_form.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 79 => 20, 75 => 19, 69 => 16, 64 => 15, 55 => 9, 51 => 7, 43 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "database/structure/empty_form.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/empty_form.twig"); } } twig/41/41c4a65c9c6eacc805f1733a23ab7f99.php 0000644 00000003626 15125073246 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; /* 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/99/9949447e7b5c790070a6599363dab832.php 0000644 00000011156 15125073246 0012531 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/3c/3ccc4940fff089164d06e0e3577c6e5f.php 0000644 00000005025 15125073246 0013140 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/c2/c2ead90c79ccf2f67f00efc5f1477ba0.php 0000644 00000010642 15125073246 0013423 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/c2/c28b3143f32e68cd91d81678a565c398.php 0000644 00000020426 15125073246 0012726 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/e6/e68c8900aab8ddab4b98a979d6fae0b3.php 0000644 00000004146 15125073246 0013444 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/f8/f859ed72d0dc074f9ccc5ac2ead122c7.php 0000644 00000013671 15125073246 0013440 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 15125073246 0012775 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/7b/7b8e3d3fdbbf9981efd8d605431ebc53.php 0000644 00000053461 15125073246 0013373 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/38/38d6e9020b1170e956cd769d2deb3d0f.php 0000644 00000007417 15125073246 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; /* 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/70/70289909fbc7b7b52c6156328d666862.php 0000644 00000003256 15125073246 0012517 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/fd/fddd1b733da4f42e7c6db6f938928c22.php 0000644 00000004175 15125073246 0013367 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/b2/b20f820969f1f18c9438a686e41a9e89.php 0000644 00000014137 15125073246 0012740 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; /* columns_definitions/column_attribute.twig */ class __TwigTemplate_6174f22bbd4b47f6290d47c47131526e extends Template { private $source; private $macros = []; public function __construct(Environment $env) { 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 yield " "; $context["attribute"] = ($context["submit_attribute"] ?? null); // line 3 yield " "; } elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 4 ($context["column_meta"] ?? null), "Extra", [], "array", true, true, false, 4) && (CoreExtension::inFilter("on update current_timestamp", Twig\Extension\CoreExtension::lower($this->env->getCharset(), (($__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))) || CoreExtension::inFilter("on update current_timestamp()", Twig\Extension\CoreExtension::lower($this->env->getCharset(), (($__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 yield " "; $context["attribute"] = "on update CURRENT_TIMESTAMP"; } elseif (CoreExtension::getAttribute($this->env, $this->source, // line 7 ($context["extracted_columnspec"] ?? null), "attribute", [], "array", true, true, false, 7)) { // line 8 yield " "; $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 yield " "; $context["attribute"] = ""; } // line 12 $context["attribute"] = Twig\Extension\CoreExtension::upper($this->env->getCharset(), ($context["attribute"] ?? null)); // line 13 yield "<select name=\"field_attribute["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\" id=\"field_"; // line 14 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); yield "\"> "; // line 15 $context["cnt_attribute_types"] = (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["attribute_types"] ?? null)) - 1); // line 16 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(range(0, ($context["cnt_attribute_types"] ?? null))); foreach ($context['_seq'] as $context["_key"] => $context["i"]) { // line 17 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__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); yield "\""; // line 18 yield (((($context["attribute"] ?? null) == Twig\Extension\CoreExtension::upper($this->env->getCharset(), (($__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\"") : ("")); yield "> "; // line 19 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__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); yield " </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 yield "</select> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "columns_definitions/column_attribute.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 98 => 22, 89 => 19, 85 => 18, 81 => 17, 76 => 16, 74 => 15, 68 => 14, 63 => 13, 61 => 12, 57 => 10, 53 => 8, 51 => 7, 48 => 6, 46 => 5, 45 => 4, 43 => 3, 40 => 2, 38 => 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/b2/b2020145f146313a548e434c7821a21b.php 0000644 00000134325 15125073246 0012513 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/b2812386b753320d886bb285ebf519c1.php 0000644 00000033276 15125073246 0012714 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/9f/9f28ad63af1b761e2f7f6db310290485.php 0000644 00000005050 15125073246 0013056 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/1f/1febb38fbbf58539332727377e0b5a98.php 0000644 00000011123 15125073246 0013057 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/66/66fb65223d4c1eb1b44346adc84acd95.php 0000644 00000003322 15125073246 0013121 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/a6/a685faf3d91696abe3b81c959b19a722.php 0000644 00000005010 15125073246 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; /* 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/af/af21d6d93ec1312843e3523d45313517.php 0000644 00000034500 15125073246 0012670 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/ce/cec45ea000a7a71d11011e72c0a64eee.php 0000644 00000017322 15125073246 0013305 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/b9/b92f0958298c78533d5cbbcf2ca674ad.php 0000644 00000004717 15125073246 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; /* 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/b5/b576af01d5ef2ec55d905ad2c6bf025a.php 0000644 00000017231 15125073246 0013333 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/37/37c291d7d41932c7cfda81164a494019.php 0000644 00000004012 15125073246 0012624 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/b7/b7c2c4726896fb711b473ebc30b39de2.php 0000644 00000023045 15125073246 0013131 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/71/717e89c3e1ec4d510d4b3d4ff376f592.php 0000644 00000025132 15125073246 0013063 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; /* columns_definitions/table_fields_definitions.twig */ class __TwigTemplate_48b4eb99d8ee08952cf2e1e35427ef0a extends Template { private $source; private $macros = []; public function __construct(Environment $env) { 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=\"responsivetable\"> <table id=\"table_columns\" class=\"table table-striped caption-top align-middle mb-0 noclick\"> <caption class=\"tblHeaders\"> "; yield _gettext("Structure"); // line 5 yield " "; yield PhpMyAdmin\Html\MySQLDocumentation::show("CREATE_TABLE"); yield " </caption> <tr> <th> "; yield _gettext("Name"); // line 10 yield " </th> <th> "; yield _gettext("Type"); // line 13 yield " "; yield PhpMyAdmin\Html\MySQLDocumentation::show("data-types"); yield " </th> <th> "; yield _gettext("Length/Values"); // line 17 yield " "; yield 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').")); yield " </th> <th> "; yield _gettext("Default"); // line 21 yield " "; yield PhpMyAdmin\Html\Generator::showHint(_gettext("For default values, please enter just a single value, without backslash escaping or quotes, using this format: a")); yield " </th> <th> "; yield _gettext("Collation"); // line 25 yield " </th> <th> "; yield _gettext("Attributes"); // line 28 yield " </th> <th> "; yield _gettext("Null"); // line 31 yield " </th> "; // line 34 yield " "; if ((array_key_exists("change_column", $context) && !Twig\Extension\CoreExtension::testEmpty(($context["change_column"] ?? null)))) { // line 35 yield " <th> "; yield _gettext("Adjust privileges"); // line 37 yield " "; yield PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39"); yield " </th> "; } // line 40 yield " "; // line 44 yield " "; if ( !($context["is_backup"] ?? null)) { // line 45 yield " <th> "; yield _gettext("Index"); // line 47 yield " </th> "; } // line 49 yield " <th> <abbr title=\"AUTO_INCREMENT\">A_I</abbr> </th> <th> "; yield _gettext("Comments"); // line 55 yield " </th> "; // line 57 if (($context["is_virtual_columns_supported"] ?? null)) { // line 58 yield " <th> "; yield _gettext("Virtuality"); // line 60 yield " </th> "; } // line 62 yield " "; // line 63 if (array_key_exists("fields_meta", $context)) { // line 64 yield " <th> "; yield _gettext("Move column"); // line 66 yield " </th> "; } // line 68 yield " "; // line 69 if (( !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "browserTransformationFeature", [], "any", false, false, false, 69)) && ($context["browse_mime"] ?? null))) { // line 70 yield " <th> "; yield _gettext("Media type"); // line 72 yield " </th> <th> <a href=\""; // line 74 yield PhpMyAdmin\Url::getFromRoute("/transformation/overview"); yield "#transformation\" title=\""; yield _gettext("List of available transformations and their options"); // line 76 yield "\" target=\"_blank\"> "; yield _gettext("Browser display transformation"); // line 78 yield " </a> </th> <th> "; yield _gettext("Browser display transformation options"); // line 82 yield " "; yield 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').")); yield " </th> <th> <a href=\""; // line 85 yield PhpMyAdmin\Url::getFromRoute("/transformation/overview"); yield "#input_transformation\" title=\""; yield _gettext("List of available transformations and their options"); // line 86 yield "\" target=\"_blank\"> "; yield _gettext("Input transformation"); // line 89 yield " </a> </th> <th> "; yield _gettext("Input transformation options"); // line 93 yield " "; yield 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').")); yield " </th> "; } // line 96 yield " </tr> "; // line 97 $context["options"] = ["" => "", "VIRTUAL" => "VIRTUAL"]; // line 98 yield " "; if (($context["supports_stored_keyword"] ?? null)) { // line 99 yield " "; $context["options"] = Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["STORED" => "STORED"]); // line 100 yield " "; } else { // line 101 yield " "; $context["options"] = Twig\Extension\CoreExtension::merge(($context["options"] ?? null), ["PERSISTENT" => "PERSISTENT"]); // line 102 yield " "; } // line 103 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["content_cells"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["content_row"]) { // line 104 yield " <tr> "; // line 105 yield from $this->loadTemplate("columns_definitions/column_attributes.twig", "columns_definitions/table_fields_definitions.twig", 105)->unwrap()->yield(CoreExtension::toArray(Twig\Extension\CoreExtension::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 yield " </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 yield "</table> </div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "columns_definitions/table_fields_definitions.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 264 => 120, 257 => 118, 255 => 116, 254 => 115, 253 => 114, 252 => 113, 251 => 112, 250 => 111, 249 => 110, 248 => 109, 247 => 108, 246 => 107, 245 => 106, 244 => 105, 241 => 104, 236 => 103, 233 => 102, 230 => 101, 227 => 100, 224 => 99, 221 => 98, 219 => 97, 216 => 96, 209 => 93, 203 => 89, 198 => 86, 193 => 85, 186 => 82, 180 => 78, 176 => 76, 172 => 74, 168 => 72, 164 => 70, 162 => 69, 159 => 68, 155 => 66, 151 => 64, 149 => 63, 146 => 62, 142 => 60, 138 => 58, 136 => 57, 132 => 55, 124 => 49, 120 => 47, 116 => 45, 113 => 44, 110 => 40, 103 => 37, 99 => 35, 96 => 34, 92 => 31, 87 => 28, 82 => 25, 74 => 21, 66 => 17, 58 => 13, 53 => 10, 44 => 5, 38 => 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/c7/c70d86746879580aa115022c88d500bd.php 0000644 00000004473 15125073246 0012635 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/a3/a358c5d58acea1b6724e0454fd31754c.php 0000644 00000003777 15125073246 0013131 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/3f/3f0e7a48ee45098fc1dd0fa7a72e6831.php 0000644 00000031212 15125073246 0013211 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"); } } twig/dc/dc10b6c4568502eae5e1aa18e49ee9cb.php 0000644 00000003512 15125073246 0013416 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/8a/8a0101b20322013f337003caf5b297e0.php 0000644 00000017562 15125073246 0012566 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; /* columns_definitions/column_name.twig */ class __TwigTemplate_70a760900ba50820ce7174c958874e41 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { 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 (CoreExtension::getAttribute($this->env, $this->source, ($context["column_meta"] ?? null), "column_status", [], "array", true, true, false, 2)) { // line 3 yield " "; 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 yield " "; $context["title"] = (($context["title"] ?? null) . Twig\Extension\CoreExtension::sprintf(_gettext("Referenced by %s."), Twig\Extension\CoreExtension::join((($__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 yield " "; } // line 8 yield " "; 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 yield " "; if ( !Twig\Extension\CoreExtension::testEmpty(($context["title"] ?? null))) { // line 10 yield " "; $context["title"] = (($context["title"] ?? null) . " "); // line 11 yield " "; } // line 12 yield " "; $context["title"] = (($context["title"] ?? null) . _gettext("Is a foreign key.")); // line 13 yield " "; } } // line 15 if (Twig\Extension\CoreExtension::testEmpty(($context["title"] ?? null))) { // line 16 yield " "; $context["title"] = _gettext("Column"); } // line 18 yield " <input id=\"field_"; // line 19 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); yield "\" "; // line 20 if ((CoreExtension::getAttribute($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 yield " disabled=\"disabled\" "; } // line 24 yield " type=\"text\" name=\"field_name["; // line 25 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\" maxlength=\"64\" class=\"textfield\" title=\""; // line 28 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["title"] ?? null), "html", null, true); yield "\" size=\"10\" value=\""; // line 30 ((CoreExtension::getAttribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 30)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__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)) : (yield "")); yield "\"> "; // line 32 if ((($context["has_central_columns_feature"] ?? null) && !(CoreExtension::getAttribute($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 yield " <p class=\"column_name\" id=\"central_columns_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); yield "\"> <a data-maxrows=\""; // line 36 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["max_rows"] ?? null), "html", null, true); yield "\" href=\"#\" class=\"central_columns_dialog\"> "; yield _gettext("Pick from Central Columns"); // line 40 yield " </a> </p> "; } return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "columns_definitions/column_name.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 131 => 40, 124 => 36, 117 => 35, 115 => 34, 114 => 33, 113 => 32, 108 => 30, 103 => 28, 97 => 25, 94 => 24, 90 => 22, 88 => 21, 87 => 20, 81 => 19, 78 => 18, 74 => 16, 72 => 15, 68 => 13, 65 => 12, 62 => 11, 58 => 10, 55 => 9, 52 => 8, 49 => 7, 47 => 5, 45 => 4, 42 => 3, 40 => 2, 38 => 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/2d/2d2b9f6d6b601480985670b3e6dd8b43.php 0000644 00000025023 15125073246 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; /* sql/profiling_chart.twig */ class __TwigTemplate_214b07a2009acb3e6af3fad0e3c6e285 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { 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\"> <legend>"; yield _gettext("Profiling"); // line 2 yield "</legend> <div class=\"float-start mx-2\"> <h3>"; yield _gettext("Detailed profile"); // line 4 yield "</h3> <table class=\"table table-sm table-striped\" id=\"profiletable\"> <thead> <tr> <th> "; yield _gettext("Order"); // line 10 yield " <div class=\"sorticon\"></div> </th> <th> "; yield _gettext("State"); // line 14 yield " <div class=\"sorticon\"></div> </th> <th> "; yield _gettext("Time"); // line 18 yield " <div class=\"sorticon\"></div> </th> </tr> </thead> <tbody> "; // line 23 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["profiling"] ?? null), "profile", [], "any", false, false, false, 23)); $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["state"]) { // line 24 yield " <tr> <td>"; // line 25 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 25), "html", null, true); yield "</td> <td>"; // line 26 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["state"], "status", [], "any", false, false, false, 26), "html", null, true); yield "</td> <td class=\"text-end\"> "; // line 28 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["state"], "duration", [], "any", false, false, false, 28), "html", null, true); yield "s <span class=\"rawvalue hide\">"; // line 29 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["state"], "duration_raw", [], "any", false, false, false, 29), "html", null, true); yield "</span> </td> </tr> "; ++$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['state'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 33 yield " </tbody> </table> </div> <div class=\"float-start mx-2\"> <h3>"; yield _gettext("Summary by state"); // line 38 yield PhpMyAdmin\Html\MySQLDocumentation::show("general-thread-states"); yield "</h3> <table class=\"table table-sm table-striped\" id=\"profilesummarytable\"> <thead> <tr> <th> "; yield _gettext("State"); // line 44 yield " <div class=\"sorticon\"></div> </th> <th> "; yield _gettext("Total Time"); // line 48 yield " <div class=\"sorticon\"></div> </th> <th> "; yield _gettext("% Time"); // line 52 yield " <div class=\"sorticon\"></div> </th> <th> "; yield _gettext("Calls"); // line 56 yield " <div class=\"sorticon\"></div> </th> <th> "; yield _gettext("ø Time"); // line 60 yield " <div class=\"sorticon\"></div> </th> </tr> </thead> <tbody> "; // line 65 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["profiling"] ?? null), "states", [], "any", false, false, false, 65)); foreach ($context['_seq'] as $context["name"] => $context["stats"]) { // line 66 yield " <tr> <td>"; // line 67 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["name"], "html", null, true); yield "</td> <td class=\"text-end\"> "; // line 69 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::formatNumber(CoreExtension::getAttribute($this->env, $this->source, $context["stats"], "total_time", [], "any", false, false, false, 69), 3, 1), "html", null, true); yield "s <span class=\"rawvalue hide\">"; // line 70 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["stats"], "total_time", [], "any", false, false, false, 70), "html", null, true); yield "</span> </td> <td class=\"text-end\"> "; // line 73 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::formatNumber((100 * (CoreExtension::getAttribute($this->env, $this->source, $context["stats"], "total_time", [], "any", false, false, false, 73) / CoreExtension::getAttribute($this->env, $this->source, ($context["profiling"] ?? null), "total_time", [], "any", false, false, false, 73))), 0, 2), "html", null, true); yield "% </td> <td class=\"text-end\">"; // line 75 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["stats"], "calls", [], "any", false, false, false, 75), "html", null, true); yield "</td> <td class=\"text-end\"> "; // line 77 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::formatNumber((CoreExtension::getAttribute($this->env, $this->source, $context["stats"], "total_time", [], "any", false, false, false, 77) / CoreExtension::getAttribute($this->env, $this->source, $context["stats"], "calls", [], "any", false, false, false, 77)), 3, 1), "html", null, true); yield "s <span class=\"rawvalue hide\"> "; // line 79 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber((CoreExtension::getAttribute($this->env, $this->source, $context["stats"], "total_time", [], "any", false, false, false, 79) / CoreExtension::getAttribute($this->env, $this->source, $context["stats"], "calls", [], "any", false, false, false, 79)), 8, ".", ""), "html", null, true); yield " </span> </td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['name'], $context['stats'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 84 yield " </tbody> </table> </div> <div class='clearfloat'></div> <div id=\"profilingChartData\" class=\"hide\">"; // line 90 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode(CoreExtension::getAttribute($this->env, $this->source, ($context["profiling"] ?? null), "chart", [], "any", false, false, false, 90)), "html", null, true); // line 91 yield "</div> <div id=\"profilingchart\" class=\"hide\"></div> <script type=\"text/javascript\"> AJAX.registerOnload('sql.js', function () { Sql.makeProfilingChart(); Sql.initProfilingTables(); }); </script> </fieldset> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "sql/profiling_chart.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 230 => 91, 228 => 90, 221 => 84, 210 => 79, 205 => 77, 200 => 75, 195 => 73, 189 => 70, 185 => 69, 180 => 67, 177 => 66, 173 => 65, 166 => 60, 160 => 56, 154 => 52, 148 => 48, 142 => 44, 133 => 38, 125 => 33, 107 => 29, 103 => 28, 98 => 26, 94 => 25, 91 => 24, 74 => 23, 67 => 18, 61 => 14, 55 => 10, 47 => 4, 42 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "sql/profiling_chart.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/sql/profiling_chart.twig"); } } twig/f4/f4ac9aa5ad4089a4d7575c0208c60713.php 0000644 00000005311 15125073246 0013036 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/35/35c37606fc4778c746548edd2759dfe3.php 0000644 00000042350 15125073246 0012745 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/4a/4a7245a6602162152314c64c2a8b7abe.php 0000644 00000065435 15125073246 0012667 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/76/7642c21b2c4ea34e3ab8d59166905b19.php 0000644 00000065334 15125073246 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; /* 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/23/230d91c0f9731103f9f4833cb6da49b7.php 0000644 00000261340 15125073246 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; /* 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/81/81e21cc0ce2e9ce209c49e6d09ed1371.php 0000644 00000055624 15125073246 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/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/81/81831ef6925577ad010cc639f83cf795.php 0000644 00000042063 15125073246 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; /* 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/24/240a4f6a2afd7c7a35b9e09c00d22ef9.php 0000644 00000011377 15125073246 0013200 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/63/63b32ce407b49c269216ab1c416ebb26.php 0000644 00000004134 15125073246 0012747 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 15125073246 0012753 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/5b/5b765957a2b3717af6c355786aa5db14.php 0000644 00000171220 15125073246 0012775 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; /* columns_definitions/column_attributes.twig */ class __TwigTemplate_432059dc601000d6a081b8c80fc1244b extends Template { private $source; private $macros = []; public function __construct(Environment $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 yield " "; // line 6 $context["ci_offset"] = -1; // line 7 yield " <td class=\"text-center\"> "; // line 10 yield " "; yield from $this->loadTemplate("columns_definitions/column_name.twig", "columns_definitions/column_attributes.twig", 10)->unwrap()->yield(CoreExtension::toArray(["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 === CoreExtension::getAttribute($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 yield " "; $context["ci"] = (($context["ci"] ?? null) + 1); // line 19 yield "</td> <td class=\"text-center\"> <select class=\"column_type\" name=\"field_type["; // line 21 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); yield "\""; // line 22 yield (((CoreExtension::getAttribute($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") : ("")); yield "> "; // line 23 yield PhpMyAdmin\Util::getSupportedDatatypes(true, ($context["type_upper"] ?? null)); yield " </select> "; // line 25 $context["ci"] = (($context["ci"] ?? null) + 1); // line 26 yield "</td> <td class=\"text-center\"> <input id=\"field_"; // line 28 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); yield "\" type=\"text\" name=\"field_length["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\" size=\""; // line 29 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["length_values_input_size"] ?? null), "html", null, true); yield "\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["length"] ?? null), "html", null, true); yield "\" class=\"textfield\"> <p class=\"enum_notice\" id=\"enum_notice_"; // line 30 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); yield "\"> <a href=\"#\" class=\"open_enum_editor\">"; yield _gettext("Edit ENUM/SET values"); // line 31 yield "</a> </p> "; // line 33 $context["ci"] = (($context["ci"] ?? null) + 1); // line 34 yield "</td> <td class=\"text-center\"> <select name=\"field_default_type["; // line 36 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); yield "\" class=\"default_type\"> <option value=\"NONE\""; // line 37 yield (((CoreExtension::getAttribute($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") : ("")); yield "> "; yield _pgettext("for default", "None"); // line 39 yield " </option> <option value=\"USER_DEFINED\""; // line 40 yield (((CoreExtension::getAttribute($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") : ("")); yield "> "; yield _gettext("As defined:"); // line 42 yield " </option> <option value=\"NULL\""; // line 43 yield (((CoreExtension::getAttribute($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") : ("")); yield "> NULL </option> <option value=\"CURRENT_TIMESTAMP\""; // line 46 yield (((CoreExtension::getAttribute($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") : ("")); yield "> CURRENT_TIMESTAMP </option> "; // line 49 if (PhpMyAdmin\Util::isUUIDSupported()) { // line 50 yield " <option value=\"UUID\""; yield (((CoreExtension::getAttribute($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") : ("")); yield "> UUID </option> "; } // line 54 yield " </select> "; // line 55 if ((($context["char_editing"] ?? null) == "textarea")) { // line 56 yield " <textarea name=\"field_default_value["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\" cols=\"15\" class=\"textfield default_value\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["default_value"] ?? null), "html", null, true); yield "</textarea> "; } else { // line 58 yield " <input type=\"text\" name=\"field_default_value["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\" size=\"12\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["default_value"] ?? null), "html", null, true); yield "\" class=\"textfield default_value\"> "; } // line 60 yield " "; $context["ci"] = (($context["ci"] ?? null) + 1); // line 61 yield "</td> <td class=\"text-center\"> "; // line 64 yield " <select lang=\"en\" dir=\"ltr\" name=\"field_collation["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); yield "\"> <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 "\""; // line 70 yield (((CoreExtension::getAttribute($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") : ("")); yield ">"; // line 71 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 71), "html", null, true); // line 72 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 74 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 76 yield " </select> "; // line 77 $context["ci"] = (($context["ci"] ?? null) + 1); // line 78 yield "</td> <td class=\"text-center\"> "; // line 81 yield " "; yield from $this->loadTemplate("columns_definitions/column_attribute.twig", "columns_definitions/column_attributes.twig", 81)->unwrap()->yield(CoreExtension::toArray(["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 yield " "; $context["ci"] = (($context["ci"] ?? null) + 1); // line 91 yield "</td> <td class=\"text-center\"> <input name=\"field_null["; // line 93 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); yield "\" type=\"checkbox\" value=\"YES\" class=\"allow_null\""; // line 94 yield (((( !Twig\Extension\CoreExtension::testEmpty((($__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") : ("")); yield "> "; // line 95 $context["ci"] = (($context["ci"] ?? null) + 1); // line 96 yield "</td> "; // line 97 if ((array_key_exists("change_column", $context) && !Twig\Extension\CoreExtension::testEmpty(($context["change_column"] ?? null)))) { // line 98 yield " "; // line 99 yield " <td class=\"text-center\"> <input name=\"field_adjust_privileges["; // line 100 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); yield "\" type=\"checkbox\" value=\"NULL\" class=\"allow_null\""; // line 101 if (($context["privs_available"] ?? null)) { yield " checked>"; } else { // line 102 yield " title=\""; yield _gettext("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details"); yield "\" disabled>"; } // line 104 yield " "; $context["ci"] = (($context["ci"] ?? null) + 1); // line 105 yield " </td> "; } // line 107 if ( !($context["is_backup"] ?? null)) { // line 108 yield " "; // line 109 yield " <td class=\"text-center\"> <select name=\"field_key["; // line 110 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); yield "\" data-index=\"\"> <option value=\"none_"; // line 111 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "\">---</option> <option value=\"primary_"; // line 112 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "\" title=\""; yield _gettext("Primary"); yield "\""; // line 113 yield (((CoreExtension::getAttribute($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") : ("")); yield "> PRIMARY </option> <option value=\"unique_"; // line 116 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "\" title=\""; yield _gettext("Unique"); yield "\""; // line 117 yield (((CoreExtension::getAttribute($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") : ("")); yield "> UNIQUE </option> <option value=\"index_"; // line 120 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "\" title=\""; yield _gettext("Index"); yield "\""; // line 121 yield (((CoreExtension::getAttribute($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") : ("")); yield "> INDEX </option> <option value=\"fulltext_"; // line 124 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "\" title=\""; yield _gettext("Fulltext"); yield "\""; // line 125 yield (((CoreExtension::getAttribute($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") : ("")); yield "> FULLTEXT </option> <option value=\"spatial_"; // line 128 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "\" title=\""; yield _gettext("Spatial"); yield "\""; // line 129 yield (((CoreExtension::getAttribute($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") : ("")); yield "> SPATIAL </option> </select> "; // line 133 $context["ci"] = (($context["ci"] ?? null) + 1); // line 134 yield " </td> "; } // line 136 yield "<td class=\"text-center\"> <input name=\"field_extra["; // line 137 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); yield "\" type=\"checkbox\" value=\"AUTO_INCREMENT\""; // line 138 yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["column_meta"] ?? null), "Extra", [], "array", true, true, false, 138) && (Twig\Extension\CoreExtension::lower($this->env->getCharset(), (($__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") : ("")); yield "> "; // line 139 $context["ci"] = (($context["ci"] ?? null) + 1); // line 140 yield "</td> <td class=\"text-center\"> <textarea id=\"field_"; // line 142 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); yield "\" rows=\"1\" name=\"field_comments["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\" maxlength=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["max_length"] ?? null), "html", null, true); yield "\">"; // line 143 ((((CoreExtension::getAttribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 143) && is_iterable(($context["comments_map"] ?? null))) && CoreExtension::getAttribute($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))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__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)) : (yield "")); // line 144 yield "</textarea> "; // line 145 $context["ci"] = (($context["ci"] ?? null) + 1); // line 146 yield "</td> "; // line 148 if (($context["is_virtual_columns_supported"] ?? null)) { // line 149 yield " <td class=\"text-center\"> <select name=\"field_virtuality["; // line 150 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\" id=\"field_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); yield "\" class=\"virtuality\"> "; // line 151 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["options"] ?? null)); foreach ($context['_seq'] as $context["key"] => $context["value"]) { // line 152 yield " "; $context["virtuality"] = ((CoreExtension::getAttribute($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 yield " "; // line 154 yield " "; $context["virtuality"] = ((CoreExtension::getAttribute($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 yield " <option value=\""; // line 156 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true); yield "\""; yield (((( !(null === ($context["virtuality"] ?? null)) && ($context["key"] != "")) && (Twig\Extension\CoreExtension::slice($this->env->getCharset(), ($context["virtuality"] ?? null), 0, Twig\Extension\CoreExtension::length($this->env->getCharset(), $context["key"])) === $context["key"]))) ? (" selected") : ("")); yield "> "; // line 157 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 160 yield " </select> "; // line 162 if ((($context["char_editing"] ?? null) == "textarea")) { // line 163 yield " <textarea name=\"field_expression["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\" cols=\"15\" class=\"textfield expression\">"; ((CoreExtension::getAttribute($this->env, $this->source, ($context["column_meta"] ?? null), "Expression", [], "array", true, true, false, 163)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__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)) : (yield "")); yield "</textarea> "; } else { // line 165 yield " <input type=\"text\" name=\"field_expression["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\" size=\"12\" value=\""; ((CoreExtension::getAttribute($this->env, $this->source, ($context["column_meta"] ?? null), "Expression", [], "array", true, true, false, 165)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__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)) : (yield "")); yield "\" placeholder=\""; yield _gettext("Expression"); yield "\" class=\"textfield expression\"> "; } // line 167 yield " "; $context["ci"] = (($context["ci"] ?? null) + 1); // line 168 yield " </td> "; } // line 171 if (array_key_exists("fields_meta", $context)) { // line 172 yield " "; $context["current_index"] = 0; // line 173 yield " "; $context["cols"] = (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["move_columns"] ?? null)) - 1); // line 174 yield " "; $context["break"] = false; // line 175 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(range(0, ($context["cols"] ?? null))); foreach ($context['_seq'] as $context["_key"] => $context["mi"]) { // line 176 yield " "; if (((CoreExtension::getAttribute($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 yield " "; $context["current_index"] = $context["mi"]; // line 178 yield " "; $context["break"] = true; // line 179 yield " "; } // line 180 yield " "; } $_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 yield " <td class=\"text-center\"> <select id=\"field_"; // line 183 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); yield "\" name=\"field_move_to["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\" size=\"1\" width=\"5em\"> <option value=\"\" selected=\"selected\"> </option> <option value=\"-first\""; // line 185 yield (((($context["current_index"] ?? null) == 0)) ? (" disabled=\"disabled\"") : ("")); yield "> "; yield _gettext("first"); // line 187 yield " </option> "; // line 188 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(range(0, (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["move_columns"] ?? null)) - 1))); foreach ($context['_seq'] as $context["_key"] => $context["mi"]) { // line 189 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($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); yield "\""; // line 190 yield ((((($context["current_index"] ?? null) == $context["mi"]) || (($context["current_index"] ?? null) == ($context["mi"] + 1)))) ? (" disabled") : ("")); yield "> "; // line 191 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf(_gettext("after %s"), PhpMyAdmin\Util::backquote($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($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); yield " </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 yield " </select> "; // line 195 $context["ci"] = (($context["ci"] ?? null) + 1); // line 196 yield " </td> "; } // line 198 yield " "; // line 199 if ((( !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "browserTransformationFeature", [], "any", false, false, false, 199)) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "columnCommentsFeature", [], "any", false, false, false, 199))) && ($context["browse_mime"] ?? null))) { // line 200 yield " <td class=\"text-center\"> <select id=\"field_"; // line 201 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); yield "\" size=\"1\" name=\"field_mimetype["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\"> <option value=\"\"> </option> "; // line 203 if ((CoreExtension::getAttribute($this->env, $this->source, ($context["available_mime"] ?? null), "mimetype", [], "array", true, true, false, 203) && is_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 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable((($__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 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::replace($context["media_type"], ["/" => "_"]), "html", null, true); yield "\""; // line 206 yield ((((CoreExtension::getAttribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 206) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($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\Extension\CoreExtension::replace($context["media_type"], ["/" => "_"])))) ? (" selected") : ("")); yield "> "; // line 208 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::lower($this->env->getCharset(), $context["media_type"]), "html", null, true); yield " </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 yield " "; } // line 212 yield " </select> "; // line 213 $context["ci"] = (($context["ci"] ?? null) + 1); // line 214 yield " </td> <td class=\"text-center\"> <select id=\"field_"; // line 216 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); yield "\" size=\"1\" name=\"field_transformation["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\"> <option value=\"\" title=\""; yield _gettext("None"); // line 217 yield "\"></option> "; // line 218 if ((CoreExtension::getAttribute($this->env, $this->source, ($context["available_mime"] ?? null), "transformation", [], "array", true, true, false, 218) && is_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 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable((($__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 yield " "; $context["parts"] = Twig\Extension\CoreExtension::split($this->env->getCharset(), $context["transform"], ":"); // line 221 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__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); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($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); yield "\""; // line 222 yield (((((CoreExtension::getAttribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 222) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($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))) && CoreExtension::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") : ("")); yield "> "; // line 226 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((((($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\Extension\CoreExtension::lower($this->env->getCharset(), (($__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); yield " </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 yield " "; } // line 230 yield " </select> "; // line 231 $context["ci"] = (($context["ci"] ?? null) + 1); // line 232 yield " </td> <td class=\"text-center\"> <input id=\"field_"; // line 234 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); yield "\" type=\"text\" name=\"field_transformation_options["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\" size=\"16\" class=\"textfield\" value=\""; // line 235 (((CoreExtension::getAttribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 235) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($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))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__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)) : (yield "")); yield "\"> "; // line 236 $context["ci"] = (($context["ci"] ?? null) + 1); // line 237 yield " </td> <td class=\"text-center\"> <select id=\"field_"; // line 239 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); yield "\" size=\"1\" name=\"field_input_transformation["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\"> <option value=\"\" title=\""; yield _gettext("None"); // line 240 yield "\"></option> "; // line 241 if ((CoreExtension::getAttribute($this->env, $this->source, ($context["available_mime"] ?? null), "input_transformation", [], "array", true, true, false, 241) && is_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 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable((($__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 yield " "; $context["parts"] = Twig\Extension\CoreExtension::split($this->env->getCharset(), $context["transform"], ":"); // line 244 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__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); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($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); yield "\""; // line 245 yield ((((CoreExtension::getAttribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 245) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($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)) && CoreExtension::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") : ("")); yield "> "; // line 247 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((((($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\Extension\CoreExtension::lower($this->env->getCharset(), (($__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); yield " </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 yield " "; } // line 251 yield " </select> "; // line 252 $context["ci"] = (($context["ci"] ?? null) + 1); // line 253 yield " </td> <td class=\"text-center\"> <input id=\"field_"; // line 255 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true); yield "\" type=\"text\" name=\"field_input_transformation_options["; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_number"] ?? null), "html", null, true); yield "]\" size=\"16\" class=\"textfield\" value=\""; // line 256 (((CoreExtension::getAttribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 256) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($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))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__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)) : (yield "")); yield "\"> "; // line 257 $context["ci"] = (($context["ci"] ?? null) + 1); // line 258 yield " </td> "; } return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "columns_definitions/column_attributes.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 786 => 258, 784 => 257, 780 => 256, 773 => 255, 769 => 253, 767 => 252, 764 => 251, 761 => 250, 752 => 247, 748 => 246, 747 => 245, 741 => 244, 738 => 243, 733 => 242, 731 => 241, 728 => 240, 719 => 239, 715 => 237, 713 => 236, 709 => 235, 702 => 234, 698 => 232, 696 => 231, 693 => 230, 690 => 229, 681 => 226, 677 => 225, 676 => 224, 675 => 223, 674 => 222, 668 => 221, 665 => 220, 660 => 219, 658 => 218, 655 => 217, 646 => 216, 642 => 214, 640 => 213, 637 => 212, 634 => 211, 625 => 208, 621 => 207, 620 => 206, 616 => 205, 611 => 204, 609 => 203, 600 => 201, 597 => 200, 595 => 199, 592 => 198, 588 => 196, 586 => 195, 583 => 194, 574 => 191, 570 => 190, 566 => 189, 562 => 188, 559 => 187, 554 => 185, 545 => 183, 541 => 181, 535 => 180, 532 => 179, 529 => 178, 526 => 177, 523 => 176, 518 => 175, 515 => 174, 512 => 173, 509 => 172, 507 => 171, 503 => 168, 500 => 167, 490 => 165, 482 => 163, 480 => 162, 476 => 160, 467 => 157, 461 => 156, 458 => 155, 455 => 154, 453 => 153, 450 => 152, 446 => 151, 438 => 150, 435 => 149, 433 => 148, 430 => 146, 428 => 145, 425 => 144, 423 => 143, 414 => 142, 410 => 140, 408 => 139, 404 => 138, 397 => 137, 394 => 136, 390 => 134, 388 => 133, 381 => 129, 376 => 128, 370 => 125, 365 => 124, 359 => 121, 354 => 120, 348 => 117, 343 => 116, 337 => 113, 332 => 112, 328 => 111, 320 => 110, 317 => 109, 315 => 108, 313 => 107, 309 => 105, 306 => 104, 301 => 102, 297 => 101, 290 => 100, 287 => 99, 285 => 98, 283 => 97, 280 => 96, 278 => 95, 274 => 94, 267 => 93, 263 => 91, 260 => 90, 258 => 88, 257 => 87, 256 => 86, 255 => 85, 254 => 84, 253 => 83, 252 => 82, 250 => 81, 246 => 78, 244 => 77, 241 => 76, 234 => 74, 227 => 72, 225 => 71, 222 => 70, 216 => 69, 212 => 68, 205 => 67, 201 => 66, 191 => 64, 187 => 61, 184 => 60, 176 => 58, 168 => 56, 166 => 55, 163 => 54, 155 => 50, 153 => 49, 147 => 46, 141 => 43, 138 => 42, 133 => 40, 130 => 39, 125 => 37, 117 => 36, 113 => 34, 111 => 33, 107 => 31, 100 => 30, 94 => 29, 87 => 28, 83 => 26, 81 => 25, 76 => 23, 72 => 22, 65 => 21, 61 => 19, 58 => 18, 56 => 16, 55 => 15, 54 => 14, 53 => 13, 52 => 12, 51 => 11, 49 => 10, 45 => 7, 43 => 6, 40 => 3, 38 => 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/b6/b6d3c6ba9c757919d862f063ed31c2d6.php 0000644 00000005611 15125073246 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; /* 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/f2/f2f68f3083f5bfb673827014680c437d.php 0000644 00000007523 15125073246 0012727 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/39/39798e2e9a72a6863b4294f832d4f456.php 0000644 00000004227 15125073246 0012613 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/11/117a2e69a389371c3a4e1e9aa8f6c0fc.php 0000644 00000004773 15125073246 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; /* 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/c4/c447b22d9626b8dce2626de7bfc65112.php 0000644 00000105336 15125073246 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; /* 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/6d/6da2917c0c48276c74a7cccb2dd07699.php 0000644 00000012127 15125073246 0013140 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/6d/6d40d80ffc2358e2cb61885c5eb8078b.php 0000644 00000020753 15125073246 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; /* 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/1b/1ba348f61bb8ad1222332233d6f6718a.php 0000644 00000004026 15125073246 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; /* 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/58/58b7e345246f92fe885b4b542a1979af.php 0000644 00000003553 15125073246 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_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/a2/a2cb022e2df23f11d5c31c5a09eda215.php 0000644 00000005331 15125073246 0013215 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/ed/ed2d44f9b670c9e63fb2907da5dc6ed5.php 0000644 00000004770 15125073246 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; /* 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/28/2803d432facd9ba783d536c685158550.php 0000644 00000035757 15125073246 0012653 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/79/798bdc3f1421cd2623fe57a72fa802fb.php 0000644 00000121744 15125073246 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; /* 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"); } }
| ver. 1.6 |
Github
|
.
| PHP 8.2.30 | ??????????? ?????????: 0.01 |
proxy
|
phpinfo
|
???????????