Initial commit
This commit is contained in:
@ -0,0 +1,179 @@
|
||||
<?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;
|
||||
|
||||
/* menu/breadcrumbs.twig */
|
||||
class __TwigTemplate_de1a4717b7266f2893973eb2baa311566d05fd169bdc104bc11a5bbfa911ae15 extends \Twig\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 "<div id=\"floating_menubar\"></div>
|
||||
<nav id=\"server-breadcrumb\" aria-label=\"breadcrumb\">
|
||||
<ol class=\"breadcrumb\">
|
||||
<li class=\"breadcrumb-item\">
|
||||
";
|
||||
// line 5
|
||||
echo ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (\PhpMyAdmin\Html\Generator::getImage("s_host")) : (""));
|
||||
echo "
|
||||
<a href=\"";
|
||||
// line 6
|
||||
echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["server"] ?? null), "url", [], "any", false, false, false, 6));
|
||||
echo "\" data-raw-text=\"";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["server"] ?? null), "name", [], "any", false, false, false, 6), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
// line 7
|
||||
if (PhpMyAdmin\Util::showText("TabsMode")) {
|
||||
echo _gettext("Server:");
|
||||
}
|
||||
// line 8
|
||||
echo " ";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["server"] ?? null), "name", [], "any", false, false, false, 8), "html", null, true);
|
||||
echo "
|
||||
</a>
|
||||
</li>
|
||||
|
||||
";
|
||||
// line 12
|
||||
if ( !twig_test_empty(($context["database"] ?? null))) {
|
||||
// line 13
|
||||
echo " <li class=\"breadcrumb-item\">
|
||||
";
|
||||
// line 14
|
||||
echo ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (\PhpMyAdmin\Html\Generator::getImage("s_db")) : (""));
|
||||
echo "
|
||||
<a href=\"";
|
||||
// line 15
|
||||
echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "url", [], "any", false, false, false, 15), ["db" => twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 15)]);
|
||||
echo "\" data-raw-text=\"";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 15), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
// line 16
|
||||
if (PhpMyAdmin\Util::showText("TabsMode")) {
|
||||
echo _gettext("Database:");
|
||||
}
|
||||
// line 17
|
||||
echo " ";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 17), "html", null, true);
|
||||
echo "
|
||||
</a>
|
||||
</li>
|
||||
|
||||
";
|
||||
// line 21
|
||||
if ( !twig_test_empty(($context["table"] ?? null))) {
|
||||
// line 22
|
||||
echo " <li class=\"breadcrumb-item\">
|
||||
";
|
||||
// line 23
|
||||
echo ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (\PhpMyAdmin\Html\Generator::getImage(((twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "is_view", [], "any", false, false, false, 23)) ? ("b_views") : ("s_tbl")))) : (""));
|
||||
echo "
|
||||
<a href=\"";
|
||||
// line 24
|
||||
echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "url", [], "any", false, false, false, 24), ["db" => twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 24), "table" => twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 24)]);
|
||||
echo "\" data-raw-text=\"";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 24), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
// line 25
|
||||
if (PhpMyAdmin\Util::showText("TabsMode")) {
|
||||
// line 26
|
||||
echo " ";
|
||||
if (twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "is_view", [], "any", false, false, false, 26)) {
|
||||
// line 27
|
||||
echo " ";
|
||||
echo _gettext("View:");
|
||||
// line 28
|
||||
echo " ";
|
||||
} else {
|
||||
// line 29
|
||||
echo " ";
|
||||
echo _gettext("Table:");
|
||||
// line 30
|
||||
echo " ";
|
||||
}
|
||||
// line 31
|
||||
echo " ";
|
||||
}
|
||||
// line 32
|
||||
echo " ";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 32), "html", null, true);
|
||||
echo "
|
||||
</a>
|
||||
</li>
|
||||
|
||||
";
|
||||
// line 36
|
||||
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "comment", [], "any", false, false, false, 36))) {
|
||||
// line 37
|
||||
echo " <span class=\"breadcrumb-comment\">“";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "comment", [], "any", false, false, false, 37), "html", null, true);
|
||||
echo "”</span>
|
||||
";
|
||||
}
|
||||
// line 39
|
||||
echo " ";
|
||||
} elseif ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "comment", [], "any", false, false, false, 39))) {
|
||||
// line 40
|
||||
echo " <span class=\"breadcrumb-comment\">“";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "comment", [], "any", false, false, false, 40), "html", null, true);
|
||||
echo "”</span>
|
||||
";
|
||||
}
|
||||
// line 42
|
||||
echo " ";
|
||||
}
|
||||
// line 43
|
||||
echo " </ol>
|
||||
</nav>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "menu/breadcrumbs.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 155 => 43, 152 => 42, 146 => 40, 143 => 39, 137 => 37, 135 => 36, 127 => 32, 124 => 31, 121 => 30, 118 => 29, 115 => 28, 112 => 27, 109 => 26, 107 => 25, 101 => 24, 97 => 23, 94 => 22, 92 => 21, 84 => 17, 80 => 16, 74 => 15, 70 => 14, 67 => 13, 65 => 12, 57 => 8, 53 => 7, 47 => 6, 43 => 5, 37 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "menu/breadcrumbs.twig", "/var/www/web360/htdocs/leitgedanken_php8/pma/templates/menu/breadcrumbs.twig");
|
||||
}
|
||||
}
|
@ -0,0 +1,110 @@
|
||||
<?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;
|
||||
|
||||
/* top_menu.twig */
|
||||
class __TwigTemplate_1aa1249dea490e44f4c011e75cd399ba7c65a836f87e903b0574fa8ef23da10c extends \Twig\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 "<div id=\"topmenucontainer\" class=\"menucontainer\">
|
||||
<nav class=\"navbar navbar-expand-lg navbar-light bg-light\">
|
||||
<button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarNav\" aria-label=\"";
|
||||
// line 4
|
||||
// l10n: Show or hide the menu using the hamburger style button
|
||||
echo _gettext("Toggle navigation");
|
||||
echo "\" aria-controls=\"navbarNav\" aria-expanded=\"false\">
|
||||
<span class=\"navbar-toggler-icon\"></span>
|
||||
</button>
|
||||
<div class=\"collapse navbar-collapse\" id=\"navbarNav\">
|
||||
<ul id=\"topmenu\" class=\"navbar-nav\">
|
||||
";
|
||||
// line 9
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(($context["tabs"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["tab"]) {
|
||||
// line 10
|
||||
echo " <li class=\"nav-item";
|
||||
echo ((twig_get_attribute($this->env, $this->source, $context["tab"], "active", [], "any", false, false, false, 10)) ? (" active") : (""));
|
||||
echo "\">
|
||||
<a class=\"nav-link text-nowrap\" href=\"";
|
||||
// line 11
|
||||
echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, $context["tab"], "route", [], "any", false, false, false, 11), twig_array_merge(($context["url_params"] ?? null), (((twig_get_attribute($this->env, $this->source, $context["tab"], "args", [], "any", true, true, false, 11) && !(null === twig_get_attribute($this->env, $this->source, $context["tab"], "args", [], "any", false, false, false, 11)))) ? (twig_get_attribute($this->env, $this->source, $context["tab"], "args", [], "any", false, false, false, 11)) : ([]))));
|
||||
echo "\">
|
||||
";
|
||||
// line 12
|
||||
echo \PhpMyAdmin\Html\Generator::getIcon(twig_get_attribute($this->env, $this->source, $context["tab"], "icon", [], "any", false, false, false, 12), twig_get_attribute($this->env, $this->source, $context["tab"], "text", [], "any", false, false, false, 12), false, true, "TabsMode");
|
||||
echo "
|
||||
";
|
||||
// line 13
|
||||
if (twig_get_attribute($this->env, $this->source, $context["tab"], "active", [], "any", false, false, false, 13)) {
|
||||
// line 14
|
||||
echo " <span class=\"sr-only\">";
|
||||
// l10n: Current page
|
||||
echo _gettext("(current)");
|
||||
echo "</span>
|
||||
";
|
||||
}
|
||||
// line 16
|
||||
echo " </a>
|
||||
</li>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tab'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 19
|
||||
echo " </ul>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "top_menu.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 84 => 19, 76 => 16, 69 => 14, 67 => 13, 63 => 12, 59 => 11, 54 => 10, 50 => 9, 41 => 4, 37 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "top_menu.twig", "E:\\xampp_8.0.9\\htdocs\\leitgedanken_utf8\\pma\\templates\\top_menu.twig");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user