b86bb10cf6982d6681f8542d8b57c295a3ded88da8fb884d127da8003f42e7e4.php 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <?php
  2. /* forms/fields/userinfo/userinfo.html.twig */
  3. class __TwigTemplate_4b25149d0aac33b1b11411850aec8b9dd0702059848f7cd3cb68b0ec5fde7a40 extends Twig_Template
  4. {
  5. public function __construct(Twig_Environment $env)
  6. {
  7. parent::__construct($env);
  8. $this->parent = false;
  9. $this->blocks = array(
  10. );
  11. }
  12. protected function doDisplay(array $context, array $blocks = array())
  13. {
  14. // line 1
  15. echo "<div class=\"form-field grid user-details\">
  16. <div class=\"form-label block size-1-3\">
  17. ";
  18. // line 3
  19. $this->loadTemplate("partials/userinfo-avatar.html.twig", "forms/fields/userinfo/userinfo.html.twig", 3)->display($context);
  20. // line 4
  21. echo " </div>
  22. <div class=\"form-data block size-2-3\">
  23. <h2>";
  24. // line 6
  25. echo twig_escape_filter($this->env, $this->getAttribute(($context["data"] ?? null), "fullname", array()), "html", null, true);
  26. echo "</h2>
  27. <h5>
  28. <a href=\"mailto:";
  29. // line 8
  30. echo twig_escape_filter($this->env, $this->getAttribute(($context["data"] ?? null), "email", array()), "html", null, true);
  31. echo "\">";
  32. echo twig_escape_filter($this->env, $this->getAttribute(($context["data"] ?? null), "email", array()), "html", null, true);
  33. echo "</a>
  34. ";
  35. // line 9
  36. if ($this->getAttribute(($context["data"] ?? null), "title", array())) {
  37. // line 10
  38. echo " - ";
  39. echo twig_escape_filter($this->env, $this->getAttribute(($context["data"] ?? null), "title", array()), "html", null, true);
  40. echo "
  41. ";
  42. }
  43. // line 12
  44. echo " </h5>
  45. ";
  46. // line 13
  47. $this->loadTemplate("partials/userinfo-avatar-credit.html.twig", "forms/fields/userinfo/userinfo.html.twig", 13)->display($context);
  48. // line 14
  49. echo " </div>
  50. </div>
  51. ";
  52. }
  53. public function getTemplateName()
  54. {
  55. return "forms/fields/userinfo/userinfo.html.twig";
  56. }
  57. public function isTraitable()
  58. {
  59. return false;
  60. }
  61. public function getDebugInfo()
  62. {
  63. return array ( 53 => 14, 51 => 13, 48 => 12, 42 => 10, 40 => 9, 34 => 8, 29 => 6, 25 => 4, 23 => 3, 19 => 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 Twig_Source("<div class=\"form-field grid user-details\">
  74. <div class=\"form-label block size-1-3\">
  75. {% include 'partials/userinfo-avatar.html.twig' %}
  76. </div>
  77. <div class=\"form-data block size-2-3\">
  78. <h2>{{ data.fullname }}</h2>
  79. <h5>
  80. <a href=\"mailto:{{ data.email }}\">{{ data.email }}</a>
  81. {% if data.title %}
  82. - {{ data.title }}
  83. {% endif %}
  84. </h5>
  85. {% include 'partials/userinfo-avatar-credit.html.twig' %}
  86. </div>
  87. </div>
  88. ", "forms/fields/userinfo/userinfo.html.twig", "/home/kevin/Sites/static-ethica.net/user/plugins/admin/themes/grav/templates/forms/fields/userinfo/userinfo.html.twig");
  89. }
  90. }