<?php

/* columns_definitions/column_definitions_form.twig */
class __TwigTemplate_d88b30a9931e31e0df40e1e18d149597506b03b20a7f33f2958f88e393814440 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 1
        echo "<form method=\"post\" action=\"";
        echo twig_escape_filter($this->env, ($context["action"] ?? null), "html", null, true);
        echo "\" class=\"";
        // line 2
        echo (((($context["action"] ?? null) == "tbl_create.php")) ? ("create_table") : ("append_fields"));
        // line 3
        echo "_form ajax lock-page\">
    ";
        // line 4
        echo PhpMyAdmin\Url::getHiddenInputs(($context["form_params"] ?? null));
        echo "
    ";
        // line 6
        echo "    ";
        // line 7
        echo "    ";
        // line 8
        echo "    <input type=\"hidden\" name=\"primary_indexes\" value=\"";
        // line 9
        echo twig_escape_filter($this->env, (( !twig_test_empty(($context["primary_indexes"] ?? null))) ? (($context["primary_indexes"] ?? null)) : ("[]")), "html", null, true);
        echo "\">
    <input type=\"hidden\" name=\"unique_indexes\" value=\"";
        // line 11
        echo twig_escape_filter($this->env, (( !twig_test_empty(($context["unique_indexes"] ?? null))) ? (($context["unique_indexes"] ?? null)) : ("[]")), "html", null, true);
        echo "\">
    <input type=\"hidden\" name=\"indexes\" value=\"";
        // line 13
        echo twig_escape_filter($this->env, (( !twig_test_empty(($context["indexes"] ?? null))) ? (($context["indexes"] ?? null)) : ("[]")), "html", null, true);
        echo "\">
    <input type=\"hidden\" name=\"fulltext_indexes\" value=\"";
        // line 15
        echo twig_escape_filter($this->env, (( !twig_test_empty(($context["fulltext_indexes"] ?? null))) ? (($context["fulltext_indexes"] ?? null)) : ("[]")), "html", null, true);
        echo "\">
    <input type=\"hidden\" name=\"spatial_indexes\" value=\"";
        // line 17
        echo twig_escape_filter($this->env, (( !twig_test_empty(($context["spatial_indexes"] ?? null))) ? (($context["spatial_indexes"] ?? null)) : ("[]")), "html", null, true);
        echo "\">

    ";
        // line 19
        if ((($context["action"] ?? null) == "tbl_create.php")) {
            // line 20
            echo "        <div id=\"table_name_col_no_outer\">
            <table id=\"table_name_col_no\" class=\"tdblock\">
                <tr class=\"vmiddle floatleft\">
                    <td>";
            // line 23
            echo _gettext("Table name");
            echo ":
                    <input type=\"text\"
                        name=\"table\"
                        size=\"40\"
                        maxlength=\"64\"
                        value=\"";
            // line 28
            echo twig_escape_filter($this->env, (((isset($context["table"]) || array_key_exists("table", $context))) ? (($context["table"] ?? null)) : ("")), "html", null, true);
            echo "\"
                        class=\"textfield\" autofocus required />
                    </td>
                    <td>
                        ";
            // line 32
            echo _gettext("Add");
            // line 33
            echo "                        <input type=\"number\"
                            id=\"added_fields\"
                            name=\"added_fields\"
                            size=\"2\"
                            value=\"1\"
                            min=\"1\"
                            onfocus=\"this.select()\" />
                        ";
            // line 40
            echo _gettext("column(s)");
            // line 41
            echo "                        <input type=\"button\"
                            name=\"submit_num_fields\"
                            value=\"";
            // line 43
            echo _gettext("Go");
            echo "\" />
                    </td>
                </tr>
            </table>
        </div>
    ";
        }
        // line 49
        echo "    ";
        if (twig_test_iterable(($context["content_cells"] ?? null))) {
            // line 50
            echo "        ";
            $this->loadTemplate("columns_definitions/table_fields_definitions.twig", "columns_definitions/column_definitions_form.twig", 50)->display(["is_backup" =>             // line 51
($context["is_backup"] ?? null), "fields_meta" =>             // line 52
($context["fields_meta"] ?? null), "mimework" =>             // line 53
($context["mimework"] ?? null), "content_cells" =>             // line 54
($context["content_cells"] ?? null), "change_column" =>             // line 55
($context["change_column"] ?? null), "is_virtual_columns_supported" =>             // line 56
($context["is_virtual_columns_supported"] ?? null), "browse_mime" =>             // line 57
($context["browse_mime"] ?? null), "server_type" =>             // line 58
($context["server_type"] ?? null), "max_rows" =>             // line 59
($context["max_rows"] ?? null), "char_editing" =>             // line 60
($context["char_editing"] ?? null), "attribute_types" =>             // line 61
($context["attribute_types"] ?? null), "privs_available" =>             // line 62
($context["privs_available"] ?? null), "max_length" =>             // line 63
($context["max_length"] ?? null), "dbi" =>             // line 64
($context["dbi"] ?? null), "disable_is" =>             // line 65
($context["disable_is"] ?? null)]);
            // line 67
            echo "    ";
        }
        // line 68
        echo "    ";
        if ((($context["action"] ?? null) == "tbl_create.php")) {
            // line 69
            echo "        <div class=\"responsivetable\">
        <table>
            <tr class=\"vtop\">
                <th>";
            // line 72
            echo _gettext("Table comments:");
            echo "</th>
                <td width=\"25\">&nbsp;</td>
                <th>";
            // line 74
            echo _gettext("Collation:");
            echo "</th>
                <td width=\"25\">&nbsp;</td>
                <th>
                    ";
            // line 77
            echo _gettext("Storage Engine:");
            // line 78
            echo "                    ";
            echo PhpMyAdmin\Util::showMySQLDocu("Storage_engines");
            echo "
                </th>
                <td width=\"25\">&nbsp;</td>
                <th>
                    ";
            // line 82
            echo _gettext("Connection:");
            // line 83
            echo "                    ";
            echo PhpMyAdmin\Util::showMySQLDocu("federated-create-connection");
            echo "
                </th>
            </tr>
            <tr>
                <td>
                    <input type=\"text\"
                        name=\"comment\"
                        size=\"40\"
                        maxlength=\"60\"
                        value=\"";
            // line 92
            echo twig_escape_filter($this->env, (((isset($context["comment"]) || array_key_exists("comment", $context))) ? (($context["comment"] ?? null)) : ("")), "html", null, true);
            echo "\"
                        class=\"textfield\" />
                </td>
                <td width=\"25\">&nbsp;</td>
                <td>
                    ";
            // line 97
            echo PhpMyAdmin\Charsets::getCollationDropdownBox(            // line 98
($context["dbi"] ?? null),             // line 99
($context["disable_is"] ?? null), "tbl_collation", null,             // line 102
($context["tbl_collation"] ?? null), false);
            // line 104
            echo "
                </td>
                <td width=\"25\">&nbsp;</td>
                <td>
                    ";
            // line 108
            echo PhpMyAdmin\StorageEngine::getHtmlSelect("tbl_storage_engine", null,             // line 111
($context["tbl_storage_engine"] ?? null));
            // line 112
            echo "
                </td>
                <td width=\"25\">&nbsp;</td>
                <td>
                    <input type=\"text\"
                        name=\"connection\"
                        size=\"40\"
                        value=\"";
            // line 119
            echo twig_escape_filter($this->env, (((isset($context["connection"]) || array_key_exists("connection", $context))) ? (($context["connection"] ?? null)) : ("")), "html", null, true);
            echo "\"
                        placeholder=\"scheme://user_name[:password]@host_name[:port_num]/db_name/tbl_name\"
                        class=\"textfield\"
                        required=\"required\" />
                </td>
            </tr>
            ";
            // line 125
            if (($context["have_partitioning"] ?? null)) {
                // line 126
                echo "                <tr class=\"vtop\">
                    <th colspan=\"5\">
                        ";
                // line 128
                echo _gettext("PARTITION definition:");
                // line 129
                echo "                        ";
                echo PhpMyAdmin\Util::showMySQLDocu("Partitioning");
                echo "
                    </th>
                </tr>
                <tr>
                    <td colspan=\"5\">
                        ";
                // line 134
                $this->loadTemplate("columns_definitions/partitions.twig", "columns_definitions/column_definitions_form.twig", 134)->display(["partition_details" =>                 // line 135
($context["partition_details"] ?? null)]);
                // line 137
                echo "                    </td>
                </tr>
            ";
            }
            // line 140
            echo "        </table>
        </div>
    ";
        }
        // line 143
        echo "    <fieldset class=\"tblFooters\">
        <input type=\"button\"
            class=\"preview_sql\"
            value=\"";
        // line 146
        echo _gettext("Preview SQL");
        echo "\" />
        <input type=\"submit\"
            name=\"do_save_data\"
            value=\"";
        // line 149
        echo _gettext("Save");
        echo "\" />
    </fieldset>
    <div id=\"properties_message\"></div>
</form>
";
    }

    public function getTemplateName()
    {
        return "columns_definitions/column_definitions_form.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  256 => 149,  250 => 146,  245 => 143,  240 => 140,  235 => 137,  233 => 135,  232 => 134,  223 => 129,  221 => 128,  217 => 126,  215 => 125,  206 => 119,  197 => 112,  195 => 111,  194 => 108,  188 => 104,  186 => 102,  185 => 99,  184 => 98,  183 => 97,  175 => 92,  162 => 83,  160 => 82,  152 => 78,  150 => 77,  144 => 74,  139 => 72,  134 => 69,  131 => 68,  128 => 67,  126 => 65,  125 => 64,  124 => 63,  123 => 62,  122 => 61,  121 => 60,  120 => 59,  119 => 58,  118 => 57,  117 => 56,  116 => 55,  115 => 54,  114 => 53,  113 => 52,  112 => 51,  110 => 50,  107 => 49,  98 => 43,  94 => 41,  92 => 40,  83 => 33,  81 => 32,  74 => 28,  66 => 23,  61 => 20,  59 => 19,  54 => 17,  50 => 15,  46 => 13,  42 => 11,  38 => 9,  36 => 8,  34 => 7,  32 => 6,  28 => 4,  25 => 3,  23 => 2,  19 => 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 Twig_Source("", "columns_definitions/column_definitions_form.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/columns_definitions/column_definitions_form.twig");
    }
}
