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,128 @@
<?php
/* modular/contenu-multi.html.twig */
class __TwigTemplate_0ebbc783d18d0857dc7a0512de958481c20e1209ac6c142004b74b9196563336 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", "/home/kevin/Sites/static-ethica.net/user/themes/ethica/templates/modular/contenu-multi.html.twig");
}
}