Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
mautic
/
var
/
tmp
/
twig
/
54
/
Filename :
54cb693d9c7b43b2001e4b1a53ab9ed8.php
back
Copy
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\CoreExtension; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; use Twig\TemplateWrapper; /* @MauticUser/User/list.html.twig */ class __TwigTemplate_746c4021551298a096af3bf307007605 extends Template { private Source $source; /** * @var array<string, Template> */ private array $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'mauticContent' => [$this, 'block_mauticContent'], 'headerTitle' => [$this, 'block_headerTitle'], 'content' => [$this, 'block_content'], 'listResults' => [$this, 'block_listResults'], ]; } protected function doGetParent(array $context): bool|string|Template|TemplateWrapper { // line 4 return $this->loadTemplate((((isset($context["isIndex"]) || array_key_exists("isIndex", $context) ? $context["isIndex"] : (function () { throw new RuntimeError('Variable "isIndex" does not exist.', 4, $this->source); })())) ? ("@MauticCore/Default/content.html.twig") : ("@MauticCore/Default/raw_output.html.twig")), "@MauticUser/User/list.html.twig", 4); } protected function doDisplay(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 1 $context["isIndex"] = ((((isset($context["tmpl"]) || array_key_exists("tmpl", $context) ? $context["tmpl"] : (function () { throw new RuntimeError('Variable "tmpl" does not exist.', 1, $this->source); })()) == "index")) ? (true) : (false)); // line 2 $context["tmpl"] = "list"; // line 4 yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks)); } // line 5 /** * @return iterable<null|scalar|\Stringable> */ public function block_mauticContent(array $context, array $blocks = []): iterable { $macros = $this->macros; yield "user "; yield from []; } // line 7 /** * @return iterable<null|scalar|\Stringable> */ public function block_headerTitle(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 8 yield "\t"; yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("mautic.user.users", [], "messages"); yield from []; } // line 11 /** * @return iterable<null|scalar|\Stringable> */ public function block_content(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 12 yield "\t"; if ((isset($context["isIndex"]) || array_key_exists("isIndex", $context) ? $context["isIndex"] : (function () { throw new RuntimeError('Variable "isIndex" does not exist.', 12, $this->source); })())) { // line 13 yield "\t<div id=\"page-list-wrapper\" class=\"panel panel-default\">"; // line 14 yield Twig\Extension\CoreExtension::include($this->env, $context, "@MauticCore/Helper/list_toolbar.html.twig", ["searchValue" => // line 15 (isset($context["searchValue"]) || array_key_exists("searchValue", $context) ? $context["searchValue"] : (function () { throw new RuntimeError('Variable "searchValue" does not exist.', 15, $this->source); })()), "action" => // line 16 (isset($context["currentRoute"]) || array_key_exists("currentRoute", $context) ? $context["currentRoute"] : (function () { throw new RuntimeError('Variable "currentRoute" does not exist.', 16, $this->source); })()), "page_actions" => ["templateButtons" => ["new" => CoreExtension::getAttribute($this->env, $this->source, // line 19 (isset($context["permissions"]) || array_key_exists("permissions", $context) ? $context["permissions"] : (function () { throw new RuntimeError('Variable "permissions" does not exist.', 19, $this->source); })()), "create", [], "array", false, false, false, 19)], "routeBase" => "user", "langVar" => "user.user"], "bulk_actions" => ["routeBase" => "user", "langVar" => "user.user", "templateButtons" => ["delete" => CoreExtension::getAttribute($this->env, $this->source, // line 28 (isset($context["permissions"]) || array_key_exists("permissions", $context) ? $context["permissions"] : (function () { throw new RuntimeError('Variable "permissions" does not exist.', 28, $this->source); })()), "delete", [], "array", false, false, false, 28)]], "quickFilters" => [["search" => "mautic.user.user.searchcommand.isadmin", "label" => "mautic.user.role.form.isadmin", "tooltip" => "mautic.core.search.quickfilter.is_admin", "icon" => "ri-admin-line"], ["search" => "mautic.core.searchcommand.ispublished", "label" => "mautic.core.form.active", "tooltip" => "mautic.core.search.quickfilter.is_published", "icon" => "ri-check-line"], ["search" => "mautic.core.searchcommand.isunpublished", "label" => "mautic.core.form.inactive", "tooltip" => "mautic.core.search.quickfilter.is_unpublished", "icon" => "ri-close-line"]]]); // line 52 yield "<div class=\"page-list\"> \t\t\t"; // line 53 yield from $this->unwrap()->yieldBlock("listResults", $context, $blocks); yield " \t\t</div> \t</div> \t"; } else { // line 57 yield "\t\t"; yield from $this->unwrap()->yieldBlock("listResults", $context, $blocks); yield " \t"; } yield from []; } // line 61 /** * @return iterable<null|scalar|\Stringable> */ public function block_listResults(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 62 yield "\t<div class=\"table-responsive\"> \t\t<table class=\"table table-hover user-list\" id=\"userTable\"> \t\t\t<thead> \t\t\t\t<tr>"; // line 66 yield Twig\Extension\CoreExtension::include($this->env, $context, "@MauticCore/Helper/tableheader.html.twig", ["checkall" => "true", "target" => "#userTable"]); // line 71 yield "<th class=\"visible-md visible-lg col-user-avatar\"></th>"; // line 72 yield Twig\Extension\CoreExtension::include($this->env, $context, "@MauticCore/Helper/tableheader.html.twig", ["sessionVar" => "user", "orderBy" => "u.lastName, u.firstName, u.username", "text" => "mautic.core.name", "class" => "col-user-name", "default" => true]); // line 79 yield Twig\Extension\CoreExtension::include($this->env, $context, "@MauticCore/Helper/tableheader.html.twig", ["sessionVar" => "user", "orderBy" => "u.username", "text" => "mautic.core.username", "class" => "col-user-username"]); // line 85 yield Twig\Extension\CoreExtension::include($this->env, $context, "@MauticCore/Helper/tableheader.html.twig", ["sessionVar" => "user", "orderBy" => "u.email", "text" => "mautic.core.type.email", "class" => "visible-md visible-lg col-user-email"]); // line 92 yield Twig\Extension\CoreExtension::include($this->env, $context, "@MauticCore/Helper/tableheader.html.twig", ["sessionVar" => "user", "orderBy" => "r.name", "text" => "mautic.user.role", "class" => "visible-md visible-lg col-user-role"]); // line 99 yield Twig\Extension\CoreExtension::include($this->env, $context, "@MauticCore/Helper/tableheader.html.twig", ["sessionVar" => "user", "orderBy" => "u.lastLogin", "text" => "mautic.user.lastlogin", "class" => "visible-md visible-lg col-user-lastlogin"]); // line 106 yield Twig\Extension\CoreExtension::include($this->env, $context, "@MauticCore/Helper/tableheader.html.twig", ["sessionVar" => "user", "orderBy" => "u.id", "text" => "mautic.core.id", "class" => "visible-md visible-lg col-user-id"]); // line 113 yield "</tr> \t\t\t</thead> \t\t\t<tbody> \t\t\t\t"; // line 116 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable((isset($context["items"]) || array_key_exists("items", $context) ? $context["items"] : (function () { throw new RuntimeError('Variable "items" does not exist.', 116, $this->source); })())); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 117 yield "\t\t\t\t\t<tr> \t\t\t\t\t\t<td>"; // line 119 yield Twig\Extension\CoreExtension::include($this->env, $context, "@MauticCore/Helper/list_actions.html.twig", ["item" => // line 120 $context["item"], "templateButtons" => ["edit" => CoreExtension::getAttribute($this->env, $this->source, // line 122 (isset($context["permissions"]) || array_key_exists("permissions", $context) ? $context["permissions"] : (function () { throw new RuntimeError('Variable "permissions" does not exist.', 122, $this->source); })()), "edit", [], "array", false, false, false, 122), "delete" => CoreExtension::getAttribute($this->env, $this->source, // line 123 (isset($context["permissions"]) || array_key_exists("permissions", $context) ? $context["permissions"] : (function () { throw new RuntimeError('Variable "permissions" does not exist.', 123, $this->source); })()), "delete", [], "array", false, false, false, 123)], "routeBase" => "user", "langVar" => "user.user", "pull" => "left"]); // line 129 yield "</td> \t\t\t\t\t\t<td class=\"visible-md visible-lg\"> \t\t\t\t\t\t\t<img class=\"img img-responsive img-thumbnail w-44\" src=\""; // line 131 yield $this->extensions['Mautic\CoreBundle\Twig\Extension\GravatarExtension']->getImage(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "getEmail", [], "method", false, false, false, 131), "50"); yield "\"/> \t\t\t\t\t\t</td> \t\t\t\t\t\t<td> \t\t\t\t\t\t\t<div> \t\t\t\t\t\t\t\t"; // line 135 if ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "getId", [], "method", false, false, false, 135) != (isset($context["currentUserId"]) || array_key_exists("currentUserId", $context) ? $context["currentUserId"] : (function () { throw new RuntimeError('Variable "currentUserId" does not exist.', 135, $this->source); })()))) { // line 136 yield Twig\Extension\CoreExtension::include($this->env, $context, "@MauticCore/Helper/publishstatus_icon.html.twig", ["item" => // line 137 $context["item"], "model" => "user"]); } // line 141 yield "\t\t\t\t\t\t\t\t"; if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["permissions"]) || array_key_exists("permissions", $context) ? $context["permissions"] : (function () { throw new RuntimeError('Variable "permissions" does not exist.', 141, $this->source); })()), "edit", [], "array", false, false, false, 141)) { // line 142 yield "\t\t\t\t\t\t\t\t\t<a href=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("mautic_user_action", ["objectAction" => "edit", "objectId" => CoreExtension::getAttribute($this->env, $this->source, $context["item"], "getId", [], "method", false, false, false, 142)]), "html", null, true); yield "\" data-toggle=\"ajax\"> \t\t\t\t\t\t\t\t\t\t"; // line 143 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "getName", [true], "method", false, false, false, 143), "html", null, true); yield " \t\t\t\t\t\t\t\t\t</a> \t\t\t\t\t\t\t\t"; } else { // line 146 yield "\t\t\t\t\t\t\t\t\t"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "getName", [true], "method", false, false, false, 146), "html", null, true); yield " \t\t\t\t\t\t\t\t"; } // line 148 yield "\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t<div class=\"small\"> \t\t\t\t\t\t\t\t<em>"; // line 150 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "getPosition", [], "method", false, false, false, 150), "html", null, true); yield "</em> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t</td> \t\t\t\t\t\t<td>"; // line 153 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "getUsername", [], "method", false, false, false, 153), "html", null, true); yield "</td> \t\t\t\t\t\t<td class=\"visible-md visible-lg\"> \t\t\t\t\t\t\t<a href=\"mailto: "; // line 155 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "getEmail", [], "method", false, false, false, 155), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "getEmail", [], "method", false, false, false, 155), "html", null, true); yield "</a> \t\t\t\t\t\t</td> \t\t\t\t\t\t<td class=\"visible-md visible-lg\">"; // line 157 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["item"], "getRole", [], "method", false, false, false, 157), "getName", [], "method", false, false, false, 157), "html", null, true); yield "</td> \t\t\t\t\t\t<td class=\"visible-md visible-lg\">"; // line 158 yield $this->extensions['Mautic\CoreBundle\Twig\Extension\DateExtension']->toText(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "getLastLogin", [], "method", false, false, false, 158), "local", "Y-m-d H:i:s", true); yield "</td> \t\t\t\t\t\t<td class=\"visible-md visible-lg\">"; // line 159 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "getId", [], "method", false, false, false, 159), "html", null, true); yield "</td> \t\t\t\t\t</tr> \t\t\t\t"; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 162 yield "\t\t\t</tbody> \t\t</table> \t\t<div class=\"panel-footer\">"; // line 165 yield Twig\Extension\CoreExtension::include($this->env, $context, "@MauticCore/Helper/pagination.html.twig", ["totalItems" => Twig\Extension\CoreExtension::length($this->env->getCharset(), // line 166 (isset($context["items"]) || array_key_exists("items", $context) ? $context["items"] : (function () { throw new RuntimeError('Variable "items" does not exist.', 166, $this->source); })())), "page" => // line 167 (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 167, $this->source); })()), "limit" => // line 168 (isset($context["limit"]) || array_key_exists("limit", $context) ? $context["limit"] : (function () { throw new RuntimeError('Variable "limit" does not exist.', 168, $this->source); })()), "baseUrl" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("mautic_user_index"), "sessionVar" => "user"]); // line 172 yield "</div> \t</div> "; yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "@MauticUser/User/list.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 271 => 172, 269 => 168, 268 => 167, 267 => 166, 266 => 165, 262 => 162, 245 => 159, 241 => 158, 237 => 157, 230 => 155, 225 => 153, 219 => 150, 215 => 148, 209 => 146, 203 => 143, 198 => 142, 195 => 141, 192 => 137, 191 => 136, 189 => 135, 182 => 131, 178 => 129, 176 => 123, 175 => 122, 174 => 120, 173 => 119, 170 => 117, 153 => 116, 148 => 113, 146 => 106, 144 => 99, 142 => 92, 140 => 85, 138 => 79, 136 => 72, 134 => 71, 132 => 66, 127 => 62, 120 => 61, 111 => 57, 104 => 53, 101 => 52, 99 => 28, 98 => 19, 97 => 16, 96 => 15, 95 => 14, 93 => 13, 90 => 12, 83 => 11, 77 => 8, 70 => 7, 58 => 5, 54 => 4, 52 => 2, 50 => 1, 43 => 4,); } public function getSourceContext(): Source { return new Source("", "@MauticUser/User/list.html.twig", "/var/www/mautic/app/bundles/UserBundle/Resources/views/User/list.html.twig"); } }