uawdijnntqw1x1x1
IP : 216.73.216.110
Hostname : 6.87.74.97.host.secureserver.net
Kernel : Linux 6.87.74.97.host.secureserver.net 4.18.0-553.83.1.el8_10.x86_64 #1 SMP Mon Nov 10 04:22:44 EST 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
emeraadmin
/
www
/
4d695
/
..
/
Service
/
..
/
node_modules
/
..
/
4d695
/
pma_template_compiles_emeraadmin.tar
/
/
twig/26/26d3d4b55470ab3813b8ce0d585e0bdb.php000064400000100644151677324010013115 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* home/index.twig */ class __TwigTemplate_ecb0d8ffe2da85350d73930389836611 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 if (($context["is_git_revision"] ?? null)) { // line 2 echo " <div id=\"is_git_revision\"></div> "; } // line 4 echo " "; // line 5 echo ($context["message"] ?? null); echo " "; // line 7 echo ($context["partial_logout"] ?? null); echo " <div id=\"maincontainer\"> "; // line 10 echo ($context["sync_favorite_tables"] ?? null); echo " <div class=\"container-fluid\"> <div class=\"row mb-3\"> <div class=\"col-lg-7 col-12\"> "; // line 14 if (($context["has_server"] ?? null)) { // line 15 echo " "; if (($context["is_demo"] ?? null)) { // line 16 echo " <div class=\"card mt-4\"> <div class=\"card-header\"> "; echo _gettext("phpMyAdmin Demo Server"); // line 19 echo " </div> <div class=\"card-body\"> "; // line 21 ob_start(function () { return ''; }); // line 22 echo " "; echo _gettext("You are using the demo server. You can do anything here, but please do not change root, debian-sys-maint and pma users. More information is available at %s."); // line 25 echo " "; $___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 21 echo twig_sprintf($___internal_parse_0_, "<a href=\"url.php?url=https://demo.phpmyadmin.net/\" target=\"_blank\" rel=\"noopener noreferrer\">demo.phpmyadmin.net</a>"); // line 26 echo " </div> </div> "; } // line 29 echo " <div class=\"card mt-4\"> <div class=\"card-header\"> "; echo _gettext("General settings"); // line 33 echo " </div> <ul class=\"list-group list-group-flush\"> "; // line 35 if (($context["has_server_selection"] ?? null)) { // line 36 echo " <li id=\"li_select_server\" class=\"list-group-item\"> "; // line 37 echo PhpMyAdmin\Html\Generator::getImage("s_host"); echo " "; // line 38 echo ($context["server_selection"] ?? null); echo " </li> "; } // line 41 echo " "; // line 42 if ((($context["server"] ?? null) > 0)) { // line 43 echo " "; if (($context["has_change_password_link"] ?? null)) { // line 44 echo " <li id=\"li_change_password\" class=\"list-group-item\"> <a href=\""; // line 45 echo PhpMyAdmin\Url::getFromRoute("/user-password"); echo "\" id=\"change_password_anchor\" class=\"ajax\"> "; // line 46 echo PhpMyAdmin\Html\Generator::getIcon("s_passwd", _gettext("Change password"), true); echo " </a> </li> "; } // line 50 echo " <li id=\"li_select_mysql_collation\" class=\"list-group-item\"> <form method=\"post\" action=\""; // line 52 echo PhpMyAdmin\Url::getFromRoute("/collation-connection"); echo "\" class=\"row row-cols-lg-auto align-items-center disableAjax\"> "; // line 53 echo PhpMyAdmin\Url::getHiddenInputs(null, null, 4, "collation_connection"); echo " <div class=\"col-12\"> <label for=\"collationConnectionSelect\" class=\"col-form-label\"> "; // line 56 echo PhpMyAdmin\Html\Generator::getImage("s_asci"); echo " "; echo _gettext("Server connection collation:"); // line 58 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("charset-connection"); echo " </label> </div> "; // line 61 if ( !twig_test_empty(($context["charsets"] ?? null))) { // line 62 echo " <div class=\"col-12\"> <select lang=\"en\" dir=\"ltr\" name=\"collation_connection\" id=\"collationConnectionSelect\" class=\"form-select autosubmit\"> <option value=\"\">"; echo _gettext("Collation"); // line 64 echo "</option> <option value=\"\"></option> "; // line 66 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 67 echo " <optgroup label=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 67), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 67), "html", null, true); echo "\"> "; // line 68 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 68)); foreach ($context['_seq'] as $context["_key"] => $context["collation"]) { // line 69 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 69), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "description", [], "any", false, false, false, 69), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["collation"], "is_selected", [], "any", false, false, false, 69)) ? (" selected") : ("")); echo ">"; // line 70 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 70), "html", null, true); // line 71 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 73 echo " </optgroup> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 75 echo " </select> </div> "; } // line 78 echo " </form> </li> <li id=\"li_user_preferences\" class=\"list-group-item\"> <a href=\""; // line 82 echo PhpMyAdmin\Url::getFromRoute("/preferences/manage"); echo "\"> "; // line 83 echo PhpMyAdmin\Html\Generator::getIcon("b_tblops", _gettext("More settings"), true); echo " </a> </li> "; } // line 87 echo " </ul> </div> "; } // line 90 echo " <div class=\"card mt-4\"> <div class=\"card-header\"> "; echo _gettext("Appearance settings"); // line 94 echo " </div> <ul class=\"list-group list-group-flush\"> "; // line 96 if ( !twig_test_empty(($context["available_languages"] ?? null))) { // line 97 echo " <li id=\"li_select_lang\" class=\"list-group-item\"> <form method=\"get\" action=\""; // line 98 echo PhpMyAdmin\Url::getFromRoute("/"); echo "\" class=\"row row-cols-lg-auto align-items-center disableAjax\"> "; // line 99 echo PhpMyAdmin\Url::getHiddenInputs(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]); echo " <div class=\"col-12\"> <label for=\"languageSelect\" class=\"col-form-label text-nowrap\"> "; // line 102 echo PhpMyAdmin\Html\Generator::getImage("s_lang"); echo " "; echo _gettext("Language"); // line 104 echo " "; if ((_gettext("Language") != "Language")) { // line 105 echo " "; // line 107 echo " <i lang=\"en\" dir=\"ltr\">(Language)</i> "; } // line 109 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq7-2"); echo " </label> </div> <div class=\"col-12\"> <select name=\"lang\" class=\"form-select autosubmit w-auto\" lang=\"en\" dir=\"ltr\" id=\"languageSelect\"> "; // line 114 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["available_languages"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["language"]) { // line 115 echo " <option value=\""; echo twig_escape_filter($this->env, twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["language"], "getCode", [], "method", false, false, false, 115)), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["language"], "isActive", [], "method", false, false, false, 115)) ? (" selected") : ("")); echo ">"; // line 116 echo twig_get_attribute($this->env, $this->source, $context["language"], "getName", [], "method", false, false, false, 116); // line 117 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 119 echo " </select> </div> </form> </li> "; } // line 124 echo " "; // line 125 if (($context["has_theme_manager"] ?? null)) { // line 126 echo " <li id=\"li_select_theme\" class=\"list-group-item\"> <form method=\"post\" action=\""; // line 127 echo PhpMyAdmin\Url::getFromRoute("/themes/set"); echo "\" class=\"row row-cols-lg-auto align-items-center disableAjax\"> "; // line 128 echo PhpMyAdmin\Url::getHiddenInputs(); echo " <div class=\"col-12\"> <label for=\"themeSelect\" class=\"col-form-label\"> "; // line 131 echo PhpMyAdmin\Html\Generator::getIcon("s_theme", _gettext("Theme")); echo " </label> </div> <div class=\"col-12\"> <div class=\"input-group\"> <select name=\"set_theme\" class=\"form-select autosubmit\" lang=\"en\" dir=\"ltr\" id=\"themeSelect\"> "; // line 137 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["themes"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["theme"]) { // line 138 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["theme"], "id", [], "any", false, false, false, 138), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["theme"], "is_active", [], "any", false, false, false, 138)) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["theme"], "name", [], "any", false, false, false, 138), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['theme'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 140 echo " </select> <button type=\"button\" class=\"btn btn-outline-secondary\" data-bs-toggle=\"modal\" data-bs-target=\"#themesModal\"> "; echo _pgettext("View all themes", "View all"); // line 143 echo " </button> </div> </div> </form> </li> "; } // line 149 echo " </ul> </div> </div> <div class=\"col-lg-5 col-12\"> "; // line 154 if ( !twig_test_empty(($context["database_server"] ?? null))) { // line 155 echo " <div class=\"card mt-4\"> <div class=\"card-header\"> "; echo _gettext("Database server"); // line 158 echo " </div> <ul class=\"list-group list-group-flush\"> <li class=\"list-group-item\"> "; echo _gettext("Server:"); // line 162 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "host", [], "any", false, false, false, 162), "html", null, true); echo " </li> <li class=\"list-group-item\"> "; echo _gettext("Server type:"); // line 166 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "type", [], "any", false, false, false, 166), "html", null, true); echo " </li> <li class=\"list-group-item\"> "; echo _gettext("Server connection:"); // line 170 echo " "; echo twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "connection", [], "any", false, false, false, 170); echo " </li> <li class=\"list-group-item\"> "; echo _gettext("Server version:"); // line 174 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "version", [], "any", false, false, false, 174), "html", null, true); echo " </li> <li class=\"list-group-item\"> "; echo _gettext("Protocol version:"); // line 178 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "protocol", [], "any", false, false, false, 178), "html", null, true); echo " </li> <li class=\"list-group-item\"> "; echo _gettext("User:"); // line 182 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "user", [], "any", false, false, false, 182), "html", null, true); echo " </li> <li class=\"list-group-item\"> "; echo _gettext("Server charset:"); // line 186 echo " <span lang=\"en\" dir=\"ltr\"> "; // line 187 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "charset", [], "any", false, false, false, 187), "html", null, true); echo " </span> </li> </ul> </div> "; } // line 193 echo " "; // line 194 if (( !twig_test_empty(($context["web_server"] ?? null)) || ($context["show_php_info"] ?? null))) { // line 195 echo " <div class=\"card mt-4\"> <div class=\"card-header\"> "; echo _gettext("Web server"); // line 198 echo " </div> <ul class=\"list-group list-group-flush\"> "; // line 200 if ( !twig_test_empty(($context["web_server"] ?? null))) { // line 201 echo " "; if ( !(null === twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "software", [], "any", false, false, false, 201))) { // line 202 echo " <li class=\"list-group-item\"> "; // line 203 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "software", [], "any", false, false, false, 203), "html", null, true); echo " </li> "; } // line 206 echo " <li class=\"list-group-item\" id=\"li_mysql_client_version\"> "; echo _gettext("Database client version:"); // line 208 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "database", [], "any", false, false, false, 208), "html", null, true); echo " </li> <li class=\"list-group-item\"> "; echo _gettext("PHP extension:"); // line 212 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "php_extensions", [], "any", false, false, false, 212)); foreach ($context['_seq'] as $context["_key"] => $context["extension"]) { // line 213 echo " "; echo twig_escape_filter($this->env, $context["extension"], "html", null, true); echo " "; // line 214 echo PhpMyAdmin\Html\Generator::showPHPDocumentation((("book." . $context["extension"]) . ".php")); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['extension'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 216 echo " </li> <li class=\"list-group-item\"> "; echo _gettext("PHP version:"); // line 219 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "php_version", [], "any", false, false, false, 219), "html", null, true); echo " </li> "; } // line 222 echo " "; if (($context["show_php_info"] ?? null)) { // line 223 echo " <li class=\"list-group-item\"> <a href=\""; // line 224 echo PhpMyAdmin\Url::getFromRoute("/phpinfo"); echo "\" target=\"_blank\" rel=\"noopener noreferrer\"> "; echo _gettext("Show PHP information"); // line 226 echo " </a> </li> "; } // line 229 echo " </ul> </div> "; } // line 232 echo " <div class=\"card mt-4\"> <div class=\"card-header\"> phpMyAdmin </div> <ul class=\"list-group list-group-flush\"> <li id=\"li_pma_version\" class=\"list-group-item"; // line 238 echo ((($context["is_version_checked"] ?? null)) ? (" jsversioncheck") : ("")); echo "\"> "; echo _gettext("Version information:"); // line 240 echo " <span class=\"version\">"; echo twig_escape_filter($this->env, ($context["phpmyadmin_version"] ?? null), "html", null, true); echo "</span> </li> <li class=\"list-group-item\"> <a href=\""; // line 243 echo PhpMyAdmin\Html\MySQLDocumentation::getDocumentationLink("index"); echo "\" target=\"_blank\" rel=\"noopener noreferrer\"> "; echo _gettext("Documentation"); // line 245 echo " </a> </li> <li class=\"list-group-item\"> <a href=\""; // line 248 echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/"), "html", null, true); echo "\" target=\"_blank\" rel=\"noopener noreferrer\"> "; echo _gettext("Official Homepage"); // line 250 echo " </a> </li> <li class=\"list-group-item\"> <a href=\""; // line 253 echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/contribute/"), "html", null, true); echo "\" target=\"_blank\" rel=\"noopener noreferrer\"> "; echo _gettext("Contribute"); // line 255 echo " </a> </li> <li class=\"list-group-item\"> <a href=\""; // line 258 echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/support/"), "html", null, true); echo "\" target=\"_blank\" rel=\"noopener noreferrer\"> "; echo _gettext("Get support"); // line 260 echo " </a> </li> <li class=\"list-group-item\"> <a href=\""; // line 263 echo PhpMyAdmin\Url::getFromRoute("/changelog"); echo "\" target=\"_blank\"> "; echo _gettext("List of changes"); // line 265 echo " </a> </li> <li class=\"list-group-item\"> <a href=\""; // line 268 echo PhpMyAdmin\Url::getFromRoute("/license"); echo "\" target=\"_blank\"> "; echo _gettext("License"); // line 270 echo " </a> </li> </ul> </div> </div> </div> "; // line 277 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["errors"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["error"]) { // line 278 echo " <div class=\"alert "; echo (((twig_get_attribute($this->env, $this->source, $context["error"], "severity", [], "any", false, false, false, 278) == "warning")) ? ("alert-warning") : ("alert-info")); echo "\" role=\"alert\"> "; // line 279 if ((twig_get_attribute($this->env, $this->source, $context["error"], "severity", [], "any", false, false, false, 279) == "warning")) { // line 280 echo " "; echo PhpMyAdmin\Html\Generator::getImage("s_attention", _gettext("Warning")); echo " "; } else { // line 282 echo " "; echo PhpMyAdmin\Html\Generator::getImage("s_notice", _gettext("Notice")); echo " "; } // line 284 echo " "; echo PhpMyAdmin\Sanitize::sanitizeMessage(twig_get_attribute($this->env, $this->source, $context["error"], "message", [], "any", false, false, false, 284)); echo " </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 287 echo " </div> </div> "; // line 290 if (($context["has_theme_manager"] ?? null)) { // line 291 echo " <div class=\"modal fade\" id=\"themesModal\" tabindex=\"-1\" aria-labelledby=\"themesModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog modal-xl\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"themesModalLabel\">"; echo _gettext("phpMyAdmin Themes"); // line 295 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 296 echo "\"></button> </div> <div class=\"modal-body\"> <div class=\"spinner-border\" role=\"status\"> <span class=\"visually-hidden\">"; echo _gettext("Loading…"); // line 300 echo "</span> </div> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 304 echo "</button> <a href=\""; // line 305 echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/themes/"), "html", null, true); echo "#pma_"; echo twig_escape_filter($this->env, twig_replace_filter(($context["phpmyadmin_major_version"] ?? null), ["." => "_"]), "html", null, true); echo "\" class=\"btn btn-primary\" rel=\"noopener noreferrer\" target=\"_blank\"> "; echo _gettext("Get more themes!"); // line 307 echo " </a> </div> </div> </div> </div> "; } // line 313 echo " "; // line 314 echo ($context["config_storage_message"] ?? null); echo " "; } public function getTemplateName() { return "home/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 715 => 314, 712 => 313, 704 => 307, 697 => 305, 694 => 304, 687 => 300, 680 => 296, 676 => 295, 669 => 291, 667 => 290, 662 => 287, 652 => 284, 646 => 282, 640 => 280, 638 => 279, 633 => 278, 629 => 277, 620 => 270, 615 => 268, 610 => 265, 605 => 263, 600 => 260, 595 => 258, 590 => 255, 585 => 253, 580 => 250, 575 => 248, 570 => 245, 565 => 243, 558 => 240, 553 => 238, 545 => 232, 540 => 229, 535 => 226, 530 => 224, 527 => 223, 524 => 222, 517 => 219, 512 => 216, 504 => 214, 499 => 213, 494 => 212, 486 => 208, 482 => 206, 476 => 203, 473 => 202, 470 => 201, 468 => 200, 464 => 198, 459 => 195, 457 => 194, 454 => 193, 445 => 187, 442 => 186, 434 => 182, 426 => 178, 418 => 174, 410 => 170, 402 => 166, 394 => 162, 388 => 158, 383 => 155, 381 => 154, 374 => 149, 366 => 143, 361 => 140, 348 => 138, 344 => 137, 335 => 131, 329 => 128, 325 => 127, 322 => 126, 320 => 125, 317 => 124, 310 => 119, 303 => 117, 301 => 116, 295 => 115, 291 => 114, 282 => 109, 278 => 107, 276 => 105, 273 => 104, 268 => 102, 262 => 99, 258 => 98, 255 => 97, 253 => 96, 249 => 94, 243 => 90, 238 => 87, 231 => 83, 227 => 82, 221 => 78, 216 => 75, 209 => 73, 202 => 71, 200 => 70, 192 => 69, 188 => 68, 181 => 67, 177 => 66, 173 => 64, 168 => 62, 166 => 61, 159 => 58, 154 => 56, 148 => 53, 144 => 52, 140 => 50, 133 => 46, 129 => 45, 126 => 44, 123 => 43, 121 => 42, 118 => 41, 112 => 38, 108 => 37, 105 => 36, 103 => 35, 99 => 33, 93 => 29, 88 => 26, 86 => 21, 83 => 25, 80 => 22, 78 => 21, 74 => 19, 69 => 16, 66 => 15, 64 => 14, 57 => 10, 51 => 7, 46 => 5, 43 => 4, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "home/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/home/index.twig"); } } twig/72/7201ed6b6d5448a10e80c5da2e014598.php000064400000054205151677324010012702 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* javascript/variables.twig */ class __TwigTemplate_e259ad0e57219fb4e5c7c8374e9dc4f1 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 2 echo "var firstDayOfCalendar = '"; echo twig_escape_filter($this->env, ($context["first_day_of_calendar"] ?? null), "js", null, true); echo "'; var themeImagePath = '"; // line 3 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath(), "js", null, true); echo "'; var mysqlDocTemplate = '"; // line 4 echo twig_escape_filter($this->env, PhpMyAdmin\Util::getMySQLDocuURL("%s"), "js", null, true); echo "'; var maxInputVars = "; // line 5 echo twig_escape_filter($this->env, ($context["max_input_vars"] ?? null), "js", null, true); echo "; "; // line 7 ob_start(function () { return ''; }); // l10n: Month-year order for calendar, use either "calendar-month-year" or "calendar-year-month". echo _gettext("calendar-month-year"); $context["show_month_after_year"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 10 ob_start(function () { return ''; }); // l10n: Year suffix for calendar, "none" is empty. echo _gettext("none"); $context["year_suffix"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 14 echo "if (\$.datepicker) { \$.datepicker.regional[''].closeText = '"; // line 15 ob_start(function () { return ''; }); // l10n: Display text for calendar close link echo _gettext("Done"); $___internal_parse_1_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_1_, "js"); echo "'; \$.datepicker.regional[''].prevText = '"; // line 16 ob_start(function () { return ''; }); // l10n: Previous month. Display text for previous month link in calendar echo _gettext("Prev"); $___internal_parse_2_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_2_, "js"); echo "'; \$.datepicker.regional[''].nextText = '"; // line 17 ob_start(function () { return ''; }); // l10n: Next month. Display text for next month link in calendar echo _gettext("Next"); $___internal_parse_3_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_3_, "js"); echo "'; \$.datepicker.regional[''].currentText = '"; // line 18 ob_start(function () { return ''; }); // l10n: Display text for current month link in calendar echo _gettext("Today"); $___internal_parse_4_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_4_, "js"); echo "'; \$.datepicker.regional[''].monthNames = [ '"; // line 20 echo twig_escape_filter($this->env, _gettext("January"), "js", null, true); echo "', '"; // line 21 echo twig_escape_filter($this->env, _gettext("February"), "js", null, true); echo "', '"; // line 22 echo twig_escape_filter($this->env, _gettext("March"), "js", null, true); echo "', '"; // line 23 echo twig_escape_filter($this->env, _gettext("April"), "js", null, true); echo "', '"; // line 24 echo twig_escape_filter($this->env, _gettext("May"), "js", null, true); echo "', '"; // line 25 echo twig_escape_filter($this->env, _gettext("June"), "js", null, true); echo "', '"; // line 26 echo twig_escape_filter($this->env, _gettext("July"), "js", null, true); echo "', '"; // line 27 echo twig_escape_filter($this->env, _gettext("August"), "js", null, true); echo "', '"; // line 28 echo twig_escape_filter($this->env, _gettext("September"), "js", null, true); echo "', '"; // line 29 echo twig_escape_filter($this->env, _gettext("October"), "js", null, true); echo "', '"; // line 30 echo twig_escape_filter($this->env, _gettext("November"), "js", null, true); echo "', '"; // line 31 echo twig_escape_filter($this->env, _gettext("December"), "js", null, true); echo "', ]; \$.datepicker.regional[''].monthNamesShort = [ '"; // line 34 ob_start(function () { return ''; }); // l10n: Short month name for January echo _gettext("Jan"); $___internal_parse_5_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_5_, "js"); echo "', '"; // line 35 ob_start(function () { return ''; }); // l10n: Short month name for February echo _gettext("Feb"); $___internal_parse_6_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_6_, "js"); echo "', '"; // line 36 ob_start(function () { return ''; }); // l10n: Short month name for March echo _gettext("Mar"); $___internal_parse_7_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_7_, "js"); echo "', '"; // line 37 ob_start(function () { return ''; }); // l10n: Short month name for April echo _gettext("Apr"); $___internal_parse_8_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_8_, "js"); echo "', '"; // line 38 ob_start(function () { return ''; }); // l10n: Short month name for May echo _gettext("May"); $___internal_parse_9_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_9_, "js"); echo "', '"; // line 39 ob_start(function () { return ''; }); // l10n: Short month name for June echo _gettext("Jun"); $___internal_parse_10_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_10_, "js"); echo "', '"; // line 40 ob_start(function () { return ''; }); // l10n: Short month name for July echo _gettext("Jul"); $___internal_parse_11_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_11_, "js"); echo "', '"; // line 41 ob_start(function () { return ''; }); // l10n: Short month name for August echo _gettext("Aug"); $___internal_parse_12_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_12_, "js"); echo "', '"; // line 42 ob_start(function () { return ''; }); // l10n: Short month name for September echo _gettext("Sep"); $___internal_parse_13_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_13_, "js"); echo "', '"; // line 43 ob_start(function () { return ''; }); // l10n: Short month name for October echo _gettext("Oct"); $___internal_parse_14_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_14_, "js"); echo "', '"; // line 44 ob_start(function () { return ''; }); // l10n: Short month name for November echo _gettext("Nov"); $___internal_parse_15_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_15_, "js"); echo "', '"; // line 45 ob_start(function () { return ''; }); // l10n: Short month name for December echo _gettext("Dec"); $___internal_parse_16_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_16_, "js"); echo "', ]; \$.datepicker.regional[''].dayNames = [ '"; // line 48 echo twig_escape_filter($this->env, _gettext("Sunday"), "js", null, true); echo "', '"; // line 49 echo twig_escape_filter($this->env, _gettext("Monday"), "js", null, true); echo "', '"; // line 50 echo twig_escape_filter($this->env, _gettext("Tuesday"), "js", null, true); echo "', '"; // line 51 echo twig_escape_filter($this->env, _gettext("Wednesday"), "js", null, true); echo "', '"; // line 52 echo twig_escape_filter($this->env, _gettext("Thursday"), "js", null, true); echo "', '"; // line 53 echo twig_escape_filter($this->env, _gettext("Friday"), "js", null, true); echo "', '"; // line 54 echo twig_escape_filter($this->env, _gettext("Saturday"), "js", null, true); echo "', ]; \$.datepicker.regional[''].dayNamesShort = [ '"; // line 57 ob_start(function () { return ''; }); // l10n: Short week day name for Sunday echo _gettext("Sun"); $___internal_parse_17_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_17_, "js"); echo "', '"; // line 58 ob_start(function () { return ''; }); // l10n: Short week day name for Monday echo _gettext("Mon"); $___internal_parse_18_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_18_, "js"); echo "', '"; // line 59 ob_start(function () { return ''; }); // l10n: Short week day name for Tuesday echo _gettext("Tue"); $___internal_parse_19_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_19_, "js"); echo "', '"; // line 60 ob_start(function () { return ''; }); // l10n: Short week day name for Wednesday echo _gettext("Wed"); $___internal_parse_20_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_20_, "js"); echo "', '"; // line 61 ob_start(function () { return ''; }); // l10n: Short week day name for Thursday echo _gettext("Thu"); $___internal_parse_21_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_21_, "js"); echo "', '"; // line 62 ob_start(function () { return ''; }); // l10n: Short week day name for Friday echo _gettext("Fri"); $___internal_parse_22_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_22_, "js"); echo "', '"; // line 63 ob_start(function () { return ''; }); // l10n: Short week day name for Saturday echo _gettext("Sat"); $___internal_parse_23_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_23_, "js"); echo "', ]; \$.datepicker.regional[''].dayNamesMin = [ '"; // line 66 ob_start(function () { return ''; }); // l10n: Minimal week day name for Sunday echo _gettext("Su"); $___internal_parse_24_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_24_, "js"); echo "', '"; // line 67 ob_start(function () { return ''; }); // l10n: Minimal week day name for Monday echo _gettext("Mo"); $___internal_parse_25_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_25_, "js"); echo "', '"; // line 68 ob_start(function () { return ''; }); // l10n: Minimal week day name for Tuesday echo _gettext("Tu"); $___internal_parse_26_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_26_, "js"); echo "', '"; // line 69 ob_start(function () { return ''; }); // l10n: Minimal week day name for Wednesday echo _gettext("We"); $___internal_parse_27_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_27_, "js"); echo "', '"; // line 70 ob_start(function () { return ''; }); // l10n: Minimal week day name for Thursday echo _gettext("Th"); $___internal_parse_28_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_28_, "js"); echo "', '"; // line 71 ob_start(function () { return ''; }); // l10n: Minimal week day name for Friday echo _gettext("Fr"); $___internal_parse_29_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_29_, "js"); echo "', '"; // line 72 ob_start(function () { return ''; }); // l10n: Minimal week day name for Saturday echo _gettext("Sa"); $___internal_parse_30_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_30_, "js"); echo "', ]; \$.datepicker.regional[''].weekHeader = '"; // line 74 ob_start(function () { return ''; }); // l10n: Column header for week of the year in calendar echo _gettext("Wk"); $___internal_parse_31_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_31_, "js"); echo "'; \$.datepicker.regional[''].showMonthAfterYear = "; // line 75 echo (((($context["show_month_after_year"] ?? null) == "calendar-year-month")) ? ("true") : ("false")); echo "; \$.datepicker.regional[''].yearSuffix = '"; // line 76 echo (((($context["year_suffix"] ?? null) != "none")) ? (twig_escape_filter($this->env, ($context["year_suffix"] ?? null), "js")) : ("")); echo "'; \$.extend(\$.datepicker._defaults, \$.datepicker.regional['']); } if (\$.timepicker) { \$.timepicker.regional[''].timeText = '"; // line 81 echo twig_escape_filter($this->env, _gettext("Time"), "js", null, true); echo "'; \$.timepicker.regional[''].hourText = '"; // line 82 echo twig_escape_filter($this->env, _gettext("Hour"), "js", null, true); echo "'; \$.timepicker.regional[''].minuteText = '"; // line 83 echo twig_escape_filter($this->env, _gettext("Minute"), "js", null, true); echo "'; \$.timepicker.regional[''].secondText = '"; // line 84 echo twig_escape_filter($this->env, _gettext("Second"), "js", null, true); echo "'; \$.extend(\$.timepicker._defaults, \$.timepicker.regional['']); } function extendingValidatorMessages () { \$.extend(\$.validator.messages, { required: '"; // line 90 echo twig_escape_filter($this->env, _gettext("This field is required"), "js", null, true); echo "', remote: '"; // line 91 echo twig_escape_filter($this->env, _gettext("Please fix this field"), "js", null, true); echo "', email: '"; // line 92 echo twig_escape_filter($this->env, _gettext("Please enter a valid email address"), "js", null, true); echo "', url: '"; // line 93 echo twig_escape_filter($this->env, _gettext("Please enter a valid URL"), "js", null, true); echo "', date: '"; // line 94 echo twig_escape_filter($this->env, _gettext("Please enter a valid date"), "js", null, true); echo "', dateISO: '"; // line 95 echo twig_escape_filter($this->env, _gettext("Please enter a valid date ( ISO )"), "js", null, true); echo "', number: '"; // line 96 echo twig_escape_filter($this->env, _gettext("Please enter a valid number"), "js", null, true); echo "', creditcard: '"; // line 97 echo twig_escape_filter($this->env, _gettext("Please enter a valid credit card number"), "js", null, true); echo "', digits: '"; // line 98 echo twig_escape_filter($this->env, _gettext("Please enter only digits"), "js", null, true); echo "', equalTo: '"; // line 99 echo twig_escape_filter($this->env, _gettext("Please enter the same value again"), "js", null, true); echo "', maxlength: \$.validator.format('"; // line 100 echo twig_escape_filter($this->env, _gettext("Please enter no more than {0} characters"), "js", null, true); echo "'), minlength: \$.validator.format('"; // line 101 echo twig_escape_filter($this->env, _gettext("Please enter at least {0} characters"), "js", null, true); echo "'), rangelength: \$.validator.format('"; // line 102 echo twig_escape_filter($this->env, _gettext("Please enter a value between {0} and {1} characters long"), "js", null, true); echo "'), range: \$.validator.format('"; // line 103 echo twig_escape_filter($this->env, _gettext("Please enter a value between {0} and {1}"), "js", null, true); echo "'), max: \$.validator.format('"; // line 104 echo twig_escape_filter($this->env, _gettext("Please enter a value less than or equal to {0}"), "js", null, true); echo "'), min: \$.validator.format('"; // line 105 echo twig_escape_filter($this->env, _gettext("Please enter a value greater than or equal to {0}"), "js", null, true); echo "'), validationFunctionForDateTime: \$.validator.format('"; // line 106 echo twig_escape_filter($this->env, _gettext("Please enter a valid date or time"), "js", null, true); echo "'), validationFunctionForHex: \$.validator.format('"; // line 107 echo twig_escape_filter($this->env, _gettext("Please enter a valid HEX input"), "js", null, true); echo "'), validationFunctionForMd5: \$.validator.format('"; // line 108 ob_start(function () { return ''; }); // l10n: To validate the usage of a MD5 function on the column echo _gettext("This column can not contain a 32 chars value"); $___internal_parse_32_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_32_, "js"); echo "'), validationFunctionForAesDesEncrypt: \$.validator.format('"; // line 109 ob_start(function () { return ''; }); // l10n: To validate the usage of a AES_ENCRYPT/DES_ENCRYPT function on the column echo _gettext("These functions are meant to return a binary result; to avoid inconsistent results you should store it in a BINARY, VARBINARY, or BLOB column."); $___internal_parse_33_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_escape_filter($this->env, $___internal_parse_33_, "js"); echo "') }); } "; } public function getTemplateName() { return "javascript/variables.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 515 => 109, 507 => 108, 503 => 107, 499 => 106, 495 => 105, 491 => 104, 487 => 103, 483 => 102, 479 => 101, 475 => 100, 471 => 99, 467 => 98, 463 => 97, 459 => 96, 455 => 95, 451 => 94, 447 => 93, 443 => 92, 439 => 91, 435 => 90, 426 => 84, 422 => 83, 418 => 82, 414 => 81, 406 => 76, 402 => 75, 394 => 74, 385 => 72, 377 => 71, 369 => 70, 361 => 69, 353 => 68, 345 => 67, 337 => 66, 327 => 63, 319 => 62, 311 => 61, 303 => 60, 295 => 59, 287 => 58, 279 => 57, 273 => 54, 269 => 53, 265 => 52, 261 => 51, 257 => 50, 253 => 49, 249 => 48, 239 => 45, 231 => 44, 223 => 43, 215 => 42, 207 => 41, 199 => 40, 191 => 39, 183 => 38, 175 => 37, 167 => 36, 159 => 35, 151 => 34, 145 => 31, 141 => 30, 137 => 29, 133 => 28, 129 => 27, 125 => 26, 121 => 25, 117 => 24, 113 => 23, 109 => 22, 105 => 21, 101 => 20, 92 => 18, 84 => 17, 76 => 16, 68 => 15, 65 => 14, 60 => 10, 55 => 7, 50 => 5, 46 => 4, 42 => 3, 37 => 2,); } public function getSourceContext() { return new Source("", "javascript/variables.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/javascript/variables.twig"); } } twig/df/df024f615c2b925b77e0c61bdf121a44.php000064400000037562151677324010013203 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* config/form_display/input.twig */ class __TwigTemplate_3d9fbbf91db1553cfa749e4ac91ddad9 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 if (($context["option_is_disabled"] ?? null)) { // line 2 echo " "; $context["tr_class"] = (($context["tr_class"] ?? null) . " disabled-field"); } // line 4 echo "<tr"; if (($context["tr_class"] ?? null)) { echo " class=\""; echo twig_escape_filter($this->env, ($context["tr_class"] ?? null), "html", null, true); echo "\""; } echo "> <th> <label for=\""; // line 6 echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\">"; echo ($context["name"] ?? null); echo "</label> "; // line 8 if ( !twig_test_empty(($context["doc"] ?? null))) { // line 9 echo " <span class=\"doc\"> <a href=\""; // line 10 echo twig_escape_filter($this->env, ($context["doc"] ?? null), "html", null, true); echo "\" target=\"documentation\">"; echo PhpMyAdmin\Html\Generator::getImage("b_help", _gettext("Documentation")); echo "</a> </span> "; } // line 13 echo " "; // line 14 if (($context["option_is_disabled"] ?? null)) { // line 15 echo " <span class=\"disabled-notice\" title=\""; echo _gettext("This setting is disabled, it will not be applied to your configuration."); echo "\"> "; echo _gettext("Disabled"); // line 17 echo " </span> "; } // line 19 echo " "; // line 20 if ( !twig_test_empty(($context["description"] ?? null))) { // line 21 echo " <small>"; echo ($context["description"] ?? null); echo "</small> "; } // line 23 echo " </th> <td> "; // line 26 if ((($context["type"] ?? null) == "text")) { // line 27 echo " <input type=\"text\" name=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" id=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true); echo "\" class=\"w-75"; echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : ("")); echo "\"> "; } elseif (( // line 28 ($context["type"] ?? null) == "password")) { // line 29 echo " <input type=\"password\" name=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" id=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true); echo "\" class=\"w-75"; echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : ("")); echo "\" spellcheck=\"false\"> "; } elseif ((( // line 30 ($context["type"] ?? null) == "short_text") && !twig_test_iterable(($context["value"] ?? null)))) { // line 31 echo " "; // line 32 echo " <input type=\"text\" size=\"25\" name=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" id=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true); echo "\" class=\""; echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? ("custom field-error") : ("custom"))) : ("")); echo "\"> "; } elseif (( // line 33 ($context["type"] ?? null) == "number_text")) { // line 34 echo " <input type=\"number\" name=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" id=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true); echo "\" class=\""; echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? ("custom field-error") : ("custom"))) : ("")); echo "\"> "; } elseif (( // line 35 ($context["type"] ?? null) == "checkbox")) { // line 36 echo " <span class=\"checkbox"; echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : ("")); echo "\"> <input type=\"checkbox\" name=\""; // line 37 echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" id=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\""; echo ((($context["value"] ?? null)) ? (" checked") : ("")); echo "> </span> "; } elseif (( // line 39 ($context["type"] ?? null) == "select")) { // line 40 echo " <select name=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" id=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" class=\"w-75"; echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : ("")); echo "\"> "; // line 41 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["select_values"] ?? null)); foreach ($context['_seq'] as $context["key"] => $context["val"]) { // line 42 echo " "; if (($context["val"] === true)) { $context["val"] = _gettext("Yes"); } elseif (($context["val"] === false)) { $context["val"] = _gettext("No"); } // line 43 echo " <option value=\""; echo twig_escape_filter($this->env, $context["key"], "html", null, true); echo "\""; echo ((((($context["key"] === ($context["value"] ?? null)) || ((($context["value"] ?? null) === true) && ($context["key"] === 1))) || ((($context["value"] ?? null) === false) && ($context["key"] === 0)))) ? (" selected") : ("")); echo ((twig_in_filter($context["key"], ($context["select_values_disabled"] ?? null))) ? (" disabled") : ("")); echo ">"; echo twig_escape_filter($this->env, $context["val"], "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['val'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 45 echo " </select> "; } elseif (( // line 46 ($context["type"] ?? null) == "list")) { // line 47 echo " <textarea cols=\"35\" rows=\"5\" name=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" id=\""; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" class=\""; echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? ("custom field-error") : ("custom"))) : ("")); echo "\">"; // line 48 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["value"] ?? null)); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["key"] => $context["val"]) { if (($context["key"] != "wrapper_params")) { echo twig_escape_filter($this->env, $context["val"], "html", null, true); echo (( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 48)) ? (" ") : ("")); } ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['val'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 49 echo "</textarea> "; } // line 51 echo " "; // line 52 if ((($context["is_setup"] ?? null) && ($context["comment"] ?? null))) { // line 53 echo " <a class=\"userprefs-comment\" title=\""; echo twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true); echo "\">"; echo PhpMyAdmin\Html\Generator::getImage("b_tblops", _gettext("Comment")); echo "</a> "; } // line 55 echo " "; // line 56 if (($context["set_value"] ?? null)) { // line 57 echo " <a class=\"set-value hide\" href=\"#"; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "="; echo twig_escape_filter($this->env, ($context["set_value"] ?? null), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_sprintf(_gettext("Set value: %s"), ($context["set_value"] ?? null)), "html", null, true); echo "\">"; // line 58 echo PhpMyAdmin\Html\Generator::getImage("b_edit", twig_sprintf(_gettext("Set value: %s"), ($context["set_value"] ?? null))); // line 59 echo "</a> "; } // line 61 echo " "; // line 62 if (($context["show_restore_default"] ?? null)) { // line 63 echo " <a class=\"restore-default hide\" href=\"#"; echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "\" title=\""; echo _gettext("Restore default value"); echo "\">"; // line 64 echo PhpMyAdmin\Html\Generator::getImage("s_reload", _gettext("Restore default value")); // line 65 echo "</a> "; } // line 67 echo " "; // line 69 echo " "; if (($context["has_errors"] ?? null)) { // line 70 echo " <dl class=\"inline_errors\"> "; // line 71 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["errors"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["error"]) { // line 72 echo " <dd>"; echo $context["error"]; echo "</dd> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 74 echo " </dl> "; } // line 76 echo " </td> "; // line 78 if ((($context["is_setup"] ?? null) && !(null === ($context["allows_customization"] ?? null)))) { // line 79 echo " <td class=\"userprefs-allow\" title=\""; echo _gettext("Allow users to customize this value"); echo "\"> <input type=\"checkbox\" name=\""; // line 80 echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true); echo "-userprefs-allow\""; echo ((($context["allows_customization"] ?? null)) ? (" checked") : ("")); echo " aria-label=\""; echo _gettext("Allow users to customize this value"); echo "\"> </td> "; } elseif ( // line 82 ($context["is_setup"] ?? null)) { // line 83 echo " <td> </td> "; } // line 85 echo "</tr> "; } public function getTemplateName() { return "config/form_display/input.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 362 => 85, 358 => 83, 356 => 82, 347 => 80, 342 => 79, 340 => 78, 336 => 76, 332 => 74, 323 => 72, 319 => 71, 316 => 70, 313 => 69, 310 => 67, 306 => 65, 304 => 64, 298 => 63, 296 => 62, 293 => 61, 289 => 59, 287 => 58, 279 => 57, 277 => 56, 274 => 55, 266 => 53, 264 => 52, 261 => 51, 257 => 49, 223 => 48, 215 => 47, 213 => 46, 210 => 45, 196 => 43, 189 => 42, 185 => 41, 176 => 40, 174 => 39, 165 => 37, 160 => 36, 158 => 35, 147 => 34, 145 => 33, 134 => 32, 132 => 31, 130 => 30, 119 => 29, 117 => 28, 106 => 27, 104 => 26, 99 => 23, 93 => 21, 91 => 20, 88 => 19, 84 => 17, 78 => 15, 76 => 14, 73 => 13, 65 => 10, 62 => 9, 60 => 8, 53 => 6, 43 => 4, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "config/form_display/input.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/config/form_display/input.twig"); } } twig/dc/dc6bc22928609b21fa34c3ce27fe6a3e.php000064400000031110151677324010013332 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* config/form_display/display.twig */ class __TwigTemplate_333f4440c256d9bae3604ce533b64a88 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<form method=\"post\" action=\""; echo twig_escape_filter($this->env, ($context["action"] ?? null), "html_attr"); echo "\" class=\"config-form disableAjax\"> <input type=\"hidden\" name=\"tab_hash\" value=\"\"> "; // line 3 if (($context["has_check_page_refresh"] ?? null)) { // line 4 echo " <input type=\"hidden\" name=\"check_page_refresh\" id=\"check_page_refresh\" value=\"\"> "; } // line 6 echo " "; echo PhpMyAdmin\Url::getHiddenInputs("", "", 0, "server"); echo " "; // line 7 echo PhpMyAdmin\Url::getHiddenFields(($context["hidden_fields"] ?? null), "", true); echo " <ul class=\"nav nav-tabs\" id=\"configFormDisplayTab\" role=\"tablist\"> "; // line 10 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["tabs"] ?? null)); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["id"] => $context["name"]) { // line 11 echo " <li class=\"nav-item\" role=\"presentation\"> <a class=\"nav-link"; // line 12 echo ((twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 12)) ? (" active") : ("")); echo "\" id=\""; echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "-tab\" href=\"#"; echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "\" data-bs-toggle=\"tab\" role=\"tab\" aria-controls=\""; echo twig_escape_filter($this->env, $context["id"], "html", null, true); echo "\" aria-selected=\""; echo ((twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 12)) ? ("true") : ("false")); echo "\">"; echo twig_escape_filter($this->env, $context["name"], "html", null, true); echo "</a> </li> "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['id'], $context['name'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 15 echo " </ul> <div class=\"tab-content\"> "; // line 17 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["forms"] ?? null)); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["form"]) { // line 18 echo " <div class=\"tab-pane fade"; echo ((twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 18)) ? (" show active") : ("")); echo "\" id=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["form"], "name", [], "any", false, false, false, 18), "html", null, true); echo "\" role=\"tabpanel\" aria-labelledby=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["form"], "name", [], "any", false, false, false, 18), "html", null, true); echo "-tab\"> <div class=\"card border-top-0\"> <div class=\"card-body\"> <h5 class=\"card-title visually-hidden\">"; // line 21 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["form"], "descriptions", [], "any", false, false, false, 21), "name", [], "any", false, false, false, 21), "html", null, true); echo "</h5> "; // line 22 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["form"], "descriptions", [], "any", false, false, false, 22), "desc", [], "any", false, false, false, 22))) { // line 23 echo " <h6 class=\"card-subtitle mb-2 text-muted\">"; echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["form"], "descriptions", [], "any", false, false, false, 23), "desc", [], "any", false, false, false, 23); echo "</h6> "; } // line 25 echo " <fieldset class=\"optbox\"> <legend>"; // line 27 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["form"], "descriptions", [], "any", false, false, false, 27), "name", [], "any", false, false, false, 27), "html", null, true); echo "</legend> "; // line 30 echo " "; if ((twig_test_iterable(twig_get_attribute($this->env, $this->source, $context["form"], "errors", [], "any", false, false, false, 30)) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["form"], "errors", [], "any", false, false, false, 30)) > 0))) { // line 31 echo " <dl class=\"errors\"> "; // line 32 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["form"], "errors", [], "any", false, false, false, 32)); foreach ($context['_seq'] as $context["_key"] => $context["error"]) { // line 33 echo " <dd>"; echo twig_escape_filter($this->env, $context["error"], "html", null, true); echo "</dd> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 35 echo " </dl> "; } // line 37 echo " <table class=\"table table-borderless\"> "; // line 39 echo twig_get_attribute($this->env, $this->source, $context["form"], "fields_html", [], "any", false, false, false, 39); echo " </table> </fieldset> </div> "; // line 44 if (($context["show_buttons"] ?? null)) { // line 45 echo " <div class=\"card-footer\"> <input class=\"btn btn-primary\" type=\"submit\" name=\"submit_save\" value=\""; echo _gettext("Apply"); // line 46 echo "\"> <input class=\"btn btn-secondary\" type=\"button\" name=\"submit_reset\" value=\""; echo _gettext("Reset"); // line 47 echo "\"> </div> "; } // line 50 echo " </div> </div> "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['form'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 53 echo " </div> </form> <script type=\"text/javascript\"> if (typeof configInlineParams === 'undefined' || !Array.isArray(configInlineParams)) { configInlineParams = []; } configInlineParams.push(function () { "; // line 61 echo twig_join_filter(($context["js_array"] ?? null), "; "); echo "; \$.extend(Messages, { 'error_nan_p': '"; // line 64 echo twig_escape_filter($this->env, twig_escape_filter($this->env, _gettext("Not a positive number!"), "js"), "html", null, true); echo "', 'error_nan_nneg': '"; // line 65 echo twig_escape_filter($this->env, twig_escape_filter($this->env, _gettext("Not a non-negative number!"), "js"), "html", null, true); echo "', 'error_incorrect_port': '"; // line 66 echo twig_escape_filter($this->env, twig_escape_filter($this->env, _gettext("Not a valid port number!"), "js"), "html", null, true); echo "', 'error_invalid_value': '"; // line 67 echo twig_escape_filter($this->env, twig_escape_filter($this->env, _gettext("Incorrect value!"), "js"), "html", null, true); echo "', 'error_value_lte': '"; // line 68 echo twig_escape_filter($this->env, twig_escape_filter($this->env, _gettext("Value must be less than or equal to %s!"), "js"), "html", null, true); echo "', }); \$.extend(defaultValues, { "; // line 72 echo twig_join_filter(($context["js_default"] ?? null), ", "); echo " }); }); if (typeof configScriptLoaded !== 'undefined' && configInlineParams) { loadInlineConfig(); } </script> "; } public function getTemplateName() { return "config/form_display/display.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 266 => 72, 259 => 68, 255 => 67, 251 => 66, 247 => 65, 243 => 64, 236 => 61, 226 => 53, 210 => 50, 205 => 47, 201 => 46, 197 => 45, 195 => 44, 187 => 39, 183 => 37, 179 => 35, 170 => 33, 166 => 32, 163 => 31, 160 => 30, 155 => 27, 151 => 25, 145 => 23, 143 => 22, 139 => 21, 128 => 18, 111 => 17, 107 => 15, 80 => 12, 77 => 11, 60 => 10, 54 => 7, 49 => 6, 45 => 4, 43 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "config/form_display/display.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/config/form_display/display.twig"); } } twig/dc/dc10b6c4568502eae5e1aa18e49ee9cb.php000064400000003512151677324010013417 0ustar00<?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/0f/0f4c1fc5fe66f0989d54cbc2a00fc662.php000064400000003521151677324010013264 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* recent_favorite_table_no_tables.twig */ class __TwigTemplate_1578ca7a9b767160f258021e3c2213d7 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<li class=\"warp_link\"> "; // line 2 if (($context["is_recent"] ?? null)) { // line 3 echo " "; echo _gettext("There are no recent tables."); // line 4 echo " "; } else { // line 5 echo " "; echo _gettext("There are no favorite tables."); // line 6 echo " "; } // line 7 echo "</li> "; } public function getTemplateName() { return "recent_favorite_table_no_tables.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 54 => 7, 51 => 6, 48 => 5, 45 => 4, 42 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "recent_favorite_table_no_tables.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/recent_favorite_table_no_tables.twig"); } } twig/0f/0f1c1926427ee95239f92050d508d516.php000064400000046667151677324010012572 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/operations/index.twig */ class __TwigTemplate_e4d6f22f24731edc4c7ea5918114f4cb extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class=\"container-fluid\"> "; // line 3 echo ($context["message"] ?? null); echo " "; // line 5 if (($context["has_comment"] ?? null)) { // line 6 echo " <form method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/database/operations"); echo "\" id=\"formDatabaseComment\"> "; // line 7 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <div class=\"card mb-2\"> <div class=\"card-header\">"; // line 9 echo PhpMyAdmin\Html\Generator::getIcon("b_comment", _gettext("Database comment"), true); echo "</div> <div class=\"card-body\"> <div class=\"row g-3\"> <div class=\"col-auto\"> <label class=\"visually-hidden\" for=\"databaseCommentInput\">"; echo _gettext("Database comment"); // line 13 echo "</label> <input class=\"form-control textfield\" id=\"databaseCommentInput\" type=\"text\" name=\"comment\" value=\""; // line 14 echo twig_escape_filter($this->env, ($context["db_comment"] ?? null), "html", null, true); echo "\"> </div> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 19 echo "\"> </div> </div> </form> "; } // line 24 echo " <form id=\"createTableMinimalForm\" method=\"post\" action=\""; // line 25 echo PhpMyAdmin\Url::getFromRoute("/table/create"); echo "\" class=\"card mb-2 lock-page\"> "; // line 26 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <div class=\"card-header\">"; // line 27 echo PhpMyAdmin\Html\Generator::getIcon("b_table_add", _gettext("Create new table"), true); echo "</div> <div class=\"card-body row row-cols-lg-auto g-3\"> <div class=\"col-md-6\"> <label for=\"createTableNameInput\" class=\"form-label\">"; echo _gettext("Table name"); // line 30 echo "</label> <input type=\"text\" class=\"form-control\" name=\"table\" id=\"createTableNameInput\" maxlength=\"64\" required> </div> <div class=\"col-md-6\"> <label for=\"createTableNumFieldsInput\" class=\"form-label\">"; echo _gettext("Number of columns"); // line 34 echo "</label> <input type=\"number\" class=\"form-control\" name=\"num_fields\" id=\"createTableNumFieldsInput\" min=\"1\" value=\"4\" required> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Create"); // line 39 echo "\"> </div> </form> "; // line 43 if ((($context["db"] ?? null) != "mysql")) { // line 44 echo " <form id=\"rename_db_form\" class=\"ajax\" method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/database/operations"); echo "\"> "; // line 45 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <input type=\"hidden\" name=\"what\" value=\"data\"> <input type=\"hidden\" name=\"db_rename\" value=\"true\"> "; // line 49 if ( !twig_test_empty(($context["db_collation"] ?? null))) { // line 50 echo " <input type=\"hidden\" name=\"db_collation\" value=\""; echo twig_escape_filter($this->env, ($context["db_collation"] ?? null), "html", null, true); echo "\"> "; } // line 52 echo " <div class=\"card mb-2\"> <div class=\"card-header\">"; // line 54 echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Rename database to"), true); echo "</div> <div class=\"card-body\"> <div class=\"mb-3 row g-3\"> <div class=\"col-auto\"> <label class=\"visually-hidden\" for=\"new_db_name\">"; echo _gettext("New database name"); // line 58 echo "</label> <input class=\"form-control textfield\" id=\"new_db_name\" type=\"text\" name=\"newname\" maxlength=\"64\" required> </div> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"adjust_privileges\" value=\"1\" id=\"checkbox_adjust_privileges\""; // line 65 if (($context["has_adjust_privileges"] ?? null)) { echo " checked"; } else { echo " title=\""; echo _gettext("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details."); // line 66 echo "\" disabled"; } echo "> <label class=\"form-check-label\" for=\"checkbox_adjust_privileges\"> "; echo _gettext("Adjust privileges"); // line 69 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39"); echo " </label> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 75 echo "\"> </div> </div> </form> "; } // line 80 echo " "; // line 81 if (($context["is_drop_database_allowed"] ?? null)) { // line 82 echo " <div class=\"card mb-2\"> <div class=\"card-header\">"; // line 83 echo PhpMyAdmin\Html\Generator::getIcon("b_deltbl", _gettext("Remove database"), true); echo "</div> <div class=\"card-body\"> <div class=\"card-text\"> "; // line 86 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), ["sql_query" => ("DROP DATABASE " . PhpMyAdmin\Util::backquote( // line 89 ($context["db"] ?? null))), "back" => PhpMyAdmin\Url::getFromRoute("/database/operations"), "goto" => PhpMyAdmin\Url::getFromRoute("/"), "reload" => true, "purge" => true, "message_to_show" => twig_escape_filter($this->env, twig_sprintf(_gettext("Database %s has been dropped."), PhpMyAdmin\Util::backquote( // line 94 ($context["db"] ?? null)))), "db" => null], _gettext("Drop the database (DROP)"), ["id" => "drop_db_anchor", "class" => "ajax text-danger"]); // line 102 echo " "; // line 103 echo PhpMyAdmin\Html\MySQLDocumentation::show("DROP_DATABASE"); echo " </div> </div> </div> "; } // line 108 echo " <form id=\"copy_db_form\" class=\"ajax\" method=\"post\" action=\""; // line 109 echo PhpMyAdmin\Url::getFromRoute("/database/operations"); echo "\"> "; // line 110 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <input type=\"hidden\" name=\"db_copy\" value=\"true\"> "; // line 113 if ( !twig_test_empty(($context["db_collation"] ?? null))) { // line 114 echo " <input type=\"hidden\" name=\"db_collation\" value=\""; echo twig_escape_filter($this->env, ($context["db_collation"] ?? null), "html", null, true); echo "\"> "; } // line 116 echo " <div class=\"card mb-2\"> <div class=\"card-header\">"; // line 118 echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Copy database to"), true); echo "</div> <div class=\"card-body\"> <div class=\"mb-3 row g-3\"> <div class=\"col-auto\"> <label class=\"visually-hidden\" for=\"renameDbNameInput\">"; echo _gettext("Database name"); // line 122 echo "</label> <input class=\"form-control textfield\" id=\"renameDbNameInput\" type=\"text\" maxlength=\"64\" name=\"newname\" required> </div> </div> <div class=\"mb-3\"> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"what\" id=\"whatRadio1\" value=\"structure\"> <label class=\"form-check-label\" for=\"whatRadio1\"> "; echo _gettext("Structure only"); // line 132 echo " </label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"what\" id=\"whatRadio2\" value=\"data\" checked> <label class=\"form-check-label\" for=\"whatRadio2\"> "; echo _gettext("Structure and data"); // line 138 echo " </label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"what\" id=\"whatRadio3\" value=\"dataonly\"> <label class=\"form-check-label\" for=\"whatRadio3\"> "; echo _gettext("Data only"); // line 144 echo " </label> </div> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"create_database_before_copying\" value=\"1\" id=\"checkbox_create_database_before_copying\" checked> <label class=\"form-check-label\" for=\"checkbox_create_database_before_copying\">"; echo _gettext("CREATE DATABASE before copying"); // line 150 echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"drop_if_exists\" value=\"true\" id=\"checkbox_drop\"> <label class=\"form-check-label\" for=\"checkbox_drop\">"; // line 155 echo twig_escape_filter($this->env, twig_sprintf(_gettext("Add %s"), "DROP TABLE / DROP VIEW"), "html", null, true); echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"sql_auto_increment\" value=\"1\" id=\"checkbox_auto_increment\" checked> <label class=\"form-check-label\" for=\"checkbox_auto_increment\">"; echo _gettext("Add AUTO_INCREMENT value"); // line 160 echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"add_constraints\" value=\"1\" id=\"checkbox_constraints\" checked> <label class=\"form-check-label\" for=\"checkbox_constraints\">"; echo _gettext("Add constraints"); // line 165 echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"adjust_privileges\" value=\"1\" id=\"checkbox_privileges\""; // line 170 if (($context["has_adjust_privileges"] ?? null)) { echo " checked"; } else { echo " title=\""; echo _gettext("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details."); // line 171 echo "\" disabled"; } echo "> <label class=\"form-check-label\" for=\"checkbox_privileges\"> "; echo _gettext("Adjust privileges"); // line 174 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39"); echo " </label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"switch_to_new\" value=\"true\" id=\"checkbox_switch\""; // line 179 echo ((($context["switch_to_new"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"checkbox_switch\">"; echo _gettext("Switch to copied database"); // line 180 echo "</label> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" name=\"submit_copy\" value=\""; echo _gettext("Go"); // line 185 echo "\"> </div> </div> </form> <form id=\"change_db_charset_form\" class=\"ajax\" method=\"post\" action=\""; // line 190 echo PhpMyAdmin\Url::getFromRoute("/database/operations/collation"); echo "\"> "; // line 191 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <div class=\"card mb-2\"> <div class=\"card-header\">"; // line 194 echo PhpMyAdmin\Html\Generator::getIcon("s_asci", _gettext("Collation"), true); echo "</div> <div class=\"card-body\"> <div class=\"mb-3 row g-3\"> <div class=\"col-auto\"> <label class=\"visually-hidden\" for=\"select_db_collation\">"; echo _gettext("Collation"); // line 198 echo "</label> <select class=\"form-select\" lang=\"en\" dir=\"ltr\" name=\"db_collation\" id=\"select_db_collation\"> <option value=\"\"></option> "; // line 201 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 202 echo " <optgroup label=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 202), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getDescription", [], "method", false, false, false, 202), "html", null, true); echo "\"> "; // line 203 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((($__internal_compile_0 = ($context["collations"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 203)] ?? null) : null)); foreach ($context['_seq'] as $context["_key"] => $context["collation"]) { // line 204 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "getName", [], "method", false, false, false, 204), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "getDescription", [], "method", false, false, false, 204), "html", null, true); echo "\""; echo (((($context["db_collation"] ?? null) == twig_get_attribute($this->env, $this->source, $context["collation"], "getName", [], "method", false, false, false, 204))) ? (" selected") : ("")); echo "> "; // line 205 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "getName", [], "method", false, false, false, 205), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 208 echo " </optgroup> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 210 echo " </select> </div> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"change_all_tables_collations\" id=\"checkbox_change_all_tables_collations\"> <label class=\"form-check-label\" for=\"checkbox_change_all_tables_collations\">"; echo _gettext("Change all tables collations"); // line 216 echo "</label> </div> <div class=\"form-check\" id=\"span_change_all_tables_columns_collations\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"change_all_tables_columns_collations\" id=\"checkbox_change_all_tables_columns_collations\"> <label class=\"form-check-label\" for=\"checkbox_change_all_tables_columns_collations\">"; echo _gettext("Change all tables columns collations"); // line 220 echo "</label> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 225 echo "\"> </div> </div> </form> </div> "; } public function getTemplateName() { return "database/operations/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 455 => 225, 447 => 220, 440 => 216, 431 => 210, 424 => 208, 415 => 205, 406 => 204, 402 => 203, 395 => 202, 391 => 201, 386 => 198, 378 => 194, 372 => 191, 368 => 190, 361 => 185, 353 => 180, 348 => 179, 339 => 174, 332 => 171, 326 => 170, 320 => 165, 312 => 160, 303 => 155, 296 => 150, 287 => 144, 279 => 138, 271 => 132, 259 => 122, 251 => 118, 247 => 116, 241 => 114, 239 => 113, 233 => 110, 229 => 109, 226 => 108, 218 => 103, 215 => 102, 213 => 94, 212 => 89, 211 => 86, 205 => 83, 202 => 82, 200 => 81, 197 => 80, 190 => 75, 179 => 69, 172 => 66, 166 => 65, 158 => 58, 150 => 54, 146 => 52, 140 => 50, 138 => 49, 131 => 45, 126 => 44, 124 => 43, 118 => 39, 110 => 34, 103 => 30, 96 => 27, 92 => 26, 88 => 25, 85 => 24, 78 => 19, 69 => 14, 66 => 13, 58 => 9, 53 => 7, 48 => 6, 46 => 5, 41 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "database/operations/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/operations/index.twig"); } } twig/6b/6b94fcd164fc5bded6e5774c9e1b00d3.php000064400000003324151677324010013354 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* navigation/tree/quick_warp.twig */ class __TwigTemplate_38a2c48e0b6b029b4caefeb9d89038b8 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class=\"pma_quick_warp\"> "; // line 2 if (($context["recent"] ?? null)) { echo ($context["recent"] ?? null); } // line 3 echo " "; if (($context["favorite"] ?? null)) { echo ($context["favorite"] ?? null); } // line 4 echo " <div class=\"clearfloat\"></div> </div> "; } public function getTemplateName() { return "navigation/tree/quick_warp.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 49 => 4, 44 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "navigation/tree/quick_warp.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/quick_warp.twig"); } } twig/6b/6ba9196125e333ef593d5f3959049e24.php000064400000005222151677324010012651 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/create_table.twig */ class __TwigTemplate_c5ff86f2db9a83827260c8c02b8892c0 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<form id=\"createTableMinimalForm\" method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/table/create"); echo "\" class=\"card d-print-none lock-page\"> "; // line 2 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <div class=\"card-header\">"; // line 3 echo PhpMyAdmin\Html\Generator::getIcon("b_table_add", _gettext("Create new table"), true); echo "</div> <div class=\"card-body row row-cols-lg-auto g-3\"> <div class=\"col-12\"> <label for=\"createTableNameInput\" class=\"form-label\">"; echo _gettext("Table name"); // line 6 echo "</label> <input type=\"text\" class=\"form-control\" name=\"table\" id=\"createTableNameInput\" maxlength=\"64\" required> </div> <div class=\"col-12\"> <label for=\"createTableNumFieldsInput\" class=\"form-label\">"; echo _gettext("Number of columns"); // line 10 echo "</label> <input type=\"number\" class=\"form-control\" name=\"num_fields\" id=\"createTableNumFieldsInput\" min=\"1\" value=\"4\" required> </div> <div class=\"col-12 align-self-lg-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Create"); // line 14 echo "\"> </div> </div> </form> "; } public function getTemplateName() { return "database/create_table.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 67 => 14, 60 => 10, 53 => 6, 46 => 3, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "database/create_table.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/create_table.twig"); } } twig/c7/c78c227ca21c7bf232e7c8a31c7e718c.php000064400000005277151677324010013216 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* navigation/tree/fast_filter.twig */ class __TwigTemplate_1c810557977fe441311d38db7ef35532 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 if (($context["url_params"] ?? null)) { // line 2 echo " <li class=\"fast_filter"; if (($context["is_root_node"] ?? null)) { echo " db_fast_filter"; } echo "\"> <form class=\"ajax fast_filter\"> "; // line 4 echo PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null)); echo " <div class=\"input-group\"> <input class=\"searchClause form-control\" type=\"text\" name=\""; // line 9 echo ((($context["is_root_node"] ?? null)) ? ("searchClause") : ("searchClause2")); echo "\" accesskey=\"q\" aria-label=\""; echo _gettext("Type to filter these, Enter to search all"); // line 11 echo "\" placeholder=\""; echo _gettext("Type to filter these, Enter to search all"); // line 12 echo "\" > <button class=\"btn btn-outline-secondary searchClauseClear\" type=\"button\" aria-label=\""; echo _gettext("Clear fast filter"); // line 16 echo "\">X</button> </div> </form> </li> "; } } public function getTemplateName() { return "navigation/tree/fast_filter.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 72 => 16, 65 => 12, 61 => 11, 55 => 9, 47 => 4, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "navigation/tree/fast_filter.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/fast_filter.twig"); } } twig/c7/c70d86746879580aa115022c88d500bd.php000064400000004473151677324010012636 0ustar00<?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/78/78aa94f8486650acc1a06b6477e854cd.php000064400000003210151677324010013005 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* navigation/tree/controls.twig */ class __TwigTemplate_0fddb4a7eac46e3bf5a281df47790be7 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<!-- CONTROLS START --> <li id=\"navigation_controls_outer\"> <div id=\"navigation_controls\"> "; // line 4 echo ($context["collapse_all"] ?? null); echo " "; // line 5 echo ($context["unlink"] ?? null); echo " </div> </li> <!-- CONTROLS ENDS --> "; } public function getTemplateName() { return "navigation/tree/controls.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 46 => 5, 42 => 4, 37 => 1,); } public function getSourceContext() { return new Source("", "navigation/tree/controls.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/controls.twig"); } } twig/5c/5c65fe36bd7ff1407ce97812f124a5ad.php000064400000017622151677324010013222 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* list_navigator.twig */ class __TwigTemplate_3c1dd038cd66a14cd13e4b098acc8972 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 if ((($context["max_count"] ?? null) < ($context["count"] ?? null))) { // line 2 echo "<div class=\""; echo twig_escape_filter($this->env, twig_join_filter(($context["classes"] ?? null), " "), "html", null, true); echo "\"> "; // line 3 if ((($context["frame"] ?? null) != "frame_navigation")) { // line 4 echo " "; echo _gettext("Page number:"); // line 5 echo " "; } // line 6 echo " "; // line 7 if ((($context["position"] ?? null) > 0)) { // line 8 echo " <a href=\""; echo ($context["script"] ?? null); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => 0]), "", false); echo "\""; echo (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : ("")); echo " title=\""; echo _pgettext("First page", "Begin"); echo "\"> "; // line 9 if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) { // line 10 echo " << "; } // line 12 echo " "; if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) { // line 13 echo " "; echo _pgettext("First page", "Begin"); // line 14 echo " "; } // line 15 echo " </a> <a href=\""; // line 16 echo ($context["script"] ?? null); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => (($context["position"] ?? null) - ($context["max_count"] ?? null))]), "", false); echo "\""; echo (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : ("")); echo " title=\""; echo _pgettext("Previous page", "Previous"); echo "\"> "; // line 17 if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) { // line 18 echo " < "; } // line 20 echo " "; if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) { // line 21 echo " "; echo _pgettext("Previous page", "Previous"); // line 22 echo " "; } // line 23 echo " </a> "; } // line 25 echo " <form action=\""; // line 26 echo ($context["script"] ?? null); echo "\" method=\"post\"> "; // line 27 echo PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null)); echo " "; // line 29 echo ($context["page_selector"] ?? null); echo " </form> "; // line 32 if (((($context["position"] ?? null) + ($context["max_count"] ?? null)) < ($context["count"] ?? null))) { // line 33 echo " <a href=\""; echo ($context["script"] ?? null); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => (($context["position"] ?? null) + ($context["max_count"] ?? null))]), "", false); echo "\""; echo (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : ("")); echo " title=\""; echo _pgettext("Next page", "Next"); echo "\"> "; // line 34 if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) { // line 35 echo " "; echo _pgettext("Next page", "Next"); // line 36 echo " "; } // line 37 echo " "; if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) { // line 38 echo " > "; } // line 40 echo " </a> "; // line 41 $context["last_pos"] = ((int) floor((($context["count"] ?? null) / ($context["max_count"] ?? null))) * ($context["max_count"] ?? null)); // line 42 echo " <a href=\""; echo ($context["script"] ?? null); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => (((($context["last_pos"] ?? null) == ($context["count"] ?? null))) ? ((($context["count"] ?? null) - ($context["max_count"] ?? null))) : (($context["last_pos"] ?? null)))]), "", false); echo "\""; echo (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : ("")); echo " title=\""; echo _pgettext("Last page", "End"); echo "\"> "; // line 43 if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) { // line 44 echo " "; echo _pgettext("Last page", "End"); // line 45 echo " "; } // line 46 echo " "; if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) { // line 47 echo " >> "; } // line 49 echo " </a> "; } // line 51 echo "</div> "; } } public function getTemplateName() { return "list_navigator.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 196 => 51, 192 => 49, 188 => 47, 185 => 46, 182 => 45, 179 => 44, 177 => 43, 166 => 42, 164 => 41, 161 => 40, 157 => 38, 154 => 37, 151 => 36, 148 => 35, 146 => 34, 135 => 33, 133 => 32, 127 => 29, 122 => 27, 118 => 26, 115 => 25, 111 => 23, 108 => 22, 105 => 21, 102 => 20, 98 => 18, 96 => 17, 86 => 16, 83 => 15, 80 => 14, 77 => 13, 74 => 12, 70 => 10, 68 => 9, 57 => 8, 55 => 7, 52 => 6, 49 => 5, 46 => 4, 44 => 3, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "list_navigator.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/list_navigator.twig"); } } twig/70/70c6e493288a515c736c3af73045a5fd.php000064400000037143151677324010012720 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* navigation/tree/node.twig */ class __TwigTemplate_4e8c79b149d193b93caec88da1ffa9aa extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 if (($context["show_node"] ?? null)) { // line 2 echo " <li class=\""; echo twig_escape_filter($this->env, ($context["li_classes"] ?? null), "html", null, true); echo "\"> <div class=\"block\"> <i"; // line 4 echo (((($context["class"] ?? null) == "first")) ? (" class=\"first\"") : ("")); echo "></i> "; // line 5 if (($context["node_is_group"] ?? null)) { // line 6 echo " "; echo ((!twig_in_filter("last", ($context["class"] ?? null))) ? ("<b></b>") : ("")); echo " <a class=\""; // line 7 echo twig_escape_filter($this->env, ($context["link_classes"] ?? null), "html", null, true); echo "\" href=\"#\"> <span class=\"hide paths_nav\" data-apath=\""; // line 8 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["paths"] ?? null), "a_path", [], "any", false, false, false, 8), "html", null, true); echo "\" data-vpath=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["paths"] ?? null), "v_path", [], "any", false, false, false, 8), "html", null, true); echo "\" data-pos=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["paths"] ?? null), "pos", [], "any", false, false, false, 8), "html", null, true); echo "\"></span> "; // line 9 if ( !twig_test_empty(($context["pagination_params"] ?? null))) { // line 10 echo " <span class=\"hide "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "position", [], "any", false, false, false, 10), "html", null, true); echo "\" data-name=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_name", [], "any", false, false, false, 10), "html", null, true); echo "\" data-value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_value", [], "any", false, false, false, 10), "html", null, true); echo "\"></span> "; } // line 12 echo " "; echo ($context["node_icon"] ?? null); echo " </a> "; } elseif ( !twig_test_empty( // line 14 ($context["pagination_params"] ?? null))) { // line 15 echo " <span class=\"hide "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "position", [], "any", false, false, false, 15), "html", null, true); echo "\" data-name=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_name", [], "any", false, false, false, 15), "html", null, true); echo "\" data-value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_value", [], "any", false, false, false, 15), "html", null, true); echo "\"></span> "; } // line 17 echo " </div> "; // line 18 if (($context["node_is_container"] ?? null)) { // line 19 echo " <div class=\"fst-italic\"> "; } // line 21 echo " "; // line 22 if (twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "isGroup", [], "any", false, false, false, 22)) { // line 23 echo " <div class=\"block second"; echo ((($context["has_second_icon"] ?? null)) ? (" double") : ("")); echo "\"> <u>"; // line 24 echo PhpMyAdmin\Html\Generator::getImage((($__internal_compile_0 = twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "icon", [], "any", false, false, false, 24)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["image"] ?? null) : null), (($__internal_compile_1 = twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "icon", [], "any", false, false, false, 24)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["title"] ?? null) : null)); echo "</u> </div> "; // line 26 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "name", [], "any", false, false, false, 26), "html", null, true); echo " "; } else { // line 28 echo " <div class=\"block second"; echo ((($context["has_second_icon"] ?? null)) ? (" double") : ("")); echo "\"> "; // line 29 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["icon_links"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["link"]) { // line 30 echo " <a href=\""; echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, $context["link"], "route", [], "any", false, false, false, 30), twig_get_attribute($this->env, $this->source, $context["link"], "params", [], "any", false, false, false, 30)); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["link"], "is_ajax", [], "any", false, false, false, 30)) ? (" class=\"ajax\"") : ("")); echo ">"; // line 31 echo PhpMyAdmin\Html\Generator::getImage(twig_get_attribute($this->env, $this->source, $context["link"], "image", [], "any", false, false, false, 31), twig_get_attribute($this->env, $this->source, $context["link"], "title", [], "any", false, false, false, 31)); // line 32 echo "</a> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['link'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 34 echo " </div> "; // line 36 if (($context["node_is_container"] ?? null)) { // line 37 echo " <a class=\"hover_show_full\" href=\""; echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "route", [], "any", false, false, false, 37), twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "params", [], "any", false, false, false, 37)); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "name", [], "any", false, false, false, 37), "html", null, true); echo "</a> "; } elseif (twig_in_filter("index", twig_get_attribute($this->env, $this->source, // line 38 ($context["node"] ?? null), "classes", [], "any", false, false, false, 38))) { // line 39 echo " <a class=\"hover_show_full\" href=\""; echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "route", [], "any", false, false, false, 39)); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_merge(twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "params", [], "any", false, false, false, 39), ["is_from_nav" => true])); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "title", [], "any", false, false, false, 39), "html", null, true); echo "\">"; // line 40 echo twig_escape_filter($this->env, (((twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", true, true, false, 40) && !(null === twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", false, false, false, 40)))) ? (twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", false, false, false, 40)) : (twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "realName", [], "any", false, false, false, 40))), "html", null, true); // line 41 echo "</a> "; } else { // line 43 echo " <a class=\"hover_show_full"; echo ((twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "is_ajax", [], "any", false, false, false, 43)) ? (" ajax") : ("")); echo "\" href=\""; echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "route", [], "any", false, false, false, 43), twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "params", [], "any", false, false, false, 43)); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "title", [], "any", false, false, false, 43), "html", null, true); echo "\">"; // line 44 echo twig_escape_filter($this->env, (((twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", true, true, false, 44) && !(null === twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", false, false, false, 44)))) ? (twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", false, false, false, 44)) : (twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "realName", [], "any", false, false, false, 44))), "html", null, true); // line 45 echo "</a> "; } // line 47 echo " "; } // line 48 echo " "; // line 49 echo ($context["control_buttons"] ?? null); echo " "; // line 51 if (($context["node_is_container"] ?? null)) { // line 52 echo " </div> "; } // line 54 echo " <div class=\"clearfloat\"></div> "; } elseif ( !twig_test_empty( // line 56 ($context["pagination_params"] ?? null))) { // line 57 echo " <span class=\"hide "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "position", [], "any", false, false, false, 57), "html", null, true); echo "\" data-name=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_name", [], "any", false, false, false, 57), "html", null, true); echo "\" data-value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_value", [], "any", false, false, false, 57), "html", null, true); echo "\"></span> "; } // line 59 echo " "; // line 60 if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "html", [], "any", false, false, false, 60)) && twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "has_wrapper", [], "any", false, false, false, 60))) { // line 61 echo " <div class=\"list_container\""; echo ((twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "is_hidden", [], "any", false, false, false, 61)) ? (" style=\"display: none;\"") : ("")); echo "> <ul> "; } // line 64 echo twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "html", [], "any", false, false, false, 64); echo " "; // line 65 if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "html", [], "any", false, false, false, 65)) && twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "has_wrapper", [], "any", false, false, false, 65))) { // line 66 echo " </ul> </div> "; } // line 69 echo " "; // line 70 if (($context["has_siblings"] ?? null)) { // line 71 echo " </li> "; } } public function getTemplateName() { return "navigation/tree/node.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 255 => 71, 253 => 70, 250 => 69, 245 => 66, 243 => 65, 239 => 64, 232 => 61, 230 => 60, 227 => 59, 217 => 57, 215 => 56, 211 => 54, 207 => 52, 205 => 51, 200 => 49, 197 => 48, 194 => 47, 190 => 45, 188 => 44, 180 => 43, 176 => 41, 174 => 40, 166 => 39, 164 => 38, 157 => 37, 155 => 36, 151 => 34, 144 => 32, 142 => 31, 136 => 30, 132 => 29, 127 => 28, 122 => 26, 117 => 24, 112 => 23, 110 => 22, 107 => 21, 103 => 19, 101 => 18, 98 => 17, 88 => 15, 86 => 14, 80 => 12, 70 => 10, 68 => 9, 60 => 8, 56 => 7, 51 => 6, 49 => 5, 45 => 4, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "navigation/tree/node.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/node.twig"); } } twig/70/708ae58f23a1fbcfeb5d892c50c0fdc3.php000064400000004223151677324010013341 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* modals/unhide_nav_item.twig */ class __TwigTemplate_f35c0c7493484879f8ebd759b226dd01 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class=\"modal fade\" id=\"unhideNavItemModal\" tabindex=\"-1\" aria-labelledby=\"unhideNavItemModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"unhideNavItemModalLabel\">"; echo _gettext("Show hidden navigation tree items."); // line 5 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 6 echo "\"></button> </div> <div class=\"modal-body\"></div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 10 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "modals/unhide_nav_item.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 55 => 10, 48 => 6, 44 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "modals/unhide_nav_item.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/unhide_nav_item.twig"); } } twig/70/70289909fbc7b7b52c6156328d666862.php000064400000003256151677324010012520 0ustar00<?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/92/9253447c5abf966f4b4f0d20077dba39.php000064400000003503151677324010012774 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* navigation/tree/state.twig */ class __TwigTemplate_484d1adef5e5bb9748b3dcd36970c363 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo ($context["quick_warp"] ?? null); echo " <div class=\"clearfloat\"></div> <ul> "; // line 6 echo ($context["fast_filter"] ?? null); echo " "; // line 7 echo ($context["controls"] ?? null); echo " </ul> "; // line 10 echo ($context["page_selector"] ?? null); echo " <div id='pma_navigation_tree_content'> <ul> "; // line 14 echo ($context["nodes"] ?? null); echo " </ul> </div> "; } public function getTemplateName() { return "navigation/tree/state.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 62 => 14, 55 => 10, 49 => 7, 45 => 6, 37 => 1,); } public function getSourceContext() { return new Source("", "navigation/tree/state.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/state.twig"); } } twig/03/0371e1b31fa060def7921c1cb40a0bba.php000064400000023445151677324010013137 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* navigation/main.twig */ class __TwigTemplate_15cfde19af2e260e75491937885cf6a7 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 if ( !($context["is_ajax"] ?? null)) { // line 2 echo " <div id=\"pma_navigation\" class=\"d-print-none\" data-config-navigation-width=\""; echo twig_escape_filter($this->env, ($context["config_navigation_width"] ?? null), "html", null, true); echo "\"> <div id=\"pma_navigation_resizer\"></div> <div id=\"pma_navigation_collapser\"></div> <div id=\"pma_navigation_content\"> <div id=\"pma_navigation_header\"> "; // line 8 if (twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "is_displayed", [], "any", false, false, false, 8)) { // line 9 echo " <div id=\"pmalogo\"> "; // line 10 if (twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "has_link", [], "any", false, false, false, 10)) { // line 11 echo " <a href=\""; echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "link", [], "any", true, true, false, 11)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "link", [], "any", false, false, false, 11), "#")) : ("#")), "html", null, true); echo "\""; echo twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "attributes", [], "any", false, false, false, 11); echo "> "; } // line 13 echo " "; if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "source", [], "any", false, false, false, 13))) { // line 14 echo " <img id=\"imgpmalogo\" src=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "source", [], "any", false, false, false, 14), "html", null, true); echo "\" alt=\"phpMyAdmin\"> "; } else { // line 16 echo " <h1>phpMyAdmin</h1> "; } // line 18 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "has_link", [], "any", false, false, false, 18)) { // line 19 echo " </a> "; } // line 21 echo " </div> "; } // line 23 echo " <div id=\"navipanellinks\"> <a href=\""; // line 25 echo PhpMyAdmin\Url::getFromRoute("/"); echo "\" title=\""; echo _gettext("Home"); echo "\">"; // line 26 echo PhpMyAdmin\Html\Generator::getImage("b_home", _gettext("Home")); // line 27 echo "</a> <a href=\""; // line 29 echo PhpMyAdmin\Html\MySQLDocumentation::getDocumentationLink("index"); echo "\" title=\""; echo _gettext("phpMyAdmin documentation"); echo "\" target=\"_blank\" rel=\"noopener noreferrer\">"; // line 30 echo PhpMyAdmin\Html\Generator::getImage("b_docs", _gettext("phpMyAdmin documentation")); // line 31 echo "</a> <a href=\""; // line 33 echo PhpMyAdmin\Util::getdocuURL(($context["is_mariadb"] ?? null)); echo "\" title=\""; echo twig_escape_filter($this->env, ((($context["is_mariadb"] ?? null)) ? (_gettext("MariaDB Documentation")) : (_gettext("MySQL Documentation"))), "html", null, true); echo "\" target=\"_blank\" rel=\"noopener noreferrer\">"; // line 34 echo PhpMyAdmin\Html\Generator::getImage("b_sqlhelp", ((($context["is_mariadb"] ?? null)) ? (_gettext("MariaDB Documentation")) : (_gettext("MySQL Documentation")))); // line 35 echo "</a> <a id=\"pma_navigation_settings_icon\""; // line 37 echo (( !($context["is_navigation_settings_enabled"] ?? null)) ? (" class=\"hide\"") : ("")); echo " href=\"#\" title=\""; echo _gettext("Navigation panel settings"); echo "\">"; // line 38 echo PhpMyAdmin\Html\Generator::getImage("s_cog", _gettext("Navigation panel settings")); // line 39 echo "</a> <a id=\"pma_navigation_reload\" href=\"#\" title=\""; echo _gettext("Reload navigation panel"); // line 41 echo "\">"; // line 42 echo PhpMyAdmin\Html\Generator::getImage("s_reload", _gettext("Reload navigation panel")); // line 43 echo "</a> </div> "; // line 46 if ((($context["is_servers_displayed"] ?? null) && (twig_length_filter($this->env, ($context["servers"] ?? null)) > 1))) { // line 47 echo " <div id=\"serverChoice\"> "; // line 48 echo ($context["server_select"] ?? null); echo " </div> "; } // line 51 echo " "; // line 52 echo PhpMyAdmin\Html\Generator::getImage("ajax_clock_small", _gettext("Loading…"), ["style" => "visibility: hidden; display:none", "class" => "throbber"]); // line 55 echo " </div> <div id=\"pma_navigation_tree\" class=\"list_container"; // line 57 echo ((($context["is_synced"] ?? null)) ? (" synced") : ("")); echo ((($context["is_highlighted"] ?? null)) ? (" highlight") : ("")); echo ((($context["is_autoexpanded"] ?? null)) ? (" autoexpand") : ("")); echo "\"> "; } // line 59 echo " "; // line 60 if ( !($context["navigation_tree"] ?? null)) { // line 61 echo " "; echo $this->env->getFilter('error')->getCallable()(_gettext("An error has occurred while loading the navigation display")); echo " "; } else { // line 63 echo " "; echo ($context["navigation_tree"] ?? null); echo " "; } // line 65 echo " "; // line 66 if ( !($context["is_ajax"] ?? null)) { // line 67 echo " </div> <div id=\"pma_navi_settings_container\"> "; // line 70 if (($context["is_navigation_settings_enabled"] ?? null)) { // line 71 echo " "; echo ($context["navigation_settings"] ?? null); echo " "; } // line 73 echo " </div> </div> "; // line 76 if (($context["is_drag_drop_import_enabled"] ?? null)) { // line 77 echo " <div class=\"pma_drop_handler\"> "; echo _gettext("Drop files here"); // line 79 echo " </div> <div class=\"pma_sql_import_status\"> <h2> "; echo _gettext("SQL upload"); // line 83 echo " ( <span class=\"pma_import_count\">0</span> ) <span class=\"close\">x</span> <span class=\"minimize\">-</span> </h2> <div></div> </div> "; } // line 90 echo " </div> "; // line 91 echo twig_include($this->env, $context, "modals/unhide_nav_item.twig"); echo " "; // line 92 echo twig_include($this->env, $context, "modals/create_view.twig"); echo " "; } } public function getTemplateName() { return "navigation/main.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 241 => 92, 237 => 91, 234 => 90, 225 => 83, 219 => 79, 215 => 77, 213 => 76, 208 => 73, 202 => 71, 200 => 70, 195 => 67, 193 => 66, 190 => 65, 184 => 63, 178 => 61, 176 => 60, 173 => 59, 166 => 57, 162 => 55, 160 => 52, 157 => 51, 151 => 48, 148 => 47, 146 => 46, 141 => 43, 139 => 42, 137 => 41, 132 => 39, 130 => 38, 125 => 37, 121 => 35, 119 => 34, 114 => 33, 110 => 31, 108 => 30, 103 => 29, 99 => 27, 97 => 26, 92 => 25, 88 => 23, 84 => 21, 80 => 19, 77 => 18, 73 => 16, 67 => 14, 64 => 13, 56 => 11, 54 => 10, 51 => 9, 49 => 8, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "navigation/main.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/main.twig"); } } twig/03/03c5caa2de955e871f8ce6b633d37a9f.php000064400000003516151677324010013216 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/import/index.twig */ class __TwigTemplate_e5bc68d72c218916c460f5bcb77f05b8 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'title' => [$this, 'block_title'], ]; } protected function doGetParent(array $context) { // line 1 return "import.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $this->parent = $this->loadTemplate("import.twig", "database/import/index.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_title($context, array $blocks = []) { $macros = $this->macros; echo twig_escape_filter($this->env, twig_sprintf(_gettext("Importing into the database \"%s\""), ($context["db"] ?? null)), "html", null, true); } public function getTemplateName() { return "database/import/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 46 => 3, 35 => 1,); } public function getSourceContext() { return new Source("", "database/import/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/import/index.twig"); } } twig/03/0329455ef303df248089f4105659b2ab.php000064400000005154151677324010012544 0ustar00<?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/76/7680b73fa035603af074a64ec837a7f5.php000064400000004462151677324010012721 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* modals/create_view.twig */ class __TwigTemplate_89ec088aaa4abc621622b6e4223a8b93 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class=\"modal fade\" id=\"createViewModal\" tabindex=\"-1\" aria-labelledby=\"createViewModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog modal-lg\" id=\"createViewModalDialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"createViewModalLabel\">"; echo _gettext("Create view"); // line 5 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 6 echo "\"></button> </div> <div class=\"modal-body\"></div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"createViewModalGoButton\">"; echo _gettext("Go"); // line 10 echo "</button> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 11 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "modals/create_view.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 59 => 11, 55 => 10, 48 => 6, 44 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "modals/create_view.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/create_view.twig"); } } twig/76/7642c21b2c4ea34e3ab8d59166905b19.php000064400000065334151677324010012720 0ustar00<?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/fd/fdaa031d86abff49d58ea187b3356628.php000064400000004756151677324010013311 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* preferences/autoload.twig */ class __TwigTemplate_120aa079c5e2ae993c50ab523434e1f3 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div id=\"prefs_autoload\" class=\"alert alert-primary d-print-none hide\" role=\"alert\"> <form action=\""; // line 2 echo PhpMyAdmin\Url::getFromRoute("/preferences/manage"); echo "\" method=\"post\" class=\"disableAjax\"> "; // line 3 echo ($context["hidden_inputs"] ?? null); echo " <input type=\"hidden\" name=\"json\" value=\"\"> <input type=\"hidden\" name=\"submit_import\" value=\"1\"> <input type=\"hidden\" name=\"return_url\" value=\""; // line 6 echo twig_escape_filter($this->env, ($context["return_url"] ?? null), "html", null, true); echo "\"> "; echo _gettext("Your browser has phpMyAdmin configuration for this domain. Would you like to import it for current session?"); // line 10 echo " <br> <a href=\"#yes\">"; echo _gettext("Yes"); // line 11 echo "</a> / <a href=\"#no\">"; echo _gettext("No"); // line 12 echo "</a> / <a href=\"#delete\">"; echo _gettext("Delete settings"); // line 13 echo "</a> </form> </div> "; } public function getTemplateName() { return "preferences/autoload.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 67 => 13, 63 => 12, 59 => 11, 55 => 10, 50 => 6, 44 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "preferences/autoload.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/preferences/autoload.twig"); } } twig/fd/fddd1b733da4f42e7c6db6f938928c22.php000064400000004175151677324010013370 0ustar00<?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/94/94bcef80759cbeb52df9f00f3e793bdd.php000064400000017403151677324010013376 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* menu/breadcrumbs.twig */ class __TwigTemplate_dc55ab79ae3492675a8b93909dd74492 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div id=\"floating_menubar\" class=\"d-print-none\"></div> <nav id=\"server-breadcrumb\" aria-label=\"breadcrumb\"> <ol class=\"breadcrumb breadcrumb-navbar\"> <li class=\"breadcrumb-item\"> "; // line 5 echo ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (PhpMyAdmin\Html\Generator::getImage("s_host")) : ("")); echo " <a href=\""; // line 6 echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["server"] ?? null), "url", [], "any", false, false, false, 6)); echo "\" data-raw-text=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["server"] ?? null), "name", [], "any", false, false, false, 6), "html", null, true); echo "\" draggable=\"false\"> "; // line 7 if (PhpMyAdmin\Util::showText("TabsMode")) { echo _gettext("Server:"); } // line 8 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["server"] ?? null), "name", [], "any", false, false, false, 8), "html", null, true); echo " </a> </li> "; // line 12 if ( !twig_test_empty(($context["database"] ?? null))) { // line 13 echo " <li class=\"breadcrumb-item\"> "; // line 14 echo ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (PhpMyAdmin\Html\Generator::getImage("s_db")) : ("")); echo " <a href=\""; // line 15 echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "url", [], "any", false, false, false, 15), ["db" => twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 15)]); echo "\" data-raw-text=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 15), "html", null, true); echo "\" draggable=\"false\"> "; // line 16 if (PhpMyAdmin\Util::showText("TabsMode")) { echo _gettext("Database:"); } // line 17 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 17), "html", null, true); echo " </a> </li> "; // line 21 if ( !twig_test_empty(($context["table"] ?? null))) { // line 22 echo " <li class=\"breadcrumb-item\"> "; // line 23 echo ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (PhpMyAdmin\Html\Generator::getImage(((twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "is_view", [], "any", false, false, false, 23)) ? ("b_views") : ("s_tbl")))) : ("")); echo " <a href=\""; // line 24 echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "url", [], "any", false, false, false, 24), ["db" => twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 24), "table" => twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 24)]); echo "\" data-raw-text=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 24), "html", null, true); echo "\" draggable=\"false\"> "; // line 25 if (PhpMyAdmin\Util::showText("TabsMode")) { // line 26 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "is_view", [], "any", false, false, false, 26)) { // line 27 echo " "; echo _gettext("View:"); // line 28 echo " "; } else { // line 29 echo " "; echo _gettext("Table:"); // line 30 echo " "; } // line 31 echo " "; } // line 32 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 32), "html", null, true); echo " </a> </li> "; // line 36 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "comment", [], "any", false, false, false, 36))) { // line 37 echo " <span class=\"breadcrumb-comment\" draggable=\"false\">“"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "comment", [], "any", false, false, false, 37), "html", null, true); echo "”</span> "; } // line 39 echo " "; } elseif ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "comment", [], "any", false, false, false, 39))) { // line 40 echo " <span class=\"breadcrumb-comment\" draggable=\"false\">“"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "comment", [], "any", false, false, false, 40), "html", null, true); echo "”</span> "; } // line 42 echo " "; } // line 43 echo " </ol> </nav> "; } public function getTemplateName() { return "menu/breadcrumbs.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 155 => 43, 152 => 42, 146 => 40, 143 => 39, 137 => 37, 135 => 36, 127 => 32, 124 => 31, 121 => 30, 118 => 29, 115 => 28, 112 => 27, 109 => 26, 107 => 25, 101 => 24, 97 => 23, 94 => 22, 92 => 21, 84 => 17, 80 => 16, 74 => 15, 70 => 14, 67 => 13, 65 => 12, 57 => 8, 53 => 7, 47 => 6, 43 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "menu/breadcrumbs.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/menu/breadcrumbs.twig"); } } twig/94/94e2f47428f1a9c041a6aa5c416392b9.php000064400000004527151677324010012721 0ustar00<?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/56/56f24d4e74f759303f4a8aa0d10081a1.php000064400000010227151677324010012675 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* top_menu.twig */ class __TwigTemplate_de626ffd8a207ff8c4228c6b23e10ca3 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div id=\"topmenucontainer\" class=\"menucontainer\"> <nav class=\"navbar navbar-expand-lg navbar-light bg-light\"> <button class=\"navbar-toggler\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#navbarNav\" aria-label=\""; // l10n: Show or hide the menu using the hamburger style button echo _gettext("Toggle navigation"); // line 4 echo "\" aria-controls=\"navbarNav\" aria-expanded=\"false\"> <span class=\"navbar-toggler-icon\"></span> </button> <div class=\"collapse navbar-collapse\" id=\"navbarNav\"> <ul id=\"topmenu\" class=\"navbar-nav\"> "; // line 9 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["tabs"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["tab"]) { // line 10 echo " <li class=\"nav-item"; echo ((twig_get_attribute($this->env, $this->source, $context["tab"], "active", [], "any", false, false, false, 10)) ? (" active") : ("")); echo "\"> <a class=\"nav-link text-nowrap\" href=\""; // line 11 echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, $context["tab"], "route", [], "any", false, false, false, 11), twig_array_merge(($context["url_params"] ?? null), (((twig_get_attribute($this->env, $this->source, $context["tab"], "args", [], "any", true, true, false, 11) && !(null === twig_get_attribute($this->env, $this->source, $context["tab"], "args", [], "any", false, false, false, 11)))) ? (twig_get_attribute($this->env, $this->source, $context["tab"], "args", [], "any", false, false, false, 11)) : ([])))); echo "\"> "; // line 12 echo PhpMyAdmin\Html\Generator::getIcon(twig_get_attribute($this->env, $this->source, $context["tab"], "icon", [], "any", false, false, false, 12), twig_get_attribute($this->env, $this->source, $context["tab"], "text", [], "any", false, false, false, 12), false, true, "TabsMode"); echo " "; // line 13 if (twig_get_attribute($this->env, $this->source, $context["tab"], "active", [], "any", false, false, false, 13)) { // line 14 echo " <span class=\"visually-hidden\">"; // l10n: Current page echo _gettext("(current)"); echo "</span> "; } // line 16 echo " </a> </li> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tab'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 19 echo " </ul> </div> </nav> </div> "; } public function getTemplateName() { return "top_menu.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 84 => 19, 76 => 16, 69 => 14, 67 => 13, 63 => 12, 59 => 11, 54 => 10, 50 => 9, 43 => 4, 37 => 1,); } public function getSourceContext() { return new Source("", "top_menu.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/top_menu.twig"); } } twig/56/56bece8e5eb4bb45c7e35ee60a186382.php000064400000006421151677324010013221 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* console/toolbar.twig */ class __TwigTemplate_a9923f986736199124180a1a38ceb43c extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class=\"toolbar "; echo twig_escape_filter($this->env, ($context["parent_div_classes"] ?? null), "html", null, true); echo "\"> "; // line 2 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["content_array"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["content"]) { // line 3 echo " "; if ((array_key_exists("content", $context) && !(null === $context["content"]))) { // line 4 echo " <div class=\""; echo twig_escape_filter($this->env, (($__internal_compile_0 = $context["content"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true); echo "\"> "; // line 5 echo ((twig_get_attribute($this->env, $this->source, $context["content"], "image", [], "array", true, true, false, 5)) ? ((($__internal_compile_1 = $context["content"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["image"] ?? null) : null)) : ("")); echo " <span>"; // line 6 echo twig_escape_filter($this->env, (($__internal_compile_2 = $context["content"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[1] ?? null) : null), "html", null, true); echo "</span> </div> "; } // line 9 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 10 echo "</div> "; } public function getTemplateName() { return "console/toolbar.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 70 => 10, 64 => 9, 58 => 6, 54 => 5, 49 => 4, 46 => 3, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "console/toolbar.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/console/toolbar.twig"); } } twig/9f/9fe19f4ee25c655feab0874afb9f92db.php000064400000034474151677324010013474 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* console/display.twig */ class __TwigTemplate_f88c8fbab09723c278d29d5623cbd2e8 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div id=\"pma_console_container\" class=\"d-print-none\"> <div id=\"pma_console\"> "; // line 4 echo " "; $this->loadTemplate("console/toolbar.twig", "console/display.twig", 4)->display(twig_to_array(["parent_div_classes" => "collapsed", "content_array" => [0 => [0 => "switch_button console_switch", 1 => _gettext("Console"), "image" => // line 7 ($context["image"] ?? null)], 1 => [0 => "button clear", 1 => _gettext("Clear")], 2 => [0 => "button history", 1 => _gettext("History")], 3 => [0 => "button options", 1 => _gettext("Options")], 4 => (( // line 11 ($context["has_bookmark_feature"] ?? null)) ? ([0 => "button bookmarks", 1 => _gettext("Bookmarks")]) : (null)), 5 => [0 => "button debug hide", 1 => _gettext("Debug SQL")]]])); // line 15 echo " "; // line 16 echo " <div class=\"content\"> <div class=\"console_message_container\"> <div class=\"message welcome\"> <span id=\"instructions-0\"> "; echo _gettext("Press Ctrl+Enter to execute query"); // line 21 echo " </span> <span class=\"hide\" id=\"instructions-1\"> "; echo _gettext("Press Enter to execute query"); // line 24 echo " </span> </div> "; // line 26 if ( !twig_test_empty(($context["sql_history"] ?? null))) { // line 27 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_reverse_filter($this->env, ($context["sql_history"] ?? null))); foreach ($context['_seq'] as $context["_key"] => $context["record"]) { // line 28 echo " <div class=\"message history collapsed hide"; // line 29 echo ((twig_matches("@^SELECT[[:space:]]+@i", (($__internal_compile_0 = $context["record"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["sqlquery"] ?? null) : null))) ? (" select") : ("")); echo "\" targetdb=\""; // line 30 echo twig_escape_filter($this->env, (($__internal_compile_1 = $context["record"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["db"] ?? null) : null), "html", null, true); echo "\" targettable=\""; echo twig_escape_filter($this->env, (($__internal_compile_2 = $context["record"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["table"] ?? null) : null), "html", null, true); echo "\"> "; // line 31 $this->loadTemplate("console/query_action.twig", "console/display.twig", 31)->display(twig_to_array(["parent_div_classes" => "action_content", "content_array" => [0 => [0 => "action collapse", 1 => _gettext("Collapse")], 1 => [0 => "action expand", 1 => _gettext("Expand")], 2 => [0 => "action requery", 1 => _gettext("Requery")], 3 => [0 => "action edit", 1 => _gettext("Edit")], 4 => [0 => "action explain", 1 => _gettext("Explain")], 5 => [0 => "action profiling", 1 => _gettext("Profiling")], 6 => (( // line 40 ($context["has_bookmark_feature"] ?? null)) ? ([0 => "action bookmark", 1 => _gettext("Bookmark")]) : (null)), 7 => [0 => "text failed", 1 => _gettext("Query failed")], 8 => [0 => "text targetdb", 1 => _gettext("Database"), "extraSpan" => (($__internal_compile_3 = // line 42 $context["record"]) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["db"] ?? null) : null)], 9 => [0 => "text query_time", 1 => _gettext("Queried time"), "extraSpan" => ((twig_get_attribute($this->env, $this->source, // line 46 $context["record"], "timevalue", [], "array", true, true, false, 46)) ? ((($__internal_compile_4 = // line 47 $context["record"]) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["timevalue"] ?? null) : null)) : (_gettext("During current session")))]]])); // line 51 echo " <span class=\"query\">"; echo twig_escape_filter($this->env, (($__internal_compile_5 = $context["record"]) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["sqlquery"] ?? null) : null), "html", null, true); echo "</span> </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['record'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 54 echo " "; } // line 55 echo " </div><!-- console_message_container --> <div class=\"query_input\"> <span class=\"console_query_input\"></span> </div> </div><!-- message end --> "; // line 61 echo " <div class=\"mid_layer\"></div> "; // line 63 echo " <div class=\"card\" id=\"debug_console\"> "; // line 64 $this->loadTemplate("console/toolbar.twig", "console/display.twig", 64)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "button order order_asc", 1 => _gettext("ascending")], 1 => [0 => "button order order_desc", 1 => _gettext("descending")], 2 => [0 => "text", 1 => _gettext("Order:")], 3 => [0 => "switch_button", 1 => _gettext("Debug SQL")], 4 => [0 => "button order_by sort_count", 1 => _gettext("Count")], 5 => [0 => "button order_by sort_exec", 1 => _gettext("Execution order")], 6 => [0 => "button order_by sort_time", 1 => _gettext("Time taken")], 7 => [0 => "text", 1 => _gettext("Order by:")], 8 => [0 => "button group_queries", 1 => _gettext("Group queries")], 9 => [0 => "button ungroup_queries", 1 => _gettext("Ungroup queries")]]])); // line 79 echo " <div class=\"content debug\"> <div class=\"message welcome\"></div> <div class=\"debugLog\"></div> </div> <!-- Content --> <div class=\"templates\"> "; // line 84 $this->loadTemplate("console/query_action.twig", "console/display.twig", 84)->display(twig_to_array(["parent_div_classes" => "debug_query action_content", "content_array" => [0 => [0 => "action collapse", 1 => _gettext("Collapse")], 1 => [0 => "action expand", 1 => _gettext("Expand")], 2 => [0 => "action dbg_show_trace", 1 => _gettext("Show trace")], 3 => [0 => "action dbg_hide_trace", 1 => _gettext("Hide trace")], 4 => [0 => "text count hide", 1 => _gettext("Count"), "extraSpan" => ""], 5 => [0 => "text time", 1 => _gettext("Time taken"), "extraSpan" => ""]]])); // line 95 echo " </div> <!-- Template --> </div> <!-- Debug SQL card --> "; // line 97 if (($context["has_bookmark_feature"] ?? null)) { // line 98 echo " <div class=\"card\" id=\"pma_bookmarks\"> "; // line 99 $this->loadTemplate("console/toolbar.twig", "console/display.twig", 99)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "switch_button", 1 => _gettext("Bookmarks")], 1 => [0 => "button refresh", 1 => _gettext("Refresh")], 2 => [0 => "button add", 1 => _gettext("Add")]]])); // line 107 echo " <div class=\"content bookmark\"> "; // line 108 echo ($context["bookmark_content"] ?? null); echo " </div> <div class=\"mid_layer\"></div> <div class=\"card add\"> "; // line 112 $this->loadTemplate("console/toolbar.twig", "console/display.twig", 112)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "switch_button", 1 => _gettext("Add bookmark")]]])); // line 118 echo " <div class=\"content add_bookmark\"> <div class=\"options\"> <label> "; echo _gettext("Label"); // line 121 echo ": <input type=\"text\" name=\"label\"> </label> <label> "; echo _gettext("Target database"); // line 124 echo ": <input type=\"text\" name=\"targetdb\"> </label> <label> <input type=\"checkbox\" name=\"shared\">"; echo _gettext("Share this bookmark"); // line 128 echo " </label> <button class=\"btn btn-primary\" type=\"submit\" name=\"submit\">"; echo _gettext("OK"); // line 129 echo "</button> </div> <!-- options --> <div class=\"query_input\"> <span class=\"bookmark_add_input\"></span> </div> </div> </div> <!-- Add bookmark card --> </div> <!-- Bookmarks card --> "; } // line 138 echo " "; // line 139 echo " <div class=\"card\" id=\"pma_console_options\"> "; // line 140 $this->loadTemplate("console/toolbar.twig", "console/display.twig", 140)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "switch_button", 1 => _gettext("Options")], 1 => [0 => "button default", 1 => _gettext("Set default")]]])); // line 147 echo " <div class=\"content\"> <label> <input type=\"checkbox\" name=\"always_expand\">"; echo _gettext("Always expand query messages"); // line 150 echo " </label> <br> <label> <input type=\"checkbox\" name=\"start_history\">"; echo _gettext("Show query history at start"); // line 154 echo " </label> <br> <label> <input type=\"checkbox\" name=\"current_query\">"; echo _gettext("Show current browsing query"); // line 158 echo " </label> <br> <label> <input type=\"checkbox\" name=\"enter_executes\"> "; echo _gettext("Execute queries on Enter and insert new line with Shift+Enter. To make this permanent, view settings."); // line 165 echo " </label> <br> <label> <input type=\"checkbox\" name=\"dark_theme\">"; echo _gettext("Switch to dark theme"); // line 169 echo " </label> <br> </div> </div> <!-- Options card --> <div class=\"templates\"> "; // line 175 echo " "; $this->loadTemplate("console/query_action.twig", "console/display.twig", 175)->display(twig_to_array(["parent_div_classes" => "query_actions", "content_array" => [0 => [0 => "action collapse", 1 => _gettext("Collapse")], 1 => [0 => "action expand", 1 => _gettext("Expand")], 2 => [0 => "action requery", 1 => _gettext("Requery")], 3 => [0 => "action edit", 1 => _gettext("Edit")], 4 => [0 => "action explain", 1 => _gettext("Explain")], 5 => [0 => "action profiling", 1 => _gettext("Profiling")], 6 => (( // line 184 ($context["has_bookmark_feature"] ?? null)) ? ([0 => "action bookmark", 1 => _gettext("Bookmark")]) : (null)), 7 => [0 => "text failed", 1 => _gettext("Query failed")], 8 => [0 => "text targetdb", 1 => _gettext("Database"), "extraSpan" => ""], 9 => [0 => "text query_time", 1 => _gettext("Queried time"), "extraSpan" => ""]]])); // line 190 echo " </div> </div> <!-- #console end --> </div> <!-- #console_container end --> "; } public function getTemplateName() { return "console/display.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 230 => 190, 228 => 184, 226 => 175, 219 => 169, 213 => 165, 206 => 158, 200 => 154, 194 => 150, 189 => 147, 187 => 140, 184 => 139, 182 => 138, 171 => 129, 167 => 128, 161 => 124, 155 => 121, 149 => 118, 147 => 112, 140 => 108, 137 => 107, 135 => 99, 132 => 98, 130 => 97, 126 => 95, 124 => 84, 117 => 79, 115 => 64, 112 => 63, 109 => 61, 102 => 55, 99 => 54, 89 => 51, 87 => 47, 86 => 46, 85 => 42, 84 => 40, 83 => 31, 77 => 30, 73 => 29, 71 => 28, 66 => 27, 64 => 26, 60 => 24, 55 => 21, 48 => 16, 46 => 15, 44 => 11, 43 => 7, 41 => 4, 37 => 1,); } public function getSourceContext() { return new Source("", "console/display.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/console/display.twig"); } } twig/9f/9f28ad63af1b761e2f7f6db310290485.php000064400000005050151677324010013057 0ustar00<?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/1b/1b9f966d0f6e0b02fdc4489c98537f12.php000064400000006771151677324010013073 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* console/query_action.twig */ class __TwigTemplate_82a489a5b02c315a4c34e261ebad6e10 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class=\""; echo twig_escape_filter($this->env, ($context["parent_div_classes"] ?? null), "html", null, true); echo "\"> "; // line 2 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["content_array"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["content"]) { // line 3 echo " "; if (array_key_exists("content", $context)) { // line 4 echo " <span class=\""; echo twig_escape_filter($this->env, (($__internal_compile_0 = $context["content"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true); echo "\"> "; // line 5 echo twig_escape_filter($this->env, (($__internal_compile_1 = $context["content"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null), "html", null, true); echo " "; // line 6 if (twig_get_attribute($this->env, $this->source, $context["content"], "extraSpan", [], "array", true, true, false, 6)) { // line 7 echo " : <span>"; echo twig_escape_filter($this->env, (($__internal_compile_2 = $context["content"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["extraSpan"] ?? null) : null), "html", null, true); echo "</span> "; } // line 9 echo " </span> "; } // line 11 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 12 echo "</div> "; } public function getTemplateName() { return "console/query_action.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 76 => 12, 70 => 11, 66 => 9, 60 => 7, 58 => 6, 54 => 5, 49 => 4, 46 => 3, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "console/query_action.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/console/query_action.twig"); } } twig/1b/1ba348f61bb8ad1222332233d6f6718a.php000064400000004026151677324010012737 0ustar00<?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/a5/a5846a39b24a3892139f9a436f157650.php000064400000013563151677324010012565 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* scripts.twig */ class __TwigTemplate_2d65c7355a324eb59c71196d6607860b extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["files"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["file"]) { // line 2 echo " <script data-cfasync=\"false\" type=\"text/javascript\" src=\""; echo twig_escape_filter($this->env, ($context["base_dir"] ?? null), "html", null, true); echo "js/"; // line 3 echo twig_escape_filter($this->env, ((((is_string($__internal_compile_0 = twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)) && is_string($__internal_compile_1 = "vendor/") && ('' === $__internal_compile_1 || 0 === strpos($__internal_compile_0, $__internal_compile_1))) || (is_string($__internal_compile_2 = twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)) && is_string($__internal_compile_3 = "messages.php") && ('' === $__internal_compile_3 || 0 === strpos($__internal_compile_2, $__internal_compile_3))))) ? (twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)) : (("dist/" . twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)))), "html", null, true); // line 4 ((twig_in_filter(".php", twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 4))) ? (print (PhpMyAdmin\Url::getCommon(twig_array_merge(twig_get_attribute($this->env, $this->source, $context["file"], "params", [], "any", false, false, false, 4), ["v" => ($context["version"] ?? null)])))) : (print (twig_escape_filter($this->env, ("?v=" . twig_urlencode_filter(($context["version"] ?? null))), "html", null, true)))); echo "\"></script> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 6 echo " <script data-cfasync=\"false\" type=\"text/javascript\"> // <![CDATA[ "; // line 9 echo ($context["code"] ?? null); echo " "; // line 10 if ( !twig_test_empty(($context["files"] ?? null))) { // line 11 echo "AJAX.scriptHandler "; // line 12 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["files"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["file"]) { // line 13 echo " .add('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 13)); echo "', "; echo ((twig_get_attribute($this->env, $this->source, $context["file"], "has_onload", [], "any", false, false, false, 13)) ? (1) : (0)); echo ") "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 15 echo "; \$(function() { "; // line 17 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["files"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["file"]) { // line 18 echo " "; if (twig_get_attribute($this->env, $this->source, $context["file"], "has_onload", [], "any", false, false, false, 18)) { // line 19 echo " AJAX.fireOnload('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 19)); echo "'); "; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 22 echo "}); "; } // line 24 echo "// ]]> </script> "; } public function getTemplateName() { return "scripts.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 109 => 24, 105 => 22, 95 => 19, 92 => 18, 88 => 17, 84 => 15, 73 => 13, 69 => 12, 66 => 11, 64 => 10, 60 => 9, 55 => 6, 47 => 4, 45 => 3, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "scripts.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/scripts.twig"); } } twig/e9/e991b4d0ba6a8cb780fe933d65614846.php000064400000015745151677324010013103 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* header.twig */ class __TwigTemplate_328c6a7ac0bdfe9d475a1cd10ab711d8 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<!doctype html> <html lang=\""; // line 2 echo twig_escape_filter($this->env, ($context["lang"] ?? null), "html", null, true); echo "\" dir=\""; echo twig_escape_filter($this->env, ($context["text_dir"] ?? null), "html", null, true); echo "\"> <head> <meta charset=\"utf-8\"> <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"> <meta name=\"referrer\" content=\"no-referrer\"> <meta name=\"robots\" content=\"noindex,nofollow,notranslate\"> <meta name=\"google\" content=\"notranslate\"> "; // line 9 if ( !($context["allow_third_party_framing"] ?? null)) { // line 10 echo "<style id=\"cfs-style\">html{display: none;}</style>"; } // line 12 echo " <link rel=\"icon\" href=\"favicon.ico\" type=\"image/x-icon\"> <link rel=\"shortcut icon\" href=\"favicon.ico\" type=\"image/x-icon\"> <link rel=\"stylesheet\" type=\"text/css\" href=\""; // line 15 echo twig_escape_filter($this->env, ($context["theme_path"] ?? null), "html", null, true); echo "/jquery/jquery-ui.css\"> <link rel=\"stylesheet\" type=\"text/css\" href=\""; // line 16 echo twig_escape_filter($this->env, ($context["base_dir"] ?? null), "html", null, true); echo "js/vendor/codemirror/lib/codemirror.css?"; echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true); echo "\"> <link rel=\"stylesheet\" type=\"text/css\" href=\""; // line 17 echo twig_escape_filter($this->env, ($context["base_dir"] ?? null), "html", null, true); echo "js/vendor/codemirror/addon/hint/show-hint.css?"; echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true); echo "\"> <link rel=\"stylesheet\" type=\"text/css\" href=\""; // line 18 echo twig_escape_filter($this->env, ($context["base_dir"] ?? null), "html", null, true); echo "js/vendor/codemirror/addon/lint/lint.css?"; echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true); echo "\"> <link rel=\"stylesheet\" type=\"text/css\" href=\""; // line 19 echo twig_escape_filter($this->env, ($context["theme_path"] ?? null), "html", null, true); echo "/css/theme"; echo (((($context["text_dir"] ?? null) == "rtl")) ? (".rtl") : ("")); echo ".css?"; echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true); echo "\"> <title>"; // line 20 echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true); echo "</title> "; // line 21 echo ($context["scripts"] ?? null); echo " <noscript><style>html{display:block}</style></noscript> </head> <body"; // line 24 (( !twig_test_empty(($context["body_id"] ?? null))) ? (print (twig_escape_filter($this->env, (" id=" . ($context["body_id"] ?? null)), "html", null, true))) : (print (""))); echo "> "; // line 25 echo ($context["navigation"] ?? null); echo " "; // line 26 echo ($context["custom_header"] ?? null); echo " "; // line 27 echo ($context["load_user_preferences"] ?? null); echo " "; // line 29 if ( !($context["show_hint"] ?? null)) { // line 30 echo " <span id=\"no_hint\" class=\"hide\"></span> "; } // line 32 echo " "; // line 33 if (($context["is_warnings_enabled"] ?? null)) { // line 34 echo " <noscript> "; // line 35 echo $this->env->getFilter('error')->getCallable()(_gettext("Javascript must be enabled past this point!")); echo " </noscript> "; } // line 38 echo " "; // line 39 if ((($context["is_menu_enabled"] ?? null) && (($context["server"] ?? null) > 0))) { // line 40 echo " "; echo ($context["menu"] ?? null); echo " <span id=\"page_nav_icons\" class=\"d-print-none\"> <span id=\"lock_page_icon\"></span> <span id=\"page_settings_icon\"> "; // line 44 echo PhpMyAdmin\Html\Generator::getImage("s_cog", _gettext("Page-related settings")); echo " </span> <a id=\"goto_pagetop\" href=\"#\">"; // line 46 echo PhpMyAdmin\Html\Generator::getImage("s_top", _gettext("Click on the bar to scroll to top of page")); echo "</a> </span> "; } // line 49 echo " "; // line 50 echo ($context["console"] ?? null); echo " <div id=\"page_content\"> "; // line 53 echo ($context["messages"] ?? null); echo " "; // line 55 echo ($context["recent_table"] ?? null); // line 56 if (($context["is_logged_in"] ?? null)) { // line 57 echo twig_include($this->env, $context, "modals/preview_sql_modal.twig"); echo " "; // line 58 echo twig_include($this->env, $context, "modals/enum_set_editor.twig"); echo " "; // line 59 echo twig_include($this->env, $context, "modals/create_view.twig"); } } public function getTemplateName() { return "header.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 189 => 59, 185 => 58, 181 => 57, 179 => 56, 177 => 55, 172 => 53, 166 => 50, 163 => 49, 157 => 46, 152 => 44, 144 => 40, 142 => 39, 139 => 38, 133 => 35, 130 => 34, 128 => 33, 125 => 32, 121 => 30, 119 => 29, 114 => 27, 110 => 26, 106 => 25, 102 => 24, 96 => 21, 92 => 20, 84 => 19, 78 => 18, 72 => 17, 66 => 16, 62 => 15, 57 => 12, 54 => 10, 52 => 9, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "header.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/header.twig"); } } twig/00/00d06a6f764eacebb32340acd6e2ab3c.php000064400000002761151677324010013305 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* message.twig */ class __TwigTemplate_7c98b2c1af12adcea7766c06297af3b7 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class=\"alert alert-"; echo twig_escape_filter($this->env, ($context["context"] ?? null), "html", null, true); echo "\" role=\"alert\"> "; // line 2 echo ($context["message"] ?? null); echo " </div> "; } public function getTemplateName() { return "message.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "message.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/message.twig"); } } twig/bc/bcfce312106f3f2123d39261950cfe0b.php000064400000004167151677324010013166 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* modals/preview_sql_modal.twig */ class __TwigTemplate_c60b7eb579f6c1848949f46cb5105f75 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class=\"modal fade\" id=\"previewSqlModal\" tabindex=\"-1\" aria-labelledby=\"previewSqlModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"previewSqlModalLabel\">"; echo _gettext("Loading"); // line 5 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 6 echo "\"></button> </div> <div class=\"modal-body\"></div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 10 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "modals/preview_sql_modal.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 55 => 10, 48 => 6, 44 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "modals/preview_sql_modal.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/preview_sql_modal.twig"); } } twig/e6/e62a42e4f21122d06083372c7c5a427b.php000064400000004465151677324010012675 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* modals/enum_set_editor.twig */ class __TwigTemplate_a5605413e1aef0add17416f41b87d8b7 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class=\"modal fade\" id=\"enumEditorModal\" tabindex=\"-1\" aria-labelledby=\"enumEditorModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"enumEditorModalLabel\">"; echo _gettext("ENUM/SET editor"); // line 5 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 6 echo "\"></button> </div> <div class=\"modal-body\"></div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"enumEditorGoButton\" data-bs-dismiss=\"modal\">"; echo _gettext("Go"); // line 10 echo "</button> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 11 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "modals/enum_set_editor.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 59 => 11, 55 => 10, 48 => 6, 44 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "modals/enum_set_editor.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/modals/enum_set_editor.twig"); } } twig/e6/e68c8900aab8ddab4b98a979d6fae0b3.php000064400000004146151677324010013445 0ustar00<?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/d6/d6c9729880a15b4209b769cd4835ca86.php000064400000015307151677324010012740 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* footer.twig */ class __TwigTemplate_ab75ab8f3702268087ef8ba45f6197fc extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 if ( !($context["is_ajax"] ?? null)) { // line 2 echo " </div> "; } // line 4 if (( !($context["is_ajax"] ?? null) && !($context["is_minimal"] ?? null))) { // line 5 echo " "; if ( !twig_test_empty(($context["self_url"] ?? null))) { // line 6 echo " <div id=\"selflink\" class=\"d-print-none\"> <a href=\""; // line 7 echo twig_escape_filter($this->env, ($context["self_url"] ?? null), "html", null, true); echo "\" title=\""; echo _gettext("Open new phpMyAdmin window"); echo "\" target=\"_blank\" rel=\"noopener noreferrer\"> "; // line 8 if (PhpMyAdmin\Util::showIcons("TabsMode")) { // line 9 echo " "; echo PhpMyAdmin\Html\Generator::getImage("window-new", _gettext("Open new phpMyAdmin window")); echo " "; } else { // line 11 echo " "; echo _gettext("Open new phpMyAdmin window"); // line 12 echo " "; } // line 13 echo " </a> </div> "; } // line 16 echo " <div class=\"clearfloat d-print-none\" id=\"pma_errors\"> "; // line 18 echo ($context["error_messages"] ?? null); echo " </div> "; // line 21 echo ($context["scripts"] ?? null); echo " "; // line 23 if (($context["is_demo"] ?? null)) { // line 24 echo " <div id=\"pma_demo\" class=\"d-print-none\"> "; // line 25 ob_start(function () { return ''; }); // line 26 echo " <a href=\""; echo PhpMyAdmin\Url::getFromRoute("/"); echo "\">"; echo _gettext("phpMyAdmin Demo Server"); echo ":</a> "; // line 27 if ( !twig_test_empty(($context["git_revision_info"] ?? null))) { // line 28 echo " "; ob_start(function () { return ''; }); // line 29 echo "<a target=\"_blank\" rel=\"noopener noreferrer\" href=\""; echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL(twig_get_attribute($this->env, $this->source, ($context["git_revision_info"] ?? null), "revisionUrl", [], "any", false, false, false, 29)), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["git_revision_info"] ?? null), "revision", [], "any", false, false, false, 29), "html", null, true); echo "</a>"; $context["revision_info"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 31 echo " "; ob_start(function () { return ''; }); // line 32 echo "<a target=\"_blank\" rel=\"noopener noreferrer\" href=\""; echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL(twig_get_attribute($this->env, $this->source, ($context["git_revision_info"] ?? null), "branchUrl", [], "any", false, false, false, 32)), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["git_revision_info"] ?? null), "branch", [], "any", false, false, false, 32), "html", null, true); echo "</a>"; $context["branch_info"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 34 echo " "; echo twig_sprintf(_gettext("Currently running Git revision %1\$s from the %2\$s branch."), ($context["revision_info"] ?? null), ($context["branch_info"] ?? null)); echo " "; } else { // line 36 echo " "; echo _gettext("Git information missing!"); // line 37 echo " "; } // line 38 echo " "; $___internal_parse_34_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 25 echo $this->env->getFilter('notice')->getCallable()($___internal_parse_34_); // line 39 echo " </div> "; } // line 41 echo " "; // line 42 echo ($context["footer"] ?? null); echo " "; } // line 44 if ( !($context["is_ajax"] ?? null)) { // line 45 echo " </body> </html> "; } } public function getTemplateName() { return "footer.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 158 => 45, 156 => 44, 151 => 42, 148 => 41, 144 => 39, 142 => 25, 139 => 38, 136 => 37, 133 => 36, 127 => 34, 120 => 32, 117 => 31, 110 => 29, 107 => 28, 105 => 27, 98 => 26, 96 => 25, 93 => 24, 91 => 23, 86 => 21, 80 => 18, 76 => 16, 71 => 13, 68 => 12, 65 => 11, 59 => 9, 57 => 8, 51 => 7, 48 => 6, 45 => 5, 43 => 4, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "footer.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/footer.twig"); } } twig/d6/d64dfd2e3e8b7a9e71de032a028f9c33.php000064400000004425151677324010013276 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* navigation/tree/path.twig */ class __TwigTemplate_b7047152d0d6ebae285edf248eba5dc6 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class='list_container hide'> <ul"; // line 2 echo ((($context["has_search_results"] ?? null)) ? (" class=\"search_results\"") : ("")); echo "> "; // line 3 echo ($context["list_content"] ?? null); echo " </ul> "; // line 6 if ( !($context["is_tree"] ?? null)) { // line 7 echo " <span class='hide loaded_db'>"; echo twig_escape_filter($this->env, twig_urlencode_filter(($context["parent_name"] ?? null)), "html", null, true); echo "</span> "; // line 8 if (twig_test_empty(($context["list_content"] ?? null))) { // line 9 echo " <div>"; echo _gettext("No tables found in database."); echo "</div> "; } // line 11 echo " "; } // line 12 echo "</div> "; } public function getTemplateName() { return "navigation/tree/path.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 68 => 12, 65 => 11, 59 => 9, 57 => 8, 52 => 7, 50 => 6, 44 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "navigation/tree/path.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/path.twig"); } } twig/b4/b4ca5d51d66ab9c496492d65d8026636.php000064400000010727151677324010013004 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/index.twig */ class __TwigTemplate_3de4523cca3d73fef80bb4f9734d691a extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->env->getRuntime('PhpMyAdmin\FlashMessages')->getMessages()); foreach ($context['_seq'] as $context["flash_key"] => $context["flash_messages"]) { // line 2 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($context["flash_messages"]); foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) { // line 3 echo " <div class=\"alert alert-"; echo twig_escape_filter($this->env, $context["flash_key"], "html", null, true); echo "\" role=\"alert\"> "; // line 4 echo twig_escape_filter($this->env, $context["flash_message"], "html", null, true); echo " </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash_message'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['flash_key'], $context['flash_messages'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 8 echo " "; // line 9 if (($context["has_tables"] ?? null)) { // line 10 echo " <div id=\"tableslistcontainer\"> "; // line 11 echo ($context["list_navigator_html"] ?? null); echo " "; // line 13 echo ($context["table_list_html"] ?? null); echo " "; // line 15 echo ($context["list_navigator_html"] ?? null); echo " </div> <hr> <p class=\"d-print-none\"> <button type=\"button\" class=\"btn btn-link p-0 jsPrintButton\">"; // line 19 echo PhpMyAdmin\Html\Generator::getIcon("b_print", _gettext("Print"), true); echo "</button> <a href=\""; // line 20 echo PhpMyAdmin\Url::getFromRoute("/database/data-dictionary", ["db" => ($context["database"] ?? null), "goto" => PhpMyAdmin\Url::getFromRoute("/database/structure")]); echo "\"> "; // line 21 echo PhpMyAdmin\Html\Generator::getIcon("b_tblanalyse", _gettext("Data dictionary"), true); echo " </a> </p> "; } else { // line 25 echo " "; echo $this->env->getFilter('notice')->getCallable()(_gettext("No tables found in database.")); echo " "; } // line 27 echo " "; // line 28 if ( !($context["is_system_schema"] ?? null)) { // line 29 echo " "; echo ($context["create_table_html"] ?? null); echo " "; } } public function getTemplateName() { return "database/structure/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 115 => 29, 113 => 28, 110 => 27, 104 => 25, 97 => 21, 93 => 20, 89 => 19, 82 => 15, 77 => 13, 72 => 11, 69 => 10, 67 => 9, 64 => 8, 51 => 4, 46 => 3, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/index.twig"); } } twig/cd/cd0d770e48195a659ffb51b9449cd8a3.php000064400000003473151677324010013232 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* config/form_display/group_header.twig */ class __TwigTemplate_9db430d4ab18802b0183880db5d39ab3 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<tr class=\"group-header group-header-"; echo twig_escape_filter($this->env, ($context["group"] ?? null), "html", null, true); echo "\"> <th colspan=\""; // line 2 echo twig_escape_filter($this->env, ($context["colspan"] ?? null), "html", null, true); echo "\"> "; // line 3 echo twig_escape_filter($this->env, ($context["header_text"] ?? null), "html", null, true); echo " </th> </tr> "; } public function getTemplateName() { return "config/form_display/group_header.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 46 => 3, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "config/form_display/group_header.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/config/form_display/group_header.twig"); } } twig/8b/8bc777c34111eee70f65bd459e331f4f.php000064400000004302151677324010013136 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* file_select_options.twig */ class __TwigTemplate_84c5a51a85e1f4e323be9f085d9076d5 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["filesList"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["file"]) { // line 2 echo " <option value=\""; echo twig_escape_filter($this->env, $context["file"], "html", null, true); echo "\""; if (($context["file"] == ($context["active"] ?? null))) { echo " selected=\"selected\""; } echo "> "; // line 3 echo twig_escape_filter($this->env, $context["file"], "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } public function getTemplateName() { return "file_select_options.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 50 => 3, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "file_select_options.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/file_select_options.twig"); } } twig/3c/3cd502e7da7254509eea61f60f47a5b1.php000064400000057030151677324010013120 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* import.twig */ class __TwigTemplate_2d522f84463917b42d464001095161ea extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ 'title' => [$this, 'block_title'], ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class=\"container\"> <h2 class=\"my-3\"> "; // line 3 echo PhpMyAdmin\Html\Generator::getImage("b_import", _gettext("Import")); echo " "; // line 4 $this->displayBlock('title', $context, $blocks); // line 5 echo " </h2> "; // line 7 echo ($context["page_settings_error_html"] ?? null); echo " "; // line 8 echo ($context["page_settings_html"] ?? null); echo " <iframe id=\"import_upload_iframe\" name=\"import_upload_iframe\" width=\"1\" height=\"1\" class=\"hide\"></iframe> <div id=\"import_form_status\" class=\"hide\"></div> <div id=\"importmain\"> <img src=\""; // line 13 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true); echo "\" width=\"16\" height=\"16\" alt=\"ajax clock\" class=\"hide\"> <script type=\"text/javascript\"> //<![CDATA[ "; // line 17 $this->loadTemplate("import/javascript.twig", "import.twig", 17)->display(twig_to_array(["upload_id" => ($context["upload_id"] ?? null), "handler" => ($context["handler"] ?? null)])); // line 18 echo "//]]> </script> <form id=\"import_file_form\" action=\""; // line 21 echo PhpMyAdmin\Url::getFromRoute("/import"); echo "\" method=\"post\" enctype=\"multipart/form-data\" name=\"import\" class=\"ajax\""; // line 22 if ((($context["handler"] ?? null) != "PhpMyAdmin\\Plugins\\Import\\Upload\\UploadNoplugin")) { echo " target=\"import_upload_iframe\""; } echo "> "; // line 23 echo PhpMyAdmin\Url::getHiddenInputs(($context["hidden_inputs"] ?? null)); echo " <div class=\"card mb-3\"> <div class=\"card-header\">"; echo _gettext("File to import:"); // line 26 echo "</div> <div class=\"card-body\"> "; // line 29 echo " "; if ( !twig_test_empty(($context["compressions"] ?? null))) { // line 30 echo " <p class=\"card-text\"> "; // line 31 echo twig_escape_filter($this->env, twig_sprintf(_gettext("File may be compressed (%s) or uncompressed."), twig_join_filter(($context["compressions"] ?? null), ", ")), "html", null, true); echo "<br> "; echo _gettext("A compressed file's name must end in <strong>.[format].[compression]</strong>. Example: <strong>.sql.zip</strong>"); // line 33 echo " </p> "; } // line 35 echo " "; // line 36 if ((($context["is_upload"] ?? null) && !twig_test_empty(($context["upload_dir"] ?? null)))) { // line 37 echo " "; $context["use_local_file_import"] = ( !twig_test_empty(($context["timeout_passed_global"] ?? null)) && !twig_test_empty(($context["local_import_file"] ?? null))); // line 38 echo " <ul class=\"nav nav-pills mb-3\" id=\"importFileTab\" role=\"tablist\"> <li class=\"nav-item\" role=\"presentation\"> <button class=\"nav-link"; // line 40 echo (( !($context["use_local_file_import"] ?? null)) ? (" active") : ("")); echo "\" id=\"uploadFileTab\" data-bs-toggle=\"tab\" data-bs-target=\"#uploadFile\" type=\"button\" role=\"tab\" aria-controls=\"uploadFile\" aria-selected=\""; echo (( !($context["use_local_file_import"] ?? null)) ? ("true") : ("false")); echo "\">"; echo _gettext("Upload a file"); echo "</button> </li> <li class=\"nav-item\" role=\"presentation\"> <button class=\"nav-link"; // line 43 echo ((($context["use_local_file_import"] ?? null)) ? (" active") : ("")); echo "\" id=\"localFileTab\" data-bs-toggle=\"tab\" data-bs-target=\"#localFile\" type=\"button\" role=\"tab\" aria-controls=\"localFile\" aria-selected=\""; echo ((($context["use_local_file_import"] ?? null)) ? ("true") : ("false")); echo "\">"; echo _gettext("Select file to import"); echo "</button> </li> </ul> <div class=\"tab-content mb-3\" id=\"importFileTabContent\"> <div class=\"tab-pane fade"; // line 47 echo (( !($context["use_local_file_import"] ?? null)) ? (" show active") : ("")); echo "\" id=\"uploadFile\" role=\"tabpanel\" aria-labelledby=\"uploadFileTab\"> <input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\""; // line 48 echo twig_escape_filter($this->env, ($context["max_upload_size"] ?? null), "html", null, true); echo "\"> <div class=\"mb-3\"> <label class=\"form-label\" for=\"input_import_file\">"; echo _gettext("Browse your computer:"); // line 50 echo " <small>"; echo twig_escape_filter($this->env, ($context["formatted_maximum_upload_size"] ?? null), "html", null, true); echo "</small></label> <input class=\"form-control\" type=\"file\" name=\"import_file\" id=\"input_import_file\"> </div> <div id=\"upload_form_status\" class=\"hide\"></div> <div id=\"upload_form_status_info\" class=\"hide\"></div> <p class=\"card-text\">"; echo _gettext("You may also drag and drop a file on any page."); // line 55 echo "</p> </div> <div class=\"tab-pane fade"; // line 58 echo ((($context["use_local_file_import"] ?? null)) ? (" show active") : ("")); echo "\" id=\"localFile\" role=\"tabpanel\" aria-labelledby=\"localFileTab\"> "; // line 59 if ((($context["local_files"] ?? null) === false)) { // line 60 echo " "; echo $this->env->getFilter('error')->getCallable()(_gettext("The directory you set for upload work cannot be reached.")); echo " "; } elseif ( !twig_test_empty( // line 61 ($context["local_files"] ?? null))) { // line 62 echo " <label class=\"form-label\" for=\"select_local_import_file\">"; echo PhpMyAdmin\Sanitize::sanitizeMessage(twig_sprintf(_gettext("Select from the web server upload directory [strong]%s[/strong]:"), ($context["user_upload_dir"] ?? null))); echo "</label> <select class=\"form-select\" size=\"1\" name=\"local_import_file\" id=\"select_local_import_file\"> <option value=\"\"></option> "; // line 65 echo ($context["local_files"] ?? null); echo " </select> "; } else { // line 68 echo " <div class=\"alert alert-info\" role=\"alert\"> "; echo _gettext("There are no files to import!"); // line 70 echo " </div> "; } // line 72 echo " </div> </div> "; } elseif ( // line 74 ($context["is_upload"] ?? null)) { // line 75 echo " <input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\""; echo twig_escape_filter($this->env, ($context["max_upload_size"] ?? null), "html", null, true); echo "\"> <div class=\"mb-3\"> <label class=\"form-label\" for=\"input_import_file\">"; echo _gettext("Browse your computer:"); // line 77 echo " <small>"; echo twig_escape_filter($this->env, ($context["formatted_maximum_upload_size"] ?? null), "html", null, true); echo "</small></label> <input class=\"form-control\" type=\"file\" name=\"import_file\" id=\"input_import_file\"> </div> <div id=\"upload_form_status\" class=\"hide\"></div> <div id=\"upload_form_status_info\" class=\"hide\"></div> <p class=\"card-text\">"; echo _gettext("You may also drag and drop a file on any page."); // line 82 echo "</p> "; } elseif ( !twig_test_empty( // line 83 ($context["upload_dir"] ?? null))) { // line 84 echo " "; if ((($context["local_files"] ?? null) === false)) { // line 85 echo " "; echo $this->env->getFilter('error')->getCallable()(_gettext("The directory you set for upload work cannot be reached.")); echo " "; } elseif ( !twig_test_empty( // line 86 ($context["local_files"] ?? null))) { // line 87 echo " <div class=\"mb-3\"> <label class=\"form-label\" for=\"select_local_import_file\">"; // line 88 echo PhpMyAdmin\Sanitize::sanitizeMessage(twig_sprintf(_gettext("Select from the web server upload directory [strong]%s[/strong]:"), ($context["user_upload_dir"] ?? null))); echo "</label> <select class=\"form-select\" size=\"1\" name=\"local_import_file\" id=\"select_local_import_file\"> <option value=\"\"></option> "; // line 91 echo ($context["local_files"] ?? null); echo " </select> </div> "; } else { // line 95 echo " <div class=\"alert alert-info\" role=\"alert\"> "; echo _gettext("There are no files to import!"); // line 97 echo " </div> "; } // line 99 echo " "; } else { // line 100 echo " "; echo $this->env->getFilter('notice')->getCallable()(_gettext("File uploads are not allowed on this server.")); echo " "; } // line 102 echo " <label class=\"form-label\" for=\"charset_of_file\">"; echo _gettext("Character set of the file:"); // line 103 echo "</label> "; // line 104 if (($context["is_encoding_supported"] ?? null)) { // line 105 echo " <select class=\"form-select\" id=\"charset_of_file\" name=\"charset_of_file\" size=\"1\"> "; // line 106 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["encodings"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 107 echo " <option value=\""; echo twig_escape_filter($this->env, $context["charset"], "html", null, true); echo "\""; if (((twig_test_empty(($context["import_charset"] ?? null)) && ($context["charset"] == "utf-8")) || ($context["charset"] == ($context["import_charset"] ?? null)))) { echo " selected"; } echo ">"; // line 108 echo twig_escape_filter($this->env, $context["charset"], "html", null, true); // line 109 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 111 echo " </select> "; } else { // line 113 echo " <select class=\"form-select\" lang=\"en\" dir=\"ltr\" name=\"charset_of_file\" id=\"charset_of_file\"> <option value=\"\"></option> "; // line 115 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 116 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 116), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getDescription", [], "method", false, false, false, 116), "html", null, true); echo "\""; echo (((twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 116) == "utf8")) ? (" selected") : ("")); echo ">"; // line 117 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 117), "html", null, true); // line 118 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 120 echo " </select> "; } // line 122 echo " </div> </div> <div class=\"card mb-3\"> <div class=\"card-header\">"; echo _gettext("Partial import:"); // line 126 echo "</div> <div class=\"card-body\"> "; // line 128 if ((array_key_exists("timeout_passed", $context) && ($context["timeout_passed"] ?? null))) { // line 129 echo " <input type=\"hidden\" name=\"skip\" value=\""; echo twig_escape_filter($this->env, ($context["offset"] ?? null), "html", null, true); echo "\"> <div class=\"alert alert-info\" role=\"alert\"> "; // line 131 echo twig_escape_filter($this->env, twig_sprintf(_gettext("Previous import timed out, after resubmitting will continue from position %d."), ($context["offset"] ?? null)), "html", null, true); echo " </div> "; } // line 134 echo " <div class=\"form-check form-switch mb-3\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"allow_interrupt\" value=\"yes\" id=\"checkbox_allow_interrupt\""; // line 136 echo ($context["is_allow_interrupt_checked"] ?? null); echo " aria-describedby=\"allowInterruptHelp\"> <label class=\"form-check-label\" for=\"checkbox_allow_interrupt\"> "; echo _gettext("Allow the interruption of an import in case the script detects it is close to the PHP timeout limit."); // line 139 echo " </label> <div id=\"allowInterruptHelp\" class=\"form-text\">"; echo _gettext("This might be a good way to import large files, however it can break transactions."); // line 140 echo "</div> </div> "; // line 143 if ( !(array_key_exists("timeout_passed", $context) && ($context["timeout_passed"] ?? null))) { // line 144 echo " <label class=\"form-label\" for=\"text_skip_queries\">"; echo _gettext("Skip this number of queries (for SQL) starting from the first one:"); echo "</label> <input class=\"form-control\" type=\"number\" name=\"skip_queries\" value=\""; // line 145 echo ($context["skip_queries_default"] ?? null); echo "\" id=\"text_skip_queries\" min=\"0\"> "; } else { // line 147 echo " "; // line 148 echo " <input type=\"hidden\" name=\"skip_queries\" value=\""; echo ($context["skip_queries_default"] ?? null); echo "\" id=\"text_skip_queries\"> "; } // line 150 echo " </div> </div> <div class=\"card mb-3\"> <div class=\"card-header\">"; echo _gettext("Other options"); // line 154 echo "</div> <div class=\"card-body\"> <input type=\"hidden\" name=\"fk_checks\" value=\"0\"> <div class=\"form-check form-switch\"> <input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"fk_checks\" id=\"fk_checks\" value=\"1\""; // line 158 echo ((($context["is_foreign_key_check"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"fk_checks\">"; echo _gettext("Enable foreign key checks"); // line 159 echo "</label> </div> </div> </div> <div class=\"card mb-3\"> <div class=\"card-header\">"; echo _gettext("Format"); // line 165 echo "</div> <div class=\"card-body\"> <select class=\"form-select\" id=\"plugins\" name=\"format\" aria-label=\""; echo _gettext("Format"); // line 167 echo "\"> "; // line 168 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["plugins_choice"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 169 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 169), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["option"], "is_selected", [], "any", false, false, false, 169)) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "text", [], "any", false, false, false, 169), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 171 echo " </select> "; // line 173 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["plugins_choice"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 174 echo " <input type=\"hidden\" id=\"force_file_"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 174), "html", null, true); echo "\" value=\"true\"> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 176 echo " <div id=\"import_notification\"></div> </div> </div> <div class=\"card mb-3\" id=\"format_specific_opts\"> <div class=\"card-header\">"; echo _gettext("Format-specific options:"); // line 182 echo "</div> <div class=\"card-body\"> "; // line 184 echo ($context["options"] ?? null); echo " </div> </div> "; // line 189 echo " "; if (($context["can_convert_kanji"] ?? null)) { // line 190 echo " <div class=\"card mb-3\" id=\"kanji_encoding\"> <div class=\"card-header\">"; echo _gettext("Encoding Conversion:"); // line 191 echo "</div> <div class=\"card-body\"> "; // line 193 $this->loadTemplate("encoding/kanji_encoding_form.twig", "import.twig", 193)->display($context); // line 194 echo " </div> </div> "; } // line 197 echo " <div id=\"submit\"> <input id=\"buttonGo\" class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Import"); // line 199 echo "\"> </div> </form> </div> </div> "; } // line 4 public function block_title($context, array $blocks = []) { $macros = $this->macros; } public function getTemplateName() { return "import.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 527 => 4, 518 => 199, 513 => 197, 508 => 194, 506 => 193, 502 => 191, 498 => 190, 495 => 189, 488 => 184, 484 => 182, 475 => 176, 466 => 174, 462 => 173, 458 => 171, 445 => 169, 441 => 168, 438 => 167, 433 => 165, 424 => 159, 419 => 158, 413 => 154, 406 => 150, 400 => 148, 398 => 147, 393 => 145, 388 => 144, 386 => 143, 381 => 140, 377 => 139, 371 => 136, 367 => 134, 361 => 131, 355 => 129, 353 => 128, 349 => 126, 342 => 122, 338 => 120, 331 => 118, 329 => 117, 321 => 116, 317 => 115, 313 => 113, 309 => 111, 302 => 109, 300 => 108, 292 => 107, 288 => 106, 285 => 105, 283 => 104, 280 => 103, 276 => 102, 270 => 100, 267 => 99, 263 => 97, 259 => 95, 252 => 91, 246 => 88, 243 => 87, 241 => 86, 236 => 85, 233 => 84, 231 => 83, 228 => 82, 218 => 77, 211 => 75, 209 => 74, 205 => 72, 201 => 70, 197 => 68, 191 => 65, 184 => 62, 182 => 61, 177 => 60, 175 => 59, 171 => 58, 166 => 55, 156 => 50, 150 => 48, 146 => 47, 135 => 43, 125 => 40, 121 => 38, 118 => 37, 116 => 36, 113 => 35, 109 => 33, 104 => 31, 101 => 30, 98 => 29, 94 => 26, 87 => 23, 81 => 22, 78 => 21, 73 => 18, 71 => 17, 64 => 13, 56 => 8, 52 => 7, 48 => 5, 46 => 4, 42 => 3, 38 => 1,); } public function getSourceContext() { return new Source("", "import.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/import.twig"); } } twig/3c/3ccc4940fff089164d06e0e3577c6e5f.php000064400000005025151677324010013141 0ustar00<?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/57/57a6b7848dfc1478623a5f78009b76c3.php000064400000030662151677324010012663 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* import/javascript.twig */ class __TwigTemplate_9731339aa828daf8c644ff65172a6ce5 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "\$( function() { "; // line 3 echo " \$(\"#buttonGo\").on(\"click\", function() { "; // line 5 echo " \$(\"#upload_form_form\").css(\"display\", \"none\"); "; // line 7 if ((($context["handler"] ?? null) != "PhpMyAdmin\\Plugins\\Import\\Upload\\UploadNoplugin")) { // line 8 echo " "; // line 9 echo " "; $context["ajax_url"] = (("index.php?route=/import-status&id=" . ($context["upload_id"] ?? null)) . PhpMyAdmin\Url::getCommonRaw(["import_status" => 1], "&")); // line 12 echo " "; $context["promot_str"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("The file being uploaded is probably larger than the maximum allowed size or this is a known bug in webkit based (Safari, Google Chrome, Arora etc.) browsers."), false); // line 13 echo " "; $context["statustext_str"] = PhpMyAdmin\Sanitize::escapeJsString(_gettext("%s of %s")); // line 14 echo " "; $context["second_str"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("%s/sec."), false); // line 15 echo " "; $context["remaining_min"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("About %MIN min. %SEC sec. remaining."), false); // line 16 echo " "; $context["remaining_second"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("About %SEC sec. remaining."), false); // line 17 echo " "; $context["processed_str"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("The file is being processed, please be patient."), false); // line 18 echo " "; $context["import_url"] = PhpMyAdmin\Url::getCommonRaw(["import_status" => 1], "&"); // line 19 echo " "; // line 20 ob_start(function () { return ''; }); // line 21 echo " <div class=\"upload_progress\"> <div class=\"upload_progress_bar_outer\"> <div class=\"percentage\"></div> <div id=\"status\" class=\"upload_progress_bar_inner\"> <div class=\"percentage\"></div> </div> </div> <div> <img src=\""; // line 29 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true); echo "\" width=\"16\" height=\"16\" alt=\"ajax clock\"> "; echo PhpMyAdmin\Sanitize::jsFormat(_gettext("Uploading your import file…"), false); // line 30 echo "</div> <div id=\"statustext\"></div> </div> "; $context["upload_html"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 34 echo " "; // line 36 echo " var finished = false; var percent = 0.0; var total = 0; var complete = 0; var original_title = parent && parent.document ? parent.document.title : false; var import_start; var perform_upload = function () { new \$.getJSON( \""; // line 45 echo ($context["ajax_url"] ?? null); echo "\", {}, function(response) { finished = response.finished; percent = response.percent; total = response.total; complete = response.complete; if (total==0 && complete==0 && percent==0) { \$(\"#upload_form_status_info\").html('<img src=\""; // line 54 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true); echo "\" width=\"16\" height=\"16\" alt=\"ajax clock\"> "; echo ($context["promot_str"] ?? null); echo "'); \$(\"#upload_form_status\").css(\"display\", \"none\"); } else { var now = new Date(); now = Date.UTC( now.getFullYear(), now.getMonth(), now.getDate(), now.getHours(), now.getMinutes(), now.getSeconds()) + now.getMilliseconds() - 1000; var statustext = Functions.sprintf( \""; // line 67 echo ($context["statustext_str"] ?? null); echo "\", Functions.formatBytes( complete, 1, Messages.strDecimalSeparator ), Functions.formatBytes( total, 1, Messages.strDecimalSeparator ) ); if (\$(\"#importmain\").is(\":visible\")) { "; // line 78 echo " \$(\"#importmain\").hide(); \$(\"#import_form_status\") .html('"; // line 80 echo twig_spaceless(($context["upload_html"] ?? null)); echo "') .show(); import_start = now; } else if (percent > 9 || complete > 2000000) { "; // line 86 echo " var used_time = now - import_start; var seconds = parseInt(((total - complete) / complete) * used_time / 1000); var speed = Functions.sprintf( \""; // line 89 echo ($context["second_str"] ?? null); echo "\", Functions.formatBytes(complete / used_time * 1000, 1, Messages.strDecimalSeparator) ); var minutes = parseInt(seconds / 60); seconds %= 60; var estimated_time; if (minutes > 0) { estimated_time = \""; // line 97 echo ($context["remaining_min"] ?? null); echo "\" .replace(\"%MIN\", minutes) .replace(\"%SEC\", seconds); } else { estimated_time = \""; // line 102 echo ($context["remaining_second"] ?? null); echo "\" .replace(\"%SEC\", seconds); } statustext += \"<br>\" + speed + \"<br><br>\" + estimated_time; } var percent_str = Math.round(percent) + \"%\"; \$(\"#status\").animate({width: percent_str}, 150); \$(\".percentage\").text(percent_str); "; // line 114 echo " if (original_title !== false) { parent.document.title = percent_str + \" - \" + original_title; } else { document.title = percent_str + \" - \" + original_title; } \$(\"#statustext\").html(statustext); } if (finished == true) { if (original_title !== false) { parent.document.title = original_title; } else { document.title = original_title; } \$(\"#importmain\").hide(); "; // line 134 echo " \$(\"#import_form_status\") .html('<img src=\""; // line 135 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true); echo "\" width=\"16\" height=\"16\" alt=\"ajax clock\"> "; echo ($context["processed_str"] ?? null); echo "') .show(); \$(\"#import_form_status\").load(\"index.php?route=/import-status&message=true&"; // line 137 echo ($context["import_url"] ?? null); echo "\"); Navigation.reload(); "; // line 141 echo " } else { setTimeout(perform_upload, 1000); } }); }; setTimeout(perform_upload, 1000); "; } else { // line 149 echo " "; // line 150 echo " "; ob_start(function () { return ''; }); // line 151 echo "<img src=\""; echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true); echo "\" width=\"16\" height=\"16\" alt=\"ajax clock\">"; // line 152 echo PhpMyAdmin\Sanitize::jsFormat(_gettext("Please be patient, the file is being uploaded. Details about the upload are not available."), false); // line 153 echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq2-9"); $context["image_tag"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 155 echo " \$('#upload_form_status_info').html('"; echo ($context["image_tag"] ?? null); echo "'); \$(\"#upload_form_status\").css(\"display\", \"none\"); "; } // line 158 echo " }); }); "; } public function getTemplateName() { return "import/javascript.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 275 => 158, 268 => 155, 265 => 153, 263 => 152, 259 => 151, 256 => 150, 254 => 149, 244 => 141, 238 => 137, 231 => 135, 228 => 134, 207 => 114, 193 => 102, 185 => 97, 174 => 89, 169 => 86, 161 => 80, 157 => 78, 144 => 67, 126 => 54, 114 => 45, 103 => 36, 100 => 34, 94 => 30, 90 => 29, 80 => 21, 78 => 20, 75 => 19, 72 => 18, 69 => 17, 66 => 16, 63 => 15, 60 => 14, 57 => 13, 54 => 12, 51 => 9, 49 => 8, 47 => 7, 43 => 5, 40 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "import/javascript.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/import/javascript.twig"); } } twig/b0/b079e76123218f8cb3fc024607f9ab3e.php000064400000010315151677324010013036 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/comment_for_row.twig */ class __TwigTemplate_3e42dd2532e6bb94b364aed01a221bdb extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 if ((twig_get_attribute($this->env, $this->source, ($context["comments_map"] ?? null), ($context["table_name"] ?? null), [], "array", true, true, false, 1) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 2 ($context["comments_map"] ?? null), ($context["table_name"] ?? null), [], "array", false, true, false, 2), ($context["column_name"] ?? null), [], "array", true, true, false, 2))) { // line 3 echo " <br><span class=\"tblcomment\" title=\""; echo twig_escape_filter($this->env, (($__internal_compile_0 = (($__internal_compile_1 = ($context["comments_map"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[($context["table_name"] ?? null)] ?? null) : null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[($context["column_name"] ?? null)] ?? null) : null), "html", null, true); echo "\"> "; // line 4 if ((twig_length_filter($this->env, (($__internal_compile_2 = (($__internal_compile_3 = ($context["comments_map"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[($context["table_name"] ?? null)] ?? null) : null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[($context["column_name"] ?? null)] ?? null) : null)) > ($context["limit_chars"] ?? null))) { // line 5 echo " "; echo twig_escape_filter($this->env, twig_slice($this->env, (($__internal_compile_4 = (($__internal_compile_5 = ($context["comments_map"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[($context["table_name"] ?? null)] ?? null) : null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4[($context["column_name"] ?? null)] ?? null) : null), 0, ($context["limit_chars"] ?? null)), "html", null, true); echo "… "; } else { // line 7 echo " "; echo twig_escape_filter($this->env, (($__internal_compile_6 = (($__internal_compile_7 = ($context["comments_map"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7[($context["table_name"] ?? null)] ?? null) : null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6[($context["column_name"] ?? null)] ?? null) : null), "html", null, true); echo " "; } // line 9 echo " </span> "; } } public function getTemplateName() { return "display/results/comment_for_row.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 59 => 9, 53 => 7, 47 => 5, 45 => 4, 40 => 3, 38 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/comment_for_row.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/comment_for_row.twig"); } } twig/35/35264ab0327ce1b0782900891696209c.php000064400000010072151677324010012400 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/table_headers_for_columns.twig */ class __TwigTemplate_32e55a00d9b35bbdcefad412762a5c90 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["columns"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["column"]) { // line 2 echo " <th class=\"draggable position-sticky"; echo ((twig_get_attribute($this->env, $this->source, $context["column"], "is_column_numeric", [], "any", false, false, false, 2)) ? (" text-end") : ("")); echo ((twig_get_attribute($this->env, $this->source, $context["column"], "is_column_hidden", [], "any", false, false, false, 2)) ? (" hide") : ("")); // line 3 echo ((($context["is_sortable"] ?? null)) ? (" column_heading") : ("")); echo (((($context["is_sortable"] ?? null) && twig_get_attribute($this->env, $this->source, $context["column"], "is_browse_marker_enabled", [], "any", false, false, false, 3))) ? (" marker") : ("")); echo (((($context["is_sortable"] ?? null) && twig_get_attribute($this->env, $this->source, $context["column"], "is_browse_pointer_enabled", [], "any", false, false, false, 3))) ? (" pointer") : ("")); // line 4 echo ((( !($context["is_sortable"] ?? null) && twig_get_attribute($this->env, $this->source, $context["column"], "has_condition", [], "any", false, false, false, 4))) ? (" condition") : ("")); echo "\" data-column=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "column_name", [], "any", false, false, false, 4), "html", null, true); echo "\"> "; // line 5 if (($context["is_sortable"] ?? null)) { // line 6 echo " "; echo twig_get_attribute($this->env, $this->source, $context["column"], "order_link", [], "any", false, false, false, 6); echo " "; } else { // line 8 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "column_name", [], "any", false, false, false, 8), "html", null, true); echo " "; } // line 10 echo " "; echo twig_get_attribute($this->env, $this->source, $context["column"], "comments", [], "any", false, false, false, 10); echo " </th> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } public function getTemplateName() { return "display/results/table_headers_for_columns.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 69 => 10, 63 => 8, 57 => 6, 55 => 5, 49 => 4, 45 => 3, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/table_headers_for_columns.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/table_headers_for_columns.twig"); } } twig/35/35c37606fc4778c746548edd2759dfe3.php000064400000042350151677324010012746 0ustar00<?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/74/74281f885f6bb379dd8848cb75543664.php000064400000033244151677324010012621 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/checkbox_and_links.twig */ class __TwigTemplate_90dd9ce295651132b37d822c7c4a899e extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 if ((($context["position"] ?? null) == "left")) { // line 2 echo " "; if (($context["has_checkbox"] ?? null)) { // line 3 echo " <td class=\"text-center d-print-none\"> <input type=\"checkbox\" class=\"multi_checkbox checkall\" id=\"id_rows_to_delete"; // line 5 echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true); echo "_left\" name=\"rows_to_delete["; echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" class=\"condition_array\" value=\""; // line 6 echo twig_escape_filter($this->env, ($context["condition"] ?? null), "html", null, true); echo "\"> </td> "; } // line 9 echo " "; // line 10 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "url", [], "any", false, false, false, 10))) { // line 11 echo " <td class=\"text-center d-print-none edit_row_anchor"; echo (( !twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "clause_is_unique", [], "any", false, false, false, 11)) ? (" nonunique") : ("")); echo "\"> <span class=\"text-nowrap\"> "; // line 13 echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "url", [], "any", false, false, false, 13), twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "params", [], "any", false, false, false, 13), twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "string", [], "any", false, false, false, 13)); echo " "; // line 14 if ( !twig_test_empty(($context["where_clause"] ?? null))) { // line 15 echo " <input type=\"hidden\" class=\"where_clause\" value=\""; echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true); echo "\"> "; } // line 17 echo " </span> </td> "; } // line 20 echo " "; // line 21 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "url", [], "any", false, false, false, 21))) { // line 22 echo " <td class=\"text-center d-print-none\"> <span class=\"text-nowrap\"> "; // line 24 echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "url", [], "any", false, false, false, 24), twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "params", [], "any", false, false, false, 24), twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "string", [], "any", false, false, false, 24)); echo " "; // line 25 if ( !twig_test_empty(($context["where_clause"] ?? null))) { // line 26 echo " <input type=\"hidden\" class=\"where_clause\" value=\""; echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true); echo "\"> "; } // line 28 echo " </span> </td> "; } // line 31 echo " "; // line 32 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "url", [], "any", false, false, false, 32))) { // line 33 echo " <td class=\"text-center d-print-none"; echo ((($context["is_ajax"] ?? null)) ? (" ajax") : ("")); echo "\"> <span class=\"text-nowrap\"> "; // line 35 echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "url", [], "any", false, false, false, 35), twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "params", [], "any", false, false, false, 35), twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "string", [], "any", false, false, false, 35), ["class" => ("delete_row requireConfirm" . ((($context["is_ajax"] ?? null)) ? (" ajax") : ("")))]); echo " "; // line 36 if ( !twig_test_empty(($context["js_conf"] ?? null))) { // line 37 echo " <div class=\"hide\">"; echo twig_escape_filter($this->env, ($context["js_conf"] ?? null), "html", null, true); echo "</div> "; } // line 39 echo " </span> </td> "; } } elseif (( // line 42 ($context["position"] ?? null) == "right")) { // line 43 echo " "; if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "url", [], "any", false, false, false, 43))) { // line 44 echo " <td class=\"text-center d-print-none"; echo ((($context["is_ajax"] ?? null)) ? (" ajax") : ("")); echo "\"> <span class=\"text-nowrap\"> "; // line 46 echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "url", [], "any", false, false, false, 46), twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "params", [], "any", false, false, false, 46), twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "string", [], "any", false, false, false, 46), ["class" => ("delete_row requireConfirm" . ((($context["is_ajax"] ?? null)) ? (" ajax") : ("")))]); echo " "; // line 47 if ( !twig_test_empty(($context["js_conf"] ?? null))) { // line 48 echo " <div class=\"hide\">"; echo twig_escape_filter($this->env, ($context["js_conf"] ?? null), "html", null, true); echo "</div> "; } // line 50 echo " </span> </td> "; } // line 53 echo " "; // line 54 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "url", [], "any", false, false, false, 54))) { // line 55 echo " <td class=\"text-center d-print-none\"> <span class=\"text-nowrap\"> "; // line 57 echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "url", [], "any", false, false, false, 57), twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "params", [], "any", false, false, false, 57), twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "string", [], "any", false, false, false, 57)); echo " "; // line 58 if ( !twig_test_empty(($context["where_clause"] ?? null))) { // line 59 echo " <input type=\"hidden\" class=\"where_clause\" value=\""; echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true); echo "\"> "; } // line 61 echo " </span> </td> "; } // line 64 echo " "; // line 65 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "url", [], "any", false, false, false, 65))) { // line 66 echo " <td class=\"text-center d-print-none edit_row_anchor"; echo (( !twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "clause_is_unique", [], "any", false, false, false, 66)) ? (" nonunique") : ("")); echo "\"> <span class=\"text-nowrap\"> "; // line 68 echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "url", [], "any", false, false, false, 68), twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "params", [], "any", false, false, false, 68), twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "string", [], "any", false, false, false, 68)); echo " "; // line 69 if ( !twig_test_empty(($context["where_clause"] ?? null))) { // line 70 echo " <input type=\"hidden\" class=\"where_clause\" value=\""; echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true); echo "\"> "; } // line 72 echo " </span> </td> "; } // line 75 echo " "; // line 76 if (($context["has_checkbox"] ?? null)) { // line 77 echo " <td class=\"text-center d-print-none\"> <input type=\"checkbox\" class=\"multi_checkbox checkall\" id=\"id_rows_to_delete"; // line 79 echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true); echo "_right\" name=\"rows_to_delete["; echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" class=\"condition_array\" value=\""; // line 80 echo twig_escape_filter($this->env, ($context["condition"] ?? null), "html", null, true); echo "\"> </td> "; } } else { // line 84 echo " "; if (($context["has_checkbox"] ?? null)) { // line 85 echo " <td class=\"text-center d-print-none\"> <input type=\"checkbox\" class=\"multi_checkbox checkall\" id=\"id_rows_to_delete"; // line 87 echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true); echo "_left\" name=\"rows_to_delete["; echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" class=\"condition_array\" value=\""; // line 88 echo twig_escape_filter($this->env, ($context["condition"] ?? null), "html", null, true); echo "\"> </td> "; } } } public function getTemplateName() { return "display/results/checkbox_and_links.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 260 => 88, 252 => 87, 249 => 85, 246 => 84, 239 => 80, 231 => 79, 228 => 77, 226 => 76, 223 => 75, 218 => 72, 212 => 70, 210 => 69, 206 => 68, 200 => 66, 198 => 65, 195 => 64, 190 => 61, 184 => 59, 182 => 58, 178 => 57, 174 => 55, 172 => 54, 169 => 53, 164 => 50, 158 => 48, 156 => 47, 152 => 46, 146 => 44, 143 => 43, 141 => 42, 136 => 39, 130 => 37, 128 => 36, 124 => 35, 118 => 33, 116 => 32, 113 => 31, 108 => 28, 102 => 26, 100 => 25, 96 => 24, 92 => 22, 90 => 21, 87 => 20, 82 => 17, 76 => 15, 74 => 14, 70 => 13, 64 => 11, 62 => 10, 59 => 9, 53 => 6, 45 => 5, 42 => 3, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/checkbox_and_links.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/checkbox_and_links.twig"); } } twig/11/11bfdaedbca1c6642f6d7a92dca784f5.php000064400000004103151677324010013410 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/row_data.twig */ class __TwigTemplate_8bab762677d90d3596e46d27a13f06b1 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<td data-decimals=\""; echo twig_escape_filter($this->env, ($context["decimals"] ?? null), "html", null, true); echo "\" data-type=\""; echo twig_escape_filter($this->env, ($context["type"] ?? null), "html", null, true); echo "\""; if ( !twig_test_empty(($context["original_length"] ?? null))) { echo " data-originallength=\""; echo twig_escape_filter($this->env, ($context["original_length"] ?? null), "html", null, true); echo "\""; } echo " class=\""; echo twig_escape_filter($this->env, ($context["td_class"] ?? null), "html", null, true); echo "\">"; // line 2 echo ($context["value"] ?? null); // line 3 echo "</td> "; } public function getTemplateName() { return "display/results/row_data.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 53 => 3, 51 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/row_data.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/row_data.twig"); } } twig/11/117a2e69a389371c3a4e1e9aa8f6c0fc.php000064400000004773151677324010013131 0ustar00<?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/08/08810cbdd2ba8b03897481c80b412a59.php000064400000002717151677324010012702 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/empty_display.twig */ class __TwigTemplate_084ae912bcb5aeea7ae0888e7bb733e5 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<td class=\""; echo twig_escape_filter($this->env, ($context["classes"] ?? null), "html", null, true); echo "\"></td> "; } public function getTemplateName() { return "display/results/empty_display.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/empty_display.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/empty_display.twig"); } } twig/e5/e5d842adee5497e7d0b20be9ec56df0a.php000064400000003504151677324010013435 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/null_display.twig */ class __TwigTemplate_46a95cb20186d4b6303af153a8e79cd2 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<td data-decimals=\""; echo twig_escape_filter($this->env, ($context["data_decimals"] ?? null), "html", null, true); echo "\" data-type=\""; // line 2 echo twig_escape_filter($this->env, ($context["data_type"] ?? null), "html", null, true); echo "\" "; // line 4 echo " class=\""; echo twig_escape_filter($this->env, ($context["classes"] ?? null), "html", null, true); echo " null\"> <em>NULL</em> </td> "; } public function getTemplateName() { return "display/results/null_display.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 46 => 4, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/null_display.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/null_display.twig"); } } twig/a2/a225bb055dcc68fb4f405c769796667b.php000064400000111410151677324010013053 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/table.twig */ class __TwigTemplate_fda64d5be3f454529c2c67f8a5393558 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 ob_start(function () { return ''; }); // line 2 echo " "; if ( !twig_test_empty(($context["navigation"] ?? null))) { // line 3 echo " <table class=\"navigation d-print-none\"> <tr> <td class=\"navigation_separator\"></td> "; // line 7 echo twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "move_backward_buttons", [], "any", false, false, false, 7); echo " "; // line 8 echo twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "page_selector", [], "any", false, false, false, 8); echo " "; // line 9 echo twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "move_forward_buttons", [], "any", false, false, false, 9); echo " "; // line 11 if ((twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "number_total_page", [], "any", false, false, false, 11) != 1)) { // line 12 echo " <td><div class=\"navigation_separator\">|</div></td> "; } // line 14 echo " "; // line 15 if (twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "has_show_all", [], "any", false, false, false, 15)) { // line 16 echo " <td> <form action=\""; // line 17 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" method=\"post\"> "; // line 18 echo PhpMyAdmin\Url::getHiddenFields(twig_array_merge(twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "hidden_fields", [], "any", false, false, false, 18), ["session_max_rows" => twig_get_attribute($this->env, $this->source, // line 19 ($context["navigation"] ?? null), "session_max_rows", [], "any", false, false, false, 19), "pos" => "0"])); // line 21 echo " <input type=\"checkbox\" name=\"navig\" id=\"showAll_"; // line 22 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" class=\"showAllRows\" value=\"all\""; // line 23 echo ((twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "is_showing_all", [], "any", false, false, false, 23)) ? (" checked") : ("")); echo "> <label for=\"showAll_"; // line 24 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Show all"); echo "</label> </form> </td> <td><div class=\"navigation_separator\">|</div></td> "; } // line 29 echo " <td> <div class=\"save_edited hide\"> <input class=\"btn btn-link\" type=\"submit\" value=\""; echo _gettext("Save edited data"); // line 32 echo "\"> <div class=\"navigation_separator\">|</div> </div> </td> <td> <div class=\"restore_column hide\"> <input class=\"btn btn-link\" type=\"submit\" value=\""; echo _gettext("Restore column order"); // line 38 echo "\"> <div class=\"navigation_separator\">|</div> </div> </td> <td class=\"navigation_goto\"> <form action=\""; // line 43 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" method=\"post\" class=\"maxRowsForm\"> "; // line 44 echo PhpMyAdmin\Url::getHiddenFields(twig_array_merge(twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "hidden_fields", [], "any", false, false, false, 44), ["pos" => twig_get_attribute($this->env, $this->source, // line 45 ($context["navigation"] ?? null), "pos", [], "any", false, false, false, 45), "unlim_num_rows" => // line 46 ($context["unlim_num_rows"] ?? null)])); // line 47 echo " <label for=\"sessionMaxRowsSelect\">"; echo _gettext("Number of rows:"); // line 49 echo "</label> <select class=\"autosubmit\" name=\"session_max_rows\" id=\"sessionMaxRowsSelect\"> "; // line 51 if (twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "is_showing_all", [], "any", false, false, false, 51)) { // line 52 echo " <option value=\"\" disabled selected>"; echo _gettext("All"); echo "</option> "; } // line 54 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable([0 => "25", 1 => "50", 2 => "100", 3 => "250", 4 => "500"]); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 55 echo " <option value=\""; echo twig_escape_filter($this->env, $context["option"], "html", null, true); echo "\""; echo (((twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "max_rows", [], "any", false, false, false, 55) == $context["option"])) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, $context["option"], "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 57 echo " </select> </form> </td> <td class=\"navigation_separator\"></td> <td class=\"largescreenonly\"> <span>"; echo _gettext("Filter rows"); // line 62 echo ":</span> <input type=\"text\" class=\"filter_rows\" placeholder=\""; echo _gettext("Search this table"); // line 64 echo "\" data-for=\""; echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\"> </td> <td class=\"largescreenonly\"> "; // line 67 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "sort_by_key", [], "any", false, false, false, 67))) { // line 68 echo " <form action=\""; echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" method=\"post\" class=\"d-print-none\"> "; // line 69 echo PhpMyAdmin\Url::getHiddenFields(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "sort_by_key", [], "any", false, false, false, 69), "hidden_fields", [], "any", false, false, false, 69)); echo " "; echo _gettext("Sort by key:"); // line 71 echo " <select name=\"sql_query\" class=\"autosubmit\"> "; // line 72 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "sort_by_key", [], "any", false, false, false, 72), "options", [], "any", false, false, false, 72)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 73 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 73), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["option"], "is_selected", [], "any", false, false, false, 73)) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "content", [], "any", false, false, false, 73), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 75 echo " </select> </form> "; } // line 78 echo " </td> <td class=\"navigation_separator\"></td> </tr> </table> "; } $context["navigation_html"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 84 echo " "; // line 85 echo ($context["sql_query_message"] ?? null); echo " "; // line 87 echo twig_escape_filter($this->env, ($context["navigation_html"] ?? null), "html", null, true); echo " <input class=\"save_cells_at_once\" type=\"hidden\" value=\""; // line 89 echo twig_escape_filter($this->env, ($context["save_cells_at_once"] ?? null), "html", null, true); echo "\"> <div class=\"common_hidden_inputs\"> "; // line 91 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " </div> "; // line 94 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 94))) { // line 95 echo " "; if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 95), "order", [], "any", false, false, false, 95)) { // line 96 echo " <input class=\"col_order\" type=\"hidden\" value=\""; echo twig_escape_filter($this->env, twig_join_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 96), "order", [], "any", false, false, false, 96), ","), "html", null, true); echo "\"> "; } // line 98 echo " "; if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 98), "visibility", [], "any", false, false, false, 98)) { // line 99 echo " <input class=\"col_visib\" type=\"hidden\" value=\""; echo twig_escape_filter($this->env, twig_join_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 99), "visibility", [], "any", false, false, false, 99), ","), "html", null, true); echo "\"> "; } // line 101 echo " "; if ( !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 101), "is_view", [], "any", false, false, false, 101)) { // line 102 echo " <input class=\"table_create_time\" type=\"hidden\" value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 102), "table_create_time", [], "any", false, false, false, 102), "html", null, true); echo "\"> "; } } // line 105 echo " "; // line 106 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 106))) { // line 107 echo " <form method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" name=\"displayOptionsForm\" class=\"ajax d-print-none\"> "; // line 108 echo PhpMyAdmin\Url::getHiddenInputs(["db" => // line 109 ($context["db"] ?? null), "table" => // line 110 ($context["table"] ?? null), "sql_query" => // line 111 ($context["sql_query"] ?? null), "goto" => // line 112 ($context["goto"] ?? null), "display_options_form" => 1]); // line 114 echo " "; // line 116 if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 117 echo " <div class=\"mb-3\"> <button class=\"btn btn-sm btn-secondary\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#extraOptions\" aria-expanded=\""; // line 118 echo (((($context["default_sliders_state"] ?? null) == "open")) ? ("true") : ("false")); echo "\" aria-controls=\"extraOptions\"> "; echo _gettext("Extra options"); // line 120 echo " </button> </div> <div class=\"collapse mb-3"; // line 122 echo (((($context["default_sliders_state"] ?? null) == "open")) ? (" show") : ("")); echo "\" id=\"extraOptions\"> "; } // line 124 echo " <fieldset class=\"pma-fieldset\"> <div class=\"formelement\"> <div> <input type=\"radio\" name=\"pftext\" id=\"partialFulltextRadioP"; // line 128 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" value=\"P\""; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 128), "pftext", [], "any", false, false, false, 128) == "P")) ? (" checked") : ("")); echo "> <label for=\"partialFulltextRadioP"; // line 129 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Partial texts"); echo "</label> </div> <div> <input type=\"radio\" name=\"pftext\" id=\"partialFulltextRadioF"; // line 132 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" value=\"F\""; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 132), "pftext", [], "any", false, false, false, 132) == "F")) ? (" checked") : ("")); echo "> <label for=\"partialFulltextRadioF"; // line 133 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Full texts"); echo "</label> </div> </div> "; // line 137 if ((($context["relwork"] ?? null) && ($context["displaywork"] ?? null))) { // line 138 echo " <div class=\"formelement\"> <div> <input type=\"radio\" name=\"relational_display\" id=\"relationalDisplayRadioK"; // line 140 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" value=\"K\""; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 140), "relational_display", [], "any", false, false, false, 140) == "K")) ? (" checked") : ("")); echo "> <label for=\"relationalDisplayRadioK"; // line 141 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Relational key"); echo "</label> </div> <div> <input type=\"radio\" name=\"relational_display\" id=\"relationalDisplayRadioD"; // line 144 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" value=\"D\""; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 144), "relational_display", [], "any", false, false, false, 144) == "D")) ? (" checked") : ("")); echo "> <label for=\"relationalDisplayRadioD"; // line 145 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Display column for relationships"); echo "</label> </div> </div> "; } // line 149 echo " <div class=\"formelement\"> <input type=\"checkbox\" name=\"display_binary\" id=\"display_binary_"; // line 151 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\""; // line 152 echo (( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 152), "display_binary", [], "any", false, false, false, 152))) ? (" checked") : ("")); echo "> <label for=\"display_binary_"; // line 153 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Show binary contents"); echo "</label> <input type=\"checkbox\" name=\"display_blob\" id=\"display_blob_"; // line 155 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\""; // line 156 echo (( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 156), "display_blob", [], "any", false, false, false, 156))) ? (" checked") : ("")); echo "> <label for=\"display_blob_"; // line 157 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Show BLOB contents"); echo "</label> </div> "; // line 164 echo " <div class=\"formelement\"> <input type=\"checkbox\" name=\"hide_transformation\" id=\"hide_transformation_"; // line 165 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\""; // line 166 echo (( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 166), "hide_transformation", [], "any", false, false, false, 166))) ? (" checked") : ("")); echo "> <label for=\"hide_transformation_"; // line 167 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Hide browser transformation"); echo "</label> </div> <div class=\"formelement\"> "; // line 171 if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 171), "possible_as_geometry", [], "any", false, false, false, 171)) { // line 172 echo " <div> <input type=\"radio\" name=\"geoOption\" id=\"geoOptionRadioGeom"; // line 173 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" value=\"GEOM\""; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 173), "geo_option", [], "any", false, false, false, 173) == "GEOM")) ? (" checked") : ("")); echo "> <label for=\"geoOptionRadioGeom"; // line 174 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Geometry"); echo "</label> </div> "; } // line 177 echo " <div> <input type=\"radio\" name=\"geoOption\" id=\"geoOptionRadioWkt"; // line 178 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" value=\"WKT\""; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 178), "geo_option", [], "any", false, false, false, 178) == "WKT")) ? (" checked") : ("")); echo "> <label for=\"geoOptionRadioWkt"; // line 179 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Well Known Text"); echo "</label> </div> <div> <input type=\"radio\" name=\"geoOption\" id=\"geoOptionRadioWkb"; // line 182 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" value=\"WKB\""; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 182), "geo_option", [], "any", false, false, false, 182) == "WKB")) ? (" checked") : ("")); echo "> <label for=\"geoOptionRadioWkb"; // line 183 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\">"; echo _gettext("Well Known Binary"); echo "</label> </div> </div> <div class=\"clearfloat\"></div> </fieldset> <fieldset class=\"pma-fieldset tblFooters\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 190 echo "\"> </fieldset> "; // line 192 if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 193 echo " </div> "; } // line 195 echo " </form> "; } // line 197 echo " "; // line 198 if (twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "has_bulk_actions_form", [], "any", false, false, false, 198)) { // line 199 echo " <form method=\"post\" name=\"resultsForm\" id=\"resultsForm_"; echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\" class=\"ajax\"> "; // line 200 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null), 1); echo " <input type=\"hidden\" name=\"goto\" value=\""; // line 201 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\"> "; } // line 203 echo " <div class=\"table-responsive-md\"> <table class=\"table table-striped table-hover table-sm table_results data ajax w-auto\" data-uniqueId=\""; // line 205 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "\"> "; // line 207 echo twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "button", [], "any", false, false, false, 207); echo " "; // line 208 echo twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "table_headers_for_columns", [], "any", false, false, false, 208); echo " "; // line 209 echo twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_at_right_side", [], "any", false, false, false, 209); echo " </tr> </thead> <tbody> "; // line 215 echo ($context["body"] ?? null); echo " </tbody> </table> </div> "; // line 220 if ( !twig_test_empty(($context["bulk_links"] ?? null))) { // line 221 echo " <div class=\"d-print-none\"> <img class=\"selectallarrow\" src=\""; // line 222 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath((("arrow_" . ($context["text_dir"] ?? null)) . ".png")), "html", null, true); echo "\" width=\"38\" height=\"22\" alt=\""; echo _gettext("With selected:"); echo "\"> <input type=\"checkbox\" id=\"resultsForm_"; // line 223 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "_checkall\" class=\"checkall_box\" title=\""; echo _gettext("Check all"); echo "\"> <label for=\"resultsForm_"; // line 224 echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true); echo "_checkall\">"; echo _gettext("Check all"); echo "</label> <em class=\"with-selected\">"; echo _gettext("With selected:"); // line 225 echo "</em> <button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"edit\" title=\""; echo _gettext("Edit"); // line 227 echo "\"> "; // line 228 echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit")); echo " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"copy\" title=\""; echo _gettext("Copy"); // line 231 echo "\"> "; // line 232 echo PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Copy")); echo " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"delete\" title=\""; echo _gettext("Delete"); // line 235 echo "\"> "; // line 236 echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Delete")); echo " </button> "; // line 239 if (twig_get_attribute($this->env, $this->source, ($context["bulk_links"] ?? null), "has_export_button", [], "any", false, false, false, 239)) { // line 240 echo " <button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"export\" title=\""; echo _gettext("Export"); echo "\"> "; // line 241 echo PhpMyAdmin\Html\Generator::getIcon("b_tblexport", _gettext("Export")); echo " </button> "; } // line 244 echo " </div> <input type=\"hidden\" name=\"clause_is_unique\" value=\""; // line 246 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["bulk_links"] ?? null), "clause_is_unique", [], "any", false, false, false, 246), "html", null, true); echo "\"> <input type=\"hidden\" name=\"sql_query\" value=\""; // line 247 echo twig_escape_filter($this->env, ($context["sql_query"] ?? null), "html", null, true); echo "\"> </form> "; } // line 250 echo " "; // line 251 echo twig_escape_filter($this->env, ($context["navigation_html"] ?? null), "html", null, true); echo " "; // line 253 if ( !twig_test_empty(($context["operations"] ?? null))) { // line 254 echo " <fieldset class=\"pma-fieldset d-print-none\"> <legend>"; echo _gettext("Query results operations"); // line 255 echo "</legend> "; // line 257 if (twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_print_link", [], "any", false, false, false, 257)) { // line 258 echo " <button type=\"button\" class=\"btn btn-link jsPrintButton\">"; echo PhpMyAdmin\Html\Generator::getIcon("b_print", _gettext("Print"), true); echo "</button> "; // line 260 echo PhpMyAdmin\Html\Generator::linkOrButton("#", null, PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Copy to clipboard"), true), ["id" => "copyToClipBoard", "class" => "btn"]); // line 265 echo " "; } // line 267 echo " "; // line 268 if ( !twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_procedure", [], "any", false, false, false, 268)) { // line 269 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_export_link", [], "any", false, false, false, 269)) { // line 270 echo " "; echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/table/export"), twig_get_attribute($this->env, $this->source, // line 272 ($context["operations"] ?? null), "url_params", [], "any", false, false, false, 272), PhpMyAdmin\Html\Generator::getIcon("b_tblexport", _gettext("Export"), true), ["class" => "btn"]); // line 275 echo " "; // line 277 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/table/chart"), twig_get_attribute($this->env, $this->source, // line 279 ($context["operations"] ?? null), "url_params", [], "any", false, false, false, 279), PhpMyAdmin\Html\Generator::getIcon("b_chart", _gettext("Display chart"), true), ["class" => "btn"]); // line 282 echo " "; // line 284 if (twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_geometry", [], "any", false, false, false, 284)) { // line 285 echo " "; echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/table/gis-visualization"), twig_get_attribute($this->env, $this->source, // line 287 ($context["operations"] ?? null), "url_params", [], "any", false, false, false, 287), PhpMyAdmin\Html\Generator::getIcon("b_globe", _gettext("Visualize GIS data"), true), ["class" => "btn"]); // line 290 echo " "; } // line 292 echo " "; } // line 293 echo " <span> "; // line 295 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/view/create"), ["db" => // line 297 ($context["db"] ?? null), "table" => ($context["table"] ?? null), "sql_query" => ($context["sql_query"] ?? null), "printview" => true], PhpMyAdmin\Html\Generator::getIcon("b_view_add", _gettext("Create view"), true), ["class" => "btn create_view ajax"]); // line 300 echo " </span> "; } // line 303 echo " </fieldset> "; } // line 305 if (( !twig_test_empty(($context["operations"] ?? null)) && !twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_procedure", [], "any", false, false, false, 305))) { // line 306 echo twig_include($this->env, $context, "modals/create_view.twig"); echo " "; } } public function getTemplateName() { return "display/results/table.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 739 => 306, 737 => 305, 733 => 303, 728 => 300, 726 => 297, 725 => 295, 721 => 293, 718 => 292, 714 => 290, 712 => 287, 710 => 285, 708 => 284, 704 => 282, 702 => 279, 701 => 277, 697 => 275, 695 => 272, 693 => 270, 690 => 269, 688 => 268, 685 => 267, 681 => 265, 679 => 260, 673 => 258, 671 => 257, 667 => 255, 663 => 254, 661 => 253, 656 => 251, 653 => 250, 647 => 247, 643 => 246, 639 => 244, 633 => 241, 628 => 240, 626 => 239, 620 => 236, 617 => 235, 610 => 232, 607 => 231, 600 => 228, 597 => 227, 592 => 225, 585 => 224, 579 => 223, 573 => 222, 570 => 221, 568 => 220, 560 => 215, 551 => 209, 547 => 208, 543 => 207, 538 => 205, 534 => 203, 529 => 201, 525 => 200, 520 => 199, 518 => 198, 515 => 197, 511 => 195, 507 => 193, 505 => 192, 501 => 190, 488 => 183, 482 => 182, 474 => 179, 468 => 178, 465 => 177, 457 => 174, 451 => 173, 448 => 172, 446 => 171, 437 => 167, 433 => 166, 430 => 165, 427 => 164, 419 => 157, 415 => 156, 412 => 155, 405 => 153, 401 => 152, 398 => 151, 394 => 149, 385 => 145, 379 => 144, 371 => 141, 365 => 140, 361 => 138, 359 => 137, 350 => 133, 344 => 132, 336 => 129, 330 => 128, 324 => 124, 319 => 122, 315 => 120, 310 => 118, 307 => 117, 305 => 116, 301 => 114, 299 => 112, 298 => 111, 297 => 110, 296 => 109, 295 => 108, 290 => 107, 288 => 106, 285 => 105, 278 => 102, 275 => 101, 269 => 99, 266 => 98, 260 => 96, 257 => 95, 255 => 94, 249 => 91, 244 => 89, 239 => 87, 234 => 85, 231 => 84, 223 => 78, 218 => 75, 205 => 73, 201 => 72, 198 => 71, 193 => 69, 188 => 68, 186 => 67, 179 => 64, 175 => 62, 167 => 57, 154 => 55, 149 => 54, 143 => 52, 141 => 51, 137 => 49, 132 => 47, 130 => 46, 129 => 45, 128 => 44, 124 => 43, 117 => 38, 108 => 32, 102 => 29, 92 => 24, 88 => 23, 85 => 22, 82 => 21, 80 => 19, 79 => 18, 75 => 17, 72 => 16, 70 => 15, 67 => 14, 63 => 12, 61 => 11, 56 => 9, 52 => 8, 48 => 7, 42 => 3, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/table.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/table.twig"); } } twig/a2/a2cb022e2df23f11d5c31c5a09eda215.php000064400000005331151677324010013216 0ustar00<?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/4d/4d4107c80447739b92c15d22ee2aaa7f.php000064400000003715151677324010013044 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* sql/sql_query_results.twig */ class __TwigTemplate_d164f972e2ab257086a59296ff7beb9c extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class=\"sqlqueryresults ajax\"> "; // line 2 echo ($context["previous_update_query"] ?? null); echo " "; // line 3 echo ($context["profiling_chart"] ?? null); echo " "; // line 4 echo ($context["missing_unique_column_message"] ?? null); echo " "; // line 5 echo ($context["bookmark_created_message"] ?? null); echo " "; // line 6 echo ($context["table"] ?? null); echo " "; // line 7 echo ($context["bookmark_support"] ?? null); echo " </div> "; } public function getTemplateName() { return "sql/sql_query_results.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 60 => 7, 56 => 6, 52 => 5, 48 => 4, 44 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "sql/sql_query_results.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/sql/sql_query_results.twig"); } } twig/07/07523bcef39fc72b016f714af11d94c7.php000064400000004654151677324010013051 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* recent_favorite_table_recent.twig */ class __TwigTemplate_d22d7a3db6dd88f5dddd15c18ed143ea extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["tables"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["table"]) { // line 2 echo "<li class=\"warp_link\"> <a href=\""; // line 3 echo PhpMyAdmin\Url::getFromRoute("/table/recent-favorite", $context["table"]); echo "\"> `"; // line 4 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["table"], "db", [], "any", false, false, false, 4), "html", null, true); echo "`.`"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["table"], "table", [], "any", false, false, false, 4), "html", null, true); echo "` </a> </li> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['table'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } public function getTemplateName() { return "recent_favorite_table_recent.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 48 => 4, 44 => 3, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "recent_favorite_table_recent.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/recent_favorite_table_recent.twig"); } } twig/95/95ebaa3230735f368f77119705d88903.php000064400000013512151677324010012513 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/triggers/list.twig */ class __TwigTemplate_aa3ff96b4d81553de19affd56e50cf1b extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class=\"container-fluid my-3\"> <h2> "; // line 3 echo PhpMyAdmin\Html\Generator::getIcon("b_triggers", _gettext("Triggers")); echo " "; // line 4 echo PhpMyAdmin\Html\MySQLDocumentation::show("TRIGGERS"); echo " </h2> <div class=\"d-flex flex-wrap my-3\"> <div> <div class=\"input-group\"> <div class=\"input-group-text\"> <div class=\"form-check mb-0\"> <input class=\"form-check-input checkall_box\" type=\"checkbox\" value=\"\" id=\"checkAllCheckbox\" form=\"rteListForm\"> <label class=\"form-check-label\" for=\"checkAllCheckbox\">"; echo _gettext("Check all"); // line 13 echo "</label> </div> </div> <button class=\"btn btn-outline-secondary\" id=\"bulkActionExportButton\" type=\"submit\" name=\"submit_mult\" value=\"export\" form=\"rteListForm\" title=\""; echo _gettext("Export"); // line 16 echo "\"> "; // line 17 echo PhpMyAdmin\Html\Generator::getIcon("b_export", _gettext("Export")); echo " </button> <button class=\"btn btn-outline-secondary\" id=\"bulkActionDropButton\" type=\"submit\" name=\"submit_mult\" value=\"drop\" form=\"rteListForm\" title=\""; echo _gettext("Drop"); // line 19 echo "\"> "; // line 20 echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); echo " </button> </div> </div> <div class=\"ms-auto\"> <a class=\"ajax add_anchor btn btn-primary"; // line 26 echo (( !($context["has_privilege"] ?? null)) ? (" disabled") : ("")); echo "\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/database/triggers", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "add_item" => true]); echo "\" role=\"button\""; echo (( !($context["has_privilege"] ?? null)) ? (" tabindex=\"-1\" aria-disabled=\"true\"") : ("")); echo "> "; // line 27 echo PhpMyAdmin\Html\Generator::getIcon("b_trigger_add", _gettext("Create new trigger")); echo " </a> </div> </div> <form id=\"rteListForm\" class=\"ajax\" action=\""; // line 32 echo PhpMyAdmin\Url::getFromRoute((( !twig_test_empty(($context["table"] ?? null))) ? ("/table/triggers") : ("/database/triggers"))); echo "\"> "; // line 33 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <div id=\"nothing2display\""; // line 35 echo (( !twig_test_empty(($context["items"] ?? null))) ? (" class=\"hide\"") : ("")); echo "> "; echo _gettext("There are no triggers to display."); // line 37 echo " </div> <table id=\"triggersTable\" class=\"table table-striped table-hover"; // line 39 echo ((twig_test_empty(($context["items"] ?? null))) ? (" hide") : ("")); echo " w-auto data\"> <thead> <tr> <th></th> <th>"; echo _gettext("Name"); // line 43 echo "</th> "; // line 44 if (twig_test_empty(($context["table"] ?? null))) { // line 45 echo " <th>"; echo _gettext("Table"); echo "</th> "; } // line 47 echo " <th>"; echo _gettext("Time"); echo "</th> <th>"; echo _gettext("Event"); // line 48 echo "</th> <th colspan=\"3\"></th> </tr> </thead> <tbody> <tr class=\"hide\">"; // line 53 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(range(0, ((twig_test_empty(($context["table"] ?? null))) ? (7) : (6)))); foreach ($context['_seq'] as $context["_key"] => $context["i"]) { echo "<td></td>"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; echo "</tr> "; // line 55 echo ($context["rows"] ?? null); echo " </tbody> </table> </form> </div> "; } public function getTemplateName() { return "database/triggers/list.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 163 => 55, 151 => 53, 144 => 48, 138 => 47, 132 => 45, 130 => 44, 127 => 43, 119 => 39, 115 => 37, 110 => 35, 105 => 33, 101 => 32, 93 => 27, 85 => 26, 76 => 20, 73 => 19, 67 => 17, 64 => 16, 58 => 13, 45 => 4, 41 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "database/triggers/list.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/triggers/list.twig"); } } twig/6a/6aef5c203c45e243b2eb9a53e7abf3d7.php000064400000003311151677324010013331 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/page_selector.twig */ class __TwigTemplate_f5dc621fa283e801c04e7848ff2721a1 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<td> <form action=\""; // line 2 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" method=\"post\"> "; // line 3 echo PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null)); echo " "; // line 4 echo ($context["page_selector"] ?? null); echo " </form> </td> "; } public function getTemplateName() { return "display/results/page_selector.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 48 => 4, 44 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/page_selector.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/page_selector.twig"); } } twig/6a/6adfbbc6d98b5af4d8de94bc34a225d7.php000064400000034151151677324010013516 0ustar00<?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/events/index.twig */ class __TwigTemplate_738a3623af647de06a89e3713f85616a extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 yield "<div class=\"container-fluid my-3\"> <h2> "; // line 3 yield PhpMyAdmin\Html\Generator::getIcon("b_events", _gettext("Events")); yield " "; // line 4 yield PhpMyAdmin\Html\MySQLDocumentation::show("EVENTS"); yield " </h2> <div class=\"d-flex flex-wrap my-3\">"; // line 8 if ( !Twig\Extension\CoreExtension::testEmpty(($context["items"] ?? null))) { // line 9 yield " <div> <div class=\"input-group\"> <div class=\"input-group-text\"> <div class=\"form-check mb-0\"> <input class=\"form-check-input checkall_box\" type=\"checkbox\" value=\"\" id=\"checkAllCheckbox\" form=\"rteListForm\"> <label class=\"form-check-label\" for=\"checkAllCheckbox\">"; yield _gettext("Check all"); // line 14 yield "</label> </div> </div> <button class=\"btn btn-outline-secondary\" id=\"bulkActionExportButton\" type=\"submit\" name=\"submit_mult\" value=\"export\" form=\"rteListForm\" title=\""; yield _gettext("Export"); // line 17 yield "\"> "; // line 18 yield PhpMyAdmin\Html\Generator::getIcon("b_export", _gettext("Export")); yield " </button> <button class=\"btn btn-outline-secondary\" id=\"bulkActionDropButton\" type=\"submit\" name=\"submit_mult\" value=\"drop\" form=\"rteListForm\" title=\""; yield _gettext("Drop"); // line 20 yield "\"> "; // line 21 yield PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); yield " </button> </div> </div>"; } // line 26 yield " <div"; // line 27 yield (( !Twig\Extension\CoreExtension::testEmpty(($context["items"] ?? null))) ? (" class=\"ms-auto\"") : ("")); yield "> <a class=\"ajax add_anchor btn btn-primary"; // line 28 yield (( !($context["has_privilege"] ?? null)) ? (" disabled") : ("")); yield "\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/database/events", ["db" => ($context["db"] ?? null), "add_item" => true]); yield "\" role=\"button\""; yield (( !($context["has_privilege"] ?? null)) ? (" tabindex=\"-1\" aria-disabled=\"true\"") : ("")); yield "> "; // line 29 yield PhpMyAdmin\Html\Generator::getIcon("b_event_add", _gettext("Create new event")); yield " </a> </div> </div> <form id=\"rteListForm\" class=\"ajax\" action=\""; // line 34 yield PhpMyAdmin\Url::getFromRoute("/database/events"); yield "\"> "; // line 35 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); yield " <div id=\"nothing2display\""; // line 37 yield (( !Twig\Extension\CoreExtension::testEmpty(($context["items"] ?? null))) ? (" class=\"hide\"") : ("")); yield "> "; // line 38 yield $this->env->getFilter('notice')->getCallable()(_gettext("There are no events to display.")); yield " </div> <table id=\"eventsTable\" class=\"table table-striped table-hover"; // line 41 yield ((Twig\Extension\CoreExtension::testEmpty(($context["items"] ?? null))) ? (" hide") : ("")); yield " w-auto data\"> <thead> <tr> <th></th> <th>"; yield _gettext("Name"); // line 45 yield "</th> <th>"; yield _gettext("Status"); // line 46 yield "</th> <th>"; yield _gettext("Type"); // line 47 yield "</th> <th colspan=\"3\"></th> </tr> </thead> <tbody> <tr class=\"hide\">"; // line 52 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(range(0, 6)); foreach ($context['_seq'] as $context["_key"] => $context["i"]) { yield "<td></td>"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; yield "</tr> "; // line 54 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["items"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["event"]) { // line 55 yield " <tr"; yield ((($context["is_ajax"] ?? null)) ? (" class=\"ajaxInsert hide\"") : ("")); yield "> <td> <input type=\"checkbox\" class=\"checkall\" name=\"item_name[]\" value=\""; // line 57 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "name", [], "any", false, false, false, 57), "html", null, true); yield "\"> </td> <td> <span class=\"drop_sql hide\">"; // line 60 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf("DROP EVENT IF EXISTS %s", PhpMyAdmin\Util::backquote(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "name", [], "any", false, false, false, 60))), "html", null, true); yield "</span> <strong>"; // line 61 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "name", [], "any", false, false, false, 61), "html", null, true); yield "</strong> </td> <td> "; // line 64 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "status", [], "any", false, false, false, 64), "html", null, true); yield " </td> <td> "; // line 67 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "type", [], "any", false, false, false, 67), "html", null, true); yield " </td> <td> "; // line 70 if (($context["has_privilege"] ?? null)) { // line 71 yield " <a class=\"ajax edit_anchor\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/database/events", ["db" => // line 72 ($context["db"] ?? null), "edit_item" => true, "item_name" => CoreExtension::getAttribute($this->env, $this->source, // line 74 $context["event"], "name", [], "any", false, false, false, 74)]); // line 75 yield "\"> "; // line 76 yield PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit")); yield " </a> "; } else { // line 79 yield " "; yield PhpMyAdmin\Html\Generator::getIcon("bd_edit", _gettext("Edit")); yield " "; } // line 81 yield " </td> <td> <a class=\"ajax export_anchor\" href=\""; // line 83 yield PhpMyAdmin\Url::getFromRoute("/database/events", ["db" => // line 84 ($context["db"] ?? null), "export_item" => true, "item_name" => CoreExtension::getAttribute($this->env, $this->source, // line 86 $context["event"], "name", [], "any", false, false, false, 86)]); // line 87 yield "\"> "; // line 88 yield PhpMyAdmin\Html\Generator::getIcon("b_export", _gettext("Export")); yield " </a> </td> <td> "; // line 92 if (($context["has_privilege"] ?? null)) { // line 93 yield " "; yield PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), ["db" => // line 96 ($context["db"] ?? null), "sql_query" => Twig\Extension\CoreExtension::sprintf("DROP EVENT IF EXISTS %s", PhpMyAdmin\Util::backquote(CoreExtension::getAttribute($this->env, $this->source, // line 97 $context["event"], "name", [], "any", false, false, false, 97))), "goto" => PhpMyAdmin\Url::getFromRoute("/database/events", ["db" => // line 98 ($context["db"] ?? null)])], PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")), ["class" => "ajax drop_anchor"]); // line 102 yield " "; } else { // line 104 yield " "; yield PhpMyAdmin\Html\Generator::getIcon("bd_drop", _gettext("Drop")); yield " "; } // line 106 yield " </td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['event'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 109 yield " </tbody> </table> </form> <div class=\"card mt-3\"> <div class=\"card-header\">"; yield _gettext("Event scheduler status"); // line 114 yield "</div> <div class=\"card-body\"> <div class=\"wrap\"> <div class=\"wrapper toggleAjax hide\"> <div class=\"toggleButton\"> <div title=\""; yield _gettext("Click to toggle"); // line 119 yield "\" class=\"toggle-container "; yield ((($context["scheduler_state"] ?? null)) ? ("on") : ("off")); yield "\"> <img src=\""; // line 120 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath((("toggle-" . ($context["text_dir"] ?? null)) . ".png")), "html", null, true); yield "\"> <table> <tbody> <tr> <td class=\"toggleOn\"> <span class=\"hide\">"; // line 126 yield PhpMyAdmin\Url::getFromRoute("/sql", ["db" => // line 127 ($context["db"] ?? null), "goto" => PhpMyAdmin\Url::getFromRoute("/database/events", ["db" => // line 128 ($context["db"] ?? null)]), "sql_query" => "SET GLOBAL event_scheduler=\"ON\""]); // line 131 yield "</span> <div>"; yield _gettext("ON"); // line 132 yield "</div> </td> <td><div> </div></td> <td class=\"toggleOff\"> <span class=\"hide\">"; // line 137 yield PhpMyAdmin\Url::getFromRoute("/sql", ["db" => // line 138 ($context["db"] ?? null), "goto" => PhpMyAdmin\Url::getFromRoute("/database/events", ["db" => // line 139 ($context["db"] ?? null)]), "sql_query" => "SET GLOBAL event_scheduler=\"OFF\""]); // line 142 yield "</span> <div>"; yield _gettext("OFF"); // line 143 yield "</div> </td> </tr> </tbody> </table> <span class=\"hide callback\">Functions.slidingMessage(data.sql_query);</span> <span class=\"hide text_direction\">"; // line 149 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["text_dir"] ?? null), "html", null, true); yield "</span> </div> </div> </div> </div> </div> </div> </div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/events/index.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 327 => 149, 319 => 143, 315 => 142, 313 => 139, 312 => 138, 311 => 137, 305 => 132, 301 => 131, 299 => 128, 298 => 127, 297 => 126, 289 => 120, 284 => 119, 276 => 114, 268 => 109, 260 => 106, 254 => 104, 250 => 102, 248 => 98, 247 => 97, 246 => 96, 244 => 93, 242 => 92, 235 => 88, 232 => 87, 230 => 86, 229 => 84, 228 => 83, 224 => 81, 218 => 79, 212 => 76, 209 => 75, 207 => 74, 206 => 72, 204 => 71, 202 => 70, 196 => 67, 190 => 64, 184 => 61, 180 => 60, 174 => 57, 168 => 55, 164 => 54, 152 => 52, 145 => 47, 141 => 46, 137 => 45, 129 => 41, 123 => 38, 119 => 37, 114 => 35, 110 => 34, 102 => 29, 94 => 28, 90 => 27, 87 => 26, 80 => 21, 77 => 20, 71 => 18, 68 => 17, 62 => 14, 54 => 9, 52 => 8, 46 => 4, 42 => 3, 38 => 1,); } public function getSourceContext() { return new Source("", "database/events/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/events/index.twig"); } } twig/f6/f6dc6f914387ea34f7ad9aba21f93c51.php000064400000005607151677324010013310 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/table_navigation_button.twig */ class __TwigTemplate_5c374806bfae443ad96ce8f5b8b59107 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<td> <form action=\""; // line 2 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" method=\"post\" "; echo ($context["onsubmit"] ?? null); echo "> "; // line 3 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"sql_query\" value=\""; // line 4 echo ($context["sql_query"] ?? null); echo "\"> <input type=\"hidden\" name=\"pos\" value=\""; // line 5 echo twig_escape_filter($this->env, ($context["pos"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" name=\"is_browse_distinct\" value=\""; // line 6 echo twig_escape_filter($this->env, ($context["is_browse_distinct"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" name=\"goto\" value=\""; // line 7 echo twig_escape_filter($this->env, ($context["goto"] ?? null), "html", null, true); echo "\"> "; // line 8 echo ($context["input_for_real_end"] ?? null); echo " <input type=\"submit\" name=\"navig\" class=\"btn btn-secondary ajax\" value=\""; // line 9 echo ($context["caption_output"] ?? null); echo "\" title=\""; echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true); echo "\"> </form> </td> "; } public function getTemplateName() { return "display/results/table_navigation_button.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 70 => 9, 66 => 8, 62 => 7, 58 => 6, 54 => 5, 50 => 4, 46 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "display/results/table_navigation_button.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/table_navigation_button.twig"); } } twig/e7/e7dc610e2efefb69904ec888fcb421b3.php000064400000014707151677324010013374 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/triggers/row.twig */ class __TwigTemplate_935c1579261df69b81a231f32722b371 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<tr"; if ( !twig_test_empty(($context["row_class"] ?? null))) { echo " class=\""; echo twig_escape_filter($this->env, ($context["row_class"] ?? null), "html", null, true); echo "\""; } echo "> <td> <input type=\"checkbox\" class=\"checkall\" name=\"item_name[]\" value=\""; // line 3 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["trigger"] ?? null), "name", [], "any", false, false, false, 3), "html", null, true); echo "\"> </td> <td> <span class='drop_sql hide'>"; // line 6 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["trigger"] ?? null), "drop", [], "any", false, false, false, 6), "html", null, true); echo "</span> <strong>"; // line 7 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["trigger"] ?? null), "name", [], "any", false, false, false, 7), "html", null, true); echo "</strong> </td> "; // line 9 if (twig_test_empty(($context["table"] ?? null))) { // line 10 echo " <td> <a href=\""; // line 11 echo PhpMyAdmin\Url::getFromRoute("/table/triggers", ["db" => ($context["db"] ?? null), "table" => twig_get_attribute($this->env, $this->source, ($context["trigger"] ?? null), "table", [], "any", false, false, false, 11)]); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["trigger"] ?? null), "table", [], "any", false, false, false, 11), "html", null, true); echo "</a> </td> "; } // line 14 echo " <td> "; // line 15 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["trigger"] ?? null), "action_timing", [], "any", false, false, false, 15), "html", null, true); echo " </td> <td> "; // line 18 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["trigger"] ?? null), "event_manipulation", [], "any", false, false, false, 18), "html", null, true); echo " </td> <td> "; // line 21 if (($context["has_edit_privilege"] ?? null)) { // line 22 echo " <a class=\"ajax edit_anchor\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/database/triggers", ["db" => // line 23 ($context["db"] ?? null), "table" => // line 24 ($context["table"] ?? null), "edit_item" => true, "item_name" => twig_get_attribute($this->env, $this->source, // line 26 ($context["trigger"] ?? null), "name", [], "any", false, false, false, 26)]); // line 27 echo "\"> "; // line 28 echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit")); echo " </a> "; } else { // line 31 echo " "; echo PhpMyAdmin\Html\Generator::getIcon("bd_edit", _gettext("Edit")); echo " "; } // line 33 echo " </td> <td> <a class=\"ajax export_anchor\" href=\""; // line 35 echo PhpMyAdmin\Url::getFromRoute("/database/triggers", ["db" => // line 36 ($context["db"] ?? null), "table" => // line 37 ($context["table"] ?? null), "export_item" => true, "item_name" => twig_get_attribute($this->env, $this->source, // line 39 ($context["trigger"] ?? null), "name", [], "any", false, false, false, 39)]); // line 40 echo "\"> "; // line 41 echo PhpMyAdmin\Html\Generator::getIcon("b_export", _gettext("Export")); echo " </a> </td> <td> "; // line 45 if (($context["has_drop_privilege"] ?? null)) { // line 46 echo " "; echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), ["db" => // line 49 ($context["db"] ?? null), "table" => // line 50 ($context["table"] ?? null), "sql_query" => twig_get_attribute($this->env, $this->source, // line 51 ($context["trigger"] ?? null), "drop", [], "any", false, false, false, 51), "goto" => PhpMyAdmin\Url::getFromRoute("/database/triggers", ["db" => // line 52 ($context["db"] ?? null)])], PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")), ["class" => "ajax drop_anchor"]); // line 56 echo " "; } else { // line 58 echo " "; echo PhpMyAdmin\Html\Generator::getIcon("bd_drop", _gettext("Drop")); echo " "; } // line 60 echo " </td> </tr> "; } public function getTemplateName() { return "database/triggers/row.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 151 => 60, 145 => 58, 141 => 56, 139 => 52, 138 => 51, 137 => 50, 136 => 49, 134 => 46, 132 => 45, 125 => 41, 122 => 40, 120 => 39, 119 => 37, 118 => 36, 117 => 35, 113 => 33, 107 => 31, 101 => 28, 98 => 27, 96 => 26, 95 => 24, 94 => 23, 92 => 22, 90 => 21, 84 => 18, 78 => 15, 75 => 14, 67 => 11, 64 => 10, 62 => 9, 57 => 7, 53 => 6, 47 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "database/triggers/row.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/triggers/row.twig"); } } twig/f1/f1305e2fd0ad0989b8981dc56b39e3ef.php000064400000051711151677324010013225 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* sql/query.twig */ class __TwigTemplate_9cd81adfcdbd148abcd27557d21e396f extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<form method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/import"); echo "\" class=\"ajax lock-page\" id=\"sqlqueryform\" name=\"sqlform\""; // line 2 echo ((($context["is_upload"] ?? null)) ? (" enctype=\"multipart/form-data\"") : ("")); echo "> "; // line 3 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"is_js_confirmed\" value=\"0\"> <input type=\"hidden\" name=\"pos\" value=\"0\"> <input type=\"hidden\" name=\"goto\" value=\""; // line 6 echo twig_escape_filter($this->env, ($context["goto"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" name=\"message_to_show\" value=\""; echo _gettext("Your SQL query has been executed successfully."); // line 7 echo "\"> <input type=\"hidden\" name=\"prev_sql_query\" value=\""; // line 8 echo twig_escape_filter($this->env, ($context["query"] ?? null), "html", null, true); echo "\"> "; // line 10 if (((($context["display_tab"] ?? null) == "full") || (($context["display_tab"] ?? null) == "sql"))) { // line 11 echo " <a id=\"querybox\"></a> <div class=\"card mb-3\"> <div class=\"card-header\">"; // line 14 echo ($context["legend"] ?? null); echo "</div> <div class=\"card-body\"> <div id=\"queryfieldscontainer\"> <div class=\"row\"> <div class=\"col\"> <div class=\"mb-3\"> <textarea class=\"form-control\" tabindex=\"100\" name=\"sql_query\" id=\"sqlquery\" cols=\""; // line 20 echo twig_escape_filter($this->env, ($context["textarea_cols"] ?? null), "html", null, true); echo "\" rows=\""; echo twig_escape_filter($this->env, ($context["textarea_rows"] ?? null), "html", null, true); echo "\" data-textarea-auto-select=\""; echo ((($context["textarea_auto_select"] ?? null)) ? ("true") : ("false")); echo "\" aria-label=\""; echo _gettext("SQL query"); echo "\">"; // line 21 echo twig_escape_filter($this->env, ($context["query"] ?? null), "html", null, true); // line 22 echo "</textarea> </div> <div id=\"querymessage\"></div> <div class=\"btn-toolbar\" role=\"toolbar\"> "; // line 27 if ( !twig_test_empty(($context["columns_list"] ?? null))) { // line 28 echo " <div class=\"btn-group me-2\" role=\"group\"> <input type=\"button\" value=\"SELECT *\" id=\"selectall\" class=\"btn btn-secondary button sqlbutton\"> <input type=\"button\" value=\"SELECT\" id=\"select\" class=\"btn btn-secondary button sqlbutton\"> <input type=\"button\" value=\"INSERT\" id=\"insert\" class=\"btn btn-secondary button sqlbutton\"> <input type=\"button\" value=\"UPDATE\" id=\"update\" class=\"btn btn-secondary button sqlbutton\"> <input type=\"button\" value=\"DELETE\" id=\"delete\" class=\"btn btn-secondary button sqlbutton\"> </div> "; } // line 36 echo " <div class=\"btn-group me-2\" role=\"group\"> <input type=\"button\" value=\""; echo _gettext("Clear"); // line 38 echo "\" id=\"clear\" class=\"btn btn-secondary button sqlbutton\"> "; // line 39 if (($context["codemirror_enable"] ?? null)) { // line 40 echo " <input type=\"button\" value=\""; echo _gettext("Format"); echo "\" id=\"format\" class=\"btn btn-secondary button sqlbutton\"> "; } // line 42 echo " </div> <input type=\"button\" value=\""; echo _gettext("Get auto-saved query"); // line 44 echo "\" id=\"saved\" class=\"btn btn-secondary button sqlbutton\"> </div> <div class=\"my-3\"> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"parameterized\" id=\"parameterized\"> <label class=\"form-check-label\" for=\"parameterized\"> "; // l10n: Bind parameters in the SQL query using :parameterName format echo _gettext("Bind parameters"); // line 52 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-40"); echo " </label> </div> </div> <div class=\"mb-3\" id=\"parametersDiv\"></div> </div> "; // line 59 if ( !twig_test_empty(($context["columns_list"] ?? null))) { // line 60 echo " <div class=\"col-xl-2 col-lg-3\"> <div class=\"mb-3\"> <label class=\"visually-hidden\" for=\"fieldsSelect\">"; echo _gettext("Columns"); // line 62 echo "</label> <select class=\"form-select resize-vertical\" id=\"fieldsSelect\" name=\"dummy\" size=\""; // line 63 echo twig_escape_filter($this->env, ($context["textarea_rows"] ?? null), "html", null, true); echo "\" ondblclick=\"Functions.insertValueQuery()\" multiple> "; // line 64 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["columns_list"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["field"]) { // line 65 echo " <option value=\""; echo twig_escape_filter($this->env, PhpMyAdmin\Util::backquote((($__internal_compile_0 = $context["field"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["Field"] ?? null) : null)), "html", null, true); echo "\""; // line 66 (((( !(null === (($__internal_compile_1 = $context["field"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["Field"] ?? null) : null)) && !(null === (($__internal_compile_2 = $context["field"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["Comment"] ?? null) : null))) && (twig_length_filter($this->env, (($__internal_compile_3 = $context["field"]) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["Field"] ?? null) : null)) > 0))) ? (print (twig_escape_filter($this->env, ((" title=\"" . (($__internal_compile_4 = $context["field"]) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["Comment"] ?? null) : null)) . "\""), "html", null, true))) : (print (""))); echo "> "; // line 67 echo twig_escape_filter($this->env, (($__internal_compile_5 = $context["field"]) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["Field"] ?? null) : null), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 70 echo " </select> </div> <input type=\"button\" class=\"btn btn-secondary button\" id=\"insertBtn\" name=\"insert\" value=\""; // line 74 if (PhpMyAdmin\Util::showIcons("ActionLinksMode")) { echo "<<"; echo "\" title=\""; } echo _gettext("Insert"); // line 75 echo "\"> </div> "; } // line 78 echo " </div> </div> "; // line 81 if (($context["has_bookmark"] ?? null)) { // line 82 echo " <div class=\"row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-6\"> <label class=\"form-label\" for=\"bkm_label\">"; echo _gettext("Bookmark this SQL query:"); // line 84 echo "</label> </div> <div class=\"col-6\"> <input class=\"form-control\" type=\"text\" name=\"bkm_label\" id=\"bkm_label\" tabindex=\"110\" value=\"\"> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"bkm_all_users\" tabindex=\"111\" id=\"id_bkm_all_users\" value=\"true\"> <label class=\"form-check-label\" for=\"id_bkm_all_users\">"; echo _gettext("Let every user access this bookmark"); // line 93 echo "</label> </div> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"bkm_replace\" tabindex=\"112\" id=\"id_bkm_replace\" value=\"true\"> <label class=\"form-check-label\" for=\"id_bkm_replace\">"; echo _gettext("Replace existing bookmark of same name"); // line 100 echo "</label> </div> </div> </div> "; } // line 105 echo " </div> <div class=\"card-footer\"> <div class=\"row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-12\"> <div class=\"input-group me-2\"> <span class=\"input-group-text\">"; echo _gettext("Delimiter"); // line 110 echo "</span> <label class=\"visually-hidden\" for=\"id_sql_delimiter\">"; echo _gettext("Delimiter"); // line 111 echo "</label> <input class=\"form-control\" type=\"text\" name=\"sql_delimiter\" tabindex=\"131\" size=\"3\" value=\""; // line 112 echo twig_escape_filter($this->env, ($context["delimiter"] ?? null), "html", null, true); echo "\" id=\"id_sql_delimiter\"> </div> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"show_query\" value=\"1\" id=\"checkbox_show_query\" tabindex=\"132\"> <label class=\"form-check-label\" for=\"checkbox_show_query\">"; echo _gettext("Show this query here again"); // line 119 echo "</label> </div> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"retain_query_box\" value=\"1\" id=\"retain_query_box\" tabindex=\"133\""; // line 126 echo ((($context["retain_query_box"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"retain_query_box\">"; echo _gettext("Retain query box"); // line 127 echo "</label> </div> </div> <div class=\"col-12\"> <div class=\"form-check form-check-inline\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"rollback_query\" value=\"1\" id=\"rollback_query\" tabindex=\"134\"> <label class=\"form-check-label\" for=\"rollback_query\">"; echo _gettext("Rollback when finished"); // line 134 echo "</label> </div> </div> <div class=\"col-12\"> <div class=\"form-check\"> <input type=\"hidden\" name=\"fk_checks\" value=\"0\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"fk_checks\" id=\"fk_checks\" value=\"1\""; // line 141 echo ((($context["is_foreign_key_check"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"fk_checks\">"; echo _gettext("Enable foreign key checks"); // line 142 echo "</label> </div> </div> <div class=\"col-12\"> <input class=\"btn btn-primary ms-1\" type=\"submit\" id=\"button_submit_query\" name=\"SQL\" tabindex=\"200\" value=\""; echo _gettext("Go"); // line 147 echo "\"> </div> </div> </div> </div> "; } // line 153 echo " "; // line 154 if (((($context["display_tab"] ?? null) == "full") && !twig_test_empty(($context["bookmarks"] ?? null)))) { // line 155 echo " <div class=\"card mb-3\"> <div class=\"card-header\">"; echo _gettext("Bookmarked SQL query"); // line 156 echo "</div> <div class=\"card-body\"> <div class=\"row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-6\"> <label class=\"form-label\" for=\"id_bookmark\">"; echo _gettext("Bookmark:"); // line 160 echo "</label> </div> <div class=\"col-6\"> <select class=\"form-select\" name=\"id_bookmark\" id=\"id_bookmark\"> <option value=\"\"> </option> "; // line 165 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["bookmarks"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["bookmark"]) { // line 166 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["bookmark"], "id", [], "any", false, false, false, 166), "html", null, true); echo "\" data-varcount=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["bookmark"], "variable_count", [], "any", false, false, false, 166), "html", null, true); echo "\"> "; // line 167 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["bookmark"], "label", [], "any", false, false, false, 167), "html", null, true); echo " "; // line 168 if (twig_get_attribute($this->env, $this->source, $context["bookmark"], "is_shared", [], "any", false, false, false, 168)) { // line 169 echo " ("; echo _gettext("shared"); echo ") "; } // line 171 echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bookmark'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 173 echo " </select> </div> <div class=\"form-check form-check-inline col-12\"> <input class=\"form-check-input\" type=\"radio\" name=\"action_bookmark\" value=\"0\" id=\"radio_bookmark_exe\" checked> <label class=\"form-check-label\" for=\"radio_bookmark_exe\">"; echo _gettext("Submit"); // line 178 echo "</label> </div> <div class=\"form-check form-check-inline col-12\"> <input class=\"form-check-input\" type=\"radio\" name=\"action_bookmark\" value=\"1\" id=\"radio_bookmark_view\"> <label class=\"form-check-label\" for=\"radio_bookmark_view\">"; echo _gettext("View only"); // line 182 echo "</label> </div> <div class=\"form-check form-check-inline col-12\"> <input class=\"form-check-input\" type=\"radio\" name=\"action_bookmark\" value=\"2\" id=\"radio_bookmark_del\"> <label class=\"form-check-label\" for=\"radio_bookmark_del\">"; echo _gettext("Delete"); // line 186 echo "</label> </div> </div> <div class=\"hide\"> "; echo _gettext("Variables"); // line 192 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faqbookmark"); echo " <div class=\"row row-cols-auto\" id=\"bookmarkVariables\"></div> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-secondary\" type=\"submit\" name=\"SQL\" id=\"button_submit_bookmark\" value=\""; echo _gettext("Go"); // line 198 echo "\"> </div> </div> "; } // line 202 echo " "; // line 203 if (($context["can_convert_kanji"] ?? null)) { // line 204 echo " <div class=\"card mb-3\"> <div class=\"card-body\"> "; // line 206 $this->loadTemplate("encoding/kanji_encoding_form.twig", "sql/query.twig", 206)->display($context); // line 207 echo " </div> </div> "; } // line 210 echo "</form> <div id=\"sqlqueryresultsouter\"></div> <div class=\"modal fade\" id=\"simulateDmlModal\" tabindex=\"-1\" aria-labelledby=\"simulateDmlModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"simulateDmlModalLabel\">"; echo _gettext("Simulate query"); // line 218 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 219 echo "\"></button> </div> <div class=\"modal-body\"> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 224 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "sql/query.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 463 => 224, 455 => 219, 451 => 218, 440 => 210, 435 => 207, 433 => 206, 429 => 204, 427 => 203, 424 => 202, 418 => 198, 407 => 192, 399 => 186, 392 => 182, 385 => 178, 377 => 173, 370 => 171, 364 => 169, 362 => 168, 358 => 167, 351 => 166, 347 => 165, 340 => 160, 333 => 156, 329 => 155, 327 => 154, 324 => 153, 316 => 147, 308 => 142, 303 => 141, 294 => 134, 284 => 127, 279 => 126, 271 => 119, 260 => 112, 257 => 111, 253 => 110, 245 => 105, 238 => 100, 228 => 93, 216 => 84, 211 => 82, 209 => 81, 204 => 78, 199 => 75, 193 => 74, 188 => 70, 179 => 67, 175 => 66, 171 => 65, 167 => 64, 163 => 63, 160 => 62, 155 => 60, 153 => 59, 142 => 52, 131 => 44, 126 => 42, 120 => 40, 118 => 39, 115 => 38, 110 => 36, 100 => 28, 98 => 27, 91 => 22, 89 => 21, 80 => 20, 71 => 14, 66 => 11, 64 => 10, 59 => 8, 56 => 7, 51 => 6, 45 => 3, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "sql/query.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/sql/query.twig"); } } twig/0d/0db8cfffd3d09171c872ac1e72f62ca0.php000064400000147175151677324010013347 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/operations/index.twig */ class __TwigTemplate_b70a92da4e726ec35f1c669c8247487c extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class=\"container-fluid\"> "; // line 3 if ( !($context["hide_order_table"] ?? null)) { // line 4 echo " <form method=\"post\" id=\"alterTableOrderby\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/table/operations"); echo "\"> "; // line 5 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"submitorderby\" value=\"1\"> <div class=\"card mb-2\"> <div class=\"card-header\">"; echo _gettext("Alter table order by"); // line 9 echo "</div> <div class=\"card-body\"> <div class=\"row g-3\"> <div class=\"col-auto\"> <label class=\"visually-hidden\" for=\"tableOrderFieldSelect\">"; echo _gettext("Column"); // line 13 echo "</label> <select id=\"tableOrderFieldSelect\" class=\"form-select\" name=\"order_field\" aria-describedby=\"tableOrderFieldSelectHelp\"> "; // line 15 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["columns"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["column"]) { // line 16 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "Field", [], "any", false, false, false, 16), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "Field", [], "any", false, false, false, 16), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 18 echo " </select> <small id=\"tableOrderFieldSelectHelp\" class=\"form-text text-muted\"> "; echo _pgettext("Alter table order by a single field.", "(singly)"); // line 21 echo " </small> </div> <div class=\"col-auto\"> <div class=\"form-check\"> <input class=\"form-check-input\" id=\"tableOrderAscRadio\" name=\"order_order\" type=\"radio\" value=\"asc\" checked> <label class=\"form-check-label\" for=\"tableOrderAscRadio\">"; echo _gettext("Ascending"); // line 27 echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" id=\"tableOrderDescRadio\" name=\"order_order\" type=\"radio\" value=\"desc\"> <label class=\"form-check-label\" for=\"tableOrderDescRadio\">"; echo _gettext("Descending"); // line 31 echo "</label> </div> </div> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 38 echo "\"> </div> </div> </form> "; } // line 43 echo " <form method=\"post\" action=\""; // line 44 echo PhpMyAdmin\Url::getFromRoute("/table/operations"); echo "\" id=\"moveTableForm\" class=\"ajax\" onsubmit=\"return Functions.emptyCheckTheField(this, 'new_name')\"> "; // line 45 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"reload\" value=\"1\"> <input type=\"hidden\" name=\"what\" value=\"data\"> <div class=\"card mb-2\"> <div class=\"card-header\">"; echo _gettext("Move table to (database.table)"); // line 50 echo "</div> <div class=\"card-body\"> <div class=\"mb-3 row g-3\"> <div class=\"col-auto\"> <div class=\"input-group\"> "; // line 55 if ( !twig_test_empty(($context["database_list"] ?? null))) { // line 56 echo " <select id=\"moveTableDatabaseInput\" class=\"form-select\" name=\"target_db\" aria-label=\""; echo _gettext("Database"); echo "\"> "; // line 57 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["database_list"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["each_db"]) { // line 58 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["each_db"], "name", [], "any", false, false, false, 58), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["each_db"], "is_selected", [], "any", false, false, false, 58)) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["each_db"], "name", [], "any", false, false, false, 58), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['each_db'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 60 echo " </select> "; } else { // line 62 echo " <input id=\"moveTableDatabaseInput\" class=\"form-control\" type=\"text\" maxlength=\"100\" name=\"target_db\" value=\""; echo twig_escape_filter($this->env, ($context["db"] ?? null), "html", null, true); echo "\" aria-label=\""; echo _gettext("Database"); echo "\"> "; } // line 64 echo " <span class=\"input-group-text\">.</span> <input class=\"form-control\" type=\"text\" required=\"required\" name=\"new_name\" maxlength=\"64\" value=\""; // line 65 echo twig_escape_filter($this->env, ($context["table"] ?? null), "html", null, true); echo "\" aria-label=\""; echo _gettext("Table"); echo "\"> </div> </div> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"sql_auto_increment\" value=\"1\" id=\"checkbox_auto_increment_mv\"> <label class=\"form-check-label\" for=\"checkbox_auto_increment_mv\">"; echo _gettext("Add AUTO_INCREMENT value"); // line 72 echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"adjust_privileges\" value=\"1\" id=\"checkbox_privileges_tables_move\""; // line 76 if (($context["has_privileges"] ?? null)) { echo " checked"; } else { echo " title=\""; echo _gettext("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details."); // line 77 echo "\" disabled"; } echo "> <label class=\"form-check-label\" for=\"checkbox_privileges_tables_move\"> "; echo _gettext("Adjust privileges"); // line 80 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39"); echo " </label> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" name=\"submit_move\" value=\""; echo _gettext("Go"); // line 86 echo "\"> </div> </div> </form> <form method=\"post\" action=\""; // line 91 echo PhpMyAdmin\Url::getFromRoute("/table/operations"); echo "\" id=\"tableOptionsForm\" class=\"ajax\"> "; // line 92 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"reload\" value=\"1\"> <input type=\"hidden\" name=\"submitoptions\" value=\"1\"> <input type=\"hidden\" name=\"prev_comment\" value=\""; // line 95 echo twig_escape_filter($this->env, ($context["table_comment"] ?? null), "html", null, true); echo "\"> "; // line 96 if (($context["has_auto_increment"] ?? null)) { // line 97 echo " <input type=\"hidden\" name=\"hidden_auto_increment\" value=\""; echo twig_escape_filter($this->env, ($context["auto_increment"] ?? null), "html", null, true); echo "\"> "; } // line 99 echo " <div class=\"card mb-2\"> <div class=\"card-header\">"; echo _gettext("Table options"); // line 101 echo "</div> <div class=\"card-body\"> <div class=\"mb-3 row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-6\"> <label for=\"renameTableInput\">"; echo _gettext("Rename table to"); // line 105 echo "</label> </div> <div class=\"col-6\"> <input class=\"form-control\" id=\"renameTableInput\" type=\"text\" name=\"new_name\" maxlength=\"64\" value=\""; // line 108 echo twig_escape_filter($this->env, ($context["table"] ?? null), "html", null, true); echo "\" required> </div> <div class=\"form-check col-12\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"adjust_privileges\" value=\"1\" id=\"checkbox_privileges_table_options\""; // line 112 if (($context["has_privileges"] ?? null)) { echo " checked"; } else { echo " title=\""; echo _gettext("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details."); // line 113 echo "\" disabled"; } echo "> <label class=\"form-check-label\" for=\"checkbox_privileges_table_options\"> "; echo _gettext("Adjust privileges"); // line 116 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39"); echo " </label> </div> </div> <div class=\"mb-3 row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-6\"> <label for=\"tableCommentsInput\">"; echo _gettext("Table comments"); // line 123 echo "</label> </div> <div class=\"col-6\"> <input class=\"form-control\" id=\"tableCommentsInput\" type=\"text\" name=\"comment\" maxlength=\"2048\" value=\""; // line 126 echo twig_escape_filter($this->env, ($context["table_comment"] ?? null), "html", null, true); echo "\"> </div> </div> <div class=\"mb-3 row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-6\"> <label class=\"text-nowrap\" for=\"newTableStorageEngineSelect\"> "; echo _gettext("Storage engine"); // line 134 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("Storage_engines"); echo " </label> </div> <div class=\"col-6\"> <select class=\"form-select\" name=\"new_tbl_storage_engine\" id=\"newTableStorageEngineSelect\"> "; // line 139 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["storage_engines"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["engine"]) { // line 140 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 140), "html", null, true); echo "\""; if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 140))) { echo " title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 140), "html", null, true); echo "\""; } // line 141 echo ((((twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 141)) == twig_lower_filter($this->env, ($context["storage_engine"] ?? null))) || (twig_test_empty(($context["storage_engine"] ?? null)) && twig_get_attribute($this->env, $this->source, $context["engine"], "is_default", [], "any", false, false, false, 141)))) ? (" selected") : ("")); echo ">"; // line 142 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 142), "html", null, true); // line 143 echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['engine'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 145 echo " </select> </div> </div> <div class=\"mb-3 row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-6\"> <label for=\"collationSelect\">"; echo _gettext("Collation"); // line 151 echo "</label> </div> <div class=\"col-6\"> <select class=\"form-select\" id=\"collationSelect\" lang=\"en\" dir=\"ltr\" name=\"tbl_collation\"> <option value=\"\"></option> "; // line 156 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 157 echo " <optgroup label=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 157), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getDescription", [], "method", false, false, false, 157), "html", null, true); echo "\"> "; // line 158 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((($__internal_compile_0 = ($context["collations"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 158)] ?? null) : null)); foreach ($context['_seq'] as $context["_key"] => $context["collation"]) { // line 159 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "getName", [], "method", false, false, false, 159), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "getDescription", [], "method", false, false, false, 159), "html", null, true); echo "\""; echo (((($context["tbl_collation"] ?? null) == twig_get_attribute($this->env, $this->source, $context["collation"], "getName", [], "method", false, false, false, 159))) ? (" selected") : ("")); echo "> "; // line 160 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "getName", [], "method", false, false, false, 160), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 163 echo " </optgroup> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 165 echo " </select> </div> <div class=\"form-check col-12 ms-3\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"change_all_collations\" value=\"1\" id=\"checkbox_change_all_collations\"> <label class=\"form-check-label\" for=\"checkbox_change_all_collations\">"; echo _gettext("Change all column collations"); // line 170 echo "</label> </div> </div> "; // line 174 if (($context["has_pack_keys"] ?? null)) { // line 175 echo " <div class=\"mb-3 row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-6\"> <label for=\"new_pack_keys\">PACK_KEYS</label> </div> <div class=\"col-6\"> <select class=\"form-select\" name=\"new_pack_keys\" id=\"new_pack_keys\"> <option value=\"DEFAULT\""; // line 181 echo (((($context["pack_keys"] ?? null) == "DEFAULT")) ? (" selected") : ("")); echo ">DEFAULT</option> <option value=\"0\""; // line 182 echo (((($context["pack_keys"] ?? null) == "0")) ? (" selected") : ("")); echo ">0</option> <option value=\"1\""; // line 183 echo (((($context["pack_keys"] ?? null) == "1")) ? (" selected") : ("")); echo ">1</option> </select> </div> </div> "; } // line 188 echo " "; // line 189 if (($context["has_checksum_and_delay_key_write"] ?? null)) { // line 190 echo " <div class=\"mb-3 form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"new_checksum\" id=\"new_checksum\" value=\"1\""; // line 191 echo (((($context["checksum"] ?? null) == "1")) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"new_checksum\">CHECKSUM</label> </div> <div class=\"mb-3 form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"new_delay_key_write\" id=\"new_delay_key_write\" value=\"1\""; // line 196 echo (((($context["delay_key_write"] ?? null) == "1")) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"new_delay_key_write\">DELAY_KEY_WRITE</label> </div> "; } // line 200 echo " "; // line 201 if (($context["has_transactional_and_page_checksum"] ?? null)) { // line 202 echo " <div class=\"mb-3 form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"new_transactional\" id=\"new_transactional\" value=\"1\""; // line 203 echo (((($context["transactional"] ?? null) == "1")) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"new_transactional\">TRANSACTIONAL</label> </div> <div class=\"mb-3 form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"new_page_checksum\" id=\"new_page_checksum\" value=\"1\""; // line 208 echo (((($context["page_checksum"] ?? null) == "1")) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"new_page_checksum\">PAGE_CHECKSUM</label> </div> "; } // line 212 echo " "; // line 213 if (($context["has_auto_increment"] ?? null)) { // line 214 echo " <div class=\"mb-3 row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-12\"> <label for=\"auto_increment_opt\">AUTO_INCREMENT</label> </div> <div class=\"col-12\"> <input class=\"form-control\" id=\"auto_increment_opt\" type=\"number\" name=\"new_auto_increment\" value=\""; // line 219 echo twig_escape_filter($this->env, ($context["auto_increment"] ?? null), "html", null, true); echo "\"> </div> </div> "; } // line 223 echo " "; // line 224 if ( !twig_test_empty(($context["row_formats"] ?? null))) { // line 225 echo " <div class=\"mb-3 row row-cols-lg-auto g-3 align-items-center\"> <div class=\"col-12\"> <label for=\"new_row_format\">ROW_FORMAT</label> </div> <div class=\"col-12\"> <select class=\"form-select\" id=\"new_row_format\" name=\"new_row_format\"> "; // line 231 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["row_formats"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["row_format"]) { // line 232 echo " <option value=\""; echo twig_escape_filter($this->env, $context["row_format"], "html", null, true); echo "\""; echo ((($context["row_format"] == twig_upper_filter($this->env, ($context["row_format_current"] ?? null)))) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, $context["row_format"], "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row_format'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 234 echo " </select> </div> </div> "; } // line 238 echo " </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 241 echo "\"> </div> </div> </form> <form method=\"post\" action=\""; // line 246 echo PhpMyAdmin\Url::getFromRoute("/table/operations"); echo "\" name=\"copyTable\" id=\"copyTable\" class=\"ajax\" onsubmit=\"return Functions.emptyCheckTheField(this, 'new_name')\"> "; // line 247 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"reload\" value=\"1\"> <div class=\"card mb-2\"> <div class=\"card-header\">"; echo _gettext("Copy table to (database.table)"); // line 251 echo "</div> <div class=\"card-body\"> <div class=\"mb-3 row g-3\"> <div class=\"col-auto\"> <div class=\"input-group\"> "; // line 256 if ( !twig_test_empty(($context["database_list"] ?? null))) { // line 257 echo " <select class=\"form-select\" name=\"target_db\" aria-label=\""; echo _gettext("Database"); echo "\"> "; // line 258 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["database_list"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["each_db"]) { // line 259 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["each_db"], "name", [], "any", false, false, false, 259), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["each_db"], "is_selected", [], "any", false, false, false, 259)) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["each_db"], "name", [], "any", false, false, false, 259), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['each_db'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 261 echo " </select> "; } else { // line 263 echo " <input class=\"form-control\" type=\"text\" maxlength=\"100\" name=\"target_db\" value=\""; echo twig_escape_filter($this->env, ($context["db"] ?? null), "html", null, true); echo "\" aria-label=\""; echo _gettext("Database"); echo "\"> "; } // line 265 echo " <span class=\"input-group-text\">.</span> <input class=\"form-control\" type=\"text\" name=\"new_name\" maxlength=\"64\" value=\""; // line 266 echo twig_escape_filter($this->env, ($context["table"] ?? null), "html", null, true); echo "\" aria-label=\""; echo _gettext("Table"); echo "\" required> </div> </div> </div> <div class=\"mb-3\"> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"what\" id=\"whatRadio1\" value=\"structure\"> <label class=\"form-check-label\" for=\"whatRadio1\"> "; echo _gettext("Structure only"); // line 276 echo " </label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"what\" id=\"whatRadio2\" value=\"data\" checked> <label class=\"form-check-label\" for=\"whatRadio2\"> "; echo _gettext("Structure and data"); // line 282 echo " </label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"what\" id=\"whatRadio3\" value=\"dataonly\"> <label class=\"form-check-label\" for=\"whatRadio3\"> "; echo _gettext("Data only"); // line 288 echo " </label> </div> </div> <div class=\"mb-3\"> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"drop_if_exists\" value=\"true\" id=\"checkbox_drop\"> <label class=\"form-check-label\" for=\"checkbox_drop\">"; // line 295 echo twig_escape_filter($this->env, twig_sprintf(_gettext("Add %s"), "DROP TABLE"), "html", null, true); echo "</label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"sql_auto_increment\" value=\"1\" id=\"checkbox_auto_increment_cp\"> <label class=\"form-check-label\" for=\"checkbox_auto_increment_cp\">"; echo _gettext("Add AUTO_INCREMENT value"); // line 300 echo "</label> </div> "; // line 303 if (($context["has_foreign_keys"] ?? null)) { // line 304 echo " <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"add_constraints\" value=\"1\" id=\"checkbox_constraints\" checked> <label class=\"form-check-label\" for=\"checkbox_constraints\">"; echo _gettext("Add constraints"); // line 306 echo "</label> </div> "; } // line 309 echo " <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"adjust_privileges\" value=\"1\" id=\"checkbox_adjust_privileges\""; // line 312 if (($context["has_privileges"] ?? null)) { echo " checked"; } else { echo " title=\""; echo _gettext("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details."); // line 313 echo "\" disabled"; } echo "> <label class=\"form-check-label\" for=\"checkbox_adjust_privileges\"> "; echo _gettext("Adjust privileges"); // line 316 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39"); echo " </label> </div> <div class=\"form-check\"> <input class=\"form-check-input\" type=\"checkbox\" name=\"switch_to_new\" value=\"true\" id=\"checkbox_switch\""; // line 321 echo ((($context["switch_to_new"] ?? null)) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"checkbox_switch\">"; echo _gettext("Switch to copied table"); // line 322 echo "</label> </div> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" name=\"submit_copy\" value=\""; echo _gettext("Go"); // line 328 echo "\"> </div> </div> </form> <div class=\"card mb-2\"> <div class=\"card-header\">"; echo _gettext("Table maintenance"); // line 334 echo "</div> <ul class=\"list-group list-group-flush\" id=\"tbl_maintenance\"> "; // line 336 if (twig_in_filter(($context["storage_engine"] ?? null), [0 => "MYISAM", 1 => "ARIA", 2 => "INNODB", 3 => "BERKELEYDB", 4 => "TOKUDB"])) { // line 337 echo " <li class=\"list-group-item\"> <a href=\""; // line 338 echo PhpMyAdmin\Url::getFromRoute("/table/maintenance/analyze"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "selected_tbl" => [0 => ($context["table"] ?? null)]], "", false); echo "\"> "; echo _gettext("Analyze table"); // line 340 echo " </a> "; // line 341 echo PhpMyAdmin\Html\MySQLDocumentation::show("ANALYZE_TABLE"); echo " </li> "; } // line 344 echo " "; // line 345 if (twig_in_filter(($context["storage_engine"] ?? null), [0 => "MYISAM", 1 => "ARIA", 2 => "INNODB", 3 => "TOKUDB"])) { // line 346 echo " <li class=\"list-group-item\"> <a href=\""; // line 347 echo PhpMyAdmin\Url::getFromRoute("/table/maintenance/check"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "selected_tbl" => [0 => ($context["table"] ?? null)]], "", false); echo "\"> "; echo _gettext("Check table"); // line 349 echo " </a> "; // line 350 echo PhpMyAdmin\Html\MySQLDocumentation::show("CHECK_TABLE"); echo " </li> "; } // line 353 echo " <li class=\"list-group-item\"> <a href=\""; // line 355 echo PhpMyAdmin\Url::getFromRoute("/table/maintenance/checksum"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "selected_tbl" => [0 => ($context["table"] ?? null)]], "", false); echo "\"> "; echo _gettext("Checksum table"); // line 357 echo " </a> "; // line 358 echo PhpMyAdmin\Html\MySQLDocumentation::show("CHECKSUM_TABLE"); echo " </li> "; // line 361 if ((($context["storage_engine"] ?? null) == "INNODB")) { // line 362 echo " <li class=\"list-group-item\"> <a class=\"maintain_action ajax\" href=\""; // line 363 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["url_params"] ?? null), ["sql_query" => (("ALTER TABLE " . PhpMyAdmin\Util::backquote(($context["table"] ?? null))) . " ENGINE = InnoDB;")]), "", false); echo "\"> "; echo _gettext("Defragment table"); // line 365 echo " </a> "; // line 366 echo PhpMyAdmin\Html\MySQLDocumentation::show("InnoDB_File_Defragmenting"); echo " </li> "; } // line 369 echo " <li class=\"list-group-item\"> <a class=\"maintain_action ajax\" href=\""; // line 371 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["url_params"] ?? null), ["sql_query" => ("FLUSH TABLE " . PhpMyAdmin\Util::backquote( // line 372 ($context["table"] ?? null))), "message_to_show" => twig_sprintf(_gettext("Table %s has been flushed."), twig_escape_filter($this->env, // line 373 ($context["table"] ?? null))), "reload" => true]), "", false); // line 375 echo "\"> "; echo _gettext("Flush the table (FLUSH)"); // line 377 echo " </a> "; // line 378 echo PhpMyAdmin\Html\MySQLDocumentation::show("FLUSH"); echo " </li> "; // line 381 if (twig_in_filter(($context["storage_engine"] ?? null), [0 => "MYISAM", 1 => "ARIA", 2 => "INNODB", 3 => "BERKELEYDB", 4 => "TOKUDB"])) { // line 382 echo " <li class=\"list-group-item\"> <a href=\""; // line 383 echo PhpMyAdmin\Url::getFromRoute("/table/maintenance/optimize"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "selected_tbl" => [0 => ($context["table"] ?? null)]], "", false); echo "\"> "; echo _gettext("Optimize table"); // line 385 echo " </a> "; // line 386 echo PhpMyAdmin\Html\MySQLDocumentation::show("OPTIMIZE_TABLE"); echo " </li> "; } // line 389 echo " "; // line 390 if (twig_in_filter(($context["storage_engine"] ?? null), [0 => "MYISAM", 1 => "ARIA"])) { // line 391 echo " <li class=\"list-group-item\"> <a href=\""; // line 392 echo PhpMyAdmin\Url::getFromRoute("/table/maintenance/repair"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "selected_tbl" => [0 => ($context["table"] ?? null)]], "", false); echo "\"> "; echo _gettext("Repair table"); // line 394 echo " </a> "; // line 395 echo PhpMyAdmin\Html\MySQLDocumentation::show("REPAIR_TABLE"); echo " </li> "; } // line 398 echo " </ul> </div> "; // line 401 if ( !($context["is_system_schema"] ?? null)) { // line 402 echo " <div class=\"card mb-2\"> <div class=\"card-header\">"; echo _gettext("Delete data or table"); // line 403 echo "</div> <ul class=\"list-group list-group-flush\"> "; // line 405 if ( !($context["is_view"] ?? null)) { // line 406 echo " <li class=\"list-group-item\"> "; // line 407 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), twig_array_merge( // line 409 ($context["url_params"] ?? null), ["sql_query" => ((("TRUNCATE TABLE " . PhpMyAdmin\Util::backquote( // line 410 ($context["db"] ?? null))) . ".") . PhpMyAdmin\Util::backquote(($context["table"] ?? null))), "goto" => PhpMyAdmin\Url::getFromRoute("/table/structure"), "reload" => true, "message_to_show" => twig_escape_filter($this->env, twig_sprintf(_gettext("Table %s has been emptied."), // line 413 ($context["table"] ?? null)))]), _gettext("Empty the table (TRUNCATE)"), ["id" => "truncate_tbl_anchor", "class" => "text-danger ajax", "data-query" => ((("TRUNCATE TABLE " . PhpMyAdmin\Util::backquote( // line 419 ($context["db"] ?? null))) . ".") . PhpMyAdmin\Util::backquote(($context["table"] ?? null)))]); // line 421 echo " "; // line 422 echo PhpMyAdmin\Html\MySQLDocumentation::show("TRUNCATE_TABLE"); echo " </li> <li class=\"list-group-item\"> "; // line 425 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), twig_array_merge( // line 427 ($context["url_params"] ?? null), ["sql_query" => ((("DELETE FROM " . PhpMyAdmin\Util::backquote( // line 428 ($context["db"] ?? null))) . ".") . PhpMyAdmin\Util::backquote(($context["table"] ?? null))), "goto" => PhpMyAdmin\Url::getFromRoute("/table/structure"), "reload" => true, "message_to_show" => twig_escape_filter($this->env, twig_sprintf(_gettext("Table %s has been emptied."), // line 431 ($context["table"] ?? null)))]), _gettext("Empty the table (DELETE FROM)"), ["id" => "delete_tbl_anchor", "class" => "text-danger ajax", "data-query" => ((("DELETE FROM " . PhpMyAdmin\Util::backquote( // line 437 ($context["db"] ?? null))) . ".") . PhpMyAdmin\Util::backquote(($context["table"] ?? null)))]); // line 439 echo " "; // line 440 echo PhpMyAdmin\Html\MySQLDocumentation::show("DELETE"); echo " </li> "; } // line 443 echo " <li class=\"list-group-item\"> "; // line 444 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), twig_array_merge( // line 446 ($context["url_params"] ?? null), ["sql_query" => ((("DROP TABLE " . PhpMyAdmin\Util::backquote( // line 447 ($context["db"] ?? null))) . ".") . PhpMyAdmin\Util::backquote(($context["table"] ?? null))), "goto" => PhpMyAdmin\Url::getFromRoute("/database/operations"), "reload" => true, "purge" => true, "message_to_show" => (( // line 451 ($context["is_view"] ?? null)) ? (twig_escape_filter($this->env, twig_sprintf(_gettext("View %s has been dropped."), ($context["table"] ?? null)))) : (twig_escape_filter($this->env, twig_sprintf(_gettext("Table %s has been dropped."), ($context["table"] ?? null))))), "table" => // line 452 ($context["table"] ?? null)]), _gettext("Delete the table (DROP)"), ["id" => "drop_tbl_anchor", "class" => "text-danger ajax", "data-query" => ((("DROP TABLE " . PhpMyAdmin\Util::backquote( // line 458 ($context["db"] ?? null))) . ".") . PhpMyAdmin\Util::backquote(($context["table"] ?? null)))]); // line 460 echo " "; // line 461 echo PhpMyAdmin\Html\MySQLDocumentation::show("DROP_TABLE"); echo " </li> </ul> </div> "; } // line 466 echo " "; // line 467 if ( !twig_test_empty(($context["partitions"] ?? null))) { // line 468 echo " <form id=\"partitionsForm\" class=\"ajax\" method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/table/operations"); echo "\"> "; // line 469 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"submit_partition\" value=\"1\"> <div class=\"card mb-2\"> <div class=\"card-header\"> "; echo _gettext("Partition maintenance"); // line 475 echo " "; echo PhpMyAdmin\Html\MySQLDocumentation::show("partitioning_maintenance"); echo " </div> <div class=\"card-body\"> <div class=\"mb-3\"> <label for=\"partition_name\">"; echo _gettext("Partition"); // line 480 echo "</label> <select class=\"form-select resize-vertical\" id=\"partition_name\" name=\"partition_name[]\" multiple required> "; // line 482 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["partitions"] ?? null)); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["partition"]) { // line 483 echo " <option value=\""; echo twig_escape_filter($this->env, $context["partition"], "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 483)) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, $context["partition"], "html", null, true); echo "</option> "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['partition'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 485 echo " </select> </div> <div class=\"mb-3 form-check-inline\"> "; // line 489 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["partitions_choices"] ?? null)); foreach ($context['_seq'] as $context["value"] => $context["description"]) { // line 490 echo " <div class=\"form-check\"> <input class=\"form-check-input\" type=\"radio\" name=\"partition_operation\" id=\"partitionOperationRadio"; // line 491 echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $context["value"]), "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, $context["value"], "html", null, true); echo "\""; echo ((($context["value"] == "ANALYZE")) ? (" checked") : ("")); echo "> <label class=\"form-check-label\" for=\"partitionOperationRadio"; // line 492 echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $context["value"]), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $context["description"], "html", null, true); echo "</label> </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['value'], $context['description'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 495 echo " </div> <div class=\"form-text\"> <a href=\""; // line 498 echo PhpMyAdmin\Url::getFromRoute("/sql", twig_array_merge(($context["url_params"] ?? null), ["sql_query" => (("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 499 ($context["table"] ?? null))) . " REMOVE PARTITIONING;")])); // line 500 echo "\">"; echo _gettext("Remove partitioning"); echo "</a> </div> </div> <div class=\"card-footer text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 505 echo "\"> </div> </div> </form> "; } // line 510 echo " "; // line 511 if ( !twig_test_empty(($context["foreigners"] ?? null))) { // line 512 echo " <div class=\"card mb-2\"> <div class=\"card-header\">"; echo _gettext("Check referential integrity"); // line 513 echo "</div> <ul class=\"list-group list-group-flush\"> "; // line 515 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["foreigners"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["foreign"]) { // line 516 echo " <li class=\"list-group-item\"> <a class=\"text-nowrap\" href=\""; // line 517 echo PhpMyAdmin\Url::getFromRoute("/sql", twig_get_attribute($this->env, $this->source, $context["foreign"], "params", [], "any", false, false, false, 517)); echo "\"> "; // line 518 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["foreign"], "master", [], "any", false, false, false, 518), "html", null, true); echo " -> "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["foreign"], "db", [], "any", false, false, false, 518), "html", null, true); echo "."; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["foreign"], "table", [], "any", false, false, false, 518), "html", null, true); echo "."; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["foreign"], "field", [], "any", false, false, false, 518), "html", null, true); echo " </a> </li> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['foreign'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 522 echo " </ul> </div> "; } // line 525 echo " </div> "; } public function getTemplateName() { return "table/operations/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 1136 => 525, 1131 => 522, 1115 => 518, 1111 => 517, 1108 => 516, 1104 => 515, 1100 => 513, 1096 => 512, 1094 => 511, 1091 => 510, 1084 => 505, 1074 => 500, 1072 => 499, 1071 => 498, 1066 => 495, 1055 => 492, 1047 => 491, 1044 => 490, 1040 => 489, 1034 => 485, 1013 => 483, 996 => 482, 992 => 480, 982 => 475, 973 => 469, 968 => 468, 966 => 467, 963 => 466, 955 => 461, 952 => 460, 950 => 458, 949 => 452, 948 => 451, 947 => 447, 946 => 446, 945 => 444, 942 => 443, 936 => 440, 933 => 439, 931 => 437, 930 => 431, 929 => 428, 928 => 427, 927 => 425, 921 => 422, 918 => 421, 916 => 419, 915 => 413, 914 => 410, 913 => 409, 912 => 407, 909 => 406, 907 => 405, 903 => 403, 899 => 402, 897 => 401, 892 => 398, 886 => 395, 883 => 394, 876 => 392, 873 => 391, 871 => 390, 868 => 389, 862 => 386, 859 => 385, 852 => 383, 849 => 382, 847 => 381, 841 => 378, 838 => 377, 834 => 375, 832 => 373, 831 => 372, 828 => 371, 824 => 369, 818 => 366, 815 => 365, 808 => 363, 805 => 362, 803 => 361, 797 => 358, 794 => 357, 787 => 355, 783 => 353, 777 => 350, 774 => 349, 767 => 347, 764 => 346, 762 => 345, 759 => 344, 753 => 341, 750 => 340, 743 => 338, 740 => 337, 738 => 336, 734 => 334, 725 => 328, 716 => 322, 711 => 321, 702 => 316, 695 => 313, 689 => 312, 685 => 309, 680 => 306, 675 => 304, 673 => 303, 668 => 300, 659 => 295, 650 => 288, 642 => 282, 634 => 276, 619 => 266, 616 => 265, 608 => 263, 604 => 261, 591 => 259, 587 => 258, 582 => 257, 580 => 256, 573 => 251, 565 => 247, 561 => 246, 554 => 241, 548 => 238, 542 => 234, 529 => 232, 525 => 231, 517 => 225, 515 => 224, 512 => 223, 505 => 219, 498 => 214, 496 => 213, 493 => 212, 486 => 208, 478 => 203, 475 => 202, 473 => 201, 470 => 200, 463 => 196, 455 => 191, 452 => 190, 450 => 189, 447 => 188, 439 => 183, 435 => 182, 431 => 181, 423 => 175, 421 => 174, 415 => 170, 407 => 165, 400 => 163, 391 => 160, 382 => 159, 378 => 158, 371 => 157, 367 => 156, 360 => 151, 351 => 145, 344 => 143, 342 => 142, 339 => 141, 330 => 140, 326 => 139, 317 => 134, 306 => 126, 301 => 123, 289 => 116, 282 => 113, 276 => 112, 270 => 108, 265 => 105, 258 => 101, 253 => 99, 247 => 97, 245 => 96, 241 => 95, 235 => 92, 231 => 91, 224 => 86, 213 => 80, 206 => 77, 200 => 76, 195 => 72, 182 => 65, 179 => 64, 171 => 62, 167 => 60, 154 => 58, 150 => 57, 145 => 56, 143 => 55, 136 => 50, 127 => 45, 123 => 44, 120 => 43, 113 => 38, 103 => 31, 96 => 27, 87 => 21, 82 => 18, 71 => 16, 67 => 15, 63 => 13, 56 => 9, 48 => 5, 43 => 4, 41 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "table/operations/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/operations/index.twig"); } } twig/ca/caac71eb559c46344a55ef5469df6797.php000064400000005202151677324010013225 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* sql/no_results_returned.twig */ class __TwigTemplate_6d927ee313bd3a042ab316b41cecc8a7 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo ($context["message"] ?? null); echo " "; // line 3 echo ($context["sql_query_results_table"] ?? null); echo " "; // line 5 echo ($context["profiling_chart"] ?? null); echo " "; // line 7 if ( !($context["is_procedure"] ?? null)) { // line 8 echo " <fieldset class=\"pma-fieldset d-print-none\"> <legend>"; echo _gettext("Query results operations"); // line 9 echo "</legend> <span> "; // line 11 echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/view/create"), ["db" => // line 13 ($context["db"] ?? null), "table" => ($context["table"] ?? null), "printview" => "1", "sql_query" => ($context["sql_query"] ?? null)], PhpMyAdmin\Html\Generator::getIcon("b_view_add", _gettext("Create view"), true), ["class" => "create_view ajax btn"]); // line 16 echo " </span> </fieldset> "; } // line 20 echo " "; // line 21 echo ($context["bookmark"] ?? null); echo " "; // line 23 echo twig_include($this->env, $context, "modals/create_view.twig"); echo " "; } public function getTemplateName() { return "sql/no_results_returned.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 79 => 23, 74 => 21, 71 => 20, 65 => 16, 63 => 13, 62 => 11, 58 => 9, 54 => 8, 52 => 7, 47 => 5, 42 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "sql/no_results_returned.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/sql/no_results_returned.twig"); } } twig/f9/f9baa3b566ecbf25f25bd6ada531347b.php000064400000003632151677324010013426 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* filter.twig */ class __TwigTemplate_abccd3a003c111f84b2f7071ce6e3b3e extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class=\"card mb-3\" id=\"tableFilter\"> <div class=\"card-header\">"; echo _gettext("Filters"); // line 2 echo "</div> <div class=\"card-body row row-cols-lg-auto gy-1 gx-3 align-items-center\"> <label class=\"col-12 col-form-label\" for=\"filterText\">"; echo _gettext("Containing the word:"); // line 4 echo "</label> <div class=\"col-12\"> <input class=\"form-control\" name=\"filterText\" type=\"text\" id=\"filterText\" value=\""; // line 6 echo twig_escape_filter($this->env, ($context["filter_value"] ?? null), "html", null, true); echo "\"> </div> </div> </div> "; } public function getTemplateName() { return "filter.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 50 => 6, 46 => 4, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "filter.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/filter.twig"); } } twig/29/29a91e3f0d7af2b9ea5f095f8950a1ff.php000064400000003153151677324010013224 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/collation_definition.twig */ class __TwigTemplate_3e039bc1d307b818aa42ada048c5e614 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<dfn title=\""; echo twig_escape_filter($this->env, ($context["valueTitle"] ?? null), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true); echo "</dfn> "; } public function getTemplateName() { return "database/structure/collation_definition.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/collation_definition.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/collation_definition.twig"); } } twig/a8/a8f13f032b97eb16b1574396a06ce252.php000064400000022126151677324010012762 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/table_header.twig */ class __TwigTemplate_d5585fbc73e6ccad142c723ccf43ddb3 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<form method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/database/structure"); echo "\" name=\"tablesForm\" id=\"tablesForm\"> "; // line 2 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); echo " <div class=\"table-responsive\"> <table class=\"table table-striped table-hover table-sm w-auto data\"> <thead> <tr> <th class=\"d-print-none\"></th> <th>"; // line 8 echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Table"), "table"); echo "</th> "; // line 9 if (($context["replication"] ?? null)) { // line 10 echo " <th>"; echo _gettext("Replication"); echo "</th> "; } // line 12 echo " "; // line 13 if (($context["db_is_system_schema"] ?? null)) { // line 14 echo " "; $context["action_colspan"] = 3; // line 15 echo " "; } else { // line 16 echo " "; $context["action_colspan"] = 6; // line 17 echo " "; } // line 18 echo " "; if ((($context["num_favorite_tables"] ?? null) > 0)) { // line 19 echo " "; $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); // line 20 echo " "; } // line 21 echo " <th colspan=\""; echo twig_escape_filter($this->env, ($context["action_colspan"] ?? null), "html", null, true); echo "\" class=\"d-print-none\"> "; echo _gettext("Action"); // line 23 echo " </th> "; // line 25 echo " <th> "; // line 26 echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Rows"), "records", "DESC"); echo " "; // line 27 echo PhpMyAdmin\Html\Generator::showHint(PhpMyAdmin\Sanitize::sanitizeMessage(_gettext("May be approximate. Click on the number to get the exact count. See [doc@faq3-11]FAQ 3.11[/doc]."))); echo " </th> "; // line 29 if ( !(($context["properties_num_columns"] ?? null) > 1)) { // line 30 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Type"), "type"); echo "</th> <th>"; // line 31 echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Collation"), "collation"); echo "</th> "; } // line 33 echo " "; // line 34 if (($context["is_show_stats"] ?? null)) { // line 35 echo " "; // line 36 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Size"), "size", "DESC"); echo "</th> "; // line 38 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Overhead"), "overhead", "DESC"); echo "</th> "; } // line 40 echo " "; // line 41 if (($context["show_charset"] ?? null)) { // line 42 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Charset"), "charset"); echo "</th> "; } // line 44 echo " "; // line 45 if (($context["show_comment"] ?? null)) { // line 46 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Comment"), "comment"); echo "</th> "; } // line 48 echo " "; // line 49 if (($context["show_creation"] ?? null)) { // line 50 echo " "; // line 51 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Creation"), "creation", "DESC"); echo "</th> "; } // line 53 echo " "; // line 54 if (($context["show_last_update"] ?? null)) { // line 55 echo " "; // line 56 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Last update"), "last_update", "DESC"); echo "</th> "; } // line 58 echo " "; // line 59 if (($context["show_last_check"] ?? null)) { // line 60 echo " "; // line 61 echo " <th>"; echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Last check"), "last_check", "DESC"); echo "</th> "; } // line 63 echo " </tr> </thead> <tbody> "; // line 66 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["structure_table_rows"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["structure_table_row"]) { // line 67 echo " "; $this->loadTemplate("database/structure/structure_table_row.twig", "database/structure/table_header.twig", 67)->display(twig_to_array($context["structure_table_row"])); // line 68 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['structure_table_row'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 69 echo " </tbody> "; // line 70 if (($context["body_for_table_summary"] ?? null)) { // line 71 echo " "; $this->loadTemplate("database/structure/body_for_table_summary.twig", "database/structure/table_header.twig", 71)->display(twig_to_array(($context["body_for_table_summary"] ?? null))); // line 72 echo " "; } // line 73 echo "</table> </div> "; // line 75 if (($context["check_all_tables"] ?? null)) { // line 76 echo " "; $this->loadTemplate("database/structure/check_all_tables.twig", "database/structure/table_header.twig", 76)->display(twig_to_array(($context["check_all_tables"] ?? null))); } // line 78 echo "</form> "; // line 79 if (($context["check_all_tables"] ?? null)) { // line 80 echo " "; $this->loadTemplate("database/structure/bulk_action_modal.twig", "database/structure/table_header.twig", 80)->display(twig_to_array(($context["check_all_tables"] ?? null))); } } public function getTemplateName() { return "database/structure/table_header.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 245 => 80, 243 => 79, 240 => 78, 236 => 76, 234 => 75, 230 => 73, 227 => 72, 224 => 71, 222 => 70, 219 => 69, 213 => 68, 210 => 67, 206 => 66, 201 => 63, 195 => 61, 193 => 60, 191 => 59, 188 => 58, 182 => 56, 180 => 55, 178 => 54, 175 => 53, 169 => 51, 167 => 50, 165 => 49, 162 => 48, 156 => 46, 154 => 45, 151 => 44, 145 => 42, 143 => 41, 140 => 40, 134 => 38, 129 => 36, 127 => 35, 125 => 34, 122 => 33, 117 => 31, 112 => 30, 110 => 29, 105 => 27, 101 => 26, 98 => 25, 95 => 23, 89 => 21, 86 => 20, 83 => 19, 80 => 18, 77 => 17, 74 => 16, 71 => 15, 68 => 14, 66 => 13, 63 => 12, 57 => 10, 55 => 9, 51 => 8, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/table_header.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/table_header.twig"); } } twig/17/1784cc501e7ef3a9971e9bd3430e69ed.php000064400000057765151677324010013107 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/structure_table_row.twig */ class __TwigTemplate_fca2a734884de5ac3e697ac93e80f198 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<tr id=\"row_tbl_"; echo twig_escape_filter($this->env, ($context["curr"] ?? null), "html", null, true); echo "\""; echo ((($context["table_is_view"] ?? null)) ? (" class=\"is_view\"") : ("")); echo " data-filter-row=\""; echo twig_escape_filter($this->env, twig_upper_filter($this->env, (($__internal_compile_0 = ($context["current_table"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["TABLE_NAME"] ?? null) : null)), "html", null, true); echo "\"> <td class=\"text-center d-print-none\"> <input type=\"checkbox\" name=\"selected_tbl[]\" class=\""; // line 5 echo twig_escape_filter($this->env, ($context["input_class"] ?? null), "html", null, true); echo "\" value=\""; // line 6 echo twig_escape_filter($this->env, (($__internal_compile_1 = ($context["current_table"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["TABLE_NAME"] ?? null) : null), "html", null, true); echo "\" id=\"checkbox_tbl_"; // line 7 echo twig_escape_filter($this->env, ($context["curr"] ?? null), "html", null, true); echo "\"> </td> <th> <a href=\""; // line 10 echo PhpMyAdmin\Url::getFromRoute("/sql", twig_array_merge(($context["table_url_params"] ?? null), ["pos" => 0])); echo "\" title=\""; echo twig_escape_filter($this->env, ($context["browse_table_label_title"] ?? null), "html", null, true); echo "\">"; // line 11 echo twig_escape_filter($this->env, ($context["browse_table_label_truename"] ?? null), "html", null, true); // line 12 echo "</a> "; // line 13 echo ($context["tracking_icon"] ?? null); echo " </th> "; // line 15 if (($context["server_replica_status"] ?? null)) { // line 16 echo " <td class=\"text-center\"> "; // line 17 echo ((($context["ignored"] ?? null)) ? (PhpMyAdmin\Html\Generator::getImage("s_cancel", _gettext("Not replicated"))) : ("")); echo " "; // line 18 echo ((($context["do"] ?? null)) ? (PhpMyAdmin\Html\Generator::getImage("s_success", _gettext("Replicated"))) : ("")); echo " </td> "; } // line 21 echo " "; // line 23 echo " "; if ((($context["num_favorite_tables"] ?? null) > 0)) { // line 24 echo " <td class=\"text-center d-print-none\"> "; // line 26 echo " "; $context["fav_params"] = ["db" => // line 27 ($context["db"] ?? null), "ajax_request" => true, "favorite_table" => (($__internal_compile_2 = // line 29 ($context["current_table"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["TABLE_NAME"] ?? null) : null), ((( // line 30 ($context["already_favorite"] ?? null)) ? ("remove") : ("add")) . "_favorite") => true]; // line 32 echo " "; $this->loadTemplate("database/structure/favorite_anchor.twig", "database/structure/structure_table_row.twig", 32)->display(twig_to_array(["table_name_hash" => // line 33 ($context["table_name_hash"] ?? null), "db_table_name_hash" => // line 34 ($context["db_table_name_hash"] ?? null), "fav_params" => // line 35 ($context["fav_params"] ?? null), "already_favorite" => // line 36 ($context["already_favorite"] ?? null)])); // line 38 echo " </td> "; } // line 40 echo " <td class=\"text-center d-print-none\"> <a href=\""; // line 42 echo PhpMyAdmin\Url::getFromRoute("/sql", twig_array_merge(($context["table_url_params"] ?? null), ["pos" => 0])); echo "\"> "; // line 43 echo ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_browse", _gettext("Browse")))); echo " </a> </td> <td class=\"text-center d-print-none\"> <a href=\""; // line 47 echo PhpMyAdmin\Url::getFromRoute("/table/structure", ($context["table_url_params"] ?? null)); echo "\"> "; // line 48 echo PhpMyAdmin\Html\Generator::getIcon("b_props", _gettext("Structure")); echo " </a> </td> <td class=\"text-center d-print-none\"> <a href=\""; // line 52 echo PhpMyAdmin\Url::getFromRoute("/table/search", ($context["table_url_params"] ?? null)); echo "\"> "; // line 53 echo ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_select", _gettext("Search"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_select", _gettext("Search")))); echo " </a> </td> "; // line 57 if ( !($context["db_is_system_schema"] ?? null)) { // line 58 echo " <td class=\"insert_table text-center d-print-none\"> <a href=\""; // line 59 echo PhpMyAdmin\Url::getFromRoute("/table/change", ($context["table_url_params"] ?? null)); echo "\">"; echo PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Insert")); echo "</a> </td> "; // line 61 if (($context["table_is_view"] ?? null)) { // line 62 echo " <td class=\"text-center d-print-none\"> <a href=\""; // line 63 echo PhpMyAdmin\Url::getFromRoute("/view/create", ["db" => // line 64 ($context["db"] ?? null), "table" => (($__internal_compile_3 = // line 65 ($context["current_table"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["TABLE_NAME"] ?? null) : null)]); // line 66 echo "\">"; echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit")); echo "</a> </td> "; } else { // line 69 echo " <td class=\"text-center d-print-none\"> <a class=\"truncate_table_anchor ajax\" href=\""; // line 70 echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["table_url_params"] ?? null), ["sql_query" => // line 71 ($context["empty_table_sql_query"] ?? null), "message_to_show" => // line 72 ($context["empty_table_message_to_show"] ?? null)]), ""); // line 73 echo "\"> "; // line 74 echo ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_empty", _gettext("Empty"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_empty", _gettext("Empty")))); echo " </a> </td> "; } // line 78 echo " <td class=\"text-center d-print-none\"> <a class=\"ajax drop_table_anchor"; // line 80 echo (((($context["table_is_view"] ?? null) || ((($__internal_compile_4 = ($context["current_table"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["ENGINE"] ?? null) : null) == null))) ? (" view") : ("")); echo "\" href=\""; echo PhpMyAdmin\Url::getFromRoute("/sql"); echo "\" data-post=\""; // line 81 echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["table_url_params"] ?? null), ["reload" => 1, "purge" => 1, "sql_query" => // line 84 ($context["drop_query"] ?? null), "message_to_show" => // line 85 ($context["drop_message"] ?? null)]), ""); // line 86 echo "\"> "; // line 87 echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); echo " </a> </td> "; } // line 91 echo " "; // line 92 if ((twig_get_attribute($this->env, $this->source, ($context["current_table"] ?? null), "TABLE_ROWS", [], "array", true, true, false, 92) && (((($__internal_compile_5 = // line 93 ($context["current_table"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["ENGINE"] ?? null) : null) != null) || ($context["table_is_view"] ?? null)))) { // line 94 echo " "; // line 95 echo " "; $context["row_count"] = PhpMyAdmin\Util::formatNumber((($__internal_compile_6 = ($context["current_table"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["TABLE_ROWS"] ?? null) : null), 0); // line 96 echo " "; // line 99 echo " <td class=\"value tbl_rows font-monospace text-end\" data-table=\""; // line 100 echo twig_escape_filter($this->env, (($__internal_compile_7 = ($context["current_table"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["TABLE_NAME"] ?? null) : null), "html", null, true); echo "\"> "; // line 101 if (($context["approx_rows"] ?? null)) { // line 102 echo " <a href=\""; echo PhpMyAdmin\Url::getFromRoute("/database/structure/real-row-count", ["ajax_request" => true, "db" => // line 104 ($context["db"] ?? null), "table" => (($__internal_compile_8 = // line 105 ($context["current_table"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["TABLE_NAME"] ?? null) : null)]); // line 106 echo "\" class=\"ajax real_row_count\"> <bdi> ~"; // line 108 echo twig_escape_filter($this->env, ($context["row_count"] ?? null), "html", null, true); echo " </bdi> </a> "; } else { // line 112 echo " "; echo twig_escape_filter($this->env, ($context["row_count"] ?? null), "html", null, true); echo " "; } // line 114 echo " "; echo ($context["show_superscript"] ?? null); echo " </td> "; // line 117 if ( !(($context["properties_num_columns"] ?? null) > 1)) { // line 118 echo " <td class=\"text-nowrap\"> "; // line 119 if ( !twig_test_empty((($__internal_compile_9 = ($context["current_table"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["ENGINE"] ?? null) : null))) { // line 120 echo " "; echo twig_escape_filter($this->env, (($__internal_compile_10 = ($context["current_table"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["ENGINE"] ?? null) : null), "html", null, true); echo " "; } elseif ( // line 121 ($context["table_is_view"] ?? null)) { // line 122 echo " "; echo _gettext("View"); // line 123 echo " "; } // line 124 echo " </td> "; // line 125 if ((twig_length_filter($this->env, ($context["collation"] ?? null)) > 0)) { // line 126 echo " <td class=\"text-nowrap\"> "; // line 127 echo ($context["collation"] ?? null); echo " </td> "; } // line 130 echo " "; } // line 131 echo " "; // line 132 if (($context["is_show_stats"] ?? null)) { // line 133 echo " <td class=\"value tbl_size font-monospace text-end\"> <a href=\""; // line 134 echo PhpMyAdmin\Url::getFromRoute("/table/structure", ($context["table_url_params"] ?? null)); echo "#showusage\"> <span>"; // line 135 echo twig_escape_filter($this->env, ($context["formatted_size"] ?? null), "html", null, true); echo "</span> <span class=\"unit\">"; echo twig_escape_filter($this->env, ($context["unit"] ?? null), "html", null, true); echo "</span> </a> </td> <td class=\"value tbl_overhead font-monospace text-end\"> "; // line 139 echo ($context["overhead"] ?? null); echo " </td> "; } // line 142 echo " "; // line 143 if ( !(($context["show_charset"] ?? null) > 1)) { // line 144 echo " "; if ((twig_length_filter($this->env, ($context["charset"] ?? null)) > 0)) { // line 145 echo " <td class=\"text-nowrap\"> "; // line 146 echo ($context["charset"] ?? null); echo " </td> "; } // line 149 echo " "; } // line 150 echo " "; // line 151 if (($context["show_comment"] ?? null)) { // line 152 echo " "; $context["comment"] = (($__internal_compile_11 = ($context["current_table"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["Comment"] ?? null) : null); // line 153 echo " <td> "; // line 154 if ((twig_length_filter($this->env, ($context["comment"] ?? null)) > ($context["limit_chars"] ?? null))) { // line 155 echo " <abbr title=\""; echo twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true); echo "\"> "; // line 156 echo twig_escape_filter($this->env, twig_slice($this->env, ($context["comment"] ?? null), 0, ($context["limit_chars"] ?? null)), "html", null, true); echo " ... </abbr> "; } else { // line 160 echo " "; echo twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true); echo " "; } // line 162 echo " </td> "; } // line 164 echo " "; // line 165 if (($context["show_creation"] ?? null)) { // line 166 echo " <td class=\"value tbl_creation font-monospace text-end\"> "; // line 167 echo twig_escape_filter($this->env, ($context["create_time"] ?? null), "html", null, true); echo " </td> "; } // line 170 echo " "; // line 171 if (($context["show_last_update"] ?? null)) { // line 172 echo " <td class=\"value tbl_last_update font-monospace text-end\"> "; // line 173 echo twig_escape_filter($this->env, ($context["update_time"] ?? null), "html", null, true); echo " </td> "; } // line 176 echo " "; // line 177 if (($context["show_last_check"] ?? null)) { // line 178 echo " <td class=\"value tbl_last_check font-monospace text-end\"> "; // line 179 echo twig_escape_filter($this->env, ($context["check_time"] ?? null), "html", null, true); echo " </td> "; } // line 182 echo " "; } elseif ( // line 183 ($context["table_is_view"] ?? null)) { // line 184 echo " <td class=\"value tbl_rows font-monospace text-end\">-</td> <td class=\"text-nowrap\"> "; echo _gettext("View"); // line 187 echo " </td> <td class=\"text-nowrap\">---</td> "; // line 189 if (($context["is_show_stats"] ?? null)) { // line 190 echo " <td class=\"value tbl_size font-monospace text-end\">-</td> <td class=\"value tbl_overhead font-monospace text-end\">-</td> "; } // line 193 echo " "; if (($context["show_charset"] ?? null)) { // line 194 echo " <td></td> "; } // line 196 echo " "; if (($context["show_comment"] ?? null)) { // line 197 echo " <td></td> "; } // line 199 echo " "; if (($context["show_creation"] ?? null)) { // line 200 echo " <td class=\"value tbl_creation font-monospace text-end\">-</td> "; } // line 202 echo " "; if (($context["show_last_update"] ?? null)) { // line 203 echo " <td class=\"value tbl_last_update font-monospace text-end\">-</td> "; } // line 205 echo " "; if (($context["show_last_check"] ?? null)) { // line 206 echo " <td class=\"value tbl_last_check font-monospace text-end\">-</td> "; } // line 208 echo " "; } else { // line 210 echo " "; // line 211 if (($context["db_is_system_schema"] ?? null)) { // line 212 echo " "; $context["action_colspan"] = 3; // line 213 echo " "; } else { // line 214 echo " "; $context["action_colspan"] = 6; // line 215 echo " "; } // line 216 echo " "; if ((($context["num_favorite_tables"] ?? null) > 0)) { // line 217 echo " "; $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); // line 218 echo " "; } // line 219 echo " "; // line 220 $context["colspan_for_structure"] = (($context["action_colspan"] ?? null) + 3); // line 221 echo " <td colspan=\""; echo (((($context["colspan_for_structure"] ?? null) - ($context["db_is_system_schema"] ?? null))) ? (6) : (9)); echo "\" class=\"text-center\"> "; echo _gettext("in use"); // line 224 echo " </td> "; } // line 226 echo "</tr> "; } public function getTemplateName() { return "database/structure/structure_table_row.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 540 => 226, 536 => 224, 529 => 221, 527 => 220, 524 => 219, 521 => 218, 518 => 217, 515 => 216, 512 => 215, 509 => 214, 506 => 213, 503 => 212, 501 => 211, 498 => 210, 494 => 208, 490 => 206, 487 => 205, 483 => 203, 480 => 202, 476 => 200, 473 => 199, 469 => 197, 466 => 196, 462 => 194, 459 => 193, 454 => 190, 452 => 189, 448 => 187, 443 => 184, 441 => 183, 438 => 182, 432 => 179, 429 => 178, 427 => 177, 424 => 176, 418 => 173, 415 => 172, 413 => 171, 410 => 170, 404 => 167, 401 => 166, 399 => 165, 396 => 164, 392 => 162, 386 => 160, 379 => 156, 374 => 155, 372 => 154, 369 => 153, 366 => 152, 364 => 151, 361 => 150, 358 => 149, 352 => 146, 349 => 145, 346 => 144, 344 => 143, 341 => 142, 335 => 139, 326 => 135, 322 => 134, 319 => 133, 317 => 132, 314 => 131, 311 => 130, 305 => 127, 302 => 126, 300 => 125, 297 => 124, 294 => 123, 291 => 122, 289 => 121, 284 => 120, 282 => 119, 279 => 118, 277 => 117, 270 => 114, 264 => 112, 257 => 108, 253 => 106, 251 => 105, 250 => 104, 248 => 102, 246 => 101, 242 => 100, 239 => 99, 236 => 96, 233 => 95, 231 => 94, 229 => 93, 228 => 92, 225 => 91, 218 => 87, 215 => 86, 213 => 85, 212 => 84, 211 => 81, 206 => 80, 203 => 78, 196 => 74, 193 => 73, 191 => 72, 190 => 71, 187 => 70, 184 => 69, 177 => 66, 175 => 65, 174 => 64, 173 => 63, 170 => 62, 168 => 61, 161 => 59, 158 => 58, 156 => 57, 149 => 53, 145 => 52, 138 => 48, 134 => 47, 127 => 43, 123 => 42, 119 => 40, 115 => 38, 113 => 36, 112 => 35, 111 => 34, 110 => 33, 108 => 32, 106 => 30, 105 => 29, 104 => 27, 102 => 26, 99 => 24, 96 => 23, 93 => 21, 87 => 18, 83 => 17, 80 => 16, 78 => 15, 73 => 13, 70 => 12, 68 => 11, 63 => 10, 57 => 7, 53 => 6, 49 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/structure_table_row.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/structure_table_row.twig"); } } twig/6e/6e229861a165e950a61d2134db55fc9a.php000064400000004507151677324010012774 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/favorite_anchor.twig */ class __TwigTemplate_9f54959d5f89f3ec53606b059b5708a2 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<a id=\""; echo twig_escape_filter($this->env, ($context["table_name_hash"] ?? null), "html", null, true); echo "_favorite_anchor\" class=\"ajax favorite_table_anchor\" href=\""; // line 3 echo PhpMyAdmin\Url::getFromRoute("/database/structure/favorite-table", ($context["fav_params"] ?? null)); echo "\" title=\""; // line 4 echo twig_escape_filter($this->env, ((($context["already_favorite"] ?? null)) ? (_gettext("Remove from Favorites")) : (_gettext("Add to Favorites"))), "html", null, true); echo "\" data-favtargets=\""; // line 5 echo twig_escape_filter($this->env, ($context["db_table_name_hash"] ?? null), "html", null, true); echo "\"> "; // line 6 echo ((($context["already_favorite"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_favorite")) : (PhpMyAdmin\Html\Generator::getIcon("b_no_favorite"))); echo " </a> "; } public function getTemplateName() { return "database/structure/favorite_anchor.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 55 => 6, 51 => 5, 47 => 4, 43 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/favorite_anchor.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/favorite_anchor.twig"); } } twig/3a/3a4c9b3b54214453506ca35e1e425b0c.php000064400000027105151677324010012735 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/body_for_table_summary.twig */ class __TwigTemplate_69284dda15b79fe31095f0c0f4e9f2db extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<tfoot id=\"tbl_summary_row\"> <tr> <th class=\"d-print-none\"></th> <th class=\"tbl_num text-nowrap\"> "; // line 5 ob_start(function () { return ''; }); echo _ngettext("%s table", "%s tables", abs( // line 6 ($context["num_tables"] ?? null))); $context["num_tables_trans"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 8 echo " "; echo twig_escape_filter($this->env, twig_sprintf(($context["num_tables_trans"] ?? null), PhpMyAdmin\Util::formatNumber(($context["num_tables"] ?? null), 0)), "html", null, true); echo " </th> "; // line 10 if (($context["server_replica_status"] ?? null)) { // line 11 echo " <th>"; echo _gettext("Replication"); echo "</th> "; } // line 13 echo " "; $context["sum_colspan"] = ((($context["db_is_system_schema"] ?? null)) ? (4) : (7)); // line 14 echo " "; if ((($context["num_favorite_tables"] ?? null) == 0)) { // line 15 echo " "; $context["sum_colspan"] = (($context["sum_colspan"] ?? null) - 1); // line 16 echo " "; } // line 17 echo " <th colspan=\""; echo twig_escape_filter($this->env, ($context["sum_colspan"] ?? null), "html", null, true); echo "\" class=\"d-print-none\">"; echo _gettext("Sum"); echo "</th> "; // line 18 $context["row_count_sum"] = PhpMyAdmin\Util::formatNumber(($context["sum_entries"] ?? null), 0); // line 19 echo " "; // line 20 echo " "; $context["row_sum_url"] = []; // line 21 echo " "; if (array_key_exists("approx_rows", $context)) { // line 22 echo " "; $context["row_sum_url"] = ["ajax_request" => true, "db" => // line 24 ($context["db"] ?? null), "real_row_count_all" => "true"]; // line 27 echo " "; } // line 28 echo " "; if (($context["approx_rows"] ?? null)) { // line 29 echo " "; ob_start(function () { return ''; }); // line 30 echo "<a href=\""; echo PhpMyAdmin\Url::getFromRoute("/database/structure/real-row-count", ($context["row_sum_url"] ?? null)); echo "\" class=\"ajax row_count_sum\">~"; // line 31 echo twig_escape_filter($this->env, ($context["row_count_sum"] ?? null), "html", null, true); // line 32 echo "</a>"; $context["cell_text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 34 echo " "; } else { // line 35 echo " "; $context["cell_text"] = ($context["row_count_sum"] ?? null); // line 36 echo " "; } // line 37 echo " <th class=\"value tbl_rows font-monospace text-end\">"; echo twig_escape_filter($this->env, ($context["cell_text"] ?? null), "html", null, true); echo "</th> "; // line 38 if ( !(($context["properties_num_columns"] ?? null) > 1)) { // line 39 echo " "; // line 40 echo " "; $context["default_engine"] = twig_get_attribute($this->env, $this->source, ($context["dbi"] ?? null), "fetchValue", [0 => "SELECT @@storage_engine;"], "method", false, false, false, 40); // line 41 echo " "; if (twig_test_empty(($context["default_engine"] ?? null))) { // line 42 echo " "; // line 43 echo " "; $context["default_engine"] = twig_get_attribute($this->env, $this->source, ($context["dbi"] ?? null), "fetchValue", [0 => "SELECT @@default_storage_engine;"], "method", false, false, false, 43); // line 44 echo " "; } // line 45 echo " <th class=\"text-center\"> <dfn title=\""; // line 46 echo twig_escape_filter($this->env, twig_sprintf(_gettext("%s is the default storage engine on this MySQL server."), ($context["default_engine"] ?? null)), "html", null, true); echo "\"> "; // line 47 echo twig_escape_filter($this->env, ($context["default_engine"] ?? null), "html", null, true); echo " </dfn> </th> <th> "; // line 51 if ( !twig_test_empty(($context["database_collation"] ?? null))) { // line 52 echo " <dfn title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_collation"] ?? null), "description", [], "any", false, false, false, 52), "html", null, true); echo " ("; echo _gettext("Default"); echo ")\"> "; // line 53 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_collation"] ?? null), "name", [], "any", false, false, false, 53), "html", null, true); echo " </dfn> "; } // line 56 echo " </th> "; } // line 58 echo " "; // line 59 if (($context["is_show_stats"] ?? null)) { // line 60 echo " "; $context["sum"] = PhpMyAdmin\Util::formatByteDown(($context["sum_size"] ?? null), 3, 1); // line 61 echo " "; $context["sum_formatted"] = (($__internal_compile_0 = ($context["sum"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null); // line 62 echo " "; $context["sum_unit"] = (($__internal_compile_1 = ($context["sum"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null); // line 63 echo " <th class=\"value tbl_size font-monospace text-end\">"; echo twig_escape_filter($this->env, ($context["sum_formatted"] ?? null), "html", null, true); echo " "; echo twig_escape_filter($this->env, ($context["sum_unit"] ?? null), "html", null, true); echo "</th> "; // line 65 $context["overhead"] = PhpMyAdmin\Util::formatByteDown(($context["overhead_size"] ?? null), 3, 1); // line 66 echo " "; $context["overhead_formatted"] = (($__internal_compile_2 = ($context["overhead"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[0] ?? null) : null); // line 67 echo " "; $context["overhead_unit"] = (($__internal_compile_3 = ($context["overhead"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[1] ?? null) : null); // line 68 echo " <th class=\"value tbl_overhead font-monospace text-end\">"; echo twig_escape_filter($this->env, ($context["overhead_formatted"] ?? null), "html", null, true); echo " "; echo twig_escape_filter($this->env, ($context["overhead_unit"] ?? null), "html", null, true); echo "</th> "; } // line 70 echo " "; // line 71 if (($context["show_charset"] ?? null)) { // line 72 echo " <th>"; echo twig_escape_filter($this->env, ($context["database_charset"] ?? null), "html", null, true); echo "</th> "; } // line 74 echo " "; if (($context["show_comment"] ?? null)) { // line 75 echo " <th></th> "; } // line 77 echo " "; if (($context["show_creation"] ?? null)) { // line 78 echo " <th class=\"value tbl_creation font-monospace text-end\"> "; // line 79 echo twig_escape_filter($this->env, ($context["create_time_all"] ?? null), "html", null, true); echo " </th> "; } // line 82 echo " "; if (($context["show_last_update"] ?? null)) { // line 83 echo " <th class=\"value tbl_last_update font-monospace text-end\"> "; // line 84 echo twig_escape_filter($this->env, ($context["update_time_all"] ?? null), "html", null, true); echo " </th> "; } // line 87 echo " "; if (($context["show_last_check"] ?? null)) { // line 88 echo " <th class=\"value tbl_last_check font-monospace text-end\"> "; // line 89 echo twig_escape_filter($this->env, ($context["check_time_all"] ?? null), "html", null, true); echo " </th> "; } // line 92 echo "</tr> </tfoot> "; } public function getTemplateName() { return "database/structure/body_for_table_summary.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 270 => 92, 264 => 89, 261 => 88, 258 => 87, 252 => 84, 249 => 83, 246 => 82, 240 => 79, 237 => 78, 234 => 77, 230 => 75, 227 => 74, 221 => 72, 219 => 71, 216 => 70, 208 => 68, 205 => 67, 202 => 66, 200 => 65, 192 => 63, 189 => 62, 186 => 61, 183 => 60, 181 => 59, 178 => 58, 174 => 56, 168 => 53, 161 => 52, 159 => 51, 152 => 47, 148 => 46, 145 => 45, 142 => 44, 139 => 43, 137 => 42, 134 => 41, 131 => 40, 129 => 39, 127 => 38, 122 => 37, 119 => 36, 116 => 35, 113 => 34, 110 => 32, 108 => 31, 104 => 30, 101 => 29, 98 => 28, 95 => 27, 93 => 24, 91 => 22, 88 => 21, 85 => 20, 83 => 19, 81 => 18, 74 => 17, 71 => 16, 68 => 15, 65 => 14, 62 => 13, 56 => 11, 54 => 10, 48 => 8, 45 => 6, 43 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/body_for_table_summary.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/body_for_table_summary.twig"); } } twig/4a/4a3c52a92a18817df906b05974d44c63.php000064400000017361151677324010012714 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/check_all_tables.twig */ class __TwigTemplate_fe12d6ca19ecbcdb1f0476a89680f3d2 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class=\"clearfloat d-print-none\"> <img class=\"selectallarrow\" src=\""; // line 2 echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath((("arrow_" . ($context["text_dir"] ?? null)) . ".png")), "html", null, true); echo "\" width=\"38\" height=\"22\" alt=\""; echo _gettext("With selected:"); echo "\"> <input type=\"checkbox\" id=\"tablesForm_checkall\" class=\"checkall_box\" title=\""; echo _gettext("Check all"); // line 3 echo "\"> <label for=\"tablesForm_checkall\">"; echo _gettext("Check all"); // line 4 echo "</label> "; // line 5 if ((($context["overhead_check"] ?? null) != "")) { // line 6 echo " / <a href=\"#\" class=\"checkall-filter\" data-checkall-selector=\".tbl-overhead\">"; echo _gettext("Check tables having overhead"); echo "</a> "; } // line 8 echo " <select name=\"submit_mult\" style=\"margin: 0 3em 0 3em;\"> <option value=\""; echo _gettext("With selected:"); // line 9 echo "\" selected=\"selected\">"; echo _gettext("With selected:"); echo "</option> <option value=\"copy_tbl\">"; echo _gettext("Copy table"); // line 10 echo "</option> <option value=\"show_create\">"; echo _gettext("Show create"); // line 11 echo "</option> <option value=\"export\">"; echo _gettext("Export"); // line 12 echo "</option> "; // line 13 if (( !($context["db_is_system_schema"] ?? null) && !($context["disable_multi_table"] ?? null))) { // line 14 echo " <optgroup label=\""; echo _gettext("Delete data or table"); echo "\"> <option value=\"empty_tbl\">"; echo _gettext("Empty"); // line 15 echo "</option> <option value=\"drop_tbl\">"; echo _gettext("Drop"); // line 16 echo "</option> </optgroup> <optgroup label=\""; echo _gettext("Table maintenance"); // line 18 echo "\"> <option value=\"analyze_tbl\">"; echo _gettext("Analyze table"); // line 19 echo "</option> <option value=\"check_tbl\">"; echo _gettext("Check table"); // line 20 echo "</option> <option value=\"checksum_tbl\">"; echo _gettext("Checksum table"); // line 21 echo "</option> <option value=\"optimize_tbl\">"; echo _gettext("Optimize table"); // line 22 echo "</option> <option value=\"repair_tbl\">"; echo _gettext("Repair table"); // line 23 echo "</option> </optgroup> <optgroup label=\""; echo _gettext("Prefix"); // line 25 echo "\"> <option value=\"add_prefix_tbl\">"; echo _gettext("Add prefix to table"); // line 26 echo "</option> <option value=\"replace_prefix_tbl\">"; echo _gettext("Replace table prefix"); // line 27 echo "</option> <option value=\"copy_tbl_change_prefix\">"; echo _gettext("Copy table with prefix"); // line 28 echo "</option> </optgroup> "; } // line 31 echo " "; if ((array_key_exists("central_columns_work", $context) && ($context["central_columns_work"] ?? null))) { // line 32 echo " <optgroup label=\""; echo _gettext("Central columns"); echo "\"> <option value=\"sync_unique_columns_central_list\">"; echo _gettext("Add columns to central list"); // line 33 echo "</option> <option value=\"delete_unique_columns_central_list\">"; echo _gettext("Remove columns from central list"); // line 34 echo "</option> <option value=\"make_consistent_with_central_list\">"; echo _gettext("Make consistent with central list"); // line 35 echo "</option> </optgroup> "; } // line 38 echo " </select> "; // line 39 echo twig_join_filter(($context["hidden_fields"] ?? null), " "); echo " </div> "; // line 42 if ((array_key_exists("central_columns_work", $context) && ($context["central_columns_work"] ?? null))) { // line 43 echo " <div class=\"modal fade\" id=\"makeConsistentWithCentralListModal\" data-bs-backdrop=\"static\" data-bs-keyboard=\"false\" tabindex=\"-1\" aria-labelledby=\"makeConsistentWithCentralListModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog modal-dialog-centered\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"makeConsistentWithCentralListModalLabel\">"; echo _gettext("Are you sure?"); // line 48 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Cancel"); // line 49 echo "\"></button> </div> <div class=\"modal-body\"> "; // line 52 echo PhpMyAdmin\Sanitize::sanitizeMessage(_gettext("This action may change some of the columns definition.[br]Are you sure you want to continue?")); echo " </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Cancel"); // line 55 echo "</button> <button type=\"button\" class=\"btn btn-primary\" id=\"makeConsistentWithCentralListContinue\">"; echo _gettext("Continue"); // line 56 echo "</button> </div> </div> </div> </div> "; } } public function getTemplateName() { return "database/structure/check_all_tables.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 204 => 56, 200 => 55, 193 => 52, 188 => 49, 184 => 48, 176 => 43, 174 => 42, 167 => 39, 164 => 38, 159 => 35, 155 => 34, 151 => 33, 145 => 32, 142 => 31, 137 => 28, 133 => 27, 129 => 26, 125 => 25, 120 => 23, 116 => 22, 112 => 21, 108 => 20, 104 => 19, 100 => 18, 95 => 16, 91 => 15, 85 => 14, 83 => 13, 80 => 12, 76 => 11, 72 => 10, 66 => 9, 62 => 8, 56 => 6, 54 => 5, 51 => 4, 47 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/check_all_tables.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/check_all_tables.twig"); } } twig/47/47a1206967cbe67727a96aded1e567ad.php000064400000004521151677324010013065 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* database/structure/bulk_action_modal.twig */ class __TwigTemplate_78721392c04ff23ce9f05d811e38f708 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class=\"modal fade\" id=\"bulkActionModal\" data-bs-backdrop=\"static\" data-bs-keyboard=\"false\" tabindex=\"-1\" aria-labelledby=\"bulkActionLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog modal-dialog-centered\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"bulkActionLabel\"></h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Cancel"); // line 7 echo "\"></button> </div> <div class=\"modal-body\"></div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; echo _gettext("Cancel"); // line 11 echo "</button> <button type=\"button\" class=\"btn btn-primary\" id=\"bulkActionContinue\">"; echo _gettext("Continue"); // line 12 echo "</button> </div> </div> </div> </div>"; } public function getTemplateName() { return "database/structure/bulk_action_modal.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 57 => 12, 53 => 11, 46 => 7, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/bulk_action_modal.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/bulk_action_modal.twig"); } } twig/c0/c045d81847781ea528e53f5adbc01be7.php000064400000003473151677324010013127 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/insert/get_html_for_insert_edit_form_header.twig */ class __TwigTemplate_6b965c234ea03d43250a2e015c7fb944 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<form id=\"insertForm\" class=\"lock-page"; echo (((($context["has_blob_field"] ?? null) && ($context["is_upload"] ?? null))) ? (" disableAjax") : ("")); echo "\" method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/table/replace"); echo "\" name=\"insertForm\""; echo ((($context["is_upload"] ?? null)) ? (" enctype=\"multipart/form-data\"") : ("")); echo ">"; } public function getTemplateName() { return "table/insert/get_html_for_insert_edit_form_header.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 37 => 1,); } public function getSourceContext() { return new Source("", "table/insert/get_html_for_insert_edit_form_header.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/get_html_for_insert_edit_form_header.twig"); } } twig/4c/4cfbf09b8d9e9c03d2ee7768cb25ffdb.php000064400000004405151677324010013530 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/insert/get_head_and_foot_of_insert_row_table.twig */ class __TwigTemplate_b1781500677588d72e4b67bd7af6c8f4 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<div class=\"table-responsive-lg\"> <table class=\"table table-striped align-middle my-3 insertRowTable w-auto\"> <thead> <tr> <th>"; echo _gettext("Column"); // line 5 echo "</th> "; // line 6 echo ($context["type"] ?? null); echo " "; // line 7 echo ($context["function"] ?? null); echo " <th>"; echo _gettext("Null"); // line 8 echo "</th> <th class=\"w-50\">"; echo _gettext("Value"); // line 9 echo "</th> </tr> </thead> <tfoot> <tr> <th colspan=\"5\" class=\"tblFooters text-end\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; echo _gettext("Go"); // line 15 echo "\"> </th> </tr> </tfoot>"; } public function getTemplateName() { return "table/insert/get_head_and_foot_of_insert_row_table.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 69 => 15, 60 => 9, 56 => 8, 51 => 7, 47 => 6, 44 => 5, 37 => 1,); } public function getSourceContext() { return new Source("", "table/insert/get_head_and_foot_of_insert_row_table.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/get_head_and_foot_of_insert_row_table.twig"); } } twig/e4/e4e58923b79a7bcf6b144be544928dd2.php000064400000120445151677324010013152 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/insert/column_row.twig */ class __TwigTemplate_5d987e0c3be8e12755f389a9d36d94b8 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<tr class=\"noclick\"> <td class=\"text-center\"> "; // line 3 echo twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_title", [], "any", false, false, false, 3); echo " <input type=\"hidden\" name=\"fields_name[multi_edit]["; // line 4 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 4), "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field", [], "any", false, false, false, 4), "html", null, true); echo "\"> </td> "; // line 7 if (($context["show_field_types_in_data_edit_view"] ?? null)) { // line 8 echo " <td class=\"text-center"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "wrap", [], "any", false, false, false, 8), "html", null, true); echo "\"> <span class=\"column_type\" dir=\"ltr\">"; // line 9 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 9), "html", null, true); echo "</span> </td> "; } // line 12 echo " "; // line 13 if (($context["show_function_fields"] ?? null)) { // line 14 echo " "; if (($context["is_column_binary"] ?? null)) { // line 15 echo " <td class=\"text-center\">"; echo _gettext("Binary"); echo "</td> "; } elseif ((twig_in_filter("enum", twig_get_attribute($this->env, $this->source, // line 16 ($context["column"] ?? null), "True_Type", [], "any", false, false, false, 16)) || twig_in_filter("set", twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "True_Type", [], "any", false, false, false, 16)))) { // line 17 echo " <td class=\"text-center\">--</td> "; } else { // line 19 echo " <td> <select name=\"funcs[multi_edit]["; // line 20 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 20), "html", null, true); echo "]\" onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 20)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 20), "html", null, true); echo "')\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_1\"> "; // line 21 echo ($context["function_options"] ?? null); echo " </select> </td> "; } // line 25 echo " "; } // line 26 echo " <td> "; // line 28 if (((twig_upper_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Null", [], "any", false, false, false, 28)) == "YES") && !($context["read_only"] ?? null))) { // line 29 echo " <input type=\"hidden\" name=\"fields_null_prev[multi_edit]["; echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 29), "html", null, true); echo "]\""; echo (((($context["real_null_value"] ?? null) && !twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "first_timestamp", [], "any", false, false, false, 29))) ? (" value=\"on\"") : ("")); echo "> <input type=\"checkbox\" class=\"checkbox_null\" name=\"fields_null[multi_edit]["; // line 30 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 30), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_2\" aria-label=\""; echo _gettext("Use the NULL value for this column."); echo "\""; echo ((($context["real_null_value"] ?? null)) ? (" checked") : ("")); echo "> <input type=\"hidden\" class=\"nullify_code\" name=\"nullify_code[multi_edit]["; // line 31 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 31), "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, ($context["nullify_code"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" class=\"hashed_field\" name=\"hashed_field[multi_edit]["; // line 32 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 32), "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 32), "html", null, true); echo "\"> <input type=\"hidden\" class=\"multi_edit\" name=\"multi_edit[multi_edit]["; // line 33 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 33), "html", null, true); echo "]\" value=\""; echo PhpMyAdmin\Sanitize::escapeJsString((("[multi_edit][" . ($context["row_id"] ?? null)) . "]")); echo "\"> "; } // line 35 echo " </td> <td data-type=\""; // line 37 echo twig_escape_filter($this->env, ($context["type"] ?? null), "html", null, true); echo "\" data-decimals=\""; echo twig_escape_filter($this->env, ($context["decimals"] ?? null), "html", null, true); echo "\"> "; // line 39 echo " <span class=\"default_value hide\">"; echo ($context["special_chars"] ?? null); echo "</span> "; // line 41 if ( !twig_test_empty(($context["transformed_value"] ?? null))) { // line 42 echo " "; echo ($context["transformed_value"] ?? null); echo " "; } else { // line 44 echo " "; if (($context["is_value_foreign_link"] ?? null)) { // line 45 echo " "; echo ($context["backup_field"] ?? null); echo " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 46 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 46), "html", null, true); echo "]\" value=\"foreign\"> <input type=\"text\" name=\"fields[multi_edit]["; // line 47 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 47), "html", null, true); echo "]\" class=\"textfield\" onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 47)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 47), "html", null, true); echo "')\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3\" value=\""; echo twig_escape_filter($this->env, ($context["data"] ?? null), "html", null, true); echo "\"> <a class=\"ajax browse_foreign\" href=\""; // line 48 echo PhpMyAdmin\Url::getFromRoute("/browse-foreigners"); echo "\" data-post=\""; echo PhpMyAdmin\Url::getCommon(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "field" => twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field", [], "any", false, false, false, 48), "rownumber" => ($context["row_id"] ?? null), "data" => ($context["data"] ?? null)]); echo "\">"; echo PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse foreign values")); echo "</a> "; } elseif ( !twig_test_empty( // line 49 ($context["foreign_dropdown"] ?? null))) { // line 50 echo " "; echo ($context["backup_field"] ?? null); echo " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 51 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 51), "html", null, true); echo "]\" value=\""; echo ((twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "is_binary", [], "any", false, false, false, 51)) ? ("hex") : ("foreign")); echo "\"> <select name=\"fields[multi_edit]["; // line 52 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 52), "html", null, true); echo "]\" class=\"textfield\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3\" onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 52)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 52), "html", null, true); echo "')\"> "; // line 53 echo ($context["foreign_dropdown"] ?? null); echo " </select> "; } elseif (((( // line 55 ($context["longtext_double_textarea"] ?? null) && twig_in_filter("longtext", twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 55))) || twig_in_filter("json", twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 55))) || twig_in_filter("text", twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 55)))) { // line 56 echo " "; echo ($context["backup_field"] ?? null); echo " <textarea name=\"fields[multi_edit]["; // line 57 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 57), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3\" data-type=\""; echo twig_escape_filter($this->env, ($context["data_type"] ?? null), "html", null, true); echo "\" dir=\""; echo twig_escape_filter($this->env, ($context["text_dir"] ?? null), "html", null, true); echo "\" rows=\""; echo twig_escape_filter($this->env, ($context["textarea_rows"] ?? null), "html", null, true); echo "\" cols=\""; echo twig_escape_filter($this->env, ($context["textarea_cols"] ?? null), "html", null, true); echo "\""; // line 58 ((($context["max_length"] ?? null)) ? (print (twig_escape_filter($this->env, ((" data-maxlength=\"" . ($context["max_length"] ?? null)) . "\""), "html", null, true))) : (print (""))); echo ((twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "is_char", [], "any", false, false, false, 58)) ? (" class=\"char charField\"") : ("")); echo " onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 58)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 58), "html", null, true); echo "')\">"; // line 60 echo (((is_string($__internal_compile_0 = ($context["special_chars"] ?? null)) && is_string($__internal_compile_1 = " ") && ('' === $__internal_compile_1 || 0 === strpos($__internal_compile_0, $__internal_compile_1)))) ? (" ") : ("")); echo ($context["special_chars"] ?? null); // line 61 echo "</textarea> "; // line 62 if ((twig_in_filter("text", twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 62)) && (twig_length_filter($this->env, ($context["special_chars"] ?? null)) > 32000))) { // line 63 echo " </td> <td> "; echo _gettext("Because of its length,<br> this column might not be editable."); // line 66 echo " "; } // line 67 echo " "; } elseif ((twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 67) == "enum")) { // line 68 echo " "; echo ($context["backup_field"] ?? null); echo " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 69 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 69), "html", null, true); echo "]\" value=\"enum\"> "; // line 70 if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Type", [], "any", false, false, false, 70)) > 20)) { // line 71 echo " <select name=\"fields[multi_edit]["; echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 71), "html", null, true); echo "]\" class=\"textfield\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3\" onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 71)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 71), "html", null, true); echo "')\"> <option value=\"\"></option> "; // line 73 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "values", [], "any", false, false, false, 73)); foreach ($context['_seq'] as $context["_key"] => $context["enum_value"]) { // line 74 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 74), "html", null, true); echo "\""; echo (((twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 74) == ($context["enum_selected_value"] ?? null))) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 74), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['enum_value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 76 echo " </select> "; } else { // line 78 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "values", [], "any", false, false, false, 78)); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["enum_value"]) { // line 79 echo " <input type=\"radio\" name=\"fields[multi_edit]["; echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 79), "html", null, true); echo "]\" value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 79), "html", null, true); echo "\" class=\"textfield\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3_"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 79), "html", null, true); echo "\" onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 79)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 79), "html", null, true); echo "')\""; echo (((twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 79) == ($context["enum_selected_value"] ?? null))) ? (" checked") : ("")); echo "> <label for=\"field_"; // line 80 echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3_"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 80), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 80), "html", null, true); echo "</label> "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['enum_value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 82 echo " "; } // line 83 echo " "; } elseif ((twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 83) == "set")) { // line 84 echo " "; echo ($context["backup_field"] ?? null); echo " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 85 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 85), "html", null, true); echo "]\" value=\"set\"> <select name=\"fields[multi_edit]["; // line 86 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 86), "html", null, true); echo "][]\" class=\"textfield\" size=\""; echo twig_escape_filter($this->env, ($context["set_select_size"] ?? null), "html", null, true); echo "\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3\" onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 86)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 86), "html", null, true); echo "')\" multiple> "; // line 87 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["set_values"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["set_value"]) { // line 88 echo " <option value=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["set_value"], "plain", [], "any", false, false, false, 88), "html", null, true); echo "\""; echo ((twig_in_filter(twig_get_attribute($this->env, $this->source, $context["set_value"], "plain", [], "any", false, false, false, 88), twig_split_filter($this->env, ($context["data"] ?? null), ","))) ? (" selected") : ("")); echo ">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["set_value"], "plain", [], "any", false, false, false, 88), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['set_value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 90 echo " </select> "; } elseif ((twig_get_attribute($this->env, $this->source, // line 91 ($context["column"] ?? null), "is_binary", [], "any", false, false, false, 91) || twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "is_blob", [], "any", false, false, false, 91))) { // line 92 echo " "; if (($context["is_column_protected_blob"] ?? null)) { // line 93 echo " "; echo _gettext("Binary - do not edit"); // line 94 echo " ("; echo twig_escape_filter($this->env, ($context["blob_value"] ?? null), "html", null, true); echo " "; echo twig_escape_filter($this->env, ($context["blob_value_unit"] ?? null), "html", null, true); echo ") <input type=\"hidden\" name=\"fields[multi_edit]["; // line 95 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 95), "html", null, true); echo "]\" value=\"\"> <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 96 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 96), "html", null, true); echo "]\" value=\"protected\"> "; } elseif ((twig_get_attribute($this->env, $this->source, // line 97 ($context["column"] ?? null), "is_blob", [], "any", false, false, false, 97) || (twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "len", [], "any", false, false, false, 97) > ($context["limit_chars"] ?? null)))) { // line 98 echo " "; echo ($context["backup_field"] ?? null); echo " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 99 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 99), "html", null, true); echo "]\" value=\"hex\"> <textarea name=\"fields[multi_edit]["; // line 100 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 100), "html", null, true); echo "]\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3\" data-type=\"HEX\" dir=\""; echo twig_escape_filter($this->env, ($context["text_dir"] ?? null), "html", null, true); echo "\" rows=\""; echo twig_escape_filter($this->env, ($context["textarea_rows"] ?? null), "html", null, true); echo "\" cols=\""; echo twig_escape_filter($this->env, ($context["textarea_cols"] ?? null), "html", null, true); echo "\""; // line 101 ((($context["max_length"] ?? null)) ? (print (twig_escape_filter($this->env, ((" data-maxlength=\"" . ($context["max_length"] ?? null)) . "\""), "html", null, true))) : (print (""))); echo ((twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "is_char", [], "any", false, false, false, 101)) ? (" class=\"char charField\"") : ("")); echo " onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 101)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 101), "html", null, true); echo "')\">"; // line 103 echo (((is_string($__internal_compile_2 = ($context["special_chars"] ?? null)) && is_string($__internal_compile_3 = " ") && ('' === $__internal_compile_3 || 0 === strpos($__internal_compile_2, $__internal_compile_3)))) ? (" ") : ("")); echo ($context["special_chars"] ?? null); // line 104 echo "</textarea> "; } else { // line 106 echo " "; echo ($context["backup_field"] ?? null); echo " <input type=\"hidden\" name=\"fields_type[multi_edit]["; // line 107 echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 107), "html", null, true); echo "]\" value=\"hex\"> "; // line 108 echo ($context["input_field_html"] ?? null); echo " "; } // line 110 echo " "; if ((($context["is_upload"] ?? null) && twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "is_blob", [], "any", false, false, false, 110))) { // line 111 echo " <br> "; // line 113 echo " <input type=\"file\" name=\"fields_upload[multi_edit]["; echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "]["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 113), "html", null, true); echo "]\" class=\"textfield noDragDrop\" id=\"field_"; echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true); echo "_3\" size=\"10\" onchange=\"return verificationsAfterFieldChange('"; echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 113)); echo "', '"; echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null)); echo "', '"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 113), "html", null, true); echo "')\"> "; // line 114 echo twig_escape_filter($this->env, ($context["max_upload_size"] ?? null), "html", null, true); echo " "; } // line 116 echo " "; echo ($context["select_option_for_upload"] ?? null); echo " "; } else { // line 118 echo " "; echo ($context["value"] ?? null); echo " "; } // line 120 echo " "; // line 121 if (twig_in_filter(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 121), ($context["gis_data_types"] ?? null))) { // line 122 echo " <span class=\"open_gis_editor\" data-row-id=\""; echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true); echo "\">"; echo PhpMyAdmin\Html\Generator::linkOrButton("#", null, PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit/Insert")), [], "_blank"); echo "</span> "; } // line 124 echo " "; } // line 125 echo " </td> </tr> "; } public function getTemplateName() { return "table/insert/column_row.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 619 => 125, 616 => 124, 608 => 122, 606 => 121, 603 => 120, 597 => 118, 591 => 116, 586 => 114, 571 => 113, 568 => 111, 565 => 110, 560 => 108, 554 => 107, 549 => 106, 545 => 104, 540 => 103, 530 => 101, 517 => 100, 511 => 99, 506 => 98, 504 => 97, 498 => 96, 492 => 95, 485 => 94, 482 => 93, 479 => 92, 477 => 91, 474 => 90, 461 => 88, 457 => 87, 441 => 86, 435 => 85, 430 => 84, 427 => 83, 424 => 82, 404 => 80, 383 => 79, 365 => 78, 361 => 76, 348 => 74, 344 => 73, 328 => 71, 326 => 70, 320 => 69, 315 => 68, 312 => 67, 309 => 66, 304 => 63, 302 => 62, 299 => 61, 294 => 60, 284 => 58, 269 => 57, 264 => 56, 262 => 55, 257 => 53, 243 => 52, 235 => 51, 230 => 50, 228 => 49, 220 => 48, 204 => 47, 198 => 46, 193 => 45, 190 => 44, 184 => 42, 182 => 41, 176 => 39, 170 => 37, 166 => 35, 157 => 33, 149 => 32, 141 => 31, 129 => 30, 120 => 29, 118 => 28, 114 => 26, 111 => 25, 104 => 21, 90 => 20, 87 => 19, 83 => 17, 81 => 16, 76 => 15, 73 => 14, 71 => 13, 68 => 12, 62 => 9, 57 => 8, 55 => 7, 45 => 4, 41 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "table/insert/column_row.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/column_row.twig"); } } twig/01/0184be5b5a1b102823e8776b7b494944.php000064400000013235151677324010012542 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/insert/actions_panel.twig */ class __TwigTemplate_7afb17d589b273308658448423e89d40 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<fieldset class=\"pma-fieldset\" id=\"actions_panel\"> <table class=\"table table-borderless w-auto tdblock\"> <tr> <td class=\"text-nowrap align-middle\"> <select name=\"submit_type\" class=\"control_at_footer\"> "; // line 6 if ( !twig_test_empty(($context["where_clause"] ?? null))) { // line 7 echo " <option value=\"save\">"; echo _gettext("Save"); echo "</option> "; } // line 9 echo " <option value=\"insert\">"; echo _gettext("Insert as new row"); echo "</option> <option value=\"insertignore\">"; echo _gettext("Insert as new row and ignore errors"); // line 10 echo "</option> <option value=\"showinsert\">"; echo _gettext("Show insert query"); // line 11 echo "</option> </select> </td> <td class=\"align-middle\"> <strong>"; echo _gettext("and then"); // line 15 echo "</strong> </td> <td class=\"text-nowrap align-middle\"> <select name=\"after_insert\" class=\"control_at_footer\"> <option value=\"back\""; // line 19 echo (((($context["after_insert"] ?? null) == "back")) ? (" selected") : ("")); echo ">"; echo _gettext("Go back to previous page"); echo "</option> <option value=\"new_insert\""; // line 20 echo (((($context["after_insert"] ?? null) == "new_insert")) ? (" selected") : ("")); echo ">"; echo _gettext("Insert another new row"); echo "</option> "; // line 21 if ( !twig_test_empty(($context["where_clause"] ?? null))) { // line 22 echo " <option value=\"same_insert\""; echo (((($context["after_insert"] ?? null) == "same_insert")) ? (" selected") : ("")); echo ">"; echo _gettext("Go back to this page"); echo "</option> "; // line 23 if ((($context["found_unique_key"] ?? null) && ($context["is_numeric"] ?? null))) { // line 24 echo " <option value=\"edit_next\""; echo (((($context["after_insert"] ?? null) == "edit_next")) ? (" selected") : ("")); echo ">"; echo _gettext("Edit next row"); echo "</option> "; } // line 26 echo " "; } // line 27 echo " </select> </td> </tr> <tr> <td> "; // line 32 echo PhpMyAdmin\Html\Generator::showHint(_gettext("Use TAB key to move from value to value, or CTRL+arrows to move anywhere.")); echo " </td> <td colspan=\"3\" class=\"text-end align-middle\"> <input type=\"button\" class=\"btn btn-secondary preview_sql control_at_footer\" value=\""; echo _gettext("Preview SQL"); // line 35 echo "\"> <input type=\"reset\" class=\"btn btn-secondary control_at_footer\" value=\""; echo _gettext("Reset"); // line 36 echo "\"> <input type=\"submit\" class=\"btn btn-primary control_at_footer\" value=\""; echo _gettext("Go"); // line 37 echo "\" id=\"buttonYes\"> </td> </tr> </table> </fieldset> <div class=\"modal fade\" id=\"previewSqlModal\" tabindex=\"-1\" aria-labelledby=\"previewSqlModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"previewSqlModalLabel\">"; echo _gettext("Loading"); // line 46 echo "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; echo _gettext("Close"); // line 47 echo "\"></button> </div> <div class=\"modal-body\"> </div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" id=\"previewSQLCloseButton\" data-bs-dismiss=\"modal\">"; echo _gettext("Close"); // line 52 echo "</button> </div> </div> </div> </div> "; } public function getTemplateName() { return "table/insert/actions_panel.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 155 => 52, 147 => 47, 143 => 46, 131 => 37, 127 => 36, 123 => 35, 116 => 32, 109 => 27, 106 => 26, 98 => 24, 96 => 23, 89 => 22, 87 => 21, 81 => 20, 75 => 19, 69 => 15, 62 => 11, 58 => 10, 52 => 9, 46 => 7, 44 => 6, 37 => 1,); } public function getSourceContext() { return new Source("", "table/insert/actions_panel.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/actions_panel.twig"); } } twig/cf/cf151a987d451dbed37630dfabb6c91d.php000064400000010111151677324010013415 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/insert/continue_insertion_form.twig */ class __TwigTemplate_904307a5a5f694a38d058a83a4fa8120 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "<form id=\"continueForm\" method=\"post\" action=\""; echo PhpMyAdmin\Url::getFromRoute("/table/replace"); echo "\" name=\"continueForm\"> "; // line 2 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " <input type=\"hidden\" name=\"goto\" value=\""; // line 3 echo twig_escape_filter($this->env, ($context["goto"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" name=\"err_url\" value=\""; // line 4 echo twig_escape_filter($this->env, ($context["err_url"] ?? null), "html", null, true); echo "\"> <input type=\"hidden\" name=\"sql_query\" value=\""; // line 5 echo twig_escape_filter($this->env, ($context["sql_query"] ?? null), "html", null, true); echo "\"> "; // line 7 if (($context["has_where_clause"] ?? null)) { // line 8 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["where_clause_array"] ?? null)); foreach ($context['_seq'] as $context["key_id"] => $context["where_clause"]) { // line 9 echo " <input type=\"hidden\" name=\"where_clause["; echo twig_escape_filter($this->env, $context["key_id"], "html", null, true); echo "]\" value=\""; // line 10 echo twig_escape_filter($this->env, twig_trim_filter($context["where_clause"]), "html", null, true); echo "\"> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key_id'], $context['where_clause'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 12 echo " "; } // line 13 echo " "; // line 14 ob_start(function () { return ''; }); // line 15 echo " <input type=\"number\" name=\"insert_rows\" id=\"insert_rows\" value=\""; // line 16 echo twig_escape_filter($this->env, ($context["insert_rows_default"] ?? null), "html", null, true); echo "\" min=\"1\"> "; $context["insert_rows"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 18 echo " "; echo twig_sprintf(_gettext("Continue insertion with %s rows"), ($context["insert_rows"] ?? null)); echo " </form> "; } public function getTemplateName() { return "table/insert/continue_insertion_form.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 93 => 18, 88 => 16, 86 => 15, 84 => 14, 81 => 13, 78 => 12, 70 => 10, 66 => 9, 61 => 8, 59 => 7, 54 => 5, 50 => 4, 46 => 3, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "table/insert/continue_insertion_form.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/insert/continue_insertion_form.twig"); } } twig/a1/a1e2156a9f6527a4e1b3d8858b435fa0.php000064400000003477151677324010013047 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* table/import/index.twig */ class __TwigTemplate_5ea560073dcab819362801734e57360e extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'title' => [$this, 'block_title'], ]; } protected function doGetParent(array $context) { // line 1 return "import.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $this->parent = $this->loadTemplate("import.twig", "table/import/index.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_title($context, array $blocks = []) { $macros = $this->macros; echo twig_escape_filter($this->env, twig_sprintf(_gettext("Importing into the table \"%s\""), ($context["table"] ?? null)), "html", null, true); } public function getTemplateName() { return "table/import/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 46 => 3, 35 => 1,); } public function getSourceContext() { return new Source("", "table/import/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/import/index.twig"); } } twig/c4/c447b22d9626b8dce2626de7bfc65112.php000064400000105336151677324010013135 0ustar00<?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/25/254edb6bc161bcfaee6c905550703772.php000064400000067037151677324010013051 0ustar00<?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/b2/b2812386b753320d886bb285ebf519c1.php000064400000033276151677324010012715 0ustar00<?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/41/41c4a65c9c6eacc805f1733a23ab7f99.php000064400000003626151677324010013131 0ustar00<?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/b6/b6d3c6ba9c757919d862f063ed31c2d6.php000064400000005611151677324010013142 0ustar00<?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/c2/c28b3143f32e68cd91d81678a565c398.php000064400000020426151677324010012727 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\CoreExtension; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* list_navigator.twig */ class __TwigTemplate_8fb403001725b286f4534bae86937339 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 if ((($context["max_count"] ?? null) < ($context["count"] ?? null))) { // line 2 yield "<div class=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::join(($context["classes"] ?? null), " "), "html", null, true); yield "\"> "; // line 3 if ((($context["frame"] ?? null) != "frame_navigation")) { // line 4 yield " "; yield _gettext("Page number:"); // line 5 yield " "; } // line 6 yield " "; // line 7 if ((($context["position"] ?? null) > 0)) { // line 8 yield " <a href=\""; yield ($context["script"] ?? null); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(Twig\Extension\CoreExtension::merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => 0]), "", false); yield "\""; yield (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : ("")); yield " title=\""; yield _pgettext("First page", "Begin"); yield "\"> "; // line 9 if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) { // line 10 yield " << "; } // line 12 yield " "; if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) { // line 13 yield " "; yield _pgettext("First page", "Begin"); // line 14 yield " "; } // line 15 yield " </a> <a href=\""; // line 16 yield ($context["script"] ?? null); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(Twig\Extension\CoreExtension::merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => (($context["position"] ?? null) - ($context["max_count"] ?? null))]), "", false); yield "\""; yield (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : ("")); yield " title=\""; yield _pgettext("Previous page", "Previous"); yield "\"> "; // line 17 if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) { // line 18 yield " < "; } // line 20 yield " "; if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) { // line 21 yield " "; yield _pgettext("Previous page", "Previous"); // line 22 yield " "; } // line 23 yield " </a> "; } // line 25 yield " <form action=\""; // line 26 yield ($context["script"] ?? null); yield "\" method=\"post\"> "; // line 27 yield PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null)); yield " "; // line 29 yield ($context["page_selector"] ?? null); yield " </form> "; // line 32 if (((($context["position"] ?? null) + ($context["max_count"] ?? null)) < ($context["count"] ?? null))) { // line 33 yield " <a href=\""; yield ($context["script"] ?? null); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(Twig\Extension\CoreExtension::merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => (($context["position"] ?? null) + ($context["max_count"] ?? null))]), "", false); yield "\""; yield (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : ("")); yield " title=\""; yield _pgettext("Next page", "Next"); yield "\"> "; // line 34 if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) { // line 35 yield " "; yield _pgettext("Next page", "Next"); // line 36 yield " "; } // line 37 yield " "; if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) { // line 38 yield " > "; } // line 40 yield " </a> "; // line 41 $context["last_pos"] = ((int) floor((($context["count"] ?? null) / ($context["max_count"] ?? null))) * ($context["max_count"] ?? null)); // line 42 yield " <a href=\""; yield ($context["script"] ?? null); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(Twig\Extension\CoreExtension::merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => (((($context["last_pos"] ?? null) == ($context["count"] ?? null))) ? ((($context["count"] ?? null) - ($context["max_count"] ?? null))) : (($context["last_pos"] ?? null)))]), "", false); yield "\""; yield (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : ("")); yield " title=\""; yield _pgettext("Last page", "End"); yield "\"> "; // line 43 if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) { // line 44 yield " "; yield _pgettext("Last page", "End"); // line 45 yield " "; } // line 46 yield " "; if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) { // line 47 yield " >> "; } // line 49 yield " </a> "; } // line 51 yield "</div> "; } return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "list_navigator.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 197 => 51, 193 => 49, 189 => 47, 186 => 46, 183 => 45, 180 => 44, 178 => 43, 167 => 42, 165 => 41, 162 => 40, 158 => 38, 155 => 37, 152 => 36, 149 => 35, 147 => 34, 136 => 33, 134 => 32, 128 => 29, 123 => 27, 119 => 26, 116 => 25, 112 => 23, 109 => 22, 106 => 21, 103 => 20, 99 => 18, 97 => 17, 87 => 16, 84 => 15, 81 => 14, 78 => 13, 75 => 12, 71 => 10, 69 => 9, 58 => 8, 56 => 7, 53 => 6, 50 => 5, 47 => 4, 45 => 3, 40 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "list_navigator.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/list_navigator.twig"); } } twig/c2/c2ead90c79ccf2f67f00efc5f1477ba0.php000064400000010642151677324010013424 0ustar00<?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/81/81831ef6925577ad010cc639f83cf795.php000064400000042063151677324010012657 0ustar00<?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/37/37c291d7d41932c7cfda81164a494019.php000064400000004012151677324010012625 0ustar00<?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/1a/1a0d86b18464494024292fc023d6b04c.php000064400000024561151677324010012607 0ustar00<?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/ed/ed2d44f9b670c9e63fb2907da5dc6ed5.php000064400000004770151677324010013452 0ustar00<?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/6d/6d40d80ffc2358e2cb61885c5eb8078b.php000064400000020753151677324010013147 0ustar00<?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/cb/cb75e9713348c6389821391ef1080217.php000064400000010723151677324010012557 0ustar00<?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/cb/cb6166260f41022f70094d4904a9a2fe.php000064400000016020151677324010012745 0ustar00<?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/triggers/row.twig */ class __TwigTemplate_9c4b0c419d1a8739486571d52fa943b0 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { 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"; if ( !Twig\Extension\CoreExtension::testEmpty(($context["row_class"] ?? null))) { yield " class=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["row_class"] ?? null), "html", null, true); yield "\""; } yield "> <td> <input type=\"checkbox\" class=\"checkall\" name=\"item_name[]\" value=\""; // line 3 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["trigger"] ?? null), "name", [], "any", false, false, false, 3), "html", null, true); yield "\"> </td> <td> <span class='drop_sql hide'>"; // line 6 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["trigger"] ?? null), "drop", [], "any", false, false, false, 6), "html", null, true); yield "</span> <strong>"; // line 7 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["trigger"] ?? null), "name", [], "any", false, false, false, 7), "html", null, true); yield "</strong> </td> "; // line 9 if (Twig\Extension\CoreExtension::testEmpty(($context["table"] ?? null))) { // line 10 yield " <td> <a href=\""; // line 11 yield PhpMyAdmin\Url::getFromRoute("/table/triggers", ["db" => ($context["db"] ?? null), "table" => CoreExtension::getAttribute($this->env, $this->source, ($context["trigger"] ?? null), "table", [], "any", false, false, false, 11)]); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["trigger"] ?? null), "table", [], "any", false, false, false, 11), "html", null, true); yield "</a> </td> "; } // line 14 yield " <td> "; // line 15 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["trigger"] ?? null), "action_timing", [], "any", false, false, false, 15), "html", null, true); yield " </td> <td> "; // line 18 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["trigger"] ?? null), "event_manipulation", [], "any", false, false, false, 18), "html", null, true); yield " </td> <td> "; // line 21 if (($context["has_edit_privilege"] ?? null)) { // line 22 yield " <a class=\"ajax edit_anchor\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/database/triggers", ["db" => // line 23 ($context["db"] ?? null), "table" => // line 24 ($context["table"] ?? null), "edit_item" => true, "item_name" => CoreExtension::getAttribute($this->env, $this->source, // line 26 ($context["trigger"] ?? null), "name", [], "any", false, false, false, 26)]); // line 27 yield "\"> "; // line 28 yield PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit")); yield " </a> "; } else { // line 31 yield " "; yield PhpMyAdmin\Html\Generator::getIcon("bd_edit", _gettext("Edit")); yield " "; } // line 33 yield " </td> <td> <a class=\"ajax export_anchor\" href=\""; // line 35 yield PhpMyAdmin\Url::getFromRoute("/database/triggers", ["db" => // line 36 ($context["db"] ?? null), "table" => // line 37 ($context["table"] ?? null), "export_item" => true, "item_name" => CoreExtension::getAttribute($this->env, $this->source, // line 39 ($context["trigger"] ?? null), "name", [], "any", false, false, false, 39)]); // line 40 yield "\"> "; // line 41 yield PhpMyAdmin\Html\Generator::getIcon("b_export", _gettext("Export")); yield " </a> </td> <td> "; // line 45 if (($context["has_drop_privilege"] ?? null)) { // line 46 yield " "; yield PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), ["db" => // line 49 ($context["db"] ?? null), "table" => // line 50 ($context["table"] ?? null), "sql_query" => CoreExtension::getAttribute($this->env, $this->source, // line 51 ($context["trigger"] ?? null), "drop", [], "any", false, false, false, 51), "goto" => PhpMyAdmin\Url::getFromRoute("/database/triggers", ["db" => // line 52 ($context["db"] ?? null)])], PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")), ["class" => "ajax drop_anchor"]); // line 56 yield " "; } else { // line 58 yield " "; yield PhpMyAdmin\Html\Generator::getIcon("bd_drop", _gettext("Drop")); yield " "; } // line 60 yield " </td> </tr> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/triggers/row.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 152 => 60, 146 => 58, 142 => 56, 140 => 52, 139 => 51, 138 => 50, 137 => 49, 135 => 46, 133 => 45, 126 => 41, 123 => 40, 121 => 39, 120 => 37, 119 => 36, 118 => 35, 114 => 33, 108 => 31, 102 => 28, 99 => 27, 97 => 26, 96 => 24, 95 => 23, 93 => 22, 91 => 21, 85 => 18, 79 => 15, 76 => 14, 68 => 11, 65 => 10, 63 => 9, 58 => 7, 54 => 6, 48 => 3, 38 => 1,); } public function getSourceContext() { return new Source("", "database/triggers/row.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/triggers/row.twig"); } } twig/af/af21d6d93ec1312843e3523d45313517.php000064400000034500151677324010012671 0ustar00<?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/d7/d7c3995cb4f6125a4978fed7eeb11cff.php000064400000007112151677324010013374 0ustar00<?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/f2/f2f68f3083f5bfb673827014680c437d.php000064400000007523151677324010012730 0ustar00<?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/ab/ab84cc3ab02f4aa3c84e87c119e4648b.php000064400000014433151677324010013335 0ustar00<?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/ce/cec45ea000a7a71d11011e72c0a64eee.php000064400000017322151677324010013306 0ustar00<?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/66/66fb65223d4c1eb1b44346adc84acd95.php000064400000003322151677324010013122 0ustar00<?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/b5/b576af01d5ef2ec55d905ad2c6bf025a.php000064400000017231151677324010013334 0ustar00<?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/d0/d0353e4f7b771dca90b2e96d53db05e6.php000064400000127350151677324010013210 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\CoreExtension; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* server/databases/index.twig */ class __TwigTemplate_68d55a1b36040e59feb449cd7d11f1f3 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 yield "<div class=\"container-fluid my-3\"> <h2> "; // line 3 yield PhpMyAdmin\Html\Generator::getIcon("s_db", ((($context["has_statistics"] ?? null)) ? (_gettext("Databases statistics")) : (_gettext("Databases")))); yield " </h2> "; // line 6 if (($context["is_create_database_shown"] ?? null)) { // line 7 yield " <div class=\"card\"> <div class=\"card-header\"> "; // line 9 yield PhpMyAdmin\Html\Generator::getIcon("b_newdb", _gettext("Create database")); yield " "; // line 10 yield PhpMyAdmin\Html\MySQLDocumentation::show("CREATE_DATABASE"); yield " </div> <div class=\"card-body\"> "; // line 13 if (($context["has_create_database_privileges"] ?? null)) { // line 14 yield " <form method=\"post\" action=\""; yield PhpMyAdmin\Url::getFromRoute("/server/databases/create"); yield "\" id=\"create_database_form\" class=\"ajax row row-cols-md-auto g-3 align-items-center\"> "; // line 15 yield PhpMyAdmin\Url::getHiddenInputs("", ""); yield " <input type=\"hidden\" name=\"reload\" value=\"1\"> "; // line 17 if (($context["has_statistics"] ?? null)) { // line 18 yield " <input type=\"hidden\" name=\"statistics\" value=\"1\"> "; } // line 20 yield " <div class=\"col-12\"> <input autocomplete=\"off\" type=\"text\" name=\"new_db\" maxlength=\"64\" class=\"form-control\" value=\""; // line 23 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["database_to_create"] ?? null), "html", null, true); yield "\" id=\"text_create_db\" placeholder=\""; yield _gettext("Database name"); // line 24 yield "\" aria-label=\""; yield _gettext("Database name"); yield "\" required> </div> "; // line 27 if ( !Twig\Extension\CoreExtension::testEmpty(($context["charsets"] ?? null))) { // line 28 yield " <div class=\"col-12\"> <select lang=\"en\" dir=\"ltr\" name=\"db_collation\" class=\"form-select\" aria-label=\""; yield _gettext("Collation"); // line 29 yield "\"> <option value=\"\">"; yield _gettext("Collation"); // line 30 yield "</option> <option value=\"\"></option> "; // line 32 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["charsets"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["charset"]) { // line 33 yield " <optgroup label=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 33), "html", null, true); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 33), "html", null, true); yield "\"> "; // line 34 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 34)); foreach ($context['_seq'] as $context["_key"] => $context["collation"]) { // line 35 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 35), "html", null, true); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["collation"], "description", [], "any", false, false, false, 35), "html", null, true); yield "\""; yield ((CoreExtension::getAttribute($this->env, $this->source, $context["collation"], "is_selected", [], "any", false, false, false, 35)) ? (" selected") : ("")); yield ">"; // line 36 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 36), "html", null, true); // line 37 yield "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 39 yield " </optgroup> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 41 yield " </select> </div> "; } // line 44 yield " <div class=\"col-12\"> <input id=\"buttonGo\" class=\"btn btn-primary\" type=\"submit\" value=\""; yield _gettext("Create"); // line 46 yield "\"> </div> </form> "; } else { // line 50 yield " <span class=\"text-danger\">"; yield PhpMyAdmin\Html\Generator::getIcon("s_error", _gettext("No privileges to create databases")); yield "</span> "; } // line 52 yield " </div> </div> "; } // line 55 yield " "; // line 56 if ((($context["database_count"] ?? null) > 0)) { // line 57 yield " <div class=\"d-flex flex-wrap my-3\"> "; // line 58 if (($context["is_drop_allowed"] ?? null)) { // line 59 yield " <div> <div class=\"input-group\"> <div class=\"input-group-text\"> <div class=\"form-check mb-0\"> <input class=\"form-check-input checkall_box\" type=\"checkbox\" value=\"\" id=\"checkAllCheckbox\" form=\"dbStatsForm\"> <label class=\"form-check-label\" for=\"checkAllCheckbox\">"; yield _gettext("Check all"); // line 64 yield "</label> </div> </div> <button class=\"btn btn-outline-secondary\" id=\"bulkActionDropButton\" type=\"submit\" name=\"submit_mult\" value=\"Drop\" form=\"dbStatsForm\" title=\""; yield _gettext("Drop"); // line 67 yield "\"> "; // line 68 yield PhpMyAdmin\Html\Generator::getIcon("db_drop", _gettext("Drop")); yield " </button> </div> </div> "; } // line 73 yield " <div class=\"ms-auto\"> <div class=\"input-group\"> <span class=\"input-group-text\">"; // line 76 yield PhpMyAdmin\Html\Generator::getImage("b_search", _gettext("Search")); yield "</span> <input class=\"form-control\" name=\"filterText\" type=\"text\" id=\"filterText\" value=\"\" placeholder=\""; yield _gettext("Search"); // line 77 yield "\" aria-label=\""; yield _gettext("Search"); yield "\"> </div> </div> </div> "; // line 82 yield PhpMyAdmin\Html\Generator::getListNavigator( // line 83 ($context["database_count"] ?? null), // line 84 ($context["pos"] ?? null), // line 85 ($context["url_params"] ?? null), PhpMyAdmin\Url::getFromRoute("/server/databases"), "frame_content", // line 88 ($context["max_db_list"] ?? null)); // line 89 yield " <form class=\"ajax\" action=\""; // line 91 yield PhpMyAdmin\Url::getFromRoute("/server/databases"); yield "\" method=\"post\" name=\"dbStatsForm\" id=\"dbStatsForm\"> "; // line 92 yield PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null)); yield " <div class=\"table-responsive\"> <table class=\"table table-striped table-hover w-auto\"> <thead> <tr> "; // line 97 if (($context["is_drop_allowed"] ?? null)) { // line 98 yield " <th></th> "; } // line 100 yield " <th> <a href=\""; // line 101 yield PhpMyAdmin\Url::getFromRoute("/server/databases", Twig\Extension\CoreExtension::merge(($context["url_params"] ?? null), ["sort_by" => "SCHEMA_NAME", "sort_order" => ((((CoreExtension::getAttribute($this->env, $this->source, // line 103 ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 103) == "SCHEMA_NAME") && (CoreExtension::getAttribute($this->env, $this->source, // line 104 ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 104) == "asc"))) ? ("desc") : ("asc"))])); // line 105 yield "\"> "; yield _gettext("Database"); // line 107 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 107) == "SCHEMA_NAME")) { // line 108 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 108) == "asc")) { // line 109 yield " "; yield PhpMyAdmin\Html\Generator::getImage("s_asc", _gettext("Ascending")); yield " "; } else { // line 111 yield " "; yield PhpMyAdmin\Html\Generator::getImage("s_desc", _gettext("Descending")); yield " "; } // line 113 yield " "; } // line 114 yield " </a> </th> <th> <a href=\""; // line 118 yield PhpMyAdmin\Url::getFromRoute("/server/databases", Twig\Extension\CoreExtension::merge(($context["url_params"] ?? null), ["sort_by" => "DEFAULT_COLLATION_NAME", "sort_order" => ((((CoreExtension::getAttribute($this->env, $this->source, // line 120 ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 120) == "DEFAULT_COLLATION_NAME") && (CoreExtension::getAttribute($this->env, $this->source, // line 121 ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 121) == "asc"))) ? ("desc") : ("asc"))])); // line 122 yield "\"> "; yield _gettext("Collation"); // line 124 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 124) == "DEFAULT_COLLATION_NAME")) { // line 125 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 125) == "asc")) { // line 126 yield " "; yield PhpMyAdmin\Html\Generator::getImage("s_asc", _gettext("Ascending")); yield " "; } else { // line 128 yield " "; yield PhpMyAdmin\Html\Generator::getImage("s_desc", _gettext("Descending")); yield " "; } // line 130 yield " "; } // line 131 yield " </a> </th> "; // line 134 if (($context["has_statistics"] ?? null)) { // line 135 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["header_statistics"] ?? null)); foreach ($context['_seq'] as $context["name"] => $context["statistic"]) { // line 136 yield " <th"; yield (((CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "format", [], "any", false, false, false, 136) == "byte")) ? (" colspan=\"2\"") : ("")); yield "> <a href=\""; // line 137 yield PhpMyAdmin\Url::getFromRoute("/server/databases", Twig\Extension\CoreExtension::merge(($context["url_params"] ?? null), ["sort_by" => // line 138 $context["name"], "sort_order" => ((((CoreExtension::getAttribute($this->env, $this->source, // line 139 ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 139) == $context["name"]) && (CoreExtension::getAttribute($this->env, $this->source, // line 140 ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 140) == "asc"))) ? ("desc") : ("asc"))])); // line 141 yield "\"> "; // line 142 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "title", [], "any", false, false, false, 142), "html", null, true); yield " "; // line 143 if ((CoreExtension::getAttribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 143) == $context["name"])) { // line 144 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 144) == "asc")) { // line 145 yield " "; yield PhpMyAdmin\Html\Generator::getImage("s_asc", _gettext("Ascending")); yield " "; } else { // line 147 yield " "; yield PhpMyAdmin\Html\Generator::getImage("s_desc", _gettext("Descending")); yield " "; } // line 149 yield " "; } // line 150 yield " </a> </th> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['name'], $context['statistic'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 153 yield " "; } // line 154 yield " "; // line 155 if (($context["has_primary_replication"] ?? null)) { // line 156 yield " <th>"; yield _gettext("Primary replication"); yield "</th> "; } // line 158 yield " "; // line 159 if (($context["has_replica_replication"] ?? null)) { // line 160 yield " <th>"; yield _gettext("Replica replication"); yield "</th> "; } // line 162 yield " <th>"; yield _gettext("Action"); // line 163 yield "</th> </tr> </thead> <tbody> "; // line 168 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["databases"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["database"]) { // line 169 yield " <tr class=\"db-row"; yield (((CoreExtension::getAttribute($this->env, $this->source, $context["database"], "is_system_schema", [], "any", false, false, false, 169) || CoreExtension::getAttribute($this->env, $this->source, $context["database"], "is_pmadb", [], "any", false, false, false, 169))) ? (" noclick") : ("")); yield "\" data-filter-row=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::upper($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 169)), "html", null, true); yield "\"> "; // line 170 if (($context["is_drop_allowed"] ?? null)) { // line 171 yield " <td class=\"tool\"> <input type=\"checkbox\" name=\"selected_dbs[]\" class=\"checkall\" title=\""; // line 173 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 173), "html", null, true); yield "\" value=\""; // line 174 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 174), "html", null, true); yield "\""; // line 175 yield (((CoreExtension::getAttribute($this->env, $this->source, $context["database"], "is_system_schema", [], "any", false, false, false, 175) || CoreExtension::getAttribute($this->env, $this->source, $context["database"], "is_pmadb", [], "any", false, false, false, 175))) ? (" disabled") : ("")); yield "> </td> "; } // line 178 yield " <td class=\"name\"> <a href=\""; // line 180 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["database"], "url", [], "any", false, false, false, 180), "html", null, true); yield "\" title=\""; // line 181 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf(_gettext("Jump to database '%s'"), CoreExtension::getAttribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 181)), "html", null, true); yield "\"> "; // line 182 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 182), "html", null, true); yield " </a> </td> <td class=\"value\"> <dfn title=\""; // line 187 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["database"], "collation", [], "any", false, false, false, 187), "description", [], "any", false, false, false, 187), "html", null, true); yield "\"> "; // line 188 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["database"], "collation", [], "any", false, false, false, 188), "name", [], "any", false, false, false, 188), "html", null, true); yield " </dfn> </td> "; // line 192 if (($context["has_statistics"] ?? null)) { // line 193 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["database"], "statistics", [], "any", false, false, false, 193)); foreach ($context['_seq'] as $context["_key"] => $context["statistic"]) { // line 194 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "format", [], "any", false, false, false, 194) === "byte")) { // line 195 yield " "; $context["value"] = PhpMyAdmin\Util::formatByteDown(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 195), 3, 1); // line 196 yield " <td class=\"value\"> <data value=\""; // line 197 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 197), "html", null, true); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 197), "html", null, true); yield "\"> "; // line 198 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_0 = ($context["value"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true); yield " </data> </td> <td class=\"unit\">"; // line 201 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_1 = ($context["value"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null), "html", null, true); yield "</td> "; } else { // line 203 yield " <td class=\"value\"> <data value=\""; // line 204 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 204), "html", null, true); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 204), "html", null, true); yield "\"> "; // line 205 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::formatNumber(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 205), 0), "html", null, true); yield " </data> </td> "; } // line 209 yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['statistic'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 210 yield " "; } // line 211 yield " "; // line 212 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 212), "primary", [], "any", false, false, false, 212), "status", [], "any", false, false, false, 212)) { // line 213 yield " "; if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 213), "primary", [], "any", false, false, false, 213), "is_replicated", [], "any", false, false, false, 213)) { // line 214 yield " <td class=\"tool text-center\"> "; // line 215 yield PhpMyAdmin\Html\Generator::getIcon("s_success", _gettext("Replicated")); yield " </td> "; } else { // line 218 yield " <td class=\"tool text-center\"> "; // line 219 yield PhpMyAdmin\Html\Generator::getIcon("s_cancel", _gettext("Not replicated")); yield " </td> "; } // line 222 yield " "; } // line 223 yield " "; // line 224 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 224), "replica", [], "any", false, false, false, 224), "status", [], "any", false, false, false, 224)) { // line 225 yield " "; if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 225), "replica", [], "any", false, false, false, 225), "is_replicated", [], "any", false, false, false, 225)) { // line 226 yield " <td class=\"tool text-center\"> "; // line 227 yield PhpMyAdmin\Html\Generator::getIcon("s_success", _gettext("Replicated")); yield " </td> "; } else { // line 230 yield " <td class=\"tool text-center\"> "; // line 231 yield PhpMyAdmin\Html\Generator::getIcon("s_cancel", _gettext("Not replicated")); yield " </td> "; } // line 234 yield " "; } // line 235 yield " <td class=\"tool\"> <a class=\"server_databases\" data=\""; // line 238 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 238), "html", null, true); yield "\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/server/privileges", ["db" => CoreExtension::getAttribute($this->env, $this->source, // line 239 $context["database"], "name", [], "any", false, false, false, 239), "checkprivsdb" => CoreExtension::getAttribute($this->env, $this->source, // line 240 $context["database"], "name", [], "any", false, false, false, 240)]); // line 241 yield "\" title=\""; // line 242 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf(_gettext("Check privileges for database \"%s\"."), CoreExtension::getAttribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 242)), "html", null, true); yield "\"> "; // line 243 yield PhpMyAdmin\Html\Generator::getIcon("s_rights", _gettext("Check privileges")); yield " </a> </td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['database'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 248 yield " </tbody> <tfoot> <tr> <th colspan=\""; // line 252 yield ((($context["is_drop_allowed"] ?? null)) ? ("3") : ("2")); yield "\"> "; yield _gettext("Total:"); // line 254 yield " <span id=\"filter-rows-count\">"; // line 255 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["database_count"] ?? null), "html", null, true); // line 256 yield "</span> </th> "; // line 259 if (($context["has_statistics"] ?? null)) { // line 260 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["total_statistics"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["statistic"]) { // line 261 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "format", [], "any", false, false, false, 261) === "byte")) { // line 262 yield " "; $context["value"] = PhpMyAdmin\Util::formatByteDown(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 262), 3, 1); // line 263 yield " <th class=\"value\"> <data value=\""; // line 264 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 264), "html", null, true); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 264), "html", null, true); yield "\"> "; // line 265 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_2 = ($context["value"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[0] ?? null) : null), "html", null, true); yield " </data> </th> <th class=\"unit\">"; // line 268 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_3 = ($context["value"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[1] ?? null) : null), "html", null, true); yield "</th> "; } else { // line 270 yield " <th class=\"value\"> <data value=\""; // line 271 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 271), "html", null, true); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 271), "html", null, true); yield "\"> "; // line 272 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(PhpMyAdmin\Util::formatNumber(CoreExtension::getAttribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 272), 0), "html", null, true); yield " </data> </th> "; } // line 276 yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['statistic'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 277 yield " "; } // line 278 yield " "; // line 279 if (($context["has_primary_replication"] ?? null)) { // line 280 yield " <th></th> "; } // line 282 yield " "; // line 283 if (($context["has_replica_replication"] ?? null)) { // line 284 yield " <th></th> "; } // line 286 yield " <th></th> </tr> </tfoot> </table> </div> </form> "; // line 294 if ( !($context["has_statistics"] ?? null)) { // line 295 yield " <div class=\"card\"> <div class=\"card-body\"> <div class=\"alert alert-info\" role=\"alert\"> "; // line 298 yield PhpMyAdmin\Html\Generator::getIcon("s_notice", _gettext("Note: Enabling the database statistics here might cause heavy traffic between the web server and the MySQL server.")); yield " </div> <a class=\"card-link\" href=\""; // line 300 yield PhpMyAdmin\Url::getFromRoute("/server/databases"); yield "\" data-post=\""; yield PhpMyAdmin\Url::getCommon(["statistics" => "1"], "", false); yield "\" title=\""; yield _gettext("Enable statistics"); yield "\"> "; yield _gettext("Enable statistics"); // line 302 yield " </a> </div> </div> "; } // line 306 yield " "; } else { // line 307 yield " <div class=\"alert alert-primary my-3\" role=\"alert\"> "; // line 308 yield PhpMyAdmin\Html\Generator::getIcon("s_notice", _gettext("No databases")); yield " </div> "; } // line 311 yield "</div> "; // line 313 if (($context["is_drop_allowed"] ?? null)) { // line 314 yield " <div class=\"modal fade\" id=\"dropDatabaseModal\" tabindex=\"-1\" aria-labelledby=\"dropDatabaseModalLabel\" aria-hidden=\"true\"> <div class=\"modal-dialog modal-dialog-scrollable\"> <div class=\"modal-content\"> <div class=\"modal-header\"> <h5 class=\"modal-title\" id=\"dropDatabaseModalLabel\">"; yield _gettext("Confirm"); // line 318 yield "</h5> <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\""; yield _gettext("Cancel"); // line 319 yield "\"></button> </div> <div class=\"modal-body\"></div> <div class=\"modal-footer\"> <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">"; yield _gettext("Cancel"); // line 323 yield "</button> <button type=\"button\" class=\"btn btn-danger\" id=\"dropDatabaseModalDropButton\">"; yield _gettext("Drop"); // line 324 yield "</button> </div> </div> </div> </div> "; } return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "server/databases/index.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 793 => 324, 789 => 323, 782 => 319, 778 => 318, 771 => 314, 769 => 313, 765 => 311, 759 => 308, 756 => 307, 753 => 306, 747 => 302, 738 => 300, 733 => 298, 728 => 295, 726 => 294, 716 => 286, 712 => 284, 710 => 283, 707 => 282, 703 => 280, 701 => 279, 698 => 278, 695 => 277, 689 => 276, 682 => 272, 676 => 271, 673 => 270, 668 => 268, 662 => 265, 656 => 264, 653 => 263, 650 => 262, 647 => 261, 642 => 260, 640 => 259, 635 => 256, 633 => 255, 631 => 254, 626 => 252, 620 => 248, 609 => 243, 605 => 242, 603 => 241, 601 => 240, 600 => 239, 597 => 238, 593 => 235, 590 => 234, 584 => 231, 581 => 230, 575 => 227, 572 => 226, 569 => 225, 567 => 224, 564 => 223, 561 => 222, 555 => 219, 552 => 218, 546 => 215, 543 => 214, 540 => 213, 538 => 212, 535 => 211, 532 => 210, 526 => 209, 519 => 205, 513 => 204, 510 => 203, 505 => 201, 499 => 198, 493 => 197, 490 => 196, 487 => 195, 484 => 194, 479 => 193, 477 => 192, 470 => 188, 466 => 187, 458 => 182, 454 => 181, 451 => 180, 447 => 178, 441 => 175, 438 => 174, 435 => 173, 432 => 171, 430 => 170, 423 => 169, 419 => 168, 412 => 163, 408 => 162, 402 => 160, 400 => 159, 397 => 158, 391 => 156, 389 => 155, 386 => 154, 383 => 153, 375 => 150, 372 => 149, 366 => 147, 360 => 145, 357 => 144, 355 => 143, 351 => 142, 348 => 141, 346 => 140, 345 => 139, 344 => 138, 343 => 137, 338 => 136, 333 => 135, 331 => 134, 326 => 131, 323 => 130, 317 => 128, 311 => 126, 308 => 125, 305 => 124, 301 => 122, 299 => 121, 298 => 120, 297 => 118, 291 => 114, 288 => 113, 282 => 111, 276 => 109, 273 => 108, 270 => 107, 266 => 105, 264 => 104, 263 => 103, 262 => 101, 259 => 100, 255 => 98, 253 => 97, 245 => 92, 241 => 91, 237 => 89, 235 => 88, 234 => 85, 233 => 84, 232 => 83, 231 => 82, 222 => 77, 217 => 76, 212 => 73, 204 => 68, 201 => 67, 195 => 64, 187 => 59, 185 => 58, 182 => 57, 180 => 56, 177 => 55, 172 => 52, 166 => 50, 160 => 46, 155 => 44, 150 => 41, 143 => 39, 136 => 37, 134 => 36, 126 => 35, 122 => 34, 115 => 33, 111 => 32, 107 => 30, 103 => 29, 99 => 28, 97 => 27, 90 => 24, 86 => 23, 82 => 20, 78 => 18, 76 => 17, 71 => 15, 66 => 14, 64 => 13, 58 => 10, 54 => 9, 50 => 7, 48 => 6, 42 => 3, 38 => 1,); } public function getSourceContext() { return new Source("", "server/databases/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/server/databases/index.twig"); } } twig/8c/8cba8683ff1508a994fc2083adad03fd.php000064400000007051151677324010013276 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\CoreExtension; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* server/sub_page_header.twig */ class __TwigTemplate_91701c7e4695ba0ced19a43fb78d4486 extends Template { private $source; private $macros = []; public function __construct(Environment $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["header"] = ["privileges" => ["image" => "b_usrlist", "text" => _gettext("Privileges")]]; // line 8 yield "<h2> "; // line 9 if (((array_key_exists("is_image", $context)) ? (Twig\Extension\CoreExtension::default(($context["is_image"] ?? null), true)) : (true))) { // line 10 yield " "; yield PhpMyAdmin\Html\Generator::getImage((($__internal_compile_0 = (($__internal_compile_1 = ($context["header"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[($context["type"] ?? null)] ?? null) : null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["image"] ?? null) : null)); yield " "; } else { // line 12 yield " "; yield PhpMyAdmin\Html\Generator::getIcon((($__internal_compile_2 = (($__internal_compile_3 = ($context["header"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[($context["type"] ?? null)] ?? null) : null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["image"] ?? null) : null)); yield " "; } // line 14 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_4 = (($__internal_compile_5 = ($context["header"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[($context["type"] ?? null)] ?? null) : null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["text"] ?? null) : null), "html", null, true); yield " "; // line 15 yield ((array_key_exists("link", $context)) ? (PhpMyAdmin\Html\MySQLDocumentation::show(($context["link"] ?? null))) : ("")); yield " </h2> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "server/sub_page_header.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 62 => 15, 57 => 14, 51 => 12, 45 => 10, 43 => 9, 40 => 8, 38 => 2,); } public function getSourceContext() { return new Source("", "server/sub_page_header.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/server/sub_page_header.twig"); } } twig/58/58b7e345246f92fe885b4b542a1979af.php000064400000003553151677324010012747 0ustar00<?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/b7/b7c2c4726896fb711b473ebc30b39de2.php000064400000023045151677324010013132 0ustar00<?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/3f/3f0e7a48ee45098fc1dd0fa7a72e6831.php000064400000031212151677324010013212 0ustar00<?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/ef/ef603e4c5c0ac34540a9f6b8556bcec3.php000064400000020051151677324010013340 0ustar00<?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/63/63d2dec2944983c8c63037c6bf95898f.php000064400000005561151677324010012754 0ustar00<?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/24/240a4f6a2afd7c7a35b9e09c00d22ef9.php000064400000011377151677324010013201 0ustar00<?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/7c/7c1f8191a228059f386b0e6b668ce2eb.php000064400000003615151677324010013064 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\CoreExtension; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/page_selector.twig */ class __TwigTemplate_84d8a01530807e2441edd9169adc4fa9 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 yield "<td> <form action=\""; // line 2 yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" method=\"post\"> "; // line 3 yield PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null)); yield " "; // line 4 yield ($context["page_selector"] ?? null); yield " </form> </td> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "display/results/page_selector.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 49 => 4, 45 => 3, 41 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "display/results/page_selector.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/page_selector.twig"); } } twig/91/91da1343c38f9cd7b423467eebba5ab0.php000064400000006325151677324010013203 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\CoreExtension; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/table_navigation_button.twig */ class __TwigTemplate_815323d6853681d46cc8a1877d086f3f extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 yield "<td> <form action=\""; // line 2 yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" method=\"post\" "; yield ($context["onsubmit"] ?? null); yield "> "; // line 3 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); yield " <input type=\"hidden\" name=\"sql_query\" value=\""; // line 4 yield ($context["sql_query"] ?? null); yield "\"> <input type=\"hidden\" name=\"pos\" value=\""; // line 5 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["pos"] ?? null), "html", null, true); yield "\"> <input type=\"hidden\" name=\"is_browse_distinct\" value=\""; // line 6 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["is_browse_distinct"] ?? null), "html", null, true); yield "\"> <input type=\"hidden\" name=\"goto\" value=\""; // line 7 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["goto"] ?? null), "html", null, true); yield "\"> "; // line 8 yield ($context["input_for_real_end"] ?? null); yield " <input type=\"submit\" name=\"navig\" class=\"btn btn-secondary ajax\" value=\""; // line 9 yield ($context["caption_output"] ?? null); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["title"] ?? null), "html", null, true); yield "\"> </form> </td> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "display/results/table_navigation_button.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 71 => 9, 67 => 8, 63 => 7, 59 => 6, 55 => 5, 51 => 4, 47 => 3, 41 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "display/results/table_navigation_button.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/table_navigation_button.twig"); } } twig/1f/1febb38fbbf58539332727377e0b5a98.php000064400000011123151677324010013060 0ustar00<?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/28/2803d432facd9ba783d536c685158550.php000064400000035757151677324010012654 0ustar00<?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/f8/f83efe7a9b9636b9079263e8f4819975.php000064400000004641151677324010012776 0ustar00<?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/79/798bdc3f1421cd2623fe57a72fa802fb.php000064400000121744151677324010013144 0ustar00<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\CoreExtension; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* display/results/table.twig */ class __TwigTemplate_436a0cef0aa0e4daf06dc5254b2d086c extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 $context["navigation_html"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) { // line 2 yield " "; if ( !Twig\Extension\CoreExtension::testEmpty(($context["navigation"] ?? null))) { // line 3 yield " <table class=\"navigation d-print-none\"> <tr> <td class=\"navigation_separator\"></td> "; // line 7 yield CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "move_backward_buttons", [], "any", false, false, false, 7); yield " "; // line 8 yield CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "page_selector", [], "any", false, false, false, 8); yield " "; // line 9 yield CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "move_forward_buttons", [], "any", false, false, false, 9); yield " "; // line 11 if ((CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "number_total_page", [], "any", false, false, false, 11) != 1)) { // line 12 yield " <td><div class=\"navigation_separator\">|</div></td> "; } // line 14 yield " "; // line 15 if (CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "has_show_all", [], "any", false, false, false, 15)) { // line 16 yield " <td> <form action=\""; // line 17 yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" method=\"post\"> "; // line 18 yield PhpMyAdmin\Url::getHiddenFields(Twig\Extension\CoreExtension::merge(CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "hidden_fields", [], "any", false, false, false, 18), ["session_max_rows" => CoreExtension::getAttribute($this->env, $this->source, // line 19 ($context["navigation"] ?? null), "session_max_rows", [], "any", false, false, false, 19), "pos" => "0"])); // line 21 yield " <input type=\"checkbox\" name=\"navig\" id=\"showAll_"; // line 22 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\" class=\"showAllRows\" value=\"all\""; // line 23 yield ((CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "is_showing_all", [], "any", false, false, false, 23)) ? (" checked") : ("")); yield "> <label for=\"showAll_"; // line 24 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\">"; yield _gettext("Show all"); yield "</label> </form> </td> <td><div class=\"navigation_separator\">|</div></td> "; } // line 29 yield " <td> <div class=\"save_edited hide\"> <input class=\"btn btn-link\" type=\"submit\" value=\""; yield _gettext("Save edited data"); // line 32 yield "\"> <div class=\"navigation_separator\">|</div> </div> </td> <td> <div class=\"restore_column hide\"> <input class=\"btn btn-link\" type=\"submit\" value=\""; yield _gettext("Restore column order"); // line 38 yield "\"> <div class=\"navigation_separator\">|</div> </div> </td> <td class=\"navigation_goto\"> <form action=\""; // line 43 yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" method=\"post\" class=\"maxRowsForm\"> "; // line 44 yield PhpMyAdmin\Url::getHiddenFields(Twig\Extension\CoreExtension::merge(CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "hidden_fields", [], "any", false, false, false, 44), ["pos" => CoreExtension::getAttribute($this->env, $this->source, // line 45 ($context["navigation"] ?? null), "pos", [], "any", false, false, false, 45), "unlim_num_rows" => // line 46 ($context["unlim_num_rows"] ?? null)])); // line 47 yield " <label for=\"sessionMaxRowsSelect\">"; yield _gettext("Number of rows:"); // line 49 yield "</label> <select class=\"autosubmit\" name=\"session_max_rows\" id=\"sessionMaxRowsSelect\"> "; // line 51 $context["rows_options"] = [25, 50, 100, 250, 500]; // line 52 yield " "; if (CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "is_showing_all", [], "any", false, false, false, 52)) { // line 53 yield " <option value=\"\" disabled selected>"; yield _gettext("All"); yield "</option> "; } elseif (!CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, // line 54 ($context["navigation"] ?? null), "max_rows", [], "any", false, false, false, 54), ($context["rows_options"] ?? null))) { // line 55 yield " "; $context["rows_options"] = Twig\Extension\CoreExtension::sort($this->env, Twig\Extension\CoreExtension::merge(($context["rows_options"] ?? null), [CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "max_rows", [], "any", false, false, false, 55)]), function ($__a__, $__b__) use ($context, $macros) { $context["a"] = $__a__; $context["b"] = $__b__; return (($context["a"] ?? null) <=> ($context["b"] ?? null)); }); // line 56 yield " "; } // line 57 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["rows_options"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 58 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["option"], "html", null, true); yield "\""; yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "max_rows", [], "any", false, false, false, 58) == $context["option"])) ? (" selected") : ("")); yield ">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["option"], "html", null, true); yield "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 60 yield " </select> </form> </td> <td class=\"navigation_separator\"></td> <td class=\"largescreenonly\"> <span>"; yield _gettext("Filter rows"); // line 65 yield ":</span> <input type=\"text\" class=\"filter_rows\" placeholder=\""; yield _gettext("Search this table"); // line 67 yield "\" data-for=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\"> </td> <td class=\"largescreenonly\"> "; // line 70 if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "sort_by_key", [], "any", false, false, false, 70))) { // line 71 yield " <form action=\""; yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" method=\"post\" class=\"d-print-none\"> "; // line 72 yield PhpMyAdmin\Url::getHiddenFields(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "sort_by_key", [], "any", false, false, false, 72), "hidden_fields", [], "any", false, false, false, 72)); yield " "; yield _gettext("Sort by key:"); // line 74 yield " <select name=\"sql_query\" class=\"autosubmit\"> "; // line 75 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["navigation"] ?? null), "sort_by_key", [], "any", false, false, false, 75), "options", [], "any", false, false, false, 75)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 76 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 76), "html", null, true); yield "\""; yield ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "is_selected", [], "any", false, false, false, 76)) ? (" selected") : ("")); yield ">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["option"], "content", [], "any", false, false, false, 76), "html", null, true); yield "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 78 yield " </select> </form> "; } // line 81 yield " </td> <td class=\"navigation_separator\"></td> </tr> </table> "; } return; yield ''; })())) ? '' : new Markup($tmp, $this->env->getCharset()); // line 87 yield " "; // line 88 yield ($context["sql_query_message"] ?? null); yield " "; // line 90 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["navigation_html"] ?? null), "html", null, true); yield " <input class=\"save_cells_at_once\" type=\"hidden\" value=\""; // line 92 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["save_cells_at_once"] ?? null), "html", null, true); yield "\"> <div class=\"common_hidden_inputs\"> "; // line 94 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); yield " </div> "; // line 97 if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 97))) { // line 98 yield " "; if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 98), "order", [], "any", false, false, false, 98)) { // line 99 yield " <input class=\"col_order\" type=\"hidden\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::join(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 99), "order", [], "any", false, false, false, 99), ","), "html", null, true); yield "\"> "; } // line 101 yield " "; if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 101), "visibility", [], "any", false, false, false, 101)) { // line 102 yield " <input class=\"col_visib\" type=\"hidden\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::join(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 102), "visibility", [], "any", false, false, false, 102), ","), "html", null, true); yield "\"> "; } // line 104 yield " "; if ( !CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 104), "is_view", [], "any", false, false, false, 104)) { // line 105 yield " <input class=\"table_create_time\" type=\"hidden\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 105), "table_create_time", [], "any", false, false, false, 105), "html", null, true); yield "\"> "; } } // line 108 yield " "; // line 109 if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 109))) { // line 110 yield " <form method=\"post\" action=\""; yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\" name=\"displayOptionsForm\" class=\"ajax d-print-none\"> "; // line 111 yield PhpMyAdmin\Url::getHiddenInputs(["db" => // line 112 ($context["db"] ?? null), "table" => // line 113 ($context["table"] ?? null), "sql_query" => // line 114 ($context["sql_query"] ?? null), "goto" => // line 115 ($context["goto"] ?? null), "display_options_form" => 1]); // line 117 yield " "; // line 119 if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 120 yield " <div class=\"mb-3\"> <button class=\"btn btn-sm btn-secondary\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#extraOptions\" aria-expanded=\""; // line 121 yield (((($context["default_sliders_state"] ?? null) == "open")) ? ("true") : ("false")); yield "\" aria-controls=\"extraOptions\"> "; yield _gettext("Extra options"); // line 123 yield " </button> </div> <div class=\"collapse mb-3"; // line 125 yield (((($context["default_sliders_state"] ?? null) == "open")) ? (" show") : ("")); yield "\" id=\"extraOptions\"> "; } // line 127 yield " <fieldset class=\"pma-fieldset\"> <div class=\"formelement\"> <div> <input type=\"radio\" name=\"pftext\" id=\"partialFulltextRadioP"; // line 131 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\" value=\"P\""; yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 131), "pftext", [], "any", false, false, false, 131) == "P")) ? (" checked") : ("")); yield "> <label for=\"partialFulltextRadioP"; // line 132 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\">"; yield _gettext("Partial texts"); yield "</label> </div> <div> <input type=\"radio\" name=\"pftext\" id=\"partialFulltextRadioF"; // line 135 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\" value=\"F\""; yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 135), "pftext", [], "any", false, false, false, 135) == "F")) ? (" checked") : ("")); yield "> <label for=\"partialFulltextRadioF"; // line 136 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\">"; yield _gettext("Full texts"); yield "</label> </div> </div> "; // line 140 if ((($context["relwork"] ?? null) && ($context["displaywork"] ?? null))) { // line 141 yield " <div class=\"formelement\"> <div> <input type=\"radio\" name=\"relational_display\" id=\"relationalDisplayRadioK"; // line 143 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\" value=\"K\""; yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 143), "relational_display", [], "any", false, false, false, 143) == "K")) ? (" checked") : ("")); yield "> <label for=\"relationalDisplayRadioK"; // line 144 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\">"; yield _gettext("Relational key"); yield "</label> </div> <div> <input type=\"radio\" name=\"relational_display\" id=\"relationalDisplayRadioD"; // line 147 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\" value=\"D\""; yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 147), "relational_display", [], "any", false, false, false, 147) == "D")) ? (" checked") : ("")); yield "> <label for=\"relationalDisplayRadioD"; // line 148 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\">"; yield _gettext("Display column for relationships"); yield "</label> </div> </div> "; } // line 152 yield " <div class=\"formelement\"> <input type=\"checkbox\" name=\"display_binary\" id=\"display_binary_"; // line 154 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\""; // line 155 yield (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 155), "display_binary", [], "any", false, false, false, 155))) ? (" checked") : ("")); yield "> <label for=\"display_binary_"; // line 156 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\">"; yield _gettext("Show binary contents"); yield "</label> <input type=\"checkbox\" name=\"display_blob\" id=\"display_blob_"; // line 158 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\""; // line 159 yield (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 159), "display_blob", [], "any", false, false, false, 159))) ? (" checked") : ("")); yield "> <label for=\"display_blob_"; // line 160 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\">"; yield _gettext("Show BLOB contents"); yield "</label> </div> "; // line 167 yield " <div class=\"formelement\"> <input type=\"checkbox\" name=\"hide_transformation\" id=\"hide_transformation_"; // line 168 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\""; // line 169 yield (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 169), "hide_transformation", [], "any", false, false, false, 169))) ? (" checked") : ("")); yield "> <label for=\"hide_transformation_"; // line 170 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\">"; yield _gettext("Hide browser transformation"); yield "</label> </div> <div class=\"formelement\"> "; // line 174 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 174), "possible_as_geometry", [], "any", false, false, false, 174)) { // line 175 yield " <div> <input type=\"radio\" name=\"geoOption\" id=\"geoOptionRadioGeom"; // line 176 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\" value=\"GEOM\""; yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 176), "geo_option", [], "any", false, false, false, 176) == "GEOM")) ? (" checked") : ("")); yield "> <label for=\"geoOptionRadioGeom"; // line 177 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\">"; yield _gettext("Geometry"); yield "</label> </div> "; } // line 180 yield " <div> <input type=\"radio\" name=\"geoOption\" id=\"geoOptionRadioWkt"; // line 181 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\" value=\"WKT\""; yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 181), "geo_option", [], "any", false, false, false, 181) == "WKT")) ? (" checked") : ("")); yield "> <label for=\"geoOptionRadioWkt"; // line 182 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\">"; yield _gettext("Well Known Text"); yield "</label> </div> <div> <input type=\"radio\" name=\"geoOption\" id=\"geoOptionRadioWkb"; // line 185 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\" value=\"WKB\""; yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 185), "geo_option", [], "any", false, false, false, 185) == "WKB")) ? (" checked") : ("")); yield "> <label for=\"geoOptionRadioWkb"; // line 186 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\">"; yield _gettext("Well Known Binary"); yield "</label> </div> </div> <div class=\"clearfloat\"></div> </fieldset> <fieldset class=\"pma-fieldset tblFooters\"> <input class=\"btn btn-primary\" type=\"submit\" value=\""; yield _gettext("Go"); // line 193 yield "\"> </fieldset> "; // line 195 if ((($context["default_sliders_state"] ?? null) != "disabled")) { // line 196 yield " </div> "; } // line 198 yield " </form> "; } // line 200 yield " "; // line 201 if (CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "has_bulk_actions_form", [], "any", false, false, false, 201)) { // line 202 yield " <form method=\"post\" name=\"resultsForm\" id=\"resultsForm_"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\" class=\"ajax\"> "; // line 203 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null), 1); yield " <input type=\"hidden\" name=\"goto\" value=\""; // line 204 yield PhpMyAdmin\Url::getFromRoute("/sql"); yield "\"> "; } // line 206 yield " <div class=\"table-responsive-md\"> <table class=\"table table-striped table-hover table-sm table_results data ajax w-auto\" data-uniqueId=\""; // line 208 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "\"> "; // line 210 yield CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "button", [], "any", false, false, false, 210); yield " "; // line 211 yield CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "table_headers_for_columns", [], "any", false, false, false, 211); yield " "; // line 212 yield CoreExtension::getAttribute($this->env, $this->source, ($context["headers"] ?? null), "column_at_right_side", [], "any", false, false, false, 212); yield " </tr> </thead> <tbody> "; // line 218 yield ($context["body"] ?? null); yield " </tbody> </table> </div> "; // line 223 if ( !Twig\Extension\CoreExtension::testEmpty(($context["bulk_links"] ?? null))) { // line 224 yield " <div class=\"d-print-none\"> <img class=\"selectallarrow\" src=\""; // line 225 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath((("arrow_" . ($context["text_dir"] ?? null)) . ".png")), "html", null, true); yield "\" width=\"38\" height=\"22\" alt=\""; yield _gettext("With selected:"); yield "\"> <input type=\"checkbox\" id=\"resultsForm_"; // line 226 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "_checkall\" class=\"checkall_box\" title=\""; yield _gettext("Check all"); yield "\"> <label for=\"resultsForm_"; // line 227 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["unique_id"] ?? null), "html", null, true); yield "_checkall\">"; yield _gettext("Check all"); yield "</label> <em class=\"with-selected\">"; yield _gettext("With selected:"); // line 228 yield "</em> <button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"edit\" title=\""; yield _gettext("Edit"); // line 230 yield "\"> "; // line 231 yield PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit")); yield " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"copy\" title=\""; yield _gettext("Copy"); // line 234 yield "\"> "; // line 235 yield PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Copy")); yield " </button> <button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"delete\" title=\""; yield _gettext("Delete"); // line 238 yield "\"> "; // line 239 yield PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Delete")); yield " </button> "; // line 242 if (CoreExtension::getAttribute($this->env, $this->source, ($context["bulk_links"] ?? null), "has_export_button", [], "any", false, false, false, 242)) { // line 243 yield " <button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"export\" title=\""; yield _gettext("Export"); yield "\"> "; // line 244 yield PhpMyAdmin\Html\Generator::getIcon("b_tblexport", _gettext("Export")); yield " </button> "; } // line 247 yield " </div> <input type=\"hidden\" name=\"clause_is_unique\" value=\""; // line 249 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["bulk_links"] ?? null), "clause_is_unique", [], "any", false, false, false, 249), "html", null, true); yield "\"> <input type=\"hidden\" name=\"sql_query\" value=\""; // line 250 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["sql_query"] ?? null), "html", null, true); yield "\"> </form> "; } // line 253 yield " "; // line 254 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["navigation_html"] ?? null), "html", null, true); yield " "; // line 256 if ( !Twig\Extension\CoreExtension::testEmpty(($context["operations"] ?? null))) { // line 257 yield " <fieldset class=\"pma-fieldset d-print-none\"> <legend>"; yield _gettext("Query results operations"); // line 258 yield "</legend> "; // line 260 if (CoreExtension::getAttribute($this->env, $this->source, ($context["operations"] ?? null), "has_print_link", [], "any", false, false, false, 260)) { // line 261 yield " <button type=\"button\" class=\"btn btn-link jsPrintButton\">"; yield PhpMyAdmin\Html\Generator::getIcon("b_print", _gettext("Print"), true); yield "</button> "; // line 263 yield PhpMyAdmin\Html\Generator::linkOrButton("#", null, PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Copy to clipboard"), true), ["id" => "copyToClipBoard", "class" => "btn"]); // line 268 yield " "; } // line 270 yield " "; // line 271 if ( !CoreExtension::getAttribute($this->env, $this->source, ($context["operations"] ?? null), "has_procedure", [], "any", false, false, false, 271)) { // line 272 yield " "; if (CoreExtension::getAttribute($this->env, $this->source, ($context["operations"] ?? null), "has_export_link", [], "any", false, false, false, 272)) { // line 273 yield " "; yield PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/table/export"), CoreExtension::getAttribute($this->env, $this->source, // line 275 ($context["operations"] ?? null), "url_params", [], "any", false, false, false, 275), PhpMyAdmin\Html\Generator::getIcon("b_tblexport", _gettext("Export"), true), ["class" => "btn"]); // line 278 yield " "; // line 280 yield PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/table/chart"), CoreExtension::getAttribute($this->env, $this->source, // line 282 ($context["operations"] ?? null), "url_params", [], "any", false, false, false, 282), PhpMyAdmin\Html\Generator::getIcon("b_chart", _gettext("Display chart"), true), ["class" => "btn"]); // line 285 yield " "; // line 287 if (CoreExtension::getAttribute($this->env, $this->source, ($context["operations"] ?? null), "has_geometry", [], "any", false, false, false, 287)) { // line 288 yield " "; yield PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/table/gis-visualization"), CoreExtension::getAttribute($this->env, $this->source, // line 290 ($context["operations"] ?? null), "url_params", [], "any", false, false, false, 290), PhpMyAdmin\Html\Generator::getIcon("b_globe", _gettext("Visualize GIS data"), true), ["class" => "btn"]); // line 293 yield " "; } // line 295 yield " "; } // line 296 yield " <span> "; // line 298 yield PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/view/create"), ["db" => // line 300 ($context["db"] ?? null), "table" => ($context["table"] ?? null), "sql_query" => ($context["sql_query"] ?? null), "printview" => true], PhpMyAdmin\Html\Generator::getIcon("b_view_add", _gettext("Create view"), true), ["class" => "btn create_view ajax"]); // line 303 yield " </span> "; } // line 306 yield " </fieldset> "; } // line 308 if (( !Twig\Extension\CoreExtension::testEmpty(($context["operations"] ?? null)) && !CoreExtension::getAttribute($this->env, $this->source, ($context["operations"] ?? null), "has_procedure", [], "any", false, false, false, 308))) { // line 309 yield Twig\Extension\CoreExtension::include($this->env, $context, "modals/create_view.twig"); yield " "; } return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "display/results/table.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 751 => 309, 749 => 308, 745 => 306, 740 => 303, 738 => 300, 737 => 298, 733 => 296, 730 => 295, 726 => 293, 724 => 290, 722 => 288, 720 => 287, 716 => 285, 714 => 282, 713 => 280, 709 => 278, 707 => 275, 705 => 273, 702 => 272, 700 => 271, 697 => 270, 693 => 268, 691 => 263, 685 => 261, 683 => 260, 679 => 258, 675 => 257, 673 => 256, 668 => 254, 665 => 253, 659 => 250, 655 => 249, 651 => 247, 645 => 244, 640 => 243, 638 => 242, 632 => 239, 629 => 238, 622 => 235, 619 => 234, 612 => 231, 609 => 230, 604 => 228, 597 => 227, 591 => 226, 585 => 225, 582 => 224, 580 => 223, 572 => 218, 563 => 212, 559 => 211, 555 => 210, 550 => 208, 546 => 206, 541 => 204, 537 => 203, 532 => 202, 530 => 201, 527 => 200, 523 => 198, 519 => 196, 517 => 195, 513 => 193, 500 => 186, 494 => 185, 486 => 182, 480 => 181, 477 => 180, 469 => 177, 463 => 176, 460 => 175, 458 => 174, 449 => 170, 445 => 169, 442 => 168, 439 => 167, 431 => 160, 427 => 159, 424 => 158, 417 => 156, 413 => 155, 410 => 154, 406 => 152, 397 => 148, 391 => 147, 383 => 144, 377 => 143, 373 => 141, 371 => 140, 362 => 136, 356 => 135, 348 => 132, 342 => 131, 336 => 127, 331 => 125, 327 => 123, 322 => 121, 319 => 120, 317 => 119, 313 => 117, 311 => 115, 310 => 114, 309 => 113, 308 => 112, 307 => 111, 302 => 110, 300 => 109, 297 => 108, 290 => 105, 287 => 104, 281 => 102, 278 => 101, 272 => 99, 269 => 98, 267 => 97, 261 => 94, 256 => 92, 251 => 90, 246 => 88, 243 => 87, 234 => 81, 229 => 78, 216 => 76, 212 => 75, 209 => 74, 204 => 72, 199 => 71, 197 => 70, 190 => 67, 186 => 65, 178 => 60, 165 => 58, 160 => 57, 157 => 56, 154 => 55, 152 => 54, 147 => 53, 144 => 52, 142 => 51, 138 => 49, 133 => 47, 131 => 46, 130 => 45, 129 => 44, 125 => 43, 118 => 38, 109 => 32, 103 => 29, 93 => 24, 89 => 23, 86 => 22, 83 => 21, 81 => 19, 80 => 18, 76 => 17, 73 => 16, 71 => 15, 68 => 14, 64 => 12, 62 => 11, 57 => 9, 53 => 8, 49 => 7, 43 => 3, 40 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "display/results/table.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/display/results/table.twig"); } } twig/39/39798e2e9a72a6863b4294f832d4f456.php000064400000004227151677324010012614 0ustar00<?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/f4/f4ac9aa5ad4089a4d7575c0208c60713.php000064400000005311151677324010013037 0ustar00<?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/c9/c98ed2c3a66fd54c0073651bf6547e3d.php000064400000015217151677324010013145 0ustar00<?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/triggers/list.twig */ class __TwigTemplate_3ba7caaff696b4f3e2127fdd0875e628 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 yield "<div class=\"container-fluid my-3\"> <h2> "; // line 3 yield PhpMyAdmin\Html\Generator::getIcon("b_triggers", _gettext("Triggers")); yield " "; // line 4 yield PhpMyAdmin\Html\MySQLDocumentation::show("TRIGGERS"); yield " </h2> <div class=\"d-flex flex-wrap my-3\">"; // line 8 if ( !Twig\Extension\CoreExtension::testEmpty(($context["items"] ?? null))) { // line 9 yield " <div> <div class=\"input-group\"> <div class=\"input-group-text\"> <div class=\"form-check mb-0\"> <input class=\"form-check-input checkall_box\" type=\"checkbox\" value=\"\" id=\"checkAllCheckbox\" form=\"rteListForm\"> <label class=\"form-check-label\" for=\"checkAllCheckbox\">"; yield _gettext("Check all"); // line 14 yield "</label> </div> </div> <button class=\"btn btn-outline-secondary\" id=\"bulkActionExportButton\" type=\"submit\" name=\"submit_mult\" value=\"export\" form=\"rteListForm\" title=\""; yield _gettext("Export"); // line 17 yield "\"> "; // line 18 yield PhpMyAdmin\Html\Generator::getIcon("b_export", _gettext("Export")); yield " </button> <button class=\"btn btn-outline-secondary\" id=\"bulkActionDropButton\" type=\"submit\" name=\"submit_mult\" value=\"drop\" form=\"rteListForm\" title=\""; yield _gettext("Drop"); // line 20 yield "\"> "; // line 21 yield PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")); yield " </button> </div> </div>"; } // line 26 yield " <div"; // line 27 yield (( !Twig\Extension\CoreExtension::testEmpty(($context["items"] ?? null))) ? (" class=\"ms-auto\"") : ("")); yield "> <a class=\"ajax add_anchor btn btn-primary"; // line 28 yield (( !($context["has_privilege"] ?? null)) ? (" disabled") : ("")); yield "\" href=\""; yield PhpMyAdmin\Url::getFromRoute("/database/triggers", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "add_item" => true]); yield "\" role=\"button\""; yield (( !($context["has_privilege"] ?? null)) ? (" tabindex=\"-1\" aria-disabled=\"true\"") : ("")); yield "> "; // line 29 yield PhpMyAdmin\Html\Generator::getIcon("b_trigger_add", _gettext("Create new trigger")); yield " </a> </div> </div> <form id=\"rteListForm\" class=\"ajax\" action=\""; // line 34 yield PhpMyAdmin\Url::getFromRoute((( !Twig\Extension\CoreExtension::testEmpty(($context["table"] ?? null))) ? ("/table/triggers") : ("/database/triggers"))); yield "\"> "; // line 35 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); yield " <div id=\"nothing2display\""; // line 37 yield (( !Twig\Extension\CoreExtension::testEmpty(($context["items"] ?? null))) ? (" class=\"hide\"") : ("")); yield "> "; // line 38 yield $this->env->getFilter('notice')->getCallable()(_gettext("There are no triggers to display.")); yield " </div> <table id=\"triggersTable\" class=\"table table-striped table-hover"; // line 41 yield ((Twig\Extension\CoreExtension::testEmpty(($context["items"] ?? null))) ? (" hide") : ("")); yield " w-auto data\"> <thead> <tr> <th></th> <th>"; yield _gettext("Name"); // line 45 yield "</th> "; // line 46 if (Twig\Extension\CoreExtension::testEmpty(($context["table"] ?? null))) { // line 47 yield " <th>"; yield _gettext("Table"); yield "</th> "; } // line 49 yield " <th>"; yield _gettext("Time"); yield "</th> <th>"; yield _gettext("Event"); // line 50 yield "</th> <th colspan=\"3\"></th> </tr> </thead> <tbody> <tr class=\"hide\">"; // line 55 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(range(0, ((Twig\Extension\CoreExtension::testEmpty(($context["table"] ?? null))) ? (7) : (6)))); foreach ($context['_seq'] as $context["_key"] => $context["i"]) { yield "<td></td>"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; yield "</tr>"; // line 57 yield ($context["rows"] ?? null); yield " </tbody> </table> </form> </div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/triggers/list.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 171 => 57, 161 => 55, 154 => 50, 148 => 49, 142 => 47, 140 => 46, 137 => 45, 129 => 41, 123 => 38, 119 => 37, 114 => 35, 110 => 34, 102 => 29, 94 => 28, 90 => 27, 87 => 26, 80 => 21, 77 => 20, 71 => 18, 68 => 17, 62 => 14, 54 => 9, 52 => 8, 46 => 4, 42 => 3, 38 => 1,); } public function getSourceContext() { return new Source("", "database/triggers/list.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/triggers/list.twig"); } }
/home/emeraadmin/www/4d695/../Service/../node_modules/../4d695/pma_template_compiles_emeraadmin.tar