2a9d4f4496dba163792e58b91a9e7d1645ef4f78a87171d0add535bc4dd50796.php 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?php
  2. /* database/structure/favorite_anchor.twig */
  3. class __TwigTemplate_3b815f24bc0ab42add33c0f074fa492987af47aba77e557544714a18c3137b14 extends Twig_Template
  4. {
  5. public function __construct(Twig_Environment $env)
  6. {
  7. parent::__construct($env);
  8. $this->parent = false;
  9. $this->blocks = [
  10. ];
  11. }
  12. protected function doDisplay(array $context, array $blocks = [])
  13. {
  14. // line 1
  15. echo "<a id=\"";
  16. echo twig_escape_filter($this->env, ($context["table_name_hash"] ?? null), "html", null, true);
  17. echo "_favorite_anchor\"
  18. class=\"ajax favorite_table_anchor\"
  19. href=\"db_structure.php";
  20. // line 3
  21. echo PhpMyAdmin\Url::getCommon(($context["fav_params"] ?? null));
  22. echo "\"
  23. title=\"";
  24. // line 4
  25. echo twig_escape_filter($this->env, ((($context["already_favorite"] ?? null)) ? (_gettext("Remove from Favorites")) : (_gettext("Add to Favorites"))), "html", null, true);
  26. echo "\"
  27. data-favtargets=\"";
  28. // line 5
  29. echo twig_escape_filter($this->env, ($context["db_table_name_hash"] ?? null), "html", null, true);
  30. echo "\" >
  31. ";
  32. // line 6
  33. echo ((($context["already_favorite"] ?? null)) ? ($this->getAttribute(($context["titles"] ?? null), "Favorite", [], "array")) : ($this->getAttribute(($context["titles"] ?? null), "NoFavorite", [], "array")));
  34. echo "
  35. </a>
  36. ";
  37. }
  38. public function getTemplateName()
  39. {
  40. return "database/structure/favorite_anchor.twig";
  41. }
  42. public function isTraitable()
  43. {
  44. return false;
  45. }
  46. public function getDebugInfo()
  47. {
  48. return array ( 37 => 6, 33 => 5, 29 => 4, 25 => 3, 19 => 1,);
  49. }
  50. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  51. public function getSource()
  52. {
  53. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  54. return $this->getSourceContext()->getCode();
  55. }
  56. public function getSourceContext()
  57. {
  58. return new Twig_Source("", "database/structure/favorite_anchor.twig", "D:\\PHP_www\\phpMyAdmin4.8.5\\templates\\database\\structure\\favorite_anchor.twig");
  59. }
  60. }