Spade
Mini Shell
| Directory:~$ /home/lmsyaran/public_html/joomla4/ |
| [Home] [System Details] [Kill Me] |
bf432de80103e2aa5db6080c414c0d985f0648a862a7198b82664100f4787702.php000064400000040361151157644670015432
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;
/* @gantry-admin/pages/configurations/page/page.html.twig */
class
__TwigTemplate_0cb122e461d42ee0f91744e6543d0dca9b3d5ac4933c96582c11579216e9ebb8
extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'gantry' => [$this, 'block_gantry'],
];
}
protected function doGetParent(array $context)
{
// line 1
return $this->loadTemplate((((($context["ajax"] ??
null) - ($context["suffix"] ?? null))) ?
("@gantry-admin/partials/ajax.html.twig") :
("@gantry-admin/partials/base.html.twig")),
"@gantry-admin/pages/configurations/page/page.html.twig", 1);
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->getParent($context)->display($context,
array_merge($this->blocks, $blocks));
}
// line 3
public function block_gantry($context, array $blocks = [])
{
// line 4
echo " ";
$context["stored_data"] =
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->jsonDecodeFilter(_twig_default_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->getCookie("g5-collapsed"),
"{}"));
// line 5
echo " <div id=\"page-settings\">
<form method=\"post\">
<div data-set-page=\"";
// line 7
echo twig_escape_filter($this->env,
($context["page_id"] ?? null), "html", null, true);
echo "\" data-set-root=\"\">
<span class=\"float-right\">
<button type=\"submit\"
class=\"button button-primary button-save\" data-save=\"Page
Settings\">
<i class=\"fa fa-fw fa-check\"
aria-hidden=\"true\"></i> <span>";
// line 10
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_SAVE_PAGESETTINGS"),
"html", null, true);
echo "</span></button>
</span>
";
// line 12
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable(($context["page"] ?? null));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
foreach ($context['_seq'] as $context["group"]
=> $context["list"]) {
if (($context["group"] != "hidden")) {
// line 13
echo " <h2
class=\"page-title\">
<span class=\"title\">";
// line 14
echo twig_escape_filter($this->env,
twig_capitalize_string_filter($this->env, $context["group"]),
"html", null, true);
echo " ";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_PAGESETTINGS"),
"html", null, true);
echo "</span>
</h2>
<div class=\"g-filter-actions\">
<div class=\"g-panel-filters\"
data-g-global-filter=\"\">
<div class=\"search
settings-block\">
<input type=\"text\"
data-g-collapse-filter=\"\" placeholder=\"";
// line 20
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_FILTER"),
"html", null, true);
echo " ";
echo twig_escape_filter($this->env,
twig_capitalize_string_filter($this->env, $context["group"]),
"html", null, true);
echo "...\" aria-label=\"";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_FILTER"),
"html", null, true);
echo " ";
echo twig_escape_filter($this->env,
twig_capitalize_string_filter($this->env, $context["group"]),
"html", null, true);
echo "...\" role=\"search\" />
<i class=\"fa fa-fw
fa-search\" aria-hidden=\"true\"></i>
</div>
<button class=\"button\"
type=\"button\" data-g-collapse-all=\"true\"><i
class=\"fa fa-fw fa-toggle-up\"
aria-hidden=\"true\"></i> ";
// line 23
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_COLLAPSE_ALL"),
"html", null, true);
echo "</button>
<button class=\"button\"
type=\"button\" data-g-collapse-all=\"false\"><i
class=\"fa fa-fw fa-toggle-down\"
aria-hidden=\"true\"></i> ";
// line 24
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_EXPAND_ALL"),
"html", null, true);
echo "</button>
</div>
</div>
<div class=\"cards-wrapper g-grid\">
";
// line 29
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable($context["list"]);
$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["id"] => $context["particle"]) {
// line 30
echo " ";
if (
!$this->getAttribute($context["particle"], "hidden",
[])) {
// line 31
echo " ";
$context["particle"] =
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "page", []), "getBlueprintForm", [0 =>
$context["id"]], "method");
// line 32
echo " ";
$context["prefix"] = (("page."
. $context["id"]) . ".");
// line 33
echo " ";
$context["collapsed"] =
($this->getAttribute($this->getAttribute($context["particle"],
"form", []), "collapsed", []) ||
$this->getAttribute(($context["stored_data"] ?? null),
($context["prefix"] ?? null)));
// line 34
echo " ";
$context["labels"] =
["collapse" =>
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_COLLAPSE"),
"expand" =>
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_EXPAND")];
// line 35
echo " <div
class=\"card settings-block";
echo ((($context["collapsed"] ?? null)) ?
(" g-collapsed") : (""));
echo "\">
<input type=\"hidden\"
name=\"page[";
// line 36
echo twig_escape_filter($this->env,
$context["id"], "html", null, true);
echo "]\"/>
<h4 data-g-collapse=\"";
// line 37
echo twig_escape_filter($this->env,
twig_jsonencode_filter(twig_array_merge(($context["labels"] ??
null), ["collapsed" => ((($context["collapsed"] ??
null)) ? (true) : (false)), "id" =>
($context["prefix"] ?? null), "target" => "~
.inner-params"])), "html_attr");
echo "\"
data-g-collapse-id=\"";
// line 38
echo twig_escape_filter($this->env,
($context["prefix"] ?? null), "html", null, true);
echo "\"
";
// line 39
echo ((($context["overrideable"] ??
null)) ? (" class=\"card-overrideable\"") :
(""));
echo "
>
<span
class=\"g-collapse\" data-title=\"";
// line 41
echo twig_escape_filter($this->env,
((($context["collapsed"] ?? null)) ?
($this->getAttribute(($context["labels"] ?? null),
"expand", [])) :
($this->getAttribute(($context["labels"] ?? null),
"collapse", []))), "html", null, true);
echo "\" data-tip=\"";
echo twig_escape_filter($this->env,
((($context["collapsed"] ?? null)) ?
($this->getAttribute(($context["labels"] ?? null),
"expand", [])) :
($this->getAttribute(($context["labels"] ?? null),
"collapse", []))), "html", null, true);
echo "\"
data-tip-place=\"top-right\"><i class=\"fa fa-fw
fa-caret-up\"
aria-hidden=\"true\"></i></span>
<span
class=\"g-title\">";
// line 42
echo twig_escape_filter($this->env,
$this->getAttribute($context["particle"], "name",
[]), "html", null, true);
echo "</span>
";
// line 43
if
($this->getAttribute($this->getAttribute($this->getAttribute($context["particle"],
"form", []), "fields", []), "enabled", [])) {
// line 44
echo "
";
$this->loadTemplate("forms/fields/enable/enable.html.twig",
"@gantry-admin/pages/configurations/page/page.html.twig",
44)->display(twig_array_merge($context, ["default" => true,
"scope" => ($context["prefix"] ?? null),
"name" => "enabled", "field" =>
$this->getAttribute($this->getAttribute($this->getAttribute($context["particle"],
"form", []), "fields", []), "enabled", []),
"value" => $this->getAttribute(($context["data"]
?? null), "get", [0 => (($context["prefix"] ?? null)
. "enabled")], "method")]));
// line 45
echo "
";
// line 46
if (($context["overrideable"] ??
null)) {
// line 47
echo "
";
$this->loadTemplate("forms/override.html.twig",
"@gantry-admin/pages/configurations/page/page.html.twig",
47)->display(twig_array_merge($context, ["scope" =>
($context["prefix"] ?? null), "name" =>
"enabled", "field" => ["label" =>
(("Enabled of the " .
$this->getAttribute($context["particle"], "name",
[])) . " Particle")]]));
// line 48
echo "
";
}
// line 49
echo "
";
}
// line 50
echo "
</h4>
<div
class=\"inner-params\">
";
// line 53
$this->loadTemplate("forms/fields.html.twig",
"@gantry-admin/pages/configurations/page/page.html.twig",
53)->display(twig_array_merge($context,
["ignore_not_overrideable" => true, "overrideable"
=> ($context["overrideable"] ?? null), "blueprints"
=> $this->getAttribute($context["particle"],
"form", []), "skip" => [0 =>
"enabled"], "prefix" =>
($context["prefix"] ?? null)]));
// line 54
echo "
</div>
</div>
";
}
// line 57
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['id'],
$context['particle'], $context['_parent'],
$context['loop']);
$context = array_intersect_key($context, $_parent) +
$_parent;
// line 58
echo " </div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'],
$context['group'], $context['list'],
$context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 60
echo "
";
// line 61
$this->loadTemplate("@gantry-admin/pages/configurations/page/atoms.html.twig",
"@gantry-admin/pages/configurations/page/page.html.twig",
61)->display($context);
// line 62
echo "
<div class=\"g-footer-actions\">
<span class=\"float-right\">
<button type=\"submit\"
class=\"button button-primary button-save\" data-save=\"Page
Settings\">
<i class=\"fa fa-fw fa-check\"
aria-hidden=\"true\"></i> <span>";
// line 66
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_SAVE_PAGESETTINGS"),
"html", null, true);
echo "</span></button>
</span>
</div>
</div>
</form>
</div>
";
}
public function getTemplateName()
{
return
"@gantry-admin/pages/configurations/page/page.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 239 => 66, 233 => 62, 231 => 61, 228
=> 60, 217 => 58, 203 => 57, 198 => 54, 196 => 53, 191
=> 50, 188 => 49, 185 => 48, 182 => 47, 180 => 46, 177
=> 45, 174 => 44, 172 => 43, 168 => 42, 162 => 41, 157
=> 39, 153 => 38, 149 => 37, 145 => 36, 140 => 35, 137
=> 34, 134 => 33, 131 => 32, 128 => 31, 125 => 30, 108
=> 29, 100 => 24, 96 => 23, 84 => 20, 73 => 14, 70
=> 13, 59 => 12, 54 => 10, 48 => 7, 44 => 5, 41 =>
4, 38 => 3, 29 => 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("",
"@gantry-admin/pages/configurations/page/page.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/pages/configurations/page/page.html.twig");
}
}