PageRenderTime 24ms CodeModel.GetById 11ms RepoModel.GetById 1ms app.codeStats 0ms

/app/cache/dev/twig/f1/89/b2ff40a02a96c078a8de06b15caa.php

https://bitbucket.org/polipetr/cms
PHP | 182 lines | 140 code | 11 blank | 31 comment | 6 complexity | c0e8655cc7b107e638f8be8981696550 MD5 | raw file
Possible License(s): Apache-2.0, LGPL-3.0, BSD-3-Clause, BSD-2-Clause
  1. <?php
  2. /* WebProfilerBundle:Profiler:layout.html.twig */
  3. class __TwigTemplate_f189b2ff40a02a96c078a8de06b15caa extends Twig_Template
  4. {
  5. public function __construct(Twig_Environment $env)
  6. {
  7. parent::__construct($env);
  8. $this->parent = $this->env->loadTemplate("WebProfilerBundle:Profiler:base.html.twig");
  9. $this->blocks = array(
  10. 'body' => array($this, 'block_body'),
  11. 'panel' => array($this, 'block_panel'),
  12. );
  13. }
  14. protected function doGetParent(array $context)
  15. {
  16. return "WebProfilerBundle:Profiler:base.html.twig";
  17. }
  18. protected function doDisplay(array $context, array $blocks = array())
  19. {
  20. $this->parent->display($context, array_merge($this->blocks, $blocks));
  21. }
  22. // line 3
  23. public function block_body($context, array $blocks = array())
  24. {
  25. // line 4
  26. echo "
  27. ";
  28. // line 5
  29. echo $this->env->getExtension('actions')->renderAction("WebProfilerBundle:Profiler:toolbar", array("token" => (isset($context["token"]) ? $context["token"] : $this->getContext($context, "token")), "position" => "normal"), array());
  30. // line 6
  31. echo "
  32. <div id=\"content\">
  33. ";
  34. // line 8
  35. $this->env->loadTemplate("WebProfilerBundle:Profiler:header.html.twig")->display(array());
  36. // line 9
  37. echo "
  38. <div id=\"main\">
  39. <div class=\"clear_fix\">
  40. <div id=\"collector_wrapper\">
  41. ";
  42. // line 14
  43. if ((isset($context["profile"]) ? $context["profile"] : $this->getContext($context, "profile"))) {
  44. // line 15
  45. echo " <div id=\"resume\">
  46. <a id=\"resume-view-all\" href=\"";
  47. // line 16
  48. echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_profiler_search", array("limit" => 10)), "html", null, true);
  49. echo "\">View all</a>
  50. <strong>Profile for:</strong>
  51. ";
  52. // line 18
  53. echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute((isset($context["profile"]) ? $context["profile"] : $this->getContext($context, "profile")), "method")), "html", null, true);
  54. echo "
  55. ";
  56. // line 19
  57. if (twig_in_filter(twig_upper_filter($this->env, $this->getAttribute((isset($context["profile"]) ? $context["profile"] : $this->getContext($context, "profile")), "method")), array(0 => "GET", 1 => "HEAD"))) {
  58. // line 20
  59. echo " <a href=\"";
  60. echo twig_escape_filter($this->env, $this->getAttribute((isset($context["profile"]) ? $context["profile"] : $this->getContext($context, "profile")), "url"), "html", null, true);
  61. echo "\">";
  62. echo twig_escape_filter($this->env, $this->getAttribute((isset($context["profile"]) ? $context["profile"] : $this->getContext($context, "profile")), "url"), "html", null, true);
  63. echo "</a>
  64. ";
  65. } else {
  66. // line 22
  67. echo " ";
  68. echo twig_escape_filter($this->env, $this->getAttribute((isset($context["profile"]) ? $context["profile"] : $this->getContext($context, "profile")), "url"), "html", null, true);
  69. echo "
  70. ";
  71. }
  72. // line 24
  73. echo " <span class=\"date\">
  74. <em>by ";
  75. // line 25
  76. echo twig_escape_filter($this->env, $this->getAttribute((isset($context["profile"]) ? $context["profile"] : $this->getContext($context, "profile")), "ip"), "html", null, true);
  77. echo "</em> at <em>";
  78. echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["profile"]) ? $context["profile"] : $this->getContext($context, "profile")), "time"), "r"), "html", null, true);
  79. echo "</em>
  80. </span>
  81. </div>
  82. ";
  83. }
  84. // line 29
  85. echo "
  86. <div id=\"collector_content\">
  87. ";
  88. // line 31
  89. $this->env->loadTemplate("WebProfilerBundle:Profiler:base_js.html.twig")->display($context);
  90. // line 32
  91. echo " ";
  92. $this->displayBlock('panel', $context, $blocks);
  93. // line 33
  94. echo " </div>
  95. </div>
  96. <div id=\"navigation\">
  97. ";
  98. // line 36
  99. if (array_key_exists("templates", $context)) {
  100. // line 37
  101. echo " <ul id=\"menu_profiler\">
  102. ";
  103. // line 38
  104. $context['_parent'] = (array) $context;
  105. $context['_seq'] = twig_ensure_traversable((isset($context["templates"]) ? $context["templates"] : $this->getContext($context, "templates")));
  106. foreach ($context['_seq'] as $context["name"] => $context["template"]) {
  107. // line 39
  108. echo " ";
  109. ob_start();
  110. echo twig_escape_filter($this->env, $this->getAttribute((isset($context["template"]) ? $context["template"] : $this->getContext($context, "template")), "renderBlock", array(0 => "menu", 1 => array("collector" => $this->getAttribute((isset($context["profile"]) ? $context["profile"] : $this->getContext($context, "profile")), "getcollector", array(0 => (isset($context["name"]) ? $context["name"] : $this->getContext($context, "name"))), "method"))), "method"), "html", null, true);
  111. $context["menu"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
  112. // line 40
  113. echo " ";
  114. if (((isset($context["menu"]) ? $context["menu"] : $this->getContext($context, "menu")) != "")) {
  115. // line 41
  116. echo " <li class=\"";
  117. echo twig_escape_filter($this->env, (isset($context["name"]) ? $context["name"] : $this->getContext($context, "name")), "html", null, true);
  118. if (((isset($context["name"]) ? $context["name"] : $this->getContext($context, "name")) == (isset($context["panel"]) ? $context["panel"] : $this->getContext($context, "panel")))) {
  119. echo " selected";
  120. }
  121. echo "\">
  122. <a href=\"";
  123. // line 42
  124. echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_profiler", array("token" => (isset($context["token"]) ? $context["token"] : $this->getContext($context, "token")), "panel" => (isset($context["name"]) ? $context["name"] : $this->getContext($context, "name")))), "html", null, true);
  125. echo "\">";
  126. echo (isset($context["menu"]) ? $context["menu"] : $this->getContext($context, "menu"));
  127. echo "</a>
  128. </li>
  129. ";
  130. }
  131. // line 45
  132. echo " ";
  133. }
  134. $_parent = $context['_parent'];
  135. unset($context['_seq'], $context['_iterated'], $context['name'], $context['template'], $context['_parent'], $context['loop']);
  136. $context = array_merge($_parent, array_intersect_key($context, $_parent));
  137. // line 46
  138. echo " </ul>
  139. ";
  140. }
  141. // line 48
  142. echo " ";
  143. echo $this->env->getExtension('actions')->renderAction("WebProfilerBundle:Profiler:searchBar", array(), array());
  144. // line 49
  145. echo " ";
  146. $this->env->loadTemplate("WebProfilerBundle:Profiler:admin.html.twig")->display(array("token" => (isset($context["token"]) ? $context["token"] : $this->getContext($context, "token"))));
  147. // line 50
  148. echo " </div>
  149. </div>
  150. </div>
  151. </div>
  152. ";
  153. }
  154. // line 32
  155. public function block_panel($context, array $blocks = array())
  156. {
  157. echo "";
  158. }
  159. public function getTemplateName()
  160. {
  161. return "WebProfilerBundle:Profiler:layout.html.twig";
  162. }
  163. public function isTraitable()
  164. {
  165. return false;
  166. }
  167. public function getDebugInfo()
  168. {
  169. return array ( 163 => 32, 155 => 50, 152 => 49, 149 => 48, 145 => 46, 139 => 45, 123 => 41, 120 => 40, 115 => 39, 111 => 38, 108 => 37, 106 => 36, 101 => 33, 98 => 32, 96 => 31, 92 => 29, 80 => 24, 74 => 22, 64 => 19, 55 => 16, 52 => 15, 50 => 14, 43 => 9, 41 => 8, 37 => 6, 32 => 4, 29 => 3, 356 => 163, 347 => 160, 343 => 159, 340 => 158, 335 => 157, 333 => 156, 325 => 150, 323 => 149, 316 => 145, 309 => 141, 302 => 137, 295 => 133, 288 => 129, 281 => 125, 274 => 121, 259 => 109, 252 => 105, 245 => 101, 238 => 97, 228 => 89, 225 => 88, 217 => 83, 214 => 82, 211 => 81, 206 => 78, 203 => 77, 198 => 74, 192 => 72, 184 => 70, 182 => 69, 172 => 64, 165 => 60, 158 => 56, 154 => 54, 151 => 53, 148 => 52, 140 => 49, 135 => 47, 131 => 42, 128 => 45, 125 => 44, 119 => 43, 116 => 41, 113 => 40, 110 => 39, 104 => 36, 100 => 35, 93 => 31, 89 => 29, 86 => 28, 83 => 25, 75 => 23, 72 => 22, 69 => 20, 66 => 20, 60 => 18, 54 => 13, 51 => 12, 48 => 11, 42 => 8, 38 => 6, 35 => 5, 33 => 4, 30 => 3,);
  170. }
  171. }