98 lines
2.8 KiB
PHP
98 lines
2.8 KiB
PHP
<?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;
|
|
|
|
/* login/header.twig */
|
|
class __TwigTemplate_b70402a89a09251b88580786430be157 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
|
|
if ((($context["session_expired"] ?? null) == true)) {
|
|
// line 2
|
|
echo " <div id=\"modalOverlay\">
|
|
";
|
|
}
|
|
// line 4
|
|
echo "<div class=\"container";
|
|
echo twig_escape_filter($this->env, ($context["add_class"] ?? null), "html", null, true);
|
|
echo "\">
|
|
<div class=\"row\">
|
|
<div class=\"col-12\">
|
|
<a href=\"";
|
|
// line 7
|
|
echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/"), "html", null, true);
|
|
echo "\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"logo\">
|
|
<img src=\"";
|
|
// line 8
|
|
echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("logo_right.png", "pma_logo.png"), "html", null, true);
|
|
echo "\" id=\"imLogo\" name=\"imLogo\" alt=\"phpMyAdmin\" border=\"0\">
|
|
</a>
|
|
<h1>";
|
|
// line 10
|
|
echo twig_sprintf(_gettext("Welcome to %s"), "<bdo dir=\"ltr\" lang=\"en\">phpMyAdmin</bdo>");
|
|
echo "</h1>
|
|
|
|
<noscript>
|
|
";
|
|
// line 13
|
|
echo $this->env->getFilter('error')->getCallable()(_gettext("Javascript must be enabled past this point!"));
|
|
echo "
|
|
</noscript>
|
|
|
|
<div class=\"hide\" id=\"js-https-mismatch\">
|
|
";
|
|
// line 17
|
|
echo $this->env->getFilter('error')->getCallable()(_gettext("There is a mismatch between HTTPS indicated on the server and client. This can lead to a non working phpMyAdmin or a security risk. Please fix your server configuration to indicate HTTPS properly."));
|
|
echo "
|
|
</div>
|
|
";
|
|
}
|
|
|
|
public function getTemplateName()
|
|
{
|
|
return "login/header.twig";
|
|
}
|
|
|
|
public function isTraitable()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 72 => 17, 65 => 13, 59 => 10, 54 => 8, 50 => 7, 43 => 4, 39 => 2, 37 => 1,);
|
|
}
|
|
|
|
public function getSourceContext()
|
|
{
|
|
return new Source("", "login/header.twig", "/home/arif/public_html/pma/templates/login/header.twig");
|
|
}
|
|
}
|