initial commit

This commit is contained in:
ns77@siliconpin.com
2025-08-18 12:05:35 +00:00
commit 5c1e30c087
4586 changed files with 818325 additions and 0 deletions

View File

@@ -0,0 +1,190 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
/* menu/breadcrumbs.twig */
class __TwigTemplate_2f69974b6289bf84f343dc5427430531 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
yield "<div id=\"floating_menubar\" class=\"d-print-none\"></div>
<nav id=\"server-breadcrumb\" aria-label=\"breadcrumb\">
<ol class=\"breadcrumb breadcrumb-navbar\">
<li class=\"breadcrumb-item\">
";
// line 5
yield ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (PhpMyAdmin\Html\Generator::getImage("s_host")) : (""));
yield "
<a href=\"";
// line 6
yield PhpMyAdmin\Url::getFromRoute(CoreExtension::getAttribute($this->env, $this->source, ($context["server"] ?? null), "url", [], "any", false, false, false, 6));
yield "\" data-raw-text=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["server"] ?? null), "name", [], "any", false, false, false, 6), "html", null, true);
yield "\" draggable=\"false\">
";
// line 7
if (PhpMyAdmin\Util::showText("TabsMode")) {
yield _gettext("Server:");
}
// line 8
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["server"] ?? null), "name", [], "any", false, false, false, 8), "html", null, true);
yield "
</a>
</li>
";
// line 12
if ( !Twig\Extension\CoreExtension::testEmpty(($context["database"] ?? null))) {
// line 13
yield " <li class=\"breadcrumb-item\">
";
// line 14
yield ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (PhpMyAdmin\Html\Generator::getImage("s_db")) : (""));
yield "
<a href=\"";
// line 15
yield PhpMyAdmin\Url::getFromRoute(CoreExtension::getAttribute($this->env, $this->source, ($context["database"] ?? null), "url", [], "any", false, false, false, 15), ["db" => CoreExtension::getAttribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 15)]);
yield "\" data-raw-text=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 15), "html", null, true);
yield "\" draggable=\"false\">
";
// line 16
if (PhpMyAdmin\Util::showText("TabsMode")) {
yield _gettext("Database:");
}
// line 17
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 17), "html", null, true);
yield "
</a>
</li>
";
// line 21
if ( !Twig\Extension\CoreExtension::testEmpty(($context["table"] ?? null))) {
// line 22
yield " <li class=\"breadcrumb-item\">
";
// line 23
yield ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (PhpMyAdmin\Html\Generator::getImage(((CoreExtension::getAttribute($this->env, $this->source, ($context["table"] ?? null), "is_view", [], "any", false, false, false, 23)) ? ("b_views") : ("s_tbl")))) : (""));
yield "
<a href=\"";
// line 24
yield PhpMyAdmin\Url::getFromRoute(CoreExtension::getAttribute($this->env, $this->source, ($context["table"] ?? null), "url", [], "any", false, false, false, 24), ["db" => CoreExtension::getAttribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 24), "table" => CoreExtension::getAttribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 24)]);
yield "\" data-raw-text=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 24), "html", null, true);
yield "\" draggable=\"false\">
";
// line 25
if (PhpMyAdmin\Util::showText("TabsMode")) {
// line 26
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, ($context["table"] ?? null), "is_view", [], "any", false, false, false, 26)) {
// line 27
yield " ";
yield _gettext("View:");
// line 28
yield " ";
} else {
// line 29
yield " ";
yield _gettext("Table:");
// line 30
yield " ";
}
// line 31
yield " ";
}
// line 32
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 32), "html", null, true);
yield "
</a>
</li>
";
// line 36
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["table"] ?? null), "comment", [], "any", false, false, false, 36))) {
// line 37
yield " <span class=\"breadcrumb-comment\" draggable=\"false\">“";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["table"] ?? null), "comment", [], "any", false, false, false, 37), "html", null, true);
yield "”</span>
";
}
// line 39
yield " ";
} elseif ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["database"] ?? null), "comment", [], "any", false, false, false, 39))) {
// line 40
yield " <span class=\"breadcrumb-comment\" draggable=\"false\">“";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["database"] ?? null), "comment", [], "any", false, false, false, 40), "html", null, true);
yield "”</span>
";
}
// line 42
yield " ";
}
// line 43
yield " </ol>
</nav>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "menu/breadcrumbs.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 156 => 43, 153 => 42, 147 => 40, 144 => 39, 138 => 37, 136 => 36, 128 => 32, 125 => 31, 122 => 30, 119 => 29, 116 => 28, 113 => 27, 110 => 26, 108 => 25, 102 => 24, 98 => 23, 95 => 22, 93 => 21, 85 => 17, 81 => 16, 75 => 15, 71 => 14, 68 => 13, 66 => 12, 58 => 8, 54 => 7, 48 => 6, 44 => 5, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "menu/breadcrumbs.twig", "/home/suvo/web/pg.ns77.siliconpin.com/public_html/pma/templates/menu/breadcrumbs.twig");
}
}

View File

@@ -0,0 +1,149 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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/page_with_secondary_tabs.twig */
class __TwigTemplate_140be48f4a96d8016d701e465376293d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if (( !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "relationFeature", [], "any", false, false, false, 1)) || ($context["is_foreign_key_supported"] ?? null))) {
// line 2
yield " <ul class=\"nav nav-pills m-2 d-print-none\">
<li class=\"nav-item\">
<a href=\"";
// line 4
yield PhpMyAdmin\Url::getFromRoute("/table/structure", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]);
yield "\" id=\"table_structure_id\" class=\"nav-link";
yield (((($context["route"] ?? null) == "/table/structure")) ? (" active") : (""));
yield " disableAjax\">
";
// line 5
yield PhpMyAdmin\Html\Generator::getIcon("b_props", _gettext("Table structure"), true);
yield "
</a>
</li>
<li class=\"nav-item\">
<a href=\"";
// line 10
yield PhpMyAdmin\Url::getFromRoute("/table/relation", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]);
yield "\" id=\"table_relation_id\" class=\"nav-link";
yield (((($context["route"] ?? null) == "/table/relation")) ? (" active") : (""));
yield " disableAjax\">
";
// line 11
yield PhpMyAdmin\Html\Generator::getIcon("b_relations", _gettext("Relation view"), true);
yield "
</a>
</li>
</ul>
";
}
// line 16
yield "
";
// line 17
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($this->env->getRuntime('PhpMyAdmin\FlashMessages')->getMessages());
foreach ($context['_seq'] as $context["flash_key"] => $context["flash_messages"]) {
// line 18
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($context["flash_messages"]);
foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) {
// line 19
yield " <div class=\"alert alert-";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_key"], "html", null, true);
yield "\" role=\"alert\">
";
// line 20
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_message"], "html", null, true);
yield "
</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 24
yield "
<div id=\"structure_content\">
";
// line 26
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 27
yield "</div>
";
return; yield '';
}
// line 26
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "table/page_with_secondary_tabs.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 115 => 26, 109 => 27, 107 => 26, 103 => 24, 90 => 20, 85 => 19, 80 => 18, 76 => 17, 73 => 16, 65 => 11, 59 => 10, 51 => 5, 45 => 4, 41 => 2, 39 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/page_with_secondary_tabs.twig", "/home/suvo/web/pg.ns77.siliconpin.com/public_html/pma/templates/table/page_with_secondary_tabs.twig");
}
}