352f033525ea6b086b1744a224ae98b51e24d20c93786635c0a340d5b5ff7294.php 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <?php
  2. /* radio_fields.twig */
  3. class __TwigTemplate_3e20b2f19e014e709aef9159201ad1123b09f11856e888c176101ae0845ccb5b 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((isset($context["class"]) ? $context["class"] : null))) {
  16. // line 2
  17. echo "<div class=\"";
  18. echo twig_escape_filter($this->env, (isset($context["class"]) ? $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, (isset($context["html_field_name"]) ? $context["html_field_name"] : null), "html", null, true);
  25. echo "\" id=\"";
  26. echo (isset($context["html_field_id"]) ? $context["html_field_id"] : null);
  27. echo "\" value=\"";
  28. echo twig_escape_filter($this->env, (isset($context["choice_value"]) ? $context["choice_value"] : null), "html", null, true);
  29. echo "\"";
  30. echo (((isset($context["checked"]) ? $context["checked"] : null)) ? (" checked=\"checked\"") : (""));
  31. echo " />
  32. <label for=\"";
  33. // line 5
  34. echo (isset($context["html_field_id"]) ? $context["html_field_id"] : null);
  35. echo "\">";
  36. echo (((isset($context["escape_label"]) ? $context["escape_label"] : null)) ? (twig_escape_filter($this->env, (isset($context["choice_label"]) ? $context["choice_label"] : null))) : ((isset($context["choice_label"]) ? $context["choice_label"] : null)));
  37. echo "</label>
  38. ";
  39. // line 6
  40. if ((isset($context["is_line_break"]) ? $context["is_line_break"] : null)) {
  41. // line 7
  42. echo "<br />
  43. ";
  44. }
  45. // line 9
  46. if ( !twig_test_empty((isset($context["class"]) ? $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. }