f864ecf075b166f82d4b4a6a8d0bb6a1c36fe9c8abb8165d1d83fee343289ff6.php 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Markup;
  6. use Twig\Sandbox\SecurityError;
  7. use Twig\Sandbox\SecurityNotAllowedTagError;
  8. use Twig\Sandbox\SecurityNotAllowedFilterError;
  9. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  10. use Twig\Source;
  11. use Twig\Template;
  12. /* login/header.twig */
  13. class __TwigTemplate_9f8a7763627ba56bea39220ac3173f70bfb065fb1b89ec196f8e77694f753e37 extends \Twig\Template
  14. {
  15. public function __construct(Environment $env)
  16. {
  17. parent::__construct($env);
  18. $this->parent = false;
  19. $this->blocks = [
  20. ];
  21. }
  22. protected function doDisplay(array $context, array $blocks = [])
  23. {
  24. // line 1
  25. echo "<div class=\"container\">
  26. <a href=\"";
  27. // line 2
  28. echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/"), "html", null, true);
  29. echo "\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"logo\">
  30. <img src=\"";
  31. // line 3
  32. echo twig_escape_filter($this->env, $this->getAttribute(($context["theme"] ?? null), "getImgPath", [0 => "logo_right.png", 1 => "pma_logo.png"], "method"), "html", null, true);
  33. echo "\" id=\"imLogo\" name=\"imLogo\" alt=\"phpMyAdmin\" border=\"0\" />
  34. </a>
  35. <h1>";
  36. // line 5
  37. echo sprintf(_gettext("Welcome to %s"), "<bdo dir=\"ltr\" lang=\"en\">phpMyAdmin</bdo>");
  38. echo "</h1>
  39. <noscript>
  40. ";
  41. // line 8
  42. echo call_user_func_array($this->env->getFunction('Message_error')->getCallable(), [_gettext("Javascript must be enabled past this point!")]);
  43. echo "
  44. </noscript>
  45. <div class=\"hide\" id=\"js-https-mismatch\">
  46. ";
  47. // line 12
  48. echo call_user_func_array($this->env->getFunction('Message_error')->getCallable(), [_gettext("There is mismatch between HTTPS indicated on the server and client. This can lead to non working phpMyAdmin or a security risk. Please fix your server configuration to indicate HTTPS properly.")]);
  49. echo "
  50. </div>
  51. ";
  52. }
  53. public function getTemplateName()
  54. {
  55. return "login/header.twig";
  56. }
  57. public function isTraitable()
  58. {
  59. return false;
  60. }
  61. public function getDebugInfo()
  62. {
  63. return array ( 55 => 12, 48 => 8, 42 => 5, 37 => 3, 33 => 2, 30 => 1,);
  64. }
  65. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  66. public function getSource()
  67. {
  68. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  69. return $this->getSourceContext()->getCode();
  70. }
  71. public function getSourceContext()
  72. {
  73. return new Source("", "login/header.twig", "/www/pma/templates/login/header.twig");
  74. }
  75. }