a5be4f369ef50756a9a88acc0952.php 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <?php
  2. /* AcmeDemoBundle::layout.html.twig */
  3. class __TwigTemplate_d83aa5be4f369ef50756a9a88acc0952 extends Twig_Template
  4. {
  5. public function __construct(Twig_Environment $env)
  6. {
  7. parent::__construct($env);
  8. $this->parent = array();
  9. $this->blocks = array(
  10. 'title' => array($this, 'block_title'),
  11. 'content_header_more' => array($this, 'block_content_header_more'),
  12. 'content_header' => array($this, 'block_content_header'),
  13. 'content' => array($this, 'block_content'),
  14. );
  15. }
  16. protected function doDisplay(array $context, array $blocks = array())
  17. {
  18. $context = array_merge($this->env->getGlobals(), $context);
  19. // line 1
  20. echo "<!DOCTYPE html>
  21. <html>
  22. <head>
  23. <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />
  24. <link rel=\"stylesheet\" href=\"";
  25. // line 5
  26. echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/acmedemo/css/demo.css"), "html");
  27. echo "\" type=\"text/css\" media=\"all\" />
  28. <title>";
  29. // line 6
  30. $this->displayBlock('title', $context, $blocks);
  31. echo "</title>
  32. <link rel=\"shortcut icon\" href=\"";
  33. // line 7
  34. echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("favicon.ico"), "html");
  35. echo "\" />
  36. </head>
  37. <body>
  38. <div id=\"symfony-wrapper\">
  39. <div id=\"symfony-header\">
  40. <a href=\"";
  41. // line 12
  42. echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_welcome"), "html");
  43. echo "\">
  44. <img src=\"";
  45. // line 13
  46. echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/acmedemo/images/logo.gif"), "html");
  47. echo "\" alt=\"Symfony\">
  48. </a>
  49. <form id=\"symfony-search\" method=\"GET\" action=\"http://symfony.com/search\">
  50. <label for=\"symfony-search-field\"><span>Search on Symfony Website</span></label>
  51. <input name=\"q\" id=\"symfony-search-field\" type=\"search\" placeholder=\"Search on Symfony website\" class=\"medium_txt\">
  52. <input type=\"submit\" class=\"symfony-button-grey\" value=\"OK\" />
  53. </form>
  54. </div>
  55. ";
  56. // line 22
  57. if ($this->getAttribute($this->getAttribute($this->getContext($context, 'app'), "session", array(), "any", false), "flash", array("notice", ), "method", false)) {
  58. // line 23
  59. echo " <div class=\"flash-message\">
  60. <em>Notice</em>: ";
  61. // line 24
  62. echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, 'app'), "session", array(), "any", false), "flash", array("notice", ), "method", false), "html");
  63. echo "
  64. </div>
  65. ";
  66. }
  67. // line 27
  68. echo "
  69. ";
  70. // line 28
  71. $this->displayBlock('content_header', $context, $blocks);
  72. // line 37
  73. echo "
  74. <div class=\"symfony-content\">
  75. ";
  76. // line 39
  77. $this->displayBlock('content', $context, $blocks);
  78. // line 41
  79. echo " </div>
  80. ";
  81. // line 43
  82. if (array_key_exists("code", $context)) {
  83. // line 44
  84. echo " <h2>Code behind this page</h2>
  85. <div class=\"symfony-content\">";
  86. // line 45
  87. echo $this->getContext($context, 'code');
  88. echo "</div>
  89. ";
  90. }
  91. // line 47
  92. echo " </div>
  93. </body>
  94. </html>
  95. ";
  96. }
  97. // line 6
  98. public function block_title($context, array $blocks = array())
  99. {
  100. echo "Demo Bundle";
  101. }
  102. // line 30
  103. public function block_content_header_more($context, array $blocks = array())
  104. {
  105. // line 31
  106. echo " <li><a href=\"";
  107. echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_demo"), "html");
  108. echo "\">Demo Home</a></li>
  109. ";
  110. }
  111. // line 28
  112. public function block_content_header($context, array $blocks = array())
  113. {
  114. // line 29
  115. echo " <ul id=\"menu\">
  116. ";
  117. // line 30
  118. $this->displayBlock('content_header_more', $context, $blocks);
  119. // line 33
  120. echo " </ul>
  121. <div style=\"clear: both\"></div>
  122. ";
  123. }
  124. // line 39
  125. public function block_content($context, array $blocks = array())
  126. {
  127. // line 40
  128. echo " ";
  129. }
  130. public function getTemplateName()
  131. {
  132. return "AcmeDemoBundle::layout.html.twig";
  133. }
  134. public function isTraitable()
  135. {
  136. return false;
  137. }
  138. }