protected function doDisplay(array $context, array $blocks = array()) { $__internal_f6bc9ae49f4e000e9d80b99bfed322914549c10eb33e156d4dac0f0e5e55b51d = $this->env->getExtension("native_profiler"); $__internal_f6bc9ae49f4e000e9d80b99bfed322914549c10eb33e156d4dac0f0e5e55b51d->enter($__internal_f6bc9ae49f4e000e9d80b99bfed322914549c10eb33e156d4dac0f0e5e55b51d_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@Twig/Exception/logs.html.twig")); // line 1 echo "<ol class=\"traces logs\">\n "; // line 2 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(isset($context["logs"]) ? $context["logs"] : $this->getContext($context, "logs")); foreach ($context['_seq'] as $context["_key"] => $context["log"]) { // line 3 echo " <li"; if ($this->getAttribute($context["log"], "priority", array()) >= 400) { echo " class=\"error\""; } elseif ($this->getAttribute($context["log"], "priority", array()) >= 300) { echo " class=\"warning\""; } echo ">\n "; // line 4 echo twig_escape_filter($this->env, $this->getAttribute($context["log"], "priorityName", array()), "html", null, true); echo " - "; echo twig_escape_filter($this->env, $this->getAttribute($context["log"], "message", array()), "html", null, true); echo "\n </li>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['log'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 7 echo "</ol>\n"; $__internal_f6bc9ae49f4e000e9d80b99bfed322914549c10eb33e156d4dac0f0e5e55b51d->leave($__internal_f6bc9ae49f4e000e9d80b99bfed322914549c10eb33e156d4dac0f0e5e55b51d_prof); }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "<ol class=\"traces logs\">\n "; // line 2 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(isset($context["logs"]) ? $context["logs"] : null); foreach ($context['_seq'] as $context["_key"] => $context["log"]) { // line 3 echo " <li"; if ($this->getAttribute($context["log"], "priority", array()) >= 400) { echo " class=\"error\""; } elseif ($this->getAttribute($context["log"], "priority", array()) >= 300) { echo " class=\"warning\""; } echo ">\n "; // line 4 echo twig_escape_filter($this->env, $this->getAttribute($context["log"], "priorityName", array()), "html", null, true); echo " - "; echo twig_escape_filter($this->env, $this->getAttribute($context["log"], "message", array()), "html", null, true); echo "\n </li>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['log'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 7 echo "</ol>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_82a0e2110829e05d04d509aaad606161779028bbabd90aadd2356846d70947b9 = $this->env->getExtension("native_profiler"); $__internal_82a0e2110829e05d04d509aaad606161779028bbabd90aadd2356846d70947b9->enter($__internal_82a0e2110829e05d04d509aaad606161779028bbabd90aadd2356846d70947b9_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "TwigBundle:Exception:exception.txt.twig")); // line 1 echo "[exception] "; echo (isset($context["status_code"]) ? $context["status_code"] : $this->getContext($context, "status_code")) . " | " . (isset($context["status_text"]) ? $context["status_text"] : $this->getContext($context, "status_text")) . " | " . $this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "class", array()); echo "\n[message] "; // line 2 echo $this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "message", array()); echo "\n"; // line 3 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "toarray", array())); foreach ($context['_seq'] as $context["i"] => $context["e"]) { // line 4 echo "["; echo $context["i"] + 1; echo "] "; echo $this->getAttribute($context["e"], "class", array()); echo ": "; echo $this->getAttribute($context["e"], "message", array()); echo "\n"; // line 5 $this->loadTemplate("TwigBundle:Exception:traces.txt.twig", "TwigBundle:Exception:exception.txt.twig", 5)->display(array("exception" => $context["e"])); // line 6 echo "\n"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['i'], $context['e'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; $__internal_82a0e2110829e05d04d509aaad606161779028bbabd90aadd2356846d70947b9->leave($__internal_82a0e2110829e05d04d509aaad606161779028bbabd90aadd2356846d70947b9_prof); }
public function block_content($context, array $blocks = array()) { // line 10 echo "<table class=\"records_list table table-hover table-striped table-bordered table-condensed\">\n <thead>\n <tr>\n <th>Id</th>\n <th>Nombre</th>\n <th>Actions</th>\n </tr>\n </thead>\n <tbody>\n "; // line 19 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["entities"]) ? $context["entities"] : $this->getContext($context, "entities")); foreach ($context['_seq'] as $context["_key"] => $context["entity"]) { // line 20 echo " <tr>\n <td><a href=\""; // line 21 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("clasificadoretapa_show", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id"))), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id"), "html", null, true); echo "</a></td>\n <td>"; // line 22 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "nombre"), "html", null, true); echo "</td>\n <td>\n <ul>\n <li>\n <a href=\""; // line 26 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("clasificadoretapa_show", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id"))), "html", null, true); echo "\">show</a>\n </li>\n <li>\n <a href=\""; // line 29 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("clasificadoretapa_edit", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id"))), "html", null, true); echo "\">edit</a>\n </li>\n </ul>\n </td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entity'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 35 echo " </tbody>\n </table>\n\n <ul>\n <li>\n <a href=\""; // line 40 echo $this->env->getExtension('routing')->getPath("clasificadoretapa_new"); echo "\">\n Create a new entry\n </a>\n </li>\n </ul>\n "; }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "<table "; if (array_key_exists("class", $context)) { echo "class='"; echo twig_escape_filter($this->env, isset($context["class"]) ? $context["class"] : $this->getContext($context, "class"), "html", null, true); echo "'"; } echo " >\n <thead>\n <tr>\n <th scope=\"col\">Key</th>\n <th scope=\"col\">Value</th>\n </tr>\n </thead>\n <tbody>\n "; // line 9 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->getAttribute(isset($context["bag"]) ? $context["bag"] : $this->getContext($context, "bag"), "keys", array()))); foreach ($context['_seq'] as $context["_key"] => $context["key"]) { // line 10 echo " <tr>\n <th>"; // line 11 echo twig_escape_filter($this->env, $context["key"], "html", null, true); echo "</th>\n "; // line 13 echo " <td>"; echo twig_escape_filter($this->env, twig_jsonencode_filter($this->getAttribute(isset($context["bag"]) ? $context["bag"] : $this->getContext($context, "bag"), "get", array(0 => $context["key"]), "method"), 64 | 256), "html", null, true); echo "</td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['key'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 16 echo " </tbody>\n</table>\n"; }
public function block_body($context, array $blocks = array()) { // line 11 echo " "; $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute($this->getAttribute(isset($context["app"]) ? $context["app"] : $this->getContext($context, "app"), "session"), "flashbag"), "get", array(0 => "notice"), "method")); foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) { // line 12 echo " <div class=\"flash-message\">\n <em>Notice</em>: "; // line 13 echo twig_escape_filter($this->env, isset($context["flashMessage"]) ? $context["flashMessage"] : $this->getContext($context, "flashMessage"), "html", null, true); echo "\n </div>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashMessage'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 16 echo "\n "; // line 17 $this->displayBlock('content_header', $context, $blocks); // line 26 echo "\n <div class=\"block\">\n "; // line 28 $this->displayBlock('content', $context, $blocks); // line 29 echo " </div>\n\n "; // line 31 if (array_key_exists("code", $context)) { // line 32 echo " <h2>Code behind this page</h2>\n <div class=\"block\">\n <div class=\"symfony-content\">"; // line 34 echo isset($context["code"]) ? $context["code"] : $this->getContext($context, "code"); echo "</div>\n </div>\n "; } }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "[exception] "; echo (isset($context["status_code"]) ? $context["status_code"] : null) . " | " . (isset($context["status_text"]) ? $context["status_text"] : null) . " | " . $this->getAttribute(isset($context["exception"]) ? $context["exception"] : null, "class", array()); echo "\n[message] "; // line 2 echo $this->getAttribute(isset($context["exception"]) ? $context["exception"] : null, "message", array()); echo "\n"; // line 3 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["exception"]) ? $context["exception"] : null, "toarray", array())); foreach ($context['_seq'] as $context["i"] => $context["e"]) { // line 4 echo "["; echo $context["i"] + 1; echo "] "; echo $this->getAttribute($context["e"], "class", array()); echo ": "; echo $this->getAttribute($context["e"], "message", array()); echo "\n"; // line 5 $this->loadTemplate("TwigBundle:Exception:traces.txt.twig", "TwigBundle:Exception:exception.txt.twig", 5)->display(array("exception" => $context["e"])); // line 6 echo "\n"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['i'], $context['e'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_5d013e2c33d1e89ee3dbac3863b54372b2d7fe46b0804537e2368bd4167ff011 = $this->env->getExtension("native_profiler"); $__internal_5d013e2c33d1e89ee3dbac3863b54372b2d7fe46b0804537e2368bd4167ff011->enter($__internal_5d013e2c33d1e89ee3dbac3863b54372b2d7fe46b0804537e2368bd4167ff011_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@Twig/Exception/logs.html.twig")); // line 1 echo "<ol class=\"traces logs\">\n "; // line 2 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(isset($context["logs"]) ? $context["logs"] : $this->getContext($context, "logs")); foreach ($context['_seq'] as $context["_key"] => $context["log"]) { // line 3 echo " <li"; if ($this->getAttribute($context["log"], "priority", array()) >= 400) { echo " class=\"error\""; } elseif ($this->getAttribute($context["log"], "priority", array()) >= 300) { echo " class=\"warning\""; } echo ">\n "; // line 4 echo twig_escape_filter($this->env, $this->getAttribute($context["log"], "priorityName", array()), "html", null, true); echo " - "; echo twig_escape_filter($this->env, $this->getAttribute($context["log"], "message", array()), "html", null, true); echo "\n </li>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['log'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 7 echo "</ol>\n"; $__internal_5d013e2c33d1e89ee3dbac3863b54372b2d7fe46b0804537e2368bd4167ff011->leave($__internal_5d013e2c33d1e89ee3dbac3863b54372b2d7fe46b0804537e2368bd4167ff011_prof); }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "<?xml version=\"1.0\" encoding=\""; echo twig_escape_filter($this->env, $this->env->getCharset(), "html", null, true); echo "\" ?>\n\n<error code=\""; // line 3 echo twig_escape_filter($this->env, isset($context["status_code"]) ? $context["status_code"] : $this->getContext($context, "status_code"), "html", null, true); echo "\" message=\""; echo twig_escape_filter($this->env, isset($context["status_text"]) ? $context["status_text"] : $this->getContext($context, "status_text"), "html", null, true); echo "\">\n"; // line 4 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "toarray", array())); foreach ($context['_seq'] as $context["_key"] => $context["e"]) { // line 5 echo " <exception class=\""; echo twig_escape_filter($this->env, $this->getAttribute($context["e"], "class", array()), "html", null, true); echo "\" message=\""; echo twig_escape_filter($this->env, $this->getAttribute($context["e"], "message", array()), "html", null, true); echo "\">\n"; // line 6 $this->loadTemplate("TwigBundle:Exception:traces.xml.twig", "TwigBundle:Exception:exception.xml.twig", 6)->display(array("exception" => $context["e"])); // line 7 echo " </exception>\n"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['e'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 9 echo "</error>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "[exception] "; echo twig_escape_filter($this->env, (isset($context["status_code"]) ? $context["status_code"] : $this->getContext($context, "status_code")) . " | " . (isset($context["status_text"]) ? $context["status_text"] : $this->getContext($context, "status_text")) . " | " . $this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "class"), "html", null, true); echo "\n[message] "; // line 2 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "message"), "html", null, true); echo "\n"; // line 3 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "toarray")); foreach ($context['_seq'] as $context["i"] => $context["e"]) { // line 4 echo "["; echo twig_escape_filter($this->env, (isset($context["i"]) ? $context["i"] : $this->getContext($context, "i")) + 1, "html", null, true); echo "] "; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "class"), "html", null, true); echo ": "; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "message"), "html", null, true); echo "\n"; // line 5 $this->env->loadTemplate("TwigBundle:Exception:traces.txt.twig")->display(array("exception" => isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"))); // line 6 echo "\n"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['i'], $context['e'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "<div class=\"btn-group\">\n "; // line 2 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute(isset($context["app"]) ? $context["app"] : null, "config", array()), "get", array(0 => "contenttypes"), "method")); foreach ($context['_seq'] as $context["contenttypeslug"] => $context["contenttype"]) { // line 3 echo " "; if ($this->env->getExtension('Bolt')->isAllowed("contenttype:" . $context["contenttypeslug"] . ":create") && $this->env->getExtension('Bolt')->isAllowed("contenttype:" . $context["contenttypeslug"] . ":view")) { // line 4 echo " <a class=\"btn btn-default\" href=\""; echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("editcontent", array("contenttypeslug" => $context["contenttypeslug"])), "html", null, true); echo "\">\n <i class=\"fa fa-plus\"></i> "; // line 5 echo $this->env->getExtension('Bolt')->trans("contenttypes.generic.new", array("%contenttype%" => $context["contenttypeslug"])); echo "\n </a>\n "; } // line 8 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['contenttypeslug'], $context['contenttype'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 9 echo "</div>\n"; }
public function block_content($context, array $blocks = array()) { $__internal_0beace1c1ded6a240615130c94c562ef6bdff055ff856ba7ec49189a88deffae = $this->env->getExtension("native_profiler"); $__internal_0beace1c1ded6a240615130c94c562ef6bdff055ff856ba7ec49189a88deffae->enter($__internal_0beace1c1ded6a240615130c94c562ef6bdff055ff856ba7ec49189a88deffae_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "content")); // line 4 echo " <h2>Item List</h2>\n <ul>\n "; // line 6 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["items"]) ? $context["items"] : $this->getContext($context, "items")); foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 7 echo " <li><a href=\""; echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("item-detail", array("id" => $this->getAttribute($context["item"], "id", array()))), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "name", array()), "html", null, true); echo "</a> | <a href=\""; echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("item-edit", array("id" => $this->getAttribute($context["item"], "id", array()))), "html", null, true); echo "\">Edit</a> - <a href=\""; echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("item-delete", array("id" => $this->getAttribute($context["item"], "id", array()))), "html", null, true); echo "\">Delete</a></li>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 9 echo " </ul>\n <a href=\"\">Add New</a>\n"; $__internal_0beace1c1ded6a240615130c94c562ef6bdff055ff856ba7ec49189a88deffae->leave($__internal_0beace1c1ded6a240615130c94c562ef6bdff055ff856ba7ec49189a88deffae_prof); }
protected function doDisplay(array $context, array $blocks = array()) { $tags = array("if" => 22, "for" => 33); $filters = array(); $functions = array(); try { $this->env->getExtension('sandbox')->checkSecurity(array('if', 'for'), array(), array()); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 22 if (isset($context["multiple"]) ? $context["multiple"] : null) { // line 23 echo " <div class=\"js-form-item form-item\">\n "; // line 24 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["table"]) ? $context["table"] : null, "html", null, true)); echo "\n "; // line 25 if ($this->getAttribute(isset($context["description"]) ? $context["description"] : null, "content", array())) { // line 26 echo " <div"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["description"]) ? $context["description"] : null, "attributes", array()), "addClass", array(0 => "description"), "method"), "html", null, true)); echo " >"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["description"]) ? $context["description"] : null, "content", array()), "html", null, true)); echo "</div>\n "; } // line 28 echo " "; if (isset($context["button"]) ? $context["button"] : null) { // line 29 echo " <div class=\"clearfix\">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["button"]) ? $context["button"] : null, "html", null, true)); echo "</div>\n "; } // line 31 echo " </div>\n"; } else { // line 33 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(isset($context["elements"]) ? $context["elements"] : null); foreach ($context['_seq'] as $context["_key"] => $context["element"]) { // line 34 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $context["element"], "html", null, true)); echo "\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['element'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_c1163754d0e4d1281a554d1d1a36e672ce0044b5a7e9e9ea63c91155a4ffe018 = $this->env->getExtension("native_profiler"); $__internal_c1163754d0e4d1281a554d1d1a36e672ce0044b5a7e9e9ea63c91155a4ffe018->enter($__internal_c1163754d0e4d1281a554d1d1a36e672ce0044b5a7e9e9ea63c91155a4ffe018_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "ReportsBundle:Default:bloodFilter.html.twig")); // line 1 echo "<ul class=\"submenu\">\n"; // line 2 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["elems"]) ? $context["elems"] : $this->getContext($context, "elems")); foreach ($context['_seq'] as $context["_key"] => $context["e"]) { // line 3 echo " <li class=\"disabled\">\n <a id=\""; // line 4 echo twig_escape_filter($this->env, $this->getAttribute($context["e"], "id", array()), "html", null, true); echo "\" name=\""; echo twig_escape_filter($this->env, $this->getAttribute($context["e"], "text", array()), "html", null, true); echo "\" class=\"blood\">\n <i class=\"icon-double-angle-right\"></i>\n "; // line 6 echo twig_escape_filter($this->env, $this->getAttribute($context["e"], "text", array()), "html", null, true); echo "\n </a>\n </li>\n"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['e'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 10 echo "</ul>\n\n\n\n"; $__internal_c1163754d0e4d1281a554d1d1a36e672ce0044b5a7e9e9ea63c91155a4ffe018->leave($__internal_c1163754d0e4d1281a554d1d1a36e672ce0044b5a7e9e9ea63c91155a4ffe018_prof); }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_50c4d1ea1f9cf5530087b308bea560ca82a1653a63c844d1ce82a7b199781db7 = $this->env->getExtension("native_profiler"); $__internal_50c4d1ea1f9cf5530087b308bea560ca82a1653a63c844d1ce82a7b199781db7->enter($__internal_50c4d1ea1f9cf5530087b308bea560ca82a1653a63c844d1ce82a7b199781db7_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "EsieaBlogBundle:Advert:menu.html.twig")); // line 2 echo "\n"; // line 5 echo "\n<ul class=\"nav nav-pills nav-stacked\">\n "; // line 7 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(isset($context["listAdverts"]) ? $context["listAdverts"] : $this->getContext($context, "listAdverts")); foreach ($context['_seq'] as $context["_key"] => $context["advert"]) { // line 8 echo " <li>\n <a href=\""; // line 9 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("esiea_blog_view", array("id" => $this->getAttribute($context["advert"], "id", array()))), "html", null, true); echo "\">\n "; // line 10 echo twig_escape_filter($this->env, $this->getAttribute($context["advert"], "titre", array()), "html", null, true); echo "\n </a>\n </li>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['advert'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 14 echo "</ul>"; $__internal_50c4d1ea1f9cf5530087b308bea560ca82a1653a63c844d1ce82a7b199781db7->leave($__internal_50c4d1ea1f9cf5530087b308bea560ca82a1653a63c844d1ce82a7b199781db7_prof); }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_b3d1a8db5a0cb6995c17e8ced2d163913a69dd9ffd0d2fd87aa1905ec69b25a8 = $this->env->getExtension("native_profiler"); $__internal_b3d1a8db5a0cb6995c17e8ced2d163913a69dd9ffd0d2fd87aa1905ec69b25a8->enter($__internal_b3d1a8db5a0cb6995c17e8ced2d163913a69dd9ffd0d2fd87aa1905ec69b25a8_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "TwigBundle:Exception:exception.xml.twig")); // line 1 echo "<?xml version=\"1.0\" encoding=\""; echo twig_escape_filter($this->env, $this->env->getCharset(), "html", null, true); echo "\" ?>\n\n<error code=\""; // line 3 echo twig_escape_filter($this->env, isset($context["status_code"]) ? $context["status_code"] : $this->getContext($context, "status_code"), "html", null, true); echo "\" message=\""; echo twig_escape_filter($this->env, isset($context["status_text"]) ? $context["status_text"] : $this->getContext($context, "status_text"), "html", null, true); echo "\">\n"; // line 4 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "toarray", array())); foreach ($context['_seq'] as $context["_key"] => $context["e"]) { // line 5 echo " <exception class=\""; echo twig_escape_filter($this->env, $this->getAttribute($context["e"], "class", array()), "html", null, true); echo "\" message=\""; echo twig_escape_filter($this->env, $this->getAttribute($context["e"], "message", array()), "html", null, true); echo "\">\n"; // line 6 $this->loadTemplate("TwigBundle:Exception:traces.xml.twig", "TwigBundle:Exception:exception.xml.twig", 6)->display(array("exception" => $context["e"])); // line 7 echo " </exception>\n"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['e'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 9 echo "</error>\n"; $__internal_b3d1a8db5a0cb6995c17e8ced2d163913a69dd9ffd0d2fd87aa1905ec69b25a8->leave($__internal_b3d1a8db5a0cb6995c17e8ced2d163913a69dd9ffd0d2fd87aa1905ec69b25a8_prof); }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_bd8ab5ffb8d570ebe8c29c3e18ca1f9d011bc35f2f432c4c2dc37e17e1a4f838 = $this->env->getExtension("native_profiler"); $__internal_bd8ab5ffb8d570ebe8c29c3e18ca1f9d011bc35f2f432c4c2dc37e17e1a4f838->enter($__internal_bd8ab5ffb8d570ebe8c29c3e18ca1f9d011bc35f2f432c4c2dc37e17e1a4f838_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "TwigBundle:Exception:logs.html.twig")); // line 1 echo "<ol class=\"traces logs\">\n "; // line 2 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["logs"]) ? $context["logs"] : $this->getContext($context, "logs")); foreach ($context['_seq'] as $context["_key"] => $context["log"]) { // line 3 echo " <li"; if ($this->getAttribute($context["log"], "priority", array()) >= 400) { echo " class=\"error\""; } elseif ($this->getAttribute($context["log"], "priority", array()) >= 300) { echo " class=\"warning\""; } echo ">\n "; // line 4 echo twig_escape_filter($this->env, $this->getAttribute($context["log"], "priorityName", array()), "html", null, true); echo " - "; echo twig_escape_filter($this->env, $this->getAttribute($context["log"], "message", array()), "html", null, true); echo "\n </li>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['log'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 7 echo "</ol>\n"; $__internal_bd8ab5ffb8d570ebe8c29c3e18ca1f9d011bc35f2f432c4c2dc37e17e1a4f838->leave($__internal_bd8ab5ffb8d570ebe8c29c3e18ca1f9d011bc35f2f432c4c2dc37e17e1a4f838_prof); }
public function block_body($context, array $blocks = array()) { // line 4 echo "\t<table class=\"table\">\n\t\t<tr>\n\t\t\t<th>Id</th>\n\t\t\t<th>Location</th>\n\t\t\t<th>Position</th>\n\t\t\t<th>Company</th>\n\t\t</tr>\n "; // line 11 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["jobs"]) ? $context["jobs"] : null); foreach ($context['_seq'] as $context["_key"] => $context["job"]) { // line 12 echo " \t<tr>\n \t\t<td>"; // line 13 echo twig_escape_filter($this->env, $this->getAttribute($context["job"], "id", array()), "html", null, true); echo "</td>\n \t\t<td>"; // line 14 echo twig_escape_filter($this->env, $this->getAttribute($context["job"], "location", array()), "html", null, true); echo "</td>\n \t\t<td>"; // line 15 echo twig_escape_filter($this->env, $this->getAttribute($context["job"], "position", array()), "html", null, true); echo "</td>\n \t\t<td>"; // line 16 echo twig_escape_filter($this->env, $this->getAttribute($context["job"], "company", array()), "html", null, true); echo "</td>\n \t</tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['job'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 19 echo " </table>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { // line 18 if (isset($context["title"]) ? $context["title"] : null) { // line 19 echo " <h3>"; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title"]) ? $context["title"] : null, "html", null, true); echo "</h3>\n"; } // line 21 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["rows"]) ? $context["rows"] : null); foreach ($context['_seq'] as $context["_key"] => $context["row"]) { // line 22 echo " "; // line 23 $context["row_classes"] = array(0 => isset($context["default_row_class"]) ? $context["default_row_class"] : null ? "views-row" : ""); // line 27 echo " <div"; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute($context["row"], "attributes", array()), "addClass", array(0 => isset($context["row_classes"]) ? $context["row_classes"] : null), "method"), "html", null, true); echo ">\n "; // line 28 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["row"], "content", array()), "html", null, true); echo "\n </div>\n"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; }
public function block_block($context, array $blocks = array()) { // line 14 echo " <h3 class=\"sonata-feed-title\">"; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["settings"]) ? $context["settings"] : $this->getContext($context, "settings"), "title"), "html", null, true); echo "</h3>\n\n <div class=\"sonata-feeds-container\">\n "; // line 17 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["feeds"]) ? $context["feeds"] : $this->getContext($context, "feeds")); $context['_iterated'] = false; foreach ($context['_seq'] as $context["_key"] => $context["feed"]) { // line 18 echo " <div>\n <strong><a href=\""; // line 19 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["feed"]) ? $context["feed"] : $this->getContext($context, "feed"), "link"), "html", null, true); echo "\" rel=\"nofollow\" title=\""; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["feed"]) ? $context["feed"] : $this->getContext($context, "feed"), "title"), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["feed"]) ? $context["feed"] : $this->getContext($context, "feed"), "title"), "html", null, true); echo "</a></strong>\n <div>"; // line 20 echo $this->getAttribute(isset($context["feed"]) ? $context["feed"] : $this->getContext($context, "feed"), "description"); echo "</div>\n </div>\n "; $context['_iterated'] = true; } if (!$context['_iterated']) { // line 23 echo " No feeds available.\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['feed'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 25 echo " </div>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "<div class=\"form-group\">\n <form> \n <input id=\"id_user\" type=\"hidden\" value=\"\" placeholder=\"id\">\n <input id=\"id_login\" type=\"text\" value=\"\" placeholder=\"Login\">\n <input id=\"id_passe\" type=\"text\" value=\"\" placeholder=\"Mote de passe\"> \n <input type=\"button\" onclick=\"UsrValider()\" value=\"Valider\" id=\"btnValUser\">\n <input type=\"button\" onclick=\"userModifier()\" value=\"Modifier\" id=\"btnModUser\" style=\"display: none\"> \n </form>\n</div>\n\n\n<div class=\"panel-body\">\n <div class=\"table-responsive\">\n <table class=\"table table-bordered table-hover table-striped\">\n <thead>\n <tr>\n <th>Id</th>\n <th>Logim</th>\n <th>Mot de Passe</th>\n <th> </th>\n <th> </th>\n </tr>\n </thead>\n <tbody>\n "; // line 25 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["users"]) ? $context["users"] : $this->getContext($context, "users")); foreach ($context['_seq'] as $context["_key"] => $context["u"]) { // line 26 echo " <tr>\n <td>"; // line 27 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["u"]) ? $context["u"] : $this->getContext($context, "u"), "id"), "html", null, true); echo "</td>\n <td>\n <a href='#' onclick=\"UsrAfficher("; // line 29 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["u"]) ? $context["u"] : $this->getContext($context, "u"), "id"), "html", null, true); echo ")\">\n "; // line 30 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["u"]) ? $context["u"] : $this->getContext($context, "u"), "login"), "html", null, true); echo "\n </a>\n </td>\n <td>"; // line 33 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["u"]) ? $context["u"] : $this->getContext($context, "u"), "password"), "html", null, true); echo "</td>\n <td></td>\n <td> <a href=\"#\" onclick=\"supprimer("; // line 35 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["u"]) ? $context["u"] : $this->getContext($context, "u"), "id"), "html", null, true); echo ")\" > Supprimer</a></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['u'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 38 echo " </tbody>\n </table>\n </div> \n</div>\n</div>\n</div>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_94c3e27321f6b1679573f3b1b439f01a774b63ad3a9847923a40039bd86b68ae = $this->env->getExtension("native_profiler"); $__internal_94c3e27321f6b1679573f3b1b439f01a774b63ad3a9847923a40039bd86b68ae->enter($__internal_94c3e27321f6b1679573f3b1b439f01a774b63ad3a9847923a40039bd86b68ae_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "TwigBundle:Exception:exception.txt.twig")); // line 1 echo "[exception] "; echo (isset($context["status_code"]) ? $context["status_code"] : $this->getContext($context, "status_code")) . " | " . (isset($context["status_text"]) ? $context["status_text"] : $this->getContext($context, "status_text")) . " | " . $this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "class", array()); echo "\n[message] "; // line 2 echo $this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "message", array()); echo "\n"; // line 3 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "toarray", array())); foreach ($context['_seq'] as $context["i"] => $context["e"]) { // line 4 echo "["; echo $context["i"] + 1; echo "] "; echo $this->getAttribute($context["e"], "class", array()); echo ": "; echo $this->getAttribute($context["e"], "message", array()); echo "\n"; // line 5 $this->loadTemplate("@Twig/Exception/traces.txt.twig", "TwigBundle:Exception:exception.txt.twig", 5)->display(array("exception" => $context["e"])); // line 6 echo "\n"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['i'], $context['e'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; $__internal_94c3e27321f6b1679573f3b1b439f01a774b63ad3a9847923a40039bd86b68ae->leave($__internal_94c3e27321f6b1679573f3b1b439f01a774b63ad3a9847923a40039bd86b68ae_prof); }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_a799df460f3a7d8d63eda2c7a1cd47b222cb5c16ffcb312bb111083342f5606e = $this->env->getExtension("native_profiler"); $__internal_a799df460f3a7d8d63eda2c7a1cd47b222cb5c16ffcb312bb111083342f5606e->enter($__internal_a799df460f3a7d8d63eda2c7a1cd47b222cb5c16ffcb312bb111083342f5606e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "TwigBundle:Exception:exception.txt.twig")); // line 1 echo "[exception] "; echo (isset($context["status_code"]) ? $context["status_code"] : $this->getContext($context, "status_code")) . " | " . (isset($context["status_text"]) ? $context["status_text"] : $this->getContext($context, "status_text")) . " | " . $this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "class", array()); echo "\n[message] "; // line 2 echo $this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "message", array()); echo "\n"; // line 3 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "toarray", array())); foreach ($context['_seq'] as $context["i"] => $context["e"]) { // line 4 echo "["; echo $context["i"] + 1; echo "] "; echo $this->getAttribute($context["e"], "class", array()); echo ": "; echo $this->getAttribute($context["e"], "message", array()); echo "\n"; // line 5 $this->loadTemplate("TwigBundle:Exception:traces.txt.twig", "TwigBundle:Exception:exception.txt.twig", 5)->display(array("exception" => $context["e"])); // line 6 echo "\n"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['i'], $context['e'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; $__internal_a799df460f3a7d8d63eda2c7a1cd47b222cb5c16ffcb312bb111083342f5606e->leave($__internal_a799df460f3a7d8d63eda2c7a1cd47b222cb5c16ffcb312bb111083342f5606e_prof); }
public function block_body($context, array $blocks = array()) { // line 4 echo "<h1>Noticias</h1>\n\n \n <tbody>\n "; // line 8 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["tabla"]) ? $context["tabla"] : $this->getContext($context, "tabla")); foreach ($context['_seq'] as $context["_key"] => $context["entity"]) { // line 9 echo " \n <a href=\""; // line 10 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("noticias_show", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id"))), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "tituloNoticias"), "html", null, true); echo "</a><br>\n \n <img src=\""; // line 12 echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/uniseries/imagenes/" . $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "fotoNoticias") . ""), "html", null, true); echo "\" width=20% height=20%/>\n <br>\n "; // line 14 if ($this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "fechaNoticias")) { echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "fechaNoticias"), "Y-m-d "), "html", null, true); } echo "<br><br>\n <p>By: "; // line 15 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "autorNoticias"), "html", null, true); echo "</p><br><br>\n \n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entity'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 18 echo " </tbody>\n </table>\n\n "; }
protected function doDisplay(array $context, array $blocks = array()) { $tags = array("for" => 18); $filters = array(); $functions = array(); try { $this->env->getExtension('sandbox')->checkSecurity(array('for'), array(), array()); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 18 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(isset($context["metadata"]) ? $context["metadata"] : null); foreach ($context['_seq'] as $context["_key"] => $context["attributes"]) { // line 19 echo " <span"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["attributes"], "addClass", array(0 => "rdf-meta", 1 => "hidden"), "method"), "html", null, true)); echo "></span>\n"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attributes'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "\n"; // line 2 if ($this->getAttribute(isset($context["wp"]) ? $context["wp"] : null, "aviators_flash_has_messages", array(), "method")) { // line 3 echo " <div class=\"span12\">\n "; // line 4 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["wp"]) ? $context["wp"] : null, "aviators_flash_get_messages", array(), "method")); foreach ($context['_seq'] as $context["_key"] => $context["message"]) { // line 5 echo " <div class=\"alert "; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["message"]) ? $context["message"] : null, "level"), "html", null, true); echo "\">\n "; // line 6 echo $this->getAttribute(isset($context["message"]) ? $context["message"] : null, "message"); echo "\n </div><!-- /.alert -->\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']); $context = array_merge($_parent, array_intersect_key($context, $_parent)); // line 9 echo " </div><!-- /.span12 -->\n"; } }
public function block_body($context, array $blocks = array()) { // line 4 echo "<h1>Liste des pays</h1>\n\n <table class=\"table table-hover table-striped table-bordered .table-responsive\">\n <thead>\n <tr>\n <th>Pays</th>\n <th>Actions</th>\n </tr>\n </thead>\n <tbody>\n "; // line 14 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(isset($context["entities"]) ? $context["entities"] : null); foreach ($context['_seq'] as $context["_key"] => $context["entity"]) { // line 15 echo " <tr>\n <td><a href=\""; // line 16 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pays_show", array("id" => $this->getAttribute($context["entity"], "id", array()))), "html", null, true); echo "\">["; echo twig_escape_filter($this->env, $this->getAttribute($context["entity"], "id", array()), "html", null, true); echo "] "; echo twig_escape_filter($this->env, $this->getAttribute($context["entity"], "pays", array()), "html", null, true); echo "</a></td>\n <td>\n\t\t\t\t\t<div style=\"white-space:nowrap\">\n\t\t\t\t\t\t\t<a href=\""; // line 19 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pays_show", array("id" => $this->getAttribute($context["entity"], "id", array()))), "html", null, true); echo "\" class=\"btn btn-info \"><i class=\"fa fa-eye\"></i></a>\n\t\t\t\t\t\t\t<a href=\""; // line 20 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pays_edit", array("id" => $this->getAttribute($context["entity"], "id", array()))), "html", null, true); echo "\" class=\"btn btn-warning \"><i class=\"fa fa-pencil\"></i></a>\n\t\t\t\t\t</div>\n </td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entity'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 25 echo " </tbody>\n </table>\n\n <div class=\"container panel panel-default mypanel\">\n <div class=\"row panel-body\">\n <a href=\""; // line 30 echo $this->env->getExtension('routing')->getPath("pays_new"); echo "\" class=\"btn btn-default\">\n Ajouter un pays\n </a>\n </div>\n </div>\n \n\t\n "; }
public function block_corps($context, array $blocks = array()) { // line 3 echo "<h1> Personnel </h1>\n<p id=\"categorie\"> Médecins : </p>\n<div class=\"col-md-6\" id=\"tableauMedecin\">\n<table class=\"table table-bordered\">\n"; // line 7 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["lesMedecins"]) ? $context["lesMedecins"] : $this->getContext($context, "lesMedecins")); foreach ($context['_seq'] as $context["_key"] => $context["medecin"]) { // line 8 echo "\n<tr class=\"warning\">\n\t<td> "; // line 10 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["medecin"]) ? $context["medecin"] : $this->getContext($context, "medecin"), "getNom", array(), "method"), "html", null, true); echo " </td>\n\t<td> "; // line 11 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["medecin"]) ? $context["medecin"] : $this->getContext($context, "medecin"), "getPrenom", array(), "method"), "html", null, true); echo " </td>\n\t<td> "; // line 12 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["medecin"]) ? $context["medecin"] : $this->getContext($context, "medecin"), "getTelephone", array(), "method"), "html", null, true); echo " </td>\n\t<td><a href=\""; // line 13 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("bundle_ppe_mission2_bootstrap_modifMedecin", array("id" => $this->getAttribute(isset($context["medecin"]) ? $context["medecin"] : $this->getContext($context, "medecin"), "getId", array(), "method"))), "html", null, true); echo "\"> Modifier </a> </td>\n</tr>\n"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['medecin'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 16 echo "</table>\n</div>\n\n\n<p id=\"petit\"><u> Vous souhaitez postuler ? Par ici </u></p>\n<div id=\"btnPostuler\">\n<input type=\"button\" class=\"btn btn-success\" value=\"Postuler\"/>\n</div>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_2fff3160042f23d812f76a57f2d794df9c0021a111c64efc06751bf3f7b16428 = $this->env->getExtension("native_profiler"); $__internal_2fff3160042f23d812f76a57f2d794df9c0021a111c64efc06751bf3f7b16428->enter($__internal_2fff3160042f23d812f76a57f2d794df9c0021a111c64efc06751bf3f7b16428_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "TwigBundle:Exception:traces_text.html.twig")); // line 1 echo "<div class=\"block\">\n <h2>\n Stack Trace (Plain Text) \n "; // line 4 ob_start(); // line 5 echo " <a href=\"#\" onclick=\"toggle('traces-text'); switchIcons('icon-traces-text-open', 'icon-traces-text-close'); return false;\">\n <img class=\"toggle\" id=\"icon-traces-text-close\" alt=\"-\" src=\"data:image/gif;base64,R0lGODlhEgASAMQSANft94TG57Hb8GS44ez1+mC24IvK6ePx+Wa44dXs92+942e54o3L6W2844/M6dnu+P/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABIALAAAAAASABIAQAVCoCQBTBOd6Kk4gJhGBCTPxysJb44K0qD/ER/wlxjmisZkMqBEBW5NHrMZmVKvv9hMVsO+hE0EoNAstEYGxG9heIhCADs=\" style=\"display: none\" />\n <img class=\"toggle\" id=\"icon-traces-text-open\" alt=\"+\" src=\"data:image/gif;base64,R0lGODlhEgASAMQTANft99/v+Ga44bHb8ITG52S44dXs9+z1+uPx+YvK6WC24G+944/M6W28443L6dnu+Ge54v/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABMALAAAAAASABIAQAVS4DQBTiOd6LkwgJgeUSzHSDoNaZ4PU6FLgYBA5/vFID/DbylRGiNIZu74I0h1hNsVxbNuUV4d9SsZM2EzWe1qThVzwWFOAFCQFa1RQq6DJB4iIQA7\" style=\"display: inline\" />\n </a>\n "; echo trim(preg_replace('/>\\s+</', '><', ob_get_clean())); // line 10 echo " </h2>\n\n <div id=\"traces-text\" class=\"trace\" style=\"display: none;\">\n<pre>"; // line 13 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "toarray", array())); foreach ($context['_seq'] as $context["i"] => $context["e"]) { // line 14 echo "["; echo twig_escape_filter($this->env, $context["i"] + 1, "html", null, true); echo "] "; echo twig_escape_filter($this->env, $this->getAttribute($context["e"], "class", array()), "html", null, true); echo ": "; echo twig_escape_filter($this->env, $this->getAttribute($context["e"], "message", array()), "html", null, true); echo "\n"; // line 15 $this->loadTemplate("TwigBundle:Exception:traces.txt.twig", "TwigBundle:Exception:traces_text.html.twig", 15)->display(array("exception" => $context["e"])); } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['i'], $context['e'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 16 echo "</pre>\n </div>\n</div>\n"; $__internal_2fff3160042f23d812f76a57f2d794df9c0021a111c64efc06751bf3f7b16428->leave($__internal_2fff3160042f23d812f76a57f2d794df9c0021a111c64efc06751bf3f7b16428_prof); }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "<table "; if (array_key_exists("class", $context)) { echo "class='"; echo twig_escape_filter($this->env, isset($context["class"]) ? $context["class"] : $this->getContext($context, "class"), "html", null, true); echo "'"; } echo " >\n <thead>\n <tr>\n <th scope=\"col\" style=\"width: 25%\">Key</th>\n <th scope=\"col\" style=\"width: 75%\">Value</th>\n </tr>\n </thead>\n <tbody>\n "; // line 9 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")))); foreach ($context['_seq'] as $context["_key"] => $context["key"]) { // line 10 echo " <tr>\n <th>"; // line 11 echo twig_escape_filter($this->env, isset($context["key"]) ? $context["key"] : $this->getContext($context, "key"), "html", null, true); echo "</th>\n <td><pre>"; // line 12 echo twig_escape_filter($this->env, $this->env->getExtension('profiler')->dumpValue($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), isset($context["key"]) ? $context["key"] : $this->getContext($context, "key"), array(), "array")), "html", null, true); echo "</pre></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['key'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 15 echo " </tbody>\n</table>\n"; }