/app/cache/prod/twig/cb/bb/db9a84128c8884d0b1b41f462207.php
PHP | 176 lines | 134 code | 13 blank | 29 comment | 5 complexity | dffcee4340b7487d2d276fc629d272aa MD5 | raw file
Possible License(s): Apache-2.0, LGPL-3.0, BSD-3-Clause, BSD-2-Clause
- <?php
- /* SwiftmailerBundle:Collector:swiftmailer.html.twig */
- class __TwigTemplate_cbbbdb9a84128c8884d0b1b41f462207 extends Twig_Template
- {
- public function __construct(Twig_Environment $env)
- {
- parent::__construct($env);
- $this->parent = $this->env->loadTemplate("WebProfilerBundle:Profiler:layout.html.twig");
- $this->blocks = array(
- 'toolbar' => array($this, 'block_toolbar'),
- 'menu' => array($this, 'block_menu'),
- 'panel' => array($this, 'block_panel'),
- );
- }
- protected function doGetParent(array $context)
- {
- return "WebProfilerBundle:Profiler:layout.html.twig";
- }
- protected function doDisplay(array $context, array $blocks = array())
- {
- $this->parent->display($context, array_merge($this->blocks, $blocks));
- }
- // line 3
- public function block_toolbar($context, array $blocks = array())
- {
- // line 4
- echo " ";
- if ($this->getAttribute((isset($context["collector"]) ? $context["collector"] : null), "messagecount")) {
- // line 5
- echo " ";
- ob_start();
- // line 6
- echo " <img width=\"23\" height=\"28\" alt=\"Swiftmailer\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAcCAYAAACK7SRjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3Ln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S0XBYUFPxHjMEcHBz/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\" />
- <span class=\"sf-toolbar-status\">";
- // line 7
- echo twig_escape_filter($this->env, $this->getAttribute((isset($context["collector"]) ? $context["collector"] : null), "messageCount"), "html", null, true);
- echo "</span>
- ";
- $context["icon"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
- // line 9
- echo " ";
- ob_start();
- // line 10
- echo " <div class=\"sf-toolbar-info-piece\">
- <b>Messages</b>
- <span>";
- // line 12
- echo twig_escape_filter($this->env, $this->getAttribute((isset($context["collector"]) ? $context["collector"] : null), "messageCount"), "html", null, true);
- echo "</span>
- </div>
- <div class=\"sf-toolbar-info-piece\">
- <b>Is spooled ?</b>
- <span>";
- // line 16
- echo (($this->getAttribute((isset($context["collector"]) ? $context["collector"] : null), "isSpool")) ? ("yes") : ("no"));
- echo "</span>
- </div>
- ";
- $context["text"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
- // line 19
- echo " ";
- $this->env->loadTemplate("WebProfilerBundle:Profiler:toolbar_item.html.twig")->display(array_merge($context, array("link" => (isset($context["profiler_url"]) ? $context["profiler_url"] : null))));
- // line 20
- echo " ";
- }
- }
- // line 23
- public function block_menu($context, array $blocks = array())
- {
- // line 24
- echo "<span class=\"label\">
- <span class=\"icon\"><img src=\"";
- // line 25
- echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/webprofiler/images/profiler/mail.png"), "html", null, true);
- echo "\" alt=\"Configuration\" /></span>
- <strong>E-Mails</strong>
- <span class=\"count\">
- <span>";
- // line 28
- echo twig_escape_filter($this->env, $this->getAttribute((isset($context["collector"]) ? $context["collector"] : null), "messagecount"), "html", null, true);
- echo "</span>
- </span>
- </span>
- ";
- }
- // line 33
- public function block_panel($context, array $blocks = array())
- {
- // line 34
- echo " <h2>Messages ";
- echo (($this->getAttribute((isset($context["collector"]) ? $context["collector"] : null), "isSpool")) ? ("spooled") : ("sent"));
- echo "</h2>
- ";
- // line 36
- if ((!$this->getAttribute((isset($context["collector"]) ? $context["collector"] : null), "messages"))) {
- // line 37
- echo " <p>
- <em>No message sent.</em>
- </p>
- ";
- } else {
- // line 41
- echo " ";
- $context['_parent'] = (array) $context;
- $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["collector"]) ? $context["collector"] : null), "messages"));
- foreach ($context['_seq'] as $context["i"] => $context["message"]) {
- // line 42
- echo " <h3>Message ";
- echo twig_escape_filter($this->env, ((isset($context["i"]) ? $context["i"] : null) + 1), "html", null, true);
- echo " / ";
- echo twig_escape_filter($this->env, $this->getAttribute((isset($context["collector"]) ? $context["collector"] : null), "messagecount"), "html", null, true);
- echo "</h3>
- ";
- // line 44
- $context['_parent'] = (array) $context;
- $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute((isset($context["message"]) ? $context["message"] : null), "headers"), "all"));
- foreach ($context['_seq'] as $context["_key"] => $context["header"]) {
- // line 45
- echo " <pre>";
- echo twig_escape_filter($this->env, (isset($context["header"]) ? $context["header"] : null), "html", null, true);
- echo "</pre>
- ";
- }
- $_parent = $context['_parent'];
- unset($context['_seq'], $context['_iterated'], $context['_key'], $context['header'], $context['_parent'], $context['loop']);
- $context = array_merge($_parent, array_intersect_key($context, $_parent));
- // line 47
- echo "
- <p>
- <pre>";
- // line 50
- if ($this->getAttribute((isset($context["message"]) ? $context["message"] : null), "charset")) {
- // line 51
- 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);
- } else {
- // line 53
- echo twig_escape_filter($this->env, $this->getAttribute((isset($context["message"]) ? $context["message"] : null), "body"), "html");
- }
- // line 55
- echo "</pre>
- </p>
- ";
- }
- $_parent = $context['_parent'];
- unset($context['_seq'], $context['_iterated'], $context['i'], $context['message'], $context['_parent'], $context['loop']);
- $context = array_merge($_parent, array_intersect_key($context, $_parent));
- // line 58
- echo " ";
- }
- }
- public function getTemplateName()
- {
- return "SwiftmailerBundle:Collector:swiftmailer.html.twig";
- }
- public function isTraitable()
- {
- return false;
- }
- public function getDebugInfo()
- {
- 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,);
- }
- }