first commit
This commit is contained in:
313
pma/tmp/twig/34/341fe7c0b9f6ea97b2f6e9510ea748ec.php
Normal file
313
pma/tmp/twig/34/341fe7c0b9f6ea97b2f6e9510ea748ec.php
Normal file
@@ -0,0 +1,313 @@
|
||||
<?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/search/input_box.twig */
|
||||
class __TwigTemplate_3fd4b8b02146817fcbd06403ccd5cfd3 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
|
||||
if ((($context["foreigners"] ?? null) && $this->env->getFunction('search_column_in_foreigners')->getCallable()(($context["foreigners"] ?? null), ($context["column_name"] ?? null)))) {
|
||||
// line 3
|
||||
echo " ";
|
||||
if (twig_test_iterable((($__internal_compile_0 = ($context["foreign_data"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["disp_row"] ?? null) : null))) {
|
||||
// line 4
|
||||
echo " <select name=\"criteriaValues[";
|
||||
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
|
||||
echo "]\"
|
||||
id=\"";
|
||||
// line 5
|
||||
echo twig_escape_filter($this->env, ($context["column_id"] ?? null), "html", null, true);
|
||||
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
// line 6
|
||||
echo $this->env->getFunction('foreign_dropdown')->getCallable()((($__internal_compile_1 = // line 7
|
||||
($context["foreign_data"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["disp_row"] ?? null) : null), (($__internal_compile_2 = // line 8
|
||||
($context["foreign_data"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["foreign_field"] ?? null) : null), (($__internal_compile_3 = // line 9
|
||||
($context["foreign_data"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["foreign_display"] ?? null) : null), "", // line 11
|
||||
($context["foreign_max_limit"] ?? null));
|
||||
// line 12
|
||||
echo "
|
||||
</select>
|
||||
";
|
||||
} elseif (((($__internal_compile_4 = // line 14
|
||||
($context["foreign_data"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["foreign_link"] ?? null) : null) == true)) {
|
||||
// line 15
|
||||
echo " <input type=\"text\"
|
||||
id=\"";
|
||||
// line 16
|
||||
echo twig_escape_filter($this->env, ($context["column_id"] ?? null), "html", null, true);
|
||||
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
|
||||
echo "\"
|
||||
name=\"criteriaValues[";
|
||||
// line 17
|
||||
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
|
||||
echo "]\"
|
||||
id=\"field_";
|
||||
// line 18
|
||||
echo twig_escape_filter($this->env, ($context["column_name_hash"] ?? null), "html", null, true);
|
||||
echo "[";
|
||||
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
|
||||
echo "]\"
|
||||
class=\"textfield\"
|
||||
";
|
||||
// line 20
|
||||
if (twig_get_attribute($this->env, $this->source, ($context["criteria_values"] ?? null), ($context["column_index"] ?? null), [], "array", true, true, false, 20)) {
|
||||
// line 21
|
||||
echo " value=\"";
|
||||
echo twig_escape_filter($this->env, (($__internal_compile_5 = ($context["criteria_values"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[($context["column_index"] ?? null)] ?? null) : null), "html", null, true);
|
||||
echo "\"
|
||||
";
|
||||
}
|
||||
// line 22
|
||||
echo ">
|
||||
<a class=\"ajax browse_foreign\" href=\"";
|
||||
// line 23
|
||||
echo PhpMyAdmin\Url::getFromRoute("/browse-foreigners");
|
||||
echo "\" data-post=\"";
|
||||
// line 24
|
||||
echo PhpMyAdmin\Url::getCommon(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)], "", false);
|
||||
// line 25
|
||||
echo "&field=";
|
||||
echo twig_escape_filter($this->env, twig_urlencode_filter(($context["column_name"] ?? null)), "html", null, true);
|
||||
echo "&fieldkey=";
|
||||
// line 26
|
||||
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
|
||||
echo "&fromsearch=1\">
|
||||
";
|
||||
// line 27
|
||||
echo PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse foreign values"));
|
||||
echo "
|
||||
</a>
|
||||
";
|
||||
}
|
||||
} elseif (twig_in_filter( // line 30
|
||||
($context["column_type"] ?? null), PhpMyAdmin\Utils\Gis::getDataTypes())) {
|
||||
// line 31
|
||||
echo " <input type=\"text\"
|
||||
name=\"criteriaValues[";
|
||||
// line 32
|
||||
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
|
||||
echo "]\"
|
||||
size=\"40\"
|
||||
class=\"textfield\"
|
||||
id=\"field_";
|
||||
// line 35
|
||||
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
// line 36
|
||||
if (($context["in_fbs"] ?? null)) {
|
||||
// line 37
|
||||
echo " ";
|
||||
$context["edit_str"] = PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit/Insert"));
|
||||
// line 38
|
||||
echo " <span class=\"open_search_gis_editor\">
|
||||
";
|
||||
// line 39
|
||||
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/gis-data-editor"), [], ($context["edit_str"] ?? null), [], "_blank");
|
||||
echo "
|
||||
</span>
|
||||
";
|
||||
}
|
||||
} elseif (((is_string($__internal_compile_6 = // line 42
|
||||
($context["column_type"] ?? null)) && is_string($__internal_compile_7 = "enum") && ('' === $__internal_compile_7 || 0 === strpos($__internal_compile_6, $__internal_compile_7))) || ((is_string($__internal_compile_8 = // line 43
|
||||
($context["column_type"] ?? null)) && is_string($__internal_compile_9 = "set") && ('' === $__internal_compile_9 || 0 === strpos($__internal_compile_8, $__internal_compile_9))) && ($context["in_zoom_search_edit"] ?? null)))) {
|
||||
// line 44
|
||||
echo " ";
|
||||
$context["in_zoom_search_edit"] = false;
|
||||
// line 45
|
||||
echo " ";
|
||||
$context["value"] = PhpMyAdmin\Util::parseEnumSetValues(($context["column_type"] ?? null));
|
||||
// line 46
|
||||
echo " ";
|
||||
$context["cnt_value"] = twig_length_filter($this->env, ($context["value"] ?? null));
|
||||
// line 47
|
||||
echo " ";
|
||||
// line 53
|
||||
echo " ";
|
||||
if ((((is_string($__internal_compile_10 = ($context["column_type"] ?? null)) && is_string($__internal_compile_11 = "enum") && ('' === $__internal_compile_11 || 0 === strpos($__internal_compile_10, $__internal_compile_11))) && !($context["in_zoom_search_edit"] ?? null)) || ((is_string($__internal_compile_12 = // line 54
|
||||
($context["column_type"] ?? null)) && is_string($__internal_compile_13 = "set") && ('' === $__internal_compile_13 || 0 === strpos($__internal_compile_12, $__internal_compile_13))) && ($context["in_zoom_search_edit"] ?? null)))) {
|
||||
// line 55
|
||||
echo " <select name=\"criteriaValues[";
|
||||
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
|
||||
echo "]\"
|
||||
id=\"";
|
||||
// line 56
|
||||
echo twig_escape_filter($this->env, ($context["column_id"] ?? null), "html", null, true);
|
||||
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
} else {
|
||||
// line 58
|
||||
echo " <select name=\"criteriaValues[";
|
||||
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
|
||||
echo "]\"
|
||||
id=\"";
|
||||
// line 59
|
||||
echo twig_escape_filter($this->env, ($context["column_id"] ?? null), "html", null, true);
|
||||
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
|
||||
echo "\"
|
||||
multiple=\"multiple\"
|
||||
size=\"";
|
||||
// line 61
|
||||
echo twig_escape_filter($this->env, min(3, ($context["cnt_value"] ?? null)), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
}
|
||||
// line 63
|
||||
echo " ";
|
||||
// line 64
|
||||
echo " <option value=\"\"></option>
|
||||
";
|
||||
// line 65
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(range(0, (($context["cnt_value"] ?? null) - 1)));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
|
||||
// line 66
|
||||
echo " ";
|
||||
if (((twig_get_attribute($this->env, $this->source, ($context["criteria_values"] ?? null), ($context["column_index"] ?? null), [], "array", true, true, false, 66) && twig_test_iterable((($__internal_compile_14 = // line 67
|
||||
($context["criteria_values"] ?? null)) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14[($context["column_index"] ?? null)] ?? null) : null))) && twig_in_filter((($__internal_compile_15 = // line 68
|
||||
($context["value"] ?? null)) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15[$context["i"]] ?? null) : null), (($__internal_compile_16 = ($context["criteria_values"] ?? null)) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16[($context["column_index"] ?? null)] ?? null) : null)))) {
|
||||
// line 69
|
||||
echo " <option value=\"";
|
||||
echo (($__internal_compile_17 = ($context["value"] ?? null)) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17[$context["i"]] ?? null) : null);
|
||||
echo "\" selected>
|
||||
";
|
||||
// line 70
|
||||
echo (($__internal_compile_18 = ($context["value"] ?? null)) && is_array($__internal_compile_18) || $__internal_compile_18 instanceof ArrayAccess ? ($__internal_compile_18[$context["i"]] ?? null) : null);
|
||||
echo "
|
||||
</option>
|
||||
";
|
||||
} else {
|
||||
// line 73
|
||||
echo " <option value=\"";
|
||||
echo (($__internal_compile_19 = ($context["value"] ?? null)) && is_array($__internal_compile_19) || $__internal_compile_19 instanceof ArrayAccess ? ($__internal_compile_19[$context["i"]] ?? null) : null);
|
||||
echo "\">
|
||||
";
|
||||
// line 74
|
||||
echo (($__internal_compile_20 = ($context["value"] ?? null)) && is_array($__internal_compile_20) || $__internal_compile_20 instanceof ArrayAccess ? ($__internal_compile_20[$context["i"]] ?? null) : null);
|
||||
echo "
|
||||
</option>
|
||||
";
|
||||
}
|
||||
// line 77
|
||||
echo " ";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 78
|
||||
echo " </select>
|
||||
";
|
||||
} else {
|
||||
// line 80
|
||||
echo " ";
|
||||
$context["the_class"] = "textfield";
|
||||
// line 81
|
||||
echo " ";
|
||||
if ((($context["column_type"] ?? null) == "date")) {
|
||||
// line 82
|
||||
echo " ";
|
||||
$context["the_class"] = (($context["the_class"] ?? null) . " datefield");
|
||||
// line 83
|
||||
echo " ";
|
||||
} elseif (((($context["column_type"] ?? null) == "datetime") || (is_string($__internal_compile_21 = ($context["column_type"] ?? null)) && is_string($__internal_compile_22 = "timestamp") && ('' === $__internal_compile_22 || 0 === strpos($__internal_compile_21, $__internal_compile_22))))) {
|
||||
// line 84
|
||||
echo " ";
|
||||
$context["the_class"] = (($context["the_class"] ?? null) . " datetimefield");
|
||||
// line 85
|
||||
echo " ";
|
||||
} elseif ((is_string($__internal_compile_23 = ($context["column_type"] ?? null)) && is_string($__internal_compile_24 = "bit") && ('' === $__internal_compile_24 || 0 === strpos($__internal_compile_23, $__internal_compile_24)))) {
|
||||
// line 86
|
||||
echo " ";
|
||||
$context["the_class"] = (($context["the_class"] ?? null) . " bit");
|
||||
// line 87
|
||||
echo " ";
|
||||
}
|
||||
// line 88
|
||||
echo " <input type=\"text\"
|
||||
name=\"criteriaValues[";
|
||||
// line 89
|
||||
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
|
||||
echo "]\"
|
||||
data-type=\"";
|
||||
// line 90
|
||||
echo twig_escape_filter($this->env, ($context["column_data_type"] ?? null), "html", null, true);
|
||||
echo "\"
|
||||
";
|
||||
// line 91
|
||||
echo ($context["html_attributes"] ?? null);
|
||||
echo "
|
||||
size=\"40\"
|
||||
class=\"";
|
||||
// line 93
|
||||
echo twig_escape_filter($this->env, ($context["the_class"] ?? null), "html", null, true);
|
||||
echo "\"
|
||||
id=\"";
|
||||
// line 94
|
||||
echo twig_escape_filter($this->env, ($context["column_id"] ?? null), "html", null, true);
|
||||
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
|
||||
echo "\"
|
||||
";
|
||||
// line 95
|
||||
if (twig_get_attribute($this->env, $this->source, ($context["criteria_values"] ?? null), ($context["column_index"] ?? null), [], "array", true, true, false, 95)) {
|
||||
// line 96
|
||||
echo " value=\"";
|
||||
echo twig_escape_filter($this->env, (($__internal_compile_25 = ($context["criteria_values"] ?? null)) && is_array($__internal_compile_25) || $__internal_compile_25 instanceof ArrayAccess ? ($__internal_compile_25[($context["column_index"] ?? null)] ?? null) : null), "html", null, true);
|
||||
echo "\"";
|
||||
}
|
||||
// line 97
|
||||
echo ">
|
||||
";
|
||||
}
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "table/search/input_box.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 289 => 97, 284 => 96, 282 => 95, 277 => 94, 273 => 93, 268 => 91, 264 => 90, 260 => 89, 257 => 88, 254 => 87, 251 => 86, 248 => 85, 245 => 84, 242 => 83, 239 => 82, 236 => 81, 233 => 80, 229 => 78, 223 => 77, 217 => 74, 212 => 73, 206 => 70, 201 => 69, 199 => 68, 198 => 67, 196 => 66, 192 => 65, 189 => 64, 187 => 63, 182 => 61, 176 => 59, 171 => 58, 165 => 56, 160 => 55, 158 => 54, 156 => 53, 154 => 47, 151 => 46, 148 => 45, 145 => 44, 143 => 43, 142 => 42, 136 => 39, 133 => 38, 130 => 37, 128 => 36, 124 => 35, 118 => 32, 115 => 31, 113 => 30, 107 => 27, 103 => 26, 99 => 25, 97 => 24, 94 => 23, 91 => 22, 85 => 21, 83 => 20, 76 => 18, 72 => 17, 67 => 16, 64 => 15, 62 => 14, 58 => 12, 56 => 11, 55 => 9, 54 => 8, 53 => 7, 52 => 6, 47 => 5, 42 => 4, 39 => 3, 37 => 2,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "table/search/input_box.twig", "/home/dev/web/arif.off/public_html/pma/templates/table/search/input_box.twig");
|
||||
}
|
||||
}
|
||||
418
pma/tmp/twig/34/343486c79145c96078aaea23b78bba04.php
Normal file
418
pma/tmp/twig/34/343486c79145c96078aaea23b78bba04.php
Normal file
@@ -0,0 +1,418 @@
|
||||
<?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;
|
||||
|
||||
/* columns_definitions/column_definitions_form.twig */
|
||||
class __TwigTemplate_e5dfff06f91a106740e53146df36fa61 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", null, true);
|
||||
echo "\" class=\"";
|
||||
// line 2
|
||||
echo (((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/create"))) ? ("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
|
||||
(( !twig_test_empty(($context["primary_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["primary_indexes"] ?? null), "html", null, true))) : (print ("[]")));
|
||||
echo "\">
|
||||
<input type=\"hidden\" name=\"unique_indexes\" value=\"";
|
||||
// line 11
|
||||
(( !twig_test_empty(($context["unique_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["unique_indexes"] ?? null), "html", null, true))) : (print ("[]")));
|
||||
echo "\">
|
||||
<input type=\"hidden\" name=\"indexes\" value=\"";
|
||||
// line 13
|
||||
(( !twig_test_empty(($context["indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["indexes"] ?? null), "html", null, true))) : (print ("[]")));
|
||||
echo "\">
|
||||
<input type=\"hidden\" name=\"fulltext_indexes\" value=\"";
|
||||
// line 15
|
||||
(( !twig_test_empty(($context["fulltext_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["fulltext_indexes"] ?? null), "html", null, true))) : (print ("[]")));
|
||||
echo "\">
|
||||
<input type=\"hidden\" name=\"spatial_indexes\" value=\"";
|
||||
// line 17
|
||||
(( !twig_test_empty(($context["spatial_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["spatial_indexes"] ?? null), "html", null, true))) : (print ("[]")));
|
||||
echo "\">
|
||||
|
||||
";
|
||||
// line 19
|
||||
if ((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/create"))) {
|
||||
// line 20
|
||||
echo " <div id=\"table_name_col_no_outer\">
|
||||
<table id=\"table_name_col_no\" class=\"table table-borderless tdblock\">
|
||||
<tr class=\"align-middle float-start\">
|
||||
<td>";
|
||||
echo _gettext("Table name");
|
||||
// line 23
|
||||
echo ":
|
||||
<input type=\"text\"
|
||||
name=\"table\"
|
||||
size=\"40\"
|
||||
maxlength=\"64\"
|
||||
value=\"";
|
||||
// line 28
|
||||
((array_key_exists("table", $context)) ? (print (twig_escape_filter($this->env, ($context["table"] ?? null), "html", null, true))) : (print ("")));
|
||||
echo "\"
|
||||
class=\"textfield\" autofocus required>
|
||||
</td>
|
||||
<td>
|
||||
";
|
||||
echo _gettext("Add");
|
||||
// line 33
|
||||
echo " <input type=\"number\"
|
||||
id=\"added_fields\"
|
||||
name=\"added_fields\"
|
||||
size=\"2\"
|
||||
value=\"1\"
|
||||
min=\"1\"
|
||||
onfocus=\"this.select()\">
|
||||
";
|
||||
echo _gettext("column(s)");
|
||||
// line 41
|
||||
echo " <input class=\"btn btn-secondary\" type=\"button\"
|
||||
name=\"submit_num_fields\"
|
||||
value=\"";
|
||||
echo _gettext("Go");
|
||||
// line 43
|
||||
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(twig_to_array(["is_backup" => // line 51
|
||||
($context["is_backup"] ?? null), "fields_meta" => // line 52
|
||||
($context["fields_meta"] ?? null), "relation_parameters" => // line 53
|
||||
($context["relation_parameters"] ?? null), "content_cells" => // line 54
|
||||
($context["content_cells"] ?? null), "change_column" => // line 55
|
||||
($context["change_column"] ?? null), "is_virtual_columns_supported" => // line 56
|
||||
($context["is_virtual_columns_supported"] ?? null), "server_version" => // line 57
|
||||
($context["server_version"] ?? null), "browse_mime" => // line 58
|
||||
($context["browse_mime"] ?? null), "supports_stored_keyword" => // line 59
|
||||
($context["supports_stored_keyword"] ?? null), "max_rows" => // line 60
|
||||
($context["max_rows"] ?? null), "char_editing" => // line 61
|
||||
($context["char_editing"] ?? null), "attribute_types" => // line 62
|
||||
($context["attribute_types"] ?? null), "privs_available" => // line 63
|
||||
($context["privs_available"] ?? null), "max_length" => // line 64
|
||||
($context["max_length"] ?? null), "charsets" => // line 65
|
||||
($context["charsets"] ?? null)]));
|
||||
// line 67
|
||||
echo " ";
|
||||
}
|
||||
// line 68
|
||||
echo " ";
|
||||
if ((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/create"))) {
|
||||
// line 69
|
||||
echo " <div class=\"responsivetable\">
|
||||
<table class=\"table table-borderless w-auto align-middle mb-0\">
|
||||
<tr class=\"align-top\">
|
||||
<th>";
|
||||
echo _gettext("Table comments:");
|
||||
// line 72
|
||||
echo "</th>
|
||||
<td width=\"25\"> </td>
|
||||
<th>";
|
||||
echo _gettext("Collation:");
|
||||
// line 74
|
||||
echo "</th>
|
||||
<td width=\"25\"> </td>
|
||||
<th>
|
||||
";
|
||||
echo _gettext("Storage Engine:");
|
||||
// line 78
|
||||
echo " ";
|
||||
echo PhpMyAdmin\Html\MySQLDocumentation::show("Storage_engines");
|
||||
echo "
|
||||
</th>
|
||||
<td width=\"25\"> </td>
|
||||
<th id=\"storage-engine-connection\">
|
||||
";
|
||||
echo _gettext("Connection:");
|
||||
// line 83
|
||||
echo " ";
|
||||
echo PhpMyAdmin\Html\MySQLDocumentation::show("federated-create-connection");
|
||||
echo "
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type=\"text\"
|
||||
name=\"comment\"
|
||||
size=\"40\"
|
||||
maxlength=\"60\"
|
||||
value=\"";
|
||||
// line 92
|
||||
((array_key_exists("comment", $context)) ? (print (twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true))) : (print ("")));
|
||||
echo "\"
|
||||
class=\"textfield\">
|
||||
</td>
|
||||
<td width=\"25\"> </td>
|
||||
<td>
|
||||
<select lang=\"en\" dir=\"ltr\" name=\"tbl_collation\">
|
||||
<option value=\"\"></option>
|
||||
";
|
||||
// line 99
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["charset"]) {
|
||||
// line 100
|
||||
echo " <optgroup label=\"";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 100), "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, 100), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
// line 101
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 101));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["collation"]) {
|
||||
// line 102
|
||||
echo " <option value=\"";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 102), "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, 102), "html", null, true);
|
||||
echo "\"";
|
||||
// line 103
|
||||
echo (((twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 103) == ($context["tbl_collation"] ?? null))) ? (" selected") : (""));
|
||||
echo ">";
|
||||
// line 104
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 104), "html", null, true);
|
||||
// line 105
|
||||
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 107
|
||||
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 109
|
||||
echo " </select>
|
||||
</td>
|
||||
<td width=\"25\"> </td>
|
||||
<td>
|
||||
<select class=\"form-select\" name=\"tbl_storage_engine\" aria-label=\"";
|
||||
echo _gettext("Storage engine");
|
||||
// line 113
|
||||
echo "\">
|
||||
";
|
||||
// line 114
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(($context["storage_engines"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["engine"]) {
|
||||
// line 115
|
||||
echo " <option value=\"";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 115), "html", null, true);
|
||||
echo "\"";
|
||||
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 115))) {
|
||||
echo " title=\"";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 115), "html", null, true);
|
||||
echo "\"";
|
||||
}
|
||||
// line 116
|
||||
echo ((((twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 116)) == twig_lower_filter($this->env, ($context["tbl_storage_engine"] ?? null))) || (twig_test_empty(($context["tbl_storage_engine"] ?? null)) && twig_get_attribute($this->env, $this->source, $context["engine"], "is_default", [], "any", false, false, false, 116)))) ? (" selected") : (""));
|
||||
echo ">";
|
||||
// line 117
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 117), "html", null, true);
|
||||
// line 118
|
||||
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 120
|
||||
echo " </select>
|
||||
</td>
|
||||
<td width=\"25\"> </td>
|
||||
<td>
|
||||
<input type=\"text\"
|
||||
name=\"connection\"
|
||||
size=\"40\"
|
||||
value=\"";
|
||||
// line 127
|
||||
((array_key_exists("connection", $context)) ? (print (twig_escape_filter($this->env, ($context["connection"] ?? null), "html", null, true))) : (print ("")));
|
||||
echo "\"
|
||||
placeholder=\"scheme://user_name[:password]@host_name[:port_num]/db_name/tbl_name\"
|
||||
class=\"textfield\"
|
||||
required=\"required\">
|
||||
</td>
|
||||
</tr>
|
||||
";
|
||||
// line 133
|
||||
if (($context["have_partitioning"] ?? null)) {
|
||||
// line 134
|
||||
echo " <tr class=\"align-top\">
|
||||
<th colspan=\"5\">
|
||||
";
|
||||
echo _gettext("PARTITION definition:");
|
||||
// line 137
|
||||
echo " ";
|
||||
echo PhpMyAdmin\Html\MySQLDocumentation::show("Partitioning");
|
||||
echo "
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=\"5\">
|
||||
";
|
||||
// line 142
|
||||
$this->loadTemplate("columns_definitions/partitions.twig", "columns_definitions/column_definitions_form.twig", 142)->display(twig_to_array(["partition_details" => // line 143
|
||||
($context["partition_details"] ?? null), "storage_engines" => // line 144
|
||||
($context["storage_engines"] ?? null)]));
|
||||
// line 146
|
||||
echo " </td>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
// line 149
|
||||
echo " </table>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 152
|
||||
echo " <fieldset class=\"pma-fieldset tblFooters\">
|
||||
";
|
||||
// line 153
|
||||
if (((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/add-field")) || (($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/structure/save")))) {
|
||||
// line 154
|
||||
echo " <input type=\"checkbox\" name=\"online_transaction\" value=\"ONLINE_TRANSACTION_ENABLED\" />";
|
||||
echo _pgettext("Online transaction part of the SQL DDL for InnoDB", "Online transaction");
|
||||
echo PhpMyAdmin\Html\MySQLDocumentation::show("innodb-online-ddl");
|
||||
echo "
|
||||
";
|
||||
}
|
||||
// line 156
|
||||
echo " <input class=\"btn btn-secondary preview_sql\" type=\"button\"
|
||||
value=\"";
|
||||
echo _gettext("Preview SQL");
|
||||
// line 157
|
||||
echo "\">
|
||||
<input class=\"btn btn-primary\" type=\"submit\"
|
||||
name=\"do_save_data\"
|
||||
value=\"";
|
||||
echo _gettext("Save");
|
||||
// line 160
|
||||
echo "\">
|
||||
</fieldset>
|
||||
<div id=\"properties_message\"></div>
|
||||
";
|
||||
// line 163
|
||||
if (($context["is_integers_length_restricted"] ?? null)) {
|
||||
// line 164
|
||||
echo " <div class=\"alert alert-primary\" id=\"length_not_allowed\" role=\"alert\">
|
||||
";
|
||||
// line 165
|
||||
echo PhpMyAdmin\Html\Generator::getImage("s_notice");
|
||||
echo "
|
||||
";
|
||||
echo _gettext("The column width of integer types is ignored in your MySQL version unless defining a TINYINT(1) column");
|
||||
// line 167
|
||||
echo " ";
|
||||
echo PhpMyAdmin\Html\MySQLDocumentation::show("", false, "https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-19.html");
|
||||
echo "
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 170
|
||||
echo "</form>
|
||||
<div class=\"modal fade\" id=\"previewSqlModal\" tabindex=\"-1\" aria-labelledby=\"previewSqlModalLabel\" aria-hidden=\"true\">
|
||||
<div class=\"modal-dialog\">
|
||||
<div class=\"modal-content\">
|
||||
<div class=\"modal-header\">
|
||||
<h5 class=\"modal-title\" id=\"previewSqlModalLabel\">";
|
||||
echo _gettext("Loading");
|
||||
// line 175
|
||||
echo "</h5>
|
||||
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
|
||||
echo _gettext("Close");
|
||||
// line 176
|
||||
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 181
|
||||
echo "</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 188
|
||||
echo twig_include($this->env, $context, "modals/enum_set_editor.twig");
|
||||
echo "
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "columns_definitions/column_definitions_form.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 394 => 188, 386 => 181, 378 => 176, 374 => 175, 366 => 170, 359 => 167, 354 => 165, 351 => 164, 349 => 163, 344 => 160, 338 => 157, 334 => 156, 327 => 154, 325 => 153, 322 => 152, 317 => 149, 312 => 146, 310 => 144, 309 => 143, 308 => 142, 299 => 137, 294 => 134, 292 => 133, 283 => 127, 274 => 120, 267 => 118, 265 => 117, 262 => 116, 253 => 115, 249 => 114, 246 => 113, 239 => 109, 232 => 107, 225 => 105, 223 => 104, 220 => 103, 214 => 102, 210 => 101, 203 => 100, 199 => 99, 189 => 92, 176 => 83, 167 => 78, 161 => 74, 156 => 72, 150 => 69, 147 => 68, 144 => 67, 142 => 65, 141 => 64, 140 => 63, 139 => 62, 138 => 61, 137 => 60, 136 => 59, 135 => 58, 134 => 57, 133 => 56, 132 => 55, 131 => 54, 130 => 53, 129 => 52, 128 => 51, 126 => 50, 123 => 49, 115 => 43, 110 => 41, 100 => 33, 92 => 28, 85 => 23, 79 => 20, 77 => 19, 72 => 17, 68 => 15, 64 => 13, 60 => 11, 56 => 9, 54 => 8, 52 => 7, 50 => 6, 46 => 4, 43 => 3, 41 => 2, 37 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "columns_definitions/column_definitions_form.twig", "/home/dev/web/arif.off/public_html/pma/templates/columns_definitions/column_definitions_form.twig");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user