var/cache/dev/twig/9a/9a736b9438e306c49ef77c0d91fdb18b0790d41f2f7cf801827b82dbb13ee656.php line 56

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* website/user/profile/user-profile-board.html.twig */
  14. class __TwigTemplate_7026dc2dee49ff4a24cf4385c84765c4b1a37c653a57c859933a9ae743fbd9a4 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'metaIndex' => [$this'block_metaIndex'],
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 3
  30.         return "website/main.template.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/user/profile/user-profile-board.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/user/profile/user-profile-board.html.twig"));
  39.         // line 1
  40.         $macros["__internal_73d48af1dd7416c52cc1609623db4c12b112bd3fd707e0a713be5d8368f66970"] = $this->macros["__internal_73d48af1dd7416c52cc1609623db4c12b112bd3fd707e0a713be5d8368f66970"] = $this->loadTemplate("utils.html.twig""website/user/profile/user-profile-board.html.twig"1)->unwrap();
  41.         // line 6
  42.         $context["userCheckoutInfo"] = (=== twig_compare($this->extensions['EADPlataforma\Twig\FunctionsExtension']->getConfig("use_checkout_info"), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("CartEnum::YES")));
  43.         // line 7
  44.         $context["cartCompleteRegistration"] = (=== twig_compare($this->extensions['EADPlataforma\Twig\FunctionsExtension']->getConfig("cart_complete_registration"), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("CartEnum::YES")));
  45.         // line 3
  46.         $this->parent $this->loadTemplate("website/main.template.html.twig""website/user/profile/user-profile-board.html.twig"3);
  47.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  48.         
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  50.         
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  52.     }
  53.     // line 9
  54.     public function block_metaIndex($context, array $blocks = [])
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaIndex"));
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaIndex"));
  61.         // line 10
  62.         echo "    <meta name=\"robots\" content=\"nofollow\">
  63. ";
  64.         
  65.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  66.         
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  68.     }
  69.     // line 13
  70.     public function block_body($context, array $blocks = [])
  71.     {
  72.         $macros $this->macros;
  73.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  74.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  76.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  77.         // line 14
  78.         echo "    ";
  79.         $this->loadTemplate("website/includes/search-section.html.twig""website/user/profile/user-profile-board.html.twig"14)->display($context);
  80.         // line 15
  81.         echo "
  82.     ";
  83.         // line 16
  84.         $this->loadTemplate("website/user/profile/user-profile-board.html.twig""website/user/profile/user-profile-board.html.twig"16"1159458668")->display(twig_array_merge($context, ["pageTitle" => $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("profile""profile")]));
  85.         // line 21
  86.         echo "
  87.     <div class=\"container\">
  88.         <nav class=\"abas tab\">
  89.             <a class=\"tab-item aba\" id=\"user-detail\" href=\"#user-detail-data\">";
  90.         // line 24
  91.         echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("user_data""profile"), "html"nulltrue);
  92.         echo "</a>
  93.             
  94.             ";
  95.         // line 26
  96.         if ((((isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'26$this->source); })()) && (!== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'26$this->source); })()), "id", [], "any"falsefalsefalse26), 1))) && twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["session"]) || array_key_exists("session"$context) ? $context["session"] : (function () { throw new RuntimeError('Variable "session" does not exist.'26$this->source); })()), "userOrigin", [], "any"falsefalsefalse26)))) {
  97.             // line 27
  98.             echo "                <a class=\"tab-item aba\" id=\"user-authentication\" href=\"#user-authentication-data\">";
  99.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("user_authentication""profile"), "html"nulltrue);
  100.             echo "</a>
  101.             ";
  102.         }
  103.         // line 29
  104.         echo "
  105.             ";
  106.         // line 30
  107.         if ($this->extensions['EADPlataforma\Twig\FunctionsExtension']->existReceiverEAD()) {
  108.             // line 31
  109.             echo "                <a class=\"tab-item aba\" id=\"user-payment\" href=\"#user-payment-data\">";
  110.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("payment""profile"), "html"nulltrue);
  111.             echo "</a>
  112.             ";
  113.         }
  114.         // line 33
  115.         echo "
  116.             <a class=\"tab-item aba\" id=\"user-notify\" href=\"#user-notify-data\">";
  117.         // line 34
  118.         echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("notifications""profile"), "html"nulltrue);
  119.         echo "</a>
  120.             
  121.             ";
  122.         // line 36
  123.         if ((twig_get_attribute($this->env$this->source, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'36$this->source); })()), "allowReceiver", [], "any"falsefalsefalse36) && $this->extensions['EADPlataforma\Twig\FunctionsExtension']->existReceiverEAD())) {
  124.             // line 37
  125.             echo "                <a class=\"tab-item aba\" id=\"user-receivers\" href=\"#user-receivers-data\">";
  126.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("receivers""profile"), "html"nulltrue);
  127.             echo "</a>
  128.             ";
  129.         }
  130.         // line 39
  131.         echo "        </nav>
  132.         ";
  133.         // line 42
  134.         echo "        <section id=\"user-detail-data\" class=\"tab-data\">
  135.             <div class=\"bg-box\">
  136.                 ";
  137.         // line 44
  138.         $this->loadTemplate("website/user/profile/user-profile-edit.html.twig""website/user/profile/user-profile-board.html.twig"44)->display($context);
  139.         // line 45
  140.         echo "            </div>
  141.         </section>
  142.         ";
  143.         // line 49
  144.         echo "        ";
  145.         if ((((isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'49$this->source); })()) && (!== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'49$this->source); })()), "id", [], "any"falsefalsefalse49), 1))) && twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["session"]) || array_key_exists("session"$context) ? $context["session"] : (function () { throw new RuntimeError('Variable "session" does not exist.'49$this->source); })()), "userOrigin", [], "any"falsefalsefalse49)))) {
  146.             // line 50
  147.             echo "            <section id=\"user-authentication-data\" class=\"tab-data\">
  148.                 <div class=\"bg-box\">
  149.                     ";
  150.             // line 52
  151.             $this->loadTemplate("website/user/profile/user-profile-authentication.html.twig""website/user/profile/user-profile-board.html.twig"52)->display($context);
  152.             // line 53
  153.             echo "                </div>
  154.             </section>
  155.         ";
  156.         }
  157.         // line 56
  158.         echo "
  159.         ";
  160.         // line 58
  161.         echo "        ";
  162.         if ($this->extensions['EADPlataforma\Twig\FunctionsExtension']->existReceiverEAD()) {
  163.             // line 59
  164.             echo "            <section id=\"user-payment-data\" class=\"tab-data\">
  165.                 <div class=\"bg-box\">
  166.                     ";
  167.             // line 61
  168.             $this->loadTemplate("website/user/profile/user-profile-payment.html.twig""website/user/profile/user-profile-board.html.twig"61)->display($context);
  169.             // line 62
  170.             echo "                </div>
  171.             </section>
  172.         ";
  173.         }
  174.         // line 65
  175.         echo "
  176.         ";
  177.         // line 67
  178.         echo "        <section id=\"user-notify-data\" class=\"tab-data\">
  179.             <div class=\"bg-box\">
  180.                 ";
  181.         // line 69
  182.         $this->loadTemplate("website/user/profile/user-profile-notifications.html.twig""website/user/profile/user-profile-board.html.twig"69)->display(twig_array_merge($context, ["by_email" => false]));
  183.         // line 70
  184.         echo "            </div>
  185.         </section>
  186.         ";
  187.         // line 74
  188.         echo "        ";
  189.         if ((twig_get_attribute($this->env$this->source, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'74$this->source); })()), "allowReceiver", [], "any"falsefalsefalse74) && $this->extensions['EADPlataforma\Twig\FunctionsExtension']->existReceiverEAD())) {
  190.             // line 75
  191.             echo "            <section id=\"user-receivers-data\" class=\"tab-data\">
  192.                 <div class=\"bg-box\">
  193.                     ";
  194.             // line 77
  195.             $this->loadTemplate("website/user/profile/user-profile-receivers-list.html.twig""website/user/profile/user-profile-board.html.twig"77)->display($context);
  196.             // line 78
  197.             echo "                </div>
  198.             </section>
  199.         ";
  200.         }
  201.         // line 81
  202.         echo "    </div>
  203.     ";
  204.         // line 84
  205.         echo "    <template id=\"template-loading-row\">
  206.         <tr class=\"row-loader\">
  207.             <td>
  208.                 <span>";
  209.         // line 87
  210.         echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("wait""util"), "html"nulltrue);
  211.         echo "&hellip;&ensp;<i class=\"loader\">";
  212.         echo twig_call_macro($macros["__internal_73d48af1dd7416c52cc1609623db4c12b112bd3fd707e0a713be5d8368f66970"], "macro_ico", ["loader-wish"], 87$context$this->getSourceContext());
  213.         echo "</i></span>
  214.             </td>
  215.         </tr>
  216.     </template>
  217.     ";
  218.         // line 93
  219.         echo "    ";
  220.         $this->loadTemplate("website/user/profile/user-profile-board.html.twig""website/user/profile/user-profile-board.html.twig"93"93601212")->display(twig_array_merge($context, ["id" => "modal-receiver-create""title" => $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("add_new_receiver""profile"), "classes" => "modal-wid""inistep" => 1]));
  221.         // line 106
  222.         echo "
  223. ";
  224.         
  225.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  226.         
  227.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  228.     }
  229.     public function getTemplateName()
  230.     {
  231.         return "website/user/profile/user-profile-board.html.twig";
  232.     }
  233.     public function isTraitable()
  234.     {
  235.         return false;
  236.     }
  237.     public function getDebugInfo()
  238.     {
  239.         return array (  246 => 106,  243 => 93,  233 => 87,  228 => 84,  224 => 81,  219 => 78,  217 => 77,  213 => 75,  210 => 74,  205 => 70,  203 => 69,  199 => 67,  196 => 65,  191 => 62,  189 => 61,  185 => 59,  182 => 58,  179 => 56,  174 => 53,  172 => 52,  168 => 50,  165 => 49,  160 => 45,  158 => 44,  154 => 42,  150 => 39,  144 => 37,  142 => 36,  137 => 34,  134 => 33,  128 => 31,  126 => 30,  123 => 29,  117 => 27,  115 => 26,  110 => 24,  105 => 21,  103 => 16,  100 => 15,  97 => 14,  87 => 13,  76 => 10,  66 => 9,  55 => 3,  53 => 7,  51 => 6,  49 => 1,  36 => 3,);
  240.     }
  241.     public function getSourceContext()
  242.     {
  243.         return new Source("{% from 'utils.html.twig' import ico %}
  244. {% extends 'website/main.template.html.twig' %}
  245. {# SETUP - BILLING REQUIRED FIELDS #}
  246. {% set userCheckoutInfo = (getConfig('use_checkout_info') == enum('CartEnum::YES')) %}
  247. {% set cartCompleteRegistration = (getConfig('cart_complete_registration') == enum('CartEnum::YES')) %}
  248. {% block metaIndex %}
  249.     <meta name=\"robots\" content=\"nofollow\">
  250. {% endblock %}
  251. {% block body %}
  252.     {% include 'website/includes/search-section.html.twig' %}
  253.     {% embed 'website/includes/page-title.html.twig' with { pageTitle: getLanguage('profile', 'profile') }%}
  254.         {% block migalhas %}
  255.             <a href=\"{{ path('home') }}\">{{ getLanguage('home', 'profile') }}</a>&ensp;/&ensp;<a href=\"#\">{{ getLanguage('profile', 'profile') }}</a>&ensp;/&ensp;<span>{{ getLanguage('edit_profile_lowercase', 'profile') }}</span>
  256.         {% endblock %}
  257.     {% endembed %}
  258.     <div class=\"container\">
  259.         <nav class=\"abas tab\">
  260.             <a class=\"tab-item aba\" id=\"user-detail\" href=\"#user-detail-data\">{{ getLanguage('user_data', 'profile') }}</a>
  261.             
  262.             {% if user and user.id != 1 and session.userOrigin is empty %}
  263.                 <a class=\"tab-item aba\" id=\"user-authentication\" href=\"#user-authentication-data\">{{ getLanguage('user_authentication', 'profile') }}</a>
  264.             {% endif %}
  265.             {% if existReceiverEAD() %}
  266.                 <a class=\"tab-item aba\" id=\"user-payment\" href=\"#user-payment-data\">{{ getLanguage('payment', 'profile') }}</a>
  267.             {% endif %}
  268.             <a class=\"tab-item aba\" id=\"user-notify\" href=\"#user-notify-data\">{{ getLanguage('notifications', 'profile') }}</a>
  269.             
  270.             {% if user.allowReceiver and existReceiverEAD() %}
  271.                 <a class=\"tab-item aba\" id=\"user-receivers\" href=\"#user-receivers-data\">{{ getLanguage('receivers', 'profile') }}</a>
  272.             {% endif %}
  273.         </nav>
  274.         {# PROFILE EDIT #}
  275.         <section id=\"user-detail-data\" class=\"tab-data\">
  276.             <div class=\"bg-box\">
  277.                 {% include 'website/user/profile/user-profile-edit.html.twig' %}
  278.             </div>
  279.         </section>
  280.         {# AUTHENTICATION EDIT #}
  281.         {% if user and user.id != 1 and session.userOrigin is empty %}
  282.             <section id=\"user-authentication-data\" class=\"tab-data\">
  283.                 <div class=\"bg-box\">
  284.                     {% include 'website/user/profile/user-profile-authentication.html.twig' %}
  285.                 </div>
  286.             </section>
  287.         {% endif %}
  288.         {# PAYMENT #}
  289.         {% if existReceiverEAD() %}
  290.             <section id=\"user-payment-data\" class=\"tab-data\">
  291.                 <div class=\"bg-box\">
  292.                     {% include 'website/user/profile/user-profile-payment.html.twig' %}
  293.                 </div>
  294.             </section>
  295.         {% endif %}
  296.         {# NOTIFICATIONS #}
  297.         <section id=\"user-notify-data\" class=\"tab-data\">
  298.             <div class=\"bg-box\">
  299.                 {% include 'website/user/profile/user-profile-notifications.html.twig' with { by_email: false }%}
  300.             </div>
  301.         </section>
  302.         {# RECEIVERS #}
  303.         {% if user.allowReceiver and existReceiverEAD() %}
  304.             <section id=\"user-receivers-data\" class=\"tab-data\">
  305.                 <div class=\"bg-box\">
  306.                     {% include 'website/user/profile/user-profile-receivers-list.html.twig' %}
  307.                 </div>
  308.             </section>
  309.         {% endif %}
  310.     </div>
  311.     {# TEMPLATE LOADING ROW #}
  312.     <template id=\"template-loading-row\">
  313.         <tr class=\"row-loader\">
  314.             <td>
  315.                 <span>{{ getLanguage('wait', 'util') }}&hellip;&ensp;<i class=\"loader\">{{ ico('loader-wish') }}</i></span>
  316.             </td>
  317.         </tr>
  318.     </template>
  319.     {# MODAL -- CADASTRAR RECEBEDOR #}
  320.     {% embed \"website/includes/modal.html.twig\" with {
  321.         'id': 'modal-receiver-create',
  322.         'title': getLanguage('add_new_receiver', 'profile'),
  323.         'classes': 'modal-wid',
  324.         'inistep': 1
  325.     }%}
  326.         {% block content %}
  327.             <div class=\"form-geral-wrap\">
  328.                 <div class=\"aviso\"><p>&hellip;</p></div>
  329.                 {% include 'website/user/receiver/receiver-form.html.twig' with {'layout': 'modal'} %}
  330.             </div>
  331.         {% endblock %}
  332.     {% endembed %}
  333. {% endblock %}
  334. ""website/user/profile/user-profile-board.html.twig""/var/www/html/templates/website/user/profile/user-profile-board.html.twig");
  335.     }
  336. }
  337. /* website/user/profile/user-profile-board.html.twig */
  338. class __TwigTemplate_7026dc2dee49ff4a24cf4385c84765c4b1a37c653a57c859933a9ae743fbd9a4___1159458668 extends Template
  339. {
  340.     private $source;
  341.     private $macros = [];
  342.     public function __construct(Environment $env)
  343.     {
  344.         parent::__construct($env);
  345.         $this->source $this->getSourceContext();
  346.         $this->blocks = [
  347.             'migalhas' => [$this'block_migalhas'],
  348.         ];
  349.     }
  350.     protected function doGetParent(array $context)
  351.     {
  352.         // line 16
  353.         return "website/includes/page-title.html.twig";
  354.     }
  355.     protected function doDisplay(array $context, array $blocks = [])
  356.     {
  357.         $macros $this->macros;
  358.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  359.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/user/profile/user-profile-board.html.twig"));
  360.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  361.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/user/profile/user-profile-board.html.twig"));
  362.         $this->parent $this->loadTemplate("website/includes/page-title.html.twig""website/user/profile/user-profile-board.html.twig"16);
  363.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  364.         
  365.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  366.         
  367.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  368.     }
  369.     // line 17
  370.     public function block_migalhas($context, array $blocks = [])
  371.     {
  372.         $macros $this->macros;
  373.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  374.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""migalhas"));
  375.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  376.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""migalhas"));
  377.         // line 18
  378.         echo "            <a href=\"";
  379.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home");
  380.         echo "\">";
  381.         echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("home""profile"), "html"nulltrue);
  382.         echo "</a>&ensp;/&ensp;<a href=\"#\">";
  383.         echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("profile""profile"), "html"nulltrue);
  384.         echo "</a>&ensp;/&ensp;<span>";
  385.         echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("edit_profile_lowercase""profile"), "html"nulltrue);
  386.         echo "</span>
  387.         ";
  388.         
  389.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  390.         
  391.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  392.     }
  393.     public function getTemplateName()
  394.     {
  395.         return "website/user/profile/user-profile-board.html.twig";
  396.     }
  397.     public function isTraitable()
  398.     {
  399.         return false;
  400.     }
  401.     public function getDebugInfo()
  402.     {
  403.         return array (  438 => 18,  428 => 17,  405 => 16,  246 => 106,  243 => 93,  233 => 87,  228 => 84,  224 => 81,  219 => 78,  217 => 77,  213 => 75,  210 => 74,  205 => 70,  203 => 69,  199 => 67,  196 => 65,  191 => 62,  189 => 61,  185 => 59,  182 => 58,  179 => 56,  174 => 53,  172 => 52,  168 => 50,  165 => 49,  160 => 45,  158 => 44,  154 => 42,  150 => 39,  144 => 37,  142 => 36,  137 => 34,  134 => 33,  128 => 31,  126 => 30,  123 => 29,  117 => 27,  115 => 26,  110 => 24,  105 => 21,  103 => 16,  100 => 15,  97 => 14,  87 => 13,  76 => 10,  66 => 9,  55 => 3,  53 => 7,  51 => 6,  49 => 1,  36 => 3,);
  404.     }
  405.     public function getSourceContext()
  406.     {
  407.         return new Source("{% from 'utils.html.twig' import ico %}
  408. {% extends 'website/main.template.html.twig' %}
  409. {# SETUP - BILLING REQUIRED FIELDS #}
  410. {% set userCheckoutInfo = (getConfig('use_checkout_info') == enum('CartEnum::YES')) %}
  411. {% set cartCompleteRegistration = (getConfig('cart_complete_registration') == enum('CartEnum::YES')) %}
  412. {% block metaIndex %}
  413.     <meta name=\"robots\" content=\"nofollow\">
  414. {% endblock %}
  415. {% block body %}
  416.     {% include 'website/includes/search-section.html.twig' %}
  417.     {% embed 'website/includes/page-title.html.twig' with { pageTitle: getLanguage('profile', 'profile') }%}
  418.         {% block migalhas %}
  419.             <a href=\"{{ path('home') }}\">{{ getLanguage('home', 'profile') }}</a>&ensp;/&ensp;<a href=\"#\">{{ getLanguage('profile', 'profile') }}</a>&ensp;/&ensp;<span>{{ getLanguage('edit_profile_lowercase', 'profile') }}</span>
  420.         {% endblock %}
  421.     {% endembed %}
  422.     <div class=\"container\">
  423.         <nav class=\"abas tab\">
  424.             <a class=\"tab-item aba\" id=\"user-detail\" href=\"#user-detail-data\">{{ getLanguage('user_data', 'profile') }}</a>
  425.             
  426.             {% if user and user.id != 1 and session.userOrigin is empty %}
  427.                 <a class=\"tab-item aba\" id=\"user-authentication\" href=\"#user-authentication-data\">{{ getLanguage('user_authentication', 'profile') }}</a>
  428.             {% endif %}
  429.             {% if existReceiverEAD() %}
  430.                 <a class=\"tab-item aba\" id=\"user-payment\" href=\"#user-payment-data\">{{ getLanguage('payment', 'profile') }}</a>
  431.             {% endif %}
  432.             <a class=\"tab-item aba\" id=\"user-notify\" href=\"#user-notify-data\">{{ getLanguage('notifications', 'profile') }}</a>
  433.             
  434.             {% if user.allowReceiver and existReceiverEAD() %}
  435.                 <a class=\"tab-item aba\" id=\"user-receivers\" href=\"#user-receivers-data\">{{ getLanguage('receivers', 'profile') }}</a>
  436.             {% endif %}
  437.         </nav>
  438.         {# PROFILE EDIT #}
  439.         <section id=\"user-detail-data\" class=\"tab-data\">
  440.             <div class=\"bg-box\">
  441.                 {% include 'website/user/profile/user-profile-edit.html.twig' %}
  442.             </div>
  443.         </section>
  444.         {# AUTHENTICATION EDIT #}
  445.         {% if user and user.id != 1 and session.userOrigin is empty %}
  446.             <section id=\"user-authentication-data\" class=\"tab-data\">
  447.                 <div class=\"bg-box\">
  448.                     {% include 'website/user/profile/user-profile-authentication.html.twig' %}
  449.                 </div>
  450.             </section>
  451.         {% endif %}
  452.         {# PAYMENT #}
  453.         {% if existReceiverEAD() %}
  454.             <section id=\"user-payment-data\" class=\"tab-data\">
  455.                 <div class=\"bg-box\">
  456.                     {% include 'website/user/profile/user-profile-payment.html.twig' %}
  457.                 </div>
  458.             </section>
  459.         {% endif %}
  460.         {# NOTIFICATIONS #}
  461.         <section id=\"user-notify-data\" class=\"tab-data\">
  462.             <div class=\"bg-box\">
  463.                 {% include 'website/user/profile/user-profile-notifications.html.twig' with { by_email: false }%}
  464.             </div>
  465.         </section>
  466.         {# RECEIVERS #}
  467.         {% if user.allowReceiver and existReceiverEAD() %}
  468.             <section id=\"user-receivers-data\" class=\"tab-data\">
  469.                 <div class=\"bg-box\">
  470.                     {% include 'website/user/profile/user-profile-receivers-list.html.twig' %}
  471.                 </div>
  472.             </section>
  473.         {% endif %}
  474.     </div>
  475.     {# TEMPLATE LOADING ROW #}
  476.     <template id=\"template-loading-row\">
  477.         <tr class=\"row-loader\">
  478.             <td>
  479.                 <span>{{ getLanguage('wait', 'util') }}&hellip;&ensp;<i class=\"loader\">{{ ico('loader-wish') }}</i></span>
  480.             </td>
  481.         </tr>
  482.     </template>
  483.     {# MODAL -- CADASTRAR RECEBEDOR #}
  484.     {% embed \"website/includes/modal.html.twig\" with {
  485.         'id': 'modal-receiver-create',
  486.         'title': getLanguage('add_new_receiver', 'profile'),
  487.         'classes': 'modal-wid',
  488.         'inistep': 1
  489.     }%}
  490.         {% block content %}
  491.             <div class=\"form-geral-wrap\">
  492.                 <div class=\"aviso\"><p>&hellip;</p></div>
  493.                 {% include 'website/user/receiver/receiver-form.html.twig' with {'layout': 'modal'} %}
  494.             </div>
  495.         {% endblock %}
  496.     {% endembed %}
  497. {% endblock %}
  498. ""website/user/profile/user-profile-board.html.twig""/var/www/html/templates/website/user/profile/user-profile-board.html.twig");
  499.     }
  500. }
  501. /* website/user/profile/user-profile-board.html.twig */
  502. class __TwigTemplate_7026dc2dee49ff4a24cf4385c84765c4b1a37c653a57c859933a9ae743fbd9a4___93601212 extends Template
  503. {
  504.     private $source;
  505.     private $macros = [];
  506.     public function __construct(Environment $env)
  507.     {
  508.         parent::__construct($env);
  509.         $this->source $this->getSourceContext();
  510.         $this->blocks = [
  511.             'content' => [$this'block_content'],
  512.         ];
  513.     }
  514.     protected function doGetParent(array $context)
  515.     {
  516.         // line 93
  517.         return "website/includes/modal.html.twig";
  518.     }
  519.     protected function doDisplay(array $context, array $blocks = [])
  520.     {
  521.         $macros $this->macros;
  522.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  523.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/user/profile/user-profile-board.html.twig"));
  524.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  525.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/user/profile/user-profile-board.html.twig"));
  526.         $this->parent $this->loadTemplate("website/includes/modal.html.twig""website/user/profile/user-profile-board.html.twig"93);
  527.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  528.         
  529.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  530.         
  531.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  532.     }
  533.     // line 99
  534.     public function block_content($context, array $blocks = [])
  535.     {
  536.         $macros $this->macros;
  537.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  538.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  539.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  540.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  541.         // line 100
  542.         echo "            <div class=\"form-geral-wrap\">
  543.                 <div class=\"aviso\"><p>&hellip;</p></div>
  544.                 ";
  545.         // line 102
  546.         $this->loadTemplate("website/user/receiver/receiver-form.html.twig""website/user/profile/user-profile-board.html.twig"102)->display(twig_array_merge($context, ["layout" => "modal"]));
  547.         // line 103
  548.         echo "            </div>
  549.         ";
  550.         
  551.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  552.         
  553.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  554.     }
  555.     public function getTemplateName()
  556.     {
  557.         return "website/user/profile/user-profile-board.html.twig";
  558.     }
  559.     public function isTraitable()
  560.     {
  561.         return false;
  562.     }
  563.     public function getDebugInfo()
  564.     {
  565.         return array (  644 => 103,  642 => 102,  638 => 100,  628 => 99,  605 => 93,  438 => 18,  428 => 17,  405 => 16,  246 => 106,  243 => 93,  233 => 87,  228 => 84,  224 => 81,  219 => 78,  217 => 77,  213 => 75,  210 => 74,  205 => 70,  203 => 69,  199 => 67,  196 => 65,  191 => 62,  189 => 61,  185 => 59,  182 => 58,  179 => 56,  174 => 53,  172 => 52,  168 => 50,  165 => 49,  160 => 45,  158 => 44,  154 => 42,  150 => 39,  144 => 37,  142 => 36,  137 => 34,  134 => 33,  128 => 31,  126 => 30,  123 => 29,  117 => 27,  115 => 26,  110 => 24,  105 => 21,  103 => 16,  100 => 15,  97 => 14,  87 => 13,  76 => 10,  66 => 9,  55 => 3,  53 => 7,  51 => 6,  49 => 1,  36 => 3,);
  566.     }
  567.     public function getSourceContext()
  568.     {
  569.         return new Source("{% from 'utils.html.twig' import ico %}
  570. {% extends 'website/main.template.html.twig' %}
  571. {# SETUP - BILLING REQUIRED FIELDS #}
  572. {% set userCheckoutInfo = (getConfig('use_checkout_info') == enum('CartEnum::YES')) %}
  573. {% set cartCompleteRegistration = (getConfig('cart_complete_registration') == enum('CartEnum::YES')) %}
  574. {% block metaIndex %}
  575.     <meta name=\"robots\" content=\"nofollow\">
  576. {% endblock %}
  577. {% block body %}
  578.     {% include 'website/includes/search-section.html.twig' %}
  579.     {% embed 'website/includes/page-title.html.twig' with { pageTitle: getLanguage('profile', 'profile') }%}
  580.         {% block migalhas %}
  581.             <a href=\"{{ path('home') }}\">{{ getLanguage('home', 'profile') }}</a>&ensp;/&ensp;<a href=\"#\">{{ getLanguage('profile', 'profile') }}</a>&ensp;/&ensp;<span>{{ getLanguage('edit_profile_lowercase', 'profile') }}</span>
  582.         {% endblock %}
  583.     {% endembed %}
  584.     <div class=\"container\">
  585.         <nav class=\"abas tab\">
  586.             <a class=\"tab-item aba\" id=\"user-detail\" href=\"#user-detail-data\">{{ getLanguage('user_data', 'profile') }}</a>
  587.             
  588.             {% if user and user.id != 1 and session.userOrigin is empty %}
  589.                 <a class=\"tab-item aba\" id=\"user-authentication\" href=\"#user-authentication-data\">{{ getLanguage('user_authentication', 'profile') }}</a>
  590.             {% endif %}
  591.             {% if existReceiverEAD() %}
  592.                 <a class=\"tab-item aba\" id=\"user-payment\" href=\"#user-payment-data\">{{ getLanguage('payment', 'profile') }}</a>
  593.             {% endif %}
  594.             <a class=\"tab-item aba\" id=\"user-notify\" href=\"#user-notify-data\">{{ getLanguage('notifications', 'profile') }}</a>
  595.             
  596.             {% if user.allowReceiver and existReceiverEAD() %}
  597.                 <a class=\"tab-item aba\" id=\"user-receivers\" href=\"#user-receivers-data\">{{ getLanguage('receivers', 'profile') }}</a>
  598.             {% endif %}
  599.         </nav>
  600.         {# PROFILE EDIT #}
  601.         <section id=\"user-detail-data\" class=\"tab-data\">
  602.             <div class=\"bg-box\">
  603.                 {% include 'website/user/profile/user-profile-edit.html.twig' %}
  604.             </div>
  605.         </section>
  606.         {# AUTHENTICATION EDIT #}
  607.         {% if user and user.id != 1 and session.userOrigin is empty %}
  608.             <section id=\"user-authentication-data\" class=\"tab-data\">
  609.                 <div class=\"bg-box\">
  610.                     {% include 'website/user/profile/user-profile-authentication.html.twig' %}
  611.                 </div>
  612.             </section>
  613.         {% endif %}
  614.         {# PAYMENT #}
  615.         {% if existReceiverEAD() %}
  616.             <section id=\"user-payment-data\" class=\"tab-data\">
  617.                 <div class=\"bg-box\">
  618.                     {% include 'website/user/profile/user-profile-payment.html.twig' %}
  619.                 </div>
  620.             </section>
  621.         {% endif %}
  622.         {# NOTIFICATIONS #}
  623.         <section id=\"user-notify-data\" class=\"tab-data\">
  624.             <div class=\"bg-box\">
  625.                 {% include 'website/user/profile/user-profile-notifications.html.twig' with { by_email: false }%}
  626.             </div>
  627.         </section>
  628.         {# RECEIVERS #}
  629.         {% if user.allowReceiver and existReceiverEAD() %}
  630.             <section id=\"user-receivers-data\" class=\"tab-data\">
  631.                 <div class=\"bg-box\">
  632.                     {% include 'website/user/profile/user-profile-receivers-list.html.twig' %}
  633.                 </div>
  634.             </section>
  635.         {% endif %}
  636.     </div>
  637.     {# TEMPLATE LOADING ROW #}
  638.     <template id=\"template-loading-row\">
  639.         <tr class=\"row-loader\">
  640.             <td>
  641.                 <span>{{ getLanguage('wait', 'util') }}&hellip;&ensp;<i class=\"loader\">{{ ico('loader-wish') }}</i></span>
  642.             </td>
  643.         </tr>
  644.     </template>
  645.     {# MODAL -- CADASTRAR RECEBEDOR #}
  646.     {% embed \"website/includes/modal.html.twig\" with {
  647.         'id': 'modal-receiver-create',
  648.         'title': getLanguage('add_new_receiver', 'profile'),
  649.         'classes': 'modal-wid',
  650.         'inistep': 1
  651.     }%}
  652.         {% block content %}
  653.             <div class=\"form-geral-wrap\">
  654.                 <div class=\"aviso\"><p>&hellip;</p></div>
  655.                 {% include 'website/user/receiver/receiver-form.html.twig' with {'layout': 'modal'} %}
  656.             </div>
  657.         {% endblock %}
  658.     {% endembed %}
  659. {% endblock %}
  660. ""website/user/profile/user-profile-board.html.twig""/var/www/html/templates/website/user/profile/user-profile-board.html.twig");
  661.     }
  662. }