source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 3 ob_start(function () { return ''; }); echo _pgettext( "for default", "None"); $context["translation"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 4 $context["default_options"] = ["NONE" => // line 5 ($context["translation"] ?? null), "USER_DEFINED" => _gettext("As defined:"), "NULL" => "NULL", "CURRENT_TIMESTAMP" => "CURRENT_TIMESTAMP"]; // line 10 echo " "; // line 12 $context["default_value"] = ""; // line 13 if (twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "DefaultValue", [], "array", true, true, false, 13)) { // line 14 echo " "; $context["default_value"] = (($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = ($context["column_meta"] ?? null)) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4["DefaultValue"] ?? null) : null); } // line 16 if ((($context["type_upper"] ?? null) == "BIT")) { // line 17 echo " "; $context["default_value"] = PhpMyAdmin\Util::convertBitDefaultValue((($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = ($context["column_meta"] ?? null)) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144["DefaultValue"] ?? null) : null)); } elseif ((( // line 18 ($context["type_upper"] ?? null) == "BINARY") || (($context["type_upper"] ?? null) == "VARBINARY"))) { // line 19 echo " "; $context["default_value"] = bin2hex((($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = ($context["column_meta"] ?? null)) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b["DefaultValue"] ?? null) : null)); } // line 21 echo " "; // line 35 if ((($context["char_editing"] ?? null) == "textarea")) { // line 36 echo " "; } else { // line 41 echo " env, ($context["column_number"] ?? null), "html", null, true); echo "]\" size=\"12\" value=\""; // line 44 echo twig_escape_filter($this->env, ($context["default_value"] ?? null), "html", null, true); echo "\" class=\"textfield default_value\" /> "; } } public function getTemplateName() { return "columns_definitions/column_default.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 131 => 44, 126 => 42, 123 => 41, 118 => 39, 111 => 36, 109 => 35, 106 => 34, 97 => 31, 94 => 30, 91 => 29, 89 => 28, 88 => 27, 84 => 26, 80 => 25, 73 => 23, 69 => 22, 66 => 21, 62 => 19, 60 => 18, 57 => 17, 55 => 16, 51 => 14, 49 => 13, 47 => 12, 44 => 10, 42 => 5, 41 => 4, 37 => 3,); } public function getSourceContext() { return new Source("", "columns_definitions/column_default.twig", "/var/www/localhost/htdocs/phpmyadmin/templates/columns_definitions/column_default.twig"); } }