本文整理汇总了PHP中twig_include函数的典型用法代码示例。如果您正苦于以下问题:PHP twig_include函数的具体用法?PHP twig_include怎么用?PHP twig_include使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了twig_include函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: block_menu
public function block_menu($context, array $blocks = array())
{
$__internal_28d6a1466735ab3080fc8655fb1e67d5b66d78a630db8d082257ae8fb5d32eb1 = $this->env->getExtension("native_profiler");
$__internal_28d6a1466735ab3080fc8655fb1e67d5b66d78a630db8d082257ae8fb5d32eb1->enter($__internal_28d6a1466735ab3080fc8655fb1e67d5b66d78a630db8d082257ae8fb5d32eb1_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "menu"));
// line 31
echo " <span class=\"label label-status-";
echo $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) ? "error" : "";
echo " ";
echo twig_test_empty($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "forms", array())) ? "disabled" : "";
echo "\">\n <span class=\"icon\">";
// line 32
echo twig_include($this->env, $context, "@WebProfiler/Icon/form.svg");
echo "</span>\n <strong>Forms</strong>\n ";
// line 34
if ($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) > 0) {
// line 35
echo " <span class=\"count\">\n <span>";
// line 36
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()), "html", null, true);
echo "</span>\n </span>\n ";
}
// line 39
echo " </span>\n";
$__internal_28d6a1466735ab3080fc8655fb1e67d5b66d78a630db8d082257ae8fb5d32eb1->leave($__internal_28d6a1466735ab3080fc8655fb1e67d5b66d78a630db8d082257ae8fb5d32eb1_prof);
}
开发者ID:Crymsius,项目名称:AnonymousGift,代码行数:25,代码来源:7e6f73c8011ccd00cdb287790782b36b42f47f011bd1a1e8f5fc55b1f3b30098.php
示例2: block_menu
public function block_menu($context, array $blocks = array())
{
$__internal_55a01e5cc2d9d2aa296c554499ee01790fbf96e04e19b2cfd29e193d5f636ee7 = $this->env->getExtension("native_profiler");
$__internal_55a01e5cc2d9d2aa296c554499ee01790fbf96e04e19b2cfd29e193d5f636ee7->enter($__internal_55a01e5cc2d9d2aa296c554499ee01790fbf96e04e19b2cfd29e193d5f636ee7_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "menu"));
// line 31
echo " <span class=\"label label-status-";
echo $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) ? "error" : "";
echo " ";
echo twig_test_empty($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "forms", array())) ? "disabled" : "";
echo "\">\n <span class=\"icon\">";
// line 32
echo twig_include($this->env, $context, "@WebProfiler/Icon/form.svg");
echo "</span>\n <strong>Forms</strong>\n ";
// line 34
if ($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) > 0) {
// line 35
echo " <span class=\"count\">\n <span>";
// line 36
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()), "html", null, true);
echo "</span>\n </span>\n ";
}
// line 39
echo " </span>\n";
$__internal_55a01e5cc2d9d2aa296c554499ee01790fbf96e04e19b2cfd29e193d5f636ee7->leave($__internal_55a01e5cc2d9d2aa296c554499ee01790fbf96e04e19b2cfd29e193d5f636ee7_prof);
}
开发者ID:MikeVeerman,项目名称:symf2tut,代码行数:25,代码来源:5439844748b261265023a145a5ccdd06b23845499c436b48354165074e7ad3e1.php
示例3: doDisplay
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
echo "<!DOCTYPE html>\n<!--[if IE 8 ]><html class=\"ie ie8\" lang=\"en\"> <![endif]-->\n<!--[if IE 9 ]><html class=\"ie ie9\" lang=\"en\"> <![endif]-->\n<!--[if (gte IE 9)|!(IE)]><!--><html lang=\"en\"> <!--<![endif]-->\n<!-- begin head -->\n";
// line 6
echo twig_include($this->env, $context, "css/head.html.twig");
echo "\n\t<!-- End head -->\n<body>\n\n\n\n<div id=\"wrap\" class=\"grid_1200\">\n\t<div class=\"wrap-search\">\n\t\t\n\t</div><!-- End wrap-search -->\n\t<!-- begin header -->\n\t";
// line 17
echo twig_include($this->env, $context, "css/header.html.twig");
echo "\n\t<!-- End header -->\n\t\n\t<div class=\"clearfix\"></div>\n\t<div class=\"sections\">\n\t\t<div class=\"container\">\n\t\t\t<div class=\"row\">\n\t\t\t";
// line 24
$this->displayBlock('mainblock', $context, $blocks);
// line 27
echo "\t\t\t\t\n\t\t\t\t<div class=\"col-md-4 sidebar\">\n\t\t\t\t<!-- begin widget authors -->\n\t\t\t\t";
// line 30
echo $this->env->getExtension('http_kernel')->renderFragment($this->env->getExtension('http_kernel')->controller("UserBundle:View:show"));
echo "\n\t\t\t\t\t<!-- End widget authors -->\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t";
// line 34
echo $this->env->getExtension('http_kernel')->renderFragment($this->env->getExtension('http_kernel')->controller("CategoryBundle:View:show"));
echo "\n\t\t\t\t</div><!-- End sidebar -->\n\t\t\t</div><!-- End row -->\n\t\t</div><!-- End container -->\n\t</div><!-- End sections -->\n\t\n\t<div class=\"clearfix\"></div>\n\t<!-- begin footer -->\n\t";
// line 42
echo twig_include($this->env, $context, "css/footer.html.twig");
echo "\n\t<!-- End footer -->\n\t\n</div><!-- End wrap -->\n\n<div class=\"go-up\"><i class=\"fa fa-chevron-up\"></i></div>\n\n<!-- js -->\n";
// line 50
echo twig_include($this->env, $context, "css/scripts.html.twig");
echo "\n<!-- End js -->\n\n</body>\n</html>\n";
}
开发者ID:samyemadmostafa,项目名称:project,代码行数:27,代码来源:e19db122e594405fa1ac46502e2f3080b636392d12c84437678ac15ea70f541d.php
示例4: block_menu
public function block_menu($context, array $blocks = array())
{
$__internal_8f73bfa83abc27ef84d2731993af1d05a350011df4f5b962736a46206d26662d = $this->env->getExtension("native_profiler");
$__internal_8f73bfa83abc27ef84d2731993af1d05a350011df4f5b962736a46206d26662d->enter($__internal_8f73bfa83abc27ef84d2731993af1d05a350011df4f5b962736a46206d26662d_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "menu"));
// line 31
echo " <span class=\"label label-status-";
echo $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) ? "error" : "";
echo " ";
echo twig_test_empty($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "forms", array())) ? "disabled" : "";
echo "\">\n <span class=\"icon\">";
// line 32
echo twig_include($this->env, $context, "@WebProfiler/Icon/form.svg");
echo "</span>\n <strong>Forms</strong>\n ";
// line 34
if ($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) > 0) {
// line 35
echo " <span class=\"count\">\n <span>";
// line 36
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()), "html", null, true);
echo "</span>\n </span>\n ";
}
// line 39
echo " </span>\n";
$__internal_8f73bfa83abc27ef84d2731993af1d05a350011df4f5b962736a46206d26662d->leave($__internal_8f73bfa83abc27ef84d2731993af1d05a350011df4f5b962736a46206d26662d_prof);
}
开发者ID:DenisRupp,项目名称:SymfonyBlogHW7,代码行数:25,代码来源:7d26d909e92be87ff28cd3dc6eaaba2e3afb193b1241945be0e77beabc1d7662.php
示例5: block_menu
public function block_menu($context, array $blocks = array())
{
$__internal_4f9a75f3e16c94961e13412419e28845646d416e14b43b2b0a28c2107403d859 = $this->env->getExtension("native_profiler");
$__internal_4f9a75f3e16c94961e13412419e28845646d416e14b43b2b0a28c2107403d859->enter($__internal_4f9a75f3e16c94961e13412419e28845646d416e14b43b2b0a28c2107403d859_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "menu"));
// line 31
echo " <span class=\"label label-status-";
echo $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) ? "error" : "";
echo " ";
echo twig_test_empty($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "forms", array())) ? "disabled" : "";
echo "\">\n <span class=\"icon\">";
// line 32
echo twig_include($this->env, $context, "@WebProfiler/Icon/form.svg");
echo "</span>\n <strong>Forms</strong>\n ";
// line 34
if ($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) > 0) {
// line 35
echo " <span class=\"count\">\n <span>";
// line 36
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()), "html", null, true);
echo "</span>\n </span>\n ";
}
// line 39
echo " </span>\n";
$__internal_4f9a75f3e16c94961e13412419e28845646d416e14b43b2b0a28c2107403d859->leave($__internal_4f9a75f3e16c94961e13412419e28845646d416e14b43b2b0a28c2107403d859_prof);
}
开发者ID:MikeVeerman,项目名称:symf2tut,代码行数:25,代码来源:ebbe1801bc76ef305f7ee3fc6c252823494b8c7a7418734ba1eeff946cd9fc3b.php
示例6: doDisplay
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
echo "<div class=\"row favorite-gallery\">\n ";
// line 2
$context['_parent'] = (array) $context;
$context['_seq'] = twig_ensure_traversable(isset($context["favorites"]) ? $context["favorites"] : $this->getContext($context, "favorites"));
foreach ($context['_seq'] as $context["_key"] => $context["favorite"]) {
// line 3
echo " <div class=\"favorite-image-box\">\n <div>\n <a class=\"title\" href=\"";
// line 5
echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("view_profile", array("id" => $this->getAttribute($this->getAttribute($context["favorite"], "profile", array()), "id", array()))), "html", null, true);
echo "\">\n <img src=\"";
// line 6
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["favorite"], "profile", array(), "any", false, true), "avatar", array(), "any", true, true) ? $this->getAttribute($this->getAttribute($context["favorite"], "profile", array()), "avatar", array()) : "", "html", null, true);
echo "\" alt=\"\"/>\n </a>\n </div>\n <div class=\"text-center favorite-image-buttons\">\n ";
// line 10
echo twig_include($this->env, $context, "ConnectionUserBundle:Profile/Part/View:action_buttons.html.twig", array("user" => $this->getAttribute($this->getAttribute($context["favorite"], "profile", array()), "user", array())));
echo "\n </div>\n </div>\n ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['favorite'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 14
echo "</div>";
}
开发者ID:Joomlamaster,项目名称:connectionru,代码行数:26,代码来源:33b6c52af3b7f246c3876c7d6285281f145162d62ca6288a39ec4e64cb75.php
示例7: block_menu
public function block_menu($context, array $blocks = array())
{
$__internal_19947b0b3aaab3080c04fdf0cd00a33a4ef16b7131e1a574ecc54373bcbe391f = $this->env->getExtension("native_profiler");
$__internal_19947b0b3aaab3080c04fdf0cd00a33a4ef16b7131e1a574ecc54373bcbe391f->enter($__internal_19947b0b3aaab3080c04fdf0cd00a33a4ef16b7131e1a574ecc54373bcbe391f_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "menu"));
// line 31
echo " <span class=\"label label-status-";
echo $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) ? "error" : "";
echo " ";
echo twig_test_empty($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "forms", array())) ? "disabled" : "";
echo "\">\n <span class=\"icon\">";
// line 32
echo twig_include($this->env, $context, "@WebProfiler/Icon/form.svg");
echo "</span>\n <strong>Forms</strong>\n ";
// line 34
if ($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) > 0) {
// line 35
echo " <span class=\"count\">\n <span>";
// line 36
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()), "html", null, true);
echo "</span>\n </span>\n ";
}
// line 39
echo " </span>\n";
$__internal_19947b0b3aaab3080c04fdf0cd00a33a4ef16b7131e1a574ecc54373bcbe391f->leave($__internal_19947b0b3aaab3080c04fdf0cd00a33a4ef16b7131e1a574ecc54373bcbe391f_prof);
}
开发者ID:rkabaila,项目名称:first_project_symfony,代码行数:25,代码来源:4eaa4d46b353a4d554d903a4c90ca8d19307440eba05de1a2b933813254daac1.php
示例8: block_body
public function block_body($context, array $blocks = array())
{
// line 6
echo " <table class=\"record_properties\">\n <tbody>\n <tr>\n <th>Nom</th>\n <td>";
// line 10
echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "nomutilisateur", array()), "html", null, true);
echo "</td>\n </tr>\n <tr>\n <th>Prénom</th>\n <td>";
// line 14
echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "prenomutilisateur", array()), "html", null, true);
echo "</td>\n </tr>\n <tr>\n <th>Email</th>\n <td>";
// line 18
echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "emailutilisateur", array()), "html", null, true);
echo "</td>\n </tr>\n <tr>\n <th>Agence</th>\n <td>";
// line 22
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "agence", array()), "nomAgence", array()), "html", null, true);
echo "</td>\n </tr>\n <tr>\n <th>Login</th>\n <td>";
// line 26
echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "loginutilisateur", array()), "html", null, true);
echo "</td>\n </tr>\n <tr>\n <th>Date de naissance</th>\n <td>";
// line 30
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "dtnaissanceutilisateur", array()), "d/m/Y"), "html", null, true);
echo "</td>\n </tr>\n </tbody>\n </table>\n <div class=\"col-sm-3\">";
// line 34
echo twig_include($this->env, $context, ":BackOffice:buttom.html.twig", array("nomButtom" => "Retour listing utilisateur", "routeButtom" => $this->env->getExtension('routing')->getPath("ro_utilisateur_homepage"), "glyphicon" => "glyphicon glyphicon-arrow-left"));
echo "</div>\n <div class=\"col-sm-3\">";
// line 35
echo twig_include($this->env, $context, ":BackOffice:buttom.html.twig", array("nomButtom" => "Modifier infos utilisateur", "routeButtom" => $this->env->getExtension('routing')->getPath("ro_utilisateur_edit", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id", array()))), "glyphicon" => "glyphicon glyphicon-pencil"));
echo "</div>\n <div class=\"col-sm-3\">";
// line 36
echo twig_include($this->env, $context, ":BackOffice:buttom.html.twig", array("nomButtom" => "Supprimer utilisateur", "routeButtom" => $this->env->getExtension('routing')->getPath("ro_utilisateur_delete", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id", array()))), "glyphicon" => "glyphicon glyphicon-remove"));
echo "</div>\n";
}
开发者ID:ramisg85,项目名称:oueslatirami,代码行数:32,代码来源:716ac9bfdb0b9d7ef33d6afbcf6d96f11a9d4f62dd149e24c85142f0e063.php
示例9: block_menu
public function block_menu($context, array $blocks = array())
{
$__internal_72f1f4bdf3a1e4d53f13844312b142b0854a5460c3171c35eef2696be6472100 = $this->env->getExtension("native_profiler");
$__internal_72f1f4bdf3a1e4d53f13844312b142b0854a5460c3171c35eef2696be6472100->enter($__internal_72f1f4bdf3a1e4d53f13844312b142b0854a5460c3171c35eef2696be6472100_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "menu"));
// line 31
echo " <span class=\"label label-status-";
echo $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) ? "error" : "";
echo " ";
echo twig_test_empty($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "forms", array())) ? "disabled" : "";
echo "\">\n <span class=\"icon\">";
// line 32
echo twig_include($this->env, $context, "@WebProfiler/Icon/form.svg");
echo "</span>\n <strong>Forms</strong>\n ";
// line 34
if ($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) > 0) {
// line 35
echo " <span class=\"count\">\n <span>";
// line 36
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()), "html", null, true);
echo "</span>\n </span>\n ";
}
// line 39
echo " </span>\n";
$__internal_72f1f4bdf3a1e4d53f13844312b142b0854a5460c3171c35eef2696be6472100->leave($__internal_72f1f4bdf3a1e4d53f13844312b142b0854a5460c3171c35eef2696be6472100_prof);
}
开发者ID:makmak1234,项目名称:skilltrek_symfony,代码行数:25,代码来源:d63f258cb3ed2ca5c4e46d56572d376fb46d1383b807dcb1863765c2b819ef54.php
示例10: block_menu
public function block_menu($context, array $blocks = array())
{
$__internal_169847c2fa87e09d6d746fcbe5aef7f6b83adb2895644ff6a261a31a798cf708 = $this->env->getExtension("native_profiler");
$__internal_169847c2fa87e09d6d746fcbe5aef7f6b83adb2895644ff6a261a31a798cf708->enter($__internal_169847c2fa87e09d6d746fcbe5aef7f6b83adb2895644ff6a261a31a798cf708_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "menu"));
// line 31
echo " <span class=\"label label-status-";
echo $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) ? "error" : "";
echo " ";
echo twig_test_empty($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "forms", array())) ? "disabled" : "";
echo "\">\n <span class=\"icon\">";
// line 32
echo twig_include($this->env, $context, "@WebProfiler/Icon/form.svg");
echo "</span>\n <strong>Forms</strong>\n ";
// line 34
if ($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) > 0) {
// line 35
echo " <span class=\"count\">\n <span>";
// line 36
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()), "html", null, true);
echo "</span>\n </span>\n ";
}
// line 39
echo " </span>\n";
$__internal_169847c2fa87e09d6d746fcbe5aef7f6b83adb2895644ff6a261a31a798cf708->leave($__internal_169847c2fa87e09d6d746fcbe5aef7f6b83adb2895644ff6a261a31a798cf708_prof);
}
开发者ID:MaslowskiP,项目名称:carrent,代码行数:25,代码来源:3ffaebf090360b7a37ef598587e7ca1e56f84a65a6b0f2a5f5f05715d83e10ac.php
示例11: block_body
public function block_body($context, array $blocks = array())
{
// line 14
echo " <div id=\"ajax-loader\">\n Actualizando registros\n </div>\n\n <style>\n @media (min-width: 768px) {\n .table {\n width: 50%;\n }\n\n .admin-list-actions.autosize {\n width: 50%;\n }\n }\n </style>\n\n ";
// line 30
$this->env->loadTemplate("::modal-delete.html.twig")->display($context);
// line 31
echo "\n <div>\n <div class=\"row\">\n ";
// line 34
$context["userEditHref"] = $this->env->getExtension('routing')->getPath("usuario_edit", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "getId", array(), "method")));
// line 35
echo " ";
$context["passEditHref"] = $this->env->getExtension('routing')->getPath("usuario_edit_password", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "getId", array(), "method")));
// line 36
echo "\n ";
// line 37
echo twig_include($this->env, $context, "::layout_modules_menu.html.twig", array("submenuTitle" => "Editar usuario", "submenuHref" => "#", "submenuOptions" => array("Editar cuenta" => isset($context["userEditHref"]) ? $context["userEditHref"] : $this->getContext($context, "userEditHref"), "Cambiar contraseña" => isset($context["passEditHref"]) ? $context["passEditHref"] : $this->getContext($context, "passEditHref"))));
// line 46
echo "\n\n </div>\n\n <div class=\"row\" style=\"margin-top: 51px; \">\n <div class=\"col-sm-11\" style=\"margin-left: 25px; margin-right: 100px;\">\n ";
// line 52
$this->env->loadTemplate("::flashmessages.html.twig")->display($context);
// line 53
echo " </div>\n </div>\n\n <div id=\"container\" style=\"margin-top: 10px;\">\n ";
// line 57
$this->displayBlock('content', $context, $blocks);
// line 59
echo " </div>\n\n <nav class=\"navbar navbar-default navbar-fixed-bottom\" role=\"navigation\">\n <div class=\"container\">\n Sisconee | Editar usuario\n </div>\n </nav>\n\n </div>\n\n";
}
开发者ID:jorgemunoz8807,项目名称:sisconee,代码行数:28,代码来源:3887dea449e4b56e4fbbdd327b88b8a8ef5f7eea469532e481c266be12bb.php
示例12: block_menu
public function block_menu($context, array $blocks = array())
{
$__internal_7857abf9eb5b9e34344f4d692652ce2eff90ab7c94427c9061f7d69856d93e4e = $this->env->getExtension("native_profiler");
$__internal_7857abf9eb5b9e34344f4d692652ce2eff90ab7c94427c9061f7d69856d93e4e->enter($__internal_7857abf9eb5b9e34344f4d692652ce2eff90ab7c94427c9061f7d69856d93e4e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "menu"));
// line 31
echo " <span class=\"label label-status-";
echo $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) ? "error" : "";
echo " ";
echo twig_test_empty($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "forms", array())) ? "disabled" : "";
echo "\">\n <span class=\"icon\">";
// line 32
echo twig_include($this->env, $context, "@WebProfiler/Icon/form.svg");
echo "</span>\n <strong>Forms</strong>\n ";
// line 34
if ($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) > 0) {
// line 35
echo " <span class=\"count\">\n <span>";
// line 36
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()), "html", null, true);
echo "</span>\n </span>\n ";
}
// line 39
echo " </span>\n";
$__internal_7857abf9eb5b9e34344f4d692652ce2eff90ab7c94427c9061f7d69856d93e4e->leave($__internal_7857abf9eb5b9e34344f4d692652ce2eff90ab7c94427c9061f7d69856d93e4e_prof);
}
开发者ID:ruben998,项目名称:web,代码行数:25,代码来源:a2ef1a48c919094696a9f90c40cae93f486636ad6d87d10aa2233bf28cc94770.php
示例13: block_menu
public function block_menu($context, array $blocks = array())
{
$__internal_ae07e5483aaade69a1f42fc91c720d14b79e242333bf7a396fe0ae1d91f636e0 = $this->env->getExtension("native_profiler");
$__internal_ae07e5483aaade69a1f42fc91c720d14b79e242333bf7a396fe0ae1d91f636e0->enter($__internal_ae07e5483aaade69a1f42fc91c720d14b79e242333bf7a396fe0ae1d91f636e0_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "menu"));
// line 31
echo " <span class=\"label label-status-";
echo $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) ? "error" : "";
echo " ";
echo twig_test_empty($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "forms", array())) ? "disabled" : "";
echo "\">\n <span class=\"icon\">";
// line 32
echo twig_include($this->env, $context, "@WebProfiler/Icon/form.svg");
echo "</span>\n <strong>Forms</strong>\n ";
// line 34
if ($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) > 0) {
// line 35
echo " <span class=\"count\">\n <span>";
// line 36
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()), "html", null, true);
echo "</span>\n </span>\n ";
}
// line 39
echo " </span>\n";
$__internal_ae07e5483aaade69a1f42fc91c720d14b79e242333bf7a396fe0ae1d91f636e0->leave($__internal_ae07e5483aaade69a1f42fc91c720d14b79e242333bf7a396fe0ae1d91f636e0_prof);
}
开发者ID:deileo,项目名称:Autoservisas_Kursinis,代码行数:25,代码来源:a797b7129b0cf01ff3bb6a148dc8e946598c24f88a4c19d53731b47431ffb94a.php
示例14: block_menu
public function block_menu($context, array $blocks = array())
{
$__internal_9ba71a337dbf7f7ea73d9c1d9b5ec12fa1ff6580dd2f2429c3d740e534d292c6 = $this->env->getExtension("native_profiler");
$__internal_9ba71a337dbf7f7ea73d9c1d9b5ec12fa1ff6580dd2f2429c3d740e534d292c6->enter($__internal_9ba71a337dbf7f7ea73d9c1d9b5ec12fa1ff6580dd2f2429c3d740e534d292c6_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "menu"));
// line 31
echo " <span class=\"label label-status-";
echo $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) ? "error" : "";
echo " ";
echo twig_test_empty($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "forms", array())) ? "disabled" : "";
echo "\">\n <span class=\"icon\">";
// line 32
echo twig_include($this->env, $context, "@WebProfiler/Icon/form.svg");
echo "</span>\n <strong>Forms</strong>\n ";
// line 34
if ($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) > 0) {
// line 35
echo " <span class=\"count\">\n <span>";
// line 36
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()), "html", null, true);
echo "</span>\n </span>\n ";
}
// line 39
echo " </span>\n";
$__internal_9ba71a337dbf7f7ea73d9c1d9b5ec12fa1ff6580dd2f2429c3d740e534d292c6->leave($__internal_9ba71a337dbf7f7ea73d9c1d9b5ec12fa1ff6580dd2f2429c3d740e534d292c6_prof);
}
开发者ID:MrJulien,项目名称:carnetAdresses,代码行数:25,代码来源:fb65ca78a1d681cbc2b543a4ba99352fd86b3dba1ed986b3262ff3054f163a4f.php
示例15: block_menu
public function block_menu($context, array $blocks = array())
{
$__internal_060d487d889603988c74eba6a980dd054f732667fb26e343f06371b4ea082fd3 = $this->env->getExtension("native_profiler");
$__internal_060d487d889603988c74eba6a980dd054f732667fb26e343f06371b4ea082fd3->enter($__internal_060d487d889603988c74eba6a980dd054f732667fb26e343f06371b4ea082fd3_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "menu"));
// line 31
echo " <span class=\"label label-status-";
echo $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) ? "error" : "";
echo " ";
echo twig_test_empty($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "forms", array())) ? "disabled" : "";
echo "\">\n <span class=\"icon\">";
// line 32
echo twig_include($this->env, $context, "@WebProfiler/Icon/form.svg");
echo "</span>\n <strong>Forms</strong>\n ";
// line 34
if ($this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()) > 0) {
// line 35
echo " <span class=\"count\">\n <span>";
// line 36
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector"), "data", array()), "nb_errors", array()), "html", null, true);
echo "</span>\n </span>\n ";
}
// line 39
echo " </span>\n";
$__internal_060d487d889603988c74eba6a980dd054f732667fb26e343f06371b4ea082fd3->leave($__internal_060d487d889603988c74eba6a980dd054f732667fb26e343f06371b4ea082fd3_prof);
}
开发者ID:CharuniKaushalya,项目名称:Database-Project,代码行数:25,代码来源:37159cd495cb5a3c6eeec0b037b061e8703e10296f7c6023a15d02caced7286f.php