first commit

This commit is contained in:
2018-04-11 17:57:57 +02:00
commit fdfcfbd2a6
4073 changed files with 501866 additions and 0 deletions
@@ -0,0 +1,146 @@
<?php
/* partials/blueprints-new.html.twig */
class __TwigTemplate_c8fddf07bd7455e5c7d48772b73edac6983610abb8744f883ceeed7b4d4d42be extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
$context["form_id"] = ((($context["form_id"] ?? null)) ? (($context["form_id"] ?? null)) : ("blueprints"));
// line 2
$context["scope"] = ((($context["scope"] ?? null)) ? (($context["scope"] ?? null)) : ("data."));
// line 3
echo "
<form id=\"";
// line 4
echo twig_escape_filter($this->env, ($context["form_id"] ?? null), "html", null, true);
echo "\" method=\"post\" data-grav-form=\"";
echo twig_escape_filter($this->env, ($context["form_id"] ?? null), "html", null, true);
echo "\" data-grav-keepalive=\"true\">
";
// line 5
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["blueprints"] ?? null), "fields", array()));
$context['loop'] = array(
'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["field"]) {
// line 6
echo " ";
if ($this->getAttribute($context["field"], "type", array())) {
// line 7
echo " ";
$context["value"] = (($this->getAttribute($context["field"], "name", array())) ? ($this->getAttribute(($context["data"] ?? null), "value", array(0 => $this->getAttribute($context["field"], "name", array())), "method")) : ($this->getAttribute(($context["data"] ?? null), "toArray", array())));
// line 8
echo " <div class=\"block block-";
echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "type", array()), "html", null, true);
echo "\">
";
// line 9
$this->loadTemplate(array(0 => (((("forms/fields/" . $this->getAttribute($context["field"], "type", array())) . "/") . $this->getAttribute($context["field"], "type", array())) . ".html.twig"), 1 => "forms/fields/text/text.html.twig"), "partials/blueprints-new.html.twig", 9)->display($context);
// line 10
echo " </div>
";
}
// line 12
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['field'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 13
echo "
<input type=\"hidden\" name=\"task\" value=\"continue\" />
<div class=\"button-bar\">
<button class=\"button primary\">";
// line 16
echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.CONTINUE"), "html", null, true);
echo "</button>
</div>
";
// line 19
echo $this->env->getExtension('Grav\Common\Twig\TwigExtension')->nonceFieldFunc("admin-form", "admin-nonce");
echo "
</form>
";
}
public function getTemplateName()
{
return "partials/blueprints-new.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 91 => 19, 85 => 16, 80 => 13, 66 => 12, 62 => 10, 60 => 9, 55 => 8, 52 => 7, 49 => 6, 32 => 5, 26 => 4, 23 => 3, 21 => 2, 19 => 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("{% set form_id = form_id ? form_id : 'blueprints' %}
{% set scope = scope ?: 'data.' %}
<form id=\"{{ form_id }}\" method=\"post\" data-grav-form=\"{{ form_id }}\" data-grav-keepalive=\"true\">
{% for field in blueprints.fields %}
{% if field.type %}
{% set value = field.name ? data.value(field.name) : data.toArray %}
<div class=\"block block-{{field.type}}\">
{% include [\"forms/fields/#{field.type}/#{field.type}.html.twig\", 'forms/fields/text/text.html.twig'] %}
</div>
{% endif %}
{% endfor %}
<input type=\"hidden\" name=\"task\" value=\"continue\" />
<div class=\"button-bar\">
<button class=\"button primary\">{{ \"PLUGIN_ADMIN.CONTINUE\"|tu }}</button>
</div>
{{ nonce_field('admin-form', 'admin-nonce')|raw }}
</form>
", "partials/blueprints-new.html.twig", "/mnt/data/Sites/static-ethica.net/user/plugins/admin/themes/grav/templates/partials/blueprints-new.html.twig");
}
}
@@ -0,0 +1,128 @@
<?php
/* modular/contenu-multi.html.twig */
class __TwigTemplate_83a702e09f78554671a4f38660f45595c72d2ef8dee6811096a2ddb1a0567cb8 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
'content' => array($this, 'block_content'),
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 2
echo "
";
// line 3
$this->displayBlock('content', $context, $blocks);
}
public function block_content($context, array $blocks = array())
{
// line 4
echo " <div class=\"multi-column\">
<h2>";
// line 5
echo $this->getAttribute(($context["header"] ?? null), "title", array());
echo "</h2>
";
// line 6
echo $this->getAttribute(($context["page"] ?? null), "content", array());
echo "
</div>
";
// line 8
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["page"] ?? null), "collection", array(), "method"));
foreach ($context['_seq'] as $context["_key"] => $context["module"]) {
// line 9
echo " <div id=\"";
echo $this->getAttribute($this, "pageLinkName", array(0 => $this->getAttribute($context["module"], "folder", array())), "method");
echo "\" class=\"mutli-column\">
";
// line 10
echo $this->getAttribute($context["module"], "content", array());
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['module'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 13
echo " ";
}
// line 1
public function getpageLinkName($__text__ = null, ...$__varargs__)
{
$context = $this->env->mergeGlobals(array(
"text" => $__text__,
"varargs" => $__varargs__,
));
$blocks = array();
ob_start();
try {
echo twig_replace_filter(twig_lower_filter($this->env, ($context["text"] ?? null)), array("01._" => "", "02._" => "", "03._" => "", "04._" => "", "05._" => "", "06._" => "", "07._" => "", "08._" => "", "09._" => ""));
} 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 "modular/contenu-multi.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 63 => 1, 59 => 13, 50 => 10, 45 => 9, 41 => 8, 36 => 6, 32 => 5, 29 => 4, 23 => 3, 20 => 2,);
}
/** @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("{% macro pageLinkName(text) %}{{ text|lower|replace({'01._':'','02._':'','03._':'','04._':'','05._':'','06._':'','07._':'','08._':'','09._':''}) }}{% endmacro %}
{% block content %}
<div class=\"multi-column\">
<h2>{{ header.title }}</h2>
{{ page.content }}
</div>
{% for module in page.collection() %}
<div id=\"{{ _self.pageLinkName(module.folder) }}\" class=\"mutli-column\">
{{ module.content }}
</div>
{% endfor %}
{% endblock %}
", "modular/contenu-multi.html.twig", "/mnt/data/Sites/static-ethica.net/user/themes/ethica/templates/modular/contenu-multi.html.twig");
}
}