6874d9d3b8a11c0bed5b650cfc9bb962049fcc590f5eb21425deb25256c19da7.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <?php
  2. /* radio_fields.twig */
  3. class __TwigTemplate_03b3d788ee783e35f45ec0b44b9e0651a7299118ea6de95da6c5896e2dbb1b28 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. if ( !twig_test_empty(($context["class"] ?? null))) {
  16. // line 2
  17. echo "<div class=\"";
  18. echo twig_escape_filter($this->env, ($context["class"] ?? null), "html", null, true);
  19. echo "\">
  20. ";
  21. }
  22. // line 4
  23. echo "<input type=\"radio\" name=\"";
  24. echo twig_escape_filter($this->env, ($context["html_field_name"] ?? null), "html", null, true);
  25. echo "\" id=\"";
  26. echo ($context["html_field_id"] ?? null);
  27. echo "\" value=\"";
  28. echo twig_escape_filter($this->env, ($context["choice_value"] ?? null), "html", null, true);
  29. echo "\"";
  30. echo ((($context["checked"] ?? null)) ? (" checked=\"checked\"") : (""));
  31. echo " />
  32. <label for=\"";
  33. // line 5
  34. echo ($context["html_field_id"] ?? null);
  35. echo "\">";
  36. echo ((($context["escape_label"] ?? null)) ? (twig_escape_filter($this->env, ($context["choice_label"] ?? null))) : (($context["choice_label"] ?? null)));
  37. echo "</label>
  38. ";
  39. // line 6
  40. if (($context["is_line_break"] ?? null)) {
  41. // line 7
  42. echo "<br />
  43. ";
  44. }
  45. // line 9
  46. if ( !twig_test_empty(($context["class"] ?? null))) {
  47. // line 10
  48. echo "</div>
  49. ";
  50. }
  51. }
  52. public function getTemplateName()
  53. {
  54. return "radio_fields.twig";
  55. }
  56. public function isTraitable()
  57. {
  58. return false;
  59. }
  60. public function getDebugInfo()
  61. {
  62. return array ( 52 => 10, 50 => 9, 46 => 7, 44 => 6, 38 => 5, 27 => 4, 21 => 2, 19 => 1,);
  63. }
  64. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  65. public function getSource()
  66. {
  67. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  68. return $this->getSourceContext()->getCode();
  69. }
  70. public function getSourceContext()
  71. {
  72. return new Twig_Source("", "radio_fields.twig", "D:\\PHP_www\\phpMyAdmin4.8.5\\templates\\radio_fields.twig");
  73. }
  74. }