48a573d7eed67021ea97956739d952d74698a381585cad8e37a55c2c98e28638.php 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. /* navigation/logo.twig */
  13. class __TwigTemplate_3e582999966b719d6cff071488b740989c2dacd1cee9c58ec00645ff0ad19e18 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. if (($context["display_logo"] ?? null)) {
  26. // line 2
  27. echo " <div id=\"pmalogo\">
  28. ";
  29. // line 3
  30. if (($context["use_logo_link"] ?? null)) {
  31. // line 4
  32. echo " <a href=\"";
  33. echo (((isset($context["logo_link"]) || array_key_exists("logo_link", $context))) ? (_twig_default_filter(($context["logo_link"] ?? null), "#")) : ("#"));
  34. echo "\"";
  35. // line 5
  36. (((isset($context["link_attribs"]) || array_key_exists("link_attribs", $context))) ? (print (twig_escape_filter($this->env, (" " . ($context["link_attribs"] ?? null)), "html", null, true))) : (print ("")));
  37. echo ">
  38. ";
  39. }
  40. // line 7
  41. echo " ";
  42. echo ($context["logo"] ?? null);
  43. echo "
  44. ";
  45. // line 8
  46. if (($context["use_logo_link"] ?? null)) {
  47. // line 9
  48. echo " </a>
  49. ";
  50. }
  51. // line 11
  52. echo " </div>
  53. ";
  54. }
  55. }
  56. public function getTemplateName()
  57. {
  58. return "navigation/logo.twig";
  59. }
  60. public function isTraitable()
  61. {
  62. return false;
  63. }
  64. public function getDebugInfo()
  65. {
  66. return array ( 57 => 11, 53 => 9, 51 => 8, 46 => 7, 41 => 5, 37 => 4, 35 => 3, 32 => 2, 30 => 1,);
  67. }
  68. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  69. public function getSource()
  70. {
  71. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  72. return $this->getSourceContext()->getCode();
  73. }
  74. public function getSourceContext()
  75. {
  76. return new Source("", "navigation/logo.twig", "/www/pma/templates/navigation/logo.twig");
  77. }
  78. }