• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP twig_upper_filter函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



在下文中一共展示了twig_upper_filter函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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=\"co 

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP twig_without函数代码示例发布时间:2022-05-23
下一篇:
PHP twig_truncate_filter函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap