first commit
This commit is contained in:
93
pma/tmp/twig/b4/b41f8db2d50fd8d74dbc8cda91045142.php
Normal file
93
pma/tmp/twig/b4/b41f8db2d50fd8d74dbc8cda91045142.php
Normal file
@@ -0,0 +1,93 @@
|
||||
<?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;
|
||||
|
||||
/* database/create_table.twig */
|
||||
class __TwigTemplate_56e8a1b0de1042e9e28e1067383a8cbf 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 id=\"createTableMinimalForm\" method=\"post\" action=\"";
|
||||
echo PhpMyAdmin\Url::getFromRoute("/table/create");
|
||||
echo "\" class=\"card d-print-none lock-page\">
|
||||
";
|
||||
// line 2
|
||||
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
|
||||
echo "
|
||||
<div class=\"card-header\">";
|
||||
// line 3
|
||||
echo PhpMyAdmin\Html\Generator::getIcon("b_table_add", _gettext("Create new table"), true);
|
||||
echo "</div>
|
||||
<div class=\"card-body row row-cols-lg-auto g-3\">
|
||||
<div class=\"col-12\">
|
||||
<label for=\"createTableNameInput\" class=\"form-label\">";
|
||||
echo _gettext("Table name");
|
||||
// line 6
|
||||
echo "</label>
|
||||
<input type=\"text\" class=\"form-control\" name=\"table\" id=\"createTableNameInput\" maxlength=\"64\" required>
|
||||
</div>
|
||||
<div class=\"col-12\">
|
||||
<label for=\"createTableNumFieldsInput\" class=\"form-label\">";
|
||||
echo _gettext("Number of columns");
|
||||
// line 10
|
||||
echo "</label>
|
||||
<input type=\"number\" class=\"form-control\" name=\"num_fields\" id=\"createTableNumFieldsInput\" min=\"1\" value=\"4\" required>
|
||||
</div>
|
||||
<div class=\"col-12 align-self-lg-end\">
|
||||
<input class=\"btn btn-primary\" type=\"submit\" value=\"";
|
||||
echo _gettext("Create");
|
||||
// line 14
|
||||
echo "\">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "database/create_table.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 67 => 14, 60 => 10, 53 => 6, 46 => 3, 42 => 2, 37 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "database/create_table.twig", "/home/arif/public_html/pma/templates/database/create_table.twig");
|
||||
}
|
||||
}
|
||||
141
pma/tmp/twig/b4/b4ca5d51d66ab9c496492d65d8026636.php
Normal file
141
pma/tmp/twig/b4/b4ca5d51d66ab9c496492d65d8026636.php
Normal file
@@ -0,0 +1,141 @@
|
||||
<?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;
|
||||
|
||||
/* database/structure/index.twig */
|
||||
class __TwigTemplate_3de4523cca3d73fef80bb4f9734d691a 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
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable($this->env->getRuntime('PhpMyAdmin\FlashMessages')->getMessages());
|
||||
foreach ($context['_seq'] as $context["flash_key"] => $context["flash_messages"]) {
|
||||
// line 2
|
||||
echo " ";
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable($context["flash_messages"]);
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) {
|
||||
// line 3
|
||||
echo " <div class=\"alert alert-";
|
||||
echo twig_escape_filter($this->env, $context["flash_key"], "html", null, true);
|
||||
echo "\" role=\"alert\">
|
||||
";
|
||||
// line 4
|
||||
echo twig_escape_filter($this->env, $context["flash_message"], "html", null, true);
|
||||
echo "
|
||||
</div>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash_message'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['flash_key'], $context['flash_messages'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 8
|
||||
echo "
|
||||
";
|
||||
// line 9
|
||||
if (($context["has_tables"] ?? null)) {
|
||||
// line 10
|
||||
echo " <div id=\"tableslistcontainer\">
|
||||
";
|
||||
// line 11
|
||||
echo ($context["list_navigator_html"] ?? null);
|
||||
echo "
|
||||
|
||||
";
|
||||
// line 13
|
||||
echo ($context["table_list_html"] ?? null);
|
||||
echo "
|
||||
|
||||
";
|
||||
// line 15
|
||||
echo ($context["list_navigator_html"] ?? null);
|
||||
echo "
|
||||
</div>
|
||||
<hr>
|
||||
<p class=\"d-print-none\">
|
||||
<button type=\"button\" class=\"btn btn-link p-0 jsPrintButton\">";
|
||||
// line 19
|
||||
echo PhpMyAdmin\Html\Generator::getIcon("b_print", _gettext("Print"), true);
|
||||
echo "</button>
|
||||
<a href=\"";
|
||||
// line 20
|
||||
echo PhpMyAdmin\Url::getFromRoute("/database/data-dictionary", ["db" => ($context["database"] ?? null), "goto" => PhpMyAdmin\Url::getFromRoute("/database/structure")]);
|
||||
echo "\">
|
||||
";
|
||||
// line 21
|
||||
echo PhpMyAdmin\Html\Generator::getIcon("b_tblanalyse", _gettext("Data dictionary"), true);
|
||||
echo "
|
||||
</a>
|
||||
</p>
|
||||
";
|
||||
} else {
|
||||
// line 25
|
||||
echo " ";
|
||||
echo $this->env->getFilter('notice')->getCallable()(_gettext("No tables found in database."));
|
||||
echo "
|
||||
";
|
||||
}
|
||||
// line 27
|
||||
echo "
|
||||
";
|
||||
// line 28
|
||||
if ( !($context["is_system_schema"] ?? null)) {
|
||||
// line 29
|
||||
echo " ";
|
||||
echo ($context["create_table_html"] ?? null);
|
||||
echo "
|
||||
";
|
||||
}
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "database/structure/index.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 115 => 29, 113 => 28, 110 => 27, 104 => 25, 97 => 21, 93 => 20, 89 => 19, 82 => 15, 77 => 13, 72 => 11, 69 => 10, 67 => 9, 64 => 8, 51 => 4, 46 => 3, 41 => 2, 37 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "database/structure/index.twig", "/home/dev/web/arif.off/public_html/pma/templates/database/structure/index.twig");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user