/app/cache/dev/twig/4e/f8/e3fd12ec50797ea243a1057c5209.php
PHP | 182 lines | 140 code | 11 blank | 31 comment | 6 complexity | 3ac848d6a8c9a68b3eb302be5cfa8c83 MD5 | raw file
Possible License(s): Apache-2.0, LGPL-3.0, LGPL-2.1
- <?php
- /* WebProfilerBundle:Profiler:layout.html.twig */
- class __TwigTemplate_4ef8e3fd12ec50797ea243a1057c5209 extends Twig_Template
- {
- public function __construct(Twig_Environment $env)
- {
- parent::__construct($env);
- $this->parent = $this->env->loadTemplate("WebProfilerBundle:Profiler:base.html.twig");
- $this->blocks = array(
- 'body' => array($this, 'block_body'),
- 'panel' => array($this, 'block_panel'),
- );
- }
- protected function doGetParent(array $context)
- {
- return "WebProfilerBundle:Profiler:base.html.twig";
- }
- protected function doDisplay(array $context, array $blocks = array())
- {
- $this->parent->display($context, array_merge($this->blocks, $blocks));
- }
- // line 3
- public function block_body($context, array $blocks = array())
- {
- // line 4
- echo "
- ";
- // line 5
- echo $this->env->getExtension('actions')->renderAction("WebProfilerBundle:Profiler:toolbar", array("token" => (isset($context["token"]) ? $context["token"] : $this->getContext($context, "token")), "position" => "normal"), array());
- // line 6
- echo "
- <div id=\"content\">
- ";
- // line 8
- $this->env->loadTemplate("WebProfilerBundle:Profiler:header.html.twig")->display(array());
- // line 9
- echo "
- <div id=\"main\">
- <div class=\"clear_fix\">
- <div id=\"collector_wrapper\">
- ";
- // line 14
- if ((isset($context["profile"]) ? $context["profile"] : $this->getContext($context, "profile"))) {
- // line 15
- echo " <div id=\"resume\">
- <a id=\"resume-view-all\" href=\"";
- // line 16
- echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_profiler_search", array("limit" => 10)), "html", null, true);
- echo "\">View all</a>
- <strong>Profile for:</strong>
- ";
- // line 18
- 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);
- echo "
- ";
- // line 19
- 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"))) {
- // line 20
- echo " <a href=\"";
- echo twig_escape_filter($this->env, $this->getAttribute((isset($context["profile"]) ? $context["profile"] : $this->getContext($context, "profile")), "url"), "html", null, true);
- echo "\">";
- echo twig_escape_filter($this->env, $this->getAttribute((isset($context["profile"]) ? $context["profile"] : $this->getContext($context, "profile")), "url"), "html", null, true);
- echo "</a>
- ";
- } else {
- // line 22
- echo " ";
- echo twig_escape_filter($this->env, $this->getAttribute((isset($context["profile"]) ? $context["profile"] : $this->getContext($context, "profile")), "url"), "html", null, true);
- echo "
- ";
- }
- // line 24
- echo " <span class=\"date\">
- <em>by ";
- // line 25
- echo twig_escape_filter($this->env, $this->getAttribute((isset($context["profile"]) ? $context["profile"] : $this->getContext($context, "profile")), "ip"), "html", null, true);
- echo "</em> at <em>";
- 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);
- echo "</em>
- </span>
- </div>
- ";
- }
- // line 29
- echo "
- <div id=\"collector_content\">
- ";
- // line 31
- $this->env->loadTemplate("WebProfilerBundle:Profiler:base_js.html.twig")->display($context);
- // line 32
- echo " ";
- $this->displayBlock('panel', $context, $blocks);
- // line 33
- echo " </div>
- </div>
- <div id=\"navigation\">
- ";
- // line 36
- if (array_key_exists("templates", $context)) {
- // line 37
- echo " <ul id=\"menu_profiler\">
- ";
- // line 38
- $context['_parent'] = (array) $context;
- $context['_seq'] = twig_ensure_traversable((isset($context["templates"]) ? $context["templates"] : $this->getContext($context, "templates")));
- foreach ($context['_seq'] as $context["name"] => $context["template"]) {
- // line 39
- echo " ";
- ob_start();
- 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);
- $context["menu"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
- // line 40
- echo " ";
- if (((isset($context["menu"]) ? $context["menu"] : $this->getContext($context, "menu")) != "")) {
- // line 41
- echo " <li class=\"";
- echo twig_escape_filter($this->env, (isset($context["name"]) ? $context["name"] : $this->getContext($context, "name")), "html", null, true);
- if (((isset($context["name"]) ? $context["name"] : $this->getContext($context, "name")) == (isset($context["panel"]) ? $context["panel"] : $this->getContext($context, "panel")))) {
- echo " selected";
- }
- echo "\">
- <a href=\"";
- // line 42
- 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);
- echo "\">";
- echo (isset($context["menu"]) ? $context["menu"] : $this->getContext($context, "menu"));
- echo "</a>
- </li>
- ";
- }
- // line 45
- echo " ";
- }
- $_parent = $context['_parent'];
- unset($context['_seq'], $context['_iterated'], $context['name'], $context['template'], $context['_parent'], $context['loop']);
- $context = array_merge($_parent, array_intersect_key($context, $_parent));
- // line 46
- echo " </ul>
- ";
- }
- // line 48
- echo " ";
- echo $this->env->getExtension('actions')->renderAction("WebProfilerBundle:Profiler:searchBar", array(), array());
- // line 49
- echo " ";
- $this->env->loadTemplate("WebProfilerBundle:Profiler:admin.html.twig")->display(array("token" => (isset($context["token"]) ? $context["token"] : $this->getContext($context, "token"))));
- // line 50
- echo " </div>
- </div>
- </div>
- </div>
- ";
- }
- // line 32
- public function block_panel($context, array $blocks = array())
- {
- echo "";
- }
- public function getTemplateName()
- {
- return "WebProfilerBundle:Profiler:layout.html.twig";
- }
- public function isTraitable()
- {
- return false;
- }
- public function getDebugInfo()
- {
- 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,);
- }
- }