Spade
Mini Shell
72/723dc76a464c78fecb2429813dd741771e31a82b8004c0f33002cc4cd0f988ab.php000064400000060420151171427060016221
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/styles/styles.html.twig */
class
__TwigTemplate_4ffd1dc06d91f94804eead50dd24d425bbcc11caaebc694b13c008db2fc1cb16
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/styles/styles.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
$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 5
$context["defaultStyles"] =
$this->getAttribute(($context["defaults"] ?? null),
"flatten", [0 => "styles", 1 => "][", 2
=> "styles"], "method");
// line 6
echo "
<div id=\"styles\">
";
// line 8
$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 9
echo " <form method=\"post\"
action=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "configurations", 1 =>
($context["configuration"] ?? null), 2 => "styles"],
"method"), "html", null, true);
echo "\">
<span class=\"float-right\">
<a href=\"";
// line 11
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "configurations", 1 =>
($context["configuration"] ?? null), 2 =>
"styles/compile"], "method"), "html", null,
true);
echo "\"
title=\"";
// line 12
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_RECOMPILE_CSS"),
"html", null, true);
echo "\"
aria-label=\"";
// line 13
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_RECOMPILE_CSS"),
"html", null, true);
echo "\"
class=\"button button-secondary\"
data-ajax-action=\"\"
>
<i class=\"fa fa-fw fa-tasks\"
aria-hidden=\"true\"></i> <span>";
// line 17
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_RECOMPILE_CSS"),
"html", null, true);
echo "</span>
</a>
<button type=\"submit\" class=\"button
button-primary button-save\" data-save=\"Styles\">
<i class=\"fa fa-fw fa-check\"
aria-hidden=\"true\"></i> <span>";
// line 20
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_SAVE_STYLES"),
"html", null, true);
echo "</span>
</button>
</span>
";
// line 24
$context["presets"] =
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "theme", []), "presets", []);
// line 25
echo " ";
if ($this->getAttribute(($context["presets"] ?? null),
"count", [], "method")) {
// line 26
echo " ";
$context["collapsed"] =
$this->getAttribute(($context["stored_data"] ?? null),
"swatches");
// line 27
echo " <h2 class=\"page-title";
echo ((($context["collapsed"] ?? null)) ? ("
g-collapsed-main") : (""));
echo "\"
data-g-collapse=\"";
// line 28
echo twig_escape_filter($this->env,
twig_jsonencode_filter(twig_array_merge(($context["labels"] ??
null), ["collapsed" => ((($context["collapsed"] ??
null)) ? (true) : (false)), "id" => "swatches",
"target" => "~ .swatches-container"])),
"html_attr");
echo "\"
data-g-collapse-id=\"swatches\"
>
<span class=\"title\">";
// line 31
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_STYLES"),
"html", null, true);
echo "</span>
<span class=\"g-collapse\"
data-title=\"";
// line 32
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\"
data-tip-spacing=\"0\">
<i class=\"fa fa-fw fa-caret-up\"
aria-hidden=\"true\"></i>
</span>
</h2>
<div class=\"swatches-container";
// line 37
echo ((($context["collapsed"] ?? null)) ? ("
g-collapsed") : (""));
echo "\"";
if (($context["defaultStyles"] ?? null)) {
echo " data-g-styles-defaults=\"";
echo twig_escape_filter($this->env,
twig_jsonencode_filter(($context["defaultStyles"] ?? null)),
"html_attr");
echo "\"";
}
echo ">
<div class=\"swatches-block\">
";
// line 39
$context["presetKey"] =
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "config", []), "get", [0 =>
"styles.preset"], "method");
// line 40
echo "
<ul class=\"g-grid\">
";
// line 42
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable(($context["presets"] ?? null));
foreach ($context['_seq'] as
$context["key"] => $context["preset"]) {
// line 43
echo " ";
$context["presetKey"] = ((
!($context["presetKey"] ?? null)) ? ($context["key"]) :
(($context["presetKey"] ?? null)));
// line 44
echo " ";
$context["counter"] = 0;
// line 45
echo " <li
class=\"g-block";
echo (((($context["presetKey"] ?? null) ==
$context["key"])) ? (" g-preset-match") :
(""));
echo "\">
<a href=\"#\"
class=\"swatch\" data-g-styles=\"";
// line 46
echo twig_escape_filter($this->env,
twig_jsonencode_filter($this->getAttribute($this->getAttribute(($context["presets"]
?? null), "def", [0 => ($context["key"] .
".styles.preset"), 1 => $context["key"]],
"method"), "flatten", [0 =>
($context["key"] . ".styles"), 1 => "][",
2 => "styles"], "method")), "html_attr");
echo "\">
<img src=\"";
// line 47
echo twig_escape_filter($this->env,
_twig_default_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc($this->getAttribute($context["preset"],
"image", [])),
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc("gantry-admin://images/placeholder.png")),
"html", null, true);
echo "\" class=\"swatch-image\"
alt=\"";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_STYLES_APPLY"),
"html", null, true);
echo " ";
echo
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter($this->getAttribute($context["preset"],
"description", []));
echo "\"/>
";
// line 48
if (twig_length_filter($this->env,
$this->getAttribute($context["preset"], "colors",
[]))) {
// line 49
echo " ";
$context["stop"] =
twig_number_format_filter($this->env, (100 /
twig_length_filter($this->env,
$this->getAttribute($context["preset"], "colors",
[]))), 3, ".");
// line 50
echo " <span
class=\"swatch-colors\"
";
// line 52
echo "
style=\"background: linear-gradient(to right
";
// line 53
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable($this->getAttribute($context["preset"],
"colors", []));
foreach ($context['_seq'] as
$context["_key"] => $context["color"]) {
// line 54
echo ",";
echo twig_escape_filter($this->env,
$context["color"], "html", null, true);
echo " ";
echo twig_escape_filter($this->env,
($context["counter"] ?? null), "html", null, true);
echo "%,";
echo twig_escape_filter($this->env,
$context["color"], "html", null, true);
echo " ";
echo twig_escape_filter($this->env,
(($context["counter"] ?? null) + ($context["stop"] ??
null)), "html", null, true);
echo "%
";
// line 55
$context["counter"] =
(($context["counter"] ?? null) + ($context["stop"] ??
null));
}
$_parent = $context['_parent'];
unset($context['_seq'],
$context['_iterated'], $context['_key'],
$context['color'], $context['_parent'],
$context['loop']);
$context = array_intersect_key($context, $_parent) +
$_parent;
// line 56
echo ")\">
</span>
";
}
// line 59
echo " <button
class=\"swatch-preview\" aria-label=\"";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_STYLES_PREVIEW"),
"html", null, true);
echo " ";
echo
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter($this->getAttribute($context["preset"],
"description", []));
echo "\"><i class=\"fa fa-fw
fa-eye\" aria-hidden=\"true\"></i></button>
<span
class=\"swatch-matched\"><i class=\"fa fa-fw
fa-star\" aria-hidden=\"true\"></i></span>
</a>
<span
class=\"swatch-description\"><span
class=\"swatch-title-matched\"><i class=\"fa fa-fw
fa-star\" aria-hidden=\"true\"></i></span>
";
// line 62
echo
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter($this->getAttribute($context["preset"],
"description", []));
echo "</span>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'],
$context['_iterated'], $context['key'],
$context['preset'], $context['_parent'],
$context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 65
echo " </ul>
</div>
</div>
<input type=\"hidden\"
name=\"styles[preset]\" value=\"";
// line 69
echo twig_escape_filter($this->env,
($context["presetKey"] ?? null), "html", null, true);
echo "\" />
";
}
// line 71
echo "
";
// line 72
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable(($context["blocks"] ?? 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 73
echo " <h2>";
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_STYLES"),
"html", null, true);
echo "</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 78
echo twig_escape_filter($this->env,
(($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_FILTER")
. " ") . 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")
. " ") . 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 81
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 82
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 id=\"styles\" class=\"cards-wrapper
g-grid\">
";
// line 88
$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["block"]) {
// line 89
echo " ";
$context["block"] =
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "styles", []), "getBlueprintForm", [0 =>
$context["id"]], "method");
// line 90
echo " ";
$context["prefix"] = (("styles." .
$context["id"]) . ".");
// line 91
echo " ";
$context["collapsed"] =
($this->getAttribute($this->getAttribute($context["block"],
"form", []), "collapsed", []) ||
$this->getAttribute(($context["stored_data"] ?? null),
($context["prefix"] ?? null)));
// line 92
echo " <div class=\"card
settings-block";
echo ((($context["collapsed"] ?? null)) ?
(" g-collapsed") : (""));
echo "\">
<h4 data-g-collapse=\"";
// line 93
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=\"";
echo twig_escape_filter($this->env,
($context["prefix"] ?? null), "html", null, true);
echo "\">
<span class=\"g-collapse\"
data-title=\"";
// line 94
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 97
echo twig_escape_filter($this->env,
$this->getAttribute($context["block"], "name", []),
"html", null, true);
echo "</span>
</h4>
<div class=\"inner-params\">
";
// line 100
$this->loadTemplate("forms/fields.html.twig",
"@gantry-admin/pages/configurations/styles/styles.html.twig",
100)->display(twig_array_merge($context, ["overrideable" =>
($context["overrideable"] ?? null), "blueprints" =>
$this->getAttribute($context["block"], "form", []),
"data" => ($context["data"] ?? null)]));
// line 101
echo " </div>
</div>
";
++$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['block'], $context['_parent'],
$context['loop']);
$context = array_intersect_key($context, $_parent) +
$_parent;
// line 104
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 106
echo "
<div class=\"g-footer-actions\">
<span class=\"float-right\">
<a href=\"";
// line 109
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "configurations", 1 =>
($context["configuration"] ?? null), 2 =>
"styles/compile"], "method"), "html", null,
true);
echo "\"
role=\"button\"
title=\"";
// line 111
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_RECOMPILE_CSS"),
"html", null, true);
echo "\"
aria-label=\"";
// line 112
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_RECOMPILE_CSS"),
"html", null, true);
echo "\"
class=\"button button-secondary\"
data-ajax-action=\"\"
>
<i class=\"fa fa-fw fa-tasks\"
aria-hidden=\"true\"></i> <span>";
// line 116
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_RECOMPILE_CSS"),
"html", null, true);
echo "</span>
</a>
<button type=\"submit\" class=\"button
button-primary button-save\" data-save=\"";
// line 118
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_STYLES"),
"html", null, true);
echo "\"><i class=\"fa fa-fw fa-check\"
aria-hidden=\"true\"></i> <span>";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_SAVE_STYLES"),
"html", null, true);
echo "</span></button>
</span>
</div>
</form>
</div>
";
}
public function getTemplateName()
{
return
"@gantry-admin/pages/configurations/styles/styles.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 380 => 118, 375 => 116, 368 => 112, 364
=> 111, 359 => 109, 354 => 106, 343 => 104, 327 => 101,
325 => 100, 319 => 97, 311 => 94, 305 => 93, 300 => 92,
297 => 91, 294 => 90, 291 => 89, 274 => 88, 265 => 82,
261 => 81, 253 => 78, 242 => 73, 231 => 72, 228 => 71,
223 => 69, 217 => 65, 208 => 62, 199 => 59, 194 => 56,
188 => 55, 177 => 54, 173 => 53, 170 => 52, 167 => 50,
164 => 49, 162 => 48, 154 => 47, 150 => 46, 145 => 45,
142 => 44, 139 => 43, 135 => 42, 131 => 40, 129 => 39,
118 => 37, 108 => 32, 104 => 31, 98 => 28, 93 => 27, 90
=> 26, 87 => 25, 85 => 24, 78 => 20, 72 => 17, 65 =>
13, 61 => 12, 57 => 11, 51 => 9, 49 => 8, 45 => 6, 43
=> 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/styles/styles.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/pages/configurations/styles/styles.html.twig");
}
}
05/056c324df3b748eb9fefd8bcfbbba12fe74d6dc55987f7bcd785fb49ed041199.php000064400000017735151171427060017105
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/partials/base.html.twig */
class
__TwigTemplate_14755d9b66ebbe25e0f96d560d25a1f117bd7cf6172fb32e5f356383df1e6a43
extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'stylesheets' => [$this,
'block_stylesheets'],
'javascript' => [$this,
'block_javascript'],
'content' => [$this, 'block_content'],
'gantry_content_wrapper' => [$this,
'block_gantry_content_wrapper'],
'gantry' => [$this, 'block_gantry'],
'footer_section' => [$this,
'block_footer_section'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@gantry-admin/partials/page.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent =
$this->loadTemplate("@gantry-admin/partials/page.html.twig",
"@gantry-admin/partials/base.html.twig", 1);
$this->parent->display($context,
array_merge($this->blocks, $blocks));
}
// line 3
public function block_stylesheets($context, array $blocks = [])
{
// line 4
echo " <link rel=\"stylesheet\"
href=\"";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc("gantry-admin://assets/css-compiled/g-admin.css"),
"html", null, true);
echo "\" type=\"text/css\" />
";
// line 5
if (
!$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "platform", []), "has", [0 =>
"fontawesome"], "method")) {
// line 6
echo " <link rel=\"stylesheet\"
href=\"";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc("gantry-admin://assets/css/font-awesome.min.css"),
"html", null, true);
echo "\" type=\"text/css\" />
";
}
// line 8
echo " ";
$this->displayParentBlock("stylesheets", $context,
$blocks);
echo "
";
}
// line 11
public function block_javascript($context, array $blocks = [])
{
// line 12
echo " <script type=\"text/javascript\"
async=\"async\" src=\"";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc("gantry-admin://assets/js/main.js"),
"html", null, true);
echo "\"></script>
";
// line 13
$this->loadTemplate("@gantry-admin/partials/js-translations.html.twig",
"@gantry-admin/partials/base.html.twig",
13)->display($context);
// line 14
echo " ";
$this->displayParentBlock("javascript", $context,
$blocks);
echo "
";
}
// line 17
public function block_content($context, array $blocks = [])
{
// line 18
echo " <div id=\"main-header\"
data-mode-indicator=\"production\">
";
// line 19
$this->loadTemplate("@gantry-admin/partials/php_unsupported.html.twig",
"@gantry-admin/partials/base.html.twig",
19)->display($context);
// line 20
echo " ";
$this->loadTemplate("@gantry-admin/partials/header.html.twig",
"@gantry-admin/partials/base.html.twig",
20)->display($context);
// line 21
echo " </div>
<div class=\"inner-container\">
";
// line 23
$this->loadTemplate("@gantry-admin/partials/updates.html.twig",
"@gantry-admin/partials/base.html.twig",
23)->display($context);
// line 24
echo " ";
$this->displayBlock('gantry_content_wrapper',
$context, $blocks);
// line 39
echo " </div>
";
}
// line 24
public function block_gantry_content_wrapper($context, array $blocks =
[])
{
// line 25
echo " <div
data-g5-content-wrapper=\"\">
";
// line 26
$this->loadTemplate("@gantry-admin/partials/navigation.html.twig",
"@gantry-admin/partials/base.html.twig",
26)->display($context);
// line 27
echo " <div class=\"g-grid\">
<div class=\"g-block main-block\">
<section id=\"g-main\">
<div class=\"g-content\"
data-g5-content=\"\">
";
// line 31
$this->displayBlock('gantry', $context, $blocks);
// line 33
echo " </div>
</section>
</div>
</div>
</div>
";
}
// line 31
public function block_gantry($context, array $blocks = [])
{
// line 32
echo " ";
}
// line 42
public function block_footer_section($context, array $blocks = [])
{
// line 43
echo " <footer id=\"footer\">
<div>
";
// line 45
echo
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_FOOTER");
echo "
</div>
";
// line 47
$context["version"] =
twig_constant("GANTRY5_VERSION");
// line 48
echo " ";
$context["version_date"] =
twig_constant("GANTRY5_VERSION_DATE");
// line 49
echo " <div>
";
// line 50
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_FOOTER_VERSION"),
"html", null, true);
echo " <span class=\"g-version\">";
echo twig_escape_filter($this->env,
($context["version"] ?? null), "html", null, true);
echo "</span>
/
";
// line 52
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_FOOTER_RELEASED"),
"html", null, true);
echo " <span class=\"g-version-date\">";
echo twig_escape_filter($this->env,
($context["version_date"] ?? null), "html", null,
true);
echo "</span>
</div>
<div><a href=\"#\" data-changelog=\"";
// line 54
echo twig_escape_filter($this->env,
twig_constant("GANTRY5_VERSION"), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_CHANGELOG"),
"html", null, true);
echo "</a></div>
</footer>
";
}
public function getTemplateName()
{
return "@gantry-admin/partials/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 175 => 54, 168 => 52, 161 => 50, 158
=> 49, 155 => 48, 153 => 47, 148 => 45, 144 => 43, 141
=> 42, 137 => 32, 134 => 31, 125 => 33, 123 => 31, 117
=> 27, 115 => 26, 112 => 25, 109 => 24, 104 => 39, 101
=> 24, 99 => 23, 95 => 21, 92 => 20, 90 => 19, 87 =>
18, 84 => 17, 77 => 14, 75 => 13, 70 => 12, 67 => 11,
60 => 8, 54 => 6, 52 => 5, 47 => 4, 44 => 3, 34 =>
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/partials/base.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/partials/base.html.twig");
}
}
54/54f85b1f23f8d1762e73c3dfdbce5280b020ce87db46d42da73b73242085a5de.php000064400000011411151171427070016443
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/partials/page.html.twig */
class
__TwigTemplate_8cc37c210c52662999b32b35773874900c4443337f8246df7409d631587df471
extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'stylesheets' => [$this,
'block_stylesheets'],
'javascript' => [$this,
'block_javascript'],
'content' => [$this, 'block_content'],
'footer_section' => [$this,
'block_footer_section'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
$assetFunction =
$this->env->getFunction('parse_assets')->getCallable();
$assetVariables = ["priority" => 10];
if ($assetVariables && !is_array($assetVariables)) {
throw new UnexpectedValueException('{% scripts with x %}:
x is not an array');
}
$location = "head";
if ($location && !is_string($location)) {
throw new UnexpectedValueException('{% scripts in x %}: x
is not a string');
}
$priority = isset($assetVariables['priority']) ?
$assetVariables['priority'] : 0;
ob_start();
// line 2
echo " ";
$this->displayBlock('stylesheets', $context, $blocks);
// line 5
echo "
";
// line 6
$this->displayBlock('javascript', $context, $blocks);
$content = ob_get_clean();
$assetFunction($content, $location, $priority);
// line 17
echo "<div id=\"g5-container\">
";
// line 18
$this->displayBlock('content', $context, $blocks);
// line 20
echo "
";
// line 21
$this->displayBlock('footer_section', $context,
$blocks);
// line 23
echo "</div>
";
// line 25
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "platform", []), "finalize", [],
"method");
}
// line 2
public function block_stylesheets($context, array $blocks = [])
{
// line 3
echo " <link rel=\"stylesheet\"
href=\"";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc("gantry-admin://assets/css-compiled/joomla-g-admin.css"));
echo "\" type=\"text/css\" />
";
}
// line 6
public function block_javascript($context, array $blocks = [])
{
// line 7
echo " <script>
var GANTRY_AJAX_SUFFIX = '";
// line 8
echo $this->getAttribute(($context["gantry"] ?? null),
"ajax_suffix", []);
echo "';
var GANTRY_AJAX_URL = '";
// line 9
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "%ajax%"], "method"));
echo "';
var GANTRY_AJAX_CONF_URL = '";
// line 10
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "configurations/%ajax%"],
"method"));
echo "';
var GANTRY_AJAX_NONCE = null;
var GANTRY_PLATFORM = 'joomla';
</script>
";
}
// line 18
public function block_content($context, array $blocks = [])
{
// line 19
echo " ";
}
// line 21
public function block_footer_section($context, array $blocks = [])
{
// line 22
echo " ";
}
public function getTemplateName()
{
return "@gantry-admin/partials/page.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 117 => 22, 114 => 21, 110 => 19, 107
=> 18, 98 => 10, 94 => 9, 90 => 8, 87 => 7, 84 => 6,
77 => 3, 74 => 2, 70 => 25, 66 => 23, 64 => 21, 61
=> 20, 59 => 18, 56 => 17, 52 => 6, 49 => 5, 46 =>
2, 34 => 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/partials/page.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/partials/page.html.twig");
}
}
1c/1cf16fb638ebacdcaaec248cd3aa9ad391aaf99c13403d64d57b43c40b7a3f53.php000064400000020206151171427070017140
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/partials/js-translations.html.twig */
class
__TwigTemplate_03c057c915143e076ea72aeea9bb8f305d09442e525d197926235b8f4a51c17f
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
echo "<script>
var G5T = function(key, fallback) {
var map = {
GANTRY5_PLATFORM_INHERITING_FROM_X: ";
// line 4
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_INHERITING_FROM_X"));
echo ",
GANTRY5_PLATFORM_JS_LOADING: ";
// line 5
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_LOADING"));
echo ",
GANTRY5_PLATFORM_JS_PROCESSING: ";
// line 6
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_PROCESSING"));
echo ",
GANTRY5_PLATFORM_JS_LM_SETTINGS: ";
// line 7
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_LM_SETTINGS"));
echo ",
GANTRY5_PLATFORM_JS_LM_CONFIGURE_SETTINGS: ";
// line 8
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_LM_CONFIGURE_SETTINGS"));
echo ",
GANTRY5_PLATFORM_JS_LM_ADD_ROW: ";
// line 9
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_LM_ADD_ROW"));
echo ",
GANTRY5_PLATFORM_JS_LM_DISABLED_PARTICLE: ";
// line 10
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_LM_DISABLED_PARTICLE"));
echo ",
GANTRY5_PLATFORM_JS_LM_GRID_EQUALIZE: ";
// line 11
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_LM_GRID_EQUALIZE"));
echo ",
GANTRY5_PLATFORM_JS_LM_GRID_SORT_MOVE: ";
// line 12
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_LM_GRID_SORT_MOVE"));
echo ",
GANTRY5_PLATFORM_JS_LM_SIZE_LIMITS_RANGE: ";
// line 13
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_LM_SIZE_LIMITS_RANGE"));
echo ",
GANTRY5_PLATFORM_JS_REVIEW_FIELDS: ";
// line 14
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_REVIEW_FIELDS"));
echo ",
GANTRY5_PLATFORM_JS_INVALID_FIELDS: ";
// line 15
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_INVALID_FIELDS"));
echo ",
GANTRY5_PLATFORM_JS_PARTICLE_SETTINGS_APPLIED: ";
// line 16
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_PARTICLE_SETTINGS_APPLIED"));
echo ",
GANTRY5_PLATFORM_JS_MENU_SETTINGS_APPLIED: ";
// line 17
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_MENU_SETTINGS_APPLIED"));
echo ",
GANTRY5_PLATFORM_JS_GENERIC_SETTINGS_APPLIED: ";
// line 18
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_GENERIC_SETTINGS_APPLIED"));
echo ",
GANTRY5_PLATFORM_JS_SETTINGS_APPLIED: ";
// line 19
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_SETTINGS_APPLIED"));
echo ",
GANTRY5_PLATFORM_JS_POSITIONS_SETTINGS_APPLIED: ";
// line 20
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_POSITIONS_SETTINGS_APPLIED"));
echo ",
GANTRY5_PLATFORM_JS_FILTER_MISMATCH: ";
// line 21
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_FILTER_MISMATCH"));
echo ",
GANTRY5_PLATFORM_JUST_NOW: ";
// line 22
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JUST_NOW"));
echo ",
GANTRY5_PLATFORM_JS_KEYVALUE_DUPLICATE: ";
// line 23
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_KEYVALUE_DUPLICATE"));
echo ",
GANTRY5_PLATFORM_JS_KEYVALUE_EXCLUDED: ";
// line 24
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_KEYVALUE_EXCLUDED"));
echo ",
GANTRY5_PLATFORM_JS_NO_SAVE_DETECTED: ";
// line 25
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_NO_SAVE_DETECTED"));
echo ",
GANTRY5_PLATFORM_SAVED: ";
// line 26
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_SAVED"));
echo ",
GANTRY5_PLATFORM_LAST_SAVED: ";
// line 27
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_LAST_SAVED"));
echo ",
GANTRY5_PLATFORM_JS_CSS_COMPILED: ";
// line 28
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_CSS_COMPILED"));
echo ",
GANTRY5_PLATFORM_JS_SAVE_SUCCESS: ";
// line 29
echo
twig_jsonencode_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_JS_SAVE_SUCCESS"));
echo ",
};
return map[key] || fallback || key;
};
</script>
";
}
public function getTemplateName()
{
return
"@gantry-admin/partials/js-translations.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 135 => 29, 131 => 28, 127 => 27, 123
=> 26, 119 => 25, 115 => 24, 111 => 23, 107 => 22, 103
=> 21, 99 => 20, 95 => 19, 91 => 18, 87 => 17, 83 =>
16, 79 => 15, 75 => 14, 71 => 13, 67 => 12, 63 => 11,
59 => 10, 55 => 9, 51 => 8, 47 => 7, 43 => 6, 39 =>
5, 35 => 4, 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("",
"@gantry-admin/partials/js-translations.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/partials/js-translations.html.twig");
}
}
4f/4fddfad3d7e9418ce98e7ccdd17b49a5656c8ef9c420d53ea2b8771cf9e01892.php000064400000005134151171427070017024
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/partials/php_unsupported.html.twig */
class
__TwigTemplate_0b49f1b6e5450ff5cf3b6f3194612398ad2eefda1a5e189b58f949186dc3f1e9
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["php_version"] =
twig_constant("PHP_VERSION");
// line 2
echo "
";
// line 3
if
((is_string($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4
= ($context["php_version"] ?? null)) &&
is_string($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144
= "5.4") && ('' ===
$__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144
|| 0 ===
strpos($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4,
$__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144))))
{
// line 4
echo "<div class=\"g-grid\">
<div class=\"g-block alert alert-warning
g-php-outdated\">
";
// line 6
echo
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_PHP54_WARNING",
($context["php_version"] ?? null));
echo "
</div>
</div>
";
}
}
public function getTemplateName()
{
return
"@gantry-admin/partials/php_unsupported.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 41 => 6, 37 => 4, 35 => 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("",
"@gantry-admin/partials/php_unsupported.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/partials/php_unsupported.html.twig");
}
}
43/430d46879c1eee3de3c0c923027bbcc7648f9cfef296f65b9a4a6a26bf7a5ce5.php000064400000025626151171427070016730
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/partials/header.html.twig */
class
__TwigTemplate_cc50b953c5ea60ecd6b397a622c23487cd1c88fa82c1018d1e7d6a09d892a175
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
echo "<div class=\"g-grid\">
<div class=\"g-block\">
<div class=\"g-content clearfix\">
<span class=\"theme-title\">
<i class=\"fa fa-tint\"
aria-hidden=\"true\"></i>
";
// line 6
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_THEME"),
"html", null, true);
echo ": ";
echo twig_escape_filter($this->env,
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "theme", []), "title", []), "html",
null, true);
echo "
<small>(v";
// line 7
echo twig_escape_filter($this->env,
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "theme", []), "version", []),
"html", null, true);
echo " / ";
echo twig_escape_filter($this->env,
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "theme", []), "name", []), "html",
null, true);
echo ")</small>
</span>
";
// line 10
$context["settings_url"] =
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "platform", []), "settings", []);
// line 11
echo " ";
$context["settings_key"] =
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "platform", []), "settings_key", []);
// line 12
echo " <ul class=\"float-right\">
<li ";
// line 13
echo (((($context["location"] ?? null) ==
"configurations")) ? ("class=\"active\"") :
(""));
echo ">
<a data-g5-ajaxify=\"\"
data-g5-ajaxify-target=\"[data-g5-content]\"
href=\"";
// line 16
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "configurations"],
"method"), "html", null, true);
echo "\"
>
<i class=\"fa fa-fw fa-th\"
aria-hidden=\"true\"></i> ";
// line 18
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_OUTLINES"),
"html", null, true);
echo "
</a>
</li>
";
// line 22
echo " ";
// line 27
echo " ";
if ($this->getAttribute(($context["gantry"] ?? null),
"authorize", [0 => "menu.manage"],
"method")) {
// line 28
echo " <li ";
echo (((($context["location"] ?? null) ==
"menu")) ? ("class=\"active\"") :
(""));
echo ">
<a data-g5-ajaxify=\"\"
data-g5-ajaxify-target=\"[data-g5-content]\" href=\"";
// line 29
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "menu"], "method"),
"html", null, true);
echo "\">
<i class=\"fa fa-fw fa-bars\"
aria-hidden=\"true\"></i> <span>";
// line 30
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_MENU"),
"html", null, true);
echo "</span>
</a>
</li>
";
}
// line 34
echo " <li ";
echo (((($context["location"] ?? null) ==
"about")) ? ("class=\"active\"") :
(""));
echo ">
<a data-g5-ajaxify=\"\"
data-g5-ajaxify-target=\"[data-g5-content]\" href=\"";
// line 35
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "about"], "method"),
"html", null, true);
echo "\">
<i class=\"fa fa-fw
fa-question-circle\" aria-hidden=\"true\"></i>
<span>";
// line 36
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_ABOUT"),
"html", null, true);
echo "</span>
</a>
</li>
<li data-g-extras data-g-popover
data-g-popover-style=\"extras\" aria-haspopup=\"true\"
aria-expanded=\"false\" role=\"presentation\">
<a href=\"#\"><i class=\"fa
fa-fw fa-cog\" aria-hidden=\"true\"></i> ";
// line 40
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_EXTRAS"),
"html", null, true);
echo " <i class=\"small fa fa-fw
fa-chevron-down\"
aria-hidden=\"true\"></i></a>
<ul data-popover-content class=\"hidden\"
tabindex=\"0\">
";
// line 42
$context["prod_mode"] =
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_PRODUCTION");
// line 43
echo " ";
$context["dev_mode"] =
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_DEVELOPMENT");
// line 44
echo " <li
data-g-devprod=\"";
echo twig_escape_filter($this->env, twig_jsonencode_filter([0
=> ($context["dev_mode"] ?? null), 1 =>
($context["prod_mode"] ?? null)]), "html_attr");
echo "\">
<i class=\"fa fa-fw fa-wrench\"
aria-hidden=\"true\"></i> <span
class=\"devprod-mode\">";
// line 45
echo twig_escape_filter($this->env,
(($this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "global", []), "production", [])) ?
(($context["prod_mode"] ?? null)) :
(($context["dev_mode"] ?? null))), "html", null, true);
echo "</span>
<div class=\"float-right\">
<span class=\"enabler\"
role=\"checkbox\" aria-checked=\"";
// line 47
echo
(($this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "global", []), "production", [])) ?
("true") : ("false"));
echo "\" tabindex=\"0\"
aria-label=\"";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_PRODUCTION_MODE_ARIA_LABEL"),
"html", null, true);
echo "\">
<input type=\"hidden\"
name=\"production_mode\" value=\"";
// line 48
echo
(($this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "global", []), "production", [])) ? (1) :
(0));
echo "\">
<span
class=\"toggle\"><span
class=\"knob\"></span></span>
</span>
</div>
</li>
<li data-g-popover-follow>
<a tabindex=\"0\"
href=\"";
// line 55
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "cache"], "method"),
"html", null, true);
echo "\"
data-ajax-action=\"\"
data-ajax-action-method=\"get\"
data-ajax-action-indicator=\"li[data-g-extras]\"
><i class=\"fa fa-fw
fa-recycle\" aria-hidden=\"true\"></i> ";
// line 59
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_CLEAR_CACHE"),
"html", null, true);
echo "
</a>
</li>
";
// line 62
if (($context["settings_url"] ?? null)) {
// line 63
echo " <li>
<a tabindex=\"0\"
href=\"";
// line 65
echo twig_escape_filter($this->env,
($context["settings_url"] ?? null), "html", null,
true);
echo "\"
data-settings-key=\"";
// line 66
echo twig_escape_filter($this->env,
($context["settings_key"] ?? null), "html", null,
true);
echo "\"
>
<i class=\"fa fa-fw fa-";
// line 68
echo twig_escape_filter($this->env,
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "platform", []), "name", []),
"html", null, true);
echo "\" aria-hidden=\"true\"></i>
";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_PLATFORM_SETTINGS"),
"html", null, true);
echo "
</a>
</li>
";
}
// line 72
echo " </ul>
</li>
</ul>
</div>
</div>
</div>
";
}
public function getTemplateName()
{
return "@gantry-admin/partials/header.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 186 => 72, 177 => 68, 172 => 66, 168
=> 65, 164 => 63, 162 => 62, 156 => 59, 149 => 55, 139
=> 48, 133 => 47, 128 => 45, 123 => 44, 120 => 43, 118
=> 42, 113 => 40, 106 => 36, 102 => 35, 97 => 34, 90
=> 30, 86 => 29, 81 => 28, 78 => 27, 76 => 22, 70 =>
18, 65 => 16, 59 => 13, 56 => 12, 53 => 11, 51 => 10,
43 => 7, 37 => 6, 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("",
"@gantry-admin/partials/header.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/partials/header.html.twig");
}
}
74/740834a6a1662d6f9b97dabba608b8f532551f454b63bcd59c37d43267b3941b.php000064400000007510151171427070016170
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/partials/updates.html.twig */
class
__TwigTemplate_4fa779bd5702c96640084f03d7ff40efffe1b54d91bc8a6da3e092a859fa732f
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["updates"] =
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "platform", []), "updates", []);
// line 2
if (($context["updates"] ?? null)) {
// line 3
$context["version"] = twig_last($this->env,
twig_split_filter($this->env,
$this->getAttribute(($context["updates"] ?? null), 0, []),
" "));
// line 4
echo "<div class=\"g-grid\">
<div class=\"g-block\">
<div class=\"update-header clearfix\">
<span class=\"update-text\">";
// line 7
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_UPDATES_AVAILABLE"),
"html", null, true);
echo ": ";
echo twig_escape_filter($this->env,
twig_join_filter(($context["updates"] ?? null), ", "),
"html", null, true);
echo "</span>
<div class=\"update-tools\">
<a href=\"";
// line 9
echo
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "platform", []), "update", []);
echo "\" class=\"button button-update\">
<i class=\"fa fa-refresh\"
aria-hidden=\"true\"></i> <span>";
// line 10
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_UPDATE"),
"html", null, true);
echo "</span>
</a>
<a href=\"#\" data-changelog=\"";
// line 12
echo twig_escape_filter($this->env,
($context["version"] ?? null), "html", null, true);
echo "\" class=\"button button-update\">
<i class=\"fa fa-book\"
aria-hidden=\"true\"></i> <span>";
// line 13
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_CHANGELOG"),
"html", null, true);
echo "</span>
</a>
<a href=\"#\" class=\"fa fa-close\"
aria-hidden=\"true\"
data-g-close=\".g-grid\"></a>
</div>
</div>
</div>
</div>
";
}
}
public function getTemplateName()
{
return "@gantry-admin/partials/updates.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 61 => 13, 57 => 12, 52 => 10, 48 =>
9, 41 => 7, 36 => 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("",
"@gantry-admin/partials/updates.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/partials/updates.html.twig");
}
}
74/74347a1dbb376270634c30545f7331cdabe0bd8b6a5e4ddc5b15b072a8255a9b.php000064400000004751151171427070016353
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;
/* forms/fields/select/selectize.html.twig */
class
__TwigTemplate_f9c7ed81edea514e5bd172260f11d616cb1e104e75ab3ddccb6ce1b02235467e
extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'global_attributes' => [$this,
'block_global_attributes'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "forms/fields/select/select.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent =
$this->loadTemplate("forms/fields/select/select.html.twig",
"forms/fields/select/selectize.html.twig", 1);
$this->parent->display($context,
array_merge($this->blocks, $blocks));
}
// line 3
public function block_global_attributes($context, array $blocks = [])
{
// line 4
echo " data-selectize=\"";
echo (($this->getAttribute(($context["field"] ??
null), "selectize", [], "any", true, true)) ?
(twig_escape_filter($this->env,
twig_jsonencode_filter($this->getAttribute(($context["field"]
?? null), "selectize", [])), "html_attr")) :
(""));
echo "\"
";
// line 5
$this->displayParentBlock("global_attributes",
$context, $blocks);
echo "
";
}
public function getTemplateName()
{
return "forms/fields/select/selectize.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 47 => 5, 42 => 4, 39 => 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("",
"forms/fields/select/selectize.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/forms/fields/select/selectize.html.twig");
}
}
74/743f92eb38047b0c7a8948519b54071989a44038749cf206d4d0baf883081a33.php000064400000052573151171427070015632
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/layouts/edit.html.twig */
class
__TwigTemplate_5a78f1ff2890d3a817c2d69a9da05d925bed7a38ffae3fcb5ed2c05660b21c63
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/layouts/edit.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
if (((($context["configuration"] ?? null) ==
"default") &&
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "platform", []), "no_base_layout", []))) {
// line 5
echo "
<h2 class=\"page-title\">";
// line 6
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_LAYOUT"),
"html", null, true);
echo "</h2>
<p>";
// line 7
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_BASE_LAYOUT_DESC"),
"html", null, true);
echo "</p>
";
} else {
// line 10
echo "
<div class=\"g-grid\" data-lm-container=\"\">
<div class=\"g-block sidebar-block
particles-sidebar-block\">
<h2 class=\"page-title\">
<span class=\"title\">";
// line 14
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_PARTICLES"),
"html", null, true);
echo "</span>
</h2>
<div class=\"g5-lm-particles-picker\">
<div class=\"search settings-block\">
<input type=\"text\"
placeholder=\"";
// line 18
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_FILTER_ELI"),
"html", null, true);
echo "\" aria-label=\"";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_FILTER_ELI"),
"html", null, true);
echo "\" role=\"search\"/>
<i class=\"fa fa-fw fa-search\"
aria-hidden=\"true\"></i>
</div>
<div class=\"particles-container\">
";
// line 22
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable(($context["particles"] ?? null));
foreach ($context['_seq'] as
$context["key"] => $context["list"]) {
// line 23
echo " ";
echo twig_escape_filter($this->env,
twig_capitalize_string_filter($this->env, $context["key"]),
"html", null, true);
echo "
<ul>
";
// line 25
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable($context["list"]);
foreach ($context['_seq'] as
$context["type"] => $context["particle"]) {
// line 26
echo " ";
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable($context["particle"]);
foreach ($context['_seq'] as
$context["item_key"] => $context["item"]) {
// line 27
echo " ";
$context["isDisabled"] =
!$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "config", []), "get", [0 =>
(("particles." . $context["item_key"]) .
".enabled"), 1 => true], "method");
// line 28
echo " <li
class=\"g5-lm-particle-";
echo twig_escape_filter($this->env,
$context["type"], "html", null, true);
echo "\"
data-lm-blocktype=\"";
// line 29
echo twig_escape_filter($this->env,
$context["type"], "html", null, true);
echo "\"
data-lm-subtype=\"";
// line 30
echo twig_escape_filter($this->env,
$context["item_key"], "html", null, true);
echo "\"
data-lm-icon=\"";
// line 31
echo twig_escape_filter($this->env,
(($this->getAttribute($context["item"], "icon", [],
"any", true, true)) ?
(_twig_default_filter($this->getAttribute($context["item"],
"icon", []), "fa-cube")) : ("fa-cube")),
"html", null, true);
echo "\"
";
// line 32
if (($context["isDisabled"] ?? null)) {
// line 33
echo "
data-lm-disabled=\"\"
data-lm-nodrag=\"\"
title=\"";
// line 35
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_PARTICLE_DISABLED"),
"html", null, true);
echo "\"
";
}
// line 37
echo " >
<span class=\"particle-icon\"
";
// line 38
echo ((($context["isDisabled"] ?? null))
? ("data-lm-disabled data-lm-nodrag") : (""));
echo ">
<i class=\"fa fa-fw ";
// line 39
echo twig_escape_filter($this->env,
(($this->getAttribute($context["item"], "icon", [],
"any", true, true)) ?
(_twig_default_filter($this->getAttribute($context["item"],
"icon", []), "fa-cube")) : ("fa-cube")),
"html", null, true);
echo "\" aria-hidden=\"true\"
";
echo ((($context["isDisabled"] ?? null))
? ("data-lm-disabled data-lm-nodrag") : (""));
echo "></i>
</span>
<span class=\"particle-title\"
";
// line 41
echo ((($context["isDisabled"] ?? null))
? ("data-lm-disabled data-lm-nodrag") : (""));
echo ">";
echo twig_escape_filter($this->env,
$this->getAttribute($context["item"], "name", []),
"html", null, true);
echo "</span>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'],
$context['_iterated'], $context['item_key'],
$context['item'], $context['_parent'],
$context['loop']);
$context = array_intersect_key($context, $_parent) +
$_parent;
// line 44
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'],
$context['_iterated'], $context['type'],
$context['particle'], $context['_parent'],
$context['loop']);
$context = array_intersect_key($context, $_parent) +
$_parent;
// line 45
echo " </ul>
";
}
$_parent = $context['_parent'];
unset($context['_seq'],
$context['_iterated'], $context['key'],
$context['list'], $context['_parent'],
$context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 47
echo " </div>
</div>
</div>
<div class=\"g-block main-block\">
<span class=\"float-right\">
";
// line 54
echo " <button href=\"#\"
class=\"button\"
role=\"button\"
data-lm-switcher=\"";
// line 57
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => ($context["switcher_url"] ?? null)],
"method"), "html", null, true);
echo "\"
aria-label=\"";
// line 58
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_LM_LOAD_PRESET"),
"html", null, true);
echo "\">
<i class=\"fa fa-fw fa-code-fork\"
aria-hidden=\"true\"></i> <span>";
// line 59
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_LOAD"),
"html", null, true);
echo "</span>
</button>
<div class=\"button\" data-g-popover
aria-haspopup=\"true\" aria-expanded=\"false\"
role=\"presentation\">
<span><i class=\"fa fa-fw fa-trash-o\"
aria-hidden=\"true\"></i> ";
// line 62
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_CLEAR"),
"html", null, true);
echo " <i class=\"small fa fa-fw
fa-chevron-down\"
aria-hidden=\"true\"></i></span>
<ul data-popover-content class=\"hidden\"
tabindex=\"0\">
<li data-g-popover-follow>
<a tabindex=\"0\"
href=\"#\"
data-lm-clear=\"full\"
aria-label=\"";
// line 68
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_LM_CLEAR_LAYOUT"),
"html", null, true);
echo "\"
><i class=\"fa fa-fw fa-trash\"
aria-hidden=\"true\"></i> ";
// line 69
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_LM_CLEAR_FULL"),
"html", null, true);
echo "
</a>
</li>
<li data-g-popover-follow>
<a tabindex=\"0\"
href=\"#\"
data-lm-clear=\"keep-inheritance\"
aria-label=\"";
// line 76
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_LM_CLEAR_LAYOUT"),
"html", null, true);
echo "\"
><i class=\"fa fa-fw fa-trash-o\"
aria-hidden=\"true\"></i> ";
// line 77
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_LM_CLEAR_KEEP_INHERITANCE"),
"html", null, true);
echo "
</a>
</li>
</ul>
</div>
<button href=\"#\"
class=\"button button-primary button-save\"
role=\"button\"
data-save=\"Layout\"
aria-label=\"";
// line 86
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_SAVE_LAYOUT"),
"html", null, true);
echo "\"
>
<i class=\"fa fa-fw fa-check\"
aria-hidden=\"true\"></i> <span>";
// line 88
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_SAVE_LAYOUT"),
"html", null, true);
echo "</span>
</button>
</span>
<h2 class=\"page-title layout-title\">
<span class=\"title\">";
// line 92
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_LAYOUT"),
"html", null, true);
echo " <small>(";
echo twig_escape_filter($this->env,
(((isset($context["preset_title"]) ||
array_key_exists("preset_title", $context))) ?
(_twig_default_filter(($context["preset_title"] ?? null),
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_LM_PRESET_UNKNOWN")))
:
($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_LM_PRESET_UNKNOWN"))),
"html", null, true);
echo ")</small></span>
</h2>
<div class=\"lm-newblocks clearfix\"
data-lm-blocktypes=\"\">
";
// line 97
echo " <span
class=\"float-right\">
<button data-lm-back=\"\" href=\"#\"
class=\"button disabled\"><i class=\"fa fa-fw
fa-arrow-left\" aria-hidden=\"true\"></i> ";
// line 98
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_UNDO"),
"html", null, true);
echo "</button>
";
// line 100
echo " <button
data-lm-forward=\"\" href=\"#\" class=\"button
disabled\">";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_REDO"),
"html", null, true);
echo " <i class=\"fa fa-fw fa-arrow-right\"
aria-hidden=\"true\"></i></button>
</span>
</div>
<div id=\"page\">
<div class=\"lm-blocks\"
data-lm-page=\"";
// line 105
echo twig_escape_filter($this->env,
($context["page_id"] ?? null), "html", null, true);
echo "\"
data-lm-preset=\"";
// line 106
echo twig_escape_filter($this->env,
twig_jsonencode_filter(($context["preset"] ?? null)),
"html_attr");
echo "\"
data-lm-root=\"";
// line 107
echo twig_escape_filter($this->env,
twig_jsonencode_filter(($context["layout"] ?? null)),
"html_attr");
echo "\"
>
</div>
";
// line 110
if (twig_test_empty(($context["layout"] ?? null))) {
// line 111
echo " <div
id=\"lm-no-layout\">
<div class=\"card full-width\">
<h4>";
// line 113
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_NO_LAYOUT"),
"html", null, true);
echo "</h4>
<div class=\"inner-params\">
";
// line 115
echo
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_NO_LAYOUT_DESC");
echo "
</div>
</div>
</div>
";
}
// line 120
echo "
<div class=\"g-footer-actions\">
<span class=\"float-right\">
<a href=\"#\" class=\"button\"
data-lm-switcher=\"";
// line 123
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => ($context["switcher_url"] ?? null)],
"method"), "html", null, true);
echo "\">
<i class=\"fa fa-fw fa-code-fork\"
aria-hidden=\"true\"></i> <span>";
// line 124
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_LOAD"),
"html", null, true);
echo "</span>
</a>
<div data-g-popover class=\"button\"
aria-haspopup=\"true\" aria-expanded=\"false\"
role=\"presentation\">
<span><i class=\"fa fa-fw fa-trash-o\"
aria-hidden=\"true\"></i> ";
// line 127
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_CLEAR"),
"html", null, true);
echo " <i class=\"fa fa-fw fa-chevron-down
small\" aria-hidden=\"true\"></i></span>
<ul data-popover-content class=\"hidden\"
tabindex=\"0\">
<li data-g-popover-follow>
<a tabindex=\"0\"
href=\"#\"
data-lm-clear=\"full\"
aria-label=\"";
// line 133
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_LM_CLEAR_LAYOUT"),
"html", null, true);
echo "\"
><i class=\"fa fa-fw fa-trash\"
aria-hidden=\"true\"></i> ";
// line 134
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_LM_CLEAR_FULL"),
"html", null, true);
echo "
</a>
</li>
<li data-g-popover-follow>
<a tabindex=\"0\"
href=\"#\"
data-lm-clear=\"keep-inheritance\"
aria-label=\"";
// line 141
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_LM_CLEAR_LAYOUT"),
"html", null, true);
echo "\"
><i class=\"fa fa-fw fa-trash-o\"
aria-hidden=\"true\"></i> ";
// line 142
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_LM_CLEAR_KEEP_INHERITANCE"),
"html", null, true);
echo "
</a>
</li>
</ul>
</div>
<a href=\"#\" class=\"button
button-primary button-save\" data-save=\"Layout\">
<i class=\"fa fa-fw fa-check\"
aria-hidden=\"true\"></i> <span>";
// line 148
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_SAVE_LAYOUT"),
"html", null, true);
echo "</span>
</a>
</span>
</div>
</div>
</div>
<div id=\"trash\"
data-lm-eraseblock=\"\"><div
class=\"trash-zone\">×</div><span>";
// line 155
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_DROP_DELETE"),
"html", null, true);
echo "</span></div>
</div>
";
}
}
public function getTemplateName()
{
return
"@gantry-admin/pages/configurations/layouts/edit.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 362 => 155, 352 => 148, 343 => 142, 339
=> 141, 329 => 134, 325 => 133, 316 => 127, 310 => 124,
306 => 123, 301 => 120, 293 => 115, 288 => 113, 284 =>
111, 282 => 110, 276 => 107, 272 => 106, 268 => 105, 259
=> 100, 255 => 98, 252 => 97, 243 => 92, 236 => 88, 231
=> 86, 219 => 77, 215 => 76, 205 => 69, 201 => 68, 192
=> 62, 186 => 59, 182 => 58, 178 => 57, 173 => 54, 166
=> 47, 159 => 45, 153 => 44, 142 => 41, 135 => 39, 131
=> 38, 128 => 37, 123 => 35, 119 => 33, 117 => 32, 113
=> 31, 109 => 30, 105 => 29, 100 => 28, 97 => 27, 92
=> 26, 88 => 25, 82 => 23, 78 => 22, 69 => 18, 62 =>
14, 56 => 10, 50 => 7, 46 => 6, 43 => 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/layouts/edit.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/pages/configurations/layouts/edit.html.twig");
}
}
39/39dd3e44275ce1162a6455fd1a2ba98536b20764cd375cb4e60c03468f0c32e4.php000064400000033136151171427070016151
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/partials/navigation.html.twig */
class
__TwigTemplate_035cec37cd759cd8f018450bd85727bbe074a9f622f71a21136a75bea12583c5
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
echo "<div class=\"g-grid\">
<div class=\"g-block navbar-block\">
<nav id=\"gantry\">
";
// line 4
$context["style"] =
((twig_in_filter(($context["location"] ?? null), [0 =>
"menu", 1 => "about", 2 =>
"configurations", 3 => "positions"])) ? ("
style=\"overflow: hidden; height: 0; visibility: hidden;\"")
: (""));
// line 5
echo " <section id=\"navbar\"";
echo ($context["style"] ?? null);
echo ">
<ul>
";
// line 7
$this->loadTemplate("partials/configuration-selector.html.twig",
"@gantry-admin/partials/navigation.html.twig",
7)->display($context);
// line 8
echo " <li ";
echo (((($context["location"] ?? null) ==
"configurations/styles")) ?
("class=\"active\"") : (""));
echo ">
<a data-g5-ajaxify=\"\"
data-g5-nav=\"styles\"
data-g5-ajaxify-target=\"[data-g5-content-wrapper]\"
data-g5-ajaxify-params=\"";
// line 12
echo twig_escape_filter($this->env,
twig_jsonencode_filter(["navbar" => true]),
"html_attr");
echo "\"
href=\"";
// line 13
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "configurations", 1 =>
((($context["configuration"] ?? null)) ?
(($context["configuration"] ?? null)) : ("default")), 2
=> "styles"], "method"), "html", null,
true);
echo "\"
>
<i class=\"fa fa-fw fa-adjust\"
aria-hidden=\"true\"></i> <span>";
// line 15
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_STYLES"),
"html", null, true);
echo "</span>
</a>
</li>
";
// line 18
if (((($context["configuration"] ?? null) &&
(($context["configuration"] ?? null) != "default")) ||
!$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "platform", []), "no_base_layout", []))) {
// line 19
echo " <li ";
echo (((($context["location"] ?? null) ==
"configurations/layout")) ?
("class=\"active\"") : (""));
echo ">
<a data-g5-ajaxify=\"\"
data-g5-nav=\"layout\"
data-g5-ajaxify-target=\"[data-g5-content-wrapper]\"
data-g5-ajaxify-params=\"";
// line 23
echo twig_escape_filter($this->env,
twig_jsonencode_filter(["navbar" => true]),
"html_attr");
echo "\"
href=\"";
// line 24
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "configurations", 1 =>
((($context["configuration"] ?? null)) ?
(($context["configuration"] ?? null)) : ("default")), 2
=> "layout"], "method"), "html", null,
true);
echo "\"
>
<i class=\"fa fa-fw
fa-columns\" aria-hidden=\"true\"></i>
<span>";
// line 26
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_LAYOUT"),
"html", null, true);
echo "</span>
</a>
</li>
";
}
// line 30
echo " <li ";
echo (((($context["location"] ?? null) ==
"configurations/page")) ?
("class=\"active\"") : (""));
echo ">
<a data-g5-ajaxify=\"\"
data-g5-nav=\"page\"
data-g5-ajaxify-target=\"[data-g5-content-wrapper]\"
data-g5-ajaxify-params=\"";
// line 34
echo twig_escape_filter($this->env,
twig_jsonencode_filter(["navbar" => true]),
"html_attr");
echo "\"
href=\"";
// line 35
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "configurations", 1 =>
((($context["configuration"] ?? null)) ?
(($context["configuration"] ?? null)) : ("default")), 2
=> "page"], "method"), "html", null,
true);
echo "\"
>
<i class=\"fa fa-fw fa-list-alt\"
aria-hidden=\"true\"></i> <span>";
// line 37
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_PAGESETTINGS"),
"html", null, true);
echo "</span>
</a>
</li>
";
// line 40
if ((((($context["configuration"] ?? null) &&
(($context["configuration"] ?? null) != "default"))
&&
!(is_string($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4
= ($context["configuration"] ?? null)) &&
is_string($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144
= "_") && ('' ===
$__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144
|| 0 ===
strpos($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4,
$__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144))))
&&
((($this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "global", [], "any", false, true),
"use_assignments", [], "array", true, true) &&
!(null ===
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "global", [], "any", false, true),
"use_assignments", [], "array")))) ?
($this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "global", [], "any", false, true),
"use_assignments", [], "array")) : (true)))) {
// line 41
echo " <li ";
echo (((($context["location"] ?? null) ==
"configurations/assignments")) ?
("class=\"active\"") : (""));
echo ">
<a data-g5-ajaxify=\"\"
data-g5-nav=\"assignments\"
data-g5-ajaxify-target=\"[data-g5-content-wrapper]\"
data-g5-ajaxify-params=\"";
// line 45
echo twig_escape_filter($this->env,
twig_jsonencode_filter(["navbar" => true]),
"html_attr");
echo "\"
href=\"";
// line 46
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "configurations", 1 =>
((($context["configuration"] ?? null)) ?
(($context["configuration"] ?? null)) : ("default")), 2
=> "assignments"], "method"), "html",
null, true);
echo "\"
>
<i class=\"fa fa-fw
fa-check-square-o\" aria-hidden=\"true\"></i>
<span>";
// line 48
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_ASSIGNMENTS"),
"html", null, true);
echo "</span>
</a>
</li>
";
}
// line 52
echo " ";
if (((($context["location"] ?? null) ==
"configurations/settings") ||
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "particles", []), "overrides", [0 =>
($context["configuration"] ?? null)], "method"))) {
// line 53
echo " <li ";
echo (((($context["location"] ?? null) ==
"configurations/settings")) ?
("class=\"active\"") : (""));
echo ">
<a data-g5-ajaxify=\"\"
data-g5-nav=\"settings\"
data-g5-ajaxify-target=\"[data-g5-content-wrapper]\"
data-g5-ajaxify-params=\"";
// line 57
echo twig_escape_filter($this->env,
twig_jsonencode_filter(["navbar" => true]),
"html_attr");
echo "\"
href=\"";
// line 58
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "configurations", 1 =>
((($context["configuration"] ?? null)) ?
(($context["configuration"] ?? null)) : ("default")), 2
=> "settings"], "method"), "html", null,
true);
echo "\"
>
<i class=\"fa fa-fw
fa-wrench\" aria-hidden=\"true\"></i>
<span>";
// line 60
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_PARTICLE_DEFAULTS"),
"html", null, true);
echo "</span>
</a>
</li>
";
}
// line 64
echo " </ul>
<a href=\"";
// line 65
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "themes"], "method"),
"html", null, true);
echo "\" aria-hidden=\"true\"
tabindex=\"-1\">
<svg version=\"1.1\"
id=\"gantry-logo\" xmlns=\"http://www.w3.org/2000/svg\"
xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\"
y=\"0px\" width=\"81px\" height=\"28.239px\"
viewBox=\"0 0 81 28.239\" style=\"enable-background:new 0 0
81 28.239;\" xml:space=\"preserve\">
<g>
<path style=\"fill:#a0a0a0;\"
d=\"M8.101,26.332c2.639-0.358,4.636-2.603,4.672-5.311l0.008-1.451l-1.184,0.847
c-1.255,0.903-2.734,1.38-4.27,1.38C3.288,21.797,0,18.511,0,14.471c0-4.039,3.286-7.325,7.325-7.325
c1.633,0,3.182,0.483,4.481,1.491l0.198,0.104h2.694V20.95c0,3.792-2.969,6.92-6.597,7.289V26.332z
M7.325,9.039
c-2.995,0-5.432,2.437-5.432,5.432c0,2.996,2.437,5.433,5.432,5.433s5.432-2.437,5.432-5.433
C12.757,11.476,10.32,9.039,7.325,9.039
M74.403,26.332c2.639-0.358,4.683-2.603,4.719-5.311l0.032-1.451l-1.172,0.847
c-1.256,0.903-2.725,1.38-4.26,1.38c-3.914,0-7.07-3.024-7.235-6.938V14.37V8.741H68.3v6.418c0.275,2.577,2.682,4.768,5.413,4.768
c2.692,0,5.331-2.28,5.467-4.589h0.005V8.741H81v12.507l-0.014,0.395c-0.169,1.807-1.016,3.48-2.359,4.711
c-1.171,1.073-2.575,1.728-4.224,1.885V26.332z
M24.114,21.797c-4.039,0-7.325-3.286-7.325-7.326c0-4.039,3.286-7.325,7.325-7.325
c4.037,0,7.404,3.282,7.407,7.319v0.014c-0.002,0.033,0,0.838,0,0.838v4.641h-2.683l-0.199,0.212
C27.333,21.198,25.768,21.797,24.114,21.797
M24.114,9.039c-2.996,0-5.433,2.437-5.433,5.432c0,2.996,2.437,5.433,5.433,5.433
s5.432-2.437,5.432-5.433C29.546,11.476,27.109,9.039,24.114,9.039
M57.415,19.957V8.741h2.732l0.167-0.111
c1.099-0.846,2.379-1.313,3.698-1.448v1.906c-2.474,0.332-4.319,2.328-4.598,4.799l-0.015,0.228l-0.005,0.473v5.37H57.415z
M51.808,19.957V7.422h-2.309V5.443h2.309V0h1.979v5.443h2.144v1.979h-2.144v12.535H51.808z
M46.695,19.957v-6.103
c-0.16-2.616-2.559-4.816-5.347-4.816c-2.787,0-5.539,2.518-5.539,4.828v0.836v0.74v4.515h-1.814V8.576h2.868l0.192-0.085
c1.261-0.915,2.746-1.372,4.292-1.372c4.037,0,7.32,3.294,7.326,7.329l0.002,0.016c-0.003,0.038-0.002,0.083-0.002,0.124v0.768
v4.602H46.695z\"/>
</g>
</svg>
</a>
</section>
</nav>
</div>
</div>
";
}
public function getTemplateName()
{
return "@gantry-admin/partials/navigation.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 173 => 65, 170 => 64, 163 => 60, 158
=> 58, 154 => 57, 146 => 53, 143 => 52, 136 => 48, 131
=> 46, 127 => 45, 119 => 41, 117 => 40, 111 => 37, 106
=> 35, 102 => 34, 94 => 30, 87 => 26, 82 => 24, 78
=> 23, 70 => 19, 68 => 18, 62 => 15, 57 => 13, 53 =>
12, 45 => 8, 43 => 7, 37 => 5, 35 => 4, 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("",
"@gantry-admin/partials/navigation.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/partials/navigation.html.twig");
}
}
67/670f1994cce00c44806003d2fea9932f7a61746e5b4a5678d5b152f4144f6147.php000064400000015221151171427070015747
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;
/* partials/configuration-selector.html.twig */
class
__TwigTemplate_1df7dc6706cd51382c0ecc5a965843be2817a4c8c31117d50d23109c2dc24dc8
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
echo "<li class=\"config-select-wrap\">
";
// line 2
$context["selected_title"] =
(((($context["configuration"] ?? null) == "default")) ?
($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_BASE_OUTLINE"))
: (""));
// line 3
echo " ";
$context["selected_value"] =
(((($context["configuration"] ?? null) == "default")) ?
("default") : (""));
// line 4
echo " ";
$context["selected_editable"] = true;
// line 5
echo " <select id=\"configuration-selector\"
class=\"config-select\" data-selectize-ajaxify
data-selectize=\"";
echo twig_escape_filter($this->env,
twig_jsonencode_filter(["allowEmptyOption" => true]),
"html_attr");
echo "\">
";
// line 6
$this->loadTemplate("partials/outlines-list.html.twig",
"partials/configuration-selector.html.twig",
6)->display($context);
// line 7
echo " </select>
";
// line 9
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable($this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "outlines", []), "user", []));
foreach ($context['_seq'] as $context["name"]
=> $context["title"]) {
// line 10
echo " ";
if (($context["name"] ==
($context["configuration"] ?? null))) {
// line 11
echo " ";
$context["selected_title"] =
$context["title"];
// line 12
echo " ";
$context["selected_value"] =
$context["name"];
// line 13
echo " ";
}
// line 14
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'],
$context['name'], $context['title'],
$context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 15
echo " ";
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable($this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "outlines", []), "system", []));
foreach ($context['_seq'] as $context["name"]
=> $context["title"]) {
// line 16
echo " ";
if (($context["name"] ==
($context["configuration"] ?? null))) {
// line 17
echo " ";
$context["selected_title"] =
$context["title"];
// line 18
echo " ";
$context["selected_value"] =
$context["name"];
// line 19
echo " ";
$context["selected_editable"] = false;
// line 20
echo " ";
}
// line 21
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'],
$context['name'], $context['title'],
$context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 22
echo "
";
// line 23
if (((($context["selected_editable"] ?? null) &&
$this->getAttribute(($context["gantry"] ?? null),
"authorize", [0 => "outline.rename"],
"method")) && (($context["configuration"] ??
null) != "default"))) {
// line 24
echo " <span data-title-editable=\"";
echo twig_escape_filter($this->env,
($context["selected_title"] ?? null), "html", null,
true);
echo "\"
data-g-config-href=\"";
// line 25
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "configurations", 1 =>
($context["selected_value"] ?? null), 2 =>
"rename"], "method"), "html", null, true);
echo "\"
class=\"title g-conf-title-edit\"
>
";
// line 28
echo twig_escape_filter($this->env,
($context["selected_title"] ?? null), "html", null,
true);
echo "
</span>
<i class=\"fa fa-pencil font-small\"
aria-hidden=\"true\"
tabindex=\"0\"
aria-label=\"";
// line 33
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_EDIT_TITLE",
($context["selected_title"] ?? null)), "html", null,
true);
echo "\"
data-title-editable=\"";
// line 34
echo twig_escape_filter($this->env,
($context["selected_title"] ?? null), "html", null,
true);
echo "\"
data-title-edit=\"\"></i>
";
}
// line 37
echo "</li>
";
}
public function getTemplateName()
{
return "partials/configuration-selector.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 134 => 37, 128 => 34, 124 => 33, 116
=> 28, 110 => 25, 105 => 24, 103 => 23, 100 => 22, 94
=> 21, 91 => 20, 88 => 19, 85 => 18, 82 => 17, 79 =>
16, 74 => 15, 68 => 14, 65 => 13, 62 => 12, 59 => 11,
56 => 10, 52 => 9, 48 => 7, 46 => 6, 41 => 5, 38 =>
4, 35 => 3, 33 => 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("",
"partials/configuration-selector.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/partials/configuration-selector.html.twig");
}
}
57/5768d3648a8e2f99905fdb265356489fa6d62cc2086be874db35114e943ee3d3.php000064400000021303151171427070016146
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;
/* partials/outlines-list.html.twig */
class
__TwigTemplate_8e41dbccbbe36d7addd38d8586cfcdd46a986cec576f3435703f4d6ca8376351
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
echo "<optgroup label=\"";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_GLOBAL_DEFAULTS"),
"html", null, true);
echo "\">
<option value=\"default\"
";
// line 3
if ((($context["configuration"] ?? null) ==
"default")) {
echo "selected=\"selected\"";
}
// line 4
echo " data-data=\"";
echo twig_escape_filter($this->env,
twig_jsonencode_filter(["params" => ["navbar" =>
true], "url" =>
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "configurations/default", 1 =>
(((isset($context["configuration_page"]) ||
array_key_exists("configuration_page", $context))) ?
(_twig_default_filter(($context["configuration_page"] ?? null),
"styles")) : ("styles"))], "method")]),
"html_attr");
echo "\">
";
// line 5
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_BASE_OUTLINE"),
"html", null, true);
echo "
</option>
</optgroup>
";
// line 9
$context["user_conf"] =
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "outlines", []), "user", []);
// line 10
if ($this->getAttribute(($context["user_conf"] ??
null), "count", [])) {
// line 11
echo " <optgroup label=\"";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_THEME_OUTLINES"),
"html", null, true);
echo "\">
";
// line 12
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable(($context["user_conf"] ?? null));
foreach ($context['_seq'] as
$context["name"] => $context["title"]) {
// line 13
echo " ";
if (($context["name"] ==
($context["configuration"] ?? null))) {
// line 14
echo " ";
$context["selected_title"] =
$context["title"];
// line 15
echo " ";
$context["selected_value"] =
$context["name"];
// line 16
echo " ";
}
// line 17
echo " <option value=\"";
echo twig_escape_filter($this->env,
$context["name"], "html", null, true);
echo "\"
";
// line 18
if (($context["name"] ==
($context["configuration"] ?? null))) {
echo "selected=\"selected\"";
}
// line 19
echo " data-data=\"";
echo twig_escape_filter($this->env,
twig_jsonencode_filter(["params" => ["navbar" =>
true], "url" =>
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "configurations", 1 =>
twig_escape_filter($this->env, $context["name"]), 2 =>
(((isset($context["configuration_page"]) ||
array_key_exists("configuration_page", $context))) ?
(_twig_default_filter(($context["configuration_page"] ?? null),
"styles")) : ("styles"))], "method")]),
"html_attr");
echo "\"
>
";
// line 21
echo twig_escape_filter($this->env,
$context["title"], "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'],
$context['_iterated'], $context['name'],
$context['title'], $context['_parent'],
$context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 24
echo " </optgroup>
";
}
// line 26
echo "
";
// line 27
$context["system_conf"] =
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "outlines", []), "system", []);
// line 28
if ($this->getAttribute(($context["system_conf"] ??
null), "count", [])) {
// line 29
echo " <optgroup label=\"";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_SYSTEM_OUTLINES"),
"html", null, true);
echo "\">
";
// line 30
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable(($context["system_conf"] ?? null));
foreach ($context['_seq'] as
$context["name"] => $context["title"]) {
// line 31
echo " ";
if (($context["name"] ==
($context["configuration"] ?? null))) {
// line 32
echo " ";
$context["selected_title"] =
$context["title"];
// line 33
echo " ";
$context["selected_value"] =
$context["name"];
// line 34
echo " ";
$context["selected_editable"] = false;
// line 35
echo " ";
}
// line 36
echo " <option value=\"";
echo twig_escape_filter($this->env,
$context["name"], "html", null, true);
echo "\"
";
// line 37
if (($context["name"] ==
($context["configuration"] ?? null))) {
echo "selected=\"selected\"";
}
// line 38
echo " data-data=\"";
echo twig_escape_filter($this->env,
twig_jsonencode_filter(["params" => ["navbar" =>
true], "url" =>
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "configurations", 1 =>
twig_escape_filter($this->env, $context["name"]), 2 =>
(((isset($context["configuration_page"]) ||
array_key_exists("configuration_page", $context))) ?
(_twig_default_filter(($context["configuration_page"] ?? null),
"styles")) : ("styles"))], "method")]),
"html_attr");
echo "\"
>
";
// line 40
echo twig_escape_filter($this->env,
$context["title"], "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'],
$context['_iterated'], $context['name'],
$context['title'], $context['_parent'],
$context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 43
echo " </optgroup>
";
}
}
public function getTemplateName()
{
return "partials/outlines-list.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 160 => 43, 151 => 40, 145 => 38, 141
=> 37, 136 => 36, 133 => 35, 130 => 34, 127 => 33, 124
=> 32, 121 => 31, 117 => 30, 112 => 29, 110 => 28, 108
=> 27, 105 => 26, 101 => 24, 92 => 21, 86 => 19, 82
=> 18, 77 => 17, 74 => 16, 71 => 15, 68 => 14, 65 =>
13, 61 => 12, 56 => 11, 54 => 10, 52 => 9, 45 => 5, 40
=> 4, 36 => 3, 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("",
"partials/outlines-list.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/partials/outlines-list.html.twig");
}
}
1b/1b6d4a222b412da4d73191fe6e55668ff9f370cc6ec2f9f48768b4517251cb11.php000064400000017612151171427100016316
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;
/* forms/fields.html.twig */
class
__TwigTemplate_034adb6c312a5d5c9151ae2dd9fc1a0a8c9a2ad65e51df2b0b355f84f41f9b1d
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["scope"] = (($context["scope"]) ??
(($context["prefix"] ?? null)));
// line 2
echo "
";
// line 3
if ($this->getAttribute(($context["blueprints"] ??
null), "type", [])) {
// line 4
echo " ";
$context["field"] = ($context["blueprints"]
?? null);
// line 5
echo " ";
$context["current_value"] =
($context["data"] ?? null);
// line 6
echo " ";
$context["default_value"] =
($context["defaults"] ?? null);
// line 7
echo "
";
// line 8
$this->loadTemplate([0 => (("forms/fields/" .
twig_replace_filter($this->getAttribute(($context["field"] ??
null), "type", []), ["." => "/"])) .
".html.twig"), 1 =>
"forms/fields/unknown/unknown.html.twig"],
"forms/fields.html.twig", 8)->display($context);
// line 9
echo "
";
} else {
// line 11
echo "
";
// line 12
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable($this->getAttribute(($context["blueprints"]
?? null), "fields", []));
$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["name"] => $context["field"]) {
// line 13
echo " ";
if
((is_string($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4
= $context["name"]) &&
is_string($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144
= ".") && ('' ===
$__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144
|| 0 ===
strpos($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4,
$__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144))))
{
// line 14
echo " ";
$context["name"] = twig_slice($this->env,
$context["name"], 1, null);
// line 15
echo " ";
}
// line 16
echo "
";
// line 17
$context["container"] =
($this->getAttribute($context["field"], "type", [])
== "container.tabs");
// line 18
echo " ";
$context["current_value"] =
((($context["container"] ?? null)) ?
($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->nestedFunc(($context["data"]
?? null), twig_trim_filter(($context["scope"] ?? null),
"."))) :
($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->nestedFunc(($context["data"]
?? null), (($context["scope"] ?? null) .
$context["name"]))));
// line 19
echo " ";
$context["default_value"] =
((($context["container"] ?? null)) ?
($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->nestedFunc(($context["defaults"]
?? null), twig_trim_filter(($context["scope"] ?? null),
"."))) :
($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->nestedFunc(($context["defaults"]
?? null), (($context["scope"] ?? null) .
$context["name"]))));
// line 20
echo " ";
$context["has_value"] = !(null ===
($context["current_value"] ?? null));
// line 21
echo " ";
$context["field_overrideable"] =
(($this->getAttribute($context["field"],
"overridable", [], "any", true, true)) ?
($this->getAttribute($context["field"],
"overridable", [])) :
((($this->getAttribute($context["field"],
"overrideable", [], "any", true, true)) ?
($this->getAttribute($context["field"],
"overrideable", [])) : (true))));
// line 22
echo "
";
// line 23
if ((((($this->getAttribute($context["field"],
"type", []) &&
!twig_in_filter($context["name"], ($context["skip"] ??
null))) && !$this->getAttribute($context["field"],
"skip", [])) &&
!((($context["ignore_not_overrideable"] ?? null) &&
!($context["field_overrideable"] ?? null)) &&
!($context["has_value"] ?? null))) && !(
!($context["has_value"] ?? null) &&
($context["not_global_overrideable"] ?? null)))) {
// line 24
echo " ";
$context["field"] =
($context["field"] + ["name" =>
$context["name"]]);
// line 25
echo "
";
// line 26
$this->loadTemplate([0 =>
(("forms/fields/" .
twig_replace_filter($this->getAttribute($context["field"],
"type", []), ["." => "/"])) .
".html.twig"), 1 =>
"forms/fields/unknown/unknown.html.twig"],
"forms/fields.html.twig", 26)->display($context);
// line 27
echo " ";
}
// line 28
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['name'],
$context['field'], $context['_parent'],
$context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
}
public function getTemplateName()
{
return "forms/fields.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 117 => 28, 114 => 27, 112 => 26, 109
=> 25, 106 => 24, 104 => 23, 101 => 22, 98 => 21, 95
=> 20, 92 => 19, 89 => 18, 87 => 17, 84 => 16, 81 =>
15, 78 => 14, 75 => 13, 58 => 12, 55 => 11, 51 => 9,
49 => 8, 46 => 7, 43 => 6, 40 => 5, 37 => 4, 35 =>
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("", "forms/fields.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/forms/fields.html.twig");
}
}
a8/a80061a7aadc5d0887efbf013e00058adfe0547c8e1cd0aff21380b07555ef2e.php000064400000012532151171427100016635
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;
/* forms/fields/input/colorpicker.html.twig */
class
__TwigTemplate_f0cd5224ec305a46cc45f8a17ea49dc6ffe87945bf25bafb539d2050daf25d57
extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'input' => [$this, 'block_input'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "forms/fields/input/group/group.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent =
$this->loadTemplate("forms/fields/input/group/group.html.twig",
"forms/fields/input/colorpicker.html.twig", 1);
$this->parent->display($context,
array_merge($this->blocks, $blocks));
}
// line 3
public function block_input($context, array $blocks = [])
{
// line 4
echo " ";
$context["field"] =
twig_array_merge(($context["field"] ?? null), ["style"
=> ("background-color: " . ($context["value"] ??
null)), "pattern" =>
"^#([a-fA-F0-9]{6})|(rgba\\(\\s*(0|[1-9]\\d?|1\\d\\d?|2[0-4]\\d|25[0-5])\\s*,\\s*(0|[1-9]\\d?|1\\d\\d?|2[0-4]\\d|25[0-5])\\s*,\\s*(0|[1-9]\\d?|1\\d\\d?|2[0-4]\\d|25[0-5])\\s*,\\s*((0.[0-9]+)|[01])\\s*\\))\$"]);
// line 5
echo " <div class=\"g-colorpicker ";
(($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->colorContrastFunc(twig_lower_filter($this->env,
($context["value"] ?? null)))) ? (print
(twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->colorContrastFunc(twig_lower_filter($this->env,
($context["value"] ?? null))), "html", null, true))) :
(print ("light-text")));
echo "\">
<input
";
// line 8
echo " type=\"text\"
name=\"";
// line 9
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->fieldNameFilter((($context["scope"]
?? null) . ($context["name"] ?? null))), "html", null,
true);
echo "\"
value=\"";
// line 10
echo twig_escape_filter($this->env,
twig_lower_filter($this->env,
twig_join_filter(($context["value"] ?? null), ", ")),
"html", null, true);
echo "\"
";
// line 12
echo " ";
$this->displayBlock("global_attributes", $context,
$blocks);
echo "
";
// line 14
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "autocomplete", []), [0 => "on", 1 =>
"off"])) {
echo "autocomplete=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"autocomplete", []), "html", null, true);
echo "\"";
}
// line 15
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "autofocus", []), [0 => "on", 1 =>
"true", 2 => 1])) {
echo "autofocus=\"autofocus\"";
}
// line 16
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"pattern", [], "any", true, true)) {
echo "pattern=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"pattern", []), "html", null, true);
echo "\"";
}
// line 17
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "disabled", []), [0 => "on", 1 =>
"true", 2 => 1])) {
echo "disabled=\"disabled\"";
}
// line 18
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"list", [], "any", true, true)) {
echo "list=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"list", []), "html", null, true);
echo "\"";
}
// line 19
echo " />
<i class=\"fa fa-tint\"
aria-hidden=\"true\"></i>
</div>
";
}
public function getTemplateName()
{
return "forms/fields/input/colorpicker.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 98 => 19, 91 => 18, 86 => 17, 79 =>
16, 74 => 15, 67 => 14, 62 => 12, 58 => 10, 54 => 9,
51 => 8, 45 => 5, 42 => 4, 39 => 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("",
"forms/fields/input/colorpicker.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/forms/fields/input/colorpicker.html.twig");
}
}
6d/6d0fc5e43da153321f689e6bd8d44304b6f942d6fc47603e5aeb6e8fcfa98ab0.php000064400000014771151171427100016714
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;
/* forms/fields/input/group/group.html.twig */
class
__TwigTemplate_af1f07a065266845d8166eb9301a6cc8851d79db2f2c2f8a6ba2f37653df1462
extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'group' => [$this, 'block_group'],
'input' => [$this, 'block_input'],
'reset_field' => [$this,
'block_reset_field'],
];
}
protected function doGetParent(array $context)
{
// line 1
return $this->loadTemplate(((($context["default"] ??
null)) ? ("partials/field.html.twig") : ((("forms/" .
(((isset($context["layout"]) ||
array_key_exists("layout", $context))) ?
(_twig_default_filter(($context["layout"] ?? null),
"field")) : ("field"))) . ".html.twig"))),
"forms/fields/input/group/group.html.twig", 1);
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 18
$context["macro"] = $this;
// line 1
$this->getParent($context)->display($context,
array_merge($this->blocks, $blocks));
}
// line 20
public function block_group($context, array $blocks = [])
{
// line 21
echo " <div class=\"input-group
";
// line 22
if ($this->getAttribute(($context["field"] ?? null),
"prepend", [])) {
echo "prepend
";
}
// line 24
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"append", [])) {
echo "append
";
}
// line 26
echo " \">
";
// line 29
if ($this->getAttribute(($context["field"] ?? null),
"prepend", [])) {
// line 30
echo " ";
echo
$context["macro"]->getpend($this->getAttribute(($context["field"]
?? null), "prepend", []));
echo "
";
}
// line 32
echo " ";
$this->displayBlock('input', $context, $blocks);
// line 34
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"append", [])) {
// line 35
echo " ";
echo
$context["macro"]->getpend($this->getAttribute(($context["field"]
?? null), "append", []));
echo "
";
}
// line 37
echo " ";
$this->displayBlock('reset_field', $context, $blocks);
// line 38
echo " </div>
";
}
// line 32
public function block_input($context, array $blocks = [])
{
// line 33
echo " ";
}
// line 37
public function block_reset_field($context, array $blocks = [])
{
$this->displayParentBlock("reset_field", $context,
$blocks);
}
// line 3
public function getpend($__item__ = null, ...$__varargs__)
{
$context = $this->env->mergeGlobals([
"item" => $__item__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start(function () { return ''; });
try {
// line 4
echo " ";
if (($this->getAttribute(($context["item"] ??
null), "type", []) == "text")) {
// line 5
echo " <span
class=\"input-group-addon\">";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["item"] ?? null),
"text", []));
echo "</span>
";
} elseif (($this->getAttribute( // line 6
($context["item"] ?? null), "type", []) ==
"list")) {
// line 7
echo " ";
if ($this->getAttribute(($context["item"] ??
null), "options", [])) {
// line 8
echo " ";
$this->loadTemplate("forms/fields/select/selectize.html.twig",
"forms/fields/input/group/group.html.twig",
8)->display(twig_array_merge($context, ["field.options" =>
$this->getAttribute(($context["item"] ?? null),
"options", [])]));
// line 9
echo " ";
}
// line 10
echo " ";
} elseif (($this->getAttribute(($context["item"]
?? null), "type", []) == "button")) {
// line 11
echo " <span
class=\"input-group-btn\">
";
// line 12
$this->loadTemplate("forms/fields/button",
"forms/fields/input/group/group.html.twig",
12)->display($context);
// line 13
echo " </span>
";
} elseif (($this->getAttribute( // line 14
($context["item"] ?? null), "type", []) ==
"actions")) {
// line 15
echo " ";
}
} catch (\Exception $e) {
ob_end_clean();
throw $e;
} catch (\Throwable $e) {
ob_end_clean();
throw $e;
}
return ('' === $tmp = ob_get_clean()) ? '' :
new Markup($tmp, $this->env->getCharset());
}
public function getTemplateName()
{
return "forms/fields/input/group/group.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 150 => 15, 148 => 14, 145 => 13, 143
=> 12, 140 => 11, 137 => 10, 134 => 9, 131 => 8, 128
=> 7, 126 => 6, 121 => 5, 118 => 4, 106 => 3, 100 =>
37, 96 => 33, 93 => 32, 88 => 38, 85 => 37, 79 => 35,
76 => 34, 73 => 32, 67 => 30, 65 => 29, 60 => 26, 54
=> 24, 49 => 22, 46 => 21, 43 => 20, 39 => 1, 37 =>
18, 31 => 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("",
"forms/fields/input/group/group.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/forms/fields/input/group/group.html.twig");
}
}
41/419abc9420fe61e19413fcb479333f810c8308631b3459c32d3c218627780002.php000064400000035161151171427100015474
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;
/* forms/field.html.twig */
class
__TwigTemplate_906113b8a129efba3dbe3f1e6e7d40249f91821dbce25f7ab24d3afc95d715e6
extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'stylesheets' => [$this,
'block_stylesheets'],
'javascript' => [$this,
'block_javascript'],
'javascript_footer' => [$this,
'block_javascript_footer'],
'field' => [$this, 'block_field'],
'overridable' => [$this,
'block_overridable'],
'contents' => [$this, 'block_contents'],
'label' => [$this, 'block_label'],
'group' => [$this, 'block_group'],
'input' => [$this, 'block_input'],
'global_attributes' => [$this,
'block_global_attributes'],
'reset_field' => [$this,
'block_reset_field'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
$assetFunction =
$this->env->getFunction('parse_assets')->getCallable();
$assetVariables = [];
if ($assetVariables && !is_array($assetVariables)) {
throw new UnexpectedValueException('{% scripts with x %}:
x is not an array');
}
$location = "head";
if ($location && !is_string($location)) {
throw new UnexpectedValueException('{% scripts in x %}: x
is not a string');
}
$priority = isset($assetVariables['priority']) ?
$assetVariables['priority'] : 0;
ob_start();
// line 2
echo " ";
$this->displayBlock('stylesheets', $context, $blocks);
// line 4
echo "
";
// line 5
$this->displayBlock('javascript', $context, $blocks);
$content = ob_get_clean();
$assetFunction($content, $location, $priority);
// line 9
$assetFunction =
$this->env->getFunction('parse_assets')->getCallable();
$assetVariables = [];
if ($assetVariables && !is_array($assetVariables)) {
throw new UnexpectedValueException('{% scripts with x %}:
x is not an array');
}
$location = "footer";
if ($location && !is_string($location)) {
throw new UnexpectedValueException('{% scripts in x %}: x
is not a string');
}
$priority = isset($assetVariables['priority']) ?
$assetVariables['priority'] : 0;
ob_start();
// line 10
echo " ";
$this->displayBlock('javascript_footer', $context,
$blocks);
$content = ob_get_clean();
$assetFunction($content, $location, $priority);
// line 14
$context["name"] = (($context["name"]) ??
($this->getAttribute(($context["field"] ?? null),
"name", [])));
// line 15
$context["default_value"] =
(($context["default_value"]) ??
($this->getAttribute(($context["field"] ?? null),
"default", [])));
// line 16
$context["current_value"] =
(($context["current_value"]) ?? (($context["value"] ??
null)));
// line 17
$context["has_value"] = !(null ===
($context["current_value"] ?? null));
// line 18
$context["value"] = ((($context["has_value"] ??
null)) ? (($context["current_value"] ?? null)) :
(($context["default_value"] ?? null)));
// line 20
$this->displayBlock('field', $context, $blocks);
}
// line 2
public function block_stylesheets($context, array $blocks = [])
{
// line 3
echo " ";
}
// line 5
public function block_javascript($context, array $blocks = [])
{
// line 6
echo " ";
}
// line 10
public function block_javascript_footer($context, array $blocks = [])
{
// line 11
echo " ";
}
// line 20
public function block_field($context, array $blocks = [])
{
// line 21
if (( !$this->getAttribute(($context["field"] ??
null), "isset", []) || !(null === ($context["value"]
?? null)))) {
// line 22
echo " <div class=\"settings-param ";
echo twig_escape_filter($this->env,
twig_replace_filter($this->getAttribute(($context["field"] ??
null), "type", []), ["." => "-"]),
"html", null, true);
echo "\">
";
// line 23
$this->displayBlock('overridable', $context,
$blocks);
// line 29
echo " ";
$this->displayBlock('contents', $context,
$blocks);
// line 70
echo " </div>
";
}
}
// line 23
public function block_overridable($context, array $blocks = [])
{
// line 24
echo " ";
$context["field_overridable"] =
((($this->getAttribute(($context["field"] ?? null),
"overridable", [], "any", true, true) &&
!(null === $this->getAttribute(($context["field"] ?? null),
"overridable", [])))) ?
($this->getAttribute(($context["field"] ?? null),
"overridable", [])) :
(((($this->getAttribute(($context["field"] ?? null),
"overrideable", [], "any", true, true) &&
!(null === $this->getAttribute(($context["field"] ?? null),
"overrideable", [])))) ?
($this->getAttribute(($context["field"] ?? null),
"overrideable", [])) : (true))));
// line 25
echo " ";
if ((($context["overrideable"] ?? null) &&
(($context["field_overridable"] ?? null) ||
($context["has_value"] ?? null)))) {
// line 26
echo " ";
$this->loadTemplate("forms/override.html.twig",
"forms/field.html.twig",
26)->display(twig_array_merge($context, ["scope" =>
($context["scope"] ?? null), "name" =>
($context["name"] ?? null), "field" =>
($context["field"] ?? null)]));
// line 27
echo " ";
}
// line 28
echo " ";
}
// line 29
public function block_contents($context, array $blocks = [])
{
// line 30
echo " <span class=\"settings-param-title
float-left\">
";
// line 31
$this->displayBlock('label', $context, $blocks);
// line 42
echo " </span>
<div class=\"settings-param-field\">
";
// line 44
$this->displayBlock('group', $context, $blocks);
// line 68
echo " </div>
";
}
// line 31
public function block_label($context, array $blocks = [])
{
// line 32
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"description", [])) {
// line 33
echo " ";
$context["description"] =
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transKeyFilter($this->getAttribute(($context["field"]
?? null), "description", []), "GANTRY5_FORM_FIELD",
($context["scope"] ?? null), ($context["name"] ??
null), "DESC");
// line 34
echo " <span
data-tip=\"";
echo ($context["description"] ?? null);
echo "\" data-tip-place=\"top-right\"
aria-label=\"";
echo twig_escape_filter($this->env,
($context["description"] ?? null), "html", null, true);
echo "\" data-title=\"";
echo twig_escape_filter($this->env,
($context["description"] ?? null), "html", null, true);
echo "\">
";
// line 35
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transKeyFilter($this->getAttribute(($context["field"]
?? null), "label", []), "GANTRY5_FORM_FIELD",
($context["scope"] ?? null), ($context["name"] ??
null), "LABEL"), "html", null, true);
echo "
</span>
";
} else {
// line 38
echo " ";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transKeyFilter($this->getAttribute(($context["field"]
?? null), "label", []), "GANTRY5_FORM_FIELD",
($context["scope"] ?? null), ($context["name"] ??
null), "LABEL"), "html", null, true);
echo "
";
}
// line 40
echo " ";
echo
((twig_in_filter($this->getAttribute($this->getAttribute(($context["field"]
?? null), "validate", []), "required", []), [0 =>
"on", 1 => "true", 2 => 1])) ? ("<span
class=\"required\">*</span>") : (""));
echo "
";
}
// line 44
public function block_group($context, array $blocks = [])
{
// line 45
echo " ";
$this->displayBlock('input', $context, $blocks);
// line 67
echo " ";
}
// line 45
public function block_input($context, array $blocks = [])
{
// line 46
echo " <input
";
// line 48
echo " name=\"";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->fieldNameFilter((($context["scope"]
?? null) . ($context["name"] ?? null))), "html", null,
true);
echo "\"
value=\"";
// line 49
echo twig_escape_filter($this->env,
twig_join_filter(($context["value"] ?? null), ", "),
"html", null, true);
echo "\"
";
// line 51
echo " ";
$this->displayBlock('global_attributes', $context,
$blocks);
// line 59
echo " />
";
// line 61
$this->displayBlock('reset_field', $context, $blocks);
// line 66
echo " ";
}
// line 51
public function block_global_attributes($context, array $blocks = [])
{
// line 52
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"class", [], "any", true, true)) {
echo " class=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"class", []), "html", null, true);
echo "\" ";
}
// line 53
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"id", [], "any", true, true)) {
echo " id=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"id", []), "html", null, true);
echo "\" ";
}
// line 54
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"style", [], "any", true, true)) {
echo " style=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"style", []), "html", null, true);
echo "\" ";
}
// line 55
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"title", [], "any", true, true)) {
echo " title=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"title", []), "html", null, true);
echo "\" ";
}
// line 56
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"override_target", [], "any", true, true)) {
echo " data-override-target=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"override_target", []), "html_attr");
echo "\" ";
}
// line 57
echo "
aria-label=\"";
echo twig_escape_filter($this->env,
twig_trim_filter(twig_title_string_filter($this->env,
twig_replace_filter((($context["scope"] ?? null) .
($context["name"] ?? null)), ["." => "
"]))), "html", null, true);
echo "\"
";
}
// line 61
public function block_reset_field($context, array $blocks = [])
{
// line 62
if (( !$this->getAttribute(($context["field"] ??
null), "reset_field", [], "any", true, true) ||
twig_in_filter($this->getAttribute(($context["field"] ??
null), "reset_field", []), [0 => "on", 1 =>
"true", 2 => 1]))) {
// line 63
echo " <span
class=\"g-reset-field\" data-g-reset-field=\"";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->fieldNameFilter((($context["scope"]
?? null) . ($context["name"] ?? null))), "html", null,
true);
echo "\"><i class=\"fa fa-fw
fa-times-circle\"
aria-hidden=\"true\"></i></span>
";
}
}
public function getTemplateName()
{
return "forms/field.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 299 => 63, 297 => 62, 294 => 61, 287
=> 57, 280 => 56, 273 => 55, 266 => 54, 259 => 53, 252
=> 52, 249 => 51, 245 => 66, 243 => 61, 239 => 59, 236
=> 51, 232 => 49, 227 => 48, 224 => 46, 221 => 45, 217
=> 67, 214 => 45, 211 => 44, 204 => 40, 198 => 38, 192
=> 35, 183 => 34, 180 => 33, 177 => 32, 174 => 31, 169
=> 68, 167 => 44, 163 => 42, 161 => 31, 158 => 30, 155
=> 29, 151 => 28, 148 => 27, 145 => 26, 142 => 25, 139
=> 24, 136 => 23, 130 => 70, 127 => 29, 125 => 23, 120
=> 22, 118 => 21, 115 => 20, 111 => 11, 108 => 10, 104
=> 6, 101 => 5, 97 => 3, 94 => 2, 90 => 20, 88 =>
18, 86 => 17, 84 => 16, 82 => 15, 80 => 14, 75 => 10,
63 => 9, 59 => 5, 56 => 4, 53 => 2, 41 => 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("", "forms/field.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/forms/field.html.twig");
}
}
06/06c63434730f40ea3a085f65742564abc794ce6063c43037c7f4c50099b68123.php000064400000005473151171427100015567
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;
/* forms/override.html.twig */
class
__TwigTemplate_7d0d322a4227e3f650dd1aba8d77627437fd8a4d209bcbdd1a7c44a35f8a29a7
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
echo "<input type=\"checkbox\"
class=\"settings-param-toggle\"
id=\"of-";
// line 3
echo twig_escape_filter($this->env,
(($context["scope"] ?? null) . ($context["name"] ??
null)), "html", null, true);
echo "\"";
echo ((($context["has_value"] ?? null)) ? ("
checked=\"checked\"") : (""));
echo "
role=\"checkbox\"
aria-label=\"";
// line 5
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_OVERRIDE_CHECKBOX",
twig_trim_filter(twig_title_string_filter($this->env,
twig_replace_filter((($context["scope"] ?? null) .
($context["name"] ?? null)), ["." => "
"])))), "html", null, true);
echo "\"
title=\"";
// line 6
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_OVERRIDE_CHECKBOX",
$this->getAttribute(($context["field"] ?? null),
"label", [])), "html", null, true);
echo "\" />
<label class=\"settings-param-override\" for=\"of-";
// line 7
echo twig_escape_filter($this->env,
(($context["scope"] ?? null) . ($context["name"] ??
null)), "html", null, true);
echo "\"></label>
";
}
public function getTemplateName()
{
return "forms/override.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 49 => 7, 45 => 6, 41 => 5, 34 => 3,
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("",
"forms/override.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/forms/override.html.twig");
}
}
2b/2bca36b9c901b0f57e6d4865b288cf296fd4cdc4817ae7cf4731e97f3acc6c45.php000064400000016604151171427100016716
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;
/* forms/fields/input/fonts.html.twig */
class
__TwigTemplate_239b8ce9d67c6c4f6944f302d7ff2d42f4ee6eaa98b5d9fc5d7ee1b200ed6574
extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'input' => [$this, 'block_input'],
];
}
protected function doGetParent(array $context)
{
// line 1
return $this->loadTemplate(((($context["default"] ??
null)) ? ("partials/field.html.twig") : ((("forms/" .
(((isset($context["layout"]) ||
array_key_exists("layout", $context))) ?
(_twig_default_filter(($context["layout"] ?? null),
"field")) : ("field"))) . ".html.twig"))),
"forms/fields/input/fonts.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_input($context, array $blocks = [])
{
// line 4
echo " ";
$context["local_fonts"] =
(($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "theme", [], "any", false, true),
"details", [], "any", false, true),
"configuration", [], "any", false, true),
"fonts", [], "array", true, true)) ?
(_twig_default_filter($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "theme", [], "any", false, true),
"details", [], "any", false, true),
"configuration", [], "any", false, true),
"fonts", [], "array"), [])) : ([]));
// line 5
echo " ";
$context["map"] = [];
// line 6
echo " ";
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable(($context["local_fonts"] ?? null));
foreach ($context['_seq'] as $context["name"]
=> $context["variants"]) {
// line 7
echo " ";
if (twig_test_iterable($context["variants"])) {
$context["variants"] =
twig_get_array_keys_filter($context["variants"]);
// line 8
echo " ";
} else {
$context["variants"] = [0 =>
"regular"];
}
// line 9
echo " ";
$context["map"] =
twig_array_merge(($context["map"] ?? null), [0 =>
["family" => $context["name"], "variants"
=> $context["variants"]]]);
// line 10
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'],
$context['name'], $context['variants'],
$context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 11
echo "
<div class=\"g-fonts\">
<div class=\"input-group append\">
<input
";
// line 16
echo " type=\"text\"
name=\"";
// line 17
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->fieldNameFilter((($context["scope"]
?? null) . ($context["name"] ?? null))), "html", null,
true);
echo "\"
value=\"";
// line 18
echo twig_escape_filter($this->env,
twig_join_filter(($context["value"] ?? null), ", "),
"html", null, true);
echo "\"
";
// line 20
echo " ";
$this->displayBlock("global_attributes", $context,
$blocks);
echo "
";
// line 22
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "autocomplete", []), [0 => "on", 1 =>
"off"])) {
echo "autocomplete=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"autocomplete", []), "html", null, true);
echo "\"";
}
// line 23
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "autofocus", []), [0 => "on", 1 =>
"true", 2 => 1])) {
echo "autofocus=\"autofocus\"";
}
// line 24
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "disabled", []), [0 => "on", 1 =>
"true", 2 => 1])) {
echo "disabled=\"disabled\"";
}
// line 25
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"list", [], "any", true, true)) {
echo "list=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"list", []), "html", null, true);
echo "\"";
}
// line 26
echo " />
";
// line 27
$context["picker"] = ["field" =>
(("input[name=\"" . twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->fieldNameFilter((($context["scope"]
?? null) . ($context["name"] ?? null))))) .
"\"]")];
// line 28
echo " <span
class=\"input-group-btn\">
<button class=\"button\"
type=\"button\" aria-label=\"";
// line 29
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_SELECT"),
"html", null, true);
echo " ";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transKeyFilter($this->getAttribute(($context["field"]
?? null), "label", []), "GANTRY5_FORM_FIELD",
($context["scope"] ?? null), ($context["name"] ??
null), "LABEL"), "html", null, true);
echo "\" data-g5-fontpicker=\"";
echo twig_escape_filter($this->env,
twig_jsonencode_filter(($context["picker"] ?? null)),
"html_attr");
echo "\">
<i class=\"fa fa-font\"
aria-hidden=\"true\"></i>
</button>
</span>
</div>
</div>
";
}
public function getTemplateName()
{
return "forms/fields/input/fonts.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 124 => 29, 121 => 28, 119 => 27, 116
=> 26, 109 => 25, 104 => 24, 99 => 23, 92 => 22, 87
=> 20, 83 => 18, 79 => 17, 76 => 16, 70 => 11, 64 =>
10, 61 => 9, 56 => 8, 52 => 7, 47 => 6, 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("",
"forms/fields/input/fonts.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/forms/fields/input/fonts.html.twig");
}
}
a5/a5b0598b3867d8fd222b4a9bc2e2aa497f63ec55f293ada2d0d9c6056d3678ac.php000064400000004514151171427100016616
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;
/* forms/fields/input/imagepicker.html.twig */
class
__TwigTemplate_6ae49d5047d6341df6f877658cbf93f33ebbb24852ca40fbfab18f3e8753f241
extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'input' => [$this, 'block_input'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "forms/fields/input/filepicker.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent =
$this->loadTemplate("forms/fields/input/filepicker.html.twig",
"forms/fields/input/imagepicker.html.twig", 1);
$this->parent->display($context,
array_merge($this->blocks, $blocks));
}
// line 3
public function block_input($context, array $blocks = [])
{
// line 4
echo " ";
$context["field"] = twig_array_merge(["icon"
=> "fa-file-image-o", "filter" =>
".(jpe?g|gif|png|svg|webp)\$"], ($context["field"] ??
null));
// line 5
echo " ";
$this->displayParentBlock("input", $context, $blocks);
echo "
";
}
public function getTemplateName()
{
return "forms/fields/input/imagepicker.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 45 => 5, 42 => 4, 39 => 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("",
"forms/fields/input/imagepicker.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/forms/fields/input/imagepicker.html.twig");
}
}
13/1345bcde1305d20de487b8ddec906f978177f88fbd15bbabed8c69c786c8742b.php000064400000016161151171427100016643
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;
/* forms/fields/input/filepicker.html.twig */
class
__TwigTemplate_39040012bef0df138ef8fa883230da602c77f9cac0b5444c8045a81798f16124
extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'input' => [$this, 'block_input'],
'reset_field' => [$this,
'block_reset_field'],
];
}
protected function doGetParent(array $context)
{
// line 1
return $this->loadTemplate(((($context["default"] ??
null)) ? ("partials/field.html.twig") : ((("forms/" .
(((isset($context["layout"]) ||
array_key_exists("layout", $context))) ?
(_twig_default_filter(($context["layout"] ?? null),
"field")) : ("field"))) . ".html.twig"))),
"forms/fields/input/filepicker.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_input($context, array $blocks = [])
{
// line 4
echo " <div class=\"g-filepicker\">
<div class=\"input-group append\">
<input
";
// line 8
echo " type=\"text\"
name=\"";
// line 9
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->fieldNameFilter((($context["scope"]
?? null) . ($context["name"] ?? null))), "html", null,
true);
echo "\"
value=\"";
// line 10
echo twig_escape_filter($this->env,
twig_join_filter(($context["value"] ?? null), ", "),
"html", null, true);
echo "\"
";
// line 12
echo " ";
$this->displayBlock("global_attributes", $context,
$blocks);
echo "
";
// line 14
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "autocomplete", []), [0 => "on", 1 =>
"off"])) {
echo "autocomplete=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"autocomplete", []), "html", null, true);
echo "\"";
}
// line 15
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "autofocus", []), [0 => "on", 1 =>
"true", 2 => 1])) {
echo "autofocus=\"autofocus\"";
}
// line 16
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "disabled", []), [0 => "on", 1 =>
"true", 2 => 1])) {
echo "disabled=\"disabled\"";
}
// line 17
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"list", [], "any", true, true)) {
echo "list=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"list", []), "html", null, true);
echo "\"";
}
// line 18
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"placeholder", [], "any", true, true)) {
echo "placeholder=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"placeholder", []), "html", null, true);
echo "\"";
}
// line 19
echo " />
";
// line 20
$context["picker"] = ["field" =>
(("input[name=\"" . twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->fieldNameFilter((($context["scope"]
?? null) . ($context["name"] ?? null))))) .
"\"]"), "root" =>
twig_escape_filter($this->env,
(($this->getAttribute(($context["field"] ?? null),
"root", [], "any", true, true)) ?
(_twig_default_filter($this->getAttribute(($context["field"]
?? null), "root", []), "gantry-media://")) :
("gantry-media://"))), "filter" =>
twig_escape_filter($this->env,
(($this->getAttribute(($context["field"] ?? null),
"filter", [], "any", true, true)) ?
(_twig_default_filter($this->getAttribute(($context["field"]
?? null), "filter", []), false)) : (false)))];
// line 21
echo " <span
class=\"input-group-btn\">
<button class=\"button\"
type=\"button\" aria-label=\"";
// line 22
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_SELECT"),
"html", null, true);
echo " ";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transKeyFilter($this->getAttribute(($context["field"]
?? null), "label", []), "GANTRY5_FORM_FIELD",
($context["scope"] ?? null), ($context["name"] ??
null), "LABEL"), "html", null, true);
echo "\" data-g5-filepicker=\"";
echo twig_escape_filter($this->env,
twig_jsonencode_filter(($context["picker"] ?? null)),
"html_attr");
echo "\">
<i class=\"fa ";
// line 23
echo twig_escape_filter($this->env,
(($this->getAttribute(($context["field"] ?? null),
"icon", [], "any", true, true)) ?
(_twig_default_filter($this->getAttribute(($context["field"]
?? null), "icon", []), "fa-file-o")) :
("fa-file-o")), "html", null, true);
echo "\" aria-hidden=\"true\" ></i>
</button>
</span>
";
// line 26
$this->displayBlock('reset_field', $context, $blocks);
// line 27
echo " </div>
</div>
";
}
// line 26
public function block_reset_field($context, array $blocks = [])
{
$this->displayParentBlock("reset_field", $context,
$blocks);
}
public function getTemplateName()
{
return "forms/fields/input/filepicker.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 124 => 26, 118 => 27, 116 => 26, 110
=> 23, 102 => 22, 99 => 21, 97 => 20, 94 => 19, 87
=> 18, 80 => 17, 75 => 16, 70 => 15, 63 => 14, 58 =>
12, 54 => 10, 50 => 9, 47 => 8, 42 => 4, 39 => 3, 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("",
"forms/fields/input/filepicker.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/forms/fields/input/filepicker.html.twig");
}
}
e6/e648a8b0c6248a21cad6689fcc2d9621e4100b594cfdaab215fb2c738113d4f9.php000064400000015062151171427100016521
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;
/* forms/fields/input/text.html.twig */
class
__TwigTemplate_d792de772c032fd73349307887db7ff2c25626c8333e9ac093e77f1092bb6de4
extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'input' => [$this, 'block_input'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "forms/fields/input/group/group.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent =
$this->loadTemplate("forms/fields/input/group/group.html.twig",
"forms/fields/input/text.html.twig", 1);
$this->parent->display($context,
array_merge($this->blocks, $blocks));
}
// line 3
public function block_input($context, array $blocks = [])
{
// line 4
echo " <input
";
// line 6
echo " type=\"text\"
name=\"";
// line 7
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->fieldNameFilter((($context["scope"]
?? null) . ($context["name"] ?? null))), "html", null,
true);
echo "\"
value=\"";
// line 8
echo twig_escape_filter($this->env,
twig_join_filter(($context["value"] ?? null), ", "),
"html", null, true);
echo "\"
";
// line 10
echo " ";
$this->displayBlock("global_attributes", $context,
$blocks);
echo "
";
// line 12
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "autocomplete", []), [0 => "on", 1 =>
"off"])) {
echo "autocomplete=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"autocomplete", []), "html", null, true);
echo "\"";
}
// line 13
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "autofocus", []), [0 => "on", 1 =>
"true", 2 => 1])) {
echo "autofocus=\"autofocus\"";
}
// line 14
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"dirname", [], "any", true, true)) {
echo "dirname=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"dirname", []), "html", null, true);
echo "\"";
}
// line 15
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "disabled", []), [0 => "on", 1 =>
"true", 2 => 1])) {
echo "disabled=\"disabled\"";
}
// line 16
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"list", [], "any", true, true)) {
echo "list=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"list", []), "html", null, true);
echo "\"";
}
// line 17
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"maxlength", [], "any", true, true)) {
echo "maxlength=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"maxlength", []), "html", null, true);
echo "\"";
}
// line 18
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"minlength", [], "any", true, true)) {
echo "minlength=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"minlength", []), "html", null, true);
echo "\"";
}
// line 19
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"pattern", [], "any", true, true)) {
echo "pattern=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"pattern", []), "html", null, true);
echo "\"";
}
// line 20
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"placeholder", [], "any", true, true)) {
echo "placeholder=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"placeholder", []), "html", null, true);
echo "\"";
}
// line 21
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "readonly", []), [0 => "on", 1 =>
"true", 2 => 1])) {
echo "readonly=\"readonly\"";
}
// line 22
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "required", []), [0 => "on", 1 =>
"true", 2 => 1])) {
echo "required=\"required\"";
}
// line 23
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"size", [], "any", true, true)) {
echo "size=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"size", []), "html", null, true);
echo "\"";
}
// line 24
echo " />
";
}
public function getTemplateName()
{
return "forms/fields/input/text.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 137 => 24, 130 => 23, 125 => 22, 120
=> 21, 113 => 20, 106 => 19, 99 => 18, 92 => 17, 85
=> 16, 80 => 15, 73 => 14, 68 => 13, 61 => 12, 56 =>
10, 52 => 8, 48 => 7, 45 => 6, 42 => 4, 39 => 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("",
"forms/fields/input/text.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/forms/fields/input/text.html.twig");
}
}
f3/f3bd0578fdf20a77d94c534d56ef358fbeebbe8ef7b9810a3aee2e3720f96c85.php000064400000016015151171427100017064
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;
/* forms/fields/select/select.html.twig */
class
__TwigTemplate_81f8c5e12abf5fbabdce0fa53e8452759eab94a2f37676519bca7601b862f61b
extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'input' => [$this, 'block_input'],
'options' => [$this, 'block_options'],
'reset_field' => [$this,
'block_reset_field'],
];
}
protected function doGetParent(array $context)
{
// line 1
return $this->loadTemplate((("forms/" .
(((isset($context["layout"]) ||
array_key_exists("layout", $context))) ?
(_twig_default_filter(($context["layout"] ?? null),
"field")) : ("field"))) . ".html.twig"),
"forms/fields/select/select.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_input($context, array $blocks = [])
{
// line 4
echo " <select
";
// line 6
echo " name=\"";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->fieldNameFilter((($context["scope"]
?? null) . ($context["name"] ?? null))), "html", null,
true);
echo "\"
";
// line 8
echo " ";
$this->displayBlock("global_attributes", $context,
$blocks);
echo "
";
// line 10
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "autofocus", []), [0 => "on", 1 =>
"true", 2 => 1])) {
echo "autofocus=\"autofocus\"";
}
// line 11
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "disabled", []), [0 => "on", 1 =>
"true", 2 => 1])) {
echo "disabled=\"disabled\"";
}
// line 12
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "multiple", []), [0 => "on", 1 =>
"true", 2 => 1])) {
echo "multiple=\"multiple\"";
}
// line 13
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "required", []), [0 => "on", 1 =>
"true", 2 => 1])) {
echo "required=\"required\"";
}
// line 14
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"placeholder", [], "any", true, true)) {
echo "data-placeholder=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"placeholder", []), "html", null, true);
echo "\"";
}
// line 15
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"size", [], "any", true, true)) {
echo "size=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"size", []), "html", null, true);
echo "\"";
}
// line 16
echo " >
";
// line 18
$this->displayBlock('options', $context, $blocks);
// line 30
echo " </select>
";
// line 31
$this->displayBlock('reset_field', $context, $blocks);
}
// line 18
public function block_options($context, array $blocks = [])
{
// line 19
echo " ";
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable($this->getAttribute(($context["field"]
?? null), "options", []));
foreach ($context['_seq'] as $context["key"]
=> $context["text"]) {
// line 20
echo " <option
";
// line 22
echo " ";
if
($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->is_selectedFunc($context["key"],
($context["value"] ?? null))) {
echo "selected=\"selected\"";
}
// line 23
echo " value=\"";
echo twig_escape_filter($this->env,
$context["key"], "html", null, true);
echo "\"
";
// line 25
echo " ";
if
(twig_in_filter($this->getAttribute($this->getAttribute(($context["field"]
?? null), "options", []), "disabled", []), [0 =>
"on", 1 => "true", 2 => 1])) {
echo "disabled=\"disabled\"";
}
// line 26
echo " ";
if
($this->getAttribute($this->getAttribute(($context["field"]
?? null), "options", [], "any", false, true),
"label", [], "any", true, true)) {
echo "label=\"";
echo twig_escape_filter($this->env,
$this->getAttribute($this->getAttribute(($context["field"]
?? null), "options", []), "label", []),
"html", null, true);
echo "\"";
}
// line 27
echo " >";
echo twig_escape_filter($this->env,
$context["text"], "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'],
$context['key'], $context['text'],
$context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 29
echo " ";
}
// line 31
public function block_reset_field($context, array $blocks = [])
{
}
public function getTemplateName()
{
return "forms/fields/select/select.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 149 => 31, 145 => 29, 136 => 27, 129
=> 26, 124 => 25, 119 => 23, 114 => 22, 111 => 20, 106
=> 19, 103 => 18, 99 => 31, 96 => 30, 94 => 18, 90
=> 16, 83 => 15, 76 => 14, 71 => 13, 66 => 12, 61 =>
11, 56 => 10, 51 => 8, 46 => 6, 43 => 4, 40 => 3, 31
=> 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("",
"forms/fields/select/select.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/forms/fields/select/select.html.twig");
}
}
16/16784aa2159214de546f48a4d7c76662d3175feb47e0ef02de88f8a005bed9e4.php000064400000010451151171427100016326
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;
/* forms/fields/input/checkbox.html.twig */
class
__TwigTemplate_a20f1fd1ab5f64c9e11ca7612f459821ef78535762077ddc0e8c59e0ffdcc2e4
extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'input' => [$this, 'block_input'],
'reset_field' => [$this,
'block_reset_field'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "forms/fields/input/group/group.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent =
$this->loadTemplate("forms/fields/input/group/group.html.twig",
"forms/fields/input/checkbox.html.twig", 1);
$this->parent->display($context,
array_merge($this->blocks, $blocks));
}
// line 3
public function block_input($context, array $blocks = [])
{
// line 4
echo " <input
";
// line 6
echo " type=\"checkbox\"
name=\"";
// line 7
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->fieldNameFilter((($context["scope"]
?? null) . ($context["name"] ?? null))), "html", null,
true);
echo "\"
value=\"";
// line 8
echo twig_escape_filter($this->env,
twig_join_filter(($context["value"] ?? null), ", "),
"html", null, true);
echo "\"
";
// line 10
echo " ";
$this->displayBlock("global_attributes", $context,
$blocks);
echo "
";
// line 12
echo " ";
if ((($context["value"] ?? null) == true)) {
echo "checked=\"checked\" ";
}
// line 13
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "autocomplete", []), [0 => "on", 1 =>
"off"])) {
echo "autocomplete=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"autocomplete", []), "html", null, true);
echo "\"";
}
// line 14
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "autofocus", []), [0 => "on", 1 =>
"true", 2 => 1])) {
echo "autofocus=\"autofocus\"";
}
// line 15
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "disabled", []), [0 => "on", 1 =>
"true", 2 => 1])) {
echo "disabled=\"disabled\"";
}
// line 16
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "required", []), [0 => "on", 1 =>
"true", 2 => 1])) {
echo "required=\"required\"";
}
// line 17
echo " />
";
// line 19
$this->displayBlock('reset_field', $context, $blocks);
}
public function block_reset_field($context, array $blocks = [])
{
}
public function getTemplateName()
{
return "forms/fields/input/checkbox.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 93 => 19, 89 => 17, 84 => 16, 79 =>
15, 74 => 14, 67 => 13, 62 => 12, 57 => 10, 53 => 8,
49 => 7, 46 => 6, 43 => 4, 40 => 3, 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("",
"forms/fields/input/checkbox.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/forms/fields/input/checkbox.html.twig");
}
}
bf/bf432de80103e2aa5db6080c414c0d985f0648a862a7198b82664100f4787702.php000064400000040361151171427100016000
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");
}
}
f2/f2455b67ab9e7cbb04cd6a35d60d4bac54f943d9c60816e162b6cfbe170e345f.php000064400000006265151171427100016672
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/partials/ajax.html.twig */
class
__TwigTemplate_efd9735e95ffb454f6a17f6c9b42046a176fb11deb0b350dbebce473277e151b
extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
'gantry_content_wrapper' => [$this,
'block_gantry_content_wrapper'],
'gantry' => [$this, 'block_gantry'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
$this->displayBlock('content', $context, $blocks);
}
public function block_content($context, array $blocks = [])
{
// line 2
$this->displayBlock('gantry_content_wrapper',
$context, $blocks);
}
public function block_gantry_content_wrapper($context, array $blocks =
[])
{
// line 3
echo " ";
if (($context["navbar"] ?? null)) {
// line 4
echo " <div
data-g5-content-wrapper=\"\">
";
// line 5
$this->loadTemplate("@gantry-admin/partials/navigation.html.twig",
"@gantry-admin/partials/ajax.html.twig",
5)->display($context);
// line 6
echo " <div class=\"g-grid\">
<div class=\"g-block main-block\">
<section id=\"g-main\">
<div class=\"g-content\"
data-g5-content=\"\">
";
// line 10
$this->displayBlock('gantry', $context, $blocks);
// line 12
echo " </div>
</section>
</div>
</div>
</div>
";
} else {
// line 18
echo " ";
$this->displayBlock("gantry", $context, $blocks);
echo "
";
}
}
// line 10
public function block_gantry($context, array $blocks = [])
{
// line 11
echo " ";
}
public function getTemplateName()
{
return "@gantry-admin/partials/ajax.html.twig";
}
public function getDebugInfo()
{
return array ( 80 => 11, 77 => 10, 69 => 18, 61 =>
12, 59 => 10, 53 => 6, 51 => 5, 48 => 4, 45 => 3, 39
=> 2, 33 => 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/partials/ajax.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/partials/ajax.html.twig");
}
}
7f/7f193ef401270b0eba90bae002cfcdf334f10819c8b564ccec41efd178edf9fb.php000064400000020271151171427100017100
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;
/* forms/fields/collection/keyvalue.html.twig */
class
__TwigTemplate_e69317e5e112ddce97397e5e3fb189865cc6272f58348cf674c8f6d4782bb61f
extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'input' => [$this, 'block_input'],
];
}
protected function doGetParent(array $context)
{
// line 1
return $this->loadTemplate((("forms/" .
(((isset($context["layout"]) ||
array_key_exists("layout", $context))) ?
(_twig_default_filter(($context["layout"] ?? null),
"field")) : ("field"))) . ".html.twig"),
"forms/fields/collection/keyvalue.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_input($context, array $blocks = [])
{
// line 4
echo " <div class=\"g-keyvalue-field";
if ($this->getAttribute(($context["field"] ?? null),
"size", [])) {
echo " g-keyvalue-";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"size", []), "html", null, true);
}
echo "\">
<ul>";
// line 6
if (($context["value"] ?? null)) {
// line 7
echo " ";
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable(($context["value"] ?? null));
foreach ($context['_seq'] as
$context["_key"] => $context["data"]) {
// line 8
echo " ";
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable($context["data"]);
foreach ($context['_seq'] as
$context["key"] => $context["val"]) {
// line 9
echo " <li
data-keyvalue-item=\"\">
<i class=\"fa fa-reorder font-small
item-reorder\" aria-hidden=\"true\"></i>
<div class=\"g-keyvalue-wrapper\">
<input class=\"g-keyvalue-input-key\"
type=\"text\" data-keyvalue-key=\"";
// line 12
echo twig_escape_filter($this->env,
$context["key"], "html", null, true);
echo "\" value=\"";
echo twig_escape_filter($this->env,
$context["key"], "html", null, true);
echo "\" ";
if ($this->getAttribute(($context["field"]
?? null), "key_placeholder", [], "any", true, true)) {
echo "placeholder=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"key_placeholder", []), "html", null, true);
echo "\"";
}
echo " />
<i class=\"g-keyvalue-sep fa fa-fw
fa-arrow-right\"></i>
<input class=\"g-keyvalue-input-value\"
type=\"text\" data-keyvalue-value=\"\"
value=\"";
// line 14
echo twig_escape_filter($this->env,
$context["val"], "html", null, true);
echo "\" ";
if ($this->getAttribute(($context["field"]
?? null), "value_placeholder", [], "any", true, true))
{
echo "placeholder=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"value_placeholder", []), "html", null, true);
echo "\"";
}
echo " />
</div>
<i class=\"fa fa-fw fa-trash font-small\"
aria-hidden=\"true\"
data-keyvalue-remove=\"\"></i>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'],
$context['_iterated'], $context['key'],
$context['val'], $context['_parent'],
$context['loop']);
$context = array_intersect_key($context, $_parent) +
$_parent;
// line 19
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'],
$context['_iterated'], $context['_key'],
$context['data'], $context['_parent'],
$context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 20
echo " ";
}
// line 21
echo "</ul>
<span class=\"button button-simple\"
data-keyvalue-addnew=\"\" title=\"Add new
item\"><i class=\"fa fa-plus font-small\"
aria-hidden=\"true\"></i></span>
</div>
<ul style=\"display: none\">
<li data-keyvalue-nosort=\"\"
data-keyvalue-template=\"\">
<i class=\"fa fa-reorder font-small item-reorder\"
aria-hidden=\"true\"></i>
<div class=\"g-keyvalue-wrapper\">
<input class=\"g-keyvalue-input-key\"
type=\"text\" data-keyvalue-key=\"\"
value=\"\" ";
// line 29
if ($this->getAttribute(($context["field"] ?? null),
"key_placeholder", [], "any", true, true)) {
echo "placeholder=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"key_placeholder", []), "html", null, true);
echo "\"";
}
echo " />
<i class=\"g-keyvalue-sep fa fa-fw
fa-arrow-right\"></i>
<input class=\"g-keyvalue-input-value\"
type=\"text\" data-keyvalue-value=\"\"
value=\"\" ";
// line 31
if ($this->getAttribute(($context["field"] ?? null),
"value_placeholder", [], "any", true, true)) {
echo "placeholder=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"value_placeholder", []), "html", null, true);
echo "\"";
}
echo " />
</div>
<i class=\"fa fa-fw fa-trash font-small\"
aria-hidden=\"true\"
data-keyvalue-remove=\"\"></i>
</li>
</ul>
<input type=\"hidden\" data-keyvalue-data=\"\"
data-keyvalue-exclude=\"";
// line 36
echo twig_escape_filter($this->env,
twig_jsonencode_filter((($this->getAttribute(($context["field"]
?? null), "exclude", [], "any", true, true)) ?
(_twig_default_filter($this->getAttribute(($context["field"]
?? null), "exclude", []), [])) : ([]))), "html_attr");
echo "\" name=\"";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->fieldNameFilter(((($context["scope"]
?? null) . ($context["name"] ?? null)) . "._json")),
"html", null, true);
echo "\" value=\"";
echo twig_escape_filter($this->env,
twig_jsonencode_filter((((isset($context["value"]) ||
array_key_exists("value", $context))) ?
(_twig_default_filter(($context["value"] ?? null), [])) : ([])),
twig_constant("JSON_UNESCAPED_SLASHES")), "html_attr");
echo "\" />
";
}
public function getTemplateName()
{
return "forms/fields/collection/keyvalue.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 136 => 36, 124 => 31, 115 => 29, 105
=> 21, 102 => 20, 96 => 19, 79 => 14, 66 => 12, 61
=> 9, 56 => 8, 51 => 7, 49 => 6, 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("",
"forms/fields/collection/keyvalue.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/forms/fields/collection/keyvalue.html.twig");
}
}
d2/d2da8d8f73593fcf1736a59bed52552a9decc9e0936d975433588a81605e4769.php000064400000014234151171427100016306
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;
/* forms/fields/textarea/textarea.html.twig */
class
__TwigTemplate_2fbb81b2e09fbe898529b522625df705a9675cf3ee72c07a22b119bac6589550
extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'input' => [$this, 'block_input'],
'reset_field' => [$this,
'block_reset_field'],
];
}
protected function doGetParent(array $context)
{
// line 1
return $this->loadTemplate((("forms/" .
(((isset($context["layout"]) ||
array_key_exists("layout", $context))) ?
(_twig_default_filter(($context["layout"] ?? null),
"field")) : ("field"))) . ".html.twig"),
"forms/fields/textarea/textarea.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_input($context, array $blocks = [])
{
// line 4
echo " <textarea
";
// line 6
echo " name=\"";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->fieldNameFilter((($context["scope"]
?? null) . ($context["name"] ?? null))), "html", null,
true);
echo "\"
";
// line 8
echo " ";
$this->displayBlock("global_attributes", $context,
$blocks);
echo "
";
// line 10
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "autofocus", []), [0 => "on", 1 =>
"true", 2 => 1])) {
echo "autofocus=\"autofocus\"";
}
// line 11
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"cols", [], "any", true, true)) {
echo "cols=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"cols", []), "html", null, true);
echo "\"";
}
// line 12
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "disabled", []), [0 => "on", 1 =>
"true", 2 => 1])) {
echo "disabled=\"disabled\"";
}
// line 13
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"maxlength", [], "any", true, true)) {
echo "maxlength=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"maxlength", []), "html", null, true);
echo "\"";
}
// line 14
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"minlength", [], "any", true, true)) {
echo "minlength=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"minlength", []), "html", null, true);
echo "\"";
}
// line 15
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"placeholder", [], "any", true, true)) {
echo "placeholder=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"placeholder", []), "html", null, true);
echo "\"";
}
// line 16
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "readonly", []), [0 => "on", 1 =>
"true", 2 => 1])) {
echo "readonly=\"readonly\"";
}
// line 17
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "required", []), [0 => "on", 1 =>
"true", 2 => 1])) {
echo "required=\"required\"";
}
// line 18
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"rows", [], "any", true, true)) {
echo "rows=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"rows", []), "html", null, true);
echo "\"";
}
// line 19
echo " ";
if
(twig_in_filter($this->getAttribute(($context["field"] ??
null), "wrap", []), [0 => "hard", 1 =>
"soft"])) {
echo "wrap=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"wrap", []), "html", null, true);
echo "\"";
}
// line 20
echo " >";
echo twig_escape_filter($this->env,
twig_join_filter(($context["value"] ?? null), "
"), "html", null, true);
echo "</textarea>
";
// line 22
$this->displayBlock('reset_field', $context, $blocks);
}
public function block_reset_field($context, array $blocks = [])
{
$this->displayParentBlock("reset_field", $context,
$blocks);
}
public function getTemplateName()
{
return "forms/fields/textarea/textarea.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 124 => 22, 117 => 20, 110 => 19, 103
=> 18, 98 => 17, 93 => 16, 86 => 15, 79 => 14, 72 =>
13, 67 => 12, 60 => 11, 55 => 10, 50 => 8, 45 => 6, 42
=> 4, 39 => 3, 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("",
"forms/fields/textarea/textarea.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/forms/fields/textarea/textarea.html.twig");
}
}
a0/a01e225207e01394079410ca4159fca3c0eb665db192f5691c6c5d6a43237eb7.php000064400000007700151171427100016114
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;
/* forms/fields/input/hidden.html.twig */
class
__TwigTemplate_f99514a34d67af0546403e6077d7d39f19c799a0c672a01ad2ac565aa8c95000
extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'overridable' => [$this,
'block_overridable'],
'label' => [$this, 'block_label'],
'input' => [$this, 'block_input'],
];
}
protected function doGetParent(array $context)
{
// line 1
return $this->loadTemplate(((($context["default"] ??
null)) ? ("partials/field.html.twig") : ((("forms/" .
(((isset($context["layout"]) ||
array_key_exists("layout", $context))) ?
(_twig_default_filter(($context["layout"] ?? null),
"field")) : ("field"))) . ".html.twig"))),
"forms/fields/input/hidden.html.twig", 1);
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->getParent($context)->display($context,
array_merge($this->blocks, $blocks));
}
// line 4
public function block_overridable($context, array $blocks = [])
{
}
// line 8
public function block_label($context, array $blocks = [])
{
}
// line 11
public function block_input($context, array $blocks = [])
{
// line 12
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"array", [])) {
// line 13
echo " ";
$context["name"] = (($context["name"] ??
null) . "._json");
// line 14
echo " ";
$context["value"] =
twig_jsonencode_filter((((isset($context["value"]) ||
array_key_exists("value", $context))) ?
(_twig_default_filter(($context["value"] ?? null), [])) : ([])));
// line 15
echo " ";
} else {
// line 16
echo " ";
$context["value"] =
twig_join_filter(($context["value"] ?? null), ", ");
// line 17
echo " ";
}
// line 18
echo "
<input
";
// line 21
echo " type=\"hidden\"
name=\"";
// line 22
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->fieldNameFilter((($context["scope"]
?? null) . ($context["name"] ?? null))), "html", null,
true);
echo "\"
value=\"";
// line 23
echo twig_escape_filter($this->env, ($context["value"]
?? null), "html", null, true);
echo "\"
";
// line 25
echo " ";
$this->displayBlock("global_attributes", $context,
$blocks);
echo "
/>
";
}
public function getTemplateName()
{
return "forms/fields/input/hidden.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 86 => 25, 82 => 23, 78 => 22, 75 =>
21, 71 => 18, 68 => 17, 65 => 16, 62 => 15, 59 => 14,
56 => 13, 53 => 12, 50 => 11, 45 => 8, 40 => 4, 31
=> 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("",
"forms/fields/input/hidden.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/forms/fields/input/hidden.html.twig");
}
}
25/2543f26121a584bdc8a6698181aa60faa8fe18c9d277eef875068ed234762f7c.php000064400000077523151171427100016271
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;
/* forms/fields/collection/list.html.twig */
class
__TwigTemplate_efdd577d27d0446851bdee2d230ac0e5eb78d629b4e97bf93dca162ba93dd276
extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'field' => [$this, 'block_field'],
'contents' => [$this, 'block_contents'],
'label' => [$this, 'block_label'],
'input' => [$this, 'block_input'],
'collection_fields' => [$this,
'block_collection_fields'],
];
}
protected function doGetParent(array $context)
{
// line 1
return $this->loadTemplate((("forms/" .
(((isset($context["layout"]) ||
array_key_exists("layout", $context))) ?
(_twig_default_filter(($context["layout"] ?? null),
"field")) : ("field"))) . ".html.twig"),
"forms/fields/collection/list.html.twig", 1);
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 4
$context["value"] = ((((
!$this->getAttribute(($context["field"] ?? null),
"key", []) &&
twig_test_iterable(($context["value"] ?? null))) &&
twig_length_filter($this->env, ($context["value"] ?? null))))
?
($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->valuesFilter(($context["value"]
?? null))) : (($context["value"] ?? null)));
// line 1
$this->getParent($context)->display($context,
array_merge($this->blocks, $blocks));
}
// line 6
public function block_field($context, array $blocks = [])
{
// line 7
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"is_current", [])) {
// line 8
echo " ";
// line 9
echo " ";
$context["name"] = "";
// line 10
echo " <div
class=\"g-filter-actions\">
<div class=\"g-panel-filters\"
data-g-global-filter=\"\">
<div class=\"search settings-block\">
";
// line 13
$context["filter"] = ["element" =>
".settings-param", "title" =>
".settings-param-title, h4 .g-title", "fallback" =>
true];
// line 14
echo " <input
type=\"text\" data-g-collapse-filter=\"";
echo twig_escape_filter($this->env,
twig_jsonencode_filter(($context["filter"] ?? null)),
"html_attr");
echo "\" placeholder=\"";
echo twig_escape_filter($this->env,
(($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_FILTER")
. " ") . twig_capitalize_string_filter($this->env,
($context["group"] ?? null))), "html", null, true);
echo "...\" aria-label=\"";
echo twig_escape_filter($this->env,
(($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_FILTER")
. " ") . twig_capitalize_string_filter($this->env,
($context["group"] ?? null))), "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 17
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 18
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 22
$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 23
echo " ";
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable(($context["value"] ?? null));
$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["val"]) {
// line 24
echo " ";
$context["title"] =
((($this->getAttribute(($context["field"] ?? null),
"value", []) ==
$this->getAttribute(($context["field"] ?? null),
"key", []))) ? ($context["key"]) :
($this->getAttribute($context["val"],
$this->getAttribute(($context["field"] ?? null),
"value", []), [], "array")));
// line 25
echo " ";
$context["id"] = ((((($context["route"]
?? null) . ".") . $context["key"]) . ".") .
$this->getAttribute(($context["field"] ?? null),
"value", []));
// line 26
echo " <div class=\"card
settings-block\">
<h4
data-g-collapse=\"";
// line 28
echo twig_escape_filter($this->env,
twig_jsonencode_filter(twig_array_merge(($context["labels"] ??
null), ["collapsed" => false, "id" =>
($context["id"] ?? null), "store" => false,
"target" => "~ .inner-params"])),
"html_attr");
echo "\"
>
<span class=\"g-collapse\"
data-title=\"";
// line 30
echo twig_escape_filter($this->env,
$this->getAttribute(($context["labels"] ?? null),
"collapse", []), "html", null, true);
echo "\" data-tip=\"";
echo twig_escape_filter($this->env,
$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 data-title-editable=\"";
// line 31
echo twig_escape_filter($this->env,
($context["title"] ?? null), "html", null, true);
echo "\" data-collection-key=\"";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->fieldNameFilter(((((($context["scope"]
?? null) . ".") . $context["key"]) . ".") .
$this->getAttribute(($context["field"] ?? null),
"value", []))), "html", null, true);
echo "\" class=\"g-title\">";
echo twig_escape_filter($this->env,
($context["title"] ?? null), "html", null, true);
echo "</span>
<i class=\"fa fa-pencil font-small\"
aria-hidden=\"true\" tabindex=\"0\"
aria-label=\"";
// line 32
echo twig_escape_filter($this->env,
twig_replace_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_EDIT_TITLE"),
["%s" => ($context["title"] ?? null)]),
"html", null, true);
echo "\"
data-title-edit=\"\"></i>
</h4>
<div class=\"inner-params\">
";
// line 35
$this->displayBlock("collection_fields",
$context, $blocks);
echo "
</div>
</div>
";
++$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['val'], $context['_parent'],
$context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 39
echo " </div>
";
} else {
// line 41
echo "
";
// line 42
$context["can_reorder"] =
((($this->getAttribute(($context["field"] ?? null),
"reorder", [], "any", true, true) && !(null
=== $this->getAttribute(($context["field"] ?? null),
"reorder", [])))) ?
($this->getAttribute(($context["field"] ?? null),
"reorder", [])) : (true));
// line 43
echo " ";
$context["can_remove"] =
((($this->getAttribute(($context["field"] ?? null),
"deletion", [], "any", true, true) && !(null
=== $this->getAttribute(($context["field"] ?? null),
"deletion", [])))) ?
($this->getAttribute(($context["field"] ?? null),
"deletion", [])) : (true));
// line 44
echo " ";
$context["can_addnew"] =
((($this->getAttribute(($context["field"] ?? null),
"add_new", [], "any", true, true) && !(null
=== $this->getAttribute(($context["field"] ?? null),
"add_new", [])))) ?
($this->getAttribute(($context["field"] ?? null),
"add_new", [])) : (true));
// line 45
echo " <div class=\"settings-param ";
echo twig_escape_filter($this->env,
twig_replace_filter($this->getAttribute(($context["field"] ??
null), "type", []), ["." => "-"]),
"html", null, true);
echo "\">
";
// line 46
if (((($context["overrideable"] ?? null) &&
(( !$this->getAttribute(($context["field"] ?? null),
"overridable", [], "any", true, true) ||
($this->getAttribute(($context["field"] ?? null),
"overridable", []) == true)) || ($context["has_value"]
?? null))) && ($this->getAttribute(($context["field"]
?? null), "type", []) != "container.set"))) {
// line 47
echo " ";
$this->loadTemplate("forms/override.html.twig",
"forms/fields/collection/list.html.twig",
47)->display(twig_array_merge($context, ["scope" =>
($context["scope"] ?? null), "name" =>
($context["name"] ?? null), "field" =>
($context["field"] ?? null)]));
// line 48
echo " ";
}
// line 49
echo " ";
$this->displayBlock('contents', $context,
$blocks);
// line 127
echo " </div>
";
}
}
// line 49
public function block_contents($context, array $blocks = [])
{
// line 50
echo " ";
$context["field_route"] =
twig_replace_filter((((($context["route"] ?? null) .
".") . ((($context["prefix"] ?? null)) ?
((($context["prefix"] ?? null) . ".")) :
(""))) . ($context["name"] ?? null)), ["."
=> "/"]);
// line 51
echo " <span
class=\"settings-param-title float-left\">
";
// line 52
$this->displayBlock('label', $context, $blocks);
// line 61
echo " </span>
<div class=\"settings-param-field\"
data-field-name=\"";
// line 62
echo twig_escape_filter($this->env, ($context["name"]
?? null), "html", null, true);
echo "\">
";
// line 63
$this->displayBlock('input', $context, $blocks);
// line 125
echo " </div>
";
}
// line 52
public function block_label($context, array $blocks = [])
{
// line 53
echo " ";
if ($this->getAttribute(($context["field"] ?? null),
"description", [])) {
// line 54
echo " ";
$context["description"] =
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transKeyFilter($this->getAttribute(($context["field"]
?? null), "description", []), "GANTRY5_FORM_FIELD",
($context["scope"] ?? null), ($context["name"] ??
null), "DESC");
// line 55
echo " <span
aria-label=\"";
echo twig_escape_filter($this->env,
($context["description"] ?? null), "html", null, true);
echo "\" data-tip=\"";
echo ($context["description"] ?? null);
echo "\"
data-tip-place=\"top-right\">";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transKeyFilter($this->getAttribute(($context["field"]
?? null), "label", []), "GANTRY5_FORM_FIELD",
($context["scope"] ?? null), ($context["name"] ??
null), "LABEL"), "html", null, true);
echo "</span>
";
} else {
// line 57
echo " ";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transKeyFilter($this->getAttribute(($context["field"]
?? null), "label", []), "GANTRY5_FORM_FIELD",
($context["scope"] ?? null), ($context["name"] ??
null), "LABEL"), "html", null, true);
echo "
";
}
// line 59
echo " ";
echo
((twig_in_filter($this->getAttribute($this->getAttribute(($context["field"]
?? null), "validate", []), "required", []), [0 =>
"on", 1 => "true", 2 => 1])) ? ("<span
class=\"required\">*</span>") : (""));
echo "
";
}
// line 63
public function block_input($context, array $blocks = [])
{
// line 64
echo "<div class=\"g5-collection-wrapper\">
<ul>";
// line 66
if ($this->getAttribute(($context["field"] ?? null),
"fields", [])) {
// line 67
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable(($context["value"] ?? null));
$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["val"]) {
// line 68
echo " ";
if (($this->getAttribute(($context["field"] ??
null), "ajax", []) == true)) {
// line 69
echo "
<li data-collection-item=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"value", []), "html", null, true);
echo "\">
";
// line 70
$context["itemValue"] =
((($this->getAttribute(($context["field"] ?? null),
"value", []) ==
$this->getAttribute(($context["field"] ?? null),
"key", []))) ? ($context["key"]) :
($this->getAttribute($context["val"],
$this->getAttribute(($context["field"] ?? null),
"value", []), [], "array")));
// line 71
echo "
";
if (($context["can_reorder"] ?? null)) {
echo "<i class=\"fa fa-reorder
font-small item-reorder\"
aria-hidden=\"true\"></i>";
}
// line 72
echo "
<a class=\"config-cog\" href=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => ((($context["field_route"] ?? null) .
"/") . $context["key"])], "method"),
"html", null, true);
echo "\"><span
data-title-editable=\"";
echo twig_escape_filter($this->env,
($context["itemValue"] ?? null), "html", null, true);
echo "\"
class=\"g-title\">";
echo twig_escape_filter($this->env,
($context["itemValue"] ?? null), "html", null, true);
echo "</span></a>
";
// line 73
if (($context["can_remove"] ?? null)) {
echo "<i class=\"fa fa-fw fa-trash
font-small\" aria-hidden=\"true\"
data-collection-remove=\"\"></i>";
}
// line 74
echo "
";
if (($context["can_addnew"] ?? null)) {
echo "<i class=\"fa fa-files-o
font-small\" aria-hidden=\"true\"
data-collection-duplicate=\"\"></i>";
}
// line 75
echo "
<i class=\"fa fa-fw fa-pencil font-small\"
aria-hidden=\"true\" tabindex=\"0\"
aria-label=\"";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_EDIT_TITLE",
($context["itemValue"] ?? null)), "html", null, true);
echo "\"
data-title-edit=\"\"></i>
</li>
";
} else {
// line 78
echo "
";
$this->displayBlock('collection_fields',
$context, $blocks);
// line 105
echo " ";
}
// line 106
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['val'], $context['_parent'],
$context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
// line 108
echo "</ul>
</div>
<div>
<ul style=\"display: none\">
<li data-collection-nosort=\"\"
data-collection-template=\"";
// line 112
echo twig_escape_filter($this->env,
$this->getAttribute(($context["field"] ?? null),
"value", []), "html", null, true);
echo "\" style=\"display: none;\">
";
// line 113
if (($context["can_reorder"] ?? null)) {
echo "<i class=\"fa fa-reorder font-small
item-reorder\" aria-hidden=\"true\"></i>";
}
// line 114
echo " <a
class=\"config-cog\" href=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => (($context["field_route"] ?? null) .
"/%id%")], "method"), "html", null, true);
echo "\"><span data-title-editable=\"New
item\" class=\"title\">New item</span></a>
";
// line 115
if (($context["can_remove"] ?? null)) {
echo "<i class=\"fa fa-fw fa-trash
font-small\" aria-hidden=\"true\"
data-collection-remove=\"\"></i>";
}
// line 116
echo " ";
if (($context["can_addnew"] ?? null)) {
echo "<i class=\"fa fa-files-o font-small\"
aria-hidden=\"true\"
data-collection-duplicate=\"\"></i>";
}
// line 117
echo " <i class=\"fa
fa-fw fa-pencil font-small\" aria-hidden=\"true\"
data-title-edit=\"\"></i>
</li>
</ul>
";
// line 120
if (($context["can_addnew"] ?? null)) {
echo "<span class=\"collection-addnew button
button-simple\" data-collection-addnew=\"\" title=\"Add
new item\"><i class=\"fa fa-plus font-small\"
aria-hidden=\"true\"></i></span>";
}
// line 121
echo " <a href=\"";
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => ($context["field_route"] ?? null)],
"method"), "html", null, true);
echo "\" class=\"collection-editall button
button-simple\" data-collection-editall=\"\"
title=\"Edit all items\" ";
if ((twig_length_filter($this->env, ($context["value"]
?? null)) <= 1)) {
echo "style=\"display: none;\"";
}
echo "><i class=\"fa fa-th-large font-small\"
aria-hidden=\"true\"></i></a>
</div>
<input data-collection-data=\"\"
name=\"";
// line 123
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->fieldNameFilter(((($context["scope"]
?? null) . ($context["name"] ?? null)) . "._json")),
"html", null, true);
echo "\" type=\"hidden\" value=\"";
echo twig_escape_filter($this->env,
twig_jsonencode_filter((((isset($context["value"]) ||
array_key_exists("value", $context))) ?
(_twig_default_filter(($context["value"] ?? null), [])) : ([])),
twig_constant("JSON_UNESCAPED_SLASHES")), "html_attr");
echo "\"/>
";
}
// line 78
public function block_collection_fields($context, array $blocks = [])
{
// line 79
echo " <div
data-g5-collections=\"\">
";
// line 80
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable($this->getAttribute(($context["field"]
?? null), "fields", []));
$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["childName"] => $context["child"]) {
// line 81
echo "
";
$context["container"] =
(is_string($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4
= $this->getAttribute($context["child"], "type",
[])) &&
is_string($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144
= "container.") && ('' ===
$__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144
|| 0 ===
strpos($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4,
$__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144)));
// line 82
echo "
";
if
((is_string($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b
= $context["childName"]) &&
is_string($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002
= ".") && ('' ===
$__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002
|| 0 ===
strpos($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b,
$__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002))))
{
// line 83
echo "
";
$context["childKey"] =
twig_trim_filter($context["childName"], ".");
// line 84
echo "
";
$context["childValue"] =
((($context["container"] ?? null)) ? (($context["val"]
?? null)) :
($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->nestedFunc(($context["val"]
?? null), ($context["childKey"] ?? null))));
// line 85
echo "
";
$context["childName"] =
(((($context["name"] ?? null) . ".") .
($context["key"] ?? null)) . $context["childName"]);
// line 86
echo "
";
} else {
// line 87
echo "
";
$context["childKey"] =
$context["childName"];
// line 88
echo "
";
$context["childValue"] =
((($context["container"] ?? null)) ? (($context["val"]
?? null)) :
($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->nestedFunc(($context["data"]
?? null), (($context["scope"] ?? null) .
($context["childKey"] ?? null)))));
// line 89
echo "
";
$context["childName"] =
twig_replace_filter($context["childName"], ["*" =>
($context["key"] ?? null)]);
// line 90
echo "
";
$context["childParent"] =
((($context["childName"] == ($context["childKey"] ??
null))) ? ((("." . ($context["key"] ?? null)) .
".")) : (""));
// line 91
echo "
";
}
// line 92
echo "
";
// line 93
if (((!twig_in_filter($context["childName"],
($context["skip"] ?? null)) &&
!$this->getAttribute($context["child"], "skip", []))
&& ($this->getAttribute(($context["field"] ?? null),
"value", []) != ($context["childKey"] ?? null)))) {
// line 94
echo "
";
if (($this->getAttribute($context["child"],
"type", []) == "key")) {
// line 95
echo "
";
$this->loadTemplate("forms/fields/key/key.html.twig",
"forms/fields/collection/list.html.twig",
95)->display(twig_array_merge($context, ["name" =>
// line 96
$context["childName"], "field" =>
$context["child"], "value" =>
($context["key"] ?? null), "current_value" => null,
"default_value" => null, "parent" =>
($context["childParent"] ?? null)]));
// line 97
echo "
";
} elseif
($this->getAttribute($context["child"], "type", []))
{
// line 98
echo "
";
$this->loadTemplate([0 =>
(("forms/fields/" .
twig_replace_filter($this->getAttribute($context["child"],
"type", []), ["." => "/"])) .
".html.twig"), 1 =>
"forms/fields/unknown/unknown.html.twig"],
"forms/fields/collection/list.html.twig",
98)->display(twig_array_merge($context, ["name" =>
// line 99
$context["childName"], "field" =>
$context["child"], "value" => null,
"current_value" => ($context["childValue"] ?? null),
"default_value" => null, "parent_field" =>
($context["childParent"] ?? null)]));
// line 100
echo "
";
}
// line 101
echo "
";
}
// line 102
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['childName'], $context['child'],
$context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 103
echo " </div>
";
}
public function getTemplateName()
{
return "forms/fields/collection/list.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 488 => 103, 474 => 102, 471 => 101, 468
=> 100, 466 => 99, 464 => 98, 461 => 97, 459 => 96, 457
=> 95, 454 => 94, 452 => 93, 449 => 92, 446 => 91, 443
=> 90, 440 => 89, 437 => 88, 434 => 87, 431 => 86, 428
=> 85, 425 => 84, 422 => 83, 419 => 82, 416 => 81, 399
=> 80, 396 => 79, 393 => 78, 385 => 123, 375 => 121,
371 => 120, 366 => 117, 361 => 116, 357 => 115, 352 =>
114, 348 => 113, 344 => 112, 338 => 108, 323 => 106, 320
=> 105, 317 => 78, 310 => 75, 305 => 74, 301 => 73, 292
=> 72, 287 => 71, 285 => 70, 280 => 69, 277 => 68, 260
=> 67, 258 => 66, 255 => 64, 252 => 63, 245 => 59, 239
=> 57, 229 => 55, 226 => 54, 223 => 53, 220 => 52, 215
=> 125, 213 => 63, 209 => 62, 206 => 61, 204 => 52, 201
=> 51, 198 => 50, 195 => 49, 189 => 127, 186 => 49, 183
=> 48, 180 => 47, 178 => 46, 173 => 45, 170 => 44, 167
=> 43, 165 => 42, 162 => 41, 158 => 39, 140 => 35, 134
=> 32, 126 => 31, 120 => 30, 115 => 28, 111 => 26, 108
=> 25, 105 => 24, 87 => 23, 85 => 22, 78 => 18, 74
=> 17, 63 => 14, 61 => 13, 56 => 10, 53 => 9, 51 =>
8, 48 => 7, 45 => 6, 41 => 1, 39 => 4, 33 => 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("",
"forms/fields/collection/list.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/forms/fields/collection/list.html.twig");
}
}
78/7888579898c7bcf82683a5d2a25a43699fbbb35d014bdffc114b48be1fd54519.php000064400000005346151171427110016363
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;
/* forms/fields/input/selectize.html.twig */
class
__TwigTemplate_4c594ea59882128d822a1b81610d172dcaaec4a7e4cded266f6119ead63c68eb
extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'global_attributes' => [$this,
'block_global_attributes'],
];
}
protected function doGetParent(array $context)
{
// line 1
return $this->loadTemplate(((($context["default"] ??
null)) ? ("partials/field.html.twig") : ((("forms/" .
(((isset($context["layout"]) ||
array_key_exists("layout", $context))) ?
(_twig_default_filter(($context["layout"] ?? null),
"field")) : ("field"))) . ".html.twig"))),
"forms/fields/input/selectize.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_global_attributes($context, array $blocks = [])
{
// line 4
echo " type=\"text\"
data-selectize=\"";
// line 5
echo twig_escape_filter($this->env,
twig_jsonencode_filter((($this->getAttribute(($context["field"]
?? null), "selectize", [], "any", true, true)) ?
(twig_array_merge(["create" => true],
$this->getAttribute(($context["field"] ?? null),
"selectize", []))) : (["create" => true]))),
"html_attr");
echo "\"
";
// line 7
$this->displayParentBlock("global_attributes",
$context, $blocks);
echo "
";
}
public function getTemplateName()
{
return "forms/fields/input/selectize.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 49 => 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("",
"forms/fields/input/selectize.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/forms/fields/input/selectize.html.twig");
}
}
64/6460311983ceadc6e6d19f9b26a69f906d5a21330d81f7f3110d01e81ce761d0.php000064400000007676151171427110016160
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;
/* forms/fields/enable/enable.html.twig */
class
__TwigTemplate_e68cb7f8e8219450d9e79536ca934d2eb620b1c6719167f36fdaa547d5d0e553
extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'input' => [$this, 'block_input'],
];
}
protected function doGetParent(array $context)
{
// line 1
return $this->loadTemplate(((($context["default"] ??
null)) ? ("partials/field.html.twig") : ((("forms/" .
(((isset($context["layout"]) ||
array_key_exists("layout", $context))) ?
(_twig_default_filter(($context["layout"] ?? null),
"field")) : ("field"))) . ".html.twig"))),
"forms/fields/enable/enable.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_input($context, array $blocks = [])
{
// line 4
echo " <span class=\"enabler\"
role=\"checkbox\" aria-checked=\"";
echo ((($context["value"] ?? null)) ? ("true")
: ("false"));
echo "\" tabindex=\"0\"
aria-label=\"";
((($context["turned_off"] ?? null)) ? (print
("Disabled")) : (print (twig_escape_filter($this->env,
("Enables " .
_twig_default_filter(twig_trim_filter(twig_title_string_filter($this->env,
twig_replace_filter(($context["scope"] ?? null), ["."
=> " "]))), twig_trim_filter(($context["title"] ??
null)))), "html", null, true))));
echo "\">
<input
";
// line 7
echo " type=\"hidden\"
name=\"";
// line 8
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->fieldNameFilter((($context["scope"]
?? null) . ($context["name"] ?? null))), "html", null,
true);
echo "\"
value=\"";
// line 9
echo ((($context["value"] ?? null)) ? (1) : (0));
echo "\"
";
// line 10
if (($context["disabled"] ?? null)) {
echo "disabled=\"disabled\"";
}
// line 11
echo " ";
// line 12
echo " ";
$this->displayBlock("global_attributes", $context,
$blocks);
echo "
/>
";
// line 14
if (($context["turned_off"] ?? null)) {
// line 15
echo " <span><i class=\"fa fa-ban\"
aria-hidden=\"true\"></i></span>
";
} else {
// line 17
echo " <span class=\"toggle\"><span
class=\"knob\"></span></span>
";
}
// line 19
echo "</span>
";
}
public function getTemplateName()
{
return "forms/fields/enable/enable.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 82 => 19, 78 => 17, 74 => 15, 72 =>
14, 66 => 12, 64 => 11, 60 => 10, 56 => 9, 52 => 8, 49
=> 7, 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("",
"forms/fields/enable/enable.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/forms/fields/enable/enable.html.twig");
}
}
ac/ac90b9ad15c8efbff04c5ae2236033cdf68b7b6d319b0f6b41426630288416f6.php000064400000025110151171427110016512
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/atoms.html.twig */
class
__TwigTemplate_d695ea771e17629f645930a6e865691f08b7095cb45a7c951adb1a756cf3b59f
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
echo "<h2 class=\"page-title\">
<span class=\"title\">";
// line 2
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_ATOMS"),
"html", null, true);
echo "</span>
</h2>
<div id=\"atoms\"";
// line 5
echo ((($context["overrideable"] ?? null)) ? ("
class=\"atoms-override\"") : (""));
echo ">
<ul class=\"atoms-picker\">";
// line 7
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable(($context["atoms"] ?? null));
foreach ($context['_seq'] as $context["atom"]
=> $context["label"]) {
// line 8
echo "<li data-atom-type=\"";
echo twig_escape_filter($this->env,
$context["atom"], "html", null, true);
echo "\"
data-atom-picked=\"";
// line 9
echo twig_escape_filter($this->env,
twig_jsonencode_filter(["title" =>
$context["label"], "type" =>
$context["atom"], "attributes" =>
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "config", []), "get", [0 =>
("particles." . $context["atom"])],
"method")]), "html_attr");
echo "\"
>
<i class=\"fa fa-fw fa-hand-stop-o
drag-indicator\" aria-hidden=\"true\"></i>
<span class=\"atom-title\">";
// line 12
echo twig_escape_filter($this->env,
$context["label"], "html", null, true);
echo "</span>
<a href=\"";
// line 13
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "configurations", 1 =>
($context["page_id"] ?? null), 2 => "page", 3 =>
"atoms", 4 => $context["atom"]],
"method"));
echo "\" class=\"atom-settings
config-cog\">
<i aria-label=\"";
// line 14
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_ATOMS_CONFIGURE_SETTINGS"),
"html", null, true);
echo "\" class=\"fa fa-cog\"
aria-hidden=\"true\"></i>
</a>
</li>";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'],
$context['atom'], $context['label'],
$context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 18
echo "</ul>
<div class=\"card settings-block\">
";
// line 21
$context["list"] =
((($this->getAttribute(($context["data"] ?? null),
"get", [0 => "page.head.atoms"], "method",
true, true) && !(null ===
$this->getAttribute(($context["data"] ?? null),
"get", [0 => "page.head.atoms"],
"method")))) ?
($this->getAttribute(($context["data"] ?? null),
"get", [0 => "page.head.atoms"],
"method")) :
($this->getAttribute(($context["defaults"] ?? null),
"get", [0 => "page.head.atoms"],
"method")));
// line 22
echo " ";
if (($context["list"] ?? null)) {
// line 23
echo " <ul
class=\"atoms-list\">";
// line 24
$context['_parent'] = $context;
$context['_seq'] =
twig_ensure_traversable(($context["list"] ?? null));
foreach ($context['_seq'] as
$context["_key"] => $context["atom"]) {
// line 25
$context["classes"] =
((($this->getAttribute($this->getAttribute($context["atom"],
"attributes", []), "enabled", [])) ? ("") :
("atom-disabled")) .
(($this->getAttribute($this->getAttribute($context["atom"],
"inherit", []), "outline", [])) ? ("
g-inheriting") : ("")));
// line 26
echo " ";
$context["inheriting"] =
(($this->getAttribute($this->getAttribute($context["atom"],
"inherit", []), "outline", [])) ? ((((((("
g-inheriting=\"\" data-tip=\"" .
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_INHERITING_FROM_X",
(("<strong>" .
$this->getAttribute($this->getAttribute( // line 27
($context["gantry"] ?? null), "outlines", []),
"title", [0 =>
$this->getAttribute($this->getAttribute($context["atom"],
"inherit", []), "outline", [])], "method")) .
"</strong>"))) . "<br />ID: ") .
$this->getAttribute($this->getAttribute($context["atom"],
"inherit", []), "atom", [])) . "<br
/>Replace: ") .
twig_join_filter($this->getAttribute($this->getAttribute($context["atom"],
"inherit", []), "include", []), ", ")) .
"\"")) : (""));
// line 28
echo " ";
$context["title"] =
(($this->getAttribute($this->getAttribute($context["atom"],
"attributes", []), "enabled", [])) ? ("") :
(((" title=\"" .
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_ATOMS_DISABLED_DESC"))
. "\"")));
// line 29
echo " <li
data-atom-picked=\"";
echo twig_escape_filter($this->env,
twig_jsonencode_filter($context["atom"]), "html_attr");
echo "\"";
echo ((($context["classes"] ?? null)) ? ((("
class=\"" . twig_trim_filter(($context["classes"] ??
null))) . "\"")) : (""));
echo ($context["inheriting"] ?? null);
echo ($context["title"] ?? null);
echo " data-atom-type=\"";
echo twig_escape_filter($this->env,
$this->getAttribute($context["atom"], "type", []),
"html", null, true);
echo "\">
<i class=\"fa fa-fw fa-hand-stop-o
drag-indicator\" aria-hidden=\"true\"></i>
<span class=\"atom-title\">";
// line 31
echo twig_escape_filter($this->env,
$this->getAttribute($context["atom"], "title", []),
"html", null, true);
echo "</span>
<a href=\"";
// line 32
echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "configurations", 1 =>
($context["page_id"] ?? null), 2 => "page", 3 =>
"atoms", 4 =>
$this->getAttribute($context["atom"], "type", [])],
"method"), "html", null, true);
echo "\" class=\"atom-settings
config-cog\">
<i aria-label=\"Configure Atom
Settings\" class=\"fa fa-cog\"
aria-hidden=\"true\"></i>
</a>
</li>";
}
$_parent = $context['_parent'];
unset($context['_seq'],
$context['_iterated'], $context['_key'],
$context['atom'], $context['_parent'],
$context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 37
echo "</ul>
";
} else {
// line 39
echo " <ul
class=\"atoms-list\"></ul>
";
}
// line 41
echo "
";
// line 42
if (($context["overrideable"] ?? null)) {
// line 43
echo " ";
$context["prefix"] = "page.head.";
// line 44
echo " ";
$this->loadTemplate("forms/override.html.twig",
"@gantry-admin/pages/configurations/page/atoms.html.twig",
44)->display(twig_array_merge($context, ["scope" =>
($context["prefix"] ?? null), "name" =>
"atoms", "has_value" => !(null ===
$this->getAttribute(($context["data"] ?? null),
"get", [0 => (($context["prefix"] ?? null) .
"atoms")], "method")), "field" =>
["label" => "Enabled of the field Atoms"]]));
// line 45
echo " ";
}
// line 46
echo " </div>
";
// line 49
echo " ";
if ((( !(null === ($context["atoms_deprecated"] ?? null))
&& twig_length_filter($this->env,
($context["atoms_deprecated"] ?? null))) &&
$this->getAttribute(($context["data"] ?? null),
"get", [0 => "page.head.atoms"],
"method"))) {
// line 50
echo " <p class=\"alert
alert-notice\">";
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_ATOMS_DEPRECATED_MESSAGE"),
"html", null, true);
echo "</p>
";
}
// line 52
echo "
<div id=\"trash\"
data-atoms-erase=\"\"><div
class=\"trash-zone\">×</div><span>";
// line 53
echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_DROP_DELETE"),
"html", null, true);
echo "</span></div>
";
// line 55
echo "</div>";
}
public function getTemplateName()
{
return
"@gantry-admin/pages/configurations/page/atoms.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 168 => 55, 164 => 53, 161 => 52, 155
=> 50, 152 => 49, 148 => 46, 145 => 45, 142 => 44, 139
=> 43, 137 => 42, 134 => 41, 130 => 39, 126 => 37, 116
=> 32, 112 => 31, 100 => 29, 97 => 28, 95 => 27, 93
=> 26, 91 => 25, 87 => 24, 85 => 23, 82 => 22, 80 =>
21, 75 => 18, 66 => 14, 62 => 13, 58 => 12, 52 => 9,
47 => 8, 43 => 7, 39 => 5, 33 => 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("",
"@gantry-admin/pages/configurations/page/atoms.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/pages/configurations/page/atoms.html.twig");
}
}