Spade
Mini Shell
| Directory:~$ /home/lmsyaran/tmp/pma_template_compiles_lmsyaran/twig/07/ |
| [Home] [System Details] [Kill Me] |
<?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_59f8c797b9bf17ac8335955a0783b0bd 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");
}
}