123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- <?php
-
- /* AcmeDemoBundle:Welcome:index.html.twig */
- class __TwigTemplate_690db0bf88ede30fe622479f9cee48ce extends Twig_Template
- {
- protected $parent;
-
- public function __construct(Twig_Environment $env)
- {
- parent::__construct($env);
-
- $this->parent = array();
- $this->blocks = array(
- 'title' => array($this, 'block_title'),
- 'content_header' => array($this, 'block_content_header'),
- 'content' => array($this, 'block_content'),
- );
- }
-
- public function getParent(array $context)
- {
- $parent = "AcmeDemoBundle::layout.html.twig";
- if ($parent instanceof Twig_Template) {
- $name = $parent->getTemplateName();
- $this->parent[$name] = $parent;
- $parent = $name;
- } elseif (!isset($this->parent[$parent])) {
- $this->parent[$parent] = $this->env->loadTemplate($parent);
- }
-
- return $this->parent[$parent];
- }
-
- protected function doDisplay(array $context, array $blocks = array())
- {
- $context = array_merge($this->env->getGlobals(), $context);
-
- $this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
- }
-
- // line 3
- public function block_title($context, array $blocks = array())
- {
- echo "Symfony - Welcome";
- }
-
- // line 5
- public function block_content_header($context, array $blocks = array())
- {
- echo "";
- }
-
- // line 7
- public function block_content($context, array $blocks = array())
- {
- // line 8
- echo " <h1>Welcome!</h1>
-
- <p>Congratulations! You have successfully installed a new Symfony application.</p>
-
- <div class=\"symfony-blocks-welcome\">
- <div class=\"block-quick-tour\">
- <div class=\"illustration\">
- <img src=\"";
- // line 15
- echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/acmedemo/images/welcome-quick-tour.gif"), "html");
- echo "\" alt=\"Quick tour\" />
- </div>
- <a class=\"symfony-button-green\" href=\"http://symfony.com/doc/2.0/quick_tour/index.html\">Read the Quick Tour</a>
- </div>
- ";
- // line 19
- if (($this->getAttribute($this->getContext($context, 'app'), "environment", array(), "any", false) == "dev")) {
- // line 20
- echo " <div class=\"block-configure\">
- <div class=\"illustration\">
- <img src=\"";
- // line 22
- echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/acmedemo/images/welcome-configure.gif"), "html");
- echo "\" alt=\"Configure your appication\" />
- </div>
- <a class=\"symfony-button-green\" href=\"";
- // line 24
- echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_configurator_home"), "html");
- echo "\">Configure</a>
- </div>
- ";
- }
- // line 27
- echo " <div class=\"block-demo\">
- <div class=\"illustration\">
- <img src=\"";
- // line 29
- echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/acmedemo/images/welcome-demo.gif"), "html");
- echo "\" alt=\"Demo\" />
- </div>
- <a class=\"symfony-button-green\" href=\"";
- // line 31
- echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_demo"), "html");
- echo "\">Run The Demo</a>
- </div>
- </div>
-
- <div class=\"symfony-blocks-help\">
- <div class=\"block-documentation\">
- <ul>
- <li><strong>Documentation</strong></li>
- <li><a href=\"http://symfony.com/doc/2.0/book/index.html\">The book</a></li>
- <li><a href=\"http://symfony.com/doc/2.0/reference/index.html\">The cookbook</a></li>
- <li><a href=\"http://symfony.com/doc/2.0/glossary/index.html\">Glossary</a></li>
- </ul>
- </div>
- <div class=\"block-documentation-more\">
- <ul>
- <li> </li>
- <li><a href=\"http://symfony.com/doc/2.0/contributing/index.html\">Contributing</a></li>
- <li><a href=\"http://trainings.sensiolabs.com\">Trainings</a></li>
- <li><a href=\"http://books.sensiolabs.com\">Books</a></li>
- </ul>
- </div>
- <div class=\"block-community\">
- <ul>
- <li><strong>Community</strong></li>
- <li><a href=\"http://symfony.com/irc\">IRC channel</a>
- <li><a href=\"http://symfony.com/mailing-lists\">Mailing lists</a></li>
- <li><a href=\"http://forum.symfony-project.org\">Forum</a></li>
- <li><a href=\"http://symfony.com/doc/2.0/contributing/index.html\">How to be involved</a></li>
- <li><a href=\"http://symfony.com/doc/2.0/contributing/index.html\">Contributing</a></li>
- </ul>
- </div>
- </div>
- ";
- }
-
- public function getTemplateName()
- {
- return "AcmeDemoBundle:Welcome:index.html.twig";
- }
-
- public function isTraitable()
- {
- return false;
- }
- }
|