Spade
Mini Shell
| Directory:~$ /home/lmsyaran/public_html/joomla4/ |
| [Home] [System Details] [Kill Me] |
7ee72e62bd8dee3bc73b3dd4cf4f85d3dd2605cc45579675a9b45a9be5fa3c3f.php000064400000014242151162305020016623
0ustar00<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* @nucleus/layout/offcanvas.html.twig */
class
__TwigTemplate_cfc8ea983ac1869d3da8c795024ec94dc3b8c15acd21fbb427a1fab04d3ef395
extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
$context["attr_class"] =
(($this->getAttribute($this->getAttribute(($context["segment"]
?? null), "attributes", []), "class", [])) ? ((("
class=\"" . twig_escape_filter($this->env,
$this->getAttribute($this->getAttribute(($context["segment"]
?? null), "attributes", []), "class", []))) .
"\"")) : (""));
// line 2
$context["attr_extra"] =
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->attributeArrayFilter($this->getAttribute($this->getAttribute(($context["segment"]
?? null), "attributes", []), "extra", []));
// line 3
echo "
";
// line 4
ob_start();
// line 5
echo " ";
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable($this->getAttribute(($context["segment"]
?? null), "children", []));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) ||
(is_object($context['_seq']) &&
$context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length -
1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"]
=> $context["child"]) {
// line 6
echo " ";
$this->loadTemplate((("@nucleus/layout/" .
$this->getAttribute($context["child"], "type", []))
. ".html.twig"), "@nucleus/layout/offcanvas.html.twig",
6)->display(twig_array_merge($context, ["segments" =>
$this->getAttribute($context["child"], "children",
[])]));
// line 7
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 ===
$context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'],
$context['_key'], $context['child'],
$context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
$context["offcanvas"] = ('' === $tmp =
ob_get_clean()) ? '' : new Markup($tmp,
$this->env->getCharset());
// line 10
if
(($this->getAttribute($this->getAttribute(($context["segment"]
?? null), "attributes", []), "sticky", []) ||
twig_trim_filter(($context["offcanvas"] ?? null)))) {
// line 11
echo "<div id=\"g-offcanvas\" ";
echo ($context["attr_class"] ?? null);
echo ($context["attr_extra"] ?? null);
echo " data-g-offcanvas-swipe=\"";
echo twig_escape_filter($this->env,
(($this->getAttribute($this->getAttribute(($context["segment"]
?? null), "attributes", [], "any", false, true),
"swipe", [], "any", true, true)) ?
(_twig_default_filter($this->getAttribute($this->getAttribute(($context["segment"]
?? null), "attributes", [], "any", false, true),
"swipe", []), "1")) : ("1")),
"html", null, true);
echo "\" data-g-offcanvas-css3=\"";
echo twig_escape_filter($this->env,
(($this->getAttribute($this->getAttribute(($context["segment"]
?? null), "attributes", [], "any", false, true),
"css3animation", [], "any", true, true)) ?
(_twig_default_filter($this->getAttribute($this->getAttribute(($context["segment"]
?? null), "attributes", [], "any", false, true),
"css3animation", []), "1")) : ("1")),
"html", null, true);
echo "\">
";
// line 12
echo ($context["offcanvas"] ?? null);
// line 13
echo "</div>
";
}
}
public function getTemplateName()
{
return "@nucleus/layout/offcanvas.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 89 => 13, 87 => 12, 77 => 11, 75 =>
10, 60 => 7, 57 => 6, 39 => 5, 37 => 4, 34 => 3, 32
=> 2, 30 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use
getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is
deprecated since version 1.27 and will be removed in 2.0. Use
getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{% set attr_class =
segment.attributes.class ? ' class=\"' ~
segment.attributes.class|e ~ '\"' %}
{% set attr_extra = segment.attributes.extra|attribute_array %}
{% set offcanvas %}
{% for child in segment.children %}
{% include '@nucleus/layout/' ~ child.type ~
'.html.twig' with { 'segments': child.children } %}
{% endfor %}
{% endset %}
{%- if segment.attributes.sticky or offcanvas|trim -%}
<div id=\"g-offcanvas\" {{ attr_class|raw }} {{-
attr_extra|raw }} data-g-offcanvas-swipe=\"{{
segment.attributes.swipe|default('1') }}\"
data-g-offcanvas-css3=\"{{
segment.attributes.css3animation|default('1') }}\">
{{ offcanvas|raw -}}
</div>
{% endif %}
", "@nucleus/layout/offcanvas.html.twig",
"/home/lmsyaran/public_html/media/gantry5/engines/nucleus/templates/layout/offcanvas.html.twig");
}
}