An official website of the United States government Here's how you know ⌄
Error message
Warning: rename(sites/default/files/php/twig/.RjMbcHnKF3EkMFA8enS7qeGZOpk,sites/default/files/php/twig/6a46fd247dfd2_pager.html.twig_dbXakwzKM1roc1mKxDpk8ZC3B/_s8GXzs3oDpu2SU2b2A7769ngrca2Ec_B1gTH-J2b6o.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('6a46fd247dfd2_pager.html.twig_dbXakwzKM1roc1mKxDpk8ZC3B', '<?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/pager.html.twig */
class __TwigTemplate_4dc4228550ac8bbed4984be4a0573f90 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 34
if (($context["items"] ?? null)) {
// line 35
echo "
";
// line 36
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Pagination"));
echo "
<ul>
";
// line 42
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "previous", [], "any", false, false, true, 42)) {
// line 43
echo " <li>
<a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "previous", [], "any", false, false, true, 44), "href", [], "any", false, false, true, 44), 44, $this->source), "html", null, true);
echo "\" title=\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Go to previous page"));
echo "\" rel=\"prev\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "previous", [], "any", false, false, true, 44), "attributes", [], "any", false, false, true, 44), 44, $this->source), "html", null, true);
echo ">
";
// line 45
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Previous page"));
echo "
";
// line 46
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("< Previous"));
echo "
</a>
</li>
";
}
// line 50
echo "
";
// line 52
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "pages", [], "any", false, false, true, 52));
foreach ($context['_seq'] as $context["key"] => $context["item"]) {
// line 53
echo " <li echo this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((($context["current"] ?? null) == $context["key"])) ? (" is-active active") : ("")));
echo "\">
";
// line 54
if ((($context["current"] ?? null) == $context["key"])) {
// line 55
echo " ";
$context["title"] = t("Current page");
// line 56
echo " ";
} else {
// line 57
echo " ";
$context["title"] = t("Go to page @key", ["@key" => $context["key"]]);
// line 58
echo " ";
}
// line 59
echo " <a echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "href", [], "any", false, false, true, 59), 59, $this->source), "html", null, true);
echo "\" title=\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title"] ?? null), 59, $this->source), "html", null, true);
echo "\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "attributes", [], "any", false, false, true, 59), 59, $this->source), "html", null, true);
echo ">
";
// line 61
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((($context["current"] ?? null) == $context["key"])) ? (t("Current page")) : (t("Page"))));
echo "
";
// line 63
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["key"], 63, $this->source), "html", null, true);
// line 64
echo "</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 67
echo "
";
// line 69
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "next", [], "any", false, false, true, 69)) {
// line 70
echo " <li>
<a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "next", [], "any", false, false, true, 71), "href", [], "any", false, false, true, 71), 71, $this->source), "html", null, true);
echo "\" title=\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Go to next page"));
echo "\" rel=\"next\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "next", [], "any", false, false, true, 71), "attributes", [], "any", false, false, true, 71), 71, $this->source), "html", null, true);
echo ">
";
// line 72
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Next page"));
echo "
";
// line 73
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Next >"));
echo "
</a>
</li>
";
}
// line 77
echo "
</ul>
";
}
}
public function getTemplateName()
{
return "themes/custom/asc/templates/pager.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 156 => 77, 149 => 73, 145 => 72, 137 => 71, 134 => 70, 131 => 69, 128 => 67, 120 => 64, 118 => 63, 114 => 61, 104 => 59, 101 => 58, 98 => 57, 95 => 56, 92 => 55, 90 => 54, 85 => 53, 80 => 52, 77 => 50, 70 => 46, 66 => 45, 58 => 44, 55 => 43, 52 => 42, 44 => 36, 41 => 35, 39 => 34,);
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Default theme implementation to display a pager.
*
* Available variables:
* - items: List of pager items.
* The list is keyed by the following elements:
* - first: Item for the first page; not present on the first page of results.
* - previous: Item for the previous page; not present on the first page
* of results.
* - next: Item for the next page; not present on the last page of results.
* - last: Item for the last page; not present on the last page of results.
* - pages: List of pages, keyed by page number.
* Sub-sub elements:
* items.first, items.previous, items.next, items.last, and each item inside
* items.pages contain the following elements:
* - href: URL with appropriate query parameters for the item.
* - attributes: A keyed list of HTML attributes for the item.
* - text: The visible text used for the item link, such as \"‹ previous\"
* or \"next ›\".
* - current: The page number of the current page.
* - ellipses: If there are more pages than the quantity allows, then an
* ellipsis before or after the listed pages may be present.
* - previous: Present if the currently visible list of pages does not start
* at the first page.
* - next: Present if the visible list of pages ends before the last page.
*
* @ingroup templates
*
* @see template_preprocess_pager()
*/
#}
{% if items %}
{{ 'Pagination'|t }}
<ul>
{# Print previous item if we are not on the first page. #}
{% if items.previous %}
<li>
<a attributes>
{{ 'Previous page'|t }}
{{ '< Previous'|t }}
</a>
</li>
{% endif %}
{# Now generate the actual pager piece. #}
{% for key, item in items.pages %}
<li>
{% if current == key %}
{% set title = 'Current page'|t %}
{% else %}
{% set title = 'Go to page @key'|t({'@key': key}) %}
{% endif %}
<a attributes>
{{ current == key ? 'Current page'|t : 'Page'|t }}
{{- key -}}
</a>
</li>
{% endfor %}
{# Print next item if we are not on the last page. #}
{% if items.next %}
<li>
<a attributes>
{{ 'Next page'|t }}
{{ 'Next >'|t }}
</a>
</li>
{% endif %}
</ul>
{% endif %}
", "themes/custom/asc/templates/pager.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\pager.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 34, "for" => 52, "set" => 55);
static $filters = array("t" => 36, "escape" => 44);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['if', 'for', 'set'],
['t', 'escape'],
[]
);
} 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('6a46fd247dfd2_pager.html.twig_dbXakwzKM1roc1mKxDpk8ZC3B', '<?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/pager.html.twig */
class __TwigTemplate_4dc4228550ac8bbed4984be4a0573f90 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 34
if (($context["items"] ?? null)) {
// line 35
echo "
";
// line 36
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Pagination"));
echo "
<ul>
";
// line 42
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "previous", [], "any", false, false, true, 42)) {
// line 43
echo " <li>
<a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "previous", [], "any", false, false, true, 44), "href", [], "any", false, false, true, 44), 44, $this->source), "html", null, true);
echo "\" title=\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Go to previous page"));
echo "\" rel=\"prev\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "previous", [], "any", false, false, true, 44), "attributes", [], "any", false, false, true, 44), 44, $this->source), "html", null, true);
echo ">
";
// line 45
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Previous page"));
echo "
";
// line 46
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("< Previous"));
echo "
</a>
</li>
";
}
// line 50
echo "
";
// line 52
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "pages", [], "any", false, false, true, 52));
foreach ($context['_seq'] as $context["key"] => $context["item"]) {
// line 53
echo " <li echo this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((($context["current"] ?? null) == $context["key"])) ? (" is-active active") : ("")));
echo "\">
";
// line 54
if ((($context["current"] ?? null) == $context["key"])) {
// line 55
echo " ";
$context["title"] = t("Current page");
// line 56
echo " ";
} else {
// line 57
echo " ";
$context["title"] = t("Go to page @key", ["@key" => $context["key"]]);
// line 58
echo " ";
}
// line 59
echo " <a echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "href", [], "any", false, false, true, 59), 59, $this->source), "html", null, true);
echo "\" title=\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title"] ?? null), 59, $this->source), "html", null, true);
echo "\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "attributes", [], "any", false, false, true, 59), 59, $this->source), "html", null, true);
echo ">
";
// line 61
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((($context["current"] ?? null) == $context["key"])) ? (t("Current page")) : (t("Page"))));
echo "
";
// line 63
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["key"], 63, $this->source), "html", null, true);
// line 64
echo "</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 67
echo "
";
// line 69
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "next", [], "any", false, false, true, 69)) {
// line 70
echo " <li>
<a line echo this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "next", [], "any", false, false, true, 71), "href", [], "any", false, false, true, 71), 71, $this->source), "html", null, true);
echo "\" title=\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Go to next page"));
echo "\" rel=\"next\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["items"] ?? null), "next", [], "any", false, false, true, 71), "attributes", [], "any", false, false, true, 71), 71, $this->source), "html", null, true);
echo ">
";
// line 72
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Next page"));
echo "
";
// line 73
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Next >"));
echo "
</a>
</li>
";
}
// line 77
echo "
</ul>
";
}
}
public function getTemplateName()
{
return "themes/custom/asc/templates/pager.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 156 => 77, 149 => 73, 145 => 72, 137 => 71, 134 => 70, 131 => 69, 128 => 67, 120 => 64, 118 => 63, 114 => 61, 104 => 59, 101 => 58, 98 => 57, 95 => 56, 92 => 55, 90 => 54, 85 => 53, 80 => 52, 77 => 50, 70 => 46, 66 => 45, 58 => 44, 55 => 43, 52 => 42, 44 => 36, 41 => 35, 39 => 34,);
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Default theme implementation to display a pager.
*
* Available variables:
* - items: List of pager items.
* The list is keyed by the following elements:
* - first: Item for the first page; not present on the first page of results.
* - previous: Item for the previous page; not present on the first page
* of results.
* - next: Item for the next page; not present on the last page of results.
* - last: Item for the last page; not present on the last page of results.
* - pages: List of pages, keyed by page number.
* Sub-sub elements:
* items.first, items.previous, items.next, items.last, and each item inside
* items.pages contain the following elements:
* - href: URL with appropriate query parameters for the item.
* - attributes: A keyed list of HTML attributes for the item.
* - text: The visible text used for the item link, such as \"‹ previous\"
* or \"next ›\".
* - current: The page number of the current page.
* - ellipses: If there are more pages than the quantity allows, then an
* ellipsis before or after the listed pages may be present.
* - previous: Present if the currently visible list of pages does not start
* at the first page.
* - next: Present if the visible list of pages ends before the last page.
*
* @ingroup templates
*
* @see template_preprocess_pager()
*/
#}
{% if items %}
{{ 'Pagination'|t }}
<ul>
{# Print previous item if we are not on the first page. #}
{% if items.previous %}
<li>
<a attributes>
{{ 'Previous page'|t }}
{{ '< Previous'|t }}
</a>
</li>
{% endif %}
{# Now generate the actual pager piece. #}
{% for key, item in items.pages %}
<li>
{% if current == key %}
{% set title = 'Current page'|t %}
{% else %}
{% set title = 'Go to page @key'|t({'@key': key}) %}
{% endif %}
<a attributes>
{{ current == key ? 'Current page'|t : 'Page'|t }}
{{- key -}}
</a>
</li>
{% endfor %}
{# Print next item if we are not on the last page. #}
{% if items.next %}
<li>
<a attributes>
{{ 'Next page'|t }}
{{ 'Next >'|t }}
</a>
</li>
{% endif %}
</ul>
{% endif %}
", "themes/custom/asc/templates/pager.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\pager.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 34, "for" => 52, "set" => 55);
static $filters = array("t" => 36, "escape" => 44);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['if', 'for', 'set'],
['t', 'escape'],
[]
);
} 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_4dc4228550ac8bbed4984be4a0573f90', 'themes/custom/asc/templates/pager.html.twig') (Line: 312)
Twig\Environment->load('themes/custom/asc/templates/pager.html.twig') (Line: 53)
twig_render_template('themes/custom/asc/templates/pager.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('pager', 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: 95)
__TwigTemplate_ec0567a8b245933d511166f2f65e282a->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/views/views-view.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('views_view', Array) (Line: 445)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 458)
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)
