PageRenderTime 44ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 1ms

/app/cache/prod/twig/f0/82/cfcf96035f4e3d62c3e518942d17.php

https://bitbucket.org/pyneff/carsharing
PHP | 176 lines | 134 code | 13 blank | 29 comment | 5 complexity | 0ec6c6ea4d5312bc82ba0f43a22da0d3 MD5 | raw file
Possible License(s): Apache-2.0, LGPL-3.0, BSD-3-Clause, BSD-2-Clause
  1. <?php
  2. /* SwiftmailerBundle:Collector:swiftmailer.html.twig */
  3. class __TwigTemplate_f082cfcf96035f4e3d62c3e518942d17 extends Twig_Template
  4. {
  5. public function __construct(Twig_Environment $env)
  6. {
  7. parent::__construct($env);
  8. $this->parent = $this->env->loadTemplate("WebProfilerBundle:Profiler:layout.html.twig");
  9. $this->blocks = array(
  10. 'toolbar' => array($this, 'block_toolbar'),
  11. 'menu' => array($this, 'block_menu'),
  12. 'panel' => array($this, 'block_panel'),
  13. );
  14. }
  15. protected function doGetParent(array $context)
  16. {
  17. return "WebProfilerBundle:Profiler:layout.html.twig";
  18. }
  19. protected function doDisplay(array $context, array $blocks = array())
  20. {
  21. $this->parent->display($context, array_merge($this->blocks, $blocks));
  22. }
  23. // line 3
  24. public function block_toolbar($context, array $blocks = array())
  25. {
  26. // line 4
  27. echo " ";
  28. if ($this->getAttribute((isset($context["collector"]) ? $context["collector"] : null), "messagecount")) {
  29. // line 5
  30. echo " ";
  31. ob_start();
  32. // line 6
  33. echo " <img width=\"23\" height=\"28\" alt=\"Swiftmailer\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAcCAYAAACK7SRjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6b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v3+NoaHhN2oYDjJn8uTJK4BMNpDhPwsLCwOKiop2+fn5vafEYC8vrw8gc/Lz8wOB3B8gw/nev38vn5WV5eTg4LA/Ly/vESsrK2npmYmJITU19SnQ8L0gc4DxpwgyF2S4EEjB58+f+crLy31YWFjOt7S0XBYUFPxHjMEcHBz/6+rqboqJiZ0qKSnxBpkDlRICGc4MU/j792+2CRMm+L18+fLSxIkTDykoKPzBZ7CoqOi/np6eE8rKylvb29v9fvz4wYEkzYKRzjk5OX/LyMjcnDRpEkjjdisrK6wRraOj8wvokAMLFy788ejRoxcaGhrPCWai4ODgB8DUE3/mzBknYMToASNoMzAfvEVW4+Tk9LmhoWFbTU2NwunTpx2BjiiMjo6+hm4WCzJHUlLyz+vXrxkfP36sDOI/ffpUPikpibe7u3sLsJjQW7VqlSrQxe+Avjmanp7u9PbtWzGQOmCCkARmmu/m5uYfT548yY/V5UpKSl+2b9+uiiz26dMnIWBSDTp27NgdYGrYCIzwE7m5uR4wg2Hg/PnzSsDI/QlKOcjZ3wGUBLm5uf+DwLdv38gub4AG/xcSEvr35s0bZmCB5sgCE/z69SsjyDJKMtG/f/8YQQYD8wkoGf8H51AbG5sH1CpbQBnQ09PzBiiHgoIFFHlBQGwLxLxUMP8dqJgH4k3gIhfIkAKVYkDMTmmhCHIxEL8A4peMo02L4WU4QIABANxZAoDIQDv3AAAAAElFTkSuQmCC\" />
  34. <span class=\"sf-toolbar-status\">";
  35. // line 7
  36. echo twig_escape_filter($this->env, $this->getAttribute((isset($context["collector"]) ? $context["collector"] : null), "messageCount"), "html", null, true);
  37. echo "</span>
  38. ";
  39. $context["icon"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
  40. // line 9
  41. echo " ";
  42. ob_start();
  43. // line 10
  44. echo " <div class=\"sf-toolbar-info-piece\">
  45. <b>Messages</b>
  46. <span>";
  47. // line 12
  48. echo twig_escape_filter($this->env, $this->getAttribute((isset($context["collector"]) ? $context["collector"] : null), "messageCount"), "html", null, true);
  49. echo "</span>
  50. </div>
  51. <div class=\"sf-toolbar-info-piece\">
  52. <b>Is spooled ?</b>
  53. <span>";
  54. // line 16
  55. echo (($this->getAttribute((isset($context["collector"]) ? $context["collector"] : null), "isSpool")) ? ("yes") : ("no"));
  56. echo "</span>
  57. </div>
  58. ";
  59. $context["text"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
  60. // line 19
  61. echo " ";
  62. $this->env->loadTemplate("WebProfilerBundle:Profiler:toolbar_item.html.twig")->display(array_merge($context, array("link" => (isset($context["profiler_url"]) ? $context["profiler_url"] : null))));
  63. // line 20
  64. echo " ";
  65. }
  66. }
  67. // line 23
  68. public function block_menu($context, array $blocks = array())
  69. {
  70. // line 24
  71. echo "<span class=\"label\">
  72. <span class=\"icon\"><img src=\"";
  73. // line 25
  74. echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/webprofiler/images/profiler/mail.png"), "html", null, true);
  75. echo "\" alt=\"Configuration\" /></span>
  76. <strong>E-Mails</strong>
  77. <span class=\"count\">
  78. <span>";
  79. // line 28
  80. echo twig_escape_filter($this->env, $this->getAttribute((isset($context["collector"]) ? $context["collector"] : null), "messagecount"), "html", null, true);
  81. echo "</span>
  82. </span>
  83. </span>
  84. ";
  85. }
  86. // line 33
  87. public function block_panel($context, array $blocks = array())
  88. {
  89. // line 34
  90. echo " <h2>Messages ";
  91. echo (($this->getAttribute((isset($context["collector"]) ? $context["collector"] : null), "isSpool")) ? ("spooled") : ("sent"));
  92. echo "</h2>
  93. ";
  94. // line 36
  95. if ((!$this->getAttribute((isset($context["collector"]) ? $context["collector"] : null), "messages"))) {
  96. // line 37
  97. echo " <p>
  98. <em>No message sent.</em>
  99. </p>
  100. ";
  101. } else {
  102. // line 41
  103. echo " ";
  104. $context['_parent'] = (array) $context;
  105. $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["collector"]) ? $context["collector"] : null), "messages"));
  106. foreach ($context['_seq'] as $context["i"] => $context["message"]) {
  107. // line 42
  108. echo " <h3>Message ";
  109. echo twig_escape_filter($this->env, ((isset($context["i"]) ? $context["i"] : null) + 1), "html", null, true);
  110. echo " / ";
  111. echo twig_escape_filter($this->env, $this->getAttribute((isset($context["collector"]) ? $context["collector"] : null), "messagecount"), "html", null, true);
  112. echo "</h3>
  113. ";
  114. // line 44
  115. $context['_parent'] = (array) $context;
  116. $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute((isset($context["message"]) ? $context["message"] : null), "headers"), "all"));
  117. foreach ($context['_seq'] as $context["_key"] => $context["header"]) {
  118. // line 45
  119. echo " <pre>";
  120. echo twig_escape_filter($this->env, (isset($context["header"]) ? $context["header"] : null), "html", null, true);
  121. echo "</pre>
  122. ";
  123. }
  124. $_parent = $context['_parent'];
  125. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['header'], $context['_parent'], $context['loop']);
  126. $context = array_merge($_parent, array_intersect_key($context, $_parent));
  127. // line 47
  128. echo "
  129. <p>
  130. <pre>";
  131. // line 50
  132. if ($this->getAttribute((isset($context["message"]) ? $context["message"] : null), "charset")) {
  133. // line 51
  134. echo twig_escape_filter($this->env, twig_convert_encoding(twig_escape_filter($this->env, $this->getAttribute((isset($context["message"]) ? $context["message"] : null), "body"), "html", $this->getAttribute((isset($context["message"]) ? $context["message"] : null), "charset")), "UTF-8", $this->getAttribute((isset($context["message"]) ? $context["message"] : null), "charset")), "html", null, true);
  135. } else {
  136. // line 53
  137. echo twig_escape_filter($this->env, $this->getAttribute((isset($context["message"]) ? $context["message"] : null), "body"), "html");
  138. }
  139. // line 55
  140. echo "</pre>
  141. </p>
  142. ";
  143. }
  144. $_parent = $context['_parent'];
  145. unset($context['_seq'], $context['_iterated'], $context['i'], $context['message'], $context['_parent'], $context['loop']);
  146. $context = array_merge($_parent, array_intersect_key($context, $_parent));
  147. // line 58
  148. echo " ";
  149. }
  150. }
  151. public function getTemplateName()
  152. {
  153. return "SwiftmailerBundle:Collector:swiftmailer.html.twig";
  154. }
  155. public function isTraitable()
  156. {
  157. return false;
  158. }
  159. public function getDebugInfo()
  160. {
  161. return array ( 156 => 58, 148 => 55, 142 => 51, 140 => 50, 127 => 45, 123 => 44, 115 => 42, 110 => 41, 104 => 37, 85 => 28, 68 => 20, 65 => 19, 59 => 16, 45 => 9, 103 => 24, 94 => 21, 91 => 20, 81 => 18, 74 => 16, 70 => 14, 66 => 12, 48 => 10, 25 => 4, 89 => 20, 82 => 19, 72 => 16, 64 => 15, 53 => 13, 92 => 39, 86 => 6, 77 => 17, 57 => 22, 19 => 2, 44 => 11, 27 => 4, 42 => 10, 33 => 7, 29 => 5, 41 => 7, 26 => 3, 223 => 96, 214 => 90, 210 => 88, 203 => 84, 199 => 83, 194 => 80, 192 => 79, 189 => 78, 187 => 77, 184 => 76, 178 => 72, 170 => 67, 161 => 63, 157 => 61, 152 => 59, 145 => 53, 130 => 48, 125 => 46, 119 => 45, 116 => 44, 112 => 43, 102 => 36, 98 => 34, 76 => 24, 73 => 23, 69 => 26, 61 => 24, 56 => 9, 39 => 7, 32 => 11, 24 => 3, 22 => 3, 30 => 4, 23 => 3, 20 => 2, 17 => 1, 182 => 70, 176 => 71, 169 => 62, 163 => 58, 160 => 57, 155 => 60, 151 => 54, 149 => 53, 141 => 54, 136 => 47, 134 => 50, 131 => 43, 128 => 47, 120 => 37, 117 => 36, 114 => 35, 109 => 32, 106 => 31, 100 => 30, 96 => 34, 93 => 33, 90 => 27, 87 => 19, 83 => 24, 79 => 25, 71 => 19, 62 => 15, 58 => 23, 55 => 14, 52 => 12, 49 => 12, 46 => 14, 43 => 8, 40 => 7, 37 => 6, 34 => 5, 31 => 4, 28 => 3,);
  162. }
  163. }