b0bf88ede30fe622479f9cee48ce.php 5.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <?php
  2. /* AcmeDemoBundle:Welcome:index.html.twig */
  3. class __TwigTemplate_690db0bf88ede30fe622479f9cee48ce 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. 'title' => array($this, 'block_title'),
  12. 'content_header' => array($this, 'block_content_header'),
  13. 'content' => array($this, 'block_content'),
  14. );
  15. }
  16. public function getParent(array $context)
  17. {
  18. $parent = "AcmeDemoBundle::layout.html.twig";
  19. if ($parent instanceof Twig_Template) {
  20. $name = $parent->getTemplateName();
  21. $this->parent[$name] = $parent;
  22. $parent = $name;
  23. } elseif (!isset($this->parent[$parent])) {
  24. $this->parent[$parent] = $this->env->loadTemplate($parent);
  25. }
  26. return $this->parent[$parent];
  27. }
  28. protected function doDisplay(array $context, array $blocks = array())
  29. {
  30. $context = array_merge($this->env->getGlobals(), $context);
  31. $this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
  32. }
  33. // line 3
  34. public function block_title($context, array $blocks = array())
  35. {
  36. echo "Symfony - Welcome";
  37. }
  38. // line 5
  39. public function block_content_header($context, array $blocks = array())
  40. {
  41. echo "";
  42. }
  43. // line 7
  44. public function block_content($context, array $blocks = array())
  45. {
  46. // line 8
  47. echo " <h1>Welcome!</h1>
  48. <p>Congratulations! You have successfully installed a new Symfony application.</p>
  49. <div class=\"symfony-blocks-welcome\">
  50. <div class=\"block-quick-tour\">
  51. <div class=\"illustration\">
  52. <img src=\"";
  53. // line 15
  54. echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/acmedemo/images/welcome-quick-tour.gif"), "html");
  55. echo "\" alt=\"Quick tour\" />
  56. </div>
  57. <a class=\"symfony-button-green\" href=\"http://symfony.com/doc/2.0/quick_tour/index.html\">Read the Quick Tour</a>
  58. </div>
  59. ";
  60. // line 19
  61. if (($this->getAttribute($this->getContext($context, 'app'), "environment", array(), "any", false) == "dev")) {
  62. // line 20
  63. echo " <div class=\"block-configure\">
  64. <div class=\"illustration\">
  65. <img src=\"";
  66. // line 22
  67. echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/acmedemo/images/welcome-configure.gif"), "html");
  68. echo "\" alt=\"Configure your appication\" />
  69. </div>
  70. <a class=\"symfony-button-green\" href=\"";
  71. // line 24
  72. echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_configurator_home"), "html");
  73. echo "\">Configure</a>
  74. </div>
  75. ";
  76. }
  77. // line 27
  78. echo " <div class=\"block-demo\">
  79. <div class=\"illustration\">
  80. <img src=\"";
  81. // line 29
  82. echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/acmedemo/images/welcome-demo.gif"), "html");
  83. echo "\" alt=\"Demo\" />
  84. </div>
  85. <a class=\"symfony-button-green\" href=\"";
  86. // line 31
  87. echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_demo"), "html");
  88. echo "\">Run The Demo</a>
  89. </div>
  90. </div>
  91. <div class=\"symfony-blocks-help\">
  92. <div class=\"block-documentation\">
  93. <ul>
  94. <li><strong>Documentation</strong></li>
  95. <li><a href=\"http://symfony.com/doc/2.0/book/index.html\">The book</a></li>
  96. <li><a href=\"http://symfony.com/doc/2.0/reference/index.html\">The cookbook</a></li>
  97. <li><a href=\"http://symfony.com/doc/2.0/glossary/index.html\">Glossary</a></li>
  98. </ul>
  99. </div>
  100. <div class=\"block-documentation-more\">
  101. <ul>
  102. <li>&nbsp;</li>
  103. <li><a href=\"http://symfony.com/doc/2.0/contributing/index.html\">Contributing</a></li>
  104. <li><a href=\"http://trainings.sensiolabs.com\">Trainings</a></li>
  105. <li><a href=\"http://books.sensiolabs.com\">Books</a></li>
  106. </ul>
  107. </div>
  108. <div class=\"block-community\">
  109. <ul>
  110. <li><strong>Community</strong></li>
  111. <li><a href=\"http://symfony.com/irc\">IRC channel</a>
  112. <li><a href=\"http://symfony.com/mailing-lists\">Mailing lists</a></li>
  113. <li><a href=\"http://forum.symfony-project.org\">Forum</a></li>
  114. <li><a href=\"http://symfony.com/doc/2.0/contributing/index.html\">How to be involved</a></li>
  115. <li><a href=\"http://symfony.com/doc/2.0/contributing/index.html\">Contributing</a></li>
  116. </ul>
  117. </div>
  118. </div>
  119. ";
  120. }
  121. public function getTemplateName()
  122. {
  123. return "AcmeDemoBundle:Welcome:index.html.twig";
  124. }
  125. public function isTraitable()
  126. {
  127. return false;
  128. }
  129. }