fec32218b1fc5902522e522d9b95.php 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. /* WebProfilerBundle:Profiler:toolbar_item.html.twig */
  3. class __TwigTemplate_bafffec32218b1fc5902522e522d9b95 extends Twig_Template
  4. {
  5. protected function doDisplay(array $context, array $blocks = array())
  6. {
  7. $context = array_merge($this->env->getGlobals(), $context);
  8. // line 1
  9. if ($this->getContext($context, 'link')) {
  10. // line 2
  11. echo " ";
  12. ob_start();
  13. // line 3
  14. echo " <a style=\"text-decoration: none; margin: 0; padding: 0;\" href=\"";
  15. echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_profiler", array("token" => $this->getContext($context, 'token'), "panel" => $this->getContext($context, 'name'))), "html");
  16. echo "\">";
  17. echo twig_escape_filter($this->env, $this->getContext($context, 'icon'), "html");
  18. echo "</a>
  19. ";
  20. $context['icon'] = new Twig_Markup(ob_get_clean());
  21. }
  22. // line 6
  23. echo "<span style=\"white-space:nowrap; color:#2f2f2f; display:inline-block; min-height:24px; border-right:1px solid #cdcdcd; padding:5px 7px 5px 4px; \">
  24. ";
  25. // line 7
  26. echo twig_escape_filter($this->env, ((array_key_exists("icon", $context)) ? (twig_default_filter($this->getContext($context, 'icon'), "")) : ("")), "html");
  27. echo "
  28. ";
  29. // line 8
  30. echo twig_escape_filter($this->env, ((array_key_exists("text", $context)) ? (twig_default_filter($this->getContext($context, 'text'), "")) : ("")), "html");
  31. echo "
  32. </span>
  33. ";
  34. }
  35. public function getTemplateName()
  36. {
  37. return "WebProfilerBundle:Profiler:toolbar_item.html.twig";
  38. }
  39. public function isTraitable()
  40. {
  41. return false;
  42. }
  43. }