当前位置: 首页>>代码示例>>PHP>>正文


PHP twig_upper_filter函数代码示例

本文整理汇总了PHP中twig_upper_filter函数的典型用法代码示例。如果您正苦于以下问题:PHP twig_upper_filter函数的具体用法?PHP twig_upper_filter怎么用?PHP twig_upper_filter使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了twig_upper_filter函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: block_body

 public function block_body($context, array $blocks = array())
 {
     $__internal_ccbdb9846a63cb50af64661f4900e5b56df0449840aa5bc35600a549c92c1147 = $this->env->getExtension("native_profiler");
     $__internal_ccbdb9846a63cb50af64661f4900e5b56df0449840aa5bc35600a549c92c1147->enter($__internal_ccbdb9846a63cb50af64661f4900e5b56df0449840aa5bc35600a549c92c1147_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));
     // line 4
     echo "    <!-- Two columns content -->\n    <section class=\"container content\">\n        <div class=\"row\">\n            <!-- Right column -->\n            <section class=\"col-sm-12 col-md-12 col-lg-12 content-center\">\n                <h2> MON COMPTE</h2>\n                <p>Pour créer votre compte, veuillez renseigner les informations ci-dessous</p>\n                <p>&nbsp;&nbsp;&nbsp;</p>\n\n                <h2>";
     // line 13
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, "Mon adresse de livraison"), "html", null, true);
     echo "</h2>\n                <!-- Two column content -->\n                <!-- column part two -->\n                <form action=\"";
     // line 16
     echo $this->env->getExtension('routing')->getPath("adresse_create");
     echo "\" ";
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), 'enctype');
     echo " method=\"POST\" class=\"adresse_create\">\n\n                    <section class=\"col-sm-6 col-md-6 col-lg-6 col-sm-offset-3 col-md-offset-3 col-lg-offset-3\">\n                        <section class=\"container-with-large-icon login-form\" style=\"min-height: 276px;\">\n                            <div class=\"wrap\">\n                                <div id=\"account_create\">\n                                    <div class=\"form-group\">\n                                        <label for=\"firstname\"><strong>Ville (*)</strong></label>\n                                        ";
     // line 24
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), "city", array()), 'widget', array("attr" => array("class" => "form-control wform", "label" => false)));
     echo "\n                                        ";
     // line 25
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), "city", array()), 'errors');
     echo "\n                                    </div>\n                                    <div class=\"form-group\">\n                                        <label for=\"lastname\"><strong>Adresse (*)</strong></label>\n                                        ";
     // line 29
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), "adresse", array()), 'widget', array("attr" => array("class" => "form-control wform", "label" => false, "placeholder" => "Mon adresse")));
     echo "\n                                        ";
     // line 30
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), "adresse", array()), 'errors');
     echo "\n                                    </div>\n                                </div>\n                                ";
     // line 33
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), 'rest');
     echo "\n                            </div>\n                        </section>\n                    </section>\n                    <section class=\"col-sm-3 col-md-3 col-lg-3 col-md-offset-5\">\n                        <section class=\"login-form\">\n                            <div class=\"wrap\">\n                                <input type=\"submit\" value=\"";
     // line 40
     echo "Terminer mon inscription";
     echo "\" class=\"btn btn-mega\" />\n                            </div>\n                        </section>\n                    </section>\n                </form>\n                <!-- //end Two columns content -->\n            </section>\n            <!-- //end Right column -->\n\n        </div>\n    </section>\n\n\n";
     $__internal_ccbdb9846a63cb50af64661f4900e5b56df0449840aa5bc35600a549c92c1147->leave($__internal_ccbdb9846a63cb50af64661f4900e5b56df0449840aa5bc35600a549c92c1147_prof);
 }
开发者ID:raphydev,项目名称:webcomshop,代码行数:34,代码来源:b62e50dee912a38066b7ce6f09c1145d919226580560a0855fb8c76bf88137f5.php

示例2: block_content

 public function block_content($context, array $blocks = array())
 {
     // line 3
     echo "\n \t<h3>Tous les clients</h3>\n\t\t\t<table>\n\t\t\t\t<thead>\n\t\t\t\t\t<tr class=\"info\">\n\t\t\t\t\t\t";
     // line 9
     echo "\t\t\t\t\t\t\t<th>Nom</th>\n\t\t\t\t\t\t\t<th>Actions</th>\n\t\t\t\t\t</tr>\n\t\t\t\t</thead>\n\t\t";
     // line 13
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["clients"]) ? $context["clients"] : null);
     foreach ($context['_seq'] as $context["_key"] => $context["client"]) {
         // line 14
         echo "\t\t\t\t\n\t\t\t\t<tr>\n\t\t\t\t\t";
         // line 17
         echo "\t\t\t\t\t<td>";
         echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute($context["client"], "nom", array())), "html", null, true);
         echo "</td>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t<a href=\"";
         // line 19
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("misa_client_view", array("id" => $this->getAttribute($context["client"], "id", array()))), "html", null, true);
         echo "\"><span class='btn-green'>Voir</span></a>\n\t\t\t\t\t\t<a href=\"";
         // line 20
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("misa_client_edit", array("id" => $this->getAttribute($context["client"], "id", array()))), "html", null, true);
         echo "\"><span class='btn-orange'>Modifier</span></a>\n\t\t\t\t\t\t<a href=\"";
         // line 21
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("misa_client_delete", array("id" => $this->getAttribute($context["client"], "id", array()))), "html", null, true);
         echo "\" onclick=\"return confirm('are u sure?')\"><span class='btn-red'>Supprimer</span></a>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t\n\t\t";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['client'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 26
     echo "\t\t</table>\n\n\t\t<a href=\"";
     // line 28
     echo $this->env->getExtension('routing')->getPath("misa_client_add");
     echo "\"><span class=\"btn-blue\"> <b>+</b> Ajouter</span></a>\n\n ";
 }
开发者ID:nomenasitraka,项目名称:mproject,代码行数:35,代码来源:5e4358758056697224d4468c39060b2ed15286eb210bc3ab8087390953f48aab.php

示例3: doDisplay

 protected function doDisplay(array $context, array $blocks = array())
 {
     $__internal_93b885cd46b4e1b668d4dde06e1e796c599e23e32688cc71ff8f4267f65710a2 = $this->env->getExtension("native_profiler");
     $__internal_93b885cd46b4e1b668d4dde06e1e796c599e23e32688cc71ff8f4267f65710a2->enter($__internal_93b885cd46b4e1b668d4dde06e1e796c599e23e32688cc71ff8f4267f65710a2_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "LaisoArmBundle:DQE/dao:dqe_dao.html.twig"));
     // line 1
     if ($this->getAttribute(isset($context["lotissement"]) ? $context["lotissement"] : $this->getContext($context, "lotissement"), "valide", array()) || $this->getAttribute(isset($context["lotissement"]) ? $context["lotissement"] : $this->getContext($context, "lotissement"), "puValide", array()) || $this->getAttribute(isset($context["avenant"]) ? $context["avenant"] : $this->getContext($context, "avenant"), "valide", array())) {
         // line 2
         echo "    ";
         // line 8
         echo "\n\n    <div class=\"align-center  margin10 no-margin-top no-margin-right no-margin-left\">\n        <div class=\"bg-lightGreen padding5\">\n            <h3>";
         // line 12
         echo twig_escape_filter($this->env, twig_upper_filter($this->env, "Détail quantitatif et Estimatif"), "html", null, true);
         echo "</h3>\n        </div>\n    </div>\n\n    ";
         // line 16
         $this->loadTemplate("LaisoArmBundle:DQE/dao:lotissement_valide.html.twig", "LaisoArmBundle:DQE/dao:dqe_dao.html.twig", 16)->display($context);
         // line 17
         echo "    <small class=\"place-right fg-red\">Vous ne pouvez plus apporter de modification.</small>\n";
     } else {
         // line 19
         echo "    ";
         // line 24
         echo "\n    <div class=\"align-center  margin10 no-margin-top no-margin-right no-margin-left\">\n        <div class=\"bg-grayLight fg-white padding5\">\n            <h3>";
         // line 27
         echo twig_escape_filter($this->env, twig_upper_filter($this->env, "Détail quantitatif et Estimatif"), "html", null, true);
         echo "</h3>\n        </div>\n    </div>\n\n    ";
         // line 31
         $this->loadTemplate("LaisoArmBundle:DQE/dao:default.html.twig", "LaisoArmBundle:DQE/dao:dqe_dao.html.twig", 31)->display($context);
     }
     $__internal_93b885cd46b4e1b668d4dde06e1e796c599e23e32688cc71ff8f4267f65710a2->leave($__internal_93b885cd46b4e1b668d4dde06e1e796c599e23e32688cc71ff8f4267f65710a2_prof);
 }
开发者ID:gasikely2,项目名称:sgpec,代码行数:30,代码来源:98ae744abe0f74fdaa946ca34cf4b388a089b0448a3f600056cc1685dca15e6a.php

示例4: doDisplay

 protected function doDisplay(array $context, array $blocks = array())
 {
     $__internal_e4a7bca704263285c6bc109a536b5038b5e5aa680ef42fdb417654becbe56bf9 = $this->env->getExtension("native_profiler");
     $__internal_e4a7bca704263285c6bc109a536b5038b5e5aa680ef42fdb417654becbe56bf9->enter($__internal_e4a7bca704263285c6bc109a536b5038b5e5aa680ef42fdb417654becbe56bf9_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "SonataAdminBundle:CRUD:base_list_flat_field.html.twig"));
     // line 11
     echo "\n<span class=\"sonata-ba-list-field sonata-ba-list-field-";
     // line 12
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : $this->getContext($context, "field_description"), "type", array()), "html", null, true);
     echo "\" objectId=\"";
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "id", array(0 => isset($context["object"]) ? $context["object"] : $this->getContext($context, "object")), "method"), "html", null, true);
     echo "\">\n    ";
     // line 13
     if ($this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : null, "options", array(), "any", false, true), "identifier", array(), "any", true, true) && $this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : null, "options", array(), "any", false, true), "route", array(), "any", true, true) && $this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "isGranted", array(0 => $this->getAttribute($this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : $this->getContext($context, "field_description"), "options", array()), "route", array()), "name", array()) == "show" ? "VIEW" : twig_upper_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : $this->getContext($context, "field_description"), "options", array()), "route", array()), "name", array())), 1 => isset($context["object"]) ? $context["object"] : $this->getContext($context, "object")), "method") && $this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "hasRoute", array(0 => $this->getAttribute($this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : $this->getContext($context, "field_description"), "options", array()), "route", array()), "name", array())), "method")) {
         // line 19
         echo "        <a href=\"";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "generateObjectUrl", array(0 => $this->getAttribute($this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : $this->getContext($context, "field_description"), "options", array()), "route", array()), "name", array()), 1 => isset($context["object"]) ? $context["object"] : $this->getContext($context, "object"), 2 => $this->getAttribute($this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : $this->getContext($context, "field_description"), "options", array()), "route", array()), "parameters", array())), "method"), "html", null, true);
         echo "\">";
         // line 20
         $this->displayBlock('field', $context, $blocks);
         // line 21
         echo "</a>\n    ";
     } else {
         // line 23
         echo "        ";
         $this->displayBlock("field", $context, $blocks);
         echo "\n    ";
     }
     // line 25
     echo "</span>\n";
     $__internal_e4a7bca704263285c6bc109a536b5038b5e5aa680ef42fdb417654becbe56bf9->leave($__internal_e4a7bca704263285c6bc109a536b5038b5e5aa680ef42fdb417654becbe56bf9_prof);
 }
开发者ID:shine2lay,项目名称:jack,代码行数:31,代码来源:453e91227f914d139a039a1c12b5ac5592ac8f449713c30dd378b786fc3f6dfd.php

示例5: doDisplay

 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 11
     echo "\n<span class=\"sonata-ba-list-field sonata-ba-list-field-";
     // line 12
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : null, "type", array()), "html", null, true);
     echo "\" objectId=\"";
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["admin"]) ? $context["admin"] : null, "id", array(0 => isset($context["object"]) ? $context["object"] : null), "method"), "html", null, true);
     echo "\">\n    ";
     // line 13
     if ($this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : null, "options", array(), "any", false, true), "identifier", array(), "any", true, true) && $this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : null, "options", array(), "any", false, true), "route", array(), "any", true, true) && $this->getAttribute(isset($context["admin"]) ? $context["admin"] : null, "isGranted", array(0 => $this->getAttribute($this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : null, "options", array()), "route", array()), "name", array()) == "show" ? "VIEW" : twig_upper_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : null, "options", array()), "route", array()), "name", array())), 1 => isset($context["object"]) ? $context["object"] : null), "method") && $this->getAttribute(isset($context["admin"]) ? $context["admin"] : null, "hasRoute", array(0 => $this->getAttribute($this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : null, "options", array()), "route", array()), "name", array())), "method")) {
         // line 19
         echo "        <a href=\"";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["admin"]) ? $context["admin"] : null, "generateObjectUrl", array(0 => $this->getAttribute($this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : null, "options", array()), "route", array()), "name", array()), 1 => isset($context["object"]) ? $context["object"] : null, 2 => $this->getAttribute($this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : null, "options", array()), "route", array()), "parameters", array())), "method"), "html", null, true);
         echo "\">";
         // line 20
         $this->displayBlock('field', $context, $blocks);
         // line 21
         echo "</a>\n    ";
     } else {
         // line 23
         echo "        ";
         $this->displayBlock("field", $context, $blocks);
         echo "\n    ";
     }
     // line 25
     echo "</span>\n";
 }
开发者ID:axelleP,项目名称:Oetherium,代码行数:28,代码来源:e00e3dd689b8d8e4c9920bba05d2739f037455614e9aa8c1d2cae0434a95da09.php

示例6: getopen

 public function getopen($_method = null, $_action = null, $_attributes = null)
 {
     $context = $this->env->mergeGlobals(array("method" => $_method, "action" => $_action, "attributes" => $_attributes));
     $blocks = array();
     ob_start();
     try {
         // line 2
         echo "    <form method=\"";
         echo twig_escape_filter($this->env, twig_upper_filter($this->env, isset($context["method"]) ? $context["method"] : null), "html", null, true);
         echo "\" ";
         if (!twig_test_empty(isset($context["action"]) ? $context["action"] : null)) {
             echo "action=\"";
             echo twig_escape_filter($this->env, isset($context["action"]) ? $context["action"] : null, "html", null, true);
             echo "\"";
         }
         // line 3
         echo "    ";
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(isset($context["attributes"]) ? $context["attributes"] : null);
         foreach ($context['_seq'] as $context["attribute"] => $context["value"]) {
             echo twig_escape_filter($this->env, isset($context["attribute"]) ? $context["attribute"] : null, "html", null, true);
             echo "=\"";
             echo twig_escape_filter($this->env, isset($context["value"]) ? $context["value"] : null, "html", null, true);
             echo "\"";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['attribute'], $context['value'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         echo ">\n";
     } catch (Exception $e) {
         ob_end_clean();
         throw $e;
     }
     return '' === ($tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
 }
开发者ID:estrategasdigitales,项目名称:dictobas,代码行数:35,代码来源:7f57f21a5d94215b18574b591d5595df956ab1923795fce5ef2b18275b54.php

示例7: block_content

 public function block_content($context, array $blocks = array())
 {
     // line 3
     echo "\n \t <h3>Tous les projects</h3>\n\t  <table class=\"table\">\n\t\t<thead>\n\t\t\t<tr data-project=\"head\" class=\"info\">\n\t\t\t\t";
     // line 9
     echo "\t\t\t\t\t<th data-type=\"text\" >Nom du projet</th>\n\t\t\t\t\t<th>Nom du client</th>\n\t\t\t\t\t<th>Date de livraison</th>\n\t\t\t\t\t<th>Développeur</th>\n\t\t\t\t\t";
     // line 16
     echo "\t\t\t\t\t<th></th>\n\t\t\t</tr>\n\t\t</thead>\n\t\t<tbody>\n\t\t";
     // line 20
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["projects"]) ? $context["projects"] : null);
     foreach ($context['_seq'] as $context["_key"] => $context["project"]) {
         // line 21
         echo "\t\t\t\t\n\t\t\t\t<tr>\n\t\t\t\t\t";
         // line 24
         echo "\t\t\t\t\t<td>";
         echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute($context["project"], "nom", array())), "html", null, true);
         echo "</td>\n\t\t\t\t\t<td>";
         // line 25
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["project"], "client", array()), "nom", array()), "html", null, true);
         echo "</td>\n\t\t\t\t\t<td>";
         // line 26
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["project"], "dateLivraison", array()), "d/m/Y"), "html", null, true);
         echo "</td>\n\t\t\t\t\t";
         // line 27
         if (!(null === $this->getAttribute($context["project"], "assignation", array()))) {
             // line 28
             echo "\t\t\t\t\t\t<td><a href=\"";
             echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("misa_developer_view", array("id" => $this->getAttribute($this->getAttribute($this->getAttribute($context["project"], "assignation", array()), "developer", array()), "id", array()))), "html", null, true);
             echo "\">";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["project"], "assignation", array()), "developer", array()), "nom", array()), "html", null, true);
             echo "</a></td>\n\t\t\t\t\t\t";
         } else {
             // line 30
             echo "\t\t\t\t\t\t<td><i>non assigné</i></td>\n\t\t\t\t\t";
         }
         // line 32
         echo "\t\t\t\t\t";
         // line 35
         echo "\t\t\t\t\t<td>\n\t\t\t\t\t\t<a href=\"";
         // line 36
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("misa_project_view", array("id" => $this->getAttribute($context["project"], "id", array()))), "html", null, true);
         echo "\"><span class='btn-green'> Voir</span></a>\n\t\t\t\t\t\t<a href=\"";
         // line 37
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("misa_project_edit", array("id" => $this->getAttribute($context["project"], "id", array()))), "html", null, true);
         echo "\"><span class='btn-orange'>Modifier</span></a>\n\t\t\t\t\t\t<a href=\"";
         // line 38
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("misa_project_delete", array("id" => $this->getAttribute($context["project"], "id", array()))), "html", null, true);
         echo "\" onclick=\"return confirm('are u sure?')\"><span class='btn-red'>Supprimer </span></a>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t\n\t\t";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['project'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 43
     echo "\t\t</tbody>\n\t\t</table>\n\n\t\t<a href=\"";
     // line 46
     echo $this->env->getExtension('routing')->getPath("misa_project_add");
     echo "\"><span class=\"btn-blue\"> <b>+</b> Ajouter</span></a>\n";
 }
开发者ID:nomenasitraka,项目名称:mproject,代码行数:59,代码来源:47952e43b530df9708c36c8491fc67229f2ba642bd7ad9d56523991e7c83c604.php

示例8: block_body

 public function block_body($context, array $blocks = array())
 {
     $__internal_e4ce07af4cbe96c9f150fa1c353a1fbd1fc01f8685e6ad3aeea418bcbe5de765 = $this->env->getExtension("native_profiler");
     $__internal_e4ce07af4cbe96c9f150fa1c353a1fbd1fc01f8685e6ad3aeea418bcbe5de765->enter($__internal_e4ce07af4cbe96c9f150fa1c353a1fbd1fc01f8685e6ad3aeea418bcbe5de765_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));
     // line 4
     echo "    <!-- Two columns content -->\n    <section class=\"container content\">\n        <div class=\"row\">\n\n            ";
     // line 8
     $this->loadTemplate("LabsMembersBundle:include:sidebar.html.twig", "LabsMembersBundle:Profile:show_content.html.twig", 8)->display($context);
     // line 9
     echo "\n            <!-- Right column -->\n            <section class=\"col-sm-9 col-md-9 col-lg-9 content-center\">\n                <!-- section commande et abonnement -->\n                <section>\n                    <div class=\"col-sm-6 col-md-6 col-lg-6\">\n                        <h3>";
     // line 15
     echo "Mes commandes";
     echo "</h3>\n                        <div class=\"row blockquote\">\n                            <div class=\"inside\">\n                                <div class=\"text-center\">\n                                    <div class=\"icon-circle  active animate scale animated\"><span class=\"icon icon-bag\"></span></div>\n                                    <h5>Vous n'avez pas de nouvelle commandes. Vous avez la possibilité de passer des commandes spéciales</h5>\n                                    <a href=\"#\" class=\"btn btn-mega btn-inverse btn-lg margin-bt\">";
     // line 21
     echo "commander à nouveaux ";
     echo "</a>\n                                    <a href=\"#\" class=\"btn btn-mega btn-inverse btn-lg\">";
     // line 22
     echo "Toute mes commandes";
     echo "</a>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n\n                    <div class=\"divider-md visible-xs\"></div>\n\n                    <div class=\"col-sm-6 col-md-6 col-lg-6\">\n                         <h3>";
     // line 31
     echo "Mon abonnement";
     echo "</h3>\n                        <div class=\"row blockquote\">\n                            <div class=\"inside\">\n                                <div class=\"text-center\">\n                                    <div class=\"icon-circle  active animate scale animated\"><span class=\"icon  icon-credit-card\"></span></div>\n                                    <h5>Abonnez-vous pour profiter des reductions sur vos achats allant jusqu'a 20% sur 1 an</h5>\n                                        <a href=\"#\" class=\"btn btn-mega btn-inverse btn-lg margin-bt\">";
     // line 37
     echo "Faire un nouveau abonnement";
     echo "</a>\n                                        <a href=\"#\" class=\"btn btn-mega btn-inverse btn-lg\">";
     // line 38
     echo "Renouvellez mon abonnement";
     echo "</a>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n\n                </section>\n                <!-- fin de la section commande et abonnnment-->\n                <!-- section racourcis -->\n                <!-- section commande et abonnement -->\n                <p>&nbsp;&nbsp;</p>\n                <section>\n                    <div class=\"col-sm-12 col-md-12 col-lg-12\">\n                        <h3>";
     // line 51
     echo "Raccourcis";
     echo "</h3>\n                        <div class=\"blockquote\">\n                            <p>&nbsp;&nbsp;&nbsp;</p>\n                            <ul class=\"ma-Interest-list\">\n                                ";
     // line 55
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["cat"]) ? $context["cat"] : $this->getContext($context, "cat"));
     foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
         // line 56
         echo "                                <a href=\"";
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("labs_front_cat", array("id" => $this->getAttribute($context["category"], "id", array()), "slug" => $this->getAttribute($context["category"], "slug", array()))), "html", null, true);
         echo "\"><li class=\"ma-Interest-item btn btn-mega btn-inverse-2\">\n                                    <span class=\"ma-Interest-text\">\n                                          ";
         // line 58
         echo twig_escape_filter($this->env, $this->getAttribute($context["category"], "name", array()), "html", null, true);
         echo "\n                                    </span>\n                                    </li>\n                                </a>\n                                ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 63
     echo "                            </ul>\n                        </div>\n                </section>\n                <!-- fin de la section commande et abonnnment-->\n                <!--end section raccourcis-->\n\n                <!--section fournisseur -->\n                <p>&nbsp;&nbsp;</p>\n                <section>\n                    <div class=\"col-sm-12 col-md-12 col-lg-12\">\n                        <h3>";
     // line 73
     echo "Devenir fournisseur";
     echo "</h3>\n                        <div class=\"blockquote\">\n                            <p>&nbsp;&nbsp;&nbsp;</p>\n                                <div class=\"row\">\n                                    <div class=\"col-sm-7 col-md-7 col-lg-7\">\n                                        <img class=\"img-responsive animate scale animated\" src=\"";
     // line 78
     echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("images/image-our-service.jpg"), "html", null, true);
     echo "\" alt=\"\">\n                                    </div>\n                                    <div class=\"divider-md visible-xs\"></div>\n                                    <div class=\"col-sm-5 col-md-5 col-lg-5\">\n                                        <h5>Lorem ipsum dolor sit amet consetetur</h5>\n                                        <a href=\"#\" class=\"btn btn-mega\">";
     // line 83
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, "devenir fournisseur"), "html", null, true);
     echo "</a>\n                                    </div>\n                                </div>\n                            </section>\n                        </div>\n                </section>\n                <!-- end section fournisseur-->\n            </section>\n            <!-- //end Right column -->\n\n        </div>\n    </section>\n";
     $__internal_e4ce07af4cbe96c9f150fa1c353a1fbd1fc01f8685e6ad3aeea418bcbe5de765->leave($__internal_e4ce07af4cbe96c9f150fa1c353a1fbd1fc01f8685e6ad3aeea418bcbe5de765_prof);
 }
开发者ID:raphydev,项目名称:webcomshop,代码行数:59,代码来源:eb9128f0d28019ec3f85df69989a454cd777075c6e7c02be54c144f9689f2285.php

示例9: doDisplay

 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 11
     echo "\n<td class=\"sonata-ba-list-field sonata-ba-list-field-";
     // line 12
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : $this->getContext($context, "field_description"), "type", array()), "html", null, true);
     echo "\" objectId=\"";
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "id", array(0 => isset($context["object"]) ? $context["object"] : $this->getContext($context, "object")), "method"), "html", null, true);
     echo "\">\n    ";
     // line 13
     $context["route"] = $this->getAttribute($this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : null, "options", array(), "any", false, true), "route", array(), "any", false, true), "name", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : null, "options", array(), "any", false, true), "route", array(), "any", false, true), "name", array()), null) : null;
     // line 14
     echo "    ";
     $context["action"] = (isset($context["route"]) ? $context["route"] : $this->getContext($context, "route")) == "show" ? "VIEW" : twig_upper_filter($this->env, isset($context["route"]) ? $context["route"] : $this->getContext($context, "route"));
     // line 15
     echo "\n    ";
     // line 16
     if ($this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : null, "options", array(), "any", false, true), "identifier", array(), "any", true, true) && (isset($context["route"]) ? $context["route"] : $this->getContext($context, "route")) && (isset($context["action"]) ? $context["action"] : $this->getContext($context, "action")) && $this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "hasRoute", array(0 => isset($context["route"]) ? $context["route"] : $this->getContext($context, "route")), "method") && $this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "isGranted", array(0 => isset($context["action"]) ? $context["action"] : $this->getContext($context, "action"), 1 => twig_in_filter(isset($context["action"]) ? $context["action"] : $this->getContext($context, "action"), array(0 => "VIEW", 1 => "EDIT")) ? isset($context["object"]) ? $context["object"] : $this->getContext($context, "object") : null), "method")) {
         // line 23
         echo "        <a class=\"sonata-link-identifier\" href=\"";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "generateObjectUrl", array(0 => isset($context["route"]) ? $context["route"] : $this->getContext($context, "route"), 1 => isset($context["object"]) ? $context["object"] : $this->getContext($context, "object"), 2 => $this->getAttribute($this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : $this->getContext($context, "field_description"), "options", array()), "route", array()), "parameters", array())), "method"), "html", null, true);
         echo "\">";
         // line 24
         $this->displayBlock('field', $context, $blocks);
         // line 25
         echo "</a>\n    ";
     } else {
         // line 27
         echo "        ";
         $context["isEditable"] = $this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : null, "options", array(), "any", false, true), "editable", array(), "any", true, true) && $this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : $this->getContext($context, "field_description"), "options", array()), "editable", array()) && $this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "isGranted", array(0 => "EDIT", 1 => isset($context["object"]) ? $context["object"] : $this->getContext($context, "object")), "method");
         // line 28
         echo "        ";
         $context["xEditableType"] = $this->env->getExtension('sonata_admin')->getXEditableType($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : $this->getContext($context, "field_description"), "type", array()));
         // line 29
         echo "\n        ";
         // line 30
         if ((isset($context["isEditable"]) ? $context["isEditable"] : $this->getContext($context, "isEditable")) && (isset($context["xEditableType"]) ? $context["xEditableType"] : $this->getContext($context, "xEditableType"))) {
             // line 31
             echo "            ";
             $context["url"] = $this->env->getExtension('routing')->getPath("sonata_admin_set_object_field_value", array("context" => "list", "field" => $this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : $this->getContext($context, "field_description"), "name", array()), "objectId" => $this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "id", array(0 => isset($context["object"]) ? $context["object"] : $this->getContext($context, "object")), "method"), "code" => $this->getAttribute(isset($context["admin"]) ? $context["admin"] : $this->getContext($context, "admin"), "code", array(0 => isset($context["object"]) ? $context["object"] : $this->getContext($context, "object")), "method")));
             // line 32
             echo "            <span ";
             $this->displayBlock('field_span_attributes', $context, $blocks);
             echo ">\n                ";
             // line 33
             $this->displayBlock("field", $context, $blocks);
             echo "\n            </span>\n        ";
         } else {
             // line 36
             echo "            ";
             $this->displayBlock("field", $context, $blocks);
             echo "\n        ";
         }
         // line 38
         echo "    ";
     }
     // line 39
     echo "</td>\n";
 }
开发者ID:axelleP,项目名称:Oetherium,代码行数:59,代码来源:b8e22e3a9e11f80e0856ec7119d900a95d0140381fce73640f074681a4b7b91a.php

示例10: doDisplay

 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     echo "<div class=\"communication_list_count\">\n    ";
     // line 2
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["pagination"]) ? $context["pagination"] : null, "getTotalItemCount", array()), "html", null, true);
     echo " communication(s) trouvée(s)\n</div>\n\n";
     // line 11
     echo "\n<div class=\"communication_list_pagination\">\n    ";
     // line 13
     echo $this->env->getExtension('knp_pagination')->render(isset($context["pagination"]) ? $context["pagination"] : null);
     echo "\n</div>\n\n";
     // line 16
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["pagination"]) ? $context["pagination"] : null);
     foreach ($context['_seq'] as $context["_key"] => $context["communication"]) {
         // line 17
         echo "    <div class=\"communication_item\" >\n        <table>\n            <tr>\n                <td valign=\"top\">\n\n                    <div class=\"communication_user_and_date\" >\n                        <div class=\"communication_user_image\" >\n                            ";
         // line 27
         echo "                            <a href=\"";
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("aet_annuaire_communication_view", array("id" => $this->getAttribute($context["communication"], "id", array()))), "html", null, true);
         echo "\">\n                                <img\n                                  src=\"";
         // line 29
         echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl($this->getAttribute($this->getAttribute($context["communication"], "image", array()), "webPath", array())), "html", null, true);
         echo "\"\n                                  alt=\"";
         // line 30
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["communication"], "image", array()), "alt", array()), "html", null, true);
         echo "\"\n                                />\n                            </a>\n                        </div>\n                        <div class=\"communication_user_name\"><i>Par ";
         // line 34
         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($this->getAttribute($context["communication"], "user", array()), "firstName", array())), "html", null, true);
         echo " ";
         echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute($this->getAttribute($context["communication"], "user", array()), "lastName", array())), "html", null, true);
         echo "</i></div>\n                        <div class=\"communication_date\"><i>Le ";
         // line 35
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["communication"], "date", array()), "d/m/Y"), "html", null, true);
         echo "</i></div>\n                    </div>\n\n                </td>\n                <td valign=\"top\">\n                    <div class=\"communication_title\" >\n                        <a href=\"";
         // line 41
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("aet_annuaire_communication_view", array("id" => $this->getAttribute($context["communication"], "id", array()))), "html", null, true);
         echo "\">";
         echo twig_length_filter($this->env, $this->getAttribute($context["communication"], "title", array())) > 80 ? twig_slice($this->env, $this->getAttribute($context["communication"], "title", array()), 0, 80) . "..." : $this->getAttribute($context["communication"], "title", array());
         echo "</a>\n                    </div>\n                    <div class=\"communication_body\" >\n                        ";
         // line 45
         echo "                        ";
         echo twig_escape_filter($this->env, $this->getAttribute($context["communication"], "shortDesc", array()), "html", null, true);
         echo "\n                    </div>\n                </td>\n            </tr>\n\n\n        </table>\n    </div>\n";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['communication'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 54
     echo "\n";
     // line 56
     echo "<div class=\"communication_list_pagination\">\n    ";
     // line 57
     echo $this->env->getExtension('knp_pagination')->render(isset($context["pagination"]) ? $context["pagination"] : null);
     echo "\n</div>";
 }
开发者ID:AetFrance,项目名称:SiteFoyerAet,代码行数:57,代码来源:0003d2b8fe95f9ed547dcb844e1bfe062b8959ea5862a03ca3cc40c36e83.php

示例11: doDisplay

 protected function doDisplay(array $context, array $blocks = array())
 {
     $__internal_7a79f6c36514d1b4b45713497d701f2d6c68431fb0409eb681e3c6c560d40958 = $this->env->getExtension("native_profiler");
     $__internal_7a79f6c36514d1b4b45713497d701f2d6c68431fb0409eb681e3c6c560d40958->enter($__internal_7a79f6c36514d1b4b45713497d701f2d6c68431fb0409eb681e3c6c560d40958_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "FOSUserBundle:Security:login.html.twig"));
     // line 1
     echo "<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<link href=\"/assets/icons/favicon.ico\" rel=\"icon\" type=\"image/ico\">\n<meta charset = \"UTF-8\">\t\t\n<title>CS Crm</title>\n\n<link href=\"";
     // line 8
     echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("css/style_Project_Work.css"), "html", null, true);
     echo "\" rel=\"stylesheet\" type=\"text/css\" charset=\"utf-8\"/>\n<link href=\"";
     // line 9
     echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("css/font-awesome.css"), "html", null, true);
     echo "\" rel=\"stylesheet\" type=\"text/css\">\n\t</head>\n\t<body class=\"body\">\n\n\t\t\n\t\t<div class=\"contenitore_header_login cf\">\n\t\t\t<b>CS Crm - LOGIN</b>\n\t\t\t\t\t<div class=\"contenuti_login\">\n\n\t\t\t\t\t\t\t";
     // line 18
     if (isset($context["error"]) ? $context["error"] : $this->getContext($context, "error")) {
         // line 19
         echo "\t\t\t\t\t\t\t    <div>";
         echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans($this->getAttribute(isset($context["error"]) ? $context["error"] : $this->getContext($context, "error"), "messageKey", array()), $this->getAttribute(isset($context["error"]) ? $context["error"] : $this->getContext($context, "error"), "messageData", array()), "security"), "html", null, true);
         echo "</div>\n\t\t\t\t\t\t\t";
     }
     // line 21
     echo "\n\t\t\t\t\t\t\t<form action=\"";
     // line 22
     echo $this->env->getExtension('routing')->getPath("fos_user_security_check");
     echo "\" method=\"post\">\n\t\t\t\t\t\t\t    <input type=\"hidden\" name=\"_csrf_token\" value=\"";
     // line 23
     echo twig_escape_filter($this->env, isset($context["csrf_token"]) ? $context["csrf_token"] : $this->getContext($context, "csrf_token"), "html", null, true);
     echo "\" />\n\n\t\t\t\t\t\t\t    <label for=\"username\"></label>\n\t\t\t\t\t\t\t    <input type=\"text\" id=\"username\" name=\"_username\" value=\"";
     // line 26
     echo twig_escape_filter($this->env, isset($context["last_username"]) ? $context["last_username"] : $this->getContext($context, "last_username"), "html", null, true);
     echo "\" placeholder=\"";
     echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("inserisci username"), "html", null, true);
     echo "\" required=\"required\" />\n\n\t\t\t\t\t\t\t    <label for=\"password\"></label>\n\t\t\t\t\t\t\t    <input type=\"password\" id=\"password\" name=\"_password\" placeholder=\"";
     // line 29
     echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("inserisci password"), "html", null, true);
     echo "\" required=\"required\" />\n\n\t\t\t\t\t\t\t    <input class=\"send_login\" type=\"submit\" id=\"_submit\" name=\"_submit\" value=\"";
     // line 31
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->env->getExtension('translator')->trans("login")), "html", null, true);
     echo "\" />\n\t\t\t\t\t\t\t</form>\n\t\t\t\t\t\t\t\n\n\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t";
     // line 37
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute($this->getAttribute(isset($context["app"]) ? $context["app"] : $this->getContext($context, "app"), "session", array()), "flashbag", array()), "get", array(0 => "notice"), "method"));
     foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) {
         // line 38
         echo "\t\t\t\t\t\t<div class='flash-notice'>\n\t\t\t\t\t\t\t";
         // line 39
         echo twig_escape_filter($this->env, twig_upper_filter($this->env, $context["flash_message"]), "html", null, true);
         echo "\n\t\t\t\t\t\t</div class='flash-notice'>\n\t\t\t\t\t";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash_message'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 42
     echo "\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t<!--\n\t\t\t\t<a href=\"/PROJECTWORK/Admin_campagne.html\"><button type=\"submit\" name=\"annulla_campagna\" value=\"annulla\">_____annulla______</button></a>-->\n\t\t\t\t<!--<a href=\"/PROJECTWORK/Admin_index.html\"><button type=\"submit\" name=\"login\" value=\"avanti\">LOGIN</button></a>\n\t\t--></div>\n\n\n\n\n<div class=\"contenitore_sfondo_pp\">\t\n\n\n</div>\n\n\n<!--INSERIRE JQUERY per FAR FUNZIONARE LO SCRIPT-->\n\t</body>\n</html>";
     $__internal_7a79f6c36514d1b4b45713497d701f2d6c68431fb0409eb681e3c6c560d40958->leave($__internal_7a79f6c36514d1b4b45713497d701f2d6c68431fb0409eb681e3c6c560d40958_prof);
 }
开发者ID:AndreaDellaValle,项目名称:projectWork,代码行数:55,代码来源:54ab2188373063fdb13880efd668f9ae074c47d587de326bb6cdd409a9cee265.php

示例12: block_form_start

 public function block_form_start($context, array $blocks = array())
 {
     // line 2
     ob_start();
     // line 3
     echo "    ";
     $context["method"] = twig_upper_filter($this->env, isset($context["method"]) ? $context["method"] : $this->getContext($context, "method"));
     // line 4
     echo "    ";
     if (twig_in_filter(isset($context["method"]) ? $context["method"] : $this->getContext($context, "method"), array(0 => "GET", 1 => "POST"))) {
         // line 5
         echo "        ";
         $context["form_method"] = isset($context["method"]) ? $context["method"] : $this->getContext($context, "method");
         // line 6
         echo "    ";
     } else {
         // line 7
         echo "        ";
         $context["form_method"] = "POST";
         // line 8
         echo "    ";
     }
     // line 9
     echo "    <form name=\"";
     echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), "vars", array()), "name", array()), "html", null, true);
     echo "\" method=\"";
     echo twig_escape_filter($this->env, twig_lower_filter($this->env, isset($context["form_method"]) ? $context["form_method"] : $this->getContext($context, "form_method")), "html", null, true);
     echo "\" action=\"";
     echo twig_escape_filter($this->env, isset($context["action"]) ? $context["action"] : $this->getContext($context, "action"), "html", null, true);
     echo "\"";
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["attr"]) ? $context["attr"] : $this->getContext($context, "attr"));
     foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) {
         echo " ";
         echo twig_escape_filter($this->env, $context["attrname"], "html", null, true);
         echo "=\"";
         echo twig_escape_filter($this->env, $context["attrvalue"], "html", null, true);
         echo "\"";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['attrname'], $context['attrvalue'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     if (isset($context["multipart"]) ? $context["multipart"] : $this->getContext($context, "multipart")) {
         echo " enctype=\"multipart/form-data\"";
     }
     echo " novalidate=\"true\">\n    ";
     // line 10
     if ((isset($context["form_method"]) ? $context["form_method"] : $this->getContext($context, "form_method")) != (isset($context["method"]) ? $context["method"] : $this->getContext($context, "method"))) {
         // line 11
         echo "        <input type=\"hidden\" name=\"_method\" value=\"";
         echo twig_escape_filter($this->env, isset($context["method"]) ? $context["method"] : $this->getContext($context, "method"), "html", null, true);
         echo "\" />\n    ";
     }
     echo trim(preg_replace('/>\\s+</', '><', ob_get_clean()));
 }
开发者ID:dawidf,项目名称:air,代码行数:55,代码来源:b7df9b2df2f9fd77361b66a91c3bf1b344fca4b9622eec02deee73cb5f15.php

示例13: block_body

 public function block_body($context, array $blocks = array())
 {
     // line 6
     echo "    <br><br>\n\n     <div class=\"content\">\n      <!-- Start: SERVICE LIST -->\n        <div class=\"container\">\n          <div class=\"page-header\">\n                            <h2><small><font color=\"black\"><font size=+2><u>Espace Entreprise</u></font></font></small></h2>\n          </div>\n                \n          <div class=\"span3\">";
     // line 15
     $this->env->loadTemplate("EntrepriseBundle:Modules:menuentreprise.html.twig")->display($context);
     echo "</div>\n           <div class=\"row-fluid\">\n              \n          <div class=\"span9\" class=\"icon-align-left\">BINEVENU(E) DANS VOTRE ESPACE ENTREPRISE ";
     // line 18
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["app"]) ? $context["app"] : null, "user"), "username")), "html", null, true);
     echo " !\n              <br> <br>\n               \n          </div>\n           </div>\n          </div>\n        </div>\n      <!-- End: SERVICE LIST -->\n  \n     ";
 }
开发者ID:ronaldodia,项目名称:recrutementbeta,代码行数:11,代码来源:4bbda81a14576b65a1e01682ad6a5a4e8c6c2bef46dbf7420c9ece9867bb.php

示例14: block_body

 public function block_body($context, array $blocks = array())
 {
     $__internal_4099367c48084ed4fe3958958eb33c61587cdca2de862174535d76e0dae22957 = $this->env->getExtension("native_profiler");
     $__internal_4099367c48084ed4fe3958958eb33c61587cdca2de862174535d76e0dae22957->enter($__internal_4099367c48084ed4fe3958958eb33c61587cdca2de862174535d76e0dae22957_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));
     // line 11
     echo "<table class=\"table border bordered\">\n        <thead>\n        <tr>\n            <th>Renseignements</th>\n            <th>Rôles</th>\n            <th>Actions</th>\n        </tr>\n        </thead>\n        <tbody>\n        ";
     // line 20
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["entities"]) ? $context["entities"] : $this->getContext($context, "entities"));
     foreach ($context['_seq'] as $context["_key"] => $context["entity"]) {
         // line 21
         echo "            <tr>\n                <td>\n                    Nom : ";
         // line 23
         echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute($context["entity"], "nom", array())), "html", null, true);
         echo " ";
         echo twig_escape_filter($this->env, $this->getAttribute($context["entity"], "prenom", array()), "html", null, true);
         echo "\n                    <hr class=\"thin\">\n                    <span class=\"tag success\">";
         // line 25
         echo twig_escape_filter($this->env, $this->getAttribute($context["entity"], "username", array()), "html", null, true);
         echo "</span> <span class=\"tag info\">";
         echo twig_escape_filter($this->env, $this->getAttribute($context["entity"], "email", array()), "html", null, true);
         echo "</span>\n                </td>\n                <td>\n                    ";
         // line 28
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["entity"], "roles", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["role"]) {
             // line 29
             echo "                        <span class=\"tag info\">";
             echo twig_escape_filter($this->env, $context["role"], "html", null, true);
             echo "</span>\n                    ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['role'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 30
         echo "</td>\n                <td class=\"align-center\">\n                    <a href=\"";
         // line 32
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("users_show", array("id" => $this->getAttribute($context["entity"], "id", array()))), "html", null, true);
         echo "\">Détails</a>\n                    <a href=\"";
         // line 33
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("users_edit", array("id" => $this->getAttribute($context["entity"], "id", array()))), "html", null, true);
         echo "\">Modifier</a>\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 37
     echo "        </tbody>\n    </table>\n\n    <a class=\"button primary ajax-button\" href=\"";
     // line 40
     echo $this->env->getExtension('routing')->getPath("users_new");
     echo "\">\n        Ajouter un nouvel utilisateur\n    </a>\n";
     $__internal_4099367c48084ed4fe3958958eb33c61587cdca2de862174535d76e0dae22957->leave($__internal_4099367c48084ed4fe3958958eb33c61587cdca2de862174535d76e0dae22957_prof);
 }
开发者ID:gasikely2,项目名称:sgpec,代码行数:53,代码来源:49d379e820c64083ae0c5d9f72cebecb1461fc9fe75e0207634827b0f3da13d9.php

示例15: doDisplay

 protected function doDisplay(array $context, array $blocks = array())
 {
     $__internal_835030d3a3194b400a592ed316b98b85a7a2a4c65ece066f1ebbec2bc191740b = $this->env->getExtension("native_profiler");
     $__internal_835030d3a3194b400a592ed316b98b85a7a2a4c65ece066f1ebbec2bc191740b->enter($__internal_835030d3a3194b400a592ed316b98b85a7a2a4c65ece066f1ebbec2bc191740b_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "::card.html.twig"));
     // line 1
     echo "<h1>";
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, isset($context["firstname"]) ? $context["firstname"] : $this->getContext($context, "firstname")), "html", null, true);
     echo " ";
     echo twig_escape_filter($this->env, twig_lower_filter($this->env, isset($context["lastname"]) ? $context["lastname"] : $this->getContext($context, "lastname")), "html", null, true);
     echo "</h1>";
     $__internal_835030d3a3194b400a592ed316b98b85a7a2a4c65ece066f1ebbec2bc191740b->leave($__internal_835030d3a3194b400a592ed316b98b85a7a2a4c65ece066f1ebbec2bc191740b_prof);
 }
开发者ID:s179861,项目名称:vie_data_save,代码行数:12,代码来源:f47827f9c6350034fe755be76b59b31a1dad78372728ee17da0c6a916d3494e9.php


注:本文中的twig_upper_filter函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。