123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- <?php
-
- /* AcmeDemoBundle::layout.html.twig */
- class __TwigTemplate_d83aa5be4f369ef50756a9a88acc0952 extends Twig_Template
- {
- public function __construct(Twig_Environment $env)
- {
- parent::__construct($env);
-
- $this->parent = array();
- $this->blocks = array(
- 'title' => array($this, 'block_title'),
- 'content_header_more' => array($this, 'block_content_header_more'),
- 'content_header' => array($this, 'block_content_header'),
- 'content' => array($this, 'block_content'),
- );
- }
-
- protected function doDisplay(array $context, array $blocks = array())
- {
- $context = array_merge($this->env->getGlobals(), $context);
-
- // line 1
- echo "<!DOCTYPE html>
- <html>
- <head>
- <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />
- <link rel=\"stylesheet\" href=\"";
- // line 5
- echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/acmedemo/css/demo.css"), "html");
- echo "\" type=\"text/css\" media=\"all\" />
- <title>";
- // line 6
- $this->displayBlock('title', $context, $blocks);
- echo "</title>
- <link rel=\"shortcut icon\" href=\"";
- // line 7
- echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("favicon.ico"), "html");
- echo "\" />
- </head>
- <body>
- <div id=\"symfony-wrapper\">
- <div id=\"symfony-header\">
- <a href=\"";
- // line 12
- echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_welcome"), "html");
- echo "\">
- <img src=\"";
- // line 13
- echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/acmedemo/images/logo.gif"), "html");
- echo "\" alt=\"Symfony\">
- </a>
- <form id=\"symfony-search\" method=\"GET\" action=\"http://symfony.com/search\">
- <label for=\"symfony-search-field\"><span>Search on Symfony Website</span></label>
- <input name=\"q\" id=\"symfony-search-field\" type=\"search\" placeholder=\"Search on Symfony website\" class=\"medium_txt\">
- <input type=\"submit\" class=\"symfony-button-grey\" value=\"OK\" />
- </form>
- </div>
-
- ";
- // line 22
- if ($this->getAttribute($this->getAttribute($this->getContext($context, 'app'), "session", array(), "any", false), "flash", array("notice", ), "method", false)) {
- // line 23
- echo " <div class=\"flash-message\">
- <em>Notice</em>: ";
- // line 24
- echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, 'app'), "session", array(), "any", false), "flash", array("notice", ), "method", false), "html");
- echo "
- </div>
- ";
- }
- // line 27
- echo "
- ";
- // line 28
- $this->displayBlock('content_header', $context, $blocks);
- // line 37
- echo "
- <div class=\"symfony-content\">
- ";
- // line 39
- $this->displayBlock('content', $context, $blocks);
- // line 41
- echo " </div>
-
- ";
- // line 43
- if (array_key_exists("code", $context)) {
- // line 44
- echo " <h2>Code behind this page</h2>
- <div class=\"symfony-content\">";
- // line 45
- echo $this->getContext($context, 'code');
- echo "</div>
- ";
- }
- // line 47
- echo " </div>
- </body>
- </html>
- ";
- }
-
- // line 6
- public function block_title($context, array $blocks = array())
- {
- echo "Demo Bundle";
- }
-
- // line 30
- public function block_content_header_more($context, array $blocks = array())
- {
- // line 31
- echo " <li><a href=\"";
- echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_demo"), "html");
- echo "\">Demo Home</a></li>
- ";
- }
-
- // line 28
- public function block_content_header($context, array $blocks = array())
- {
- // line 29
- echo " <ul id=\"menu\">
- ";
- // line 30
- $this->displayBlock('content_header_more', $context, $blocks);
- // line 33
- echo " </ul>
-
- <div style=\"clear: both\"></div>
- ";
- }
-
- // line 39
- public function block_content($context, array $blocks = array())
- {
- // line 40
- echo " ";
- }
-
- public function getTemplateName()
- {
- return "AcmeDemoBundle::layout.html.twig";
- }
-
- public function isTraitable()
- {
- return false;
- }
- }
|