protected function doDisplay(array $context, array $blocks = array()) { $context = array_merge($this->env->getGlobals(), $context); // line 1 if ($this->getContext($context, 'link')) { // line 2 echo " "; ob_start(); // line 3 echo " <a style=\"text-decoration: none; margin: 0; padding: 0;\" href=\""; echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_profiler", array("token" => $this->getContext($context, 'token'), "panel" => $this->getContext($context, 'name'))), "html"); echo "\">"; echo twig_escape_filter($this->env, $this->getContext($context, 'icon'), "html"); echo "</a>\n "; $context['icon'] = new Twig_Markup(ob_get_clean()); } // line 6 echo "<span style=\"white-space:nowrap; color:#2f2f2f; display:inline-block; min-height:24px; border-right:1px solid #cdcdcd; padding:5px 7px 5px 4px; \">\n "; // line 7 echo twig_escape_filter($this->env, twig_test_defined("icon", $context) ? twig_default_filter($this->getContext($context, 'icon'), "") : "", "html"); echo "\n "; // line 8 echo twig_escape_filter($this->env, twig_test_defined("text", $context) ? twig_default_filter($this->getContext($context, 'text'), "") : "", "html"); echo "\n</span>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $context = array_merge($this->env->getGlobals(), $context); // line 1 echo "<!DOCTYPE html>\n<html>\n <head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <link rel=\"stylesheet\" href=\""; // line 5 echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/padelleague/css/demo.css"), "html"); echo "\" type=\"text/css\" media=\"all\" />\n <title>"; // line 6 $this->displayBlock('title', $context, $blocks); echo "</title>\n <link rel=\"shortcut icon\" href=\""; // line 7 echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("favicon.ico"), "html"); echo "\" />\n <script type=\"text/javascript\" src=\" "; // line 8 echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/padelleague/js/jquery-1.6.1.js"), "html"); echo "\"></script> \n <script type=\"text/javascript\" src=\" "; // line 9 echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/padelleague/js/jquery.tablesorter.js"), "html"); echo "\"></script> \n <script type=\"text/javascript\">\n \$(document).ready(function() \n { \n \$(\"#tablesorter-demo\").tablesorter({sortList:[[0,0]], widgets: ['zebra']});\n \$(\"#tablesorter-teams\").tablesorter({sortList:[[0,0]], widgets: ['zebra']});\n \$(\"tr.manager\").click(function(){\n window.location = \$(this).attr(\"url\");\n });\n \n \$(\"tr.manager\").css( 'cursor', 'pointer' );\n \$( \"input.name_field\" ).datepicker();\n }); \n </script>\n <link href=\""; // line 23 echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/padelleague/css/style.css"), "html"); echo "\" rel=\"stylesheet\" type=\"text/css\" />\n <link type=\"text/css\" href=\""; // line 24 echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/padelleague/css/ui-lightness/jquery-ui-1.8.13.custom.css"), "html"); echo "\" rel=\"Stylesheet\" />\t\n <script type=\"text/javascript\" src=\""; // line 25 echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/padelleague/js/jquery-ui-1.8.13.custom.min.js"), "html"); echo "\"></script>\n </head>\n <body>\n <div id=\"symfony-wrapper\">\n <div id=\"symfony-header\">\n </div>\n \n "; // line 32 if ($this->getAttribute($this->getAttribute($this->getContext($context, 'app'), "session", array(), "any", false), "flash", array("notice"), "method", false)) { // line 33 echo " <div class=\"flash-message\">\n <em>Notice</em>: "; // line 34 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 "\n </div>\n "; } // line 37 echo " \n "; // line 38 $this->displayBlock('content_header', $context, $blocks); // line 47 echo "\n <div class=\"symfony-content\">\n "; // line 49 $this->displayBlock('content', $context, $blocks); // line 51 echo " </div>\n\n "; // line 53 if (twig_test_defined("code", $context)) { // line 54 echo " <h2>Code behind this page</h2>\n <div class=\"symfony-content\">"; // line 55 echo $this->getContext($context, 'code'); echo "</div>\n "; } // line 57 echo " </div>\n </body>\n</html>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $context = array_merge($this->env->getGlobals(), $context); // line 1 echo "<!DOCTYPE html>\n<html>\n <head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <link rel=\"stylesheet\" href=\""; // line 5 echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/acmetable/css/demo.css"), "html"); echo "\" type=\"text/css\" media=\"all\" />\n <title>"; // line 6 $this->displayBlock('title', $context, $blocks); echo "</title>\n <link rel=\"shortcut icon\" href=\""; // line 7 echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("favicon.ico"), "html"); echo "\" />\n <script type=\"text/javascript\" src=\" "; // line 8 echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/acmetable/js/jquery-1.6.1.js"), "html"); echo "\"></script> \n <script type=\"text/javascript\" src=\" "; // line 9 echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/acmetable/js/jquery.tablesorter.js"), "html"); echo "\"></script> \n <script type=\"text/javascript\">\n \$(document).ready(function() \n { \n \$(\"#tablesorter-demo\").tablesorter({sortList:[[0,0]], widgets: ['zebra']});\n \$(\"#options\").tablesorter({sortList: [[0,0]], headers: { 3:{sorter: false}, 4:{sorter: false}}});\n } \n \n \n ); \n </script>\n <link href=\""; // line 20 echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/acmetable/css/style.css"), "html"); echo "\" rel=\"stylesheet\" type=\"text/css\" />\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n </head>\n <body>\n <div id=\"symfony-wrapper\">\n <div id=\"symfony-header\">\n </div>\n\n "; // line 28 if ($this->getAttribute($this->getAttribute($this->getContext($context, 'app'), "session", array(), "any", false), "flash", array("notice"), "method", false)) { // line 29 echo " <div class=\"flash-message\">\n <em>Notice</em>: "; // line 30 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 "\n </div>\n "; } // line 33 echo "\n "; // line 34 $this->displayBlock('content_header', $context, $blocks); // line 43 echo "\n <div class=\"symfony-content\">\n "; // line 45 $this->displayBlock('content', $context, $blocks); // line 47 echo " </div>\n\n "; // line 49 if (twig_test_defined("code", $context)) { // line 50 echo " <h2>Code behind this page</h2>\n <div class=\"symfony-content\">"; // line 51 echo $this->getContext($context, 'code'); echo "</div>\n "; } // line 53 echo " </div>\n </body>\n</html>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $context = array_merge($this->env->getGlobals(), $context); // line 1 echo "<!DOCTYPE html>\n<html>\n <head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <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\" />\n <title>"; // line 6 $this->displayBlock('title', $context, $blocks); echo "</title>\n <link rel=\"shortcut icon\" href=\""; // line 7 echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("favicon.ico"), "html"); echo "\" />\n </head>\n <body>\n <div id=\"symfony-wrapper\">\n <div id=\"symfony-header\">\n <a href=\""; // line 12 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_welcome"), "html"); echo "\">\n <img src=\""; // line 13 echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/acmedemo/images/logo.gif"), "html"); echo "\" alt=\"Symfony\">\n </a>\n <form id=\"symfony-search\" method=\"GET\" action=\"http://symfony.com/search\">\n <label for=\"symfony-search-field\"><span>Search on Symfony Website</span></label>\n <input name=\"q\" id=\"symfony-search-field\" type=\"search\" placeholder=\"Search on Symfony website\" class=\"medium_txt\">\n <input type=\"submit\" class=\"symfony-button-grey\" value=\"OK\" />\n </form>\n </div>\n\n "; // 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\">\n <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 "\n </div>\n "; } // line 27 echo "\n "; // line 28 $this->displayBlock('content_header', $context, $blocks); // line 37 echo "\n <div class=\"symfony-content\">\n "; // line 39 $this->displayBlock('content', $context, $blocks); // line 41 echo " </div>\n\n "; // line 43 if (twig_test_defined("code", $context)) { // line 44 echo " <h2>Code behind this page</h2>\n <div class=\"symfony-content\">"; // line 45 echo $this->getContext($context, 'code'); echo "</div>\n "; } // line 47 echo " </div>\n </body>\n</html>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $context = array_merge($this->env->getGlobals(), $context); // line 1 echo "<!DOCTYPE html>\n<html>\n <head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <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\" />\n <title>"; // line 6 $this->displayBlock('title', $context, $blocks); echo "</title>\n <link rel=\"shortcut icon\" href=\""; // line 7 echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("favicon.ico"), "html"); echo "\" />\n </head>\n <body>\n <div id=\"symfony-wrapper\">\n <div id=\"symfony-header\">\n </div>\n \n "; // line 14 if ($this->getAttribute($this->getAttribute($this->getContext($context, 'app'), "session", array(), "any", false), "flash", array("notice"), "method", false)) { // line 15 echo " <div class=\"flash-message\">\n <em>Notice</em>: "; // line 16 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 "\n </div>\n "; } // line 19 echo " \n "; // line 20 $this->displayBlock('content_header', $context, $blocks); // line 29 echo "\n <div class=\"symfony-content\">\n "; // line 31 $this->displayBlock('content', $context, $blocks); // line 33 echo " </div>\n\n "; // line 35 if (twig_test_defined("code", $context)) { // line 36 echo " <h2>Code behind this page</h2>\n <div class=\"symfony-content\">"; // line 37 echo $this->getContext($context, 'code'); echo "</div>\n "; } // line 39 echo " </div>\n </body>\n</html>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $context = array_merge($this->env->getGlobals(), $context); // line 1 echo "<!DOCTYPE html>\n<html>\n <head>\n "; // line 4 $this->displayBlock('head', $context, $blocks); // line 11 echo " </head>\n <body>\n <div id=\"symfony-wrapper\">\n "; // line 14 if ($this->getAttribute($this->getAttribute($this->getContext($context, 'app'), "session", array(), "any", false), "flash", array("notice"), "method", false)) { // line 15 echo " <div class=\"flash-message\">\n <em>Notice</em>: "; // line 16 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 "\n </div>\n "; } // line 19 echo "\n "; // line 20 $this->displayBlock('content_header', $context, $blocks); // line 29 echo "\n <div class=\"symfony-content\">\n "; // line 31 $this->displayBlock('content', $context, $blocks); // line 33 echo " </div>\n\n "; // line 35 if (twig_test_defined("code", $context)) { // line 36 echo " <h2>Code behind this page</h2>\n <div class=\"symfony-content\">"; // line 37 echo $this->getContext($context, 'code'); echo "</div>\n "; } // line 39 echo " </div>\n </body>\n</html>\n"; }
public function block_email_widget($context, array $blocks = array()) { // line 269 ob_start(); // line 270 echo " "; $context['type'] = twig_test_defined("type", $context) ? twig_default_filter($this->getContext($context, 'type'), "email") : "email"; // line 271 echo " "; echo $this->renderBlock("field_widget", $context, $blocks); echo "\n"; echo trim(preg_replace('/>\\s+</', '><', ob_get_clean())); }
public function block_body($context, array $blocks = array()) { // line 4 echo "\n "; // line 5 echo $this->env->getExtension('actions')->renderAction("WebProfilerBundle:Profiler:toolbar", array("token" => $this->getContext($context, 'token'), "position" => "normal"), array()); // line 6 echo "\n <div id=\"content\">\n "; // line 8 $this->env->loadTemplate("WebProfilerBundle:Profiler:header.html.twig")->display(array()); // line 9 echo "\n "; // line 10 if ($this->getContext($context, 'profile')) { // line 11 echo " <div id=\"resume\">\n <p>\n <strong><a href=\""; // line 13 echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, 'profile'), "url", array(), "any", false), "html"); echo "\">"; echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, 'profile'), "url", array(), "any", false), "html"); echo "</a></strong>\n <span class=\"date\">\n <strong>by "; // line 15 echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, 'profile'), "ip", array(), "any", false), "html"); echo "</strong> at <strong>"; echo twig_escape_filter($this->env, twig_date_format_filter($this->getAttribute($this->getContext($context, 'profile'), "time", array(), "any", false), "r"), "html"); echo "</strong>\n </span>\n </p>\n </div>\n "; } // line 20 echo "\n <div id=\"main\">\n \n <div class=\"clear_fix\">\n <div id=\"collector_wrapper\">\n <div id=\"collector_content\">\n "; // line 26 $this->displayBlock('panel', $context, $blocks); // line 27 echo " </div>\n </div>\n <div id=\"navigation\">\n "; // line 30 if (twig_test_defined("templates", $context)) { // line 31 echo " <ul id=\"menu_profiler\">\n "; // line 32 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getContext($context, 'templates')); foreach ($context['_seq'] as $context['name'] => $context['template']) { // line 33 echo " "; ob_start(); echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, 'template'), "renderBlock", array("menu", array("collector" => $this->getAttribute($this->getContext($context, 'profile'), "getcollector", array($this->getContext($context, 'name')), "method", false))), "method", false), "html"); $context['menu'] = new Twig_Markup(ob_get_clean()); // line 34 echo " "; if ($this->getContext($context, 'menu') != "") { // line 35 echo " <li class=\""; echo twig_escape_filter($this->env, $this->getContext($context, 'name'), "html"); if ($this->getContext($context, 'name') == $this->getContext($context, 'panel')) { echo " selected"; } echo "\">\n <a href=\""; // line 36 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_profiler", array("token" => $this->getContext($context, 'token'), "panel" => $this->getContext($context, 'name'))), "html"); echo "\">"; echo $this->getContext($context, 'menu'); echo "</a>\n </li>\n "; } // line 39 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['name'], $context['template'], $context['_parent'], $context['loop']); $context = array_merge($_parent, array_intersect_key($context, $_parent)); // line 40 echo " </ul>\n "; } // line 42 echo " "; echo $this->env->getExtension('actions')->renderAction("WebProfilerBundle:Profiler:searchBar", array(), array()); // line 43 echo " "; $this->env->loadTemplate("WebProfilerBundle:Profiler:admin.html.twig")->display(array("token" => $this->getContext($context, 'token'))); // line 44 echo " </div>\n </div>\n </div>\n </div>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $context = array_merge($this->env->getGlobals(), $context); // line 2 echo "\n"; // line 3 if ($this->getContext($context, 'pageCount') > 1) { // line 4 echo "<div class=\"pagination\">\n\t"; // line 5 if (twig_test_defined("first", $context) && $this->getContext($context, 'current') != $this->getContext($context, 'first')) { // line 6 echo " <span class=\"first\">\n \t<a href=\""; // line 7 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath($this->getContext($context, 'route'), twig_array_merge($this->getContext($context, 'query'), array("page" => $this->getContext($context, 'first')))), "html"); echo "\"><<</a>\n </span>\n "; } // line 10 echo "\n "; // line 11 if (twig_test_defined("previous", $context)) { // line 12 echo " <span class=\"previous\">\n \t<a href=\""; // line 13 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath($this->getContext($context, 'route'), twig_array_merge($this->getContext($context, 'query'), array("page" => $this->getContext($context, 'previous')))), "html"); echo "\"><</a>\n </span>\n "; } // line 16 echo "\n "; // line 17 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getContext($context, 'pagesInRange')); foreach ($context['_seq'] as $context['_key'] => $context['page']) { // line 18 echo " "; if ($this->getContext($context, 'page') != $this->getContext($context, 'current')) { // line 19 echo " <span class=\"page\">\n \t<a href=\""; // line 20 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath($this->getContext($context, 'route'), twig_array_merge($this->getContext($context, 'query'), array("page" => $this->getContext($context, 'page')))), "html"); echo "\">"; echo twig_escape_filter($this->env, $this->getContext($context, 'page'), "html"); echo "</a>\n </span>\n "; } else { // line 23 echo " <span class=\"current\">"; echo twig_escape_filter($this->env, $this->getContext($context, 'page'), "html"); echo "</span>\n "; } // line 25 echo "\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['page'], $context['_parent'], $context['loop']); $context = array_merge($_parent, array_intersect_key($context, $_parent)); // line 27 echo "\n "; // line 28 if (twig_test_defined("next", $context)) { // line 29 echo " <span class=\"next\">\n \t<a href=\""; // line 30 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath($this->getContext($context, 'route'), twig_array_merge($this->getContext($context, 'query'), array("page" => $this->getContext($context, 'next')))), "html"); echo "\">></a>\n </span>\n "; } // line 33 echo "\n "; // line 34 if (twig_test_defined("last", $context) && $this->getContext($context, 'current') != $this->getContext($context, 'last')) { // line 35 echo " <span class=\"last\">\n \t<a href=\""; // line 36 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath($this->getContext($context, 'route'), twig_array_merge($this->getContext($context, 'query'), array("page" => $this->getContext($context, 'last')))), "html"); echo "\">>></a>\n </span>\n "; } // line 39 echo "</div>\n"; } }