parent = $this->loadTemplate("forms/field.html.twig", "forms/fields/permissions/permissions.html.twig", 1); $this->blocks = array( 'global_attributes' => array($this, 'block_global_attributes'), 'input' => array($this, 'block_input'), ); } protected function doGetParent(array $context) { return "forms/field.html.twig"; } protected function doDisplay(array $context, array $blocks = array()) { // line 3 $context["value"] = (((null === ($context["value"] ?? null))) ? ($this->getAttribute(($context["field"] ?? null), "default", array())) : (($context["value"] ?? null))); // line 4 $context["value"] = (((($context["value"] ?? null) === false)) ? (0) : (($context["value"] ?? null))); // line 1 $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 6 public function block_global_attributes($context, array $blocks = array()) { // line 7 echo " data-grav-disabled=\""; echo (((null === ($context["originalValue"] ?? null))) ? ("true") : ("false")); echo "\" data-grav-default=\""; // line 8 echo twig_escape_filter($this->env, twig_jsonencode_filter($this->getAttribute(($context["field"] ?? null), "default", array())), "html_attr"); echo "\" "; } // line 16 public function block_input($context, array $blocks = array()) { // line 17 echo "
"; } // line 11 public function getspanToggle($__input__ = null, $__length__ = null, ...$__varargs__) { $context = $this->env->mergeGlobals(array( "input" => $__input__, "length" => $__length__, "varargs" => $__varargs__, )); $blocks = array(); ob_start(); try { // line 12 echo " "; $context["space"] = $this->env->getExtension('Grav\Common\Twig\TwigExtension')->repeatFunc(" ", ((($context["length"] ?? null) - twig_length_filter($this->env, ($context["input"] ?? null))) / 2)); // line 13 echo " "; echo ((($context["space"] ?? null) . ($context["input"] ?? null)) . ($context["space"] ?? null)); echo " "; } catch (Exception $e) { ob_end_clean(); throw $e; } catch (Throwable $e) { ob_end_clean(); throw $e; } return ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); } public function getTemplateName() { return "forms/fields/permissions/permissions.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 226 => 13, 223 => 12, 210 => 11, 205 => 65, 196 => 61, 186 => 59, 182 => 57, 177 => 56, 173 => 54, 171 => 53, 167 => 52, 163 => 51, 159 => 50, 155 => 49, 151 => 47, 148 => 46, 145 => 45, 141 => 44, 138 => 43, 132 => 42, 129 => 41, 126 => 40, 121 => 39, 119 => 38, 116 => 37, 114 => 36, 108 => 33, 105 => 32, 102 => 31, 99 => 30, 96 => 29, 93 => 28, 91 => 27, 88 => 26, 84 => 25, 81 => 24, 75 => 23, 69 => 22, 66 => 21, 61 => 20, 56 => 19, 54 => 18, 51 => 17, 48 => 16, 42 => 8, 37 => 7, 34 => 6, 30 => 1, 28 => 4, 26 => 3, 11 => 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 Twig_Source("{% extends \"forms/field.html.twig\" %} {% set value = (value is null ? field.default : value) %} {% set value = (value is same as(false) ? 0 : value) %} {% block global_attributes %} data-grav-disabled=\"{{ originalValue is null ? 'true' : 'false' }}\" data-grav-default=\"{{ field.default|json_encode()|e('html_attr') }}\" {% endblock %} {% macro spanToggle(input, length) %} {% set space = repeat(' ', (length - input|length) / 2) %} {{ (space ~ input ~ space)|raw }} {% endmacro %} {% block input %} {% endblock %} ", "forms/fields/permissions/permissions.html.twig", "/home/kevin/Sites/static-ethica.net/user/plugins/admin/themes/grav/templates/forms/fields/permissions/permissions.html.twig"); } }