85b5417fce49c48edc38f6bbe906.php 6.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. <?php
  2. /* WebProfilerBundle:Profiler:layout.html.twig */
  3. class __TwigTemplate_431f85b5417fce49c48edc38f6bbe906 extends Twig_Template
  4. {
  5. protected $parent;
  6. public function __construct(Twig_Environment $env)
  7. {
  8. parent::__construct($env);
  9. $this->parent = array();
  10. $this->blocks = array(
  11. 'panel' => array($this, 'block_panel'),
  12. 'body' => array($this, 'block_body'),
  13. );
  14. }
  15. public function getParent(array $context)
  16. {
  17. $parent = "WebProfilerBundle:Profiler:base.html.twig";
  18. if ($parent instanceof Twig_Template) {
  19. $name = $parent->getTemplateName();
  20. $this->parent[$name] = $parent;
  21. $parent = $name;
  22. } elseif (!isset($this->parent[$parent])) {
  23. $this->parent[$parent] = $this->env->loadTemplate($parent);
  24. }
  25. return $this->parent[$parent];
  26. }
  27. protected function doDisplay(array $context, array $blocks = array())
  28. {
  29. $context = array_merge($this->env->getGlobals(), $context);
  30. $this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
  31. }
  32. // line 26
  33. public function block_panel($context, array $blocks = array())
  34. {
  35. echo "";
  36. }
  37. // line 3
  38. public function block_body($context, array $blocks = array())
  39. {
  40. // line 4
  41. echo "
  42. ";
  43. // line 5
  44. echo $this->env->getExtension('actions')->renderAction("WebProfilerBundle:Profiler:toolbar", array("token" => $this->getContext($context, 'token'), "position" => "normal"), array());
  45. // line 6
  46. echo "
  47. <div id=\"content\">
  48. ";
  49. // line 8
  50. $this->env->loadTemplate("WebProfilerBundle:Profiler:header.html.twig")->display(array());
  51. // line 9
  52. echo "
  53. ";
  54. // line 10
  55. if ($this->getContext($context, 'profile')) {
  56. // line 11
  57. echo " <div id=\"resume\">
  58. <p>
  59. <strong><a href=\"";
  60. // line 13
  61. echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, 'profile'), "url", array(), "any", false), "html");
  62. echo "\">";
  63. echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, 'profile'), "url", array(), "any", false), "html");
  64. echo "</a></strong>
  65. <span class=\"date\">
  66. <strong>by ";
  67. // line 15
  68. echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, 'profile'), "ip", array(), "any", false), "html");
  69. echo "</strong> at <strong>";
  70. echo twig_escape_filter($this->env, twig_date_format_filter($this->getAttribute($this->getContext($context, 'profile'), "time", array(), "any", false), "r"), "html");
  71. echo "</strong>
  72. </span>
  73. </p>
  74. </div>
  75. ";
  76. }
  77. // line 20
  78. echo "
  79. <div id=\"main\">
  80. <div class=\"clear_fix\">
  81. <div id=\"collector_wrapper\">
  82. <div id=\"collector_content\">
  83. ";
  84. // line 26
  85. $this->displayBlock('panel', $context, $blocks);
  86. // line 27
  87. echo " </div>
  88. </div>
  89. <div id=\"navigation\">
  90. ";
  91. // line 30
  92. if (array_key_exists("templates", $context)) {
  93. // line 31
  94. echo " <ul id=\"menu_profiler\">
  95. ";
  96. // line 32
  97. $context['_parent'] = (array) $context;
  98. $context['_seq'] = twig_ensure_traversable($this->getContext($context, 'templates'));
  99. foreach ($context['_seq'] as $context['name'] => $context['template']) {
  100. // line 33
  101. echo " ";
  102. ob_start();
  103. echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, 'template'), "renderBlock", array("menu", array("collector" => $this->getAttribute($this->getContext($context, 'profile'), "getcollector", array($this->getContext($context, 'name'), ), "method", false)), ), "method", false), "html");
  104. $context['menu'] = new Twig_Markup(ob_get_clean());
  105. // line 34
  106. echo " ";
  107. if (($this->getContext($context, 'menu') != "")) {
  108. // line 35
  109. echo " <li class=\"";
  110. echo twig_escape_filter($this->env, $this->getContext($context, 'name'), "html");
  111. if (($this->getContext($context, 'name') == $this->getContext($context, 'panel'))) {
  112. echo " selected";
  113. }
  114. echo "\">
  115. <a href=\"";
  116. // line 36
  117. echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_profiler", array("token" => $this->getContext($context, 'token'), "panel" => $this->getContext($context, 'name'))), "html");
  118. echo "\">";
  119. echo $this->getContext($context, 'menu');
  120. echo "</a>
  121. </li>
  122. ";
  123. }
  124. // line 39
  125. echo " ";
  126. }
  127. $_parent = $context['_parent'];
  128. unset($context['_seq'], $context['_iterated'], $context['name'], $context['template'], $context['_parent'], $context['loop']);
  129. $context = array_merge($_parent, array_intersect_key($context, $_parent));
  130. // line 40
  131. echo " </ul>
  132. ";
  133. }
  134. // line 42
  135. echo " ";
  136. echo $this->env->getExtension('actions')->renderAction("WebProfilerBundle:Profiler:searchBar", array(), array());
  137. // line 43
  138. echo " ";
  139. $this->env->loadTemplate("WebProfilerBundle:Profiler:admin.html.twig")->display(array("token" => $this->getContext($context, 'token')));
  140. // line 44
  141. echo " </div>
  142. </div>
  143. </div>
  144. </div>
  145. ";
  146. }
  147. public function getTemplateName()
  148. {
  149. return "WebProfilerBundle:Profiler:layout.html.twig";
  150. }
  151. public function isTraitable()
  152. {
  153. return false;
  154. }
  155. }