PageRenderTime 47ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/parivartree260614/parivartree/app/cache/dev/twig/02/96/790d54894a7182e2d4541fcf6c6ffd118c6c54a08ea48746688ae5e1eba1.php

https://github.com/roopalidudalkar/parivartree
PHP | 120 lines | 97 code | 7 blank | 16 comment | 2 complexity | da8619267e559c48e60698467bcba07a MD5 | raw file
  1. <?php
  2. /* TwigBundle:Exception:traces.html.twig */
  3. class __TwigTemplate_0296790d54894a7182e2d4541fcf6c6ffd118c6c54a08ea48746688ae5e1eba1 extends Twig_Template
  4. {
  5. public function __construct(Twig_Environment $env)
  6. {
  7. parent::__construct($env);
  8. $this->parent = false;
  9. $this->blocks = array(
  10. );
  11. }
  12. protected function doDisplay(array $context, array $blocks = array())
  13. {
  14. // line 1
  15. echo "<div class=\"block\">
  16. ";
  17. // line 2
  18. if (($this->getContext($context, "count") > 0)) {
  19. // line 3
  20. echo " <h2>
  21. <span><small>[";
  22. // line 4
  23. echo twig_escape_filter($this->env, (($this->getContext($context, "count") - $this->getContext($context, "position")) + 1), "html", null, true);
  24. echo "/";
  25. echo twig_escape_filter($this->env, ($this->getContext($context, "count") + 1), "html", null, true);
  26. echo "]</small></span>
  27. ";
  28. // line 5
  29. echo $this->env->getExtension('code')->abbrClass($this->getAttribute($this->getContext($context, "exception"), "class"));
  30. echo ": ";
  31. echo $this->env->getExtension('code')->formatFileFromText(nl2br(twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "exception"), "message"), "html", null, true)));
  32. echo "&nbsp;
  33. ";
  34. // line 6
  35. ob_start();
  36. // line 7
  37. echo " <a href=\"#\" onclick=\"toggle('traces-";
  38. echo twig_escape_filter($this->env, $this->getContext($context, "position"), "html", null, true);
  39. echo "', 'traces'); switchIcons('icon-traces-";
  40. echo twig_escape_filter($this->env, $this->getContext($context, "position"), "html", null, true);
  41. echo "-open', 'icon-traces-";
  42. echo twig_escape_filter($this->env, $this->getContext($context, "position"), "html", null, true);
  43. echo "-close'); return false;\">
  44. <img class=\"toggle\" id=\"icon-traces-";
  45. // line 8
  46. echo twig_escape_filter($this->env, $this->getContext($context, "position"), "html", null, true);
  47. echo "-close\" alt=\"-\" src=\"data:image/gif;base64,R0lGODlhEgASAMQSANft94TG57Hb8GS44ez1+mC24IvK6ePx+Wa44dXs92+942e54o3L6W2844/M6dnu+P/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABIALAAAAAASABIAQAVCoCQBTBOd6Kk4gJhGBCTPxysJb44K0qD/ER/wlxjmisZkMqBEBW5NHrMZmVKvv9hMVsO+hE0EoNAstEYGxG9heIhCADs=\" style=\"display: ";
  48. echo (((0 == $this->getContext($context, "count"))) ? ("inline") : ("none"));
  49. echo "\" />
  50. <img class=\"toggle\" id=\"icon-traces-";
  51. // line 9
  52. echo twig_escape_filter($this->env, $this->getContext($context, "position"), "html", null, true);
  53. echo "-open\" alt=\"+\" src=\"data:image/gif;base64,R0lGODlhEgASAMQTANft99/v+Ga44bHb8ITG52S44dXs9+z1+uPx+YvK6WC24G+944/M6W28443L6dnu+Ge54v/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABMALAAAAAASABIAQAVS4DQBTiOd6LkwgJgeUSzHSDoNaZ4PU6FLgYBA5/vFID/DbylRGiNIZu74I0h1hNsVxbNuUV4d9SsZM2EzWe1qThVzwWFOAFCQFa1RQq6DJB4iIQA7\" style=\"display: ";
  54. echo (((0 == $this->getContext($context, "count"))) ? ("none") : ("inline"));
  55. echo "\" />
  56. </a>
  57. ";
  58. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  59. // line 12
  60. echo " </h2>
  61. ";
  62. } else {
  63. // line 14
  64. echo " <h2>Stack Trace</h2>
  65. ";
  66. }
  67. // line 16
  68. echo "
  69. <a id=\"traces-link-";
  70. // line 17
  71. echo twig_escape_filter($this->env, $this->getContext($context, "position"), "html", null, true);
  72. echo "\"></a>
  73. <ol class=\"traces list-exception\" id=\"traces-";
  74. // line 18
  75. echo twig_escape_filter($this->env, $this->getContext($context, "position"), "html", null, true);
  76. echo "\" style=\"display: ";
  77. echo (((0 == $this->getContext($context, "count"))) ? ("block") : ("none"));
  78. echo "\">
  79. ";
  80. // line 19
  81. $context['_parent'] = (array) $context;
  82. $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getContext($context, "exception"), "trace"));
  83. foreach ($context['_seq'] as $context["i"] => $context["trace"]) {
  84. // line 20
  85. echo " <li>
  86. ";
  87. // line 21
  88. $this->env->loadTemplate("TwigBundle:Exception:trace.html.twig")->display(array("prefix" => $this->getContext($context, "position"), "i" => $this->getContext($context, "i"), "trace" => $this->getContext($context, "trace")));
  89. // line 22
  90. echo " </li>
  91. ";
  92. }
  93. $_parent = $context['_parent'];
  94. unset($context['_seq'], $context['_iterated'], $context['i'], $context['trace'], $context['_parent'], $context['loop']);
  95. $context = array_intersect_key($context, $_parent) + $_parent;
  96. // line 24
  97. echo " </ol>
  98. </div>
  99. ";
  100. }
  101. public function getTemplateName()
  102. {
  103. return "TwigBundle:Exception:traces.html.twig";
  104. }
  105. public function isTraitable()
  106. {
  107. return false;
  108. }
  109. public function getDebugInfo()
  110. {
  111. return array ( 94 => 22, 89 => 20, 85 => 19, 75 => 17, 68 => 14, 56 => 9, 27 => 4, 201 => 92, 196 => 90, 183 => 82, 171 => 73, 166 => 71, 163 => 70, 158 => 67, 156 => 66, 151 => 63, 142 => 59, 138 => 57, 136 => 56, 121 => 46, 117 => 44, 105 => 40, 91 => 31, 62 => 23, 49 => 19, 87 => 20, 46 => 7, 44 => 7, 25 => 3, 21 => 2, 31 => 4, 38 => 13, 26 => 3, 28 => 3, 24 => 3, 19 => 1, 79 => 18, 72 => 16, 69 => 25, 47 => 18, 40 => 11, 37 => 10, 22 => 2, 246 => 32, 157 => 56, 145 => 46, 139 => 45, 131 => 42, 123 => 47, 120 => 40, 115 => 43, 111 => 38, 108 => 37, 101 => 24, 98 => 32, 96 => 31, 83 => 25, 74 => 14, 66 => 24, 55 => 13, 52 => 21, 50 => 8, 43 => 6, 41 => 7, 35 => 5, 32 => 12, 29 => 4, 209 => 82, 203 => 78, 199 => 91, 193 => 73, 189 => 71, 187 => 84, 182 => 68, 176 => 64, 173 => 74, 168 => 72, 164 => 58, 162 => 57, 154 => 54, 149 => 51, 147 => 50, 144 => 49, 141 => 48, 133 => 55, 130 => 41, 125 => 38, 122 => 37, 116 => 36, 112 => 42, 109 => 34, 106 => 36, 103 => 32, 99 => 30, 95 => 28, 92 => 21, 86 => 28, 82 => 22, 80 => 19, 73 => 19, 64 => 12, 60 => 6, 57 => 14, 54 => 21, 51 => 20, 48 => 9, 45 => 17, 42 => 6, 39 => 6, 36 => 7, 33 => 5, 30 => 3,);
  112. }
  113. }