0006ee2a987cc6d51ec9c12ba1ed4a2300ac1a9286c873a653b985805e3630b6.php000064400000045565147212610200015766 0ustar00parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { // line 1 echo "
"; // line 4 echo _gettext("Partitions"); // line 5 echo " "; echo PhpMyAdmin\Util::showMySQLDocu("partitioning"); echo " "; // line 7 if (twig_test_empty(($context["partitions"] ?? null))) { // line 8 echo " "; echo call_user_func_array($this->env->getFunction('Message_notice')->getCallable(), [_gettext("No partitioning defined!")]); echo " "; } else { // line 10 echo "

"; // line 11 echo _gettext("Partitioned by:"); // line 12 echo " "; echo twig_escape_filter($this->env, ($context["partition_method"] ?? null), "html", null, true); echo "("; echo twig_escape_filter($this->env, ($context["partition_expression"] ?? null), "html", null, true); echo ")

"; // line 14 if (($context["has_sub_partitions"] ?? null)) { // line 15 echo "

"; // line 16 echo _gettext("Sub partitioned by:"); // line 17 echo " "; echo twig_escape_filter($this->env, ($context["sub_partition_method"] ?? null), "html", null, true); echo "("; echo twig_escape_filter($this->env, ($context["sub_partition_expression"] ?? null), "html", null, true); echo ")

"; } // line 20 echo " "; // line 25 if (($context["has_description"] ?? null)) { // line 26 echo " "; } // line 28 echo " "; // line 38 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["partitions"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["partition"]) { // line 39 echo " "; // line 40 if (($context["has_sub_partitions"] ?? null)) { // line 41 echo " "; } else { // line 44 echo " "; } // line 46 echo " "; // line 47 if (($context["has_description"] ?? null)) { // line 48 echo " "; } // line 57 echo " "; // line 77 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["action_icons"] ?? null)); foreach ($context['_seq'] as $context["action"] => $context["icon"]) { // line 78 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['action'], $context['icon'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 90 echo " "; // line 91 if (($context["has_sub_partitions"] ?? null)) { // line 92 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["partition"], "getSubPartitions", [], "method")); foreach ($context['_seq'] as $context["_key"] => $context["sub_partition"]) { // line 93 echo " "; // line 97 if (($context["has_description"] ?? null)) { // line 98 echo " "; } // line 100 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sub_partition'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 123 echo " "; } // line 124 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['partition'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 126 echo "
# "; // line 24 echo _gettext("Partition"); echo ""; echo _gettext("Expression"); echo ""; echo _gettext("Rows"); echo " "; // line 29 echo _gettext("Data length"); echo " "; // line 30 echo _gettext("Index length"); echo " "; // line 31 echo _gettext("Comment"); echo " "; // line 33 echo _gettext("Action"); // line 34 echo "
"; echo twig_escape_filter($this->env, $this->getAttribute($context["partition"], "getOrdinal", [], "method"), "html", null, true); echo " "; echo twig_escape_filter($this->env, $this->getAttribute($context["partition"], "getOrdinal", [], "method"), "html", null, true); echo ""; echo twig_escape_filter($this->env, $this->getAttribute($context["partition"], "getName", [], "method"), "html", null, true); echo " "; // line 50 echo twig_escape_filter($this->env, $this->getAttribute($context["partition"], "getExpression", [], "method"), "html", null, true); // line 51 echo ((($this->getAttribute($context["partition"], "getMethod", [], "method") == "LIST")) ? (" IN (") : (" < ")); // line 52 echo twig_escape_filter($this->env, $this->getAttribute($context["partition"], "getDescription", [], "method"), "html", null, true); // line 53 echo ((($this->getAttribute($context["partition"], "getMethod", [], "method") == "LIST")) ? (")") : ("")); // line 54 echo " "; echo twig_escape_filter($this->env, $this->getAttribute($context["partition"], "getRows", [], "method"), "html", null, true); echo " "; // line 59 $context["data_length"] = PhpMyAdmin\Util::formatByteDown($this->getAttribute( // line 60 $context["partition"], "getDataLength", [], "method"), 3, 1); // line 64 echo " "; echo twig_escape_filter($this->env, $this->getAttribute(($context["data_length"] ?? null), 0, [], "array"), "html", null, true); echo " "; // line 65 echo twig_escape_filter($this->env, $this->getAttribute(($context["data_length"] ?? null), 1, [], "array"), "html", null, true); echo " "; // line 68 $context["index_length"] = PhpMyAdmin\Util::formatByteDown($this->getAttribute( // line 69 $context["partition"], "getIndexLength", [], "method"), 3, 1); // line 73 echo " "; echo twig_escape_filter($this->env, $this->getAttribute(($context["index_length"] ?? null), 0, [], "array"), "html", null, true); echo " "; // line 74 echo twig_escape_filter($this->env, $this->getAttribute(($context["index_length"] ?? null), 1, [], "array"), "html", null, true); echo " "; // line 76 echo twig_escape_filter($this->env, $this->getAttribute($context["partition"], "getComment", [], "method"), "html", null, true); echo " env, ($context["url_query"] ?? null), "html", null, true); // line 80 echo "&partition_maintenance=1&sql_query="; // line 81 echo twig_escape_filter($this->env, twig_urlencode_filter(((((("ALTER TABLE " . PhpMyAdmin\Util::backquote(($context["table"] ?? null))) . " ") . $context["action"]) . " PARTITION ") . $this->getAttribute( // line 82 $context["partition"], "getName", [], "method"))), "html", null, true); echo "\" id=\"partition_action_"; // line 83 echo twig_escape_filter($this->env, $context["action"], "html", null, true); echo "\" name=\"partition_action_"; // line 84 echo twig_escape_filter($this->env, $context["action"], "html", null, true); echo "\" class=\"ajax\"> "; // line 86 echo $context["icon"]; echo "
"; // line 95 echo twig_escape_filter($this->env, $this->getAttribute($context["sub_partition"], "getOrdinal", [], "method"), "html", null, true); echo " "; // line 96 echo twig_escape_filter($this->env, $this->getAttribute($context["sub_partition"], "getName", [], "method"), "html", null, true); echo ""; echo twig_escape_filter($this->env, $this->getAttribute($context["sub_partition"], "getRows", [], "method"), "html", null, true); echo " "; // line 102 $context["data_length"] = PhpMyAdmin\Util::formatByteDown($this->getAttribute( // line 103 $context["sub_partition"], "getDataLength", [], "method"), 3, 1); // line 107 echo " "; echo twig_escape_filter($this->env, $this->getAttribute(($context["data_length"] ?? null), 0, [], "array"), "html", null, true); echo " "; // line 108 echo twig_escape_filter($this->env, $this->getAttribute(($context["data_length"] ?? null), 1, [], "array"), "html", null, true); echo " "; // line 111 $context["index_length"] = PhpMyAdmin\Util::formatByteDown($this->getAttribute( // line 112 $context["sub_partition"], "getIndexLength", [], "method"), 3, 1); // line 116 echo " "; echo twig_escape_filter($this->env, $this->getAttribute(($context["index_length"] ?? null), 0, [], "array"), "html", null, true); echo " "; // line 117 echo twig_escape_filter($this->env, $this->getAttribute(($context["index_length"] ?? null), 1, [], "array"), "html", null, true); echo " "; // line 119 echo twig_escape_filter($this->env, $this->getAttribute($context["sub_partition"], "getComment", [], "method"), "html", null, true); echo "
"; } // line 129 echo "

"; // line 132 echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); echo " "; // line 134 if (twig_test_empty(($context["partitions"] ?? null))) { // line 135 echo " "; } else { // line 137 echo " "; echo PhpMyAdmin\Util::linkOrButton("sql.php", ($context["remove_url_params"] ?? null), _gettext("Remove partitioning"), ["class" => "button ajax", "id" => "remove_partitioning"]); // line 140 echo " "; } // line 143 echo "
"; } public function getTemplateName() { return "table/structure/display_partitions.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 364 => 143, 359 => 141, 356 => 140, 353 => 137, 347 => 135, 345 => 134, 340 => 132, 335 => 129, 330 => 126, 323 => 124, 320 => 123, 311 => 120, 307 => 119, 302 => 117, 297 => 116, 295 => 112, 294 => 111, 288 => 108, 283 => 107, 281 => 103, 280 => 102, 274 => 100, 270 => 98, 268 => 97, 264 => 96, 260 => 95, 256 => 93, 251 => 92, 249 => 91, 246 => 90, 236 => 86, 231 => 84, 227 => 83, 223 => 82, 222 => 81, 220 => 80, 218 => 79, 215 => 78, 211 => 77, 207 => 76, 202 => 74, 197 => 73, 195 => 69, 194 => 68, 188 => 65, 183 => 64, 181 => 60, 180 => 59, 174 => 57, 169 => 54, 167 => 53, 165 => 52, 163 => 51, 161 => 50, 158 => 48, 156 => 47, 151 => 46, 145 => 44, 138 => 41, 136 => 40, 131 => 39, 127 => 38, 121 => 34, 119 => 33, 115 => 32, 111 => 31, 107 => 30, 103 => 29, 98 => 28, 92 => 26, 90 => 25, 86 => 24, 80 => 20, 71 => 17, 69 => 16, 66 => 15, 64 => 14, 56 => 12, 54 => 11, 51 => 10, 45 => 8, 43 => 7, 37 => 5, 35 => 4, 30 => 1,); } /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */ public function getSource() { @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED); return $this->getSourceContext()->getCode(); } public function getSourceContext() { return new Source("", "table/structure/display_partitions.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/structure/display_partitions.twig"); } }