3e22dce43a55dc659884d271fed4dcff4151fd60ce612def0805643a763ba512.php
4.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<?php
/* server/databases/create.twig */
class __TwigTemplate_461bfddfb22affbb2b3265350ddd647624f4bfd2da30042fdfab2f7a750095e5 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 "<ul>
<li id=\"li_create_database\" class=\"no_bullets\">
";
// line 3
if (($context["is_create_db_priv"] ?? null)) {
// line 4
echo " <form method=\"post\" action=\"server_databases.php\" id=\"create_database_form\" class=\"ajax\">
<p><strong>
<label for=\"text_create_db\">
";
// line 7
echo PhpMyAdmin\Util::getImage("b_newdb");
echo "
";
// line 8
echo _gettext("Create database");
// line 9
echo " </label>
";
// line 10
echo PhpMyAdmin\Util::showMySQLDocu("CREATE_DATABASE");
echo "
</strong></p>
";
// line 13
echo PhpMyAdmin\Url::getHiddenInputs("", "", 5);
echo "
<input type=\"hidden\" name=\"reload\" value=\"1\" />
";
// line 15
if ( !twig_test_empty(($context["dbstats"] ?? null))) {
// line 16
echo " <input type=\"hidden\" name=\"dbstats\" value=\"1\" />
";
}
// line 18
echo "
<input type=\"text\" name=\"new_db\" value=\"";
// line 19
echo twig_escape_filter($this->env, ($context["db_to_create"] ?? null), "html", null, true);
echo "\"
maxlength=\"64\" class=\"textfield\" id=\"text_create_db\" required
placeholder=\"";
// line 21
echo _gettext("Database name");
echo "\" />
";
// line 22
echo PhpMyAdmin\Charsets::getCollationDropdownBox( // line 23
($context["dbi"] ?? null), // line 24
($context["disable_is"] ?? null), "db_collation", null, // line 27
($context["server_collation"] ?? null), true);
// line 29
echo "
<input type=\"submit\" value=\"";
// line 30
echo _gettext("Create");
echo "\" id=\"buttonGo\" />
</form>
";
} else {
// line 33
echo " ";
// line 34
echo " <p><strong>
";
// line 35
echo PhpMyAdmin\Util::getImage("b_newdb");
echo "
";
// line 36
echo _gettext("Create database");
// line 37
echo " ";
echo PhpMyAdmin\Util::showMySQLDocu("CREATE_DATABASE");
echo "
</strong></p>
<span class=\"noPrivileges\">
";
// line 41
echo PhpMyAdmin\Util::getImage("s_error", "", ["hspace" => 2, "border" => 0, "align" => "middle"]);
// line 45
echo "
";
// line 46
echo _gettext("No Privileges");
// line 47
echo " </span>
";
}
// line 49
echo " </li>
</ul>
";
}
public function getTemplateName()
{
return "server/databases/create.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 112 => 49, 108 => 47, 106 => 46, 103 => 45, 101 => 41, 93 => 37, 91 => 36, 87 => 35, 84 => 34, 82 => 33, 76 => 30, 73 => 29, 71 => 27, 70 => 24, 69 => 23, 68 => 22, 64 => 21, 59 => 19, 56 => 18, 52 => 16, 50 => 15, 45 => 13, 39 => 10, 36 => 9, 34 => 8, 30 => 7, 25 => 4, 23 => 3, 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("", "server/databases/create.twig", "D:\\code\\yihewuku\\hx.yhwk.ynzhsk.cn\\public\\phpMyAdmin4.8.5\\templates\\server\\databases\\create.twig");
}
}