An official website of the United States government Here's how you know ⌄
Error message
- Warning: rename(sites/default/files/php/twig/.FBwU76TQO_7SpTag5mNBBH3EavI,sites/default/files/php/twig/694ce1fc37b16_webform-element-more.html__doxT_jUxtjV6WlaTLJBfXNCJ/k7fXIWpADIrV98oK1XKo-FuATwFsBl7bVJbSlEVuSJY.php): Access is denied (code: 5) in Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save() (line 88 of core\lib\Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage.php).
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('694ce1fc37b16_webform-element-more.html__doxT_jUxtjV6WlaTLJBfXNCJ', '<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; 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; /* modules/contrib/webform/templates/webform-element-more.html.twig */ class __TwigTemplate_f0fac94187136ad20b078725045d0c20 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $this->checkSecurity(); } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 18 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->extensions['Drupal\Core\Template\TwigExtension']->attachLibrary("webform/webform.element.more"), "html", null, true); echo " "; // line 20 $context["classes"] = [0 => "js-webform-element-more", 1 => "webform-element-more"]; // line 25 echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method", false, false, true, 25), 25, $this->source), "html", null, true); echo "> <a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "id", [], "any", false, false, true, 26), 26, $this->source), "html", null, true); echo "--content\">"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["more_title"] ?? null), 26, $this->source), "html", null, true); echo "</a> extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "id", [], "any", false, false, true, 27), 27, $this->source), "html", null, true); echo "--content\" class=\"webform-element-more--content\">"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["more"] ?? null), 27, $this->source), "html", null, true); echo " "; } public function getTemplateName() { return "modules/contrib/webform/templates/webform-element-more.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 56 => 27, 50 => 26, 45 => 25, 43 => 20, 39 => 18,); } public function getSourceContext() { return new Source("{# /** * @file * Theme implementation for webform element more. * * Available variables * - title: More label. * - content: More content. * * Based on WAI-ARIA Authoring Practices 1.1: Disclosure (Show/Hide) * * @see https://www.w3.org/TR/wai-aria-practices-1.1/#disclosure * @see https://www.w3.org/TR/wai-aria-practices-1.1/examples/disclosure/disclosure-faq.html * @see template_preprocess_webform_element_more() * @ingroup themeable */ #} {{ attach_library('webform/webform.element.more') }} {% set classes = [ 'js-webform-element-more', 'webform-element-more', ] %} <a>{{ more_title }}</a> {{ more }} ", "modules/contrib/webform/templates/webform-element-more.html.twig", "E:\\websites\\nationalregistry_new\\web\\modules\\contrib\\webform\\templates\\webform-element-more.html.twig"); } public function checkSecurity() { static $tags = array("set" => 20); static $filters = array("escape" => 18); static $functions = array("attach_library" => 18); try { $this->sandbox->checkSecurity( ['set'], ['escape'], ['attach_library'] ); } catch (SecurityError $e) { $e->setSourceContext($this->source); if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } } } ') (Line: 112) Drupal\Core\Template\TwigPhpStorageCache->write('694ce1fc37b16_webform-element-more.html__doxT_jUxtjV6WlaTLJBfXNCJ', '<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; 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; /* modules/contrib/webform/templates/webform-element-more.html.twig */ class __TwigTemplate_f0fac94187136ad20b078725045d0c20 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $this->checkSecurity(); } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 18 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->extensions['Drupal\Core\Template\TwigExtension']->attachLibrary("webform/webform.element.more"), "html", null, true); echo " "; // line 20 $context["classes"] = [0 => "js-webform-element-more", 1 => "webform-element-more"]; // line 25 echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method", false, false, true, 25), 25, $this->source), "html", null, true); echo "> <a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "id", [], "any", false, false, true, 26), 26, $this->source), "html", null, true); echo "--content\">"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["more_title"] ?? null), 26, $this->source), "html", null, true); echo "</a> extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "id", [], "any", false, false, true, 27), 27, $this->source), "html", null, true); echo "--content\" class=\"webform-element-more--content\">"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["more"] ?? null), 27, $this->source), "html", null, true); echo " "; } public function getTemplateName() { return "modules/contrib/webform/templates/webform-element-more.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 56 => 27, 50 => 26, 45 => 25, 43 => 20, 39 => 18,); } public function getSourceContext() { return new Source("{# /** * @file * Theme implementation for webform element more. * * Available variables * - title: More label. * - content: More content. * * Based on WAI-ARIA Authoring Practices 1.1: Disclosure (Show/Hide) * * @see https://www.w3.org/TR/wai-aria-practices-1.1/#disclosure * @see https://www.w3.org/TR/wai-aria-practices-1.1/examples/disclosure/disclosure-faq.html * @see template_preprocess_webform_element_more() * @ingroup themeable */ #} {{ attach_library('webform/webform.element.more') }} {% set classes = [ 'js-webform-element-more', 'webform-element-more', ] %} <a>{{ more_title }}</a> {{ more }} ", "modules/contrib/webform/templates/webform-element-more.html.twig", "E:\\websites\\nationalregistry_new\\web\\modules\\contrib\\webform\\templates\\webform-element-more.html.twig"); } public function checkSecurity() { static $tags = array("set" => 20); static $filters = array("escape" => 18); static $functions = array("attach_library" => 18); try { $this->sandbox->checkSecurity( ['set'], ['escape'], ['attach_library'] ); } catch (SecurityError $e) { $e->setSourceContext($this->source); if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } } } ') (Line: 352) Twig\Environment->loadTemplate('__TwigTemplate_f0fac94187136ad20b078725045d0c20', 'modules/contrib/webform/templates/webform-element-more.html.twig') (Line: 312) Twig\Environment->load('modules/contrib/webform/templates/webform-element-more.html.twig') (Line: 53) twig_render_template('modules/contrib/webform/templates/webform-element-more.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('webform_element_more', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 204) Drupal\Core\Render\Renderer->render(Array, 1) (Line: 160) Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 592) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 161) Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 1167) _webform_token_render_more(Object, 'Omit the '?' to output all values. Output all values as HTML using [webform_submission:values:html].To output individual elements, replace the '?' with…<ul><li>element_key</li><li>element_key:format</li><li>element_key:raw</li><li>element_key:format:items</li><li>element_key:delta</li><li>element_key:sub_element_key</li><li>element_key:delta:sub_element_key</li><li>element_key:sub_element_key:format</li><li>element_key:delta:sub_element_key:format</li><li>element_key:delta:format</li><li>element_key:delta:format:html</li><li>element_key:entity:*</li><li>element_key:delta:entity:*</li><li>element_key:delta:entity:field_name:*</li><li>element_key:sub_element_key:entity:*</li><li>element_key:sub_element_key:entity:field_name:*</li><li>element_key:delta:sub_element_key:entity:*</li><li>element_key:checked:option_value</li><li>element_key:selected:option_value</li></ul>All items after the 'element_key' are optional.The 'delta' is the numeric index for specific valueThe 'sub_element_key' is a composite element's sub element key.The 'checked' or 'selected' looks to see if an 'option_value' is checked or selected for an options element (select, checkboxes, or radios)The 'option_value' is options value for an options element (select, checkboxes, or radios).The 'format' can be 'value', 'raw', or custom format specifically associated with the elementThe 'items' can be 'comma', 'semicolon', 'and', 'ol', 'ul', or custom delimiterThe 'entity:*' applies to the referenced entityAdd 'html' at the end of the token to return HTML markup instead of plain text.For example, to display the Contact webform's 'Subject' element's value you would use the [webform_submission:values:subject] token.') (Line: 257) webform_token_info() call_user_func_array(Object, Array) (Line: 409) Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}(Object, 'webform') (Line: 388) Drupal\Core\Extension\ModuleHandler->invokeAllWith('token_info', Object) (Line: 416) Drupal\Core\Extension\ModuleHandler->invokeAll('token_info') (Line: 40) Drupal\token\Token->getInfo() (Line: 99) Drupal\token\Token->getTokenInfo('node', 'url') (Line: 220) _token_module('node', 'url') (Line: 1055) token_tokens('node', Array, Array, Array, Object) call_user_func_array(Object, Array) (Line: 409) Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}(Object, 'token') (Line: 388) Drupal\Core\Extension\ModuleHandler->invokeAllWith('tokens', Object) (Line: 416) Drupal\Core\Extension\ModuleHandler->invokeAll('tokens', Array) (Line: 364) Drupal\Core\Utility\Token->generate('node', Array, Array, Array, Object) (Line: 241) Drupal\Core\Utility\Token->doReplace(1, '[node:url]', Array, Array, Object) (Line: 191) Drupal\Core\Utility\Token->replace('[node:url]', Array, Array, NULL) (Line: 66) Drupal\metatag\MetatagToken->replace('[node:url]', Array, Array) (Line: 789) Drupal\metatag\MetatagManager->processTagValue(Object, Array, Array, , 'en') (Line: 628) Drupal\metatag\MetatagManager->generateRawElements(Array, Object) (Line: 564) Drupal\metatag\MetatagManager->generateElements(Array, Object) (Line: 504) metatag_get_tags_from_route() (Line: 258) _metatag_remove_duplicate_entity_tags(Array) (Line: 218) metatag_entity_view_alter(Array, Object, Object) (Line: 545) Drupal\Core\Extension\ModuleHandler->alter('node_view', Array, Object, Object) (Line: 304) Drupal\Core\Entity\EntityViewBuilder->buildMultiple(Array) (Line: 238) Drupal\Core\Entity\EntityViewBuilder->build(Array) call_user_func_array(Array, Array) (Line: 111) Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 797) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 386) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 592) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19) - Warning: rename(sites/default/files/php/twig/.I5i9vLP5STdsmfluQqlw6LxCzjg,sites/default/files/php/twig/694ce1fc37b16_page.html.twig_TCX2lQNyjGH4lRsJbtW10AbX5/-hQGVhzabsFEhVPx7J7wY-v-cdRShDcKcIH4_SbfOoA.php): Access is denied (code: 5) in Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save() (line 88 of core\lib\Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage.php).
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('694ce1fc37b16_page.html.twig_TCX2lQNyjGH4lRsJbtW10AbX5', '<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; 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; /* themes/custom/asc/templates/page.html.twig */ class __TwigTemplate_d8cd7175826f7c3d13b63831b9608968 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ 'navbar' => [$this, 'block_navbar'], 'main' => [$this, 'block_main'], 'header' => [$this, 'block_header'], 'sidebar_first' => [$this, 'block_sidebar_first'], 'highlighted' => [$this, 'block_highlighted'], 'help' => [$this, 'block_help'], 'content' => [$this, 'block_content'], 'map' => [$this, 'block_map'], 'sidebar_second' => [$this, 'block_sidebar_second'], 'footer' => [$this, 'block_footer'], ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $this->checkSecurity(); } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 54 if ((twig_date_converter($this->env) <= twig_date_converter($this->env, "2023-05-28 13:00:00"))) { // line 55 echo " "; $this->loadTemplate("sitealert.html.twig", "themes/custom/asc/templates/page.html.twig", 55)->display($context); } // line 57 $context["container"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "settings", [], "any", false, false, true, 57), "fluid_container", [], "any", false, false, true, 57)) ? ("container-fluid") : ("container-fluid")); // line 59 if ((twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 59) || twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation_collapsible", [], "any", false, false, true, 59))) { // line 60 echo " "; $this->displayBlock('navbar', $context, $blocks); } // line 104 echo " "; // line 106 $this->displayBlock('main', $context, $blocks); // line 181 echo " "; // line 182 if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "footer", [], "any", false, false, true, 182)) { // line 183 echo " "; $this->displayBlock('footer', $context, $blocks); } } // line 60 public function block_navbar($context, array $blocks = []) { $macros = $this->macros; // line 61 echo " "; // line 62 $context["navbar_classes"] = [0 => "navbar", 1 => ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 64 ($context["theme"] ?? null), "settings", [], "any", false, false, true, 64), "navbar_inverse", [], "any", false, false, true, 64)) ? ("navbar-inverse") : ("navbar-default")), 2 => ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 65 ($context["theme"] ?? null), "settings", [], "any", false, false, true, 65), "navbar_position", [], "any", false, false, true, 65)) ? (("navbar-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "settings", [], "any", false, false, true, 65), "navbar_position", [], "any", false, false, true, 65), 65, $this->source)))) : (($context["container"] ?? null)))]; // line 68 echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["navbar_attributes"] ?? null), "addClass", [0 => ($context["navbar_classes"] ?? null)], "method", false, false, true, 68), 68, $this->source), "html", null, true); echo " id=\"navbar\" role=\"banner\"> "; // line 70 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "top_content", [], "any", false, false, true, 70)) { // line 71 echo " "; // line 72 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "top_content", [], "any", false, false, true, 72), 72, $this->source), "html", null, true); echo " "; } // line 75 echo "\t \t "; // line 76 if ( !twig_get_attribute($this->env, $this->source, ($context["navbar_attributes"] ?? null), "hasClass", [0 => ($context["container"] ?? null)], "method", false, false, true, 76)) { // line 77 echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["container"] ?? null), 77, $this->source), "html", null, true); echo "\"> "; } // line 79 echo " "; // line 80 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 80), 80, $this->source), "html", null, true); echo " "; // line 82 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation_collapsible", [], "any", false, false, true, 82)) { // line 83 echo " "; // line 84 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Toggle navigation")); echo " "; } // line 90 echo " "; // line 93 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation_collapsible", [], "any", false, false, true, 93)) { // line 94 echo " "; // line 95 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation_collapsible", [], "any", false, false, true, 95), 95, $this->source), "html", null, true); echo " "; } // line 98 echo " "; if ( !twig_get_attribute($this->env, $this->source, ($context["navbar_attributes"] ?? null), "hasClass", [0 => ($context["container"] ?? null)], "method", false, false, true, 98)) { // line 99 echo " "; } // line 101 echo " "; } // line 106 public function block_main($context, array $blocks = []) { $macros = $this->macros; // line 107 echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["container"] ?? null), 107, $this->source), "html", null, true); echo " js-quickedit-main-content node-id-"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "id", [], "any", false, false, true, 107), 107, $this->source), "html", null, true); echo "\"> "; // line 111 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 111)) { // line 112 echo " "; $this->displayBlock('header', $context, $blocks); // line 117 echo " "; } // line 118 echo " "; // line 120 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 120)) { // line 121 echo " "; $this->displayBlock('sidebar_first', $context, $blocks); // line 126 echo " "; } // line 127 echo " "; // line 129 echo " "; // line 130 $context["content_classes"] = [0 => (((twig_get_attribute($this->env, $this->source, // line 131 ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 131) && twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 131))) ? ("col-sm-6") : ("")), 1 => (((twig_get_attribute($this->env, $this->source, // line 132 ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 132) && twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 132)))) ? ("col-sm-9") : ("")), 2 => (((twig_get_attribute($this->env, $this->source, // line 133 ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 133) && twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 133)))) ? ("col-sm-9") : ("")), 3 => (((twig_test_empty(twig_get_attribute($this->env, $this->source, // line 134 ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 134)) && twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 134)))) ? ("col-sm-12") : (""))]; // line 137 echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content_attributes"] ?? null), "addClass", [0 => ($context["content_classes"] ?? null)], "method", false, false, true, 137), 137, $this->source), "html", null, true); echo "> "; // line 140 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "highlighted", [], "any", false, false, true, 140)) { // line 141 echo " "; $this->displayBlock('highlighted', $context, $blocks); // line 144 echo " "; } // line 145 echo " "; // line 147 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "help", [], "any", false, false, true, 147)) { // line 148 echo " "; $this->displayBlock('help', $context, $blocks); // line 151 echo " "; } // line 152 echo " <a></a> \t\t "; // line 157 echo " "; $this->displayBlock('content', $context, $blocks); // line 160 echo "\t\t \t\t "; // line 162 echo "\t\t "; if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "map", [], "any", false, false, true, 162)) { // line 163 echo "\t\t "; $this->displayBlock('map', $context, $blocks); // line 166 echo "\t\t "; } // line 167 echo " "; // line 171 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 171)) { // line 172 echo " "; $this->displayBlock('sidebar_second', $context, $blocks); // line 177 echo " "; } // line 178 echo " "; } // line 112 public function block_header($context, array $blocks = []) { $macros = $this->macros; // line 113 echo " "; // line 114 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 114), 114, $this->source), "html", null, true); echo " "; } // line 121 public function block_sidebar_first($context, array $blocks = []) { $macros = $this->macros; // line 122 echo " "; // line 123 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 123), 123, $this->source), "html", null, true); echo " "; } // line 141 public function block_highlighted($context, array $blocks = []) { $macros = $this->macros; // line 142 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "highlighted", [], "any", false, false, true, 142), 142, $this->source), "html", null, true); echo " "; } // line 148 public function block_help($context, array $blocks = []) { $macros = $this->macros; // line 149 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "help", [], "any", false, false, true, 149), 149, $this->source), "html", null, true); echo " "; } // line 157 public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 158 echo "\t\t\t"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "content", [], "any", false, false, true, 158), 158, $this->source), "html", null, true); echo " \t\t "; } // line 163 public function block_map($context, array $blocks = []) { $macros = $this->macros; // line 164 echo "\t\t "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "map", [], "any", false, false, true, 164), 164, $this->source), "html", null, true); echo " \t\t\t"; } // line 172 public function block_sidebar_second($context, array $blocks = []) { $macros = $this->macros; // line 173 echo " "; // line 174 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 174), 174, $this->source), "html", null, true); echo " "; } // line 183 public function block_footer($context, array $blocks = []) { $macros = $this->macros; // line 184 echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["container"] ?? null), 184, $this->source), "html", null, true); echo "\" role=\"contentinfo\"> "; // line 185 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "footer", [], "any", false, false, true, 185), 185, $this->source), "html", null, true); echo " "; } public function getTemplateName() { return "themes/custom/asc/templates/page.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 375 => 185, 370 => 184, 366 => 183, 359 => 174, 356 => 173, 352 => 172, 345 => 164, 341 => 163, 334 => 158, 330 => 157, 323 => 149, 319 => 148, 312 => 142, 308 => 141, 301 => 123, 298 => 122, 294 => 121, 287 => 114, 284 => 113, 280 => 112, 274 => 178, 271 => 177, 268 => 172, 265 => 171, 260 => 167, 257 => 166, 254 => 163, 251 => 162, 248 => 160, 245 => 157, 239 => 152, 236 => 151, 233 => 148, 230 => 147, 227 => 145, 224 => 144, 221 => 141, 218 => 140, 212 => 137, 210 => 134, 209 => 133, 208 => 132, 207 => 131, 206 => 130, 204 => 129, 201 => 127, 198 => 126, 195 => 121, 192 => 120, 189 => 118, 186 => 117, 183 => 112, 180 => 111, 171 => 107, 167 => 106, 162 => 101, 158 => 99, 155 => 98, 149 => 95, 146 => 94, 143 => 93, 139 => 90, 130 => 84, 127 => 83, 124 => 82, 120 => 80, 117 => 79, 111 => 77, 109 => 76, 106 => 75, 100 => 72, 97 => 71, 94 => 70, 89 => 68, 87 => 65, 86 => 64, 85 => 62, 83 => 61, 79 => 60, 73 => 183, 71 => 182, 68 => 181, 66 => 106, 63 => 104, 59 => 60, 57 => 59, 55 => 57, 51 => 55, 49 => 54,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation to display a single page. * * The doctype, html, head and body tags are not in this template. Instead they * can be found in the html.html.twig template in this directory. * * Available variables: * * General utility variables: * - base_path: The base URL path of the Drupal installation. Will usually be * \"/\" unless you have installed Drupal in a sub-directory. * - is_front: A flag indicating if the current page is the front page. * - logged_in: A flag indicating if the user is registered and signed in. * - is_admin: A flag indicating if the user has permission to access * administration pages. * * Site identity: * - front_page: The URL of the front page. Use this instead of base_path when * linking to the front page. This includes the language domain or prefix. * * Page content (in order of occurrence in the default page.html.twig): * - title_prefix: Additional output populated by modules, intended to be * displayed in front of the main title tag that appears in the template. * - title: The page title, for use in the actual content. * - title_suffix: Additional output populated by modules, intended to be * displayed after the main title tag that appears in the template. * - messages: Status and error messages. Should be displayed prominently. * - tabs: Tabs linking to any sub-pages beneath the current page (e.g., the * view and edit tabs when displaying a node). * - node: Fully loaded node, if there is an automatically-loaded node * associated with the page and the node ID is the second argument in the * page's path (e.g. node/12345 and node/12345/revisions, but not * comment/reply/12345). * * Regions: * - page.header: Items for the header region. * - page.navigation: Items for the navigation region. * - page.navigation_collapsible: Items for the navigation (collapsible) region. * - page.highlighted: Items for the highlighted content region. * - page.help: Dynamic help text, mostly for admin pages. * - page.content: The main content of the current page. * - page.sidebar_first: Items for the first sidebar. * - page.sidebar_second: Items for the second sidebar. * - page.footer: Items for the footer region. * * @ingroup templates * * @see template_preprocess_page() * @see html.html.twig */ #} {% if date() <= date('2023-05-28 13:00:00') %} {% include 'sitealert.html.twig' %} {% endif %} {% set container = theme.settings.fluid_container ? 'container-fluid' : 'container-fluid' %} {# Navbar #} {% if page.navigation or page.navigation_collapsible %} {% block navbar %} {% set navbar_classes = [ 'navbar', theme.settings.navbar_inverse ? 'navbar-inverse' : 'navbar-default', theme.settings.navbar_position ? 'navbar-' ~ theme.settings.navbar_position|clean_class : container, ] %} {# Top Content #} {% if page.top_content %} {{ page.top_content }} {% endif %} \t \t {% if not navbar_attributes.hasClass(container) %} {% endif %} {{ page.navigation }} {# .btn-navbar is used as the toggle for collapsed navbar content #} {% if page.navigation_collapsible %} {{ 'Toggle navigation'|t }} {% endif %} {# Navigation (collapsible) #} {% if page.navigation_collapsible %} {{ page.navigation_collapsible }} {% endif %} {% if not navbar_attributes.hasClass(container) %} {% endif %} {% endblock %} {% endif %} {# Main #} {% block main %} {# Header #} {% if page.header %} {% block header %} {{ page.header }} {% endblock %} {% endif %} {# Sidebar First #} {% if page.sidebar_first %} {% block sidebar_first %} {{ page.sidebar_first }} {% endblock %} {% endif %} {# Content #} {% set content_classes = [ page.sidebar_first and page.sidebar_second ? 'col-sm-6', page.sidebar_first and page.sidebar_second is empty ? 'col-sm-9', page.sidebar_second and page.sidebar_first is empty ? 'col-sm-9', page.sidebar_first is empty and page.sidebar_second is empty ? 'col-sm-12' ] %} {# Highlighted #} {% if page.highlighted %} {% block highlighted %} {{ page.highlighted }} {% endblock %} {% endif %} {# Help #} {% if page.help %} {% block help %} {{ page.help }} {% endblock %} {% endif %} <a></a> \t\t {# Content #} {% block content %} \t\t\t{{ page.content }} \t\t {% endblock %} \t\t \t\t {# Map #} \t\t {% if page.map %} \t\t {% block map %} \t\t {{ page.map }} \t\t\t{% endblock %} \t\t {% endif %} {# Sidebar Second #} {% if page.sidebar_second %} {% block sidebar_second %} {{ page.sidebar_second }} {% endblock %} {% endif %} {% endblock %} {% if page.footer %} {% block footer %} {{ page.footer }} {% endblock %} {% endif %} ", "themes/custom/asc/templates/page.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\page.html.twig"); } public function checkSecurity() { static $tags = array("if" => 54, "include" => 55, "set" => 57, "block" => 60); static $filters = array("clean_class" => 65, "escape" => 68, "t" => 84); static $functions = array("date" => 54); try { $this->sandbox->checkSecurity( ['if', 'include', 'set', 'block'], ['clean_class', 'escape', 't'], ['date'] ); } catch (SecurityError $e) { $e->setSourceContext($this->source); if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } } } ') (Line: 112) Drupal\Core\Template\TwigPhpStorageCache->write('694ce1fc37b16_page.html.twig_TCX2lQNyjGH4lRsJbtW10AbX5', '<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; 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; /* themes/custom/asc/templates/page.html.twig */ class __TwigTemplate_d8cd7175826f7c3d13b63831b9608968 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ 'navbar' => [$this, 'block_navbar'], 'main' => [$this, 'block_main'], 'header' => [$this, 'block_header'], 'sidebar_first' => [$this, 'block_sidebar_first'], 'highlighted' => [$this, 'block_highlighted'], 'help' => [$this, 'block_help'], 'content' => [$this, 'block_content'], 'map' => [$this, 'block_map'], 'sidebar_second' => [$this, 'block_sidebar_second'], 'footer' => [$this, 'block_footer'], ]; $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension'); $this->checkSecurity(); } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 54 if ((twig_date_converter($this->env) <= twig_date_converter($this->env, "2023-05-28 13:00:00"))) { // line 55 echo " "; $this->loadTemplate("sitealert.html.twig", "themes/custom/asc/templates/page.html.twig", 55)->display($context); } // line 57 $context["container"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "settings", [], "any", false, false, true, 57), "fluid_container", [], "any", false, false, true, 57)) ? ("container-fluid") : ("container-fluid")); // line 59 if ((twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 59) || twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation_collapsible", [], "any", false, false, true, 59))) { // line 60 echo " "; $this->displayBlock('navbar', $context, $blocks); } // line 104 echo " "; // line 106 $this->displayBlock('main', $context, $blocks); // line 181 echo " "; // line 182 if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "footer", [], "any", false, false, true, 182)) { // line 183 echo " "; $this->displayBlock('footer', $context, $blocks); } } // line 60 public function block_navbar($context, array $blocks = []) { $macros = $this->macros; // line 61 echo " "; // line 62 $context["navbar_classes"] = [0 => "navbar", 1 => ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 64 ($context["theme"] ?? null), "settings", [], "any", false, false, true, 64), "navbar_inverse", [], "any", false, false, true, 64)) ? ("navbar-inverse") : ("navbar-default")), 2 => ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 65 ($context["theme"] ?? null), "settings", [], "any", false, false, true, 65), "navbar_position", [], "any", false, false, true, 65)) ? (("navbar-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "settings", [], "any", false, false, true, 65), "navbar_position", [], "any", false, false, true, 65), 65, $this->source)))) : (($context["container"] ?? null)))]; // line 68 echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["navbar_attributes"] ?? null), "addClass", [0 => ($context["navbar_classes"] ?? null)], "method", false, false, true, 68), 68, $this->source), "html", null, true); echo " id=\"navbar\" role=\"banner\"> "; // line 70 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "top_content", [], "any", false, false, true, 70)) { // line 71 echo " "; // line 72 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "top_content", [], "any", false, false, true, 72), 72, $this->source), "html", null, true); echo " "; } // line 75 echo "\t \t "; // line 76 if ( !twig_get_attribute($this->env, $this->source, ($context["navbar_attributes"] ?? null), "hasClass", [0 => ($context["container"] ?? null)], "method", false, false, true, 76)) { // line 77 echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["container"] ?? null), 77, $this->source), "html", null, true); echo "\"> "; } // line 79 echo " "; // line 80 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 80), 80, $this->source), "html", null, true); echo " "; // line 82 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation_collapsible", [], "any", false, false, true, 82)) { // line 83 echo " "; // line 84 echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Toggle navigation")); echo " "; } // line 90 echo " "; // line 93 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation_collapsible", [], "any", false, false, true, 93)) { // line 94 echo " "; // line 95 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation_collapsible", [], "any", false, false, true, 95), 95, $this->source), "html", null, true); echo " "; } // line 98 echo " "; if ( !twig_get_attribute($this->env, $this->source, ($context["navbar_attributes"] ?? null), "hasClass", [0 => ($context["container"] ?? null)], "method", false, false, true, 98)) { // line 99 echo " "; } // line 101 echo " "; } // line 106 public function block_main($context, array $blocks = []) { $macros = $this->macros; // line 107 echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["container"] ?? null), 107, $this->source), "html", null, true); echo " js-quickedit-main-content node-id-"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "id", [], "any", false, false, true, 107), 107, $this->source), "html", null, true); echo "\"> "; // line 111 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 111)) { // line 112 echo " "; $this->displayBlock('header', $context, $blocks); // line 117 echo " "; } // line 118 echo " "; // line 120 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 120)) { // line 121 echo " "; $this->displayBlock('sidebar_first', $context, $blocks); // line 126 echo " "; } // line 127 echo " "; // line 129 echo " "; // line 130 $context["content_classes"] = [0 => (((twig_get_attribute($this->env, $this->source, // line 131 ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 131) && twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 131))) ? ("col-sm-6") : ("")), 1 => (((twig_get_attribute($this->env, $this->source, // line 132 ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 132) && twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 132)))) ? ("col-sm-9") : ("")), 2 => (((twig_get_attribute($this->env, $this->source, // line 133 ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 133) && twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 133)))) ? ("col-sm-9") : ("")), 3 => (((twig_test_empty(twig_get_attribute($this->env, $this->source, // line 134 ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 134)) && twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 134)))) ? ("col-sm-12") : (""))]; // line 137 echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content_attributes"] ?? null), "addClass", [0 => ($context["content_classes"] ?? null)], "method", false, false, true, 137), 137, $this->source), "html", null, true); echo "> "; // line 140 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "highlighted", [], "any", false, false, true, 140)) { // line 141 echo " "; $this->displayBlock('highlighted', $context, $blocks); // line 144 echo " "; } // line 145 echo " "; // line 147 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "help", [], "any", false, false, true, 147)) { // line 148 echo " "; $this->displayBlock('help', $context, $blocks); // line 151 echo " "; } // line 152 echo " <a></a> \t\t "; // line 157 echo " "; $this->displayBlock('content', $context, $blocks); // line 160 echo "\t\t \t\t "; // line 162 echo "\t\t "; if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "map", [], "any", false, false, true, 162)) { // line 163 echo "\t\t "; $this->displayBlock('map', $context, $blocks); // line 166 echo "\t\t "; } // line 167 echo " "; // line 171 echo " "; if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 171)) { // line 172 echo " "; $this->displayBlock('sidebar_second', $context, $blocks); // line 177 echo " "; } // line 178 echo " "; } // line 112 public function block_header($context, array $blocks = []) { $macros = $this->macros; // line 113 echo " "; // line 114 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 114), 114, $this->source), "html", null, true); echo " "; } // line 121 public function block_sidebar_first($context, array $blocks = []) { $macros = $this->macros; // line 122 echo " "; // line 123 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 123), 123, $this->source), "html", null, true); echo " "; } // line 141 public function block_highlighted($context, array $blocks = []) { $macros = $this->macros; // line 142 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "highlighted", [], "any", false, false, true, 142), 142, $this->source), "html", null, true); echo " "; } // line 148 public function block_help($context, array $blocks = []) { $macros = $this->macros; // line 149 echo " "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "help", [], "any", false, false, true, 149), 149, $this->source), "html", null, true); echo " "; } // line 157 public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 158 echo "\t\t\t"; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "content", [], "any", false, false, true, 158), 158, $this->source), "html", null, true); echo " \t\t "; } // line 163 public function block_map($context, array $blocks = []) { $macros = $this->macros; // line 164 echo "\t\t "; echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "map", [], "any", false, false, true, 164), 164, $this->source), "html", null, true); echo " \t\t\t"; } // line 172 public function block_sidebar_second($context, array $blocks = []) { $macros = $this->macros; // line 173 echo " "; // line 174 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 174), 174, $this->source), "html", null, true); echo " "; } // line 183 public function block_footer($context, array $blocks = []) { $macros = $this->macros; // line 184 echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["container"] ?? null), 184, $this->source), "html", null, true); echo "\" role=\"contentinfo\"> "; // line 185 echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "footer", [], "any", false, false, true, 185), 185, $this->source), "html", null, true); echo " "; } public function getTemplateName() { return "themes/custom/asc/templates/page.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 375 => 185, 370 => 184, 366 => 183, 359 => 174, 356 => 173, 352 => 172, 345 => 164, 341 => 163, 334 => 158, 330 => 157, 323 => 149, 319 => 148, 312 => 142, 308 => 141, 301 => 123, 298 => 122, 294 => 121, 287 => 114, 284 => 113, 280 => 112, 274 => 178, 271 => 177, 268 => 172, 265 => 171, 260 => 167, 257 => 166, 254 => 163, 251 => 162, 248 => 160, 245 => 157, 239 => 152, 236 => 151, 233 => 148, 230 => 147, 227 => 145, 224 => 144, 221 => 141, 218 => 140, 212 => 137, 210 => 134, 209 => 133, 208 => 132, 207 => 131, 206 => 130, 204 => 129, 201 => 127, 198 => 126, 195 => 121, 192 => 120, 189 => 118, 186 => 117, 183 => 112, 180 => 111, 171 => 107, 167 => 106, 162 => 101, 158 => 99, 155 => 98, 149 => 95, 146 => 94, 143 => 93, 139 => 90, 130 => 84, 127 => 83, 124 => 82, 120 => 80, 117 => 79, 111 => 77, 109 => 76, 106 => 75, 100 => 72, 97 => 71, 94 => 70, 89 => 68, 87 => 65, 86 => 64, 85 => 62, 83 => 61, 79 => 60, 73 => 183, 71 => 182, 68 => 181, 66 => 106, 63 => 104, 59 => 60, 57 => 59, 55 => 57, 51 => 55, 49 => 54,); } public function getSourceContext() { return new Source("{# /** * @file * Default theme implementation to display a single page. * * The doctype, html, head and body tags are not in this template. Instead they * can be found in the html.html.twig template in this directory. * * Available variables: * * General utility variables: * - base_path: The base URL path of the Drupal installation. Will usually be * \"/\" unless you have installed Drupal in a sub-directory. * - is_front: A flag indicating if the current page is the front page. * - logged_in: A flag indicating if the user is registered and signed in. * - is_admin: A flag indicating if the user has permission to access * administration pages. * * Site identity: * - front_page: The URL of the front page. Use this instead of base_path when * linking to the front page. This includes the language domain or prefix. * * Page content (in order of occurrence in the default page.html.twig): * - title_prefix: Additional output populated by modules, intended to be * displayed in front of the main title tag that appears in the template. * - title: The page title, for use in the actual content. * - title_suffix: Additional output populated by modules, intended to be * displayed after the main title tag that appears in the template. * - messages: Status and error messages. Should be displayed prominently. * - tabs: Tabs linking to any sub-pages beneath the current page (e.g., the * view and edit tabs when displaying a node). * - node: Fully loaded node, if there is an automatically-loaded node * associated with the page and the node ID is the second argument in the * page's path (e.g. node/12345 and node/12345/revisions, but not * comment/reply/12345). * * Regions: * - page.header: Items for the header region. * - page.navigation: Items for the navigation region. * - page.navigation_collapsible: Items for the navigation (collapsible) region. * - page.highlighted: Items for the highlighted content region. * - page.help: Dynamic help text, mostly for admin pages. * - page.content: The main content of the current page. * - page.sidebar_first: Items for the first sidebar. * - page.sidebar_second: Items for the second sidebar. * - page.footer: Items for the footer region. * * @ingroup templates * * @see template_preprocess_page() * @see html.html.twig */ #} {% if date() <= date('2023-05-28 13:00:00') %} {% include 'sitealert.html.twig' %} {% endif %} {% set container = theme.settings.fluid_container ? 'container-fluid' : 'container-fluid' %} {# Navbar #} {% if page.navigation or page.navigation_collapsible %} {% block navbar %} {% set navbar_classes = [ 'navbar', theme.settings.navbar_inverse ? 'navbar-inverse' : 'navbar-default', theme.settings.navbar_position ? 'navbar-' ~ theme.settings.navbar_position|clean_class : container, ] %} {# Top Content #} {% if page.top_content %} {{ page.top_content }} {% endif %} \t \t {% if not navbar_attributes.hasClass(container) %} {% endif %} {{ page.navigation }} {# .btn-navbar is used as the toggle for collapsed navbar content #} {% if page.navigation_collapsible %} {{ 'Toggle navigation'|t }} {% endif %} {# Navigation (collapsible) #} {% if page.navigation_collapsible %} {{ page.navigation_collapsible }} {% endif %} {% if not navbar_attributes.hasClass(container) %} {% endif %} {% endblock %} {% endif %} {# Main #} {% block main %} {# Header #} {% if page.header %} {% block header %} {{ page.header }} {% endblock %} {% endif %} {# Sidebar First #} {% if page.sidebar_first %} {% block sidebar_first %} {{ page.sidebar_first }} {% endblock %} {% endif %} {# Content #} {% set content_classes = [ page.sidebar_first and page.sidebar_second ? 'col-sm-6', page.sidebar_first and page.sidebar_second is empty ? 'col-sm-9', page.sidebar_second and page.sidebar_first is empty ? 'col-sm-9', page.sidebar_first is empty and page.sidebar_second is empty ? 'col-sm-12' ] %} {# Highlighted #} {% if page.highlighted %} {% block highlighted %} {{ page.highlighted }} {% endblock %} {% endif %} {# Help #} {% if page.help %} {% block help %} {{ page.help }} {% endblock %} {% endif %} <a></a> \t\t {# Content #} {% block content %} \t\t\t{{ page.content }} \t\t {% endblock %} \t\t \t\t {# Map #} \t\t {% if page.map %} \t\t {% block map %} \t\t {{ page.map }} \t\t\t{% endblock %} \t\t {% endif %} {# Sidebar Second #} {% if page.sidebar_second %} {% block sidebar_second %} {{ page.sidebar_second }} {% endblock %} {% endif %} {% endblock %} {% if page.footer %} {% block footer %} {{ page.footer }} {% endblock %} {% endif %} ", "themes/custom/asc/templates/page.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\page.html.twig"); } public function checkSecurity() { static $tags = array("if" => 54, "include" => 55, "set" => 57, "block" => 60); static $filters = array("clean_class" => 65, "escape" => 68, "t" => 84); static $functions = array("date" => 54); try { $this->sandbox->checkSecurity( ['if', 'include', 'set', 'block'], ['clean_class', 'escape', 't'], ['date'] ); } catch (SecurityError $e) { $e->setSourceContext($this->source); if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } } } ') (Line: 352) Twig\Environment->loadTemplate('__TwigTemplate_d8cd7175826f7c3d13b63831b9608968', 'themes/custom/asc/templates/page.html.twig') (Line: 312) Twig\Environment->load('themes/custom/asc/templates/page.html.twig') (Line: 53) twig_render_template('themes/custom/asc/templates/page.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array) (Line: 474) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 90) __TwigTemplate_ebb78f26b6b6d2ad71361897b625d942->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array, Array) (Line: 40) Twig\TemplateWrapper->render(Array) (Line: 53) twig_render_template('themes/custom/asc/templates/html/html.html.twig', Array) (Line: 372) Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 445) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array) (Line: 158) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 592) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 159) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
